@delon/theme 17.0.5 → 17.1.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 (76) hide show
  1. package/compact.css +86 -4
  2. package/compact.min.css +1 -1
  3. package/dark.css +86 -4
  4. package/dark.min.css +1 -1
  5. package/default.css +86 -4
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +3 -3
  8. package/esm2022/layout-default/layout-header-item.component.mjs +3 -3
  9. package/esm2022/layout-default/layout-header.component.mjs +21 -21
  10. package/esm2022/layout-default/layout-nav.component.mjs +50 -64
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +9 -15
  12. package/esm2022/layout-default/layout.component.mjs +10 -16
  13. package/esm2022/layout-default/layout.module.mjs +4 -4
  14. package/esm2022/layout-default/layout.service.mjs +12 -12
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +5 -5
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +37 -45
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +4 -4
  18. package/esm2022/src/locale/languages/vi-VI.mjs +83 -0
  19. package/esm2022/src/locale/locale.module.mjs +4 -4
  20. package/esm2022/src/locale/locale.service.mjs +4 -4
  21. package/esm2022/src/locale/locale.tokens.mjs +1 -1
  22. package/esm2022/src/locale/public_api.mjs +2 -1
  23. package/esm2022/src/pipes/date/date.pipe.mjs +3 -3
  24. package/esm2022/src/pipes/keys/keys.pipe.mjs +3 -3
  25. package/esm2022/src/pipes/safe/html.pipe.mjs +9 -9
  26. package/esm2022/src/pipes/safe/url.pipe.mjs +9 -9
  27. package/esm2022/src/pipes/yn/yn.pipe.mjs +9 -9
  28. package/esm2022/src/provide.mjs +1 -1
  29. package/esm2022/src/services/drawer/drawer.helper.mjs +12 -16
  30. package/esm2022/src/services/http/http.client.mjs +10 -11
  31. package/esm2022/src/services/http/http.decorator.mjs +8 -11
  32. package/esm2022/src/services/i18n/i18n-url.guard.mjs +11 -16
  33. package/esm2022/src/services/i18n/i18n.mjs +7 -7
  34. package/esm2022/src/services/i18n/i18n.pipe.mjs +3 -3
  35. package/esm2022/src/services/menu/menu.service.mjs +12 -19
  36. package/esm2022/src/services/modal/modal.helper.mjs +13 -16
  37. package/esm2022/src/services/preloader/preloader.mjs +1 -1
  38. package/esm2022/src/services/responsive/responsive.mjs +4 -4
  39. package/esm2022/src/services/rtl/rtl.service.mjs +19 -22
  40. package/esm2022/src/services/settings/settings.service.mjs +10 -13
  41. package/esm2022/src/services/title/title.service.mjs +16 -24
  42. package/esm2022/src/theme.module.mjs +4 -4
  43. package/esm2022/src/version.mjs +1 -1
  44. package/esm2022/theme-btn/theme-btn.component.mjs +24 -37
  45. package/esm2022/theme-btn/theme-btn.module.mjs +4 -4
  46. package/fesm2022/layout-default.mjs +101 -121
  47. package/fesm2022/layout-default.mjs.map +1 -1
  48. package/fesm2022/setting-drawer.mjs +42 -50
  49. package/fesm2022/setting-drawer.mjs.map +1 -1
  50. package/fesm2022/theme-btn.mjs +27 -40
  51. package/fesm2022/theme-btn.mjs.map +1 -1
  52. package/fesm2022/theme.mjs +222 -179
  53. package/fesm2022/theme.mjs.map +1 -1
  54. package/layout-default/layout-header.component.d.ts +6 -8
  55. package/layout-default/layout-nav.component.d.ts +24 -26
  56. package/layout-default/layout-top-menu-item.d.ts +2 -3
  57. package/layout-default/layout.component.d.ts +2 -3
  58. package/layout-default/layout.service.d.ts +1 -3
  59. package/package.json +4 -4
  60. package/setting-drawer/setting-drawer.component.d.ts +15 -16
  61. package/src/locale/languages/vi-VI.d.ts +3 -0
  62. package/src/locale/locale.tokens.d.ts +2 -1
  63. package/src/locale/public_api.d.ts +1 -0
  64. package/src/pipes/safe/html.pipe.d.ts +2 -3
  65. package/src/pipes/safe/url.pipe.d.ts +2 -3
  66. package/src/pipes/yn/yn.pipe.d.ts +2 -3
  67. package/src/services/drawer/drawer.helper.d.ts +4 -5
  68. package/src/services/http/http.client.d.ts +3 -3
  69. package/src/services/http/http.decorator.d.ts +1 -2
  70. package/src/services/i18n/i18n-url.guard.d.ts +3 -6
  71. package/src/services/menu/menu.service.d.ts +5 -7
  72. package/src/services/modal/modal.helper.d.ts +4 -6
  73. package/src/services/rtl/rtl.service.d.ts +8 -13
  74. package/src/services/settings/settings.service.d.ts +2 -4
  75. package/src/services/title/title.service.d.ts +8 -12
  76. package/theme-btn/theme-btn.component.d.ts +11 -15
package/dark.css CHANGED
@@ -13232,6 +13232,78 @@ nz-empty {
13232
13232
  .ant-row-rtl {
13233
13233
  direction: rtl;
13234
13234
  }
13235
+ .ant-flex {
13236
+ display: flex;
13237
+ }
13238
+ .ant-flex-vertical {
13239
+ flex-direction: column;
13240
+ }
13241
+ .ant-flex-justify-flex-start {
13242
+ justify-content: flex-start;
13243
+ }
13244
+ .ant-flex-justify-center {
13245
+ justify-content: center;
13246
+ }
13247
+ .ant-flex-justify-flex-end {
13248
+ justify-content: flex-end;
13249
+ }
13250
+ .ant-flex-justify-space-between {
13251
+ justify-content: space-between;
13252
+ }
13253
+ .ant-flex-justify-space-around {
13254
+ justify-content: space-around;
13255
+ }
13256
+ .ant-flex-justify-space-evenly {
13257
+ justify-content: space-evenly;
13258
+ }
13259
+ .ant-flex-justify-start {
13260
+ justify-content: start;
13261
+ }
13262
+ .ant-flex-justify-end {
13263
+ justify-content: end;
13264
+ }
13265
+ .ant-flex-justify-right {
13266
+ justify-content: right;
13267
+ }
13268
+ .ant-flex-justify-left {
13269
+ justify-content: left;
13270
+ }
13271
+ .ant-flex-justify-stretch {
13272
+ justify-content: stretch;
13273
+ }
13274
+ .ant-flex-justify-normal {
13275
+ justify-content: normal;
13276
+ }
13277
+ .ant-flex-align-flex-start {
13278
+ align-items: flex-start;
13279
+ }
13280
+ .ant-flex-align-center {
13281
+ align-items: center;
13282
+ }
13283
+ .ant-flex-align-flex-end {
13284
+ align-items: flex-end;
13285
+ }
13286
+ .ant-flex-align-start {
13287
+ align-items: start;
13288
+ }
13289
+ .ant-flex-align-end {
13290
+ align-items: end;
13291
+ }
13292
+ .ant-flex-align-stretch {
13293
+ align-items: stretch;
13294
+ }
13295
+ .ant-flex-align-normal {
13296
+ align-items: normal;
13297
+ }
13298
+ .ant-flex-wrap-wrap {
13299
+ flex-wrap: wrap;
13300
+ }
13301
+ .ant-flex-wrap-nowrap {
13302
+ flex-wrap: nowrap;
13303
+ }
13304
+ .ant-flex-wrap-wrap-reverse {
13305
+ flex-wrap: wrap-reverse;
13306
+ }
13235
13307
  .ant-input-affix-wrapper {
13236
13308
  position: relative;
13237
13309
  display: inline-block;
@@ -24228,6 +24300,10 @@ cdk-virtual-scroll-viewport.ant-table-body {
24228
24300
  .ant-tabs-dropdown-menu-item a[nz-tab-link] {
24229
24301
  position: relative;
24230
24302
  }
24303
+ .ant-tabs-tab-btn {
24304
+ border: none;
24305
+ background-color: unset;
24306
+ }
24231
24307
  .ant-tabs-tab a[nz-tab-link]::before {
24232
24308
  position: absolute;
24233
24309
  top: 0;
@@ -24842,7 +24918,7 @@ nz-tabs-nav {
24842
24918
  pointer-events: none;
24843
24919
  }
24844
24920
  .ant-tooltip-arrow-content {
24845
- --antd-arrow-background-color: linear-gradient(to right bottom, rgba(67, 67, 67, 0.9), #434343);
24921
+ --antd-arrow-background-color: var(--color, linear-gradient(to right bottom, rgba(67, 67, 67, 0.9), #434343));
24846
24922
  position: absolute;
24847
24923
  top: 0;
24848
24924
  right: 0;
@@ -28354,6 +28430,7 @@ nz-space-item {
28354
28430
  color: rgba(0, 0, 0, 0.85);
28355
28431
  }
28356
28432
  .ant-water-mark {
28433
+ display: block;
28357
28434
  position: relative;
28358
28435
  }
28359
28436
  .ant-color-picker {
@@ -28408,7 +28485,7 @@ nz-space-item {
28408
28485
  }
28409
28486
  .ant-color-picker-slider {
28410
28487
  width: 100%;
28411
- margin-bottom: 12px;
28488
+ border-radius: 2px;
28412
28489
  }
28413
28490
  .ant-color-picker-slider .ant-color-picker-palette {
28414
28491
  height: 8px;
@@ -28416,6 +28493,9 @@ nz-space-item {
28416
28493
  .ant-color-picker-slider .ant-color-picker-gradient {
28417
28494
  border-radius: 2px;
28418
28495
  }
28496
+ .ant-color-picker-slider-hue {
28497
+ margin-bottom: 12px;
28498
+ }
28419
28499
  .ant-color-picker-slider-alpha {
28420
28500
  background-image: conic-gradient(rgba(0, 0, 0, 0.06) 0 25%, transparent 0 50%, rgba(0, 0, 0, 0.06) 0 75%, transparent 0);
28421
28501
  background-size: 8px 8px;
@@ -28454,7 +28534,6 @@ nz-space-item {
28454
28534
  position: relative;
28455
28535
  width: 28px;
28456
28536
  height: 28px;
28457
- margin-left: 8px;
28458
28537
  background-image: conic-gradient(rgba(0, 0, 0, 0.06) 0 25%, transparent 0 50%, rgba(0, 0, 0, 0.06) 0 75%, transparent 0);
28459
28538
  background-size: 50% 50%;
28460
28539
  overflow: hidden;
@@ -28468,6 +28547,8 @@ nz-space-item {
28468
28547
  }
28469
28548
  .ant-color-picker-slider-container {
28470
28549
  display: flex;
28550
+ gap: 12px;
28551
+ margin-bottom: 12px;
28471
28552
  }
28472
28553
  .ant-color-picker-slider-container .ant-color-picker-slider-group {
28473
28554
  flex: 1;
@@ -28552,10 +28633,11 @@ nz-space-item {
28552
28633
  align-items: center;
28553
28634
  }
28554
28635
  .ant-color-picker-input-container .ant-color-picker-steppers {
28555
- flex: 0 0 44px;
28636
+ flex: 1;
28556
28637
  }
28557
28638
  .ant-color-picker-input-container .ant-color-picker-alpha-input {
28558
28639
  flex: 0 0 44px;
28640
+ margin-left: 4px;
28559
28641
  }
28560
28642
  .ant-color-picker-disabled {
28561
28643
  color: rgba(255, 255, 255, 0.3);