@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/dark.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;
@@ -28099,6 +28105,105 @@ nz-space-item {
28099
28105
  .cdk-overlay-backdrop.ant-image-preview-mask {
28100
28106
  opacity: 1;
28101
28107
  }
28108
+ .ant-cron-expression {
28109
+ display: flex;
28110
+ flex-wrap: nowrap;
28111
+ }
28112
+ .ant-cron-expression-content {
28113
+ width: 100%;
28114
+ }
28115
+ .ant-cron-expression-content .ant-cron-expression-input-group-error {
28116
+ border-color: #a61d24;
28117
+ box-shadow: none;
28118
+ }
28119
+ .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
28120
+ border-color: #a61d24;
28121
+ box-shadow: none;
28122
+ }
28123
+ .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
28124
+ box-shadow: 0 0 0 2px rgba(166, 29, 36, 0.2);
28125
+ }
28126
+ .ant-cron-expression-content .ant-cron-expression-input-group-error-focus:hover {
28127
+ box-shadow: 0 0 0 2px rgba(166, 29, 36, 0.2);
28128
+ }
28129
+ .ant-cron-expression nz-cron-expression-input {
28130
+ width: 20%;
28131
+ }
28132
+ .ant-cron-expression-input-group {
28133
+ display: flex;
28134
+ flex-wrap: nowrap;
28135
+ align-items: center;
28136
+ border: 1px solid #434343;
28137
+ padding: 4px 12px;
28138
+ border-radius: 2px;
28139
+ }
28140
+ .ant-cron-expression-input-group:hover {
28141
+ border-color: #177ddc;
28142
+ }
28143
+ .ant-cron-expression-input-group input {
28144
+ border: none !important;
28145
+ box-shadow: none !important;
28146
+ width: 100%;
28147
+ outline: none;
28148
+ padding: 0;
28149
+ border-radius: 0;
28150
+ }
28151
+ .ant-cron-expression-input-group-lg {
28152
+ padding: 6.5px 12px;
28153
+ font-size: 16px;
28154
+ }
28155
+ .ant-cron-expression-input-group-sm {
28156
+ padding: 0 12px;
28157
+ }
28158
+ .ant-cron-expression-input-group-focus {
28159
+ border-color: #177ddc;
28160
+ box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2);
28161
+ border-right-width: 1px;
28162
+ outline: 0;
28163
+ }
28164
+ .ant-cron-expression nz-cron-expression-label {
28165
+ width: 20%;
28166
+ }
28167
+ .ant-cron-expression-label-group {
28168
+ display: flex;
28169
+ width: 100%;
28170
+ flex-wrap: nowrap;
28171
+ justify-content: space-around;
28172
+ padding: 0 12px;
28173
+ }
28174
+ .ant-cron-expression-label-foucs {
28175
+ color: #177ddc;
28176
+ }
28177
+ .ant-cron-expression-map {
28178
+ margin-left: 12px;
28179
+ }
28180
+ .ant-cron-expression-preview-date {
28181
+ overflow-y: scroll;
28182
+ height: 132px;
28183
+ margin: 0;
28184
+ padding: 0;
28185
+ }
28186
+ .ant-cron-expression-preview-date li {
28187
+ list-style: none;
28188
+ margin: 0;
28189
+ padding: 0;
28190
+ }
28191
+ .ant-cron-expression-error {
28192
+ color: #a61d24;
28193
+ }
28194
+ .ant-cron-expression-hint p {
28195
+ display: flex;
28196
+ }
28197
+ .ant-cron-expression-hint span {
28198
+ display: inline-block;
28199
+ min-width: 40px;
28200
+ }
28201
+ .ant-collapse > .ant-collapse-item > .ant-collapse-header {
28202
+ padding: 12px;
28203
+ }
28204
+ .ant-collapse-content > .ant-collapse-content-box {
28205
+ padding: 16px 36px;
28206
+ }
28102
28207
  sf + st {
28103
28208
  margin-top: 16px;
28104
28209
  }
@@ -31967,6 +32072,9 @@ body {
31967
32072
  margin-left: 24px !important;
31968
32073
  transform: none !important;
31969
32074
  }
32075
+ .alain-default__hide-header .alain-default__aside {
32076
+ margin-top: 0;
32077
+ }
31970
32078
  @media (min-width: 768px) {
31971
32079
  .alain-default__content {
31972
32080
  margin-left: 224px;
@@ -32179,8 +32287,13 @@ body {
32179
32287
  border-right: 1px solid #303030;
32180
32288
  content: '';
32181
32289
  }
32182
- .alain-default__aside-inner {
32290
+ .alain-default__aside-wrap {
32291
+ display: flex;
32292
+ flex-direction: column;
32183
32293
  height: 100%;
32294
+ }
32295
+ .alain-default__aside-inner {
32296
+ flex: 1 1 0%;
32184
32297
  overflow-x: hidden;
32185
32298
  overflow-y: scroll;
32186
32299
  -webkit-overflow-scrolling: touch;
@@ -32198,6 +32311,15 @@ body {
32198
32311
  .alain-default__aside-inner::-webkit-scrollbar-thumb {
32199
32312
  background-color: transparent;
32200
32313
  }
32314
+ .alain-default__aside-link {
32315
+ border-top: 1px solid #303030;
32316
+ }
32317
+ .alain-default__aside-link-collapsed {
32318
+ padding: 8px 0;
32319
+ font-size: 16px;
32320
+ text-align: center;
32321
+ cursor: pointer;
32322
+ }
32201
32323
  @media (min-width: 768px) {
32202
32324
  .alain-default__collapsed .alain-default__aside {
32203
32325
  width: 64px;
@@ -32439,7 +32561,7 @@ body {
32439
32561
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link {
32440
32562
  display: flex;
32441
32563
  justify-content: center;
32442
- padding: 24px 0;
32564
+ padding: 16px 0;
32443
32565
  }
32444
32566
  .alain-default__collapsed .sidebar-nav:not(.sidebar-nav__sub) .sidebar-nav__item-link .sidebar-nav__item-icon {
32445
32567
  margin-right: 0;
@@ -32533,6 +32655,9 @@ body {
32533
32655
  .alain-default__hide-aside .reuse-tab {
32534
32656
  left: 24px;
32535
32657
  }
32658
+ .alain-default__hide-header .reuse-tab {
32659
+ top: 0;
32660
+ }
32536
32661
  @media (min-width: 768px) {
32537
32662
  .alain-default__fixed .reuse-tab + router-outlet {
32538
32663
  display: block;
@@ -32635,7 +32760,7 @@ body {
32635
32760
  .alain-default__fixed .alain-default__aside {
32636
32761
  position: fixed;
32637
32762
  }
32638
- .alain-default__fixed .alain-default__content {
32763
+ .alain-default__fixed:not(.alain-default__hide-header) .alain-default__content {
32639
32764
  margin-top: 64px;
32640
32765
  }
32641
32766
  .alain-blank {
@@ -32701,9 +32826,23 @@ body {
32701
32826
  .st__filter-date .ant-picker-panel-container .ant-picker-panel {
32702
32827
  border: none;
32703
32828
  }
32704
- .st .ant-table-column-title {
32829
+ .st__has-filter .ant-table-column-sorters {
32830
+ padding-right: 16px;
32831
+ }
32832
+ .st__has-filter .st__filter {
32833
+ position: absolute;
32834
+ top: 0;
32835
+ right: 0;
32836
+ bottom: 0;
32705
32837
  display: flex;
32706
32838
  align-items: center;
32839
+ justify-items: center;
32840
+ }
32841
+ .st__has-filter .ant-table-filter-trigger {
32842
+ height: 100%;
32843
+ }
32844
+ .st__has-filter.ant-table-column-has-sorters .st__filter {
32845
+ right: -32px;
32707
32846
  }
32708
32847
  .st__head-optional,
32709
32848
  .st__head-tip {
@@ -32723,14 +32862,20 @@ body {
32723
32862
  .st .ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table {
32724
32863
  margin: 0;
32725
32864
  }
32726
- .st .ant-table-cell-fix-left-first::after,
32727
- .st .ant-table-cell-fix-left-last::after {
32865
+ .st .text-truncate.ant-table-cell-fix-left-first::after,
32866
+ .st .text-truncate.ant-table-cell-fix-left-last::after {
32728
32867
  transform: translateX(80%);
32729
32868
  }
32730
- .st .ant-table-cell-fix-right-first::after,
32731
- .st .ant-table-cell-fix-right-last::after {
32869
+ .st .text-truncate.ant-table-cell-fix-right-first::after,
32870
+ .st .text-truncate.ant-table-cell-fix-right-last::after {
32732
32871
  transform: translateX(-80%);
32733
32872
  }
32873
+ .st__no-column .ant-table {
32874
+ height: 100px;
32875
+ }
32876
+ .st__no-column .ant-table-content {
32877
+ display: none;
32878
+ }
32734
32879
  @media screen and (min-width: 768px) {
32735
32880
  .st__width-strict .ant-table-content > table,
32736
32881
  .st__width-strict .ant-table-body > table {
@@ -33262,15 +33407,8 @@ ellipsis {
33262
33407
  .notice-icon .ant-tabs-bar {
33263
33408
  margin-bottom: 4px;
33264
33409
  }
33265
- .notice-icon .ant-tabs-nav .ant-tabs-tab {
33266
- margin-right: 32px;
33267
- padding: 12px 16px;
33268
- }
33269
- .notice-icon .ant-tabs-nav .ant-tabs-tab:last-child {
33270
- margin-right: 0;
33271
- }
33272
- .notice-icon .ant-tabs-nav-scroll {
33273
- text-align: center;
33410
+ .notice-icon__tab-left .ant-tabs-nav-list .ant-tabs-tab:first-child {
33411
+ margin-left: 32px;
33274
33412
  }
33275
33413
  .notice-icon .ant-list {
33276
33414
  max-height: 400px;