@delon/theme 16.3.0 → 16.4.1

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 (53) hide show
  1. package/compact.css +300 -54
  2. package/compact.min.css +1 -1
  3. package/dark.css +301 -55
  4. package/dark.min.css +1 -1
  5. package/default.css +300 -54
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +4 -4
  8. package/esm2022/layout-default/layout-header-item.component.mjs +4 -4
  9. package/esm2022/layout-default/layout-header.component.mjs +4 -4
  10. package/esm2022/layout-default/layout-nav.component.mjs +4 -4
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +4 -4
  12. package/esm2022/layout-default/layout.component.mjs +4 -4
  13. package/esm2022/layout-default/layout.module.mjs +5 -5
  14. package/esm2022/layout-default/layout.service.mjs +4 -4
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +4 -4
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +4 -4
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +5 -5
  18. package/esm2022/src/locale/locale.module.mjs +5 -5
  19. package/esm2022/src/locale/locale.service.mjs +4 -4
  20. package/esm2022/src/pipes/date/date.pipe.mjs +4 -4
  21. package/esm2022/src/pipes/keys/keys.pipe.mjs +4 -4
  22. package/esm2022/src/pipes/safe/html.pipe.mjs +4 -4
  23. package/esm2022/src/pipes/safe/url.pipe.mjs +4 -4
  24. package/esm2022/src/pipes/yn/yn.pipe.mjs +4 -4
  25. package/esm2022/src/services/drawer/drawer.helper.mjs +4 -4
  26. package/esm2022/src/services/http/http.client.mjs +4 -4
  27. package/esm2022/src/services/http/http.decorator.mjs +4 -4
  28. package/esm2022/src/services/i18n/i18n-url.guard.mjs +10 -6
  29. package/esm2022/src/services/i18n/i18n.mjs +7 -7
  30. package/esm2022/src/services/i18n/i18n.pipe.mjs +4 -4
  31. package/esm2022/src/services/menu/menu.service.mjs +4 -4
  32. package/esm2022/src/services/modal/modal.helper.mjs +4 -4
  33. package/esm2022/src/services/responsive/responsive.mjs +4 -4
  34. package/esm2022/src/services/rtl/rtl.service.mjs +4 -4
  35. package/esm2022/src/services/settings/settings.service.mjs +4 -4
  36. package/esm2022/src/services/title/title.service.mjs +4 -4
  37. package/esm2022/src/theme.module.mjs +5 -5
  38. package/esm2022/src/version.mjs +1 -1
  39. package/esm2022/theme-btn/theme-btn.component.mjs +4 -4
  40. package/esm2022/theme-btn/theme-btn.module.mjs +5 -5
  41. package/fesm2022/layout-default.mjs +25 -25
  42. package/fesm2022/layout-default.mjs.map +1 -1
  43. package/fesm2022/setting-drawer.mjs +10 -10
  44. package/fesm2022/setting-drawer.mjs.map +1 -1
  45. package/fesm2022/theme-btn.mjs +7 -7
  46. package/fesm2022/theme-btn.mjs.map +1 -1
  47. package/fesm2022/theme.mjs +72 -68
  48. package/fesm2022/theme.mjs.map +1 -1
  49. package/layout-default/style/_aside.less +1 -2
  50. package/package.json +4 -4
  51. package/src/services/i18n/i18n-url.guard.d.ts +6 -2
  52. package/system/antd/_tag.less +13 -0
  53. package/system/utils/_scrollbar.less +2 -4
package/default.css CHANGED
@@ -2,6 +2,7 @@
2
2
  /* stylelint-disable no-duplicate-selectors */
3
3
  /* stylelint-disable */
4
4
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
+ @import '~@angular/cdk/overlay-prebuilt.css';
5
6
  [class^=ant-]::-ms-clear,
6
7
  [class*= ant-]::-ms-clear,
7
8
  [class^=ant-] input::-ms-clear,
@@ -1596,15 +1597,6 @@ html {
1596
1597
  /* stylelint-disable no-duplicate-selectors */
1597
1598
  /* stylelint-disable */
1598
1599
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
1599
- .cdk-overlay-container {
1600
- pointer-events: none;
1601
- top: 0;
1602
- left: 0;
1603
- height: 100%;
1604
- width: 100%;
1605
- position: fixed;
1606
- z-index: 1000;
1607
- }
1608
1600
  .cdk-visually-hidden {
1609
1601
  border: 0;
1610
1602
  clip: rect(0 0 0 0);
@@ -1618,42 +1610,6 @@ html {
1618
1610
  -webkit-appearance: none;
1619
1611
  -moz-appearance: none;
1620
1612
  }
1621
- .cdk-overlay-backdrop {
1622
- top: 0;
1623
- bottom: 0;
1624
- left: 0;
1625
- right: 0;
1626
- -webkit-tap-highlight-color: transparent;
1627
- transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
1628
- opacity: 0;
1629
- position: absolute;
1630
- pointer-events: auto;
1631
- z-index: 1000;
1632
- }
1633
- .cdk-overlay-backdrop.ant-modal-mask {
1634
- opacity: 1;
1635
- }
1636
- .cdk-overlay-pane {
1637
- position: absolute;
1638
- pointer-events: auto;
1639
- z-index: 1000;
1640
- }
1641
- .cdk-overlay-connected-position-bounding-box {
1642
- position: absolute;
1643
- z-index: 1000;
1644
- display: flex;
1645
- flex-direction: column;
1646
- min-width: 1px;
1647
- min-height: 1px;
1648
- }
1649
- .cdk-global-scrollblock {
1650
- position: fixed;
1651
- width: 100%;
1652
- overflow-y: scroll;
1653
- }
1654
- .cdk-global-scrollblock body {
1655
- overflow-x: visible;
1656
- }
1657
1613
  .nz-overlay-transparent-backdrop,
1658
1614
  .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
1659
1615
  opacity: 0;
@@ -5964,6 +5920,14 @@ textarea.ant-picker-input > input {
5964
5920
  .ant-picker-input > input-rtl {
5965
5921
  direction: rtl;
5966
5922
  }
5923
+ .ant-picker-input > input-stepperless[type='number'] {
5924
+ -moz-appearance: textfield;
5925
+ }
5926
+ .ant-picker-input > input-stepperless[type='number']::-webkit-inner-spin-button,
5927
+ .ant-picker-input > input-stepperless[type='number'] ::-webkit-outer-spin-button {
5928
+ -webkit-appearance: none;
5929
+ margin: 0;
5930
+ }
5967
5931
  .ant-picker-input > input:focus {
5968
5932
  box-shadow: none;
5969
5933
  }
@@ -13118,6 +13082,14 @@ textarea.ant-input-affix-wrapper {
13118
13082
  .ant-input-affix-wrapper-rtl {
13119
13083
  direction: rtl;
13120
13084
  }
13085
+ .ant-input-affix-wrapper-stepperless[type='number'] {
13086
+ -moz-appearance: textfield;
13087
+ }
13088
+ .ant-input-affix-wrapper-stepperless[type='number']::-webkit-inner-spin-button,
13089
+ .ant-input-affix-wrapper-stepperless[type='number'] ::-webkit-outer-spin-button {
13090
+ -webkit-appearance: none;
13091
+ margin: 0;
13092
+ }
13121
13093
  .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
13122
13094
  border-color: #40a9ff;
13123
13095
  border-right-width: 1px;
@@ -13398,6 +13370,14 @@ textarea.ant-input {
13398
13370
  .ant-input-rtl {
13399
13371
  direction: rtl;
13400
13372
  }
13373
+ .ant-input-stepperless[type='number'] {
13374
+ -moz-appearance: textfield;
13375
+ }
13376
+ .ant-input-stepperless[type='number']::-webkit-inner-spin-button,
13377
+ .ant-input-stepperless[type='number'] ::-webkit-outer-spin-button {
13378
+ -webkit-appearance: none;
13379
+ margin: 0;
13380
+ }
13401
13381
  .ant-input-group {
13402
13382
  box-sizing: border-box;
13403
13383
  margin: 0;
@@ -14052,6 +14032,14 @@ textarea.ant-input-number-affix-wrapper {
14052
14032
  .ant-input-number-affix-wrapper-rtl {
14053
14033
  direction: rtl;
14054
14034
  }
14035
+ .ant-input-number-affix-wrapper-stepperless[type='number'] {
14036
+ -moz-appearance: textfield;
14037
+ }
14038
+ .ant-input-number-affix-wrapper-stepperless[type='number']::-webkit-inner-spin-button,
14039
+ .ant-input-number-affix-wrapper-stepperless[type='number'] ::-webkit-outer-spin-button {
14040
+ -webkit-appearance: none;
14041
+ margin: 0;
14042
+ }
14055
14043
  .ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover {
14056
14044
  border-color: #40a9ff;
14057
14045
  border-right-width: 1px;
@@ -14295,6 +14283,14 @@ textarea.ant-input-number {
14295
14283
  .ant-input-number-rtl {
14296
14284
  direction: rtl;
14297
14285
  }
14286
+ .ant-input-number-stepperless[type='number'] {
14287
+ -moz-appearance: textfield;
14288
+ }
14289
+ .ant-input-number-stepperless[type='number']::-webkit-inner-spin-button,
14290
+ .ant-input-number-stepperless[type='number'] ::-webkit-outer-spin-button {
14291
+ -webkit-appearance: none;
14292
+ margin: 0;
14293
+ }
14298
14294
  .ant-input-number-group {
14299
14295
  box-sizing: border-box;
14300
14296
  margin: 0;
@@ -17043,6 +17039,14 @@ textarea.ant-mentions {
17043
17039
  .ant-mentions-rtl {
17044
17040
  direction: rtl;
17045
17041
  }
17042
+ .ant-mentions-stepperless[type='number'] {
17043
+ -moz-appearance: textfield;
17044
+ }
17045
+ .ant-mentions-stepperless[type='number']::-webkit-inner-spin-button,
17046
+ .ant-mentions-stepperless[type='number'] ::-webkit-outer-spin-button {
17047
+ -webkit-appearance: none;
17048
+ margin: 0;
17049
+ }
17046
17050
  .ant-mentions-disabled > textarea {
17047
17051
  background-color: #f5f5f5;
17048
17052
  border-color: #d9d9d9;
@@ -18402,6 +18406,14 @@ textarea.ant-pagination-options-quick-jumper input {
18402
18406
  .ant-pagination-options-quick-jumper input-rtl {
18403
18407
  direction: rtl;
18404
18408
  }
18409
+ .ant-pagination-options-quick-jumper input-stepperless[type='number'] {
18410
+ -moz-appearance: textfield;
18411
+ }
18412
+ .ant-pagination-options-quick-jumper input-stepperless[type='number']::-webkit-inner-spin-button,
18413
+ .ant-pagination-options-quick-jumper input-stepperless[type='number'] ::-webkit-outer-spin-button {
18414
+ -webkit-appearance: none;
18415
+ margin: 0;
18416
+ }
18405
18417
  .ant-pagination-simple .ant-pagination-prev,
18406
18418
  .ant-pagination-simple .ant-pagination-next {
18407
18419
  height: 24px;
@@ -27681,7 +27693,6 @@ nz-space-item {
27681
27693
  .ant-qrcode {
27682
27694
  display: inline-block;
27683
27695
  position: relative;
27684
- background-color: #fff;
27685
27696
  padding: 12px;
27686
27697
  }
27687
27698
  .ant-qrcode > canvas {
@@ -27711,6 +27722,234 @@ nz-space-item {
27711
27722
  .ant-water-mark {
27712
27723
  position: relative;
27713
27724
  }
27725
+ .ant-color-picker {
27726
+ position: absolute;
27727
+ z-index: 1;
27728
+ display: block;
27729
+ width: max-content;
27730
+ min-width: 250px;
27731
+ visibility: visible;
27732
+ }
27733
+ .ant-color-picker-hidden {
27734
+ display: none;
27735
+ }
27736
+ .ant-color-picker-panel {
27737
+ display: flex;
27738
+ flex-direction: column;
27739
+ width: 250px;
27740
+ border-radius: 2px;
27741
+ }
27742
+ .ant-color-picker-panel-disabled {
27743
+ cursor: not-allowed;
27744
+ }
27745
+ .ant-color-picker-select {
27746
+ margin-bottom: 12px;
27747
+ }
27748
+ .ant-color-picker-select .ant-color-picker-palette {
27749
+ min-height: 160px;
27750
+ overflow: hidden;
27751
+ border-radius: 2px;
27752
+ }
27753
+ .ant-color-picker-select .ant-color-picker-palette > .ant-color-picker-gradient {
27754
+ border-top-left-radius: 5px;
27755
+ }
27756
+ .ant-color-picker-saturation {
27757
+ position: absolute;
27758
+ border-radius: inherit;
27759
+ top: 0;
27760
+ left: 0;
27761
+ right: 0;
27762
+ bottom: 0;
27763
+ }
27764
+ .ant-color-picker-handler {
27765
+ box-sizing: border-box;
27766
+ width: 16px;
27767
+ height: 16px;
27768
+ border: 1px solid #fff;
27769
+ border-radius: 50%;
27770
+ }
27771
+ .ant-color-picker-handler-sm {
27772
+ width: 12px;
27773
+ height: 12px;
27774
+ }
27775
+ .ant-color-picker-slider {
27776
+ width: 100%;
27777
+ margin-bottom: 12px;
27778
+ }
27779
+ .ant-color-picker-slider .ant-color-picker-palette {
27780
+ height: 8px;
27781
+ }
27782
+ .ant-color-picker-slider .ant-color-picker-gradient {
27783
+ border-radius: 2px;
27784
+ }
27785
+ .ant-color-picker-slider-alpha {
27786
+ 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);
27787
+ background-size: 8px 8px;
27788
+ }
27789
+ .ant-color-picker-trigger {
27790
+ min-width: 32px;
27791
+ height: 32px;
27792
+ border-radius: 2px;
27793
+ border: 1px solid #f0f0f0;
27794
+ cursor: pointer;
27795
+ display: flex;
27796
+ align-items: center;
27797
+ justify-content: center;
27798
+ transition: all 0.2s;
27799
+ padding: 3px;
27800
+ }
27801
+ .ant-color-picker-trigger:hover {
27802
+ border-color: #1890ff;
27803
+ }
27804
+ .ant-color-picker-trigger-text {
27805
+ margin: 0 4px 0 8px;
27806
+ font-size: 14px;
27807
+ }
27808
+ .ant-color-picker-sm {
27809
+ min-width: 24px;
27810
+ height: 24px;
27811
+ }
27812
+ .ant-color-picker-lg {
27813
+ min-width: 40px;
27814
+ height: 40px;
27815
+ }
27816
+ .ant-color-picker-lg .ant-color-picker-trigger-text {
27817
+ font-size: 16px;
27818
+ }
27819
+ .ant-color-picker-color-block {
27820
+ position: relative;
27821
+ width: 28px;
27822
+ height: 28px;
27823
+ margin-left: 8px;
27824
+ 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);
27825
+ background-size: 50% 50%;
27826
+ overflow: hidden;
27827
+ border-radius: 2px;
27828
+ }
27829
+ .ant-color-picker-color-block-inner {
27830
+ box-sizing: border-box;
27831
+ width: 100%;
27832
+ height: 100%;
27833
+ border: 1px solid #f0f0f0;
27834
+ }
27835
+ .ant-color-picker-slider-container {
27836
+ display: flex;
27837
+ }
27838
+ .ant-color-picker-slider-container .ant-color-picker-slider-group {
27839
+ flex: 1;
27840
+ }
27841
+ .ant-color-picker-slider-container .ant-color-picker-slider-group-disabled-alpha {
27842
+ display: flex;
27843
+ align-items: center;
27844
+ }
27845
+ .ant-color-picker-slider-container .ant-color-picker-slider-group-disabled-alpha .ant-color-picker-slider {
27846
+ margin-bottom: 0;
27847
+ }
27848
+ .ant-color-picker-title {
27849
+ display: flex;
27850
+ }
27851
+ .ant-color-picker-title-content {
27852
+ flex: 1;
27853
+ margin-bottom: 8px;
27854
+ }
27855
+ .ant-color-picker-title .ant-color-picker-clear {
27856
+ flex: 0 0 18px;
27857
+ margin-left: 8px;
27858
+ }
27859
+ .ant-color-picker-clear {
27860
+ width: 18px;
27861
+ height: 18px;
27862
+ border-radius: 2px;
27863
+ border: 1px solid #f0f0f0;
27864
+ position: relative;
27865
+ cursor: pointer;
27866
+ overflow: hidden;
27867
+ margin-bottom: 8px;
27868
+ }
27869
+ .ant-color-picker-clear::after {
27870
+ content: "";
27871
+ position: absolute;
27872
+ inset-inline-end: 1px;
27873
+ top: 0;
27874
+ display: block;
27875
+ width: 40px;
27876
+ height: 2px;
27877
+ transform-origin: right;
27878
+ transform: rotate(-45deg);
27879
+ background-color: #f5222d;
27880
+ }
27881
+ .ant-color-picker-input-container {
27882
+ display: flex;
27883
+ }
27884
+ .ant-color-picker-input-container .ant-select {
27885
+ font-size: 12px;
27886
+ }
27887
+ .ant-color-picker-input-container .ant-input {
27888
+ font-size: 12px;
27889
+ }
27890
+ .ant-color-picker-input-container .ant-input-number {
27891
+ font-size: 12px;
27892
+ width: auto;
27893
+ }
27894
+ .ant-color-picker-input-container .ant-input-number-sm input {
27895
+ padding: 0 0 0 4px;
27896
+ }
27897
+ .ant-color-picker-input-container .ant-select-selector {
27898
+ padding: 0;
27899
+ }
27900
+ .ant-color-picker-input-container .ant-color-picker-format-select {
27901
+ width: auto;
27902
+ }
27903
+ .ant-color-picker-input-container .ant-color-picker-input {
27904
+ flex: 1;
27905
+ }
27906
+ .ant-color-picker-input-container .ant-color-picker-input .ant-color-picker-hex-input {
27907
+ padding: 0;
27908
+ margin-right: 4px;
27909
+ }
27910
+ .ant-color-picker-input-container .ant-color-picker-input .ant-color-picker-hsb-input {
27911
+ display: flex;
27912
+ gap: 4px;
27913
+ align-items: center;
27914
+ }
27915
+ .ant-color-picker-input-container .ant-color-picker-input .ant-color-picker-rgb-input {
27916
+ display: flex;
27917
+ gap: 4px;
27918
+ align-items: center;
27919
+ }
27920
+ .ant-color-picker-input-container .ant-color-picker-steppers {
27921
+ flex: 0 0 44px;
27922
+ }
27923
+ .ant-color-picker-input-container .ant-color-picker-alpha-input {
27924
+ flex: 0 0 44px;
27925
+ }
27926
+ .ant-color-picker-disabled {
27927
+ color: rgba(0, 0, 0, 0.25);
27928
+ background: #f5f5f5;
27929
+ cursor: not-allowed;
27930
+ }
27931
+ .ant-color-picker-disabled .ant-color-picker-trigger {
27932
+ cursor: not-allowed;
27933
+ }
27934
+ .ant-color-picker-disabled .ant-color-picker-trigger:hover {
27935
+ border-color: #f0f0f0;
27936
+ }
27937
+ .ant-color-picker-inline {
27938
+ display: inline-block;
27939
+ }
27940
+ .ant-color-picker-inline .ant-color-picker-color-block {
27941
+ margin: 0;
27942
+ width: 24px;
27943
+ height: 24px;
27944
+ }
27945
+ .ant-color-picker-inline-lg .ant-color-picker-color-block {
27946
+ width: 32px;
27947
+ height: 32px;
27948
+ }
27949
+ .ant-color-picker-inline-sm .ant-color-picker-color-block {
27950
+ width: 16px;
27951
+ height: 16px;
27952
+ }
27714
27953
  sf + st {
27715
27954
  margin-top: 16px;
27716
27955
  }
@@ -28093,6 +28332,17 @@ a:focus {
28093
28332
  background: #fff;
28094
28333
  border-style: dashed;
28095
28334
  }
28335
+ /**
28336
+ * Corrected `ng-tag` list line wrapping spacing
28337
+ *
28338
+ * 纠正 `ng-tag` 列表换行间距问题
28339
+ */
28340
+ .tag-wrap-list-spacing {
28341
+ margin-top: -8px;
28342
+ }
28343
+ .tag-wrap-list-spacing .ant-tag {
28344
+ margin-top: 8px;
28345
+ }
28096
28346
  .h1 small,
28097
28347
  .h2 small,
28098
28348
  .h3 small,
@@ -31467,12 +31717,10 @@ code {
31467
31717
  overflow: auto;
31468
31718
  }
31469
31719
  .scrollbar-x {
31470
- overflow-x: auto;
31471
- overflow-y: hidden;
31720
+ overflow: auto hidden;
31472
31721
  }
31473
31722
  .scrollbar-y {
31474
- overflow-x: hidden;
31475
- overflow-y: auto;
31723
+ overflow: hidden auto;
31476
31724
  }
31477
31725
  body,
31478
31726
  .scrollbar,
@@ -31819,8 +32067,7 @@ body {
31819
32067
  }
31820
32068
  .alain-default__aside-inner {
31821
32069
  flex: 1 1 0%;
31822
- overflow-x: hidden;
31823
- overflow-y: scroll;
32070
+ overflow-x: hidden scroll;
31824
32071
  -webkit-overflow-scrolling: touch;
31825
32072
  scroll-snap-type: proximity;
31826
32073
  scroll-snap-points-x: snaplist(100%, 200%, 300%, 400%, 500%);
@@ -32360,8 +32607,7 @@ body {
32360
32607
  right: 0;
32361
32608
  bottom: 0;
32362
32609
  display: flex;
32363
- align-items: center;
32364
- justify-items: center;
32610
+ place-items: center center;
32365
32611
  }
32366
32612
  .st__has-filter .ant-table-filter-trigger {
32367
32613
  height: 100%;