@delon/theme 14.2.0 → 14.3.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 (67) hide show
  1. package/compact.css +147 -10
  2. package/compact.min.css +1 -1
  3. package/dark.css +147 -10
  4. package/dark.min.css +1 -1
  5. package/default.css +147 -10
  6. package/default.min.css +1 -1
  7. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  8. package/esm2020/layout-default/layout-header-item.component.mjs +3 -3
  9. package/esm2020/layout-default/layout-header.component.mjs +33 -33
  10. package/esm2020/layout-default/layout-nav.component.mjs +6 -5
  11. package/esm2020/layout-default/layout.component.mjs +66 -35
  12. package/esm2020/layout-default/layout.module.mjs +4 -4
  13. package/esm2020/layout-default/layout.service.mjs +65 -0
  14. package/esm2020/layout-default/public_api.mjs +2 -1
  15. package/esm2020/layout-default/types.mjs +1 -1
  16. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +3 -3
  17. package/esm2020/setting-drawer/setting-drawer.component.mjs +3 -3
  18. package/esm2020/setting-drawer/setting-drawer.module.mjs +4 -4
  19. package/esm2020/src/locale/locale.module.mjs +4 -4
  20. package/esm2020/src/locale/locale.service.mjs +3 -3
  21. package/esm2020/src/pipes/date/date.pipe.mjs +3 -3
  22. package/esm2020/src/pipes/keys/keys.pipe.mjs +3 -3
  23. package/esm2020/src/pipes/safe/html.pipe.mjs +3 -3
  24. package/esm2020/src/pipes/safe/url.pipe.mjs +3 -3
  25. package/esm2020/src/pipes/yn/yn.pipe.mjs +3 -3
  26. package/esm2020/src/services/drawer/drawer.helper.mjs +3 -3
  27. package/esm2020/src/services/http/http.client.mjs +3 -3
  28. package/esm2020/src/services/http/http.decorator.mjs +3 -3
  29. package/esm2020/src/services/i18n/i18n-url.guard.mjs +3 -3
  30. package/esm2020/src/services/i18n/i18n.mjs +6 -6
  31. package/esm2020/src/services/i18n/i18n.pipe.mjs +3 -3
  32. package/esm2020/src/services/menu/menu.service.mjs +3 -3
  33. package/esm2020/src/services/modal/modal.helper.mjs +3 -3
  34. package/esm2020/src/services/responsive/responsive.mjs +3 -3
  35. package/esm2020/src/services/rtl/rtl.service.mjs +3 -3
  36. package/esm2020/src/services/settings/settings.service.mjs +3 -3
  37. package/esm2020/src/services/title/title.service.mjs +3 -3
  38. package/esm2020/src/theme.module.mjs +4 -4
  39. package/esm2020/src/version.mjs +1 -1
  40. package/esm2020/theme-btn/theme-btn.component.mjs +3 -3
  41. package/esm2020/theme-btn/theme-btn.module.mjs +4 -4
  42. package/fesm2015/layout-default.mjs +164 -71
  43. package/fesm2015/layout-default.mjs.map +1 -1
  44. package/fesm2015/setting-drawer.mjs +10 -10
  45. package/fesm2015/setting-drawer.mjs.map +1 -1
  46. package/fesm2015/theme-btn.mjs +7 -7
  47. package/fesm2015/theme.mjs +66 -66
  48. package/fesm2015/theme.mjs.map +1 -1
  49. package/fesm2020/layout-default.mjs +167 -77
  50. package/fesm2020/layout-default.mjs.map +1 -1
  51. package/fesm2020/setting-drawer.mjs +10 -10
  52. package/fesm2020/setting-drawer.mjs.map +1 -1
  53. package/fesm2020/theme-btn.mjs +7 -7
  54. package/fesm2020/theme.mjs +66 -66
  55. package/fesm2020/theme.mjs.map +1 -1
  56. package/layout-default/layout-header.component.d.ts +5 -3
  57. package/layout-default/layout.component.d.ts +12 -6
  58. package/layout-default/layout.service.d.ts +28 -0
  59. package/layout-default/public_api.d.ts +1 -0
  60. package/layout-default/style/_aside.less +18 -1
  61. package/layout-default/style/_fixed.less +4 -0
  62. package/layout-default/style/_layout.less +6 -0
  63. package/layout-default/style/fix/_reuse-tab.less +6 -0
  64. package/layout-default/style/fix/_sidebar-nav.less +1 -1
  65. package/layout-default/style/theme-default.less +1 -0
  66. package/layout-default/types.d.ts +18 -0
  67. package/package.json +3 -3
package/default.css CHANGED
@@ -1875,6 +1875,9 @@ nz-affix {
1875
1875
  nz-alert {
1876
1876
  display: block;
1877
1877
  }
1878
+ .ant-alert-icon {
1879
+ line-height: 1;
1880
+ }
1878
1881
  .ant-anchor {
1879
1882
  box-sizing: border-box;
1880
1883
  margin: 0;
@@ -6863,6 +6866,9 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
6863
6866
  .ant-picker-panel-container.ant-picker-week-number .ant-picker-date-panel .ant-picker-content th {
6864
6867
  width: inherit;
6865
6868
  }
6869
+ .ant-picker-range-arrow {
6870
+ margin-right: 16.5px;
6871
+ }
6866
6872
  .ant-descriptions-header {
6867
6873
  display: flex;
6868
6874
  align-items: center;
@@ -27536,6 +27542,105 @@ nz-space-item {
27536
27542
  .cdk-overlay-backdrop.ant-image-preview-mask {
27537
27543
  opacity: 1;
27538
27544
  }
27545
+ .ant-cron-expression {
27546
+ display: flex;
27547
+ flex-wrap: nowrap;
27548
+ }
27549
+ .ant-cron-expression-content {
27550
+ width: 100%;
27551
+ }
27552
+ .ant-cron-expression-content .ant-cron-expression-input-group-error {
27553
+ border-color: #ff4d4f;
27554
+ box-shadow: none;
27555
+ }
27556
+ .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
27557
+ border-color: #ff4d4f;
27558
+ box-shadow: none;
27559
+ }
27560
+ .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
27561
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
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
+ .ant-cron-expression nz-cron-expression-input {
27567
+ width: 20%;
27568
+ }
27569
+ .ant-cron-expression-input-group {
27570
+ display: flex;
27571
+ flex-wrap: nowrap;
27572
+ 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
+ }
27580
+ .ant-cron-expression-input-group input {
27581
+ border: none !important;
27582
+ box-shadow: none !important;
27583
+ width: 100%;
27584
+ outline: none;
27585
+ padding: 0;
27586
+ border-radius: 0;
27587
+ }
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
+ .ant-cron-expression-input-group-focus {
27596
+ border-color: #1890ff;
27597
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
27598
+ border-right-width: 1px;
27599
+ outline: 0;
27600
+ }
27601
+ .ant-cron-expression nz-cron-expression-label {
27602
+ width: 20%;
27603
+ }
27604
+ .ant-cron-expression-label-group {
27605
+ display: flex;
27606
+ width: 100%;
27607
+ flex-wrap: nowrap;
27608
+ justify-content: space-around;
27609
+ padding: 0 12px;
27610
+ }
27611
+ .ant-cron-expression-label-foucs {
27612
+ color: #1890ff;
27613
+ }
27614
+ .ant-cron-expression-map {
27615
+ margin-left: 12px;
27616
+ }
27617
+ .ant-cron-expression-preview-date {
27618
+ overflow-y: scroll;
27619
+ height: 132px;
27620
+ margin: 0;
27621
+ padding: 0;
27622
+ }
27623
+ .ant-cron-expression-preview-date li {
27624
+ list-style: none;
27625
+ margin: 0;
27626
+ padding: 0;
27627
+ }
27628
+ .ant-cron-expression-error {
27629
+ color: #ff4d4f;
27630
+ }
27631
+ .ant-cron-expression-hint p {
27632
+ display: flex;
27633
+ }
27634
+ .ant-cron-expression-hint span {
27635
+ display: inline-block;
27636
+ min-width: 40px;
27637
+ }
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
+ }
27539
27644
  sf + st {
27540
27645
  margin-top: 16px;
27541
27646
  }
@@ -31404,6 +31509,9 @@ body {
31404
31509
  margin-left: 24px !important;
31405
31510
  transform: none !important;
31406
31511
  }
31512
+ .alain-default__hide-header .alain-default__aside {
31513
+ margin-top: 0;
31514
+ }
31407
31515
  @media (min-width: 768px) {
31408
31516
  .alain-default__content {
31409
31517
  margin-left: 224px;
@@ -31616,8 +31724,13 @@ body {
31616
31724
  border-right: 1px solid #efe3e5;
31617
31725
  content: '';
31618
31726
  }
31619
- .alain-default__aside-inner {
31727
+ .alain-default__aside-wrap {
31728
+ display: flex;
31729
+ flex-direction: column;
31620
31730
  height: 100%;
31731
+ }
31732
+ .alain-default__aside-inner {
31733
+ flex: 1 1 0%;
31621
31734
  overflow-x: hidden;
31622
31735
  overflow-y: scroll;
31623
31736
  -webkit-overflow-scrolling: touch;
@@ -31635,6 +31748,15 @@ body {
31635
31748
  .alain-default__aside-inner::-webkit-scrollbar-thumb {
31636
31749
  background-color: transparent;
31637
31750
  }
31751
+ .alain-default__aside-link {
31752
+ border-top: 1px solid #efe3e5;
31753
+ }
31754
+ .alain-default__aside-link-collapsed {
31755
+ padding: 8px 0;
31756
+ font-size: 16px;
31757
+ text-align: center;
31758
+ cursor: pointer;
31759
+ }
31638
31760
  @media (min-width: 768px) {
31639
31761
  .alain-default__collapsed .alain-default__aside {
31640
31762
  width: 64px;
@@ -31876,7 +31998,7 @@ body {
31876
31998
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link {
31877
31999
  display: flex;
31878
32000
  justify-content: center;
31879
- padding: 24px 0;
32001
+ padding: 16px 0;
31880
32002
  }
31881
32003
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link .sidebar-nav__item-icon {
31882
32004
  margin-right: 0;
@@ -31970,6 +32092,9 @@ body {
31970
32092
  .alain-default__hide-aside .reuse-tab {
31971
32093
  left: 24px;
31972
32094
  }
32095
+ .alain-default__hide-header .reuse-tab {
32096
+ top: 0;
32097
+ }
31973
32098
  @media (min-width: 768px) {
31974
32099
  .alain-default__fixed .reuse-tab + router-outlet {
31975
32100
  display: block;
@@ -32072,7 +32197,7 @@ body {
32072
32197
  .alain-default__fixed .alain-default__aside {
32073
32198
  position: fixed;
32074
32199
  }
32075
- .alain-default__fixed .alain-default__content {
32200
+ .alain-default__fixed:not(.alain-default__hide-header) .alain-default__content {
32076
32201
  margin-top: 64px;
32077
32202
  }
32078
32203
  .alain-blank {
@@ -32138,18 +32263,24 @@ body {
32138
32263
  .st__filter-date .ant-picker-panel-container .ant-picker-panel {
32139
32264
  border: none;
32140
32265
  }
32141
- .st__has-filter.ant-table-column-has-sorters .ant-table-column-sorters {
32266
+ .st__has-filter .ant-table-column-sorters {
32142
32267
  padding-right: 16px;
32143
32268
  }
32144
- .st__has-filter.ant-table-column-has-sorters .st__filter {
32269
+ .st__has-filter .st__filter {
32145
32270
  position: absolute;
32146
32271
  top: 0;
32147
- right: -32px;
32272
+ right: 0;
32148
32273
  bottom: 0;
32149
32274
  display: flex;
32150
32275
  align-items: center;
32151
32276
  justify-items: center;
32152
32277
  }
32278
+ .st__has-filter .ant-table-filter-trigger {
32279
+ height: 100%;
32280
+ }
32281
+ .st__has-filter.ant-table-column-has-sorters .st__filter {
32282
+ right: -32px;
32283
+ }
32153
32284
  .st__head-optional,
32154
32285
  .st__head-tip {
32155
32286
  margin-left: 2px;
@@ -32168,14 +32299,20 @@ body {
32168
32299
  .st .ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table {
32169
32300
  margin: 0;
32170
32301
  }
32171
- .st .ant-table-cell-fix-left-first::after,
32172
- .st .ant-table-cell-fix-left-last::after {
32302
+ .st .text-truncate.ant-table-cell-fix-left-first::after,
32303
+ .st .text-truncate.ant-table-cell-fix-left-last::after {
32173
32304
  transform: translateX(80%);
32174
32305
  }
32175
- .st .ant-table-cell-fix-right-first::after,
32176
- .st .ant-table-cell-fix-right-last::after {
32306
+ .st .text-truncate.ant-table-cell-fix-right-first::after,
32307
+ .st .text-truncate.ant-table-cell-fix-right-last::after {
32177
32308
  transform: translateX(-80%);
32178
32309
  }
32310
+ .st__no-column .ant-table {
32311
+ height: 100px;
32312
+ }
32313
+ .st__no-column .ant-table-content {
32314
+ display: none;
32315
+ }
32179
32316
  @media screen and (min-width: 768px) {
32180
32317
  .st__width-strict .ant-table-content > table,
32181
32318
  .st__width-strict .ant-table-body > table {