@delon/theme 14.3.0 → 15.0.0-beta.1

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/compact.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: 16px;
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%;
@@ -27552,16 +27556,9 @@ nz-space-item {
27552
27556
  border-color: #ff4d4f;
27553
27557
  box-shadow: none;
27554
27558
  }
27555
- .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
27556
- border-color: #ff4d4f;
27557
- box-shadow: none;
27558
- }
27559
27559
  .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
27560
27560
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
27561
27561
  }
27562
- .ant-cron-expression-content .ant-cron-expression-input-group-error-focus:hover {
27563
- box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
27564
- }
27565
27562
  .ant-cron-expression nz-cron-expression-input {
27566
27563
  width: 20%;
27567
27564
  }
@@ -27569,12 +27566,6 @@ nz-space-item {
27569
27566
  display: flex;
27570
27567
  flex-wrap: nowrap;
27571
27568
  align-items: center;
27572
- border: 1px solid #d9d9d9;
27573
- padding: 0px 8px;
27574
- border-radius: 2px;
27575
- }
27576
- .ant-cron-expression-input-group:hover {
27577
- border-color: #1890ff;
27578
27569
  }
27579
27570
  .ant-cron-expression-input-group input {
27580
27571
  border: none !important;
@@ -27584,17 +27575,9 @@ nz-space-item {
27584
27575
  padding: 0;
27585
27576
  border-radius: 0;
27586
27577
  }
27587
- .ant-cron-expression-input-group-lg {
27588
- padding: 6.5px 8px;
27589
- font-size: 14px;
27590
- }
27591
- .ant-cron-expression-input-group-sm {
27592
- padding: 0 8px;
27593
- }
27594
27578
  .ant-cron-expression-input-group-focus {
27595
27579
  border-color: #1890ff;
27596
27580
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
27597
- border-right-width: 1px;
27598
27581
  outline: 0;
27599
27582
  }
27600
27583
  .ant-cron-expression nz-cron-expression-label {
@@ -27605,6 +27588,10 @@ nz-space-item {
27605
27588
  width: 100%;
27606
27589
  flex-wrap: nowrap;
27607
27590
  justify-content: space-around;
27591
+ padding-top: 0 !important;
27592
+ padding-bottom: 0 !important;
27593
+ }
27594
+ .ant-cron-expression-label-group-default {
27608
27595
  padding: 0 8px;
27609
27596
  }
27610
27597
  .ant-cron-expression-label-foucs {
@@ -27613,17 +27600,46 @@ nz-space-item {
27613
27600
  .ant-cron-expression-map {
27614
27601
  margin-left: 8px;
27615
27602
  }
27616
- .ant-cron-expression-preview-date {
27617
- overflow-y: scroll;
27618
- height: 132px;
27603
+ .ant-cron-expression-preview {
27604
+ display: flex;
27605
+ padding: 8px;
27606
+ }
27607
+ .ant-cron-expression-preview-dateTime {
27608
+ flex: 1 1 auto;
27609
+ display: flex;
27610
+ align-items: center;
27611
+ }
27612
+ .ant-cron-expression-preview-dateTime-center {
27613
+ justify-content: center;
27614
+ }
27615
+ .ant-cron-expression-preview-content {
27616
+ flex: 0 0 220px;
27617
+ display: flex;
27618
+ align-items: center;
27619
+ padding-left: 8px;
27620
+ }
27621
+ .ant-cron-expression-preview-content-date {
27622
+ flex: 1 1 auto;
27623
+ }
27624
+ .ant-cron-expression-preview-list,
27625
+ .ant-cron-expression-preview-icon {
27626
+ list-style: none;
27619
27627
  margin: 0;
27620
27628
  padding: 0;
27621
27629
  }
27622
- .ant-cron-expression-preview-date li {
27630
+ .ant-cron-expression-preview-list li,
27631
+ .ant-cron-expression-preview-icon li {
27623
27632
  list-style: none;
27624
27633
  margin: 0;
27625
27634
  padding: 0;
27626
27635
  }
27636
+ .ant-cron-expression-preview-list {
27637
+ overflow-y: scroll;
27638
+ height: 132px;
27639
+ }
27640
+ .ant-cron-expression-preview-icon {
27641
+ height: 100%;
27642
+ }
27627
27643
  .ant-cron-expression-error {
27628
27644
  color: #ff4d4f;
27629
27645
  }
@@ -27634,12 +27650,6 @@ nz-space-item {
27634
27650
  display: inline-block;
27635
27651
  min-width: 40px;
27636
27652
  }
27637
- .ant-collapse > .ant-collapse-item > .ant-collapse-header {
27638
- padding: 8px;
27639
- }
27640
- .ant-collapse-content > .ant-collapse-content-box {
27641
- padding: 8px 24px;
27642
- }
27643
27653
  sf + st {
27644
27654
  margin-top: 16px;
27645
27655
  }
@@ -31570,6 +31580,9 @@ body {
31570
31580
  margin: 0;
31571
31581
  padding: 0;
31572
31582
  }
31583
+ .alain-default__nav:first-child {
31584
+ margin-right: 16px;
31585
+ }
31573
31586
  .alain-default__nav-middle {
31574
31587
  flex: 1;
31575
31588
  }
@@ -31599,13 +31612,28 @@ body {
31599
31612
  }
31600
31613
  .alain-default__nav-item:hover {
31601
31614
  color: #fff;
31602
- background-color: rgba(255, 255, 255, 0.2) !important;
31615
+ background-color: rgba(255, 255, 255, 0.2);
31603
31616
  }
31604
31617
  .alain-default__nav-item > i,
31605
31618
  .alain-default__nav-item-icon {
31606
31619
  font-size: 16px !important;
31607
31620
  transform: none !important;
31608
31621
  }
31622
+ .alain-default__top-menu-item {
31623
+ display: flex;
31624
+ align-items: center;
31625
+ height: 56px;
31626
+ padding: 0 8px;
31627
+ border-radius: 0;
31628
+ }
31629
+ .alain-default__top-menu-item-selected {
31630
+ color: #fff;
31631
+ background-color: rgba(255, 255, 255, 0.2);
31632
+ }
31633
+ .alain-default__top-menu-item-disabled {
31634
+ opacity: 0.5;
31635
+ pointer-events: none;
31636
+ }
31609
31637
  .alain-default__search {
31610
31638
  position: relative;
31611
31639
  display: flex;