@delon/theme 14.3.0 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/compact.css +60 -32
  2. package/compact.min.css +1 -1
  3. package/dark.css +60 -32
  4. package/dark.min.css +1 -1
  5. package/default.css +60 -32
  6. package/default.min.css +1 -1
  7. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +4 -4
  8. package/esm2020/layout-default/layout-header-item.component.mjs +4 -4
  9. package/esm2020/layout-default/layout-header.component.mjs +5 -5
  10. package/esm2020/layout-default/layout-nav.component.mjs +4 -4
  11. package/esm2020/layout-default/layout-top-menu-item.mjs +39 -0
  12. package/esm2020/layout-default/layout.component.mjs +4 -4
  13. package/esm2020/layout-default/layout.module.mjs +12 -8
  14. package/esm2020/layout-default/layout.service.mjs +4 -4
  15. package/esm2020/layout-default/public_api.mjs +2 -1
  16. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +4 -4
  17. package/esm2020/setting-drawer/setting-drawer.component.mjs +5 -5
  18. package/esm2020/setting-drawer/setting-drawer.module.mjs +5 -5
  19. package/esm2020/src/locale/locale.module.mjs +5 -5
  20. package/esm2020/src/locale/locale.service.mjs +4 -4
  21. package/esm2020/src/pipes/date/date.pipe.mjs +4 -4
  22. package/esm2020/src/pipes/keys/keys.pipe.mjs +4 -4
  23. package/esm2020/src/pipes/safe/html.pipe.mjs +4 -4
  24. package/esm2020/src/pipes/safe/url.pipe.mjs +4 -4
  25. package/esm2020/src/pipes/yn/yn.pipe.mjs +4 -4
  26. package/esm2020/src/services/drawer/drawer.helper.mjs +4 -4
  27. package/esm2020/src/services/http/http.client.mjs +4 -4
  28. package/esm2020/src/services/http/http.decorator.mjs +4 -4
  29. package/esm2020/src/services/i18n/i18n-url.guard.mjs +4 -4
  30. package/esm2020/src/services/i18n/i18n.mjs +7 -7
  31. package/esm2020/src/services/i18n/i18n.pipe.mjs +4 -4
  32. package/esm2020/src/services/menu/menu.service.mjs +4 -51
  33. package/esm2020/src/services/modal/modal.helper.mjs +4 -4
  34. package/esm2020/src/services/responsive/responsive.mjs +4 -4
  35. package/esm2020/src/services/rtl/rtl.service.mjs +4 -4
  36. package/esm2020/src/services/settings/settings.service.mjs +4 -4
  37. package/esm2020/src/services/title/title.service.mjs +4 -4
  38. package/esm2020/src/theme.module.mjs +5 -5
  39. package/esm2020/src/version.mjs +1 -1
  40. package/esm2020/theme-btn/theme-btn.component.mjs +4 -4
  41. package/esm2020/theme-btn/theme-btn.module.mjs +5 -5
  42. package/fesm2015/layout-default.mjs +65 -27
  43. package/fesm2015/layout-default.mjs.map +1 -1
  44. package/fesm2015/setting-drawer.mjs +11 -11
  45. package/fesm2015/setting-drawer.mjs.map +1 -1
  46. package/fesm2015/theme-btn.mjs +7 -7
  47. package/fesm2015/theme-btn.mjs.map +1 -1
  48. package/fesm2015/theme.mjs +66 -113
  49. package/fesm2015/theme.mjs.map +1 -1
  50. package/fesm2020/layout-default.mjs +65 -27
  51. package/fesm2020/layout-default.mjs.map +1 -1
  52. package/fesm2020/setting-drawer.mjs +11 -11
  53. package/fesm2020/setting-drawer.mjs.map +1 -1
  54. package/fesm2020/theme-btn.mjs +7 -7
  55. package/fesm2020/theme-btn.mjs.map +1 -1
  56. package/fesm2020/theme.mjs +66 -113
  57. package/fesm2020/theme.mjs.map +1 -1
  58. package/layout-default/layout-header-item-trigger.directive.d.ts +1 -1
  59. package/layout-default/layout-header-item.component.d.ts +1 -1
  60. package/layout-default/layout-header.component.d.ts +1 -1
  61. package/layout-default/layout-nav.component.d.ts +1 -1
  62. package/layout-default/layout-top-menu-item.d.ts +10 -0
  63. package/layout-default/layout.component.d.ts +1 -1
  64. package/layout-default/layout.module.d.ts +10 -9
  65. package/layout-default/public_api.d.ts +1 -0
  66. package/layout-default/style/_header.less +23 -1
  67. package/layout-default/style/theme-compact.less +2 -0
  68. package/layout-default/style/theme-default.less +3 -1
  69. package/package.json +4 -4
  70. package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
  71. package/setting-drawer/setting-drawer.component.d.ts +1 -1
  72. package/src/services/menu/menu.service.d.ts +0 -12
  73. package/theme-btn/theme-btn.component.d.ts +1 -1
package/default.css CHANGED
@@ -13933,6 +13933,10 @@ nz-form-item-feedback-icon.ant-input-suffix {
13933
13933
  .ant-input-status-success.ant-input-has-feedback {
13934
13934
  padding-right: 28px;
13935
13935
  }
13936
+ .ant-input-textarea-show-count {
13937
+ display: block;
13938
+ position: relative;
13939
+ }
13936
13940
  .ant-input-number-affix-wrapper {
13937
13941
  display: inline-block;
13938
13942
  width: 100%;
@@ -27553,16 +27557,9 @@ nz-space-item {
27553
27557
  border-color: #ff4d4f;
27554
27558
  box-shadow: none;
27555
27559
  }
27556
- .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
27557
- border-color: #ff4d4f;
27558
- box-shadow: none;
27559
- }
27560
27560
  .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
27561
27561
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
27562
27562
  }
27563
- .ant-cron-expression-content .ant-cron-expression-input-group-error-focus:hover {
27564
- box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
27565
- }
27566
27563
  .ant-cron-expression nz-cron-expression-input {
27567
27564
  width: 20%;
27568
27565
  }
@@ -27570,12 +27567,6 @@ nz-space-item {
27570
27567
  display: flex;
27571
27568
  flex-wrap: nowrap;
27572
27569
  align-items: center;
27573
- border: 1px solid #d9d9d9;
27574
- padding: 4px 12px;
27575
- border-radius: 2px;
27576
- }
27577
- .ant-cron-expression-input-group:hover {
27578
- border-color: #1890ff;
27579
27570
  }
27580
27571
  .ant-cron-expression-input-group input {
27581
27572
  border: none !important;
@@ -27585,17 +27576,9 @@ nz-space-item {
27585
27576
  padding: 0;
27586
27577
  border-radius: 0;
27587
27578
  }
27588
- .ant-cron-expression-input-group-lg {
27589
- padding: 6.5px 12px;
27590
- font-size: 16px;
27591
- }
27592
- .ant-cron-expression-input-group-sm {
27593
- padding: 0 12px;
27594
- }
27595
27579
  .ant-cron-expression-input-group-focus {
27596
27580
  border-color: #1890ff;
27597
27581
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
27598
- border-right-width: 1px;
27599
27582
  outline: 0;
27600
27583
  }
27601
27584
  .ant-cron-expression nz-cron-expression-label {
@@ -27606,6 +27589,10 @@ nz-space-item {
27606
27589
  width: 100%;
27607
27590
  flex-wrap: nowrap;
27608
27591
  justify-content: space-around;
27592
+ padding-top: 0 !important;
27593
+ padding-bottom: 0 !important;
27594
+ }
27595
+ .ant-cron-expression-label-group-default {
27609
27596
  padding: 0 12px;
27610
27597
  }
27611
27598
  .ant-cron-expression-label-foucs {
@@ -27614,17 +27601,46 @@ nz-space-item {
27614
27601
  .ant-cron-expression-map {
27615
27602
  margin-left: 12px;
27616
27603
  }
27617
- .ant-cron-expression-preview-date {
27618
- overflow-y: scroll;
27619
- height: 132px;
27604
+ .ant-cron-expression-preview {
27605
+ display: flex;
27606
+ padding: 12px;
27607
+ }
27608
+ .ant-cron-expression-preview-dateTime {
27609
+ flex: 1 1 auto;
27610
+ display: flex;
27611
+ align-items: center;
27612
+ }
27613
+ .ant-cron-expression-preview-dateTime-center {
27614
+ justify-content: center;
27615
+ }
27616
+ .ant-cron-expression-preview-content {
27617
+ flex: 0 0 220px;
27618
+ display: flex;
27619
+ align-items: center;
27620
+ padding-left: 16px;
27621
+ }
27622
+ .ant-cron-expression-preview-content-date {
27623
+ flex: 1 1 auto;
27624
+ }
27625
+ .ant-cron-expression-preview-list,
27626
+ .ant-cron-expression-preview-icon {
27627
+ list-style: none;
27620
27628
  margin: 0;
27621
27629
  padding: 0;
27622
27630
  }
27623
- .ant-cron-expression-preview-date li {
27631
+ .ant-cron-expression-preview-list li,
27632
+ .ant-cron-expression-preview-icon li {
27624
27633
  list-style: none;
27625
27634
  margin: 0;
27626
27635
  padding: 0;
27627
27636
  }
27637
+ .ant-cron-expression-preview-list {
27638
+ overflow-y: scroll;
27639
+ height: 132px;
27640
+ }
27641
+ .ant-cron-expression-preview-icon {
27642
+ height: 100%;
27643
+ }
27628
27644
  .ant-cron-expression-error {
27629
27645
  color: #ff4d4f;
27630
27646
  }
@@ -27635,12 +27651,6 @@ nz-space-item {
27635
27651
  display: inline-block;
27636
27652
  min-width: 40px;
27637
27653
  }
27638
- .ant-collapse > .ant-collapse-item > .ant-collapse-header {
27639
- padding: 12px;
27640
- }
27641
- .ant-collapse-content > .ant-collapse-content-box {
27642
- padding: 16px 36px;
27643
- }
27644
27654
  sf + st {
27645
27655
  margin-top: 16px;
27646
27656
  }
@@ -31571,6 +31581,9 @@ body {
31571
31581
  margin: 0;
31572
31582
  padding: 0;
31573
31583
  }
31584
+ .alain-default__nav:first-child {
31585
+ margin-right: 16px;
31586
+ }
31574
31587
  .alain-default__nav-middle {
31575
31588
  flex: 1;
31576
31589
  }
@@ -31600,13 +31613,28 @@ body {
31600
31613
  }
31601
31614
  .alain-default__nav-item:hover {
31602
31615
  color: #fff;
31603
- background-color: rgba(255, 255, 255, 0.2) !important;
31616
+ background-color: rgba(255, 255, 255, 0.2);
31604
31617
  }
31605
31618
  .alain-default__nav-item > i,
31606
31619
  .alain-default__nav-item-icon {
31607
31620
  font-size: 18px !important;
31608
31621
  transform: none !important;
31609
31622
  }
31623
+ .alain-default__top-menu-item {
31624
+ display: flex;
31625
+ align-items: center;
31626
+ height: 64px;
31627
+ padding: 0 16px;
31628
+ border-radius: 0;
31629
+ }
31630
+ .alain-default__top-menu-item-selected {
31631
+ color: #fff;
31632
+ background-color: rgba(255, 255, 255, 0.2);
31633
+ }
31634
+ .alain-default__top-menu-item-disabled {
31635
+ opacity: 0.5;
31636
+ pointer-events: none;
31637
+ }
31610
31638
  .alain-default__search {
31611
31639
  position: relative;
31612
31640
  display: flex;