Releases: ng-alain/delon
Releases · ng-alain/delon
9.5.0
NG-ALAIN not supporting SSR in default, you can refer to SSR chapter to achieve.
Scaffold
- SSR: make
i18n.service.ts
,theme-btn.component.ts
support ssr (#1730)
Bug Fixes
- All
@delon/*
support SSR - abc:reuest-tab: fix cannot read property 'active' (#973) (2bf13f9)
- abc:reuse-tab: fix the position of Tab cannot be updated in some cases (#974) (f4abe81)
- abc:se: fix ingored set id when control invalid controlAccessor (#975) (e205c4d)
- cli: fix missing dependencie "@antv/data-set" (#971) (95a35ac)
- cli: only supports angular 9.x (#978) (d9fccf7)
- form: export utils (#972) (f61947e)
- form: fix invalid
width
of inline mode (#977) (5de1015) - theme:drawer: fix
nzWidth
is invalid (#970) (772e3de) - theme:SettingsService: optimized to be rewritten more friendly (#976) (680607b)
Features
默认并没有 NG-ALAIN 直接支持 SSR,可以参考SSR章节来实现。
Scaffold
- SSR: 确保
i18n.service.ts
,theme-btn.component.ts
支持 SSR (#1730)
Bug Fixes
- 所有
@delon/*
支持 SSR - abc:reuest-tab: 修复 cannot read property 'active' 错误 (#973) (2bf13f9)
- abc:reuse-tab: 修复某些情况下 Tab 的位置无法更新 (#974) (f4abe81)
- abc:se: 修复部分组件无法自动设置
id
问题 (#975) (e205c4d) - cli: 修复丢失引用 "@antv/data-set" 类库 (#971) (95a35ac)
- cli: 修复
ng add ng-alain
只支持 angular 9.x (#978) (d9fccf7) - form: 修复缺少
utils
工具集导出 (#972) (f61947e) - form: 修复内联模式下无效
width
(#977) (5de1015) - theme:drawer: 修复无法指定
nzWidth
(#970) (772e3de) - theme:SettingsService: 优化更友好的覆盖 (#976) (680607b)
Features
9.4.1
9.4.0
Scaffold
- BREAKING CHANGES theme-btn:
update
instead ofset
(#1712)
Bug Fixes
- abc:reuse-tab: fix refresh tab component when call
replace
method of service (#953) (44b6a9c) - abc:st: fix call
resetColumns
andemitReload: true
method should clean data (#954) (b89f13c) - abc:st: fix refresh data when changed
columns
(#954) (b89f13c) - abc:st: fix recalculate no value of
removeRows
method (#944) (09202dd) - form: fix text overflow ellipsis of lable (#949) (34a2c63)
- form:widget:array: fix clean value of
cleanValue
(#948) (3881014) - form:widget:upload: fix value should not be updated during initialization (#947) (5d3abf0)
Features
- abc:se: add
errors
property, used to batch update allerror
attribute ofse
component (#932) (7316257) - abc:se: add
ingoreDirty
property, ignoring the verification of the form elementdiry
(#945) (5f5dfcc) - chart: add
clickItem
event (#951) (f9fff60) - form: add
showRequired
property of ui schema (#940) (d10f29d) - form:widget:date: add
change
event (#950) (172ba08) - form:widget:object: add expand of type is card (#952) (22833c0)
Scaffold
- BREAKING CHANGES theme-btn: 使用
set
替代update
(#1712)
Bug Fixes
- abc:reuse-tab: 修复
replace
方法无法清空旧数据 (#953) (44b6a9c) - abc:st: 修复调用
resetColumns
方法若指定emitReload: true
应先清空数据 (#954) (b89f13c) - abc:st: 修复重置
columns
时应重新触发数据生成 (#954) (b89f13c) - abc:st: 修复调用
removeRows
应重新计算no
列值 (#944) (09202dd) - form: 修复标签溢出问题 (#949) (34a2c63)
- form:widget:array: 修复指定
cleanValue
应清除数组的部分 (#948) (3881014) - form:widget:upload: 修复首次加载会触发校验 (#947) (5d3abf0)
Features
- abc:se: 增加
errors
属性,用于批量更新所有se
的error
属性值 (#932) (7316257) - abc:se: 增加
ingoreDirty
属性,忽略对表单元素diry
的校验 (#945) (5f5dfcc) - chart: 增加
clickItem
事件 (#951) (f9fff60) - form: 增加
showRequired
属性,用于是否强制显示必填项符号 (#940) (d10f29d) - form:widget:date: 增加
change
事件 (#950) (172ba08) - form:widget:object: 增加卡片类型可扩展行为 (#952) (22833c0)
9.3.2
9.3.1
Bug Fixes
- abc:reuse-tab: fix dark style of close button (#923) (f35c617)
- abc:reuse-tab: fix exclude items should be updated after leave (#925) (e6fef31)
- abc:se: fix only control vision when error is null (#929) (42713d3)
- abc:sidebar-nav: add title of menu item (#924) (ac1445c)
- theme: fix flex (#927) (afb8ad1)
- theme:layout:fullscreen: fix dark theme (#926) (b61b7f6)
Bug Fixes
9.3.0
Scaffold
- BREAKING CHANGE Add dark and compact themes, You need to manually update two places:
1. src/styles.less
File
// #region PLACEHOLDER, IMPORTANT: don't remove
@import '~@delon/theme/styles/index';
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import '~@delon/theme/styles/layout/default/index';
@import '~@delon/theme/styles/layout/fullscreen/index';
@import './styles/index';
@import './styles/theme';
// #endregion
After:
@import '~@delon/theme/system/index';
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import '~@delon/theme/layout/default/index';
@import '~@delon/theme/layout/fullscreen/index';
@import './styles/index';
@import './styles/theme';
// You can directly set the default theme
// - `dark` Import the official dark less style file
// - `compact` Import the official compact less style file
// @import '~@delon/theme/theme-dark.less';
2. Theme variable path
Replace all @import '~@delon/theme/styles/default';
with @import '~@delon/theme/index';
If you want to support the switching between these two dynamic themes like the preview website, please refer to
Customize Theme.Please refer to (#1668) the complete PR for this update.
Bug Fixes
- fix entry point warning (#911) (248e8c8)
- abc:media: fix can't init when Plyr has beed load (#909) (e22fd25)
- abc:st: fix not specifying key should use index instead in statistical (#908) (1de4383)
- form: fix button & form misalignment in inline mode (#904) (e869da0)
- theme:menu.service: fix invald recursive hit when is hash location strategy (#906) (47b8bc7)
Features
- abc:sidebar-nav: unlimited levels (#910) (81b5422)
- abc:st: auto generate compose method when
sort: true
(#907) (8e1657a) - chart:water-wave: add
animate
property (#918) (7ae1f35) - form: add
compact
property (#917) (cc11212) - form:widget:array: add callback evetns (#905) (31b031d)
Scaffold
- 新增暗黑、紧凑两种主题,本次为破坏性变更,需要手动更新两个地方:
1、src/styles.less
文件
// #region PLACEHOLDER, IMPORTANT: don't remove
@import '~@delon/theme/styles/index';
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import '~@delon/theme/styles/layout/default/index';
@import '~@delon/theme/styles/layout/fullscreen/index';
@import './styles/index';
@import './styles/theme';
// #endregion
更新为:
@import '~@delon/theme/system/index';
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import '~@delon/theme/layout/default/index';
@import '~@delon/theme/layout/fullscreen/index';
@import './styles/index';
@import './styles/theme';
// You can directly set the default theme
// - `dark` Import the official dark less style file
// - `compact` Import the official compact less style file
// @import '~@delon/theme/theme-dark.less';
2、主题变量路径
将所有 @import '~@delon/theme/styles/default';
替换成 @import '~@delon/theme/index';
如果你希望跟示例网站一样,支持这两种动态主题的切换,请参考定制主题。
本次更新完整 PR 请参考 (#1668)
Bug Fixes
- 修复次级导入警告 (#911) (248e8c8)
- abc:media: 修复初始化无法再次实例
Plyr
(#909) (e22fd25) - abc:st: 修复统计数据时若未指定
key
时应优先使用index
最后才使用当前下标 (#908) (1de4383) - form: 修复内联模式按钮与表单错位 (#904) (e869da0)
- theme:menu.service: 修复在 Hash 路由模式下无法命中 (#906) (47b8bc7)
Features
9.2.4
Scaffold
- fix invalid parameter in catchError (#1652)
Bug Fixes
- abc:lodop: fix unable to attach
LODOP.NEWPAGE();
this kind of code (#902) (8022a66) - abc:st: fix invalid link break in strict mode (#900) (a12cf4f)
- cli:ng-add: fix invalid parameter in catchError (#901) (a6d6ee3)
- cli:plugin:ie: fix modifiy invalid file (#898) (b3de732)
Scaffold
- 修复
catchError
不会处理数组异常 (#1652)
Bug Fixes
9.2.3
9.2.2
Bug Fixes
- abc:lodop: fix lodop definition (#887) (aa80730)
- abc:st: fix invalid fixed column (#892) (b3453c5)
- abc:st: fix invalid highlight when filter has set (#889) (c9b374d)
- abc:st: fix click the filter icon to trigger sorting (#889) (c9b374d)
- abc:se: fix nesting (#886) (2b3f998)
- abc:se: fix col eqar 1 in inline layout (#886) (2b3f998)
- sf:widget:date: fix format default value when value is not null (#890) (bedd102)
- theme:style:utils: fix
flex-center-between
(#886) (2b3f998) - theme:style:utils: fix exclude link button of preserve whilte spaces (#886) (2b3f998)
- cli:plugin:ie: fix invalid version number of dependencies (#888) (35de0d0)
Bug Fixes
- abc:lodop: 修复
lodop
无效定义 (#887) (aa80730) - abc:st: 修复固定列无法覆盖上层 (#892) (b3453c5)
- abc:st: 修复有过滤时图标无法高亮 (#889) (c9b374d)
- abc:st: 修复点击过滤图标会触发排序 (#889) (c9b374d)
- abc:se: 修复内嵌时错位 (#886) (2b3f998)
- abc:se: 修复
inline
布局时col="1"
应为一整行 (#886) (2b3f998) - sf:widget:date: 修复默认值为空时会触发格式化动作 (#890) (bedd102)
- theme:style:utils: 修复
flex-center-between
样式不正确 (#886) (2b3f998) - theme:style:utils: 修复两个
nzType="link"
按钮不应该有空白间距 (#886) (2b3f998) - cli:plugin:ie: 修复依赖包无效版本号 (#888) (35de0d0)