@delon/theme 14.3.0 → 15.0.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 (73) hide show
  1. package/compact.css +60 -32
  2. package/compact.min.css +1 -1
  3. package/dark.css +60 -32
  4. package/dark.min.css +1 -1
  5. package/default.css +60 -32
  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 +5 -5
  10. package/esm2020/layout-default/layout-nav.component.mjs +4 -4
  11. package/esm2020/layout-default/layout-top-menu-item.mjs +39 -0
  12. package/esm2020/layout-default/layout.component.mjs +4 -4
  13. package/esm2020/layout-default/layout.module.mjs +12 -8
  14. package/esm2020/layout-default/layout.service.mjs +4 -4
  15. package/esm2020/layout-default/public_api.mjs +2 -1
  16. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +4 -4
  17. package/esm2020/setting-drawer/setting-drawer.component.mjs +5 -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 -51
  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 +65 -27
  43. package/fesm2015/layout-default.mjs.map +1 -1
  44. package/fesm2015/setting-drawer.mjs +11 -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 -113
  49. package/fesm2015/theme.mjs.map +1 -1
  50. package/fesm2020/layout-default.mjs +65 -27
  51. package/fesm2020/layout-default.mjs.map +1 -1
  52. package/fesm2020/setting-drawer.mjs +11 -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 -113
  57. package/fesm2020/theme.mjs.map +1 -1
  58. package/layout-default/layout-header-item-trigger.directive.d.ts +1 -1
  59. package/layout-default/layout-header-item.component.d.ts +1 -1
  60. package/layout-default/layout-header.component.d.ts +1 -1
  61. package/layout-default/layout-nav.component.d.ts +1 -1
  62. package/layout-default/layout-top-menu-item.d.ts +10 -0
  63. package/layout-default/layout.component.d.ts +1 -1
  64. package/layout-default/layout.module.d.ts +10 -9
  65. package/layout-default/public_api.d.ts +1 -0
  66. package/layout-default/style/_header.less +23 -1
  67. package/layout-default/style/theme-compact.less +2 -0
  68. package/layout-default/style/theme-default.less +3 -1
  69. package/package.json +4 -4
  70. package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
  71. package/setting-drawer/setting-drawer.component.d.ts +1 -1
  72. package/src/services/menu/menu.service.d.ts +0 -12
  73. package/theme-btn/theme-btn.component.d.ts +1 -1
package/dark.css CHANGED
@@ -14121,6 +14121,10 @@ nz-form-item-feedback-icon.ant-input-suffix {
14121
14121
  .ant-input-status-success.ant-input-has-feedback {
14122
14122
  padding-right: 28px;
14123
14123
  }
14124
+ .ant-input-textarea-show-count {
14125
+ display: block;
14126
+ position: relative;
14127
+ }
14124
14128
  .ant-input-number-affix-wrapper {
14125
14129
  display: inline-block;
14126
14130
  width: 100%;
@@ -28116,16 +28120,9 @@ nz-space-item {
28116
28120
  border-color: #a61d24;
28117
28121
  box-shadow: none;
28118
28122
  }
28119
- .ant-cron-expression-content .ant-cron-expression-input-group-error:hover {
28120
- border-color: #a61d24;
28121
- box-shadow: none;
28122
- }
28123
28123
  .ant-cron-expression-content .ant-cron-expression-input-group-error-focus {
28124
28124
  box-shadow: 0 0 0 2px rgba(166, 29, 36, 0.2);
28125
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
28126
  .ant-cron-expression nz-cron-expression-input {
28130
28127
  width: 20%;
28131
28128
  }
@@ -28133,12 +28130,6 @@ nz-space-item {
28133
28130
  display: flex;
28134
28131
  flex-wrap: nowrap;
28135
28132
  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
28133
  }
28143
28134
  .ant-cron-expression-input-group input {
28144
28135
  border: none !important;
@@ -28148,17 +28139,9 @@ nz-space-item {
28148
28139
  padding: 0;
28149
28140
  border-radius: 0;
28150
28141
  }
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
28142
  .ant-cron-expression-input-group-focus {
28159
28143
  border-color: #177ddc;
28160
28144
  box-shadow: 0 0 0 2px rgba(23, 125, 220, 0.2);
28161
- border-right-width: 1px;
28162
28145
  outline: 0;
28163
28146
  }
28164
28147
  .ant-cron-expression nz-cron-expression-label {
@@ -28169,6 +28152,10 @@ nz-space-item {
28169
28152
  width: 100%;
28170
28153
  flex-wrap: nowrap;
28171
28154
  justify-content: space-around;
28155
+ padding-top: 0 !important;
28156
+ padding-bottom: 0 !important;
28157
+ }
28158
+ .ant-cron-expression-label-group-default {
28172
28159
  padding: 0 12px;
28173
28160
  }
28174
28161
  .ant-cron-expression-label-foucs {
@@ -28177,17 +28164,46 @@ nz-space-item {
28177
28164
  .ant-cron-expression-map {
28178
28165
  margin-left: 12px;
28179
28166
  }
28180
- .ant-cron-expression-preview-date {
28181
- overflow-y: scroll;
28182
- height: 132px;
28167
+ .ant-cron-expression-preview {
28168
+ display: flex;
28169
+ padding: 12px;
28170
+ }
28171
+ .ant-cron-expression-preview-dateTime {
28172
+ flex: 1 1 auto;
28173
+ display: flex;
28174
+ align-items: center;
28175
+ }
28176
+ .ant-cron-expression-preview-dateTime-center {
28177
+ justify-content: center;
28178
+ }
28179
+ .ant-cron-expression-preview-content {
28180
+ flex: 0 0 220px;
28181
+ display: flex;
28182
+ align-items: center;
28183
+ padding-left: 16px;
28184
+ }
28185
+ .ant-cron-expression-preview-content-date {
28186
+ flex: 1 1 auto;
28187
+ }
28188
+ .ant-cron-expression-preview-list,
28189
+ .ant-cron-expression-preview-icon {
28190
+ list-style: none;
28183
28191
  margin: 0;
28184
28192
  padding: 0;
28185
28193
  }
28186
- .ant-cron-expression-preview-date li {
28194
+ .ant-cron-expression-preview-list li,
28195
+ .ant-cron-expression-preview-icon li {
28187
28196
  list-style: none;
28188
28197
  margin: 0;
28189
28198
  padding: 0;
28190
28199
  }
28200
+ .ant-cron-expression-preview-list {
28201
+ overflow-y: scroll;
28202
+ height: 132px;
28203
+ }
28204
+ .ant-cron-expression-preview-icon {
28205
+ height: 100%;
28206
+ }
28191
28207
  .ant-cron-expression-error {
28192
28208
  color: #a61d24;
28193
28209
  }
@@ -28198,12 +28214,6 @@ nz-space-item {
28198
28214
  display: inline-block;
28199
28215
  min-width: 40px;
28200
28216
  }
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
- }
28207
28217
  sf + st {
28208
28218
  margin-top: 16px;
28209
28219
  }
@@ -32134,6 +32144,9 @@ body {
32134
32144
  margin: 0;
32135
32145
  padding: 0;
32136
32146
  }
32147
+ .alain-default__nav:first-child {
32148
+ margin-right: 16px;
32149
+ }
32137
32150
  .alain-default__nav-middle {
32138
32151
  flex: 1;
32139
32152
  }
@@ -32163,13 +32176,28 @@ body {
32163
32176
  }
32164
32177
  .alain-default__nav-item:hover {
32165
32178
  color: #fff;
32166
- background-color: rgba(255, 255, 255, 0.2) !important;
32179
+ background-color: rgba(255, 255, 255, 0.2);
32167
32180
  }
32168
32181
  .alain-default__nav-item > i,
32169
32182
  .alain-default__nav-item-icon {
32170
32183
  font-size: 18px !important;
32171
32184
  transform: none !important;
32172
32185
  }
32186
+ .alain-default__top-menu-item {
32187
+ display: flex;
32188
+ align-items: center;
32189
+ height: 64px;
32190
+ padding: 0 16px;
32191
+ border-radius: 0;
32192
+ }
32193
+ .alain-default__top-menu-item-selected {
32194
+ color: #fff;
32195
+ background-color: rgba(255, 255, 255, 0.2);
32196
+ }
32197
+ .alain-default__top-menu-item-disabled {
32198
+ opacity: 0.5;
32199
+ pointer-events: none;
32200
+ }
32173
32201
  .alain-default__search {
32174
32202
  position: relative;
32175
32203
  display: flex;