@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/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,9 +32262,23 @@ body {
32137
32262
  .st__filter-date .ant-picker-panel-container .ant-picker-panel {
32138
32263
  border: none;
32139
32264
  }
32140
- .st .ant-table-column-title {
32265
+ .st__has-filter .ant-table-column-sorters {
32266
+ padding-right: 16px;
32267
+ }
32268
+ .st__has-filter .st__filter {
32269
+ position: absolute;
32270
+ top: 0;
32271
+ right: 0;
32272
+ bottom: 0;
32141
32273
  display: flex;
32142
32274
  align-items: center;
32275
+ justify-items: center;
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;
32143
32282
  }
32144
32283
  .st__head-optional,
32145
32284
  .st__head-tip {
@@ -32159,14 +32298,20 @@ body {
32159
32298
  .st .ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table {
32160
32299
  margin: 0;
32161
32300
  }
32162
- .st .ant-table-cell-fix-left-first::after,
32163
- .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 {
32164
32303
  transform: translateX(80%);
32165
32304
  }
32166
- .st .ant-table-cell-fix-right-first::after,
32167
- .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 {
32168
32307
  transform: translateX(-80%);
32169
32308
  }
32309
+ .st__no-column .ant-table {
32310
+ height: 100px;
32311
+ }
32312
+ .st__no-column .ant-table-content {
32313
+ display: none;
32314
+ }
32170
32315
  @media screen and (min-width: 768px) {
32171
32316
  .st__width-strict .ant-table-content > table,
32172
32317
  .st__width-strict .ant-table-body > table {
@@ -32698,15 +32843,8 @@ ellipsis {
32698
32843
  .notice-icon .ant-tabs-bar {
32699
32844
  margin-bottom: 4px;
32700
32845
  }
32701
- .notice-icon .ant-tabs-nav .ant-tabs-tab {
32702
- margin-right: 32px;
32703
- padding: 12px 16px;
32704
- }
32705
- .notice-icon .ant-tabs-nav .ant-tabs-tab:last-child {
32706
- margin-right: 0;
32707
- }
32708
- .notice-icon .ant-tabs-nav-scroll {
32709
- text-align: center;
32846
+ .notice-icon__tab-left .ant-tabs-nav-list .ant-tabs-tab:first-child {
32847
+ margin-left: 32px;
32710
32848
  }
32711
32849
  .notice-icon .ant-list {
32712
32850
  max-height: 400px;