Skip to content

Releases: ng-alain/delon

12.2.0

22 Aug 06:58
0423e34
Compare
Choose a tag to compare

Scaffold

  • add PreloadOptionalModules (#2055)
  • add interpolation in global config (#2062)
  • fix language key name case sensitivity (#2069)
  • use MatchControl instead of custom equal values (#2061)

Bug Fixes

  • abc:st: fix render undefined when safeType is text (#1322) (c337d75)
  • form:widget:select: fix invalid orgData of change event (#1312) (#1320) (8c12822)
  • sf: fix unknown keyword: "_description" in strict mode (#1327) (554abd4)
  • util:convert: fix invalid defaultValue parament in InputBoolean (#1323) (386690c)
  • util:other:deep: fix can't merge function in deepMergeKey (#1321) (f2f181b)

Features


Scaffold

  • 新增 PreloadOptionalModules 可选预加载模块 (#2055)
  • 新增支持国际化插值符号配置 interpolation (#2062)
  • 修复语言键名大小写敏感 (#2069)
  • 优化使用 MatchControl 替代自定义两个控件值的匹配 (#2061)

Bug Fixes

  • abc:st: 修复 safeTypetext 值时会渲染出 undefined 文本 (#1322) (c337d75)
  • form:widget:select: 修复分组情况下 change 事件的 orgData 参数不正确 (#1312) (#1320) (8c12822)
  • sf: 修复 strict 模式下产生:unknown keyword: "_description" 错误 (#1327) (554abd4)
  • util:convert: 修复 InputBoolean 默认值参数无效问题 (#1323) (386690c)
  • util:other:deep: 修复无法深度合并函数 (#1321) (f2f181b)

Features

  • abc:se,sv: 新增 noColon 属性 (#1324) (9f2a031)
  • form:string: 新增 changeDebounceTime, changeMap 属性 (#1315) (3a8a26d)
  • theme:i18n: 新增可配置国际插值符合 interpolation (#1318) (e711865)
  • theme: 新增 @nz-table-even-background 表格奇偶背景色 (#1325) (71d3ef6)
  • theme: 新增可选预加载 PreloadOptionalModules 模块 (#1310) (6df8fd0)

12.1.1

13 Aug 09:41
476e375
Compare
Choose a tag to compare

Bug Fixes

  • abc:st: fix invalid toTop when only scroll.x is set (#1311) (c07e1fa)
  • auth: fix invalid write token value in cookie type (#1316) (fd97e51)
  • form:widget:select: fix invalid orgData of changeevent (#1312) (527c212)
  • form: fix invlid type in button (#1314) (d289411)

Bug Fixes

  • abc:st: 修复若只设置 scroll.xtoTop 无效 (#1311) (c07e1fa)
  • auth: 修复写入Cookie含有无效值 (#1316) (fd97e51)
  • form:widget:select: 修复 change 事件 orgData 参数没有返回正确值 (#1312) (527c212)
  • form: 修复 button 无法设置 null 值 (#1314) (d289411)

12.1.0

07 Aug 07:19
4ef5a59
Compare
Choose a tag to compare

Bug Fixes

  • abc:page-header: fix can't slider for a lot of tabs (#1304) (90677bb)
  • abc:reuse-tab: fix re-trigger the _onReuseInit event (#1308) (4282fc2)
  • cli: remove deprecated async of test case (#1305) (259a1c2)

Features


Bug Fixes

  • abc:page-header: 修复很多标签时无法自动滚动 (#1304) (90677bb)
  • abc:reuse-tab: 修复重复触发 _onReuseInit 事件 (#1308) (4282fc2)
  • cli: 移除测试用例过期属性 (#1305) (259a1c2)

Features

  • abc:exception: 新增 backRouterLink 属性 (#1299) (6a94dbd)
  • abc:st: 新增点击行切换类名 clickRowClassName 属性 (#1307) (5e5978d)
  • form: number 新增 hideStep 属性用于隐藏步骤图标 (#1303) (f895bf0)

12.0.3

01 Aug 08:58
7779c33
Compare
Choose a tag to compare

Bug Fixes

  • abc:page-header: fix should be run in update mode error (#1297) (1e4ea43)
  • abc:st: fix excel column width (#1296) (b0a9a96)
  • form: fix index signature is missing in type of formData (#1296)

Bug Fixes

  • abc:page-header: 修复 should be run in update mode 错误 (#1297) (1e4ea43)
  • abc:st: 修复导出Excel未设置宽度 (#1296) (b0a9a96)
  • form: 修复 formData 签名丢失问题 (#1296)

12.0.2

26 Jul 09:50
6866063
Compare
Choose a tag to compare

Bug Fixes


Bug Fixes

  • cli: ng update ng-alain --fixAngularJson=false 增加 fixAngularJson 选项,可忽略对 angular.json 的调整 (#1294) (dbe0642)

12.0.1

24 Jul 08:09
c4fb7c2
Compare
Choose a tag to compare

12.0.1 (2021-07-24)

Bug Fixes

  • abc:st: fix optimize when specified new data in call export (#1288) (9416fe1)
  • cli: fix UserLoginComponent is declared by more than on NgModule (#1289) (1042aea)
  • cli: fix duplicate alias of t (#1291) (c4e1943)
  • theme:http: fix missing HttpContext (#1292) (a394400)

12.0.1 (2021-07-24)

Bug Fixes

  • abc:st: 修复调用 export 在指定数据下应调用优化函数 (#1288) (9416fe1)
  • cli: 修复重复多余定义 UserLoginComponent (#1289) (1042aea)
  • cli: 修复命令行重复别名 t (#1291) (c4e1943)
  • theme:http: 修复丢失 HttpContext (#1292) (a394400)

12.0.0

16 Jul 08:37
feec9db
Compare
Choose a tag to compare

Features

Performance Improvements

  • use build-in i18n instead of @ngx-translate/core (#1276) (ba48cc3)

BREAKING CHANGES

DelonChartModule

  • Removed

WINDOW

  • Used import { WINDOW } from '@delon/util/token'; instead

_currency

  • Used price pipe instead

_HttpClient.end

  • Used cleanLoading instead

ModalHelper.open, static

  • open used create instead
  • static used createStatic instead

ScrollService

  • Used import { ScrollService } from '{AT}delon/util/browser'; instead

Badges Class

  • Used nz-tag instead

AlainMockConfig.data

  • Used DelonMockModule.forRoot({ data: {} }) instead

Features

  • abc:st: 新增 index 支持智能代码补全 (#1284) (5d8c017)
  • abc:notice-icon: 新增 emptyText, title, description 支持 TemplateRef (#1256) (596ca40)
  • abc:se,sv: 新增对 nz-divider 支持,显示分隔线 (#1283) (46d6e3d)
  • cache: 新增自定义请求接口 (#1253) (084037e)
  • chart:bar,mini-area,mini-bar: 数据内新增 color 参数 (#1279) (1ea098d)
  • chart:echarts: 支持跟随浏览器调整 (#1263) (9ac3a99)
  • form: visibleIf 参数增加 property 属性 (#1281) (980b8a5)
  • theme:theme-btn: 增加 deployUrl 属性 (#1264) (05ce8f2)
  • theme: 增加工具类开关 (#1280) (273aeed)
  • util: 增加手机号 16 开头格式 (#1282) (cd98359)

Performance Improvements

  • 使用内置简易 i18n 替代 @ngx-translate/core (#1276) (ba48cc3)

BREAKING CHANGES

DelonChartModule

  • 已移除

WINDOW

  • 使用 import { WINDOW } from '@delon/util/token'; 替代

_currency

  • 使用 price 管道替代

_HttpClient.end

  • 使用 cleanLoading 替代

ModalHelper.open, static

  • open 使用 create 替代
  • static 使用 createStatic 替代

ScrollService

  • 使用 import { ScrollService } from '{AT}delon/util/browser'; 替代

Badges Class

  • 使用 nz-tag 替代

AlainMockConfig.data

  • 使用 DelonMockModule.forRoot({ data: {} }) 替代

11.10.4

12 Jul 07:30
a1f1596
Compare
Choose a tag to compare

11.10.4 (2021-07-12)

Bug Fixes

  • abc:down-file: fix should be enabled when http is invalid request (#1266) (0d24c04)
  • abc:notice-icon: fix support objects of NoticeItem (#1268) (18e6ed5)
  • acl: fix should be cancel full is false when call set (#1267) (ceef83c)

11.10.4 (2021-07-12)

Bug Fixes

  • abc:down-file: 修复无效请求时禁用状态应设置为可用 (#1266) (0d24c04)
  • abc:notice-icon: 修复 NoticeItem 不支持对象 (#1268) (18e6ed5)
  • acl: 修复调用 set 时应该取消 fullfalse (#1267) (ceef83c)

11.10.3

22 Jun 07:54
55c3f98
Compare
Choose a tag to compare

Bug Fixes

  • chart: remove empty theme variable (#1257) (c0a7c01)
  • chart:echarts: fix can't percentage of width (#1261) (aeb5d6f)
  • form: fix should be triggered reset every time when can be displayed (#1260) (10431c0)

Bug Fixes

  • chart: 移除不必要的空文件 (#1257) (c0a7c01)
  • chart:echarts: 修复无法设置百分比 (#1261) (aeb5d6f)
  • form: 修复显隐切换时无法触发 reset 操作 (#1260) (10431c0)

11.10.2

26 May 10:50
d544c1c
Compare
Choose a tag to compare

Bug Fixes

  • cli: fix .template suffix should be remove (#1252) (296b4f4)
  • form:widget:time: fix minuteStep param name (#1249) (2c36c11)
  • theme:theme-btn: fix Failed to execute 'removeChild' on 'Node' (#1250) (73017f5)

Bug Fixes

  • cli: 修复应移除带有 .template 后缀的文件名 (#1252) (296b4f4)
  • form:widget:time: 修复 minuteStep 无效参数名 (#1249) (2c36c11)
  • theme:theme-btn: 修复 Failed to execute 'removeChild' on 'Node' (#1250) (73017f5)