@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/compact.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: 10.5px;
6871
+ }
6866
6872
  .ant-descriptions-header {
6867
6873
  display: flex;
6868
6874
  align-items: center;
@@ -27535,6 +27541,105 @@ nz-space-item {
27535
27541
  .cdk-overlay-backdrop.ant-image-preview-mask {
27536
27542
  opacity: 1;
27537
27543
  }
27544
+ .ant-cron-expression {
27545
+ display: flex;
27546
+ flex-wrap: nowrap;
27547
+ }
27548
+ .ant-cron-expression-content {
27549
+ width: 100%;
27550
+ }
27551
+ .ant-cron-expression-content .ant-cron-expression-input-group-error {
27552
+ border-color: #ff4d4f;
27553
+ box-shadow: none;
27554
+ }
27555
+ .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
27556
+ border-color: #ff4d4f;
27557
+ box-shadow: none;
27558
+ }
27559
+ .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
27560
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
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
+ .ant-cron-expression nz-cron-expression-input {
27566
+ width: 20%;
27567
+ }
27568
+ .ant-cron-expression-input-group {
27569
+ display: flex;
27570
+ flex-wrap: nowrap;
27571
+ 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
+ }
27579
+ .ant-cron-expression-input-group input {
27580
+ border: none !important;
27581
+ box-shadow: none !important;
27582
+ width: 100%;
27583
+ outline: none;
27584
+ padding: 0;
27585
+ border-radius: 0;
27586
+ }
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
+ .ant-cron-expression-input-group-focus {
27595
+ border-color: #1890ff;
27596
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
27597
+ border-right-width: 1px;
27598
+ outline: 0;
27599
+ }
27600
+ .ant-cron-expression nz-cron-expression-label {
27601
+ width: 20%;
27602
+ }
27603
+ .ant-cron-expression-label-group {
27604
+ display: flex;
27605
+ width: 100%;
27606
+ flex-wrap: nowrap;
27607
+ justify-content: space-around;
27608
+ padding: 0 8px;
27609
+ }
27610
+ .ant-cron-expression-label-foucs {
27611
+ color: #1890ff;
27612
+ }
27613
+ .ant-cron-expression-map {
27614
+ margin-left: 8px;
27615
+ }
27616
+ .ant-cron-expression-preview-date {
27617
+ overflow-y: scroll;
27618
+ height: 132px;
27619
+ margin: 0;
27620
+ padding: 0;
27621
+ }
27622
+ .ant-cron-expression-preview-date li {
27623
+ list-style: none;
27624
+ margin: 0;
27625
+ padding: 0;
27626
+ }
27627
+ .ant-cron-expression-error {
27628
+ color: #ff4d4f;
27629
+ }
27630
+ .ant-cron-expression-hint p {
27631
+ display: flex;
27632
+ }
27633
+ .ant-cron-expression-hint span {
27634
+ display: inline-block;
27635
+ min-width: 40px;
27636
+ }
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
+ }
27538
27643
  sf + st {
27539
27644
  margin-top: 16px;
27540
27645
  }
@@ -31403,6 +31508,9 @@ body {
31403
31508
  margin-left: 24px !important;
31404
31509
  transform: none !important;
31405
31510
  }
31511
+ .alain-default__hide-header .alain-default__aside {
31512
+ margin-top: 0;
31513
+ }
31406
31514
  @media (min-width: 768px) {
31407
31515
  .alain-default__content {
31408
31516
  margin-left: 224px;
@@ -31615,8 +31723,13 @@ body {
31615
31723
  border-right: 1px solid #efe3e5;
31616
31724
  content: '';
31617
31725
  }
31618
- .alain-default__aside-inner {
31726
+ .alain-default__aside-wrap {
31727
+ display: flex;
31728
+ flex-direction: column;
31619
31729
  height: 100%;
31730
+ }
31731
+ .alain-default__aside-inner {
31732
+ flex: 1 1 0%;
31620
31733
  overflow-x: hidden;
31621
31734
  overflow-y: scroll;
31622
31735
  -webkit-overflow-scrolling: touch;
@@ -31634,6 +31747,15 @@ body {
31634
31747
  .alain-default__aside-inner::-webkit-scrollbar-thumb {
31635
31748
  background-color: transparent;
31636
31749
  }
31750
+ .alain-default__aside-link {
31751
+ border-top: 1px solid #efe3e5;
31752
+ }
31753
+ .alain-default__aside-link-collapsed {
31754
+ padding: 8px 0;
31755
+ font-size: 16px;
31756
+ text-align: center;
31757
+ cursor: pointer;
31758
+ }
31637
31759
  @media (min-width: 768px) {
31638
31760
  .alain-default__collapsed .alain-default__aside {
31639
31761
  width: 64px;
@@ -31875,7 +31997,7 @@ body {
31875
31997
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link {
31876
31998
  display: flex;
31877
31999
  justify-content: center;
31878
- padding: 24px 0;
32000
+ padding: 16px 0;
31879
32001
  }
31880
32002
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link .sidebar-nav__item-icon {
31881
32003
  margin-right: 0;
@@ -31969,6 +32091,9 @@ body {
31969
32091
  .alain-default__hide-aside .reuse-tab {
31970
32092
  left: 24px;
31971
32093
  }
32094
+ .alain-default__hide-header .reuse-tab {
32095
+ top: 0;
32096
+ }
31972
32097
  @media (min-width: 768px) {
31973
32098
  .alain-default__fixed .reuse-tab + router-outlet {
31974
32099
  display: block;
@@ -32071,7 +32196,7 @@ body {
32071
32196
  .alain-default__fixed .alain-default__aside {
32072
32197
  position: fixed;
32073
32198
  }
32074
- .alain-default__fixed .alain-default__content {
32199
+ .alain-default__fixed:not(.alain-default__hide-header) .alain-default__content {
32075
32200
  margin-top: 56px;
32076
32201
  }
32077
32202
  .alain-blank {
@@ -32137,18 +32262,24 @@ body {
32137
32262
  .st__filter-date .ant-picker-panel-container .ant-picker-panel {
32138
32263
  border: none;
32139
32264
  }
32140
- .st__has-filter.ant-table-column-has-sorters .ant-table-column-sorters {
32265
+ .st__has-filter .ant-table-column-sorters {
32141
32266
  padding-right: 16px;
32142
32267
  }
32143
- .st__has-filter.ant-table-column-has-sorters .st__filter {
32268
+ .st__has-filter .st__filter {
32144
32269
  position: absolute;
32145
32270
  top: 0;
32146
- right: -32px;
32271
+ right: 0;
32147
32272
  bottom: 0;
32148
32273
  display: flex;
32149
32274
  align-items: center;
32150
32275
  justify-items: center;
32151
32276
  }
32277
+ .st__has-filter .ant-table-filter-trigger {
32278
+ height: 100%;
32279
+ }
32280
+ .st__has-filter.ant-table-column-has-sorters .st__filter {
32281
+ right: -32px;
32282
+ }
32152
32283
  .st__head-optional,
32153
32284
  .st__head-tip {
32154
32285
  margin-left: 2px;
@@ -32167,14 +32298,20 @@ body {
32167
32298
  .st .ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table {
32168
32299
  margin: 0;
32169
32300
  }
32170
- .st .ant-table-cell-fix-left-first::after,
32171
- .st .ant-table-cell-fix-left-last::after {
32301
+ .st .text-truncate.ant-table-cell-fix-left-first::after,
32302
+ .st .text-truncate.ant-table-cell-fix-left-last::after {
32172
32303
  transform: translateX(80%);
32173
32304
  }
32174
- .st .ant-table-cell-fix-right-first::after,
32175
- .st .ant-table-cell-fix-right-last::after {
32305
+ .st .text-truncate.ant-table-cell-fix-right-first::after,
32306
+ .st .text-truncate.ant-table-cell-fix-right-last::after {
32176
32307
  transform: translateX(-80%);
32177
32308
  }
32309
+ .st__no-column .ant-table {
32310
+ height: 100px;
32311
+ }
32312
+ .st__no-column .ant-table-content {
32313
+ display: none;
32314
+ }
32178
32315
  @media screen and (min-width: 768px) {
32179
32316
  .st__width-strict .ant-table-content > table,
32180
32317
  .st__width-strict .ant-table-body > table {