@delon/theme 14.1.1 → 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 (70) hide show
  1. package/compact.css +155 -17
  2. package/compact.min.css +1 -1
  3. package/dark.css +155 -17
  4. package/dark.min.css +1 -1
  5. package/default.css +155 -17
  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 +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 +5 -5
  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 +4 -4
  17. package/esm2020/setting-drawer/setting-drawer.component.mjs +8 -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 -4
  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 +164 -71
  43. package/fesm2015/layout-default.mjs.map +1 -1
  44. package/fesm2015/setting-drawer.mjs +14 -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 -66
  49. package/fesm2015/theme.mjs.map +1 -1
  50. package/fesm2020/layout-default.mjs +167 -77
  51. package/fesm2020/layout-default.mjs.map +1 -1
  52. package/fesm2020/setting-drawer.mjs +14 -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 -66
  57. package/fesm2020/theme.mjs.map +1 -1
  58. package/layout-default/layout-header.component.d.ts +5 -3
  59. package/layout-default/layout.component.d.ts +12 -6
  60. package/layout-default/layout.service.d.ts +28 -0
  61. package/layout-default/public_api.d.ts +1 -0
  62. package/layout-default/style/_aside.less +18 -1
  63. package/layout-default/style/_fixed.less +4 -0
  64. package/layout-default/style/_layout.less +6 -0
  65. package/layout-default/style/fix/_reuse-tab.less +6 -0
  66. package/layout-default/style/fix/_sidebar-nav.less +1 -1
  67. package/layout-default/style/theme-default.less +1 -0
  68. package/layout-default/types.d.ts +18 -0
  69. package/package.json +3 -3
  70. package/setting-drawer/setting-drawer.component.d.ts +2 -1
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,9 +32263,23 @@ body {
32138
32263
  .st__filter-date .ant-picker-panel-container .ant-picker-panel {
32139
32264
  border: none;
32140
32265
  }
32141
- .st .ant-table-column-title {
32266
+ .st__has-filter .ant-table-column-sorters {
32267
+ padding-right: 16px;
32268
+ }
32269
+ .st__has-filter .st__filter {
32270
+ position: absolute;
32271
+ top: 0;
32272
+ right: 0;
32273
+ bottom: 0;
32142
32274
  display: flex;
32143
32275
  align-items: center;
32276
+ justify-items: center;
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;
32144
32283
  }
32145
32284
  .st__head-optional,
32146
32285
  .st__head-tip {
@@ -32160,14 +32299,20 @@ body {
32160
32299
  .st .ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table {
32161
32300
  margin: 0;
32162
32301
  }
32163
- .st .ant-table-cell-fix-left-first::after,
32164
- .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 {
32165
32304
  transform: translateX(80%);
32166
32305
  }
32167
- .st .ant-table-cell-fix-right-first::after,
32168
- .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 {
32169
32308
  transform: translateX(-80%);
32170
32309
  }
32310
+ .st__no-column .ant-table {
32311
+ height: 100px;
32312
+ }
32313
+ .st__no-column .ant-table-content {
32314
+ display: none;
32315
+ }
32171
32316
  @media screen and (min-width: 768px) {
32172
32317
  .st__width-strict .ant-table-content > table,
32173
32318
  .st__width-strict .ant-table-body > table {
@@ -32699,15 +32844,8 @@ ellipsis {
32699
32844
  .notice-icon .ant-tabs-bar {
32700
32845
  margin-bottom: 4px;
32701
32846
  }
32702
- .notice-icon .ant-tabs-nav .ant-tabs-tab {
32703
- margin-right: 32px;
32704
- padding: 12px 16px;
32705
- }
32706
- .notice-icon .ant-tabs-nav .ant-tabs-tab:last-child {
32707
- margin-right: 0;
32708
- }
32709
- .notice-icon .ant-tabs-nav-scroll {
32710
- text-align: center;
32847
+ .notice-icon__tab-left .ant-tabs-nav-list .ant-tabs-tab:first-child {
32848
+ margin-left: 32px;
32711
32849
  }
32712
32850
  .notice-icon .ant-list {
32713
32851
  max-height: 400px;