@uzum-tech/ui 1.5.2 → 1.5.3

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 (170) hide show
  1. package/README.md +0 -1
  2. package/dist/index.js +1030 -564
  3. package/dist/index.prod.js +3 -3
  4. package/es/_internal/checkbox/src/use-checkbox.js +3 -3
  5. package/es/_internal/radio/src/use-radio.js +3 -3
  6. package/es/_mixins/use-form-item.d.ts +4 -4
  7. package/es/_mixins/use-form-item.js +4 -4
  8. package/es/_styles/common/dark.js +1 -1
  9. package/es/_styles/common/light.d.ts +3 -0
  10. package/es/_styles/common/light.js +1 -1
  11. package/es/_utils/composable/composables.d.ts +11 -0
  12. package/es/_utils/composable/composables.js +40 -0
  13. package/es/_utils/index.d.ts +1 -1
  14. package/es/_utils/index.js +1 -1
  15. package/es/_utils/uzum/index.d.ts +1 -0
  16. package/es/_utils/uzum/index.js +1 -0
  17. package/es/_utils/uzum/value.d.ts +1 -0
  18. package/es/_utils/uzum/value.js +9 -0
  19. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  20. package/es/alert/styles/light.js +6 -6
  21. package/es/auto-complete/src/AutoComplete.js +10 -10
  22. package/es/avatar/src/Avatar.d.ts +6 -0
  23. package/es/avatar/src/Avatar.js +9 -3
  24. package/es/card-list/src/CardList.js +1 -1
  25. package/es/card-list/src/CardListItem.d.ts +13 -0
  26. package/es/card-list/src/CardListItem.js +11 -4
  27. package/es/card-list/src/interface.d.ts +1 -0
  28. package/es/card-list/src/styles/index.cssr.js +6 -6
  29. package/es/card-list/styles/light.js +2 -2
  30. package/es/cascader/src/Cascader.js +7 -7
  31. package/es/checkbox/src/CheckboxGroup.js +9 -9
  32. package/es/color-picker/src/ColorPicker.js +6 -6
  33. package/es/components.d.ts +1 -0
  34. package/es/components.js +1 -0
  35. package/es/config-provider/src/internal-interface.d.ts +2 -0
  36. package/es/data-table/src/DataTable.d.ts +5 -0
  37. package/es/data-table/src/DataTable.js +20 -10
  38. package/es/data-table/src/TableParts/Body.js +3 -2
  39. package/es/data-table/src/TableParts/Cell.js +85 -23
  40. package/es/data-table/src/interface.d.ts +11 -6
  41. package/es/data-table/src/styles/index.cssr.js +5 -3
  42. package/es/data-table/src/use-mask.d.ts +3 -6
  43. package/es/data-table/src/utils.d.ts +2 -1
  44. package/es/data-table/src/utils.js +13 -0
  45. package/es/date-picker/src/DatePicker.js +7 -7
  46. package/es/dialog/src/DialogProvider.d.ts +6 -0
  47. package/es/dynamic-tags/src/DynamicTags.js +3 -3
  48. package/es/input/src/Input.js +8 -8
  49. package/es/input-number/src/InputNumber.js +7 -7
  50. package/es/input-otp/index.d.ts +3 -0
  51. package/es/input-otp/index.js +1 -0
  52. package/es/input-otp/src/InputOtp.d.ts +871 -0
  53. package/es/input-otp/src/InputOtp.js +250 -0
  54. package/es/input-otp/src/public-types.d.ts +25 -0
  55. package/es/input-otp/src/public-types.js +1 -0
  56. package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
  57. package/es/input-otp/src/styles/index.cssr.js +20 -0
  58. package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  59. package/es/input-otp/src/styles/input-otp-rtl.cssr.js +5 -0
  60. package/es/input-otp/styles/dark.d.ts +3 -0
  61. package/es/input-otp/styles/dark.js +12 -0
  62. package/es/input-otp/styles/index.d.ts +4 -0
  63. package/es/input-otp/styles/index.js +3 -0
  64. package/es/input-otp/styles/light.d.ts +83 -0
  65. package/es/input-otp/styles/light.js +22 -0
  66. package/es/input-otp/styles/rtl.d.ts +2 -0
  67. package/es/input-otp/styles/rtl.js +5 -0
  68. package/es/legacy-transfer/src/Transfer.js +3 -3
  69. package/es/list/src/ListItem.js +8 -4
  70. package/es/mention/src/Mention.js +7 -7
  71. package/es/radio/src/RadioGroup.js +5 -5
  72. package/es/rate/src/Rate.js +3 -3
  73. package/es/select/src/Select.js +7 -7
  74. package/es/slider/src/Slider.js +3 -3
  75. package/es/styles.d.ts +1 -0
  76. package/es/styles.js +1 -0
  77. package/es/switch/src/Switch.js +7 -7
  78. package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
  79. package/es/themes/dark.js +2 -0
  80. package/es/themes/light.js +2 -0
  81. package/es/time-picker/src/TimePicker.js +7 -7
  82. package/es/transfer/src/Transfer.js +3 -3
  83. package/es/tree-select/src/TreeSelect.js +5 -5
  84. package/es/version.d.ts +1 -1
  85. package/es/version.js +1 -1
  86. package/lib/_internal/checkbox/src/use-checkbox.js +3 -3
  87. package/lib/_internal/radio/src/use-radio.js +3 -3
  88. package/lib/_mixins/use-form-item.d.ts +4 -4
  89. package/lib/_mixins/use-form-item.js +4 -4
  90. package/lib/_styles/common/dark.js +1 -1
  91. package/lib/_styles/common/light.d.ts +3 -0
  92. package/lib/_styles/common/light.js +1 -1
  93. package/lib/_utils/composable/composables.d.ts +11 -0
  94. package/lib/_utils/composable/composables.js +47 -0
  95. package/lib/_utils/index.d.ts +1 -1
  96. package/lib/_utils/index.js +2 -1
  97. package/lib/_utils/uzum/index.d.ts +1 -0
  98. package/lib/_utils/uzum/index.js +3 -1
  99. package/lib/_utils/uzum/value.d.ts +1 -0
  100. package/lib/_utils/uzum/value.js +12 -0
  101. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  102. package/lib/alert/styles/light.js +6 -6
  103. package/lib/auto-complete/src/AutoComplete.js +10 -10
  104. package/lib/avatar/src/Avatar.d.ts +6 -0
  105. package/lib/avatar/src/Avatar.js +9 -3
  106. package/lib/card-list/src/CardList.js +1 -1
  107. package/lib/card-list/src/CardListItem.d.ts +13 -0
  108. package/lib/card-list/src/CardListItem.js +11 -4
  109. package/lib/card-list/src/interface.d.ts +1 -0
  110. package/lib/card-list/src/styles/index.cssr.js +5 -5
  111. package/lib/card-list/styles/light.js +2 -2
  112. package/lib/cascader/src/Cascader.js +7 -7
  113. package/lib/checkbox/src/CheckboxGroup.js +9 -9
  114. package/lib/color-picker/src/ColorPicker.js +6 -6
  115. package/lib/components.d.ts +1 -0
  116. package/lib/components.js +1 -0
  117. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  118. package/lib/data-table/src/DataTable.d.ts +5 -0
  119. package/lib/data-table/src/DataTable.js +20 -10
  120. package/lib/data-table/src/TableParts/Body.js +3 -2
  121. package/lib/data-table/src/TableParts/Cell.js +84 -22
  122. package/lib/data-table/src/interface.d.ts +11 -6
  123. package/lib/data-table/src/styles/index.cssr.js +5 -3
  124. package/lib/data-table/src/use-mask.d.ts +3 -6
  125. package/lib/data-table/src/utils.d.ts +2 -1
  126. package/lib/data-table/src/utils.js +14 -1
  127. package/lib/date-picker/src/DatePicker.js +7 -7
  128. package/lib/dialog/src/DialogProvider.d.ts +6 -0
  129. package/lib/dynamic-tags/src/DynamicTags.js +3 -3
  130. package/lib/input/src/Input.js +8 -8
  131. package/lib/input-number/src/InputNumber.js +7 -7
  132. package/lib/input-otp/index.d.ts +3 -0
  133. package/lib/input-otp/index.js +9 -0
  134. package/lib/input-otp/src/InputOtp.d.ts +871 -0
  135. package/lib/input-otp/src/InputOtp.js +256 -0
  136. package/lib/input-otp/src/public-types.d.ts +25 -0
  137. package/lib/input-otp/src/public-types.js +2 -0
  138. package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
  139. package/lib/input-otp/src/styles/index.cssr.js +25 -0
  140. package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  141. package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
  142. package/lib/input-otp/styles/dark.d.ts +3 -0
  143. package/lib/input-otp/styles/dark.js +14 -0
  144. package/lib/input-otp/styles/index.d.ts +4 -0
  145. package/lib/input-otp/styles/index.js +12 -0
  146. package/lib/input-otp/styles/light.d.ts +83 -0
  147. package/lib/input-otp/styles/light.js +25 -0
  148. package/lib/input-otp/styles/rtl.d.ts +2 -0
  149. package/lib/input-otp/styles/rtl.js +11 -0
  150. package/lib/legacy-transfer/src/Transfer.js +3 -3
  151. package/lib/list/src/ListItem.js +8 -4
  152. package/lib/mention/src/Mention.js +7 -7
  153. package/lib/radio/src/RadioGroup.js +5 -5
  154. package/lib/rate/src/Rate.js +3 -3
  155. package/lib/select/src/Select.js +7 -7
  156. package/lib/slider/src/Slider.js +3 -3
  157. package/lib/styles.d.ts +1 -0
  158. package/lib/styles.js +106 -103
  159. package/lib/switch/src/Switch.js +7 -7
  160. package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
  161. package/lib/themes/dark.js +2 -0
  162. package/lib/themes/light.js +2 -0
  163. package/lib/time-picker/src/TimePicker.js +7 -7
  164. package/lib/transfer/src/Transfer.js +3 -3
  165. package/lib/tree-select/src/TreeSelect.js +5 -5
  166. package/lib/version.d.ts +1 -1
  167. package/lib/version.js +1 -1
  168. package/package.json +1 -1
  169. package/volar.d.ts +1 -0
  170. package/web-types.json +119 -4
package/dist/index.js CHANGED
@@ -634,6 +634,13 @@
634
634
  }
635
635
  }
636
636
 
637
+ function isArrayShallowEqual(left, right) {
638
+ if (left === right) return true;
639
+ if (left === null || right === null) return false;
640
+ if (left.length !== right.length) return false;
641
+ return left.every((item, index) => item === right[index]);
642
+ }
643
+
637
644
  function getFirstSlotVNode(slots, slotName = "default", props = void 0) {
638
645
  const slot = slots[slotName];
639
646
  if (!slot) {
@@ -3405,7 +3412,7 @@
3405
3412
  }
3406
3413
 
3407
3414
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3408
- const style$1I = c([c('.v-binder-follower-container', {
3415
+ const style$1J = c([c('.v-binder-follower-container', {
3409
3416
  position: 'absolute',
3410
3417
  left: '0',
3411
3418
  right: '0',
@@ -3484,7 +3491,7 @@
3484
3491
  }
3485
3492
  });
3486
3493
  const ssrAdapter = useSsrAdapter();
3487
- style$1I.mount({
3494
+ style$1J.mount({
3488
3495
  id: 'vueuc/binder',
3489
3496
  head: true,
3490
3497
  anchorMetaName: cssrAnchorMetaName$1,
@@ -4768,7 +4775,7 @@
4768
4775
 
4769
4776
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
4770
4777
  const hiddenAttr = 'v-hidden';
4771
- const style$1H = c('[v-hidden]', {
4778
+ const style$1I = c('[v-hidden]', {
4772
4779
  display: 'none!important'
4773
4780
  });
4774
4781
  var VOverflow = vue.defineComponent({
@@ -4869,7 +4876,7 @@
4869
4876
  }
4870
4877
  }
4871
4878
  const ssrAdapter = useSsrAdapter();
4872
- style$1H.mount({
4879
+ style$1I.mount({
4873
4880
  id: 'vueuc/overflow',
4874
4881
  head: true,
4875
4882
  anchorMetaName: cssrAnchorMetaName$1,
@@ -5365,22 +5372,22 @@
5365
5372
  mergedSizeRef,
5366
5373
  mergedDisabledRef,
5367
5374
  mergedStatusRef,
5368
- nTriggerFormBlur() {
5375
+ triggerFormBlur() {
5369
5376
  if (UFormItem) {
5370
5377
  UFormItem.handleContentBlur();
5371
5378
  }
5372
5379
  },
5373
- nTriggerFormChange() {
5380
+ triggerFormChange() {
5374
5381
  if (UFormItem) {
5375
5382
  UFormItem.handleContentChange();
5376
5383
  }
5377
5384
  },
5378
- nTriggerFormFocus() {
5385
+ triggerFormFocus() {
5379
5386
  if (UFormItem) {
5380
5387
  UFormItem.handleContentFocus();
5381
5388
  }
5382
5389
  },
5383
- nTriggerFormInput() {
5390
+ triggerFormInput() {
5384
5391
  if (UFormItem) {
5385
5392
  UFormItem.handleContentInput();
5386
5393
  }
@@ -28396,7 +28403,7 @@
28396
28403
  };
28397
28404
  }
28398
28405
 
28399
- var style$1G = cB("affix", [cM("affixed", {
28406
+ var style$1H = cB("affix", [cM("affixed", {
28400
28407
  position: "fixed"
28401
28408
  }, [cM("absolute-positioned", {
28402
28409
  position: "absolute"
@@ -28456,7 +28463,7 @@
28456
28463
  props: affixProps,
28457
28464
  setup(props) {
28458
28465
  const { mergedClsPrefixRef } = useConfig(props);
28459
- useStyle("-affix", style$1G, mergedClsPrefixRef);
28466
+ useStyle("-affix", style$1H, mergedClsPrefixRef);
28460
28467
  let scrollTarget = null;
28461
28468
  const stickToTopRef = vue.ref(false);
28462
28469
  const stickToBottomRef = vue.ref(false);
@@ -29516,7 +29523,7 @@
29516
29523
  }
29517
29524
  });
29518
29525
 
29519
- var style$1F = cB("base-icon", `
29526
+ var style$1G = cB("base-icon", `
29520
29527
  height: 1em;
29521
29528
  width: 1em;
29522
29529
  line-height: 1em;
@@ -29552,7 +29559,7 @@
29552
29559
  onMouseup: Function
29553
29560
  },
29554
29561
  setup(props) {
29555
- useStyle("-base-icon", style$1F, vue.toRef(props, "clsPrefix"));
29562
+ useStyle("-base-icon", style$1G, vue.toRef(props, "clsPrefix"));
29556
29563
  },
29557
29564
  render() {
29558
29565
  return /* @__PURE__ */ vue.h(
@@ -29572,7 +29579,7 @@
29572
29579
  }
29573
29580
  });
29574
29581
 
29575
- var style$1E = cB("base-close", `
29582
+ var style$1F = cB("base-close", `
29576
29583
  display: flex;
29577
29584
  align-items: center;
29578
29585
  justify-content: center;
@@ -29644,7 +29651,7 @@
29644
29651
  absolute: Boolean
29645
29652
  },
29646
29653
  setup(props) {
29647
- useStyle("-base-close", style$1E, vue.toRef(props, "clsPrefix"));
29654
+ useStyle("-base-close", style$1F, vue.toRef(props, "clsPrefix"));
29648
29655
  return () => {
29649
29656
  const { clsPrefix, disabled, absolute, round, isButtonTag } = props;
29650
29657
  const Tag = isButtonTag ? "button" : "div";
@@ -29724,7 +29731,7 @@
29724
29731
  })];
29725
29732
  }
29726
29733
 
29727
- var style$1D = c$1([c$1("@keyframes loading-container-rotate", `
29734
+ var style$1E = c$1([c$1("@keyframes loading-container-rotate", `
29728
29735
  to {
29729
29736
  -webkit-transform: rotate(360deg);
29730
29737
  transform: rotate(360deg);
@@ -29894,7 +29901,7 @@
29894
29901
  ...exposedLoadingProps
29895
29902
  },
29896
29903
  setup(props) {
29897
- useStyle("-base-loading", style$1D, vue.toRef(props, "clsPrefix"));
29904
+ useStyle("-base-loading", style$1E, vue.toRef(props, "clsPrefix"));
29898
29905
  },
29899
29906
  render() {
29900
29907
  const { clsPrefix, radius, strokeWidth, stroke, scale } = this;
@@ -30012,6 +30019,9 @@
30012
30019
  scrollbarHeight: "5px",
30013
30020
  scrollbarBorderRadius: "5px",
30014
30021
  opacityDisabled: "0.5",
30022
+ brand150: "#FFF3D3",
30023
+ brand350: "#F1F9DF",
30024
+ brand550: "#FFF3F4",
30015
30025
  brandPrimary50: "#2B204E",
30016
30026
  brandPrimary100: "#412A89",
30017
30027
  brandPrimary200: "#6A40ED",
@@ -30079,6 +30089,9 @@
30079
30089
  scrollbarHeight: "5px",
30080
30090
  scrollbarBorderRadius: "5px",
30081
30091
  opacityDisabled: "0.5",
30092
+ brand150: "#FFF3D3",
30093
+ brand350: "#F1F9DF",
30094
+ brand550: "#FFF3F4",
30082
30095
  brandPrimary50: "#F8F2FF",
30083
30096
  brandPrimary100: "#EAE2FF",
30084
30097
  brandPrimary200: "#DACCFF",
@@ -30135,7 +30148,7 @@
30135
30148
  shadowDepth: "0px 8px 8px 0px rgba(0, 0, 0, 0.25)"
30136
30149
  };
30137
30150
 
30138
- const self$1m = vars => {
30151
+ const self$1n = vars => {
30139
30152
  const {
30140
30153
  heightSmall,
30141
30154
  heightMedium,
@@ -30156,10 +30169,10 @@
30156
30169
  const skeletonLight$1 = {
30157
30170
  name: "Skeleton",
30158
30171
  common: derived,
30159
- self: self$1m
30172
+ self: self$1n
30160
30173
  };
30161
30174
 
30162
- var style$1C = c$1([cB("skeleton", `
30175
+ var style$1D = c$1([cB("skeleton", `
30163
30176
  height: 1em;
30164
30177
  width: 100%;
30165
30178
  transition: background-color .3s var(--u-bezier);
@@ -30215,7 +30228,7 @@
30215
30228
  const themeRef = useTheme(
30216
30229
  "Skeleton",
30217
30230
  "-skeleton",
30218
- style$1C,
30231
+ style$1D,
30219
30232
  skeletonLight$1,
30220
30233
  props,
30221
30234
  mergedClsPrefixRef
@@ -30964,7 +30977,7 @@
30964
30977
  return treemate;
30965
30978
  }
30966
30979
 
30967
- const self$1l = vars => {
30980
+ const self$1m = vars => {
30968
30981
  const {
30969
30982
  fontBodyMedium,
30970
30983
  fontTitleLarge,
@@ -30997,16 +31010,16 @@
30997
31010
  const emptyLight = {
30998
31011
  name: "Empty",
30999
31012
  common: derived,
31000
- self: self$1l
31013
+ self: self$1m
31001
31014
  };
31002
31015
 
31003
31016
  const emptyDark$1 = {
31004
31017
  name: "Empty",
31005
31018
  common: derived$1,
31006
- self: self$1l
31019
+ self: self$1m
31007
31020
  };
31008
31021
 
31009
- var style$1B = cB("empty", `
31022
+ var style$1C = cB("empty", `
31010
31023
  display: flex;
31011
31024
  flex-direction: column;
31012
31025
  align-items: center;
@@ -31083,7 +31096,7 @@
31083
31096
  const themeRef = useTheme(
31084
31097
  "Empty",
31085
31098
  "-empty",
31086
- style$1B,
31099
+ style$1C,
31087
31100
  emptyLight,
31088
31101
  props,
31089
31102
  mergedClsPrefixRef
@@ -31171,7 +31184,7 @@
31171
31184
  }
31172
31185
  });
31173
31186
 
31174
- const self$1k = vars => {
31187
+ const self$1l = vars => {
31175
31188
  const {
31176
31189
  scrollbarColor,
31177
31190
  scrollbarColorHover
@@ -31184,16 +31197,16 @@
31184
31197
  const scrollbarLight = {
31185
31198
  name: "Scrollbar",
31186
31199
  common: derived,
31187
- self: self$1k
31200
+ self: self$1l
31188
31201
  };
31189
31202
 
31190
31203
  const scrollbarDark = {
31191
31204
  name: "Scrollbar",
31192
31205
  common: derived$1,
31193
- self: self$1k
31206
+ self: self$1l
31194
31207
  };
31195
31208
 
31196
- var rtlStyle$r = cB("scrollbar", [cM("rtl", `
31209
+ var rtlStyle$s = cB("scrollbar", [cM("rtl", `
31197
31210
  direction: rtl;
31198
31211
  `, [c$1(">", [cB("scrollbar-rail", [cM("horizontal", [c$1(">", [cE("scrollbar", `
31199
31212
  left: 0;
@@ -31205,7 +31218,7 @@
31205
31218
 
31206
31219
  const scrollbarRtl = {
31207
31220
  name: "Scrollbar",
31208
- style: rtlStyle$r
31221
+ style: rtlStyle$s
31209
31222
  };
31210
31223
 
31211
31224
  const {
@@ -31229,7 +31242,7 @@
31229
31242
  })];
31230
31243
  }
31231
31244
 
31232
- var style$1A = cB("scrollbar", `
31245
+ var style$1B = cB("scrollbar", `
31233
31246
  overflow: hidden;
31234
31247
  position: relative;
31235
31248
  z-index: auto;
@@ -31754,7 +31767,7 @@
31754
31767
  const themeRef = useTheme(
31755
31768
  "Scrollbar",
31756
31769
  "-scrollbar",
31757
- style$1A,
31770
+ style$1B,
31758
31771
  scrollbarLight,
31759
31772
  props,
31760
31773
  mergedClsPrefixRef
@@ -31956,7 +31969,7 @@
31956
31969
  });
31957
31970
  const XScrollbar = Scrollbar$1;
31958
31971
 
31959
- const self$1j = vars => {
31972
+ const self$1k = vars => {
31960
31973
  const {
31961
31974
  borderRadius,
31962
31975
  iconMedium,
@@ -32013,7 +32026,7 @@
32013
32026
  Scrollbar: scrollbarLight,
32014
32027
  Empty: emptyLight
32015
32028
  },
32016
- self: self$1j
32029
+ self: self$1k
32017
32030
  });
32018
32031
 
32019
32032
  const internalSelectMenuDark = {
@@ -32023,10 +32036,10 @@
32023
32036
  Scrollbar: scrollbarDark,
32024
32037
  Empty: emptyDark$1
32025
32038
  },
32026
- self: self$1j
32039
+ self: self$1k
32027
32040
  };
32028
32041
 
32029
- var style$1z = cB("base-account-option", `
32042
+ var style$1A = cB("base-account-option", `
32030
32043
  display: flex;
32031
32044
  align-items: center;
32032
32045
  position: relative;
@@ -32078,7 +32091,7 @@
32078
32091
  avatarSize: "16px"
32079
32092
  };
32080
32093
 
32081
- const self$1i = vars => {
32094
+ const self$1j = vars => {
32082
32095
  const {
32083
32096
  heightHuge,
32084
32097
  fontBodyLarge,
@@ -32108,13 +32121,13 @@
32108
32121
  const accountOptionLight = {
32109
32122
  name: "AccountOption",
32110
32123
  common: derived,
32111
- self: self$1i
32124
+ self: self$1j
32112
32125
  };
32113
32126
 
32114
32127
  const accountOptionDark = {
32115
32128
  name: "AccountOption",
32116
32129
  common: derived$1,
32117
- self: self$1i
32130
+ self: self$1j
32118
32131
  };
32119
32132
 
32120
32133
  var UBaseAccountOption = vue.defineComponent({
@@ -32132,7 +32145,7 @@
32132
32145
  const themeRef = useTheme(
32133
32146
  "AccountOption",
32134
32147
  "-base-account-option",
32135
- style$1z,
32148
+ style$1A,
32136
32149
  accountOptionLight,
32137
32150
  props,
32138
32151
  mergedClsPrefixRef
@@ -32436,7 +32449,7 @@
32436
32449
  })];
32437
32450
  }
32438
32451
 
32439
- var style$1y = cB("base-select-menu", `
32452
+ var style$1z = cB("base-select-menu", `
32440
32453
  line-height: 1.5;
32441
32454
  outline: none;
32442
32455
  z-index: 0;
@@ -32620,7 +32633,7 @@
32620
32633
  const themeRef = useTheme(
32621
32634
  "InternalSelectMenu",
32622
32635
  "-internal-select-menu",
32623
- style$1y,
32636
+ style$1z,
32624
32637
  internalSelectMenuLight,
32625
32638
  props,
32626
32639
  vue.toRef(props, "clsPrefix")
@@ -33057,7 +33070,7 @@
33057
33070
  }
33058
33071
  });
33059
33072
 
33060
- var style$1x = cB("base-wave", `
33073
+ var style$1y = cB("base-wave", `
33061
33074
  position: absolute;
33062
33075
  left: 0;
33063
33076
  right: 0;
@@ -33075,7 +33088,7 @@
33075
33088
  }
33076
33089
  },
33077
33090
  setup(props) {
33078
- useStyle("-base-wave", style$1x, vue.toRef(props, "clsPrefix"));
33091
+ useStyle("-base-wave", style$1y, vue.toRef(props, "clsPrefix"));
33079
33092
  const selfRef = vue.ref(null);
33080
33093
  const activeRef = vue.ref(false);
33081
33094
  let animationTimerId = null;
@@ -33120,7 +33133,7 @@
33120
33133
  }
33121
33134
  });
33122
33135
 
33123
- var style$1w = cB("base-menu-mask", `
33136
+ var style$1x = cB("base-menu-mask", `
33124
33137
  position: absolute;
33125
33138
  left: 0;
33126
33139
  right: 0;
@@ -33143,7 +33156,7 @@
33143
33156
  }
33144
33157
  },
33145
33158
  setup(props) {
33146
- useStyle("-base-menu-mask", style$1w, vue.toRef(props, "clsPrefix"));
33159
+ useStyle("-base-menu-mask", style$1x, vue.toRef(props, "clsPrefix"));
33147
33160
  const messageRef = vue.ref(null);
33148
33161
  let timerId = null;
33149
33162
  const uncontrolledShowRef = vue.ref(false);
@@ -33176,7 +33189,7 @@
33176
33189
  }
33177
33190
  });
33178
33191
 
33179
- const self$1h = vars => {
33192
+ const self$1i = vars => {
33180
33193
  const {
33181
33194
  fontBodyMedium,
33182
33195
  containerPrimary,
@@ -33203,13 +33216,13 @@
33203
33216
  const popoverLight = {
33204
33217
  name: "Popover",
33205
33218
  common: derived,
33206
- self: self$1h
33219
+ self: self$1i
33207
33220
  };
33208
33221
 
33209
33222
  const popoverDark = {
33210
33223
  name: "Popover",
33211
33224
  common: derived$1,
33212
- self: self$1h
33225
+ self: self$1i
33213
33226
  };
33214
33227
 
33215
33228
  const oppositePlacement = {
@@ -33219,7 +33232,7 @@
33219
33232
  right: "left"
33220
33233
  };
33221
33234
  const arrowSize = "var(--u-arrow-height) * 1.414";
33222
- var style$1v = c$1([cB("popover", `
33235
+ var style$1w = c$1([cB("popover", `
33223
33236
  transition:
33224
33237
  box-shadow .3s var(--u-bezier),
33225
33238
  background-color .3s var(--u-bezier),
@@ -33410,7 +33423,7 @@
33410
33423
  const themeRef = useTheme(
33411
33424
  "Popover",
33412
33425
  "-popover",
33413
- style$1v,
33426
+ style$1w,
33414
33427
  popoverLight,
33415
33428
  props,
33416
33429
  mergedClsPrefixRef
@@ -34200,7 +34213,7 @@
34200
34213
  }
34201
34214
  });
34202
34215
 
34203
- const self$1g = vars => {
34216
+ const self$1h = vars => {
34204
34217
  const {
34205
34218
  opacityDisabled,
34206
34219
  borderRadiusSmall: borderRadius,
@@ -34375,16 +34388,16 @@
34375
34388
  const tagLight = {
34376
34389
  name: "Tag",
34377
34390
  common: derived,
34378
- self: self$1g
34391
+ self: self$1h
34379
34392
  };
34380
34393
 
34381
34394
  const tagDark = {
34382
34395
  name: "Tag",
34383
34396
  common: derived$1,
34384
- self: self$1g
34397
+ self: self$1h
34385
34398
  };
34386
34399
 
34387
- var rtlStyle$q = cB("tag", [cM("rtl", `
34400
+ var rtlStyle$r = cB("tag", [cM("rtl", `
34388
34401
  direction: rtl;
34389
34402
  `, [cE("close", `
34390
34403
  margin: var(--u-close-margin-rtl);
@@ -34404,7 +34417,7 @@
34404
34417
 
34405
34418
  const tagRtl = {
34406
34419
  name: "Tag",
34407
- style: rtlStyle$q
34420
+ style: rtlStyle$r
34408
34421
  };
34409
34422
 
34410
34423
  var commonProps = {
@@ -34428,7 +34441,7 @@
34428
34441
  }
34429
34442
  };
34430
34443
 
34431
- var style$1u = cB("tag", `
34444
+ var style$1v = cB("tag", `
34432
34445
  white-space: nowrap;
34433
34446
  position: relative;
34434
34447
  box-sizing: border-box;
@@ -34563,7 +34576,7 @@
34563
34576
  const themeRef = useTheme(
34564
34577
  "Tag",
34565
34578
  "-tag",
34566
- style$1u,
34579
+ style$1v,
34567
34580
  tagLight,
34568
34581
  props,
34569
34582
  mergedClsPrefixRef
@@ -34778,7 +34791,7 @@
34778
34791
  }
34779
34792
  });
34780
34793
 
34781
- var style$1t = cB("base-clear", `
34794
+ var style$1u = cB("base-clear", `
34782
34795
  flex-shrink: 0;
34783
34796
  height: 1em;
34784
34797
  width: 1em;
@@ -34819,7 +34832,7 @@
34819
34832
  onClear: Function
34820
34833
  },
34821
34834
  setup(props) {
34822
- useStyle("-base-clear", style$1t, vue.toRef(props, "clsPrefix"));
34835
+ useStyle("-base-clear", style$1u, vue.toRef(props, "clsPrefix"));
34823
34836
  return {
34824
34837
  handleMouseDown(e) {
34825
34838
  e.preventDefault();
@@ -34913,7 +34926,7 @@
34913
34926
  }
34914
34927
  });
34915
34928
 
34916
- const self$1f = vars => {
34929
+ const self$1g = vars => {
34917
34930
  const {
34918
34931
  borderRadius,
34919
34932
  iconMedium,
@@ -35074,7 +35087,7 @@
35074
35087
  peers: {
35075
35088
  Popover: popoverLight
35076
35089
  },
35077
- self: self$1f
35090
+ self: self$1g
35078
35091
  });
35079
35092
 
35080
35093
  const internalSelectionDark = {
@@ -35083,7 +35096,7 @@
35083
35096
  peers: {
35084
35097
  Popover: popoverDark
35085
35098
  },
35086
- self: self$1f
35099
+ self: self$1g
35087
35100
  };
35088
35101
 
35089
35102
  function generateSecondaryStates(state) {
@@ -35107,7 +35120,7 @@
35107
35120
  color: var(--u-arrow-color${state}-secondary);
35108
35121
  `)])];
35109
35122
  }
35110
- var style$1s = c$1([cB("base-selection", `
35123
+ var style$1t = c$1([cB("base-selection", `
35111
35124
  position: relative;
35112
35125
  z-index: auto;
35113
35126
  box-shadow: none;
@@ -35456,7 +35469,7 @@
35456
35469
  const themeRef = useTheme(
35457
35470
  "InternalSelection",
35458
35471
  "-internal-selection",
35459
- style$1s,
35472
+ style$1t,
35460
35473
  internalSelectionLight,
35461
35474
  props,
35462
35475
  vue.toRef(props, "clsPrefix")
@@ -36521,7 +36534,7 @@
36521
36534
  })];
36522
36535
  }
36523
36536
 
36524
- var style$1r = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
36537
+ var style$1s = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
36525
36538
  from {
36526
36539
  transform: translateY(60%);
36527
36540
  opacity: 0;
@@ -36640,7 +36653,7 @@
36640
36653
  }
36641
36654
  },
36642
36655
  setup(props) {
36643
- useStyle("-base-slot-machine", style$1r, vue.toRef(props, "clsPrefix"));
36656
+ useStyle("-base-slot-machine", style$1s, vue.toRef(props, "clsPrefix"));
36644
36657
  const oldValueRef = vue.ref();
36645
36658
  const newValueRef = vue.ref();
36646
36659
  const numbersRef = vue.computed(() => {
@@ -36806,8 +36819,8 @@
36806
36819
  onUpdateChecked
36807
36820
  } = props;
36808
36821
  const {
36809
- nTriggerFormInput,
36810
- nTriggerFormChange
36822
+ triggerFormInput,
36823
+ triggerFormChange
36811
36824
  } = formItem;
36812
36825
  const nextChecked = renderedCheckedRef.value ? props.uncheckedValue : props.checkedValue;
36813
36826
  if (_onUpdateCheck) {
@@ -36817,8 +36830,8 @@
36817
36830
  call(onUpdateChecked, nextChecked, e);
36818
36831
  }
36819
36832
  if (onChange) call(onChange, nextChecked, e);
36820
- nTriggerFormInput();
36821
- nTriggerFormChange();
36833
+ triggerFormInput();
36834
+ triggerFormChange();
36822
36835
  uncontrolledCheckedRef.value = nextChecked;
36823
36836
  }
36824
36837
  }
@@ -36954,14 +36967,14 @@
36954
36967
  onChange
36955
36968
  } = props;
36956
36969
  const {
36957
- nTriggerFormInput,
36958
- nTriggerFormChange
36970
+ triggerFormInput,
36971
+ triggerFormChange
36959
36972
  } = formItem;
36960
36973
  if (onUpdateChecked) call(onUpdateChecked, true);
36961
36974
  if (_onUpdateChecked) call(_onUpdateChecked, true);
36962
36975
  if (onChange) onChange(e);
36963
- nTriggerFormInput();
36964
- nTriggerFormChange();
36976
+ triggerFormInput();
36977
+ triggerFormChange();
36965
36978
  uncontrolledCheckedRef.value = true;
36966
36979
  }
36967
36980
  }
@@ -37010,7 +37023,7 @@
37010
37023
  descriptionSpaceBanner: "24px"
37011
37024
  };
37012
37025
 
37013
- const self$1e = vars => {
37026
+ const self$1f = vars => {
37014
37027
  const {
37015
37028
  iconMedium,
37016
37029
  closeMedium,
@@ -37021,7 +37034,7 @@
37021
37034
  fontBodyLarge,
37022
37035
  lineHeightBodyLarge,
37023
37036
  fontWeight,
37024
- borderRadiusLarge,
37037
+ borderRadius,
37025
37038
  staticBlack,
37026
37039
  staticWhite,
37027
37040
  transparencyTertiary,
@@ -37030,15 +37043,16 @@
37030
37043
  transparencyPrimary,
37031
37044
  elementsTertiary,
37032
37045
  textPrimary,
37033
- staticGreen,
37034
- brandSecondary600,
37035
- staticRed,
37036
- brandPrimary500
37046
+ brand150,
37047
+ brand350,
37048
+ brand550,
37049
+ brandPrimary50,
37050
+ staticRed
37037
37051
  } = vars;
37038
37052
  return {
37039
37053
  ...commonVars$6,
37040
37054
  iconSize: iconMedium,
37041
- closeIconSize: iconMedium,
37055
+ closeIconSize: "18px",
37042
37056
  closeSize: closeMedium,
37043
37057
  titleFontSizeAlert: fontTitleSmall,
37044
37058
  titleLineHeightAlert: lineHeightTitleSmall,
@@ -37052,7 +37066,7 @@
37052
37066
  descriptionFontSizeBanner: fontBodyLarge,
37053
37067
  descriptionLineHeightBanner: lineHeightBodyLarge,
37054
37068
  descriptionFontWeightBanner: fontWeight,
37055
- borderRadius: borderRadiusLarge,
37069
+ borderRadius,
37056
37070
  // Default
37057
37071
  color: staticBlack,
37058
37072
  titleTextColor: staticWhite,
@@ -37074,17 +37088,17 @@
37074
37088
  closeIconColorHoverInfo: textPrimary,
37075
37089
  closeIconColorPressedInfo: textPrimary,
37076
37090
  // Success
37077
- colorSuccess: staticGreen,
37078
- titleTextColorSuccess: staticWhite,
37079
- iconColorSuccess: staticWhite,
37080
- contentTextColorSuccess: staticWhite,
37091
+ colorSuccess: brand350,
37092
+ titleTextColorSuccess: staticBlack,
37093
+ iconColorSuccess: staticBlack,
37094
+ contentTextColorSuccess: staticBlack,
37081
37095
  closeColorHoverSuccess: transparencyTertiary,
37082
37096
  closeColorPressedSuccess: transparencyQuinary,
37083
- closeIconColorSuccess: staticWhite,
37084
- closeIconColorHoverSuccess: staticWhite,
37085
- closeIconColorPressedSuccess: staticWhite,
37097
+ closeIconColorSuccess: staticBlack,
37098
+ closeIconColorHoverSuccess: staticBlack,
37099
+ closeIconColorPressedSuccess: staticBlack,
37086
37100
  // Warning
37087
- colorWarning: brandSecondary600,
37101
+ colorWarning: brand150,
37088
37102
  titleTextColorWarning: staticBlack,
37089
37103
  iconColorWarning: staticBlack,
37090
37104
  contentTextColorWarning: staticBlack,
@@ -37094,40 +37108,40 @@
37094
37108
  closeIconColorHoverWarning: staticBlack,
37095
37109
  closeIconColorPressedWarning: staticBlack,
37096
37110
  // Error
37097
- colorError: staticRed,
37098
- titleTextColorError: staticWhite,
37099
- iconColorError: staticWhite,
37100
- contentTextColorError: staticWhite,
37111
+ colorError: brand550,
37112
+ titleTextColorError: staticBlack,
37113
+ iconColorError: staticRed,
37114
+ contentTextColorError: staticBlack,
37101
37115
  closeColorHoverError: transparencyTertiary,
37102
37116
  closeColorPressedError: transparencyQuinary,
37103
- closeIconColorError: staticWhite,
37104
- closeIconColorHoverError: staticWhite,
37105
- closeIconColorPressedError: staticWhite,
37117
+ closeIconColorError: staticBlack,
37118
+ closeIconColorHoverError: staticBlack,
37119
+ closeIconColorPressedError: staticBlack,
37106
37120
  // Primary
37107
- colorPrimary: brandPrimary500,
37108
- titleTextColorPrimary: staticWhite,
37109
- iconColorPrimary: staticWhite,
37110
- contentTextColorPrimary: staticWhite,
37121
+ colorPrimary: brandPrimary50,
37122
+ titleTextColorPrimary: staticBlack,
37123
+ iconColorPrimary: staticBlack,
37124
+ contentTextColorPrimary: staticBlack,
37111
37125
  closeColorHoverPrimary: transparencyTertiary,
37112
37126
  closeColorPressedPrimary: transparencyQuinary,
37113
- closeIconColorPrimary: staticWhite,
37114
- closeIconColorHoverPrimary: staticWhite,
37115
- closeIconColorPressedPrimary: staticWhite
37127
+ closeIconColorPrimary: staticBlack,
37128
+ closeIconColorHoverPrimary: staticBlack,
37129
+ closeIconColorPressedPrimary: staticBlack
37116
37130
  };
37117
37131
  };
37118
37132
  const alertLight = {
37119
37133
  name: "Alert",
37120
37134
  common: derived,
37121
- self: self$1e
37135
+ self: self$1f
37122
37136
  };
37123
37137
 
37124
37138
  const alertDark = {
37125
37139
  name: "Alert",
37126
37140
  common: derived$1,
37127
- self: self$1e
37141
+ self: self$1f
37128
37142
  };
37129
37143
 
37130
- var rtlStyle$p = cB("alert", [cM("rtl", `
37144
+ var rtlStyle$q = cB("alert", [cM("rtl", `
37131
37145
  direction: rtl;
37132
37146
  `, [cE("icon", `
37133
37147
  left: unset;
@@ -37145,10 +37159,10 @@
37145
37159
 
37146
37160
  const alertRtl = {
37147
37161
  name: "Alert",
37148
- style: rtlStyle$p
37162
+ style: rtlStyle$q
37149
37163
  };
37150
37164
 
37151
- const self$1d = vars => {
37165
+ const self$1e = vars => {
37152
37166
  const {
37153
37167
  borderRadius,
37154
37168
  fontBodyMedium,
@@ -37178,16 +37192,16 @@
37178
37192
  const anchorLight = {
37179
37193
  name: "Anchor",
37180
37194
  common: derived,
37181
- self: self$1d
37195
+ self: self$1e
37182
37196
  };
37183
37197
 
37184
37198
  const anchorDark = {
37185
37199
  name: "Anchor",
37186
37200
  common: derived$1,
37187
- self: self$1d
37201
+ self: self$1e
37188
37202
  };
37189
37203
 
37190
- const self$1c = vars => {
37204
+ const self$1d = vars => {
37191
37205
  const {
37192
37206
  iconMedium,
37193
37207
  textSecondary,
@@ -37287,16 +37301,16 @@
37287
37301
  const inputLight = {
37288
37302
  name: "Input",
37289
37303
  common: derived,
37290
- self: self$1c
37304
+ self: self$1d
37291
37305
  };
37292
37306
 
37293
37307
  const inputDark = {
37294
37308
  name: "Input",
37295
37309
  common: derived$1,
37296
- self: self$1c
37310
+ self: self$1d
37297
37311
  };
37298
37312
 
37299
- var rtlStyle$o = cB("input", [cM("rtl", `
37313
+ var rtlStyle$p = cB("input", [cM("rtl", `
37300
37314
  direction: rtl;
37301
37315
  `, [cE("prefix", {
37302
37316
  marginRight: 0,
@@ -37314,10 +37328,10 @@
37314
37328
 
37315
37329
  const inputRtl = {
37316
37330
  name: "Input",
37317
- style: rtlStyle$o
37331
+ style: rtlStyle$p
37318
37332
  };
37319
37333
 
37320
- function self$1b(vars) {
37334
+ function self$1c(vars) {
37321
37335
  const {
37322
37336
  shadowDepth2
37323
37337
  } = vars;
@@ -37332,7 +37346,7 @@
37332
37346
  InternalSelectMenu: internalSelectMenuLight,
37333
37347
  Input: inputLight
37334
37348
  },
37335
- self: self$1b
37349
+ self: self$1c
37336
37350
  });
37337
37351
 
37338
37352
  const autoCompleteDark = {
@@ -37342,10 +37356,10 @@
37342
37356
  InternalSelectMenu: internalSelectMenuDark,
37343
37357
  Input: inputDark
37344
37358
  },
37345
- self: self$1b
37359
+ self: self$1c
37346
37360
  };
37347
37361
 
37348
- const self$1a = vars => {
37362
+ const self$1b = vars => {
37349
37363
  const {
37350
37364
  borderRadius,
37351
37365
  heightSmall,
@@ -37377,16 +37391,16 @@
37377
37391
  const avatarLight = {
37378
37392
  name: "Avatar",
37379
37393
  common: derived,
37380
- self: self$1a
37394
+ self: self$1b
37381
37395
  };
37382
37396
 
37383
37397
  const avatarDark = {
37384
37398
  name: "Avatar",
37385
37399
  common: derived$1,
37386
- self: self$1a
37400
+ self: self$1b
37387
37401
  };
37388
37402
 
37389
- const self$19 = () => {
37403
+ const self$1a = () => {
37390
37404
  return {
37391
37405
  gap: "-12px"
37392
37406
  };
@@ -37397,7 +37411,7 @@
37397
37411
  peers: {
37398
37412
  Avatar: avatarLight
37399
37413
  },
37400
- self: self$19
37414
+ self: self$1a
37401
37415
  });
37402
37416
 
37403
37417
  const avatarGroupDark = {
@@ -37406,10 +37420,10 @@
37406
37420
  peers: {
37407
37421
  Avatar: avatarDark
37408
37422
  },
37409
- self: self$19
37423
+ self: self$1a
37410
37424
  };
37411
37425
 
37412
- var rtlStyle$n = cB("avatar-group", [cM("rtl", `
37426
+ var rtlStyle$o = cB("avatar-group", [cM("rtl", `
37413
37427
  direction: rtl;
37414
37428
  `, [cNotM("vertical", `
37415
37429
  flex-direction: row;
@@ -37420,10 +37434,10 @@
37420
37434
 
37421
37435
  const avatarGroupRtl = {
37422
37436
  name: "AvatarGroup",
37423
- style: rtlStyle$n
37437
+ style: rtlStyle$o
37424
37438
  };
37425
37439
 
37426
- const self$18 = vars => {
37440
+ const self$19 = vars => {
37427
37441
  const {
37428
37442
  heightLarge,
37429
37443
  iconMedium,
@@ -37448,16 +37462,16 @@
37448
37462
  const backTopLight = {
37449
37463
  name: "BackTop",
37450
37464
  common: derived,
37451
- self: self$18
37465
+ self: self$19
37452
37466
  };
37453
37467
 
37454
37468
  const backTopDark = {
37455
37469
  name: "BackTop",
37456
37470
  common: derived$1,
37457
- self: self$18
37471
+ self: self$19
37458
37472
  };
37459
37473
 
37460
- const self$17 = vars => {
37474
+ const self$18 = vars => {
37461
37475
  const {
37462
37476
  brandQuaternary500,
37463
37477
  elementsPrimary,
@@ -37489,16 +37503,16 @@
37489
37503
  const badgeLight = {
37490
37504
  name: "Badge",
37491
37505
  common: derived,
37492
- self: self$17
37506
+ self: self$18
37493
37507
  };
37494
37508
 
37495
37509
  const badgeDark = {
37496
37510
  name: "Badge",
37497
37511
  common: derived$1,
37498
- self: self$17
37512
+ self: self$18
37499
37513
  };
37500
37514
 
37501
- var rtlStyle$m = cB("badge", [cM("rtl", `
37515
+ var rtlStyle$n = cB("badge", [cM("rtl", `
37502
37516
  direction: rtl;
37503
37517
  `, [cB("badge-sup", `
37504
37518
  right: 100%;
@@ -37509,10 +37523,10 @@
37509
37523
 
37510
37524
  const badgeRtl = {
37511
37525
  name: "Badge",
37512
- style: rtlStyle$m
37526
+ style: rtlStyle$n
37513
37527
  };
37514
37528
 
37515
- const self$16 = vars => {
37529
+ const self$17 = vars => {
37516
37530
  const {
37517
37531
  fontWeightStrong,
37518
37532
  fontBodyMedium,
@@ -37535,13 +37549,13 @@
37535
37549
  const breadcrumbLight = {
37536
37550
  name: "Breadcrumb",
37537
37551
  common: derived,
37538
- self: self$16
37552
+ self: self$17
37539
37553
  };
37540
37554
 
37541
37555
  const breadcrumbDark = {
37542
37556
  name: "Breadcrumb",
37543
37557
  common: derived$1,
37544
- self: self$16
37558
+ self: self$17
37545
37559
  };
37546
37560
 
37547
37561
  var commonVariables$5 = {
@@ -37564,7 +37578,7 @@
37564
37578
  rippleDuration: ".6s"
37565
37579
  };
37566
37580
 
37567
- const self$15 = vars => {
37581
+ const self$16 = vars => {
37568
37582
  const {
37569
37583
  heightMini,
37570
37584
  heightTiny,
@@ -37812,16 +37826,16 @@
37812
37826
  const buttonLight = {
37813
37827
  name: "Button",
37814
37828
  common: derived,
37815
- self: self$15
37829
+ self: self$16
37816
37830
  };
37817
37831
 
37818
37832
  const buttonDark = {
37819
37833
  name: "Button",
37820
37834
  common: derived$1,
37821
- self: self$15
37835
+ self: self$16
37822
37836
  };
37823
37837
 
37824
- var rtlStyle$l = cB("button", [cM("rtl", `
37838
+ var rtlStyle$m = cB("button", [cM("rtl", `
37825
37839
  direction: rtl;
37826
37840
  `, [cE("icon", {
37827
37841
  margin: "var(--u-icon-margin)",
@@ -37833,7 +37847,7 @@
37833
37847
 
37834
37848
  const buttonRtl = {
37835
37849
  name: "Button",
37836
- style: rtlStyle$l
37850
+ style: rtlStyle$m
37837
37851
  };
37838
37852
 
37839
37853
  var commonVars$5 = {
@@ -37842,7 +37856,7 @@
37842
37856
  closeBorderRadius: "50px"
37843
37857
  };
37844
37858
 
37845
- const self$14 = vars => {
37859
+ const self$15 = vars => {
37846
37860
  const {
37847
37861
  fontWeightStrong,
37848
37862
  lineHeightBodyMedium,
@@ -37962,7 +37976,7 @@
37962
37976
  peers: {
37963
37977
  Scrollbar: scrollbarLight
37964
37978
  },
37965
- self: self$14
37979
+ self: self$15
37966
37980
  });
37967
37981
 
37968
37982
  const notificationDark = {
@@ -37971,10 +37985,10 @@
37971
37985
  peers: {
37972
37986
  Scrollbar: scrollbarDark
37973
37987
  },
37974
- self: self$14
37988
+ self: self$15
37975
37989
  };
37976
37990
 
37977
- var rtlStyle$k = cB("notification", [cM("rtl", `
37991
+ var rtlStyle$l = cB("notification", [cM("rtl", `
37978
37992
  direction: rtl;
37979
37993
  `, [cB("notification-main", `
37980
37994
  margin-left: unset;
@@ -37998,7 +38012,7 @@
37998
38012
 
37999
38013
  const notificationRtl = {
38000
38014
  name: "Notification",
38001
- style: rtlStyle$k
38015
+ style: rtlStyle$l
38002
38016
  };
38003
38017
 
38004
38018
  var commonVariables$4 = {
@@ -38009,7 +38023,7 @@
38009
38023
  iconMargin: "0 16px 0 0"
38010
38024
  };
38011
38025
 
38012
- const self$13 = vars => {
38026
+ const self$14 = vars => {
38013
38027
  const {
38014
38028
  closeMedium,
38015
38029
  iconMedium,
@@ -38094,16 +38108,16 @@
38094
38108
  const messageLight = {
38095
38109
  name: "Message",
38096
38110
  common: derived,
38097
- self: self$13
38111
+ self: self$14
38098
38112
  };
38099
38113
 
38100
38114
  const messageDark = {
38101
38115
  name: "Message",
38102
38116
  common: derived$1,
38103
- self: self$13
38117
+ self: self$14
38104
38118
  };
38105
38119
 
38106
- var rtlStyle$j = cB("message", [cM("rtl", `
38120
+ var rtlStyle$k = cB("message", [cM("rtl", `
38107
38121
  direction: rtl;
38108
38122
  `, [cE("close", `
38109
38123
  margin: 0 10px 0 0;
@@ -38113,7 +38127,7 @@
38113
38127
 
38114
38128
  const messageRtl = {
38115
38129
  name: "Message",
38116
- style: rtlStyle$j
38130
+ style: rtlStyle$k
38117
38131
  };
38118
38132
 
38119
38133
  const buttonGroupDark = {
@@ -38142,7 +38156,7 @@
38142
38156
  top: n1
38143
38157
  })])])])]);
38144
38158
  }
38145
- var style$1q = cB("button-group", `
38159
+ var style$1r = cB("button-group", `
38146
38160
  flex-wrap: nowrap;
38147
38161
  display: inline-flex;
38148
38162
  position: relative;
@@ -38186,7 +38200,7 @@
38186
38200
  left: n1
38187
38201
  })])])])]);
38188
38202
  }
38189
- var rtlStyle$i = cB("button-group", [cNotM("vertical", [cM("rtl", `
38203
+ var rtlStyle$j = cB("button-group", [cNotM("vertical", [cM("rtl", `
38190
38204
  direction: rtl;
38191
38205
  `, [cB("button", [c$1("&:last-child:not(:first-child)", `
38192
38206
  margin-right: ${zero};
@@ -38204,7 +38218,7 @@
38204
38218
 
38205
38219
  const buttonGroupRtl = {
38206
38220
  name: "ButtonGroup",
38207
- style: rtlStyle$i
38221
+ style: rtlStyle$j
38208
38222
  };
38209
38223
 
38210
38224
  var commonVariables$3 = {
@@ -38214,7 +38228,7 @@
38214
38228
  paddingHuge: "27px 40px 28px"
38215
38229
  };
38216
38230
 
38217
- const self$12 = vars => {
38231
+ const self$13 = vars => {
38218
38232
  const {
38219
38233
  borderRadius,
38220
38234
  fontWeight,
@@ -38280,16 +38294,16 @@
38280
38294
  const cardLight = {
38281
38295
  name: "Card",
38282
38296
  common: derived,
38283
- self: self$12
38297
+ self: self$13
38284
38298
  };
38285
38299
 
38286
38300
  const cardDark$1 = {
38287
38301
  name: "Card",
38288
38302
  common: derived$1,
38289
- self: self$12
38303
+ self: self$13
38290
38304
  };
38291
38305
 
38292
- var rtlStyle$h = cB("card", [cM("rtl", `
38306
+ var rtlStyle$i = cB("card", [cM("rtl", `
38293
38307
  direction: rtl;
38294
38308
  `), c$1(">", [cB("card-header", [c$1(">", [cE("close", `
38295
38309
  margin: 0 8px 0 0;
@@ -38297,10 +38311,10 @@
38297
38311
 
38298
38312
  const cardRtl = {
38299
38313
  name: "Card",
38300
- style: rtlStyle$h
38314
+ style: rtlStyle$i
38301
38315
  };
38302
38316
 
38303
- const self$11 = vars => {
38317
+ const self$12 = vars => {
38304
38318
  const {
38305
38319
  textSecondary,
38306
38320
  textPrimary,
@@ -38312,7 +38326,7 @@
38312
38326
  borderRadiusLarge,
38313
38327
  containerSecondary,
38314
38328
  shadowDepth2,
38315
- elementsQuinary,
38329
+ elementsQuaternary,
38316
38330
  elementsSecondary
38317
38331
  } = vars;
38318
38332
  return {
@@ -38328,20 +38342,20 @@
38328
38342
  borderRadius: borderRadiusLarge,
38329
38343
  boxShadow: shadowDepth2,
38330
38344
  colorEmbedded: containerSecondary,
38331
- dividerColor: elementsQuinary,
38345
+ dividerColor: elementsQuaternary,
38332
38346
  dropDownBgColor: elementsSecondary
38333
38347
  };
38334
38348
  };
38335
38349
  const cardListLight = {
38336
38350
  name: "CardList",
38337
38351
  common: derived,
38338
- self: self$11
38352
+ self: self$12
38339
38353
  };
38340
38354
 
38341
38355
  const cardDark = {
38342
38356
  name: "CardList",
38343
38357
  common: derived$1,
38344
- self: self$11
38358
+ self: self$12
38345
38359
  };
38346
38360
 
38347
38361
  var commonVariables$2 = {
@@ -38351,7 +38365,7 @@
38351
38365
  labelPadding: "0 16px"
38352
38366
  };
38353
38367
 
38354
- const self$10 = vars => {
38368
+ const self$11 = vars => {
38355
38369
  const {
38356
38370
  lineHeightBodyLarge,
38357
38371
  fontBodyLarge,
@@ -38427,25 +38441,25 @@
38427
38441
  const checkboxLight = {
38428
38442
  name: "Checkbox",
38429
38443
  common: derived,
38430
- self: self$10
38444
+ self: self$11
38431
38445
  };
38432
38446
 
38433
38447
  const checkboxDark = {
38434
38448
  name: "Checkbox",
38435
38449
  common: derived$1,
38436
- self: self$10
38450
+ self: self$11
38437
38451
  };
38438
38452
 
38439
- var rtlStyle$g = cB("checkbox", [cM("rtl", `
38453
+ var rtlStyle$h = cB("checkbox", [cM("rtl", `
38440
38454
  direction: rtl;
38441
38455
  `)]);
38442
38456
 
38443
38457
  const checkboxRtl = {
38444
38458
  name: "Checkbox",
38445
- style: rtlStyle$g
38459
+ style: rtlStyle$h
38446
38460
  };
38447
38461
 
38448
- const self$$ = vars => {
38462
+ const self$10 = vars => {
38449
38463
  const {
38450
38464
  borderRadius,
38451
38465
  heightMedium,
@@ -38486,7 +38500,7 @@
38486
38500
  Checkbox: checkboxLight,
38487
38501
  Empty: emptyLight
38488
38502
  },
38489
- self: self$$
38503
+ self: self$10
38490
38504
  });
38491
38505
 
38492
38506
  const cascaderDark = {
@@ -38499,10 +38513,10 @@
38499
38513
  Checkbox: checkboxDark,
38500
38514
  Empty: emptyLight
38501
38515
  },
38502
- self: self$$
38516
+ self: self$10
38503
38517
  };
38504
38518
 
38505
- const self$_ = vars => {
38519
+ const self$$ = vars => {
38506
38520
  const {
38507
38521
  textPrimary,
38508
38522
  fontBodyMedium,
@@ -38530,12 +38544,12 @@
38530
38544
  const codeLight = {
38531
38545
  name: "Code",
38532
38546
  common: derived,
38533
- self: self$_
38547
+ self: self$$
38534
38548
  };
38535
38549
 
38536
- const self$Z = vars => {
38550
+ const self$_ = vars => {
38537
38551
  return {
38538
- ...self$_(vars),
38552
+ ...self$$(vars),
38539
38553
  // extracted from hljs atom-one-dark.scss
38540
38554
  "mono-3": "#5c6370",
38541
38555
  "hue-1": "#56b6c2",
@@ -38551,10 +38565,10 @@
38551
38565
  const codeDark = {
38552
38566
  name: "Code",
38553
38567
  common: derived$1,
38554
- self: self$Z
38568
+ self: self$_
38555
38569
  };
38556
38570
 
38557
- const self$Y = vars => {
38571
+ const self$Z = vars => {
38558
38572
  const {
38559
38573
  fontWeight,
38560
38574
  fontBodyLarge,
@@ -38586,16 +38600,16 @@
38586
38600
  const collapseLight = {
38587
38601
  name: "Collapse",
38588
38602
  common: derived,
38589
- self: self$Y
38603
+ self: self$Z
38590
38604
  };
38591
38605
 
38592
38606
  const collapseDark = {
38593
38607
  name: "Collapse",
38594
38608
  common: derived$1,
38595
- self: self$Y
38609
+ self: self$Z
38596
38610
  };
38597
38611
 
38598
- var rtlStyle$f = cB("collapse", [cM("rtl", `
38612
+ var rtlStyle$g = cB("collapse", [cM("rtl", `
38599
38613
  direction: rtl;
38600
38614
  `, [cB("collapse-item", [cB("collapse-item", {
38601
38615
  marginRight: "32px",
@@ -38612,10 +38626,10 @@
38612
38626
 
38613
38627
  const collapseRtl = {
38614
38628
  name: "Collapse",
38615
- style: rtlStyle$f
38629
+ style: rtlStyle$g
38616
38630
  };
38617
38631
 
38618
- const self$X = vars => {
38632
+ const self$Y = vars => {
38619
38633
  const {
38620
38634
  cubicBezierEaseInOut
38621
38635
  } = vars;
@@ -38626,26 +38640,26 @@
38626
38640
  const collapseTransitionLight = {
38627
38641
  name: "CollapseTransition",
38628
38642
  common: derived,
38629
- self: self$X
38643
+ self: self$Y
38630
38644
  };
38631
38645
 
38632
38646
  const collapseTransitionDark = {
38633
38647
  name: "CollapseTransition",
38634
38648
  common: derived$1,
38635
- self: self$X
38649
+ self: self$Y
38636
38650
  };
38637
38651
 
38638
- var rtlStyle$e = cB("collapse-transition", [cM("rtl", `
38652
+ var rtlStyle$f = cB("collapse-transition", [cM("rtl", `
38639
38653
  direction: rtl;
38640
38654
  text-align: right;
38641
38655
  `)]);
38642
38656
 
38643
38657
  const collapseTransitionRtl = {
38644
38658
  name: "CollapseTransition",
38645
- style: rtlStyle$e
38659
+ style: rtlStyle$f
38646
38660
  };
38647
38661
 
38648
- const self$W = vars => {
38662
+ const self$X = vars => {
38649
38663
  const {
38650
38664
  borderRadius,
38651
38665
  fontBodyMedium,
@@ -38682,7 +38696,7 @@
38682
38696
  peers: {
38683
38697
  Popover: popoverLight
38684
38698
  },
38685
- self: self$W
38699
+ self: self$X
38686
38700
  });
38687
38701
 
38688
38702
  const tooltipDark = {
@@ -38691,7 +38705,7 @@
38691
38705
  peers: {
38692
38706
  Popover: popoverDark
38693
38707
  },
38694
- self: self$W
38708
+ self: self$X
38695
38709
  };
38696
38710
 
38697
38711
  const ellipsisDark = {
@@ -38710,7 +38724,7 @@
38710
38724
  }
38711
38725
  });
38712
38726
 
38713
- const self$V = vars => {
38727
+ const self$W = vars => {
38714
38728
  const {
38715
38729
  heightTiny,
38716
38730
  heightSmall,
@@ -38802,16 +38816,16 @@
38802
38816
  const radioLight = {
38803
38817
  name: "Radio",
38804
38818
  common: derived,
38805
- self: self$V
38819
+ self: self$W
38806
38820
  };
38807
38821
 
38808
38822
  const radioDark = {
38809
38823
  name: "Radio",
38810
38824
  common: derived$1,
38811
- self: self$V
38825
+ self: self$W
38812
38826
  };
38813
38827
 
38814
- var rtlStyle$d = c$1([cB("radio", [cM("rtl", `
38828
+ var rtlStyle$e = c$1([cB("radio", [cM("rtl", `
38815
38829
  direction: rtl;
38816
38830
  `)]), cB("radio-group", [cM("rtl", `
38817
38831
  direction: rtl;
@@ -38833,7 +38847,7 @@
38833
38847
 
38834
38848
  const radioRtl = {
38835
38849
  name: "Radio",
38836
- style: rtlStyle$d
38850
+ style: rtlStyle$e
38837
38851
  };
38838
38852
 
38839
38853
  const popselect = {
@@ -38845,7 +38859,7 @@
38845
38859
  }
38846
38860
  };
38847
38861
 
38848
- function self$U(vars) {
38862
+ function self$V(vars) {
38849
38863
  const {
38850
38864
  shadowDepth2
38851
38865
  } = vars;
@@ -38860,10 +38874,10 @@
38860
38874
  Popover: popoverLight,
38861
38875
  InternalSelectMenu: internalSelectMenuLight
38862
38876
  },
38863
- self: self$U
38877
+ self: self$V
38864
38878
  });
38865
38879
 
38866
- function self$T(vars) {
38880
+ function self$U(vars) {
38867
38881
  const {
38868
38882
  shadowDepth2
38869
38883
  } = vars;
@@ -38878,7 +38892,7 @@
38878
38892
  InternalSelection: internalSelectionLight,
38879
38893
  InternalSelectMenu: internalSelectMenuLight
38880
38894
  },
38881
- self: self$T
38895
+ self: self$U
38882
38896
  });
38883
38897
 
38884
38898
  const selectDark = {
@@ -38888,10 +38902,10 @@
38888
38902
  InternalSelection: internalSelectionDark,
38889
38903
  InternalSelectMenu: internalSelectMenuDark
38890
38904
  },
38891
- self: self$T
38905
+ self: self$U
38892
38906
  };
38893
38907
 
38894
- const self$S = vars => {
38908
+ const self$T = vars => {
38895
38909
  const {
38896
38910
  brandPrimary100,
38897
38911
  transparencySecondary,
@@ -38989,7 +39003,7 @@
38989
39003
  Input: inputLight,
38990
39004
  Popselect: popselectLight
38991
39005
  },
38992
- self: self$S
39006
+ self: self$T
38993
39007
  });
38994
39008
 
38995
39009
  const paginationDark = {
@@ -39000,10 +39014,10 @@
39000
39014
  Input: inputDark,
39001
39015
  Popselect: popselect
39002
39016
  },
39003
- self: self$S
39017
+ self: self$T
39004
39018
  };
39005
39019
 
39006
- var rtlStyle$c = cB("pagination", [cM("rtl", `
39020
+ var rtlStyle$d = cB("pagination", [cM("rtl", `
39007
39021
  direction: rtl;
39008
39022
  `, [c$1("> *:not(:first-child)", `
39009
39023
  margin: var(--u-item-margin-rtl);
@@ -39013,11 +39027,11 @@
39013
39027
 
39014
39028
  const paginationRtl = {
39015
39029
  name: "Pagination",
39016
- style: rtlStyle$c,
39030
+ style: rtlStyle$d,
39017
39031
  peers: [inputRtl]
39018
39032
  };
39019
39033
 
39020
- const self$R = vars => {
39034
+ const self$S = vars => {
39021
39035
  const {
39022
39036
  borderRadius,
39023
39037
  fontBodySmall,
@@ -39104,7 +39118,7 @@
39104
39118
  peers: {
39105
39119
  Popover: popoverLight
39106
39120
  },
39107
- self: self$R
39121
+ self: self$S
39108
39122
  });
39109
39123
 
39110
39124
  const dropdownDark = {
@@ -39113,10 +39127,10 @@
39113
39127
  peers: {
39114
39128
  Popover: popoverDark
39115
39129
  },
39116
- self: self$R
39130
+ self: self$S
39117
39131
  };
39118
39132
 
39119
- const self$Q = vars => {
39133
+ const self$R = vars => {
39120
39134
  const {
39121
39135
  borderRadius,
39122
39136
  opacityDisabled,
@@ -39214,7 +39228,7 @@
39214
39228
  Ellipsis: ellipsisLight,
39215
39229
  Dropdown: dropdownLight
39216
39230
  },
39217
- self: self$Q
39231
+ self: self$R
39218
39232
  });
39219
39233
 
39220
39234
  const dataTableDark = {
@@ -39231,10 +39245,10 @@
39231
39245
  Ellipsis: ellipsisDark,
39232
39246
  Dropdown: dropdownDark
39233
39247
  },
39234
- self: self$Q
39248
+ self: self$R
39235
39249
  };
39236
39250
 
39237
- const self$P = vars => {
39251
+ const self$Q = vars => {
39238
39252
  const {
39239
39253
  opacityDisabled,
39240
39254
  borderRadius,
@@ -39276,7 +39290,7 @@
39276
39290
  Button: buttonLight,
39277
39291
  Input: inputLight
39278
39292
  },
39279
- self: self$P
39293
+ self: self$Q
39280
39294
  });
39281
39295
 
39282
39296
  const timePickerDark = {
@@ -39287,7 +39301,7 @@
39287
39301
  Button: buttonDark,
39288
39302
  Input: inputDark
39289
39303
  },
39290
- self: self$P
39304
+ self: self$Q
39291
39305
  };
39292
39306
 
39293
39307
  const START_YEAR = 1924;
@@ -39338,7 +39352,7 @@
39338
39352
  calendarRightPaddingYearrange: "0"
39339
39353
  };
39340
39354
 
39341
- const self$O = vars => {
39355
+ const self$P = vars => {
39342
39356
  const {
39343
39357
  iconMedium,
39344
39358
  fontWeightStrong,
@@ -39438,7 +39452,7 @@
39438
39452
  TimePicker: timePickerLight,
39439
39453
  Scrollbar: scrollbarLight
39440
39454
  },
39441
- self: self$O
39455
+ self: self$P
39442
39456
  });
39443
39457
 
39444
39458
  const datePickerDark = {
@@ -39450,10 +39464,10 @@
39450
39464
  TimePicker: timePickerDark,
39451
39465
  Scrollbar: scrollbarDark
39452
39466
  },
39453
- self: self$O
39467
+ self: self$P
39454
39468
  };
39455
39469
 
39456
- const self$N = vars => {
39470
+ const self$O = vars => {
39457
39471
  const {
39458
39472
  borderRadius,
39459
39473
  lineHeightBodyLarge,
@@ -39503,13 +39517,13 @@
39503
39517
  const descriptionsLight = {
39504
39518
  name: "Descriptions",
39505
39519
  common: derived,
39506
- self: self$N
39520
+ self: self$O
39507
39521
  };
39508
39522
 
39509
39523
  const descriptionsDark = {
39510
39524
  name: "Descriptions",
39511
39525
  common: derived$1,
39512
- self: self$N
39526
+ self: self$O
39513
39527
  };
39514
39528
 
39515
39529
  var commonVars$3 = {
@@ -39523,7 +39537,7 @@
39523
39537
  closeBorderRadius: "100px"
39524
39538
  };
39525
39539
 
39526
- const self$M = vars => {
39540
+ const self$N = vars => {
39527
39541
  const {
39528
39542
  borderRadius,
39529
39543
  containerPrimary,
@@ -39580,7 +39594,7 @@
39580
39594
  peers: {
39581
39595
  Button: buttonLight
39582
39596
  },
39583
- self: self$M
39597
+ self: self$N
39584
39598
  });
39585
39599
 
39586
39600
  const dialogDark = {
@@ -39589,10 +39603,10 @@
39589
39603
  peers: {
39590
39604
  Button: buttonDark
39591
39605
  },
39592
- self: self$M
39606
+ self: self$N
39593
39607
  };
39594
39608
 
39595
- const self$L = vars => {
39609
+ const self$M = vars => {
39596
39610
  const {
39597
39611
  elementsQuaternary,
39598
39612
  textPrimary,
@@ -39612,13 +39626,13 @@
39612
39626
  const dividerLight = {
39613
39627
  name: "Divider",
39614
39628
  common: derived,
39615
- self: self$L
39629
+ self: self$M
39616
39630
  };
39617
39631
 
39618
39632
  const dividerDark = {
39619
39633
  name: "Divider",
39620
39634
  common: derived$1,
39621
- self: self$L
39635
+ self: self$M
39622
39636
  };
39623
39637
 
39624
39638
  var commonVars$2 = {
@@ -39634,7 +39648,7 @@
39634
39648
  contentBorderRadius: "24px"
39635
39649
  };
39636
39650
 
39637
- const self$K = vars => {
39651
+ const self$L = vars => {
39638
39652
  const {
39639
39653
  containerPrimary,
39640
39654
  textPrimary,
@@ -39683,7 +39697,7 @@
39683
39697
  peers: {
39684
39698
  Scrollbar: scrollbarLight
39685
39699
  },
39686
- self: self$K
39700
+ self: self$L
39687
39701
  });
39688
39702
 
39689
39703
  const drawerDark = {
@@ -39692,10 +39706,10 @@
39692
39706
  peers: {
39693
39707
  Scrollbar: scrollbarDark
39694
39708
  },
39695
- self: self$K
39709
+ self: self$L
39696
39710
  };
39697
39711
 
39698
- var rtlStyle$b = cB("drawer", [cM("rtl", `
39712
+ var rtlStyle$c = cB("drawer", [cM("rtl", `
39699
39713
  direction: rtl;
39700
39714
  text-align: right;
39701
39715
  `, [cB("drawer-content", [cB("drawer-header", [cE("close", `
@@ -39705,7 +39719,7 @@
39705
39719
 
39706
39720
  const drawerRtl = {
39707
39721
  name: "Drawer",
39708
- style: rtlStyle$b,
39722
+ style: rtlStyle$c,
39709
39723
  peers: [scrollbarRtl]
39710
39724
  };
39711
39725
 
@@ -39726,7 +39740,7 @@
39726
39740
  }
39727
39741
  };
39728
39742
 
39729
- const self$J = () => {
39743
+ const self$K = () => {
39730
39744
  return commonVariables$1;
39731
39745
  };
39732
39746
  const dynamicInputLight = createTheme$1({
@@ -39736,10 +39750,10 @@
39736
39750
  Input: inputLight,
39737
39751
  Button: buttonLight
39738
39752
  },
39739
- self: self$J
39753
+ self: self$K
39740
39754
  });
39741
39755
 
39742
- var rtlStyle$a = cB("dynamic-input", [cM("rtl", `
39756
+ var rtlStyle$b = cB("dynamic-input", [cM("rtl", `
39743
39757
  direction: rtl;
39744
39758
  `, [cB("dynamic-input-preset-pair", [cB("dynamic-input-pair-input", [c$1("&:first-child", {
39745
39759
  "margin-left": "12px",
@@ -39748,19 +39762,19 @@
39748
39762
  margin: var(--action-margin-rtl);
39749
39763
  `)])])]);
39750
39764
 
39751
- var rtlStyle$9 = cB("input-number", [cM("rtl", `
39765
+ var rtlStyle$a = cB("input-number", [cM("rtl", `
39752
39766
  direction: rtl;
39753
39767
  `)]);
39754
39768
 
39755
39769
  const inputNumberRtl = {
39756
39770
  name: "InputNumber",
39757
- style: rtlStyle$9,
39771
+ style: rtlStyle$a,
39758
39772
  peers: [inputRtl, buttonRtl]
39759
39773
  };
39760
39774
 
39761
39775
  const dynamicInputRtl = {
39762
39776
  name: "DynamicInput",
39763
- style: rtlStyle$a,
39777
+ style: rtlStyle$b,
39764
39778
  peers: [inputRtl, buttonRtl, buttonGroupRtl, checkboxRtl, inputNumberRtl]
39765
39779
  };
39766
39780
 
@@ -39777,21 +39791,21 @@
39777
39791
  }
39778
39792
  };
39779
39793
 
39780
- const self$I = () => {
39794
+ const self$J = () => {
39781
39795
  return commonVars$1;
39782
39796
  };
39783
39797
  const spaceLight = {
39784
39798
  name: "Space",
39785
- self: self$I
39799
+ self: self$J
39786
39800
  };
39787
39801
 
39788
- var rtlStyle$8 = cB("space", [cM("rtl", `
39802
+ var rtlStyle$9 = cB("space", [cM("rtl", `
39789
39803
  direction: rtl;
39790
39804
  `)]);
39791
39805
 
39792
39806
  const spaceRtl = {
39793
39807
  name: "Space",
39794
- style: rtlStyle$8
39808
+ style: rtlStyle$9
39795
39809
  };
39796
39810
 
39797
39811
  const dynamicTagsDark = {
@@ -39836,7 +39850,7 @@
39836
39850
  common: derived
39837
39851
  };
39838
39852
 
39839
- const self$H = vars => {
39853
+ const self$I = vars => {
39840
39854
  const {
39841
39855
  heightSmall,
39842
39856
  heightMedium,
@@ -39891,16 +39905,16 @@
39891
39905
  const formLight = {
39892
39906
  name: "Form",
39893
39907
  common: derived,
39894
- self: self$H
39908
+ self: self$I
39895
39909
  };
39896
39910
 
39897
39911
  const formItemDark = {
39898
39912
  name: "Form",
39899
39913
  common: derived$1,
39900
- self: self$H
39914
+ self: self$I
39901
39915
  };
39902
39916
 
39903
- const self$G = vars => {
39917
+ const self$H = vars => {
39904
39918
  const {
39905
39919
  brandPrimary500,
39906
39920
  staticGreen,
@@ -39937,16 +39951,16 @@
39937
39951
  const gradientTextLight = {
39938
39952
  name: "GradientText",
39939
39953
  common: derived,
39940
- self: self$G
39954
+ self: self$H
39941
39955
  };
39942
39956
 
39943
39957
  const gradientTextDark = {
39944
39958
  name: "GradientText",
39945
39959
  common: derived$1,
39946
- self: self$G
39960
+ self: self$H
39947
39961
  };
39948
39962
 
39949
- const self$F = vars => {
39963
+ const self$G = vars => {
39950
39964
  const {
39951
39965
  elementsPrimary
39952
39966
  } = vars;
@@ -39962,16 +39976,16 @@
39962
39976
  const iconLight = {
39963
39977
  name: "Icon",
39964
39978
  common: derived,
39965
- self: self$F
39979
+ self: self$G
39966
39980
  };
39967
39981
 
39968
39982
  const iconDark$1 = {
39969
39983
  name: "Icon",
39970
39984
  common: derived$1,
39971
- self: self$F
39985
+ self: self$G
39972
39986
  };
39973
39987
 
39974
- const self$E = vars => {
39988
+ const self$F = vars => {
39975
39989
  return {};
39976
39990
  };
39977
39991
  const inputNumberLight = createTheme$1({
@@ -39981,7 +39995,7 @@
39981
39995
  Button: buttonLight,
39982
39996
  Input: inputLight
39983
39997
  },
39984
- self: self$E
39998
+ self: self$F
39985
39999
  });
39986
40000
 
39987
40001
  const inputNumberDark = {
@@ -39991,9 +40005,46 @@
39991
40005
  Button: buttonDark,
39992
40006
  Input: inputDark
39993
40007
  },
40008
+ self: self$F
40009
+ };
40010
+
40011
+ function self$E() {
40012
+ return {
40013
+ inputWidthSmall: "44px",
40014
+ inputWidthMedium: "50px",
40015
+ inputWidthLarge: "56px",
40016
+ gapSmall: "6px",
40017
+ gapMedium: "8px",
40018
+ gapLarge: "10px"
40019
+ };
40020
+ }
40021
+ const inputOtpLight = createTheme$1({
40022
+ name: "InputOtp",
40023
+ common: derived,
40024
+ peers: {
40025
+ Input: inputLight
40026
+ },
40027
+ self: self$E
40028
+ });
40029
+
40030
+ const inputOtpDark = {
40031
+ name: "InputOtp",
40032
+ common: derived$1,
40033
+ peers: {
40034
+ Input: inputDark
40035
+ },
39994
40036
  self: self$E
39995
40037
  };
39996
40038
 
40039
+ var rtlStyle$8 = cB("input-otp", [cM("rtl", `
40040
+ direction: rtl;
40041
+ `)]);
40042
+
40043
+ const inputOtpRtl = {
40044
+ name: "InputOtp",
40045
+ style: rtlStyle$8
40046
+ };
40047
+
39997
40048
  const self$D = vars => {
39998
40049
  const {
39999
40050
  textPrimary,
@@ -41789,7 +41840,7 @@
41789
41840
  self: self$b
41790
41841
  };
41791
41842
 
41792
- var style$1p = cB("text", `
41843
+ var style$1q = cB("text", `
41793
41844
  transition: color .3s var(--u-bezier);
41794
41845
  color: var(--u-text-color);
41795
41846
  margin: 0;
@@ -42048,7 +42099,7 @@
42048
42099
  const themeRef = useTheme(
42049
42100
  "Typography",
42050
42101
  "-text",
42051
- style$1p,
42102
+ style$1q,
42052
42103
  typographyLight,
42053
42104
  props,
42054
42105
  mergedClsPrefixRef
@@ -42183,7 +42234,7 @@
42183
42234
  `)];
42184
42235
  }
42185
42236
 
42186
- var style$1o = cB("alert", `
42237
+ var style$1p = cB("alert", `
42187
42238
  line-height: var(--u-line-height);
42188
42239
  position: relative;
42189
42240
  transition: background-color .3s var(--u-bezier);
@@ -42352,7 +42403,7 @@
42352
42403
  const themeRef = useTheme(
42353
42404
  "Alert",
42354
42405
  "-alert",
42355
- style$1o,
42406
+ style$1p,
42356
42407
  alertLight,
42357
42408
  props,
42358
42409
  mergedClsPrefixRef
@@ -42479,7 +42530,7 @@
42479
42530
  }
42480
42531
  });
42481
42532
 
42482
- var style$1n = cB("anchor", `
42533
+ var style$1o = cB("anchor", `
42483
42534
  position: relative;
42484
42535
  `, [cNotM("block", `
42485
42536
  padding-left: var(--u-rail-width);
@@ -42894,7 +42945,7 @@
42894
42945
  const themeRef = useTheme(
42895
42946
  "Anchor",
42896
42947
  "-anchor",
42897
- style$1n,
42948
+ style$1o,
42898
42949
  anchorLight,
42899
42950
  props,
42900
42951
  mergedClsPrefixRef
@@ -43143,7 +43194,7 @@
43143
43194
  }
43144
43195
  });
43145
43196
 
43146
- var style$1m = cB("input", `
43197
+ var style$1n = cB("input", `
43147
43198
  max-width: 100%;
43148
43199
  cursor: text;
43149
43200
  line-height: 1.5;
@@ -43681,7 +43732,7 @@
43681
43732
 
43682
43733
  const buttonGroupInjectionKey = createInjectionKey("u-button-group");
43683
43734
 
43684
- var style$1l = c$1([cB("button", `
43735
+ var style$1m = c$1([cB("button", `
43685
43736
  margin: 0;
43686
43737
  font-weight: var(--u-font-weight);
43687
43738
  line-height: 1;
@@ -43993,7 +44044,7 @@
43993
44044
  const themeRef = useTheme(
43994
44045
  "Button",
43995
44046
  "-button",
43996
- style$1l,
44047
+ style$1m,
43997
44048
  buttonLight,
43998
44049
  props,
43999
44050
  mergedClsPrefixRef
@@ -44399,7 +44450,7 @@
44399
44450
  });
44400
44451
  const XButton = Button;
44401
44452
 
44402
- var style$1k = cB("icon", `
44453
+ var style$1l = cB("icon", `
44403
44454
  height: 1em;
44404
44455
  width: 1em;
44405
44456
  line-height: 1em;
@@ -44438,7 +44489,7 @@
44438
44489
  mergedClsPrefixRef,
44439
44490
  inlineThemeDisabled
44440
44491
  } = useConfig(props);
44441
- const themeRef = useTheme("Icon", "-icon", style$1k, iconLight, props, mergedClsPrefixRef);
44492
+ const themeRef = useTheme("Icon", "-icon", style$1l, iconLight, props, mergedClsPrefixRef);
44442
44493
  const cssVarsRef = vue.computed(() => {
44443
44494
  const {
44444
44495
  depth
@@ -44529,7 +44580,7 @@
44529
44580
  const messageApiInjectionKey = createInjectionKey("u-message-api");
44530
44581
  const messageProviderInjectionKey = createInjectionKey("u-message-provider");
44531
44582
 
44532
- var style$1j = c$1([cB("message-wrapper", `
44583
+ var style$1k = c$1([cB("message-wrapper", `
44533
44584
  margin: var(--u-margin);
44534
44585
  z-index: 0;
44535
44586
  transform-origin: top center;
@@ -44652,7 +44703,7 @@
44652
44703
  const themeRef = useTheme(
44653
44704
  "Message",
44654
44705
  "-message",
44655
- style$1j,
44706
+ style$1k,
44656
44707
  messageLight,
44657
44708
  messageProviderProps,
44658
44709
  mergedClsPrefixRef
@@ -45199,7 +45250,7 @@
45199
45250
  const themeRef = useTheme(
45200
45251
  "Input",
45201
45252
  "-input",
45202
- style$1m,
45253
+ style$1n,
45203
45254
  inputLight,
45204
45255
  props,
45205
45256
  mergedClsPrefixRef
@@ -45347,32 +45398,32 @@
45347
45398
  const vm = vue.getCurrentInstance().proxy;
45348
45399
  function doUpdateValue(value) {
45349
45400
  const { onUpdateValue, "onUpdate:value": _onUpdateValue, onInput } = props;
45350
- const { nTriggerFormInput } = formItem;
45401
+ const { triggerFormInput } = formItem;
45351
45402
  if (onUpdateValue) call(onUpdateValue, value);
45352
45403
  if (_onUpdateValue) call(_onUpdateValue, value);
45353
45404
  if (onInput) call(onInput, value);
45354
45405
  uncontrolledValueRef.value = value;
45355
- nTriggerFormInput();
45406
+ triggerFormInput();
45356
45407
  emitDebouncedInput(value);
45357
45408
  }
45358
45409
  function doChange(value) {
45359
45410
  const { onChange } = props;
45360
- const { nTriggerFormChange } = formItem;
45411
+ const { triggerFormChange } = formItem;
45361
45412
  if (onChange) call(onChange, value);
45362
45413
  uncontrolledValueRef.value = value;
45363
- nTriggerFormChange();
45414
+ triggerFormChange();
45364
45415
  }
45365
45416
  function doBlur(e) {
45366
45417
  const { onBlur } = props;
45367
- const { nTriggerFormBlur } = formItem;
45418
+ const { triggerFormBlur } = formItem;
45368
45419
  if (onBlur) call(onBlur, e);
45369
- nTriggerFormBlur();
45420
+ triggerFormBlur();
45370
45421
  }
45371
45422
  function doFocus(e) {
45372
45423
  const { onFocus } = props;
45373
- const { nTriggerFormFocus } = formItem;
45424
+ const { triggerFormFocus } = formItem;
45374
45425
  if (onFocus) call(onFocus, e);
45375
- nTriggerFormFocus();
45426
+ triggerFormFocus();
45376
45427
  }
45377
45428
  function doClear(e) {
45378
45429
  const { onClear } = props;
@@ -46228,7 +46279,7 @@
46228
46279
  }
46229
46280
  });
46230
46281
 
46231
- var style$1i = cB("input-group", `
46282
+ var style$1j = cB("input-group", `
46232
46283
  display: inline-flex;
46233
46284
  width: 100%;
46234
46285
  flex-wrap: nowrap;
@@ -46291,7 +46342,7 @@
46291
46342
  props: inputGroupProps,
46292
46343
  setup(props) {
46293
46344
  const { mergedClsPrefixRef } = useConfig(props);
46294
- useStyle("-input-group", style$1i, mergedClsPrefixRef);
46345
+ useStyle("-input-group", style$1j, mergedClsPrefixRef);
46295
46346
  return {
46296
46347
  mergedClsPrefix: mergedClsPrefixRef
46297
46348
  };
@@ -46302,7 +46353,7 @@
46302
46353
  }
46303
46354
  });
46304
46355
 
46305
- var style$1h = cB("input-group-label", `
46356
+ var style$1i = cB("input-group-label", `
46306
46357
  position: relative;
46307
46358
  user-select: none;
46308
46359
  -webkit-user-select: none;
@@ -46352,7 +46403,7 @@
46352
46403
  const themeRef = useTheme(
46353
46404
  "Input",
46354
46405
  "-input-group-label",
46355
- style$1h,
46406
+ style$1i,
46356
46407
  inputLight,
46357
46408
  props,
46358
46409
  mergedClsPrefixRef
@@ -46435,7 +46486,7 @@
46435
46486
  }
46436
46487
  }
46437
46488
 
46438
- var style$1g = c$1([cB("auto-complete", `
46489
+ var style$1h = c$1([cB("auto-complete", `
46439
46490
  z-index: auto;
46440
46491
  position: relative;
46441
46492
  display: inline-flex;
@@ -46538,7 +46589,7 @@
46538
46589
  const themeRef = useTheme(
46539
46590
  "AutoComplete",
46540
46591
  "-auto-complete",
46541
- style$1g,
46592
+ style$1h,
46542
46593
  autoCompleteLight,
46543
46594
  props,
46544
46595
  mergedClsPrefixRef
@@ -46564,32 +46615,32 @@
46564
46615
  );
46565
46616
  function doUpdateValue(value) {
46566
46617
  const { "onUpdate:value": _onUpdateValue, onUpdateValue, onInput } = props;
46567
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
46618
+ const { triggerFormInput, triggerFormChange } = formItem;
46568
46619
  if (onUpdateValue) call(onUpdateValue, value);
46569
46620
  if (_onUpdateValue) call(_onUpdateValue, value);
46570
46621
  if (onInput) call(onInput, value);
46571
46622
  uncontrolledValueRef.value = value;
46572
- nTriggerFormInput();
46573
- nTriggerFormChange();
46623
+ triggerFormInput();
46624
+ triggerFormChange();
46574
46625
  }
46575
46626
  function doSelect(value) {
46576
46627
  const { onSelect } = props;
46577
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
46628
+ const { triggerFormInput, triggerFormChange } = formItem;
46578
46629
  if (onSelect) call(onSelect, value);
46579
- nTriggerFormInput();
46580
- nTriggerFormChange();
46630
+ triggerFormInput();
46631
+ triggerFormChange();
46581
46632
  }
46582
46633
  function doBlur(e) {
46583
46634
  const { onBlur } = props;
46584
- const { nTriggerFormBlur } = formItem;
46635
+ const { triggerFormBlur } = formItem;
46585
46636
  if (onBlur) call(onBlur, e);
46586
- nTriggerFormBlur();
46637
+ triggerFormBlur();
46587
46638
  }
46588
46639
  function doFocus(e) {
46589
46640
  const { onFocus } = props;
46590
- const { nTriggerFormFocus } = formItem;
46641
+ const { triggerFormFocus } = formItem;
46591
46642
  if (onFocus) call(onFocus, e);
46592
- nTriggerFormFocus();
46643
+ triggerFormFocus();
46593
46644
  }
46594
46645
  function doScroll(e) {
46595
46646
  const { onScroll } = props;
@@ -46958,7 +47009,7 @@
46958
47009
  self: self$a
46959
47010
  };
46960
47011
 
46961
- var style$1f = c$1([cB("skeleton", `
47012
+ var style$1g = c$1([cB("skeleton", `
46962
47013
  height: 1em;
46963
47014
  width: 100%;
46964
47015
  transition: background-color .3s var(--u-bezier);
@@ -47014,7 +47065,7 @@
47014
47065
  const themeRef = useTheme(
47015
47066
  "Skeleton",
47016
47067
  "-skeleton",
47017
- style$1f,
47068
+ style$1g,
47018
47069
  skeletonLight,
47019
47070
  props,
47020
47071
  mergedClsPrefixRef
@@ -47071,7 +47122,7 @@
47071
47122
  }
47072
47123
  });
47073
47124
 
47074
- var style$1e = cB("avatar", `
47125
+ var style$1f = cB("avatar", `
47075
47126
  width: var(--u-merged-size);
47076
47127
  height: var(--u-merged-size);
47077
47128
  color: var(--u-text-color);
@@ -47132,7 +47183,9 @@
47132
47183
  renderFallback: Function,
47133
47184
  imgProps: Object,
47134
47185
  disabled: Boolean,
47135
- loading: Boolean
47186
+ loading: Boolean,
47187
+ iconColor: String,
47188
+ iconSize: [String, Number]
47136
47189
  };
47137
47190
  var UAvatar = vue.defineComponent({
47138
47191
  name: "Avatar",
@@ -47178,7 +47231,7 @@
47178
47231
  const themeRef = useTheme(
47179
47232
  "Avatar",
47180
47233
  "-avatar",
47181
- style$1e,
47234
+ style$1f,
47182
47235
  avatarLight,
47183
47236
  props,
47184
47237
  mergedClsPrefixRef
@@ -47236,6 +47289,11 @@
47236
47289
  const getBackgroundColor = (color2) => {
47237
47290
  return props.disabled || size === "small" ? "rgba(0,0,0,0)" : color2;
47238
47291
  };
47292
+ const resolveSize = (value, fallback) => {
47293
+ if (value === void 0) return fallback;
47294
+ value = String(value);
47295
+ return /^\d+$/.test(value) ? `${value}px` : value;
47296
+ };
47239
47297
  return {
47240
47298
  "--u-font-size": fontSize,
47241
47299
  "--u-font-weight": fontWeight,
@@ -47243,10 +47301,10 @@
47243
47301
  "--u-border-radius": round ? "50%" : borderRadius,
47244
47302
  "--u-color": getBackgroundColor(color),
47245
47303
  "--u-text-color": textColor,
47246
- "--u-icon-color": iconColor,
47304
+ "--u-icon-color": props.iconColor || iconColor,
47247
47305
  "--u-bezier": cubicBezierEaseInOut,
47248
47306
  "--u-merged-size": `var(--u-avatar-size-override, ${height})`,
47249
- "--u-icon-size": iconSize
47307
+ "--u-icon-size": resolveSize(props.iconSize, iconSize)
47250
47308
  };
47251
47309
  });
47252
47310
  const themeClassHandle = inlineThemeDisabled ? useThemeClass(
@@ -47385,7 +47443,7 @@
47385
47443
  }
47386
47444
  });
47387
47445
 
47388
- var style$1d = cB("avatar-group", `
47446
+ var style$1e = cB("avatar-group", `
47389
47447
  flex-wrap: nowrap;
47390
47448
  display: inline-flex;
47391
47449
  position: relative;
@@ -47419,7 +47477,7 @@
47419
47477
  const mergedThemeRef = useTheme(
47420
47478
  "AvatarGroup",
47421
47479
  "-avatar-group",
47422
- style$1d,
47480
+ style$1e,
47423
47481
  avatarGroupLight,
47424
47482
  props,
47425
47483
  mergedClsPrefixRef
@@ -47514,7 +47572,7 @@
47514
47572
  /* @__PURE__ */ vue.h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" }, /* @__PURE__ */ vue.h("g", { transform: "translate(-139.000000, -4423.000000)", "fill-rule": "nonzero" }, /* @__PURE__ */ vue.h("g", { transform: "translate(120.000000, 4285.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(7.000000, 126.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)" }, /* @__PURE__ */ vue.h("g", { transform: "translate(4.000000, 2.000000)" }, /* @__PURE__ */ vue.h("path", { d: "M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z" }), /* @__PURE__ */ vue.h("path", { d: "M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z" })))))))
47515
47573
  );
47516
47574
 
47517
- var style$1c = cB("back-top", `
47575
+ var style$1d = cB("back-top", `
47518
47576
  position: fixed;
47519
47577
  right: 40px;
47520
47578
  bottom: 40px;
@@ -47653,7 +47711,7 @@
47653
47711
  const themeRef = useTheme(
47654
47712
  "BackTop",
47655
47713
  "-back-top",
47656
- style$1c,
47714
+ style$1d,
47657
47715
  backTopLight,
47658
47716
  props,
47659
47717
  mergedClsPrefixRef
@@ -47803,7 +47861,7 @@
47803
47861
  }
47804
47862
  });
47805
47863
 
47806
- var style$1b = c$1([c$1("@keyframes badge-wave-spread", {
47864
+ var style$1c = c$1([c$1("@keyframes badge-wave-spread", {
47807
47865
  from: {
47808
47866
  boxShadow: "0 0 0.5px 0px var(--u-ripple-color)",
47809
47867
  opacity: 0.6
@@ -47917,7 +47975,7 @@
47917
47975
  const themeRef = useTheme(
47918
47976
  "Badge",
47919
47977
  "-badge",
47920
- style$1b,
47978
+ style$1c,
47921
47979
  badgeLight,
47922
47980
  props,
47923
47981
  mergedClsPrefixRef
@@ -48049,7 +48107,7 @@
48049
48107
  }
48050
48108
  });
48051
48109
 
48052
- var style$1a = cB("breadcrumb", `
48110
+ var style$1b = cB("breadcrumb", `
48053
48111
  white-space: nowrap;
48054
48112
  cursor: default;
48055
48113
  line-height: var(--u-item-line-height);
@@ -48119,7 +48177,7 @@
48119
48177
  const themeRef = useTheme(
48120
48178
  "Breadcrumb",
48121
48179
  "-breadcrumb",
48122
- style$1a,
48180
+ style$1b,
48123
48181
  breadcrumbLight,
48124
48182
  props,
48125
48183
  mergedClsPrefixRef
@@ -48296,7 +48354,7 @@
48296
48354
  props: buttonGroupProps,
48297
48355
  setup(props) {
48298
48356
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
48299
- useStyle("-button-group", style$1q, mergedClsPrefixRef);
48357
+ useStyle("-button-group", style$1r, mergedClsPrefixRef);
48300
48358
  vue.provide(buttonGroupInjectionKey, props);
48301
48359
  const rtlEnabledRef = useRtl(
48302
48360
  "ButtonGroup",
@@ -53687,7 +53745,7 @@
53687
53745
  self: self$9
53688
53746
  };
53689
53747
 
53690
- var style$19 = c$1([cB("calendar", `
53748
+ var style$1a = c$1([cB("calendar", `
53691
53749
  line-height: var(--u-line-height);
53692
53750
  font-size: var(--u-font-size);
53693
53751
  color: var(--u-text-color);
@@ -53825,7 +53883,7 @@
53825
53883
  const themeRef = useTheme(
53826
53884
  "Calendar",
53827
53885
  "-calendar",
53828
- style$19,
53886
+ style$1a,
53829
53887
  calendarLight,
53830
53888
  props,
53831
53889
  mergedClsPrefixRef
@@ -55109,7 +55167,7 @@
55109
55167
  }
55110
55168
  });
55111
55169
 
55112
- var style$18 = c$1([cB("color-picker", `
55170
+ var style$19 = c$1([cB("color-picker", `
55113
55171
  display: inline-block;
55114
55172
  box-sizing: border-box;
55115
55173
  height: var(--u-height);
@@ -55357,7 +55415,7 @@
55357
55415
  const themeRef = useTheme(
55358
55416
  "ColorPicker",
55359
55417
  "-color-picker",
55360
- style$18,
55418
+ style$19,
55361
55419
  colorPickerLight,
55362
55420
  props,
55363
55421
  mergedClsPrefixRef
@@ -55576,12 +55634,12 @@
55576
55634
  } else {
55577
55635
  upcomingValue = null;
55578
55636
  }
55579
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
55637
+ const { triggerFormChange, triggerFormInput } = formItem;
55580
55638
  const { onUpdateValue, "onUpdate:value": _onUpdateValue } = props;
55581
55639
  if (onUpdateValue) call(onUpdateValue, value);
55582
55640
  if (_onUpdateValue) call(_onUpdateValue, value);
55583
- nTriggerFormChange();
55584
- nTriggerFormInput();
55641
+ triggerFormChange();
55642
+ triggerFormInput();
55585
55643
  uncontrolledValueRef.value = value;
55586
55644
  }
55587
55645
  function handleInputUpdateValue(value) {
@@ -55591,7 +55649,7 @@
55591
55649
  function handleComplete(pushStack = true) {
55592
55650
  const { value } = mergedValueRef;
55593
55651
  if (value) {
55594
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
55652
+ const { triggerFormChange, triggerFormInput } = formItem;
55595
55653
  const { onComplete } = props;
55596
55654
  if (onComplete) {
55597
55655
  onComplete(value);
@@ -55602,8 +55660,8 @@
55602
55660
  undoStack.splice(valueIndex + 1, undoStack.length, value);
55603
55661
  valueIndexRef.value = valueIndex + 1;
55604
55662
  }
55605
- nTriggerFormChange();
55606
- nTriggerFormInput();
55663
+ triggerFormChange();
55664
+ triggerFormInput();
55607
55665
  }
55608
55666
  }
55609
55667
  function undo() {
@@ -55906,7 +55964,7 @@
55906
55964
  }
55907
55965
  });
55908
55966
 
55909
- var style$17 = c$1([cB("card", `
55967
+ var style$18 = c$1([cB("card", `
55910
55968
  font-size: var(--u-font-size);
55911
55969
  line-height: var(--u-line-height);
55912
55970
  font-weight: var(--u-font-weight);
@@ -56046,7 +56104,7 @@
56046
56104
  const themeRef = useTheme(
56047
56105
  "Card",
56048
56106
  "-card",
56049
- style$17,
56107
+ style$18,
56050
56108
  cardLight,
56051
56109
  props,
56052
56110
  mergedClsPrefixRef
@@ -56300,7 +56358,7 @@
56300
56358
  }
56301
56359
  };
56302
56360
 
56303
- var style$16 = cB("action-card", `
56361
+ var style$17 = cB("action-card", `
56304
56362
  position: relative;
56305
56363
  width: var(--u-width);
56306
56364
  min-height: var(--u-min-height);
@@ -56390,7 +56448,7 @@
56390
56448
  background-color: var(--u-pressed-background-color);
56391
56449
  `)]);
56392
56450
 
56393
- var style$15 = cB("tooltip", "", [cE("content", `
56451
+ var style$16 = cB("tooltip", "", [cE("content", `
56394
56452
  display: flex;
56395
56453
  align-items: flex-start;
56396
56454
  `), cE("icon", `
@@ -56511,7 +56569,7 @@
56511
56569
  const themeRef = useTheme(
56512
56570
  "Tooltip",
56513
56571
  "-tooltip",
56514
- style$15,
56572
+ style$16,
56515
56573
  tooltipLight,
56516
56574
  props,
56517
56575
  mergedClsPrefixRef
@@ -56610,7 +56668,7 @@
56610
56668
  }
56611
56669
  });
56612
56670
 
56613
- var style$14 = cB("ellipsis", {
56671
+ var style$15 = cB("ellipsis", {
56614
56672
  overflow: "hidden"
56615
56673
  }, [cNotM("line-clamp", `
56616
56674
  white-space: nowrap;
@@ -56648,7 +56706,7 @@
56648
56706
  const mergedTheme = useTheme(
56649
56707
  "Ellipsis",
56650
56708
  "-ellipsis",
56651
- style$14,
56709
+ style$15,
56652
56710
  ellipsisLight,
56653
56711
  props,
56654
56712
  mergedClsPrefixRef
@@ -56800,7 +56858,7 @@
56800
56858
  setup(props, { attrs, slots }) {
56801
56859
  const mouseEnteredRef = vue.ref(false);
56802
56860
  const mergedClsPrefixRef = useMergedClsPrefix();
56803
- useStyle("-ellipsis", style$14, mergedClsPrefixRef);
56861
+ useStyle("-ellipsis", style$15, mergedClsPrefixRef);
56804
56862
  const renderTrigger = () => {
56805
56863
  const { lineClamp } = props;
56806
56864
  const mergedClsPrefix = mergedClsPrefixRef.value;
@@ -56871,7 +56929,7 @@
56871
56929
  const themeRef = useTheme(
56872
56930
  "ActionCard",
56873
56931
  "-action-card",
56874
- style$16,
56932
+ style$17,
56875
56933
  actionCardLight,
56876
56934
  props,
56877
56935
  mergedClsPrefixRef
@@ -57358,16 +57416,16 @@
57358
57416
  }
57359
57417
  });
57360
57418
 
57361
- var style$13 = cB("card-list-item", [c$1("&", {
57419
+ var style$14 = cB("card-list-item", [c$1("&", {
57362
57420
  padding: "16px",
57363
- backgroundColor: "var(--u-color-embedded)",
57364
57421
  borderRadius: "var(--u-border-radius)",
57365
- boxShadow: "var(--u-box-shadow)",
57366
57422
  display: "flex",
57367
57423
  flexDirection: "column",
57368
57424
  gap: "8px",
57369
57425
  position: "relative"
57370
- }), cB("card-list-item__title", {
57426
+ }, [cM("embedded", {
57427
+ backgroundColor: "var(--u-color-embedded)"
57428
+ })]), cB("card-list-item__title", {
57371
57429
  fontSize: "var(--u-title-font-size)",
57372
57430
  lineHeight: "var(--u-title-line-height)",
57373
57431
  fontWeight: "var(--u-title-font-weight)",
@@ -57381,10 +57439,10 @@
57381
57439
  display: "flex",
57382
57440
  gap: "0"
57383
57441
  }, [c$1("&.horizontal", {
57384
- flexDirection: "column"
57385
- }), c$1("&.vertical", {
57386
57442
  flexDirection: "row",
57387
57443
  alignItems: "stretch"
57444
+ }), c$1("&.vertical", {
57445
+ flexDirection: "column"
57388
57446
  })]), cB("card-list-item__items--grid", {
57389
57447
  display: "grid",
57390
57448
  gridAutoFlow: "column",
@@ -57468,6 +57526,10 @@
57468
57526
  default: "horizontal"
57469
57527
  },
57470
57528
  dropdown: Boolean,
57529
+ embedded: {
57530
+ type: Boolean,
57531
+ default: false
57532
+ },
57471
57533
  renderDivider: Function
57472
57534
  };
57473
57535
  var UCardListItem = vue.defineComponent({
@@ -57475,7 +57537,7 @@
57475
57537
  props: cardListItemProps,
57476
57538
  setup(props, { slots }) {
57477
57539
  const { mergedClsPrefixRef } = useConfig(props);
57478
- useStyle("-card-list-item", style$13, mergedClsPrefixRef);
57540
+ useStyle("-card-list-item", style$14, mergedClsPrefixRef);
57479
57541
  const isOpen = vue.ref(false);
57480
57542
  const toggle = () => {
57481
57543
  isOpen.value = !isOpen.value;
@@ -57512,7 +57574,10 @@
57512
57574
  return /* @__PURE__ */ vue.h(
57513
57575
  "div",
57514
57576
  {
57515
- class: `${mergedClsPrefix}-card-list-item`,
57577
+ class: [
57578
+ `${mergedClsPrefix}-card-list-item`,
57579
+ this.embedded && `${mergedClsPrefix}-card-list-item--embedded`
57580
+ ],
57516
57581
  onClick: isDropdown && items.length ? this.toggle : void 0,
57517
57582
  ref: "selfRef"
57518
57583
  },
@@ -57535,7 +57600,7 @@
57535
57600
  class: [
57536
57601
  `${mergedClsPrefix}-card-list-item__items`,
57537
57602
  this.direction,
57538
- this.direction === "vertical" && `${mergedClsPrefix}-card-list-item__items--grid`
57603
+ this.direction === "horizontal" && `${mergedClsPrefix}-card-list-item__items--grid`
57539
57604
  ]
57540
57605
  },
57541
57606
  items.map((item, idx) => [
@@ -57547,8 +57612,8 @@
57547
57612
  }) : vue.h("div", {
57548
57613
  class: [
57549
57614
  `${mergedClsPrefix}-card-list-item__divider`,
57550
- this.direction === "vertical" ? `${mergedClsPrefix}-card-list-item__divider--vertical` : `${mergedClsPrefix}-card-list-item__divider--horizontal`,
57551
- this.direction === "vertical" && `${mergedClsPrefix}-card-list-item__divider--grid`
57615
+ this.direction === "horizontal" ? `${mergedClsPrefix}-card-list-item__divider--vertical` : `${mergedClsPrefix}-card-list-item__divider--horizontal`,
57616
+ this.direction === "horizontal" && `${mergedClsPrefix}-card-list-item__divider--grid`
57552
57617
  ]
57553
57618
  }))
57554
57619
  ])
@@ -57603,7 +57668,7 @@
57603
57668
  const themeRef = useTheme(
57604
57669
  "CardList",
57605
57670
  "-card-list",
57606
- style$13,
57671
+ style$14,
57607
57672
  cardListLight,
57608
57673
  props,
57609
57674
  mergedClsPrefixRef
@@ -57689,6 +57754,7 @@
57689
57754
  subtitle: card.subtitle,
57690
57755
  items: card.items,
57691
57756
  direction: card.direction,
57757
+ embedded: card.embedded,
57692
57758
  dropdown: card.dropdown,
57693
57759
  ...cardProps,
57694
57760
  renderDivider: showDivider ? renderDivider : () => null
@@ -58070,7 +58136,7 @@
58070
58136
  }
58071
58137
  });
58072
58138
 
58073
- var style$12 = cB("carousel", `
58139
+ var style$13 = cB("carousel", `
58074
58140
  position: relative;
58075
58141
  width: 100%;
58076
58142
  height: 100%;
@@ -58976,7 +59042,7 @@
58976
59042
  const themeRef = useTheme(
58977
59043
  "Carousel",
58978
59044
  "-carousel",
58979
- style$12,
59045
+ style$13,
58980
59046
  carouselLight,
58981
59047
  props,
58982
59048
  mergedClsPrefixRef
@@ -59173,7 +59239,7 @@
59173
59239
 
59174
59240
  var LineMark = /* @__PURE__ */ vue.h("svg", { width: "22", height: "24", viewBox: "0 0 22 24", class: "line-icon" }, /* @__PURE__ */ vue.h("path", { d: "M5.49998 13C5.24026 13 5.0224 12.904 4.8464 12.712C4.67101 12.5207 4.58331 12.2833 4.58331 12C4.58331 11.7167 4.67101 11.479 4.8464 11.287C5.0224 11.0957 5.24026 11 5.49998 11H16.5C16.7597 11 16.9773 11.0957 17.1526 11.287C17.3286 11.479 17.4166 11.7167 17.4166 12C17.4166 12.2833 17.3286 12.5207 17.1526 12.712C16.9773 12.904 16.7597 13 16.5 13H5.49998Z" }));
59175
59241
 
59176
- var style$11 = c$1([iconSwitchTransition(), c$1("@keyframes ripple", {
59242
+ var style$12 = c$1([iconSwitchTransition(), c$1("@keyframes ripple", {
59177
59243
  from: {
59178
59244
  transform: "scale(0)"
59179
59245
  },
@@ -59365,7 +59431,7 @@
59365
59431
  const themeRef = useTheme(
59366
59432
  "Checkbox",
59367
59433
  "-checkbox",
59368
- style$11,
59434
+ style$12,
59369
59435
  checkboxLight,
59370
59436
  props,
59371
59437
  mergedClsPrefixRef
@@ -59621,7 +59687,7 @@
59621
59687
  return /* @__PURE__ */ new Set();
59622
59688
  });
59623
59689
  function toggleCheckbox(checked, checkboxValue) {
59624
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
59690
+ const { triggerFormInput, triggerFormChange } = formItem;
59625
59691
  const {
59626
59692
  onChange,
59627
59693
  "onUpdate:value": _onUpdateValue,
@@ -59645,8 +59711,8 @@
59645
59711
  value: checkboxValue
59646
59712
  });
59647
59713
  }
59648
- nTriggerFormInput();
59649
- nTriggerFormChange();
59714
+ triggerFormInput();
59715
+ triggerFormChange();
59650
59716
  uncontrolledValueRef.value = groupValue;
59651
59717
  if (onChange) call(onChange, groupValue);
59652
59718
  }
@@ -59667,8 +59733,8 @@
59667
59733
  }
59668
59734
  if (onChange) call(onChange, groupValue);
59669
59735
  uncontrolledValueRef.value = groupValue;
59670
- nTriggerFormInput();
59671
- nTriggerFormChange();
59736
+ triggerFormInput();
59737
+ triggerFormChange();
59672
59738
  }
59673
59739
  }
59674
59740
  } else {
@@ -59687,8 +59753,8 @@
59687
59753
  }
59688
59754
  if (onChange) call(onChange, [checkboxValue]);
59689
59755
  uncontrolledValueRef.value = [checkboxValue];
59690
- nTriggerFormInput();
59691
- nTriggerFormChange();
59756
+ triggerFormInput();
59757
+ triggerFormChange();
59692
59758
  } else {
59693
59759
  if (onUpdateValue) {
59694
59760
  call(onUpdateValue, [], {
@@ -59704,8 +59770,8 @@
59704
59770
  }
59705
59771
  if (onChange) call(onChange, []);
59706
59772
  uncontrolledValueRef.value = [];
59707
- nTriggerFormInput();
59708
- nTriggerFormChange();
59773
+ triggerFormInput();
59774
+ triggerFormChange();
59709
59775
  }
59710
59776
  }
59711
59777
  }
@@ -60387,7 +60453,7 @@
60387
60453
  }
60388
60454
  });
60389
60455
 
60390
- var style$10 = c$1([cB("cascader-menu", `
60456
+ var style$11 = c$1([cB("cascader-menu", `
60391
60457
  outline: none;
60392
60458
  position: relative;
60393
60459
  margin: 4px 0;
@@ -60628,7 +60694,7 @@
60628
60694
  const themeRef = useTheme(
60629
60695
  "Cascader",
60630
60696
  "-cascader",
60631
- style$10,
60697
+ style$11,
60632
60698
  cascaderLight,
60633
60699
  props,
60634
60700
  mergedClsPrefixRef
@@ -60740,7 +60806,7 @@
60740
60806
  "onUpdate:value": _onUpdateValue,
60741
60807
  onChange
60742
60808
  } = props;
60743
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
60809
+ const { triggerFormInput, triggerFormChange } = formItem;
60744
60810
  if (onUpdateValue) {
60745
60811
  call(onUpdateValue, value, option, optionPath);
60746
60812
  }
@@ -60751,8 +60817,8 @@
60751
60817
  call(onChange, value, option, optionPath);
60752
60818
  }
60753
60819
  uncontrolledValueRef.value = value;
60754
- nTriggerFormInput();
60755
- nTriggerFormChange();
60820
+ triggerFormInput();
60821
+ triggerFormChange();
60756
60822
  }
60757
60823
  function updateKeyboardKey(key) {
60758
60824
  keyboardKeyRef.value = key;
@@ -60939,15 +61005,15 @@
60939
61005
  );
60940
61006
  function doBlur(e) {
60941
61007
  const { onBlur } = props;
60942
- const { nTriggerFormBlur } = formItem;
61008
+ const { triggerFormBlur } = formItem;
60943
61009
  if (onBlur) call(onBlur, e);
60944
- nTriggerFormBlur();
61010
+ triggerFormBlur();
60945
61011
  }
60946
61012
  function doFocus(e) {
60947
61013
  const { onFocus } = props;
60948
- const { nTriggerFormFocus } = formItem;
61014
+ const { triggerFormFocus } = formItem;
60949
61015
  if (onFocus) call(onFocus, e);
60950
- nTriggerFormFocus();
61016
+ triggerFormFocus();
60951
61017
  }
60952
61018
  function focusSelectionInput() {
60953
61019
  triggerInstRef.value?.focusInput();
@@ -61527,7 +61593,7 @@
61527
61593
  }
61528
61594
  });
61529
61595
 
61530
- var style$$ = c$1([cB("code", `
61596
+ var style$10 = c$1([cB("code", `
61531
61597
  font-size: var(--u-font-size);
61532
61598
  font-family: var(--u-font-family);
61533
61599
  `, [cM("show-line-numbers", `
@@ -61693,7 +61759,7 @@
61693
61759
  const themeRef = useTheme(
61694
61760
  "Code",
61695
61761
  "-code",
61696
- style$$,
61762
+ style$10,
61697
61763
  codeLight,
61698
61764
  props,
61699
61765
  mergedClsPrefixRef
@@ -61792,7 +61858,7 @@
61792
61858
  }
61793
61859
  });
61794
61860
 
61795
- var style$_ = cB("collapse", "width: 100%;", [cB("collapse-item", `
61861
+ var style$$ = cB("collapse", "width: 100%;", [cB("collapse-item", `
61796
61862
  font-size: var(--u-font-size);
61797
61863
  line-height: var(--u-line-height);
61798
61864
  color: var(--u-text-color);
@@ -61894,7 +61960,7 @@
61894
61960
  const themeRef = useTheme(
61895
61961
  "Collapse",
61896
61962
  "-collapse",
61897
- style$_,
61963
+ style$$,
61898
61964
  collapseLight,
61899
61965
  props,
61900
61966
  mergedClsPrefixRef
@@ -62207,7 +62273,7 @@
62207
62273
  }
62208
62274
  });
62209
62275
 
62210
- var style$Z = cB("collapse-transition", {
62276
+ var style$_ = cB("collapse-transition", {
62211
62277
  width: "100%"
62212
62278
  }, [fadeInHeightExpandTransition()]);
62213
62279
 
@@ -62246,7 +62312,7 @@
62246
62312
  const mergedThemeRef = useTheme(
62247
62313
  "CollapseTransition",
62248
62314
  "-collapse-transition",
62249
- style$Z,
62315
+ style$_,
62250
62316
  collapseTransitionLight,
62251
62317
  props,
62252
62318
  mergedClsPrefixRef
@@ -62789,7 +62855,7 @@
62789
62855
 
62790
62856
  const popselectInjectionKey = createInjectionKey("u-popselect");
62791
62857
 
62792
- var style$Y = cB("popselect-menu", `
62858
+ var style$Z = cB("popselect-menu", `
62793
62859
  box-shadow: var(--u-menu-box-shadow);
62794
62860
  `);
62795
62861
 
@@ -62843,7 +62909,7 @@
62843
62909
  const themeRef = useTheme(
62844
62910
  "Popselect",
62845
62911
  "-pop-select",
62846
- style$Y,
62912
+ style$Z,
62847
62913
  popselectLight,
62848
62914
  UPopselect.props,
62849
62915
  mergedClsPrefixRef
@@ -63076,7 +63142,7 @@
63076
63142
  }
63077
63143
  });
63078
63144
 
63079
- var style$X = c$1([cB("select", `
63145
+ var style$Y = c$1([cB("select", `
63080
63146
  z-index: auto;
63081
63147
  outline: none;
63082
63148
  width: 100%;
@@ -63239,7 +63305,7 @@
63239
63305
  const themeRef = useTheme(
63240
63306
  "Select",
63241
63307
  "-select",
63242
- style$X,
63308
+ style$Y,
63243
63309
  selectLight,
63244
63310
  props,
63245
63311
  mergedClsPrefixRef
@@ -63392,21 +63458,21 @@
63392
63458
  "onUpdate:value": _onUpdateValue,
63393
63459
  onUpdateValue
63394
63460
  } = props;
63395
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
63461
+ const { triggerFormChange, triggerFormInput } = formItem;
63396
63462
  if (onChange) call(onChange, value, option);
63397
63463
  if (onUpdateValue) call(onUpdateValue, value, option);
63398
63464
  if (_onUpdateValue) {
63399
63465
  call(_onUpdateValue, value, option);
63400
63466
  }
63401
63467
  uncontrolledValueRef.value = value;
63402
- nTriggerFormChange();
63403
- nTriggerFormInput();
63468
+ triggerFormChange();
63469
+ triggerFormInput();
63404
63470
  }
63405
63471
  function doBlur(e) {
63406
63472
  const { onBlur } = props;
63407
- const { nTriggerFormBlur } = formItem;
63473
+ const { triggerFormBlur } = formItem;
63408
63474
  if (onBlur) call(onBlur, e);
63409
- nTriggerFormBlur();
63475
+ triggerFormBlur();
63410
63476
  }
63411
63477
  function doClear() {
63412
63478
  const { onClear } = props;
@@ -63414,9 +63480,9 @@
63414
63480
  }
63415
63481
  function doFocus(e) {
63416
63482
  const { onFocus, showOnFocus } = props;
63417
- const { nTriggerFormFocus } = formItem;
63483
+ const { triggerFormFocus } = formItem;
63418
63484
  if (onFocus) call(onFocus, e);
63419
- nTriggerFormFocus();
63485
+ triggerFormFocus();
63420
63486
  if (showOnFocus) {
63421
63487
  openMenu();
63422
63488
  }
@@ -64125,7 +64191,7 @@
64125
64191
  border: var(--u-button-border-hover);
64126
64192
  color: var(--u-button-icon-color-hover);
64127
64193
  `)];
64128
- var style$W = cB("pagination", `
64194
+ var style$X = cB("pagination", `
64129
64195
  display: flex;
64130
64196
  width: 100%;
64131
64197
  justify-content: space-between;
@@ -64332,7 +64398,7 @@
64332
64398
  const themeRef = useTheme(
64333
64399
  "Pagination",
64334
64400
  "-pagination",
64335
- style$W,
64401
+ style$X,
64336
64402
  paginationLight,
64337
64403
  props,
64338
64404
  mergedClsPrefixRef
@@ -65212,7 +65278,7 @@
65212
65278
  }
65213
65279
  });
65214
65280
 
65215
- var style$V = cB("radio", `
65281
+ var style$W = cB("radio", `
65216
65282
  outline: none;
65217
65283
  position: relative;
65218
65284
  user-select: none;
@@ -65361,7 +65427,7 @@
65361
65427
  const themeRef = useTheme(
65362
65428
  "Radio",
65363
65429
  "-radio",
65364
- style$V,
65430
+ style$W,
65365
65431
  radioLight,
65366
65432
  props,
65367
65433
  radio.mergedClsPrefix
@@ -65501,7 +65567,7 @@
65501
65567
  }
65502
65568
  });
65503
65569
 
65504
- var style$U = cB("radio-group", `
65570
+ var style$V = cB("radio-group", `
65505
65571
  display: inline-block;
65506
65572
  font-size: var(--u-font-size);
65507
65573
  `, [cE("splitor", `
@@ -65672,16 +65738,16 @@
65672
65738
  const {
65673
65739
  mergedSizeRef,
65674
65740
  mergedDisabledRef,
65675
- nTriggerFormChange,
65676
- nTriggerFormInput,
65677
- nTriggerFormBlur,
65678
- nTriggerFormFocus
65741
+ triggerFormChange,
65742
+ triggerFormInput,
65743
+ triggerFormBlur,
65744
+ triggerFormFocus
65679
65745
  } = useFormItem(props);
65680
65746
  const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = useConfig(props);
65681
65747
  const themeRef = useTheme(
65682
65748
  "Radio",
65683
65749
  "-radio-group",
65684
- style$U,
65750
+ style$V,
65685
65751
  radioLight,
65686
65752
  props,
65687
65753
  mergedClsPrefixRef
@@ -65701,20 +65767,20 @@
65701
65767
  call(_onUpdateValue, value);
65702
65768
  }
65703
65769
  uncontrolledValueRef.value = value;
65704
- nTriggerFormChange();
65705
- nTriggerFormInput();
65770
+ triggerFormChange();
65771
+ triggerFormInput();
65706
65772
  }
65707
65773
  function handleFocusin(e) {
65708
65774
  const { value: selfEl } = selfElRef;
65709
65775
  if (!selfEl) return;
65710
65776
  if (selfEl.contains(e.relatedTarget)) return;
65711
- nTriggerFormFocus();
65777
+ triggerFormFocus();
65712
65778
  }
65713
65779
  function handleFocusout(e) {
65714
65780
  const { value: selfEl } = selfElRef;
65715
65781
  if (!selfEl) return;
65716
65782
  if (selfEl.contains(e.relatedTarget)) return;
65717
- nTriggerFormBlur();
65783
+ triggerFormBlur();
65718
65784
  }
65719
65785
  vue.provide(radioGroupInjectionKey, {
65720
65786
  mergedClsPrefixRef,
@@ -65854,6 +65920,18 @@
65854
65920
  ONLY_DIGITS: /\D/g,
65855
65921
  ONLY_NUMERIC_AND_DOT: /[^\d.]/g
65856
65922
  };
65923
+ const defaultNumericMask = {
65924
+ postProcess: value => {
65925
+ if (!value) return "";
65926
+ const isNegative = value.trim().startsWith("-");
65927
+ const cleaned = value.replace(/[^\d.]/g, "");
65928
+ const [intPartRaw, decimalPartRaw = ""] = cleaned.split(".", 2);
65929
+ const intPart = intPartRaw.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
65930
+ const decimalPart = decimalPartRaw.slice(0, 2);
65931
+ const result = cleaned.includes(".") ? `${intPart}.${decimalPart}` : intPart;
65932
+ return isNegative ? `-${result}` : result;
65933
+ }
65934
+ };
65857
65935
  function getNumberColWidth(col) {
65858
65936
  if (col.type === "selection") {
65859
65937
  return col.width === void 0 ? SELECTION_COL_WIDTH : depx(col.width);
@@ -66938,7 +67016,7 @@
66938
67016
  }
66939
67017
  });
66940
67018
 
66941
- var style$T = cB("dropdown-menu", `
67019
+ var style$U = cB("dropdown-menu", `
66942
67020
  transform-origin: var(--v-transform-origin);
66943
67021
  background-color: var(--u-color);
66944
67022
  border-radius: var(--u-border-radius);
@@ -67185,7 +67263,7 @@
67185
67263
  const themeRef = useTheme(
67186
67264
  "Dropdown",
67187
67265
  "-dropdown",
67188
- style$T,
67266
+ style$U,
67189
67267
  dropdownLight,
67190
67268
  props,
67191
67269
  mergedClsPrefixRef
@@ -85648,39 +85726,6 @@
85648
85726
  }
85649
85727
  return stringValue;
85650
85728
  }
85651
- function processInputWithMask(value, mask) {
85652
- if (!mask) {
85653
- return {
85654
- processedValue: value,
85655
- displayValue: value
85656
- };
85657
- }
85658
- if (typeof mask === "function") {
85659
- const processedValue = mask(value);
85660
- return {
85661
- processedValue,
85662
- displayValue: processedValue
85663
- };
85664
- } else if (typeof mask === "object" && mask.postProcess) {
85665
- const displayValue = mask.postProcess(value);
85666
- const cleanValue = value.replace(REGEX.ONLY_DIGITS, "");
85667
- const processedValue = cleanValue ? parseFloat(cleanValue) : 0;
85668
- return {
85669
- processedValue,
85670
- displayValue
85671
- };
85672
- } else if (typeof mask === "string") {
85673
- const displayValue = applyMask(value, mask);
85674
- return {
85675
- processedValue: value,
85676
- displayValue
85677
- };
85678
- }
85679
- return {
85680
- processedValue: value,
85681
- displayValue: value
85682
- };
85683
- }
85684
85729
 
85685
85730
  var Cell = vue.defineComponent({
85686
85731
  name: "DataTableCell",
@@ -85712,7 +85757,9 @@
85712
85757
  render() {
85713
85758
  const { isSummary, column, row, renderCell } = this;
85714
85759
  let cell;
85715
- const { render, key, ellipsis, editable, mask } = column;
85760
+ let { mask } = column;
85761
+ const { render, key, ellipsis, editable, numeric } = column;
85762
+ if (numeric && !mask) mask = defaultNumericMask;
85716
85763
  if (render && !isSummary) {
85717
85764
  let cellValue = render(row, this.index);
85718
85765
  if (mask && cellValue !== null && cellValue !== void 0) {
@@ -85723,38 +85770,93 @@
85723
85770
  cell = cellValue;
85724
85771
  } else if (editable && !isSummary) {
85725
85772
  const { placeholder } = column;
85726
- let initialValue = String(row[key] || "");
85727
- if (mask && initialValue) {
85728
- initialValue = processMaskedValue(initialValue, mask);
85729
- }
85773
+ const rawValue = String(row[key] || "");
85774
+ const displayValue = mask ? processMaskedValue(rawValue, mask) : rawValue;
85775
+ const isEditingRef = { current: false };
85730
85776
  const inputProps = {
85731
85777
  class: `${this.clsPrefix}-data-table-editable-input`,
85732
- value: initialValue,
85778
+ value: displayValue,
85733
85779
  placeholder: placeholder || "",
85780
+ onFocus: (e) => {
85781
+ const input = e.target;
85782
+ isEditingRef.current = true;
85783
+ input.value = rawValue;
85784
+ },
85785
+ onKeyDown: (e) => {
85786
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85787
+ const input = e.target;
85788
+ input.value = rawValue;
85789
+ }
85790
+ },
85734
85791
  onInput: (e) => {
85735
- const value = e.target.value;
85736
- if (mask) {
85737
- const { processedValue, displayValue } = processInputWithMask(
85738
- value,
85739
- mask
85740
- );
85741
- setTimeout(() => {
85742
- const input = e.target;
85743
- if (input.value !== displayValue) {
85744
- const cursorPos = input.selectionStart || 0;
85745
- input.value = displayValue;
85746
- input.setSelectionRange(cursorPos, cursorPos);
85792
+ const input = e.target;
85793
+ const value = input.value;
85794
+ if (mask && typeof mask === "function" && !isEditingRef.current) {
85795
+ isEditingRef.current = true;
85796
+ }
85797
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85798
+ const rawValue2 = value.replace(/\$/g, "").replace(/[^\d.,]/g, "");
85799
+ input.value = rawValue2;
85800
+ let processedValue2 = rawValue2;
85801
+ if (numeric && rawValue2 !== "") {
85802
+ const cleanValue = rawValue2.replace(/[^\d.,]/g, "").replace(",", ".");
85803
+ const numValue = Number(cleanValue);
85804
+ if (!isNaN(numValue)) {
85805
+ processedValue2 = numValue;
85806
+ }
85807
+ }
85808
+ this.$emit("edit", processedValue2, row, key);
85809
+ void Promise.resolve().then(() => {
85810
+ if (isEditingRef.current && input.value !== rawValue2) {
85811
+ input.value = rawValue2;
85747
85812
  }
85748
85813
  });
85749
- this.$emit("edit", processedValue, row, key);
85750
- } else {
85751
- this.$emit("edit", value, row, key);
85814
+ return;
85815
+ }
85816
+ let processedValue = value;
85817
+ if (numeric && value !== "") {
85818
+ const cleanValue = value.replace(/[^\d.,]/g, "").replace(",", ".");
85819
+ const numValue = Number(cleanValue);
85820
+ if (!isNaN(numValue)) {
85821
+ processedValue = numValue;
85822
+ }
85823
+ }
85824
+ this.$emit("edit", processedValue, row, key);
85825
+ },
85826
+ onKeyUp: (e) => {
85827
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85828
+ const input = e.target;
85829
+ input.value = rawValue;
85830
+ }
85831
+ },
85832
+ onChange: (e) => {
85833
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85834
+ const input = e.target;
85835
+ setTimeout(() => {
85836
+ if (isEditingRef.current && input.value !== rawValue) {
85837
+ input.value = rawValue;
85838
+ }
85839
+ }, 0);
85840
+ setTimeout(() => {
85841
+ if (isEditingRef.current && input.value !== rawValue) {
85842
+ input.value = rawValue;
85843
+ }
85844
+ }, 10);
85845
+ }
85846
+ },
85847
+ onBlur: (e) => {
85848
+ isEditingRef.current = false;
85849
+ if (mask) {
85850
+ const input = e.target;
85851
+ let currentValue = input.value;
85852
+ if (numeric && currentValue !== "") {
85853
+ currentValue = currentValue.replace(",", ".");
85854
+ }
85855
+ const maskedValue = processMaskedValue(currentValue, mask);
85856
+ input.value = maskedValue;
85752
85857
  }
85753
85858
  }
85754
85859
  };
85755
- if (mask) {
85756
- inputProps["data-mask"] = typeof mask === "string" ? mask : JSON.stringify(mask);
85757
- }
85758
85860
  cell = vue.h("input", inputProps);
85759
85861
  } else {
85760
85862
  if (isSummary) {
@@ -86672,7 +86774,7 @@
86672
86774
  column.type === "expand" && `${mergedClsPrefix}-data-table-td--expand`,
86673
86775
  isLastCol && `${mergedClsPrefix}-data-table-td--last-col`,
86674
86776
  isLastRow && `${mergedClsPrefix}-data-table-td--last-row`,
86675
- "editable" in column && column.editable && `${mergedClsPrefix}-data-table-td--editable`
86777
+ "editable" in column && column.editable && !isSummary && `${mergedClsPrefix}-data-table-td--editable`
86676
86778
  ]
86677
86779
  },
86678
86780
  column.fixed && /* @__PURE__ */ vue.h(
@@ -86789,7 +86891,7 @@
86789
86891
  ) : null
86790
86892
  );
86791
86893
  } else {
86792
- if (this.loading) {
86894
+ if (this.loading || this.loadingSkeleton) {
86793
86895
  return /* @__PURE__ */ vue.h(
86794
86896
  "table",
86795
86897
  {
@@ -86834,7 +86936,7 @@
86834
86936
  }
86835
86937
  }
86836
86938
  );
86837
- if (this.empty) {
86939
+ if (this.empty && !this.loadingSkeleton) {
86838
86940
  const createEmptyNode = () => /* @__PURE__ */ vue.h(
86839
86941
  "div",
86840
86942
  {
@@ -88024,7 +88126,7 @@
88024
88126
  }
88025
88127
 
88026
88128
  const fixedColumnStyle = createFixedColumnStyle();
88027
- var style$S = c$1([cB("data-table", `
88129
+ var style$T = c$1([cB("data-table", `
88028
88130
  width: 100%;
88029
88131
  font-size: var(--u-font-size);
88030
88132
  display: flex;
@@ -88273,19 +88375,22 @@
88273
88375
  `), cM("editable", `
88274
88376
  cursor: pointer;
88275
88377
  position: relative;
88276
-
88378
+ padding: 0;
88379
+
88277
88380
  .u-data-table-editable-input {
88278
88381
  appearance: none;
88279
88382
  text-align: right;
88280
88383
  border: none;
88281
88384
  background: none;
88282
88385
  outline: none;
88283
- padding: 0;
88386
+ box-sizing: border-box;
88387
+ padding: var(--u-td-padding);
88284
88388
  margin: 0;
88285
88389
  font: inherit;
88286
88390
  color: inherit;
88287
88391
  box-shadow: none;
88288
- width: '100%';
88392
+ height: 100%;
88393
+ width: 100%;
88289
88394
  }
88290
88395
  `), fixedColumnStyle]), cB("data-table-empty", `
88291
88396
  box-sizing: border-box;
@@ -88482,7 +88587,7 @@
88482
88587
  const themeRef = useTheme(
88483
88588
  "DataTable",
88484
88589
  "-data-table",
88485
- style$S,
88590
+ style$T,
88486
88591
  dataTableLight,
88487
88592
  props,
88488
88593
  mergedClsPrefixRef
@@ -88572,7 +88677,7 @@
88572
88677
  columns.forEach((col) => {
88573
88678
  if ("children" in col) return;
88574
88679
  if (!("totalRow" in col) || !col.totalRow) return;
88575
- const { key, totalRow, render, mask } = col;
88680
+ const { key, totalRow, render } = col;
88576
88681
  if (!totalRow) return;
88577
88682
  if (totalRow.type === "default") {
88578
88683
  summaryRow[key] = { value: totalRow.value || "" };
@@ -88583,13 +88688,11 @@
88583
88688
  return Number(renderedValue) || 0;
88584
88689
  });
88585
88690
  const sum = values.reduce((sum2, val) => sum2 + val, 0);
88586
- const finalValue = mask ? processMaskedValue(String(sum), mask) : sum;
88587
- summaryRow[key] = { value: finalValue };
88691
+ summaryRow[key] = { value: sum };
88588
88692
  } else {
88589
88693
  const values = pageData.map((row) => Number(row[key]) || 0);
88590
88694
  const sum = values.reduce((sum2, val) => sum2 + val, 0);
88591
- const finalValue = mask ? processMaskedValue(String(sum), mask) : sum;
88592
- summaryRow[key] = { value: finalValue };
88695
+ summaryRow[key] = { value: sum };
88593
88696
  }
88594
88697
  } else {
88595
88698
  const config = {
@@ -88802,6 +88905,21 @@
88802
88905
  clearFilter,
88803
88906
  scrollTo: (arg0, arg1) => {
88804
88907
  mainTableInstRef.value?.scrollTo(arg0, arg1);
88908
+ },
88909
+ getData: () => {
88910
+ const originalData = props.data || [];
88911
+ const totalRowData = autoSummaryRef.value && rawPaginatedDataRef.value ? autoSummaryRef.value(rawPaginatedDataRef.value) : null;
88912
+ return {
88913
+ data: originalData,
88914
+ totalRows: totalRowData
88915
+ };
88916
+ },
88917
+ getTotalRowData: () => {
88918
+ if (autoSummaryRef.value && rawPaginatedDataRef.value) {
88919
+ const summaryResult = autoSummaryRef.value(rawPaginatedDataRef.value);
88920
+ return summaryResult;
88921
+ }
88922
+ return null;
88805
88923
  }
88806
88924
  };
88807
88925
  const cssVarsRef = vue.computed(() => {
@@ -93729,7 +93847,7 @@
93729
93847
  }
93730
93848
  });
93731
93849
 
93732
- var style$R = c$1([cB("time-picker", `
93850
+ var style$S = c$1([cB("time-picker", `
93733
93851
  z-index: auto;
93734
93852
  position: relative;
93735
93853
  `, [cB("time-picker-icon", `
@@ -93924,7 +94042,7 @@
93924
94042
  const themeRef = useTheme(
93925
94043
  "TimePicker",
93926
94044
  "-time-picker",
93927
- style$R,
94045
+ style$S,
93928
94046
  timePickerLight,
93929
94047
  props,
93930
94048
  mergedClsPrefixRef
@@ -94098,7 +94216,7 @@
94098
94216
  "onUpdate:value": _onUpdateValue,
94099
94217
  onChange
94100
94218
  } = props;
94101
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
94219
+ const { triggerFormChange, triggerFormInput } = formItem;
94102
94220
  const formattedValue = createFormattedValue(value);
94103
94221
  if (onUpdateValue) {
94104
94222
  call(onUpdateValue, value, formattedValue);
@@ -94109,20 +94227,20 @@
94109
94227
  if (onChange) call(onChange, value, formattedValue);
94110
94228
  doUpdateFormattedValue(formattedValue, value);
94111
94229
  uncontrolledValueRef.value = value;
94112
- nTriggerFormChange();
94113
- nTriggerFormInput();
94230
+ triggerFormChange();
94231
+ triggerFormInput();
94114
94232
  }
94115
94233
  function doFocus(e) {
94116
94234
  const { onFocus } = props;
94117
- const { nTriggerFormFocus } = formItem;
94235
+ const { triggerFormFocus } = formItem;
94118
94236
  if (onFocus) call(onFocus, e);
94119
- nTriggerFormFocus();
94237
+ triggerFormFocus();
94120
94238
  }
94121
94239
  function doBlur(e) {
94122
94240
  const { onBlur } = props;
94123
- const { nTriggerFormBlur } = formItem;
94241
+ const { triggerFormBlur } = formItem;
94124
94242
  if (onBlur) call(onBlur, e);
94125
- nTriggerFormBlur();
94243
+ triggerFormBlur();
94126
94244
  }
94127
94245
  function doConfirm() {
94128
94246
  const { onConfirm } = props;
@@ -97029,7 +97147,7 @@
97029
97147
  }
97030
97148
  });
97031
97149
 
97032
- var style$Q = c$1([cB("date-picker", `
97150
+ var style$R = c$1([cB("date-picker", `
97033
97151
  position: relative;
97034
97152
  z-index: auto;
97035
97153
  `, [cB("date-picker-icon", `
@@ -97543,7 +97661,7 @@
97543
97661
  const themeRef = useTheme(
97544
97662
  "DatePicker",
97545
97663
  "-date-picker",
97546
- style$Q,
97664
+ style$R,
97547
97665
  datePickerLight,
97548
97666
  props,
97549
97667
  mergedClsPrefixRef
@@ -97709,7 +97827,7 @@
97709
97827
  onUpdateValue,
97710
97828
  onChange
97711
97829
  } = props;
97712
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
97830
+ const { triggerFormChange, triggerFormInput } = formItem;
97713
97831
  const formattedValue = getFormattedValue(value);
97714
97832
  if (options.doConfirm) {
97715
97833
  doConfirm(value, formattedValue);
@@ -97723,8 +97841,8 @@
97723
97841
  if (onChange) call(onChange, value, formattedValue);
97724
97842
  uncontrolledValueRef.value = value;
97725
97843
  doUpdateFormattedValue(formattedValue, value);
97726
- nTriggerFormChange();
97727
- nTriggerFormInput();
97844
+ triggerFormChange();
97845
+ triggerFormInput();
97728
97846
  }
97729
97847
  function doClear() {
97730
97848
  const { onClear } = props;
@@ -97736,15 +97854,15 @@
97736
97854
  }
97737
97855
  function doFocus(e) {
97738
97856
  const { onFocus } = props;
97739
- const { nTriggerFormFocus } = formItem;
97857
+ const { triggerFormFocus } = formItem;
97740
97858
  if (onFocus) call(onFocus, e);
97741
- nTriggerFormFocus();
97859
+ triggerFormFocus();
97742
97860
  }
97743
97861
  function doBlur(e) {
97744
97862
  const { onBlur } = props;
97745
- const { nTriggerFormBlur } = formItem;
97863
+ const { triggerFormBlur } = formItem;
97746
97864
  if (onBlur) call(onBlur, e);
97747
- nTriggerFormBlur();
97865
+ triggerFormBlur();
97748
97866
  }
97749
97867
  function doUpdateShow(show) {
97750
97868
  const { "onUpdate:show": _onUpdateShow, onUpdateShow } = props;
@@ -98452,7 +98570,7 @@
98452
98570
  return false;
98453
98571
  }
98454
98572
 
98455
- var style$P = c$1([cB("descriptions", {
98573
+ var style$Q = c$1([cB("descriptions", {
98456
98574
  fontSize: "var(--u-font-size)"
98457
98575
  }, [cB("descriptions-separator", `
98458
98576
  display: inline-block;
@@ -98587,7 +98705,7 @@
98587
98705
  const themeRef = useTheme(
98588
98706
  "Descriptions",
98589
98707
  "-descriptions",
98590
- style$P,
98708
+ style$Q,
98591
98709
  descriptionsLight,
98592
98710
  props,
98593
98711
  mergedClsPrefixRef
@@ -98874,7 +98992,7 @@
98874
98992
  };
98875
98993
  const dialogPropKeys = keysOf(dialogProps);
98876
98994
 
98877
- var style$O = c$1([cB("dialog", `
98995
+ var style$P = c$1([cB("dialog", `
98878
98996
  word-break: break-word;
98879
98997
  position: relative;
98880
98998
  background: var(--u-color);
@@ -98988,7 +99106,7 @@
98988
99106
  const themeRef = useTheme(
98989
99107
  "Dialog",
98990
99108
  "-dialog",
98991
- style$O,
99109
+ style$P,
98992
99110
  dialogLight,
98993
99111
  props,
98994
99112
  mergedClsPrefixRef
@@ -99456,7 +99574,7 @@
99456
99574
  }
99457
99575
  });
99458
99576
 
99459
- var style$N = c$1([cB("modal-container", `
99577
+ var style$O = c$1([cB("modal-container", `
99460
99578
  position: fixed;
99461
99579
  left: 0;
99462
99580
  top: 0;
@@ -99588,7 +99706,7 @@
99588
99706
  const themeRef = useTheme(
99589
99707
  "Modal",
99590
99708
  "-modal",
99591
- style$N,
99709
+ style$O,
99592
99710
  modalLight,
99593
99711
  props,
99594
99712
  mergedClsPrefixRef
@@ -100047,7 +100165,7 @@
100047
100165
  return dialogReactiveList;
100048
100166
  }
100049
100167
 
100050
- var style$M = cB("divider", `
100168
+ var style$N = cB("divider", `
100051
100169
  position: relative;
100052
100170
  display: flex;
100053
100171
  width: 100%;
@@ -100118,7 +100236,7 @@
100118
100236
  const themeRef = useTheme(
100119
100237
  "Divider",
100120
100238
  "-divider",
100121
- style$M,
100239
+ style$N,
100122
100240
  dividerLight,
100123
100241
  props,
100124
100242
  mergedClsPrefixRef
@@ -100553,7 +100671,7 @@
100553
100671
  })];
100554
100672
  }
100555
100673
 
100556
- var style$L = c$1([cB("drawer", `
100674
+ var style$M = c$1([cB("drawer", `
100557
100675
  word-break: break-word;
100558
100676
  position: absolute;
100559
100677
  pointer-events: all;
@@ -100848,7 +100966,7 @@
100848
100966
  const themeRef = useTheme(
100849
100967
  "Drawer",
100850
100968
  "-drawer",
100851
- style$L,
100969
+ style$M,
100852
100970
  drawerLight,
100853
100971
  props,
100854
100972
  mergedClsPrefixRef
@@ -101420,7 +101538,7 @@
101420
101538
  }
101421
101539
  });
101422
101540
 
101423
- var style$K = cB("dynamic-input", {
101541
+ var style$L = cB("dynamic-input", {
101424
101542
  width: "100%"
101425
101543
  }, [cB("dynamic-input-item", `
101426
101544
  margin-bottom: 10px;
@@ -101534,7 +101652,7 @@
101534
101652
  const themeRef = useTheme(
101535
101653
  "DynamicInput",
101536
101654
  "-dynamic-input",
101537
- style$K,
101655
+ style$L,
101538
101656
  dynamicInputLight,
101539
101657
  props,
101540
101658
  mergedClsPrefixRef
@@ -102031,7 +102149,7 @@
102031
102149
  }
102032
102150
  });
102033
102151
 
102034
- var style$J = cB("dynamic-tags", [cB("input", {
102152
+ var style$K = cB("dynamic-tags", [cB("input", {
102035
102153
  minWidth: "var(--u-input-width)"
102036
102154
  })]);
102037
102155
 
@@ -102090,7 +102208,7 @@
102090
102208
  const themeRef = useTheme(
102091
102209
  "DynamicTags",
102092
102210
  "-dynamic-tags",
102093
- style$J,
102211
+ style$K,
102094
102212
  dynamicTagsLight,
102095
102213
  props,
102096
102214
  mergedClsPrefixRef
@@ -102116,13 +102234,13 @@
102116
102234
  "onUpdate:value": _onUpdateValue,
102117
102235
  onUpdateValue
102118
102236
  } = props;
102119
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
102237
+ const { triggerFormInput, triggerFormChange } = formItem;
102120
102238
  if (onChange) call(onChange, value);
102121
102239
  if (onUpdateValue) call(onUpdateValue, value);
102122
102240
  if (_onUpdateValue) call(_onUpdateValue, value);
102123
102241
  uncontrolledValueRef.value = value;
102124
- nTriggerFormInput();
102125
- nTriggerFormChange();
102242
+ triggerFormInput();
102243
+ triggerFormChange();
102126
102244
  }
102127
102245
  function handleCloseClick(index) {
102128
102246
  const tags = mergedValueRef.value.slice(0);
@@ -102349,7 +102467,7 @@
102349
102467
  }
102350
102468
  });
102351
102469
 
102352
- var style$I = cB("form", [cM("inline", `
102470
+ var style$J = cB("form", [cM("inline", `
102353
102471
  width: 100%;
102354
102472
  display: inline-flex;
102355
102473
  align-items: flex-start;
@@ -102407,7 +102525,7 @@
102407
102525
  props: formProps,
102408
102526
  setup(props) {
102409
102527
  const { mergedClsPrefixRef } = useConfig(props);
102410
- useTheme("Form", "-form", style$I, formLight, props, mergedClsPrefixRef);
102528
+ useTheme("Form", "-form", style$J, formLight, props, mergedClsPrefixRef);
102411
102529
  const formItems = {};
102412
102530
  const maxChildLabelWidthRef = vue.ref(void 0);
102413
102531
  const deriveMaxChildLabelWidth = (currentWidth) => {
@@ -103772,7 +103890,7 @@
103772
103890
  })];
103773
103891
  }
103774
103892
 
103775
- var style$H = cB("form-item", `
103893
+ var style$I = cB("form-item", `
103776
103894
  display: grid;
103777
103895
  `, [cB("form-item-label", `
103778
103896
  grid-area: label;
@@ -103965,7 +104083,7 @@
103965
104083
  const themeRef = useTheme(
103966
104084
  "Form",
103967
104085
  "-form-item",
103968
- style$H,
104086
+ style$I,
103969
104087
  formLight,
103970
104088
  props,
103971
104089
  mergedClsPrefixRef
@@ -104410,7 +104528,7 @@
104410
104528
  right: percent
104411
104529
  })];
104412
104530
  });
104413
- var style$G = c$1([cB("row", {
104531
+ var style$H = c$1([cB("row", {
104414
104532
  width: "100%",
104415
104533
  display: "flex",
104416
104534
  flexWrap: "wrap"
@@ -104442,7 +104560,7 @@
104442
104560
  props: rowProps,
104443
104561
  setup(props) {
104444
104562
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
104445
- useStyle("-legacy-grid", style$G, mergedClsPrefixRef);
104563
+ useStyle("-legacy-grid", style$H, mergedClsPrefixRef);
104446
104564
  const rtlEnabledRef = useRtl("Row", mergedRtlRef, mergedClsPrefixRef);
104447
104565
  const verticalGutterRef = useMemo(() => {
104448
104566
  const { gutter } = props;
@@ -104714,7 +104832,7 @@
104714
104832
  }
104715
104833
  });
104716
104834
 
104717
- var style$F = cB("gradient-text", `
104835
+ var style$G = cB("gradient-text", `
104718
104836
  display: inline-block;
104719
104837
  font-weight: var(--u-font-weight);
104720
104838
  -webkit-background-clip: text;
@@ -104770,7 +104888,7 @@
104770
104888
  const themeRef = useTheme(
104771
104889
  "GradientText",
104772
104890
  "-gradient-text",
104773
- style$F,
104891
+ style$G,
104774
104892
  gradientTextLight,
104775
104893
  props,
104776
104894
  mergedClsPrefixRef
@@ -104856,7 +104974,7 @@
104856
104974
  self: self$5
104857
104975
  };
104858
104976
 
104859
- var style$E = cB("icon-wrapper", `
104977
+ var style$F = cB("icon-wrapper", `
104860
104978
  position: relative;
104861
104979
  display: inline-flex;
104862
104980
  align-items: center;
@@ -104908,7 +105026,7 @@
104908
105026
  const themeRef = useTheme(
104909
105027
  "IconWrapper",
104910
105028
  "-icon-wrapper",
104911
- style$E,
105029
+ style$F,
104912
105030
  iconWrapperLight,
104913
105031
  props,
104914
105032
  mergedClsPrefixRef
@@ -105209,7 +105327,7 @@
105209
105327
  )
105210
105328
  );
105211
105329
 
105212
- var style$D = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
105330
+ var style$E = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
105213
105331
  position: fixed;
105214
105332
  left: 0;
105215
105333
  right: 0;
@@ -105285,7 +105403,7 @@
105285
105403
  const themeRef = useTheme(
105286
105404
  "Image",
105287
105405
  "-image",
105288
- style$D,
105406
+ style$E,
105289
105407
  imageLight,
105290
105408
  props,
105291
105409
  vue.toRef(props, "clsPrefix")
@@ -106112,7 +106230,7 @@
106112
106230
  }
106113
106231
  }
106114
106232
 
106115
- var style$C = c$1([cB("input-number-suffix", `
106233
+ var style$D = c$1([cB("input-number-suffix", `
106116
106234
  display: inline-block;
106117
106235
  margin-right: 10px;
106118
106236
  `), cB("input-number-prefix", `
@@ -106199,7 +106317,7 @@
106199
106317
  const themeRef = useTheme(
106200
106318
  "InputNumber",
106201
106319
  "-input-number",
106202
- style$C,
106320
+ style$D,
106203
106321
  inputNumberLight,
106204
106322
  props,
106205
106323
  mergedClsPrefixRef
@@ -106263,13 +106381,13 @@
106263
106381
  onUpdateValue,
106264
106382
  onChange
106265
106383
  } = props;
106266
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
106384
+ const { triggerFormInput, triggerFormChange } = formItem;
106267
106385
  if (onChange) call(onChange, value);
106268
106386
  if (onUpdateValue) call(onUpdateValue, value);
106269
106387
  if (_onUpdateValue) call(_onUpdateValue, value);
106270
106388
  uncontrolledValueRef.value = value;
106271
- nTriggerFormInput();
106272
- nTriggerFormChange();
106389
+ triggerFormInput();
106390
+ triggerFormChange();
106273
106391
  };
106274
106392
  const deriveValueFromDisplayedValue = ({
106275
106393
  offset,
@@ -106373,9 +106491,9 @@
106373
106491
  });
106374
106492
  function doFocus(e) {
106375
106493
  const { onFocus } = props;
106376
- const { nTriggerFormFocus } = formItem;
106494
+ const { triggerFormFocus } = formItem;
106377
106495
  if (onFocus) call(onFocus, e);
106378
- nTriggerFormFocus();
106496
+ triggerFormFocus();
106379
106497
  }
106380
106498
  function doBlur(e) {
106381
106499
  if (e.target === inputInstRef.value?.wrapperElRef) {
@@ -106399,9 +106517,9 @@
106399
106517
  deriveDisplayedValueFromValue();
106400
106518
  }
106401
106519
  const { onBlur } = props;
106402
- const { nTriggerFormBlur } = formItem;
106520
+ const { triggerFormBlur } = formItem;
106403
106521
  if (onBlur) call(onBlur, e);
106404
- nTriggerFormBlur();
106522
+ triggerFormBlur();
106405
106523
  void vue.nextTick(() => {
106406
106524
  deriveDisplayedValueFromValue();
106407
106525
  });
@@ -106754,6 +106872,344 @@
106754
106872
  }
106755
106873
  });
106756
106874
 
106875
+ var style$C = c$1([cB("input-otp", `
106876
+ display: flex;
106877
+ align-items: center;
106878
+ gap: var(--u-gap);
106879
+ `, [cM("block", "", [cB("input", "", [cNotM("autosize", `
106880
+ text-align: center;
106881
+ min-width: 0;
106882
+ `), cM("autosize", `
106883
+ text-align: center;
106884
+ min-width: 0;
106885
+ `)])]), cNotM("block", "", [cB("input", "", [cNotM("autosize", `
106886
+ width: var(--u-input-width);
106887
+ text-align: center;
106888
+ `), cM("autosize", `
106889
+ width: var(--u-input-width);
106890
+ text-align: center;
106891
+ `)])])])]);
106892
+
106893
+ const inputOtpProps = {
106894
+ ...useTheme.props,
106895
+ defaultValue: { type: Array, default: [] },
106896
+ value: Array,
106897
+ length: {
106898
+ type: Number,
106899
+ default: 6
106900
+ },
106901
+ block: Boolean,
106902
+ size: String,
106903
+ disabled: Boolean,
106904
+ mask: Boolean,
106905
+ readonly: Boolean,
106906
+ status: String,
106907
+ gap: [String, Number],
106908
+ placeholder: { type: String, default: "" },
106909
+ allowInput: Function,
106910
+ onBlur: [Function, Array],
106911
+ onFocus: [Function, Array],
106912
+ "onUpdate:value": [Function, Array],
106913
+ onUpdateValue: [Function, Array],
106914
+ onFinish: [Function, Array]
106915
+ };
106916
+ var InputOtp = vue.defineComponent({
106917
+ name: "InputOtp",
106918
+ props: inputOtpProps,
106919
+ slots: Object,
106920
+ setup(props) {
106921
+ const { mergedClsPrefixRef, mergedRtlRef, inlineThemeDisabled } = useConfig(props);
106922
+ const themeRef = useTheme(
106923
+ "InputOtp",
106924
+ "-input-otp",
106925
+ style$C,
106926
+ inputOtpLight,
106927
+ props,
106928
+ mergedClsPrefixRef
106929
+ );
106930
+ const rtlEnabledRef = useRtl("InputOtp", mergedRtlRef, mergedClsPrefixRef);
106931
+ const formItem = useFormItem(props);
106932
+ const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
106933
+ const cssVarsRef = vue.computed(() => {
106934
+ const { value: size } = mergedSizeRef;
106935
+ const { gap: propGap } = props;
106936
+ const {
106937
+ self: {
106938
+ [createKey("inputWidth", size)]: inputWidth,
106939
+ [createKey("gap", size)]: gap
106940
+ }
106941
+ } = themeRef.value;
106942
+ return {
106943
+ "--u-gap": propGap === void 0 ? gap : typeof propGap === "number" ? pxfy(propGap) : propGap,
106944
+ "--u-input-width": inputWidth
106945
+ };
106946
+ });
106947
+ const themeClassHandle = inlineThemeDisabled ? useThemeClass(
106948
+ "input-otp",
106949
+ vue.computed(() => {
106950
+ const { value: size } = mergedSizeRef;
106951
+ return size[0];
106952
+ }),
106953
+ cssVarsRef,
106954
+ props
106955
+ ) : void 0;
106956
+ const uncontrolledValueRef = vue.ref(props.defaultValue);
106957
+ const controlledValueRef = vue.toRef(props, "value");
106958
+ const mergedValueRef = useMergedState(
106959
+ controlledValueRef,
106960
+ uncontrolledValueRef
106961
+ );
106962
+ const inputRefList = vue.ref([]);
106963
+ const inputTypeRef = vue.computed(
106964
+ () => props.mask ? "password" : "text"
106965
+ );
106966
+ const handleFocus = (event, index) => {
106967
+ if (inputRefList?.value.some(
106968
+ (inputInst) => inputInst.inputElRef === event.relatedTarget
106969
+ )) {
106970
+ return;
106971
+ }
106972
+ const { onFocus } = props;
106973
+ if (onFocus) {
106974
+ call(onFocus, event, index);
106975
+ }
106976
+ const { triggerFormFocus } = formItem;
106977
+ triggerFormFocus();
106978
+ };
106979
+ const handleBlur = (event, index) => {
106980
+ if (inputRefList?.value.some(
106981
+ (inputInst) => inputInst.inputElRef === event.relatedTarget
106982
+ )) {
106983
+ return;
106984
+ }
106985
+ const { onBlur } = props;
106986
+ const { triggerFormBlur } = formItem;
106987
+ if (onBlur) {
106988
+ call(onBlur, event, index);
106989
+ }
106990
+ triggerFormBlur();
106991
+ };
106992
+ const focusOnChar = (charIndex) => {
106993
+ if (charIndex >= props.length) {
106994
+ return;
106995
+ }
106996
+ if (charIndex < 0) {
106997
+ return;
106998
+ }
106999
+ inputRefList?.value[charIndex].focus();
107000
+ inputRefList?.value[charIndex].select();
107001
+ };
107002
+ const focusOnNextChar = (currentIndex) => {
107003
+ if (currentIndex >= props.length - 1) {
107004
+ return;
107005
+ }
107006
+ focusOnChar(currentIndex + 1);
107007
+ };
107008
+ const focusOnPrevChar = (currentIndex) => {
107009
+ if (currentIndex <= 0) {
107010
+ return;
107011
+ }
107012
+ focusOnChar(currentIndex - 1);
107013
+ };
107014
+ const justifyValue = (value) => {
107015
+ const justifiedValue = value ? Array.from(value) : [];
107016
+ const length = props.length;
107017
+ while (justifiedValue.length > length) {
107018
+ justifiedValue.pop();
107019
+ }
107020
+ while (justifiedValue.length < length) {
107021
+ justifiedValue.push("");
107022
+ }
107023
+ return justifiedValue;
107024
+ };
107025
+ function doUpdateValue(values, meta) {
107026
+ const { triggerFormInput, triggerFormChange } = formItem;
107027
+ if (isArrayShallowEqual(values, mergedValueRef.value)) {
107028
+ triggerFormInput();
107029
+ return;
107030
+ }
107031
+ const {
107032
+ "onUpdate:value": _onUpdateValue,
107033
+ onUpdateValue,
107034
+ onFinish
107035
+ } = props;
107036
+ if (_onUpdateValue) {
107037
+ call(_onUpdateValue, values, meta);
107038
+ }
107039
+ if (onUpdateValue) {
107040
+ call(onUpdateValue, values, meta);
107041
+ }
107042
+ if (onFinish && values.every(Boolean)) {
107043
+ call(onFinish, values);
107044
+ }
107045
+ uncontrolledValueRef.value = values;
107046
+ triggerFormInput();
107047
+ triggerFormChange();
107048
+ }
107049
+ const handlePaste = (event, index) => {
107050
+ if (props.readonly || mergedDisabledRef.value) {
107051
+ return;
107052
+ }
107053
+ event.preventDefault();
107054
+ const { clipboardData } = event;
107055
+ const text = clipboardData?.getData("text");
107056
+ if (!text) {
107057
+ return;
107058
+ }
107059
+ const currentValue = justifyValue(mergedValueRef.value);
107060
+ let startIndex = index;
107061
+ const allowInput = props.allowInput;
107062
+ let pasteApplied = false;
107063
+ let appendedText = "";
107064
+ for (let i = 0; i < text.length; ++i) {
107065
+ if (allowInput && !allowInput(text[i], startIndex, currentValue)) {
107066
+ continue;
107067
+ }
107068
+ pasteApplied = true;
107069
+ currentValue[startIndex] = text[i];
107070
+ appendedText += text[i];
107071
+ startIndex++;
107072
+ if (startIndex >= currentValue.length) {
107073
+ break;
107074
+ }
107075
+ }
107076
+ if (pasteApplied) {
107077
+ focusOnChar(startIndex);
107078
+ doUpdateValue(currentValue, {
107079
+ diff: appendedText,
107080
+ index: startIndex,
107081
+ source: "paste"
107082
+ });
107083
+ }
107084
+ };
107085
+ const handleKeydown = (event, index) => {
107086
+ if (mergedDisabledRef.value) {
107087
+ return;
107088
+ }
107089
+ const keyCode = event.code || event.key;
107090
+ const currentValue = justifyValue(mergedValueRef.value);
107091
+ if (keyCode === "Backspace" && !props.readonly) {
107092
+ event.preventDefault();
107093
+ currentValue[Math.max(index, 0)] = "";
107094
+ doUpdateValue(currentValue, { diff: "", index, source: "delete" });
107095
+ focusOnPrevChar(index);
107096
+ } else if (keyCode === "ArrowLeft") {
107097
+ event.preventDefault();
107098
+ focusOnPrevChar(index);
107099
+ } else if (keyCode === "ArrowRight") {
107100
+ event.preventDefault();
107101
+ focusOnNextChar(index);
107102
+ }
107103
+ };
107104
+ const handleInput = (value, index) => {
107105
+ const currentValue = justifyValue(mergedValueRef.value);
107106
+ const currentValueAtIndex = currentValue[index];
107107
+ const diff = value.replace(currentValueAtIndex, "");
107108
+ const char = diff[diff.length - 1] || value[value.length - 1] || "";
107109
+ const allowInput = props.allowInput;
107110
+ if (allowInput && !allowInput(char, index, currentValue)) {
107111
+ return;
107112
+ }
107113
+ currentValue[index] = char;
107114
+ doUpdateValue(currentValue, { diff: char, index, source: "input" });
107115
+ focusOnNextChar(index);
107116
+ };
107117
+ const getTemplateEvents = (index) => {
107118
+ return {
107119
+ onInput: (value) => {
107120
+ handleInput(value, index);
107121
+ },
107122
+ onPaste: (event) => {
107123
+ handlePaste(event, index);
107124
+ },
107125
+ onKeydown: (event) => {
107126
+ handleKeydown(event, index);
107127
+ },
107128
+ onFocus: (event) => {
107129
+ handleFocus(event, index);
107130
+ },
107131
+ onBlur: (event) => {
107132
+ handleBlur(event, index);
107133
+ }
107134
+ };
107135
+ };
107136
+ const exposedMethods = {
107137
+ focusOnChar
107138
+ };
107139
+ return {
107140
+ mergedTheme: themeRef,
107141
+ perItemValueArray: vue.computed(() => justifyValue(mergedValueRef.value)),
107142
+ mergedClsPrefix: mergedClsPrefixRef,
107143
+ inputRefList,
107144
+ inputType: inputTypeRef,
107145
+ rtlEnabled: rtlEnabledRef,
107146
+ mergedStatus: mergedStatusRef,
107147
+ mergedDisabled: mergedDisabledRef,
107148
+ cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
107149
+ themeClass: themeClassHandle?.themeClass,
107150
+ getTemplateEvents,
107151
+ onRender: themeClassHandle?.onRender,
107152
+ ...exposedMethods
107153
+ };
107154
+ },
107155
+ render() {
107156
+ const {
107157
+ mergedTheme,
107158
+ mergedClsPrefix,
107159
+ perItemValueArray,
107160
+ size,
107161
+ placeholder,
107162
+ mergedDisabled,
107163
+ mergedStatus,
107164
+ readonly,
107165
+ inputType,
107166
+ $slots,
107167
+ getTemplateEvents,
107168
+ themeClass,
107169
+ onRender
107170
+ } = this;
107171
+ onRender?.();
107172
+ return /* @__PURE__ */ vue.h(
107173
+ "div",
107174
+ {
107175
+ style: this.cssVars,
107176
+ class: [
107177
+ `${mergedClsPrefix}-input-otp`,
107178
+ themeClass,
107179
+ this.rtlEnabled && `${mergedClsPrefix}-input-otp--rtl`,
107180
+ this.block && `${mergedClsPrefix}-input-otp--block`
107181
+ ]
107182
+ },
107183
+ repeat$1(this.length, void 0).map(
107184
+ (_, index) => resolveSlotWithProps(
107185
+ $slots.default,
107186
+ {
107187
+ index,
107188
+ value: perItemValueArray[index],
107189
+ type: inputType,
107190
+ size,
107191
+ placeholder,
107192
+ disabled: mergedDisabled,
107193
+ readonly,
107194
+ status: mergedStatus,
107195
+ builtinThemeOverrides: {
107196
+ paddingTiny: "0",
107197
+ paddingSmall: "0",
107198
+ paddingMedium: "0",
107199
+ paddingLarge: "0"
107200
+ },
107201
+ theme: mergedTheme.peers.Input,
107202
+ themeOverrides: mergedTheme.peerOverrides.Input,
107203
+ ref: (el) => this.inputRefList[index] = el,
107204
+ ...getTemplateEvents(index)
107205
+ },
107206
+ ({ index: index2, ...restProps }) => [/* @__PURE__ */ vue.h(UInput, { ...restProps, key: index2 })]
107207
+ )
107208
+ )
107209
+ );
107210
+ }
107211
+ });
107212
+
106757
107213
  const layoutSiderInjectionKey = createInjectionKey("u-layout-sider");
106758
107214
  const positionProp = {
106759
107215
  type: String,
@@ -108537,13 +108993,13 @@
108537
108993
  "onUpdate:value": _onUpdateValue,
108538
108994
  onChange
108539
108995
  } = props;
108540
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
108996
+ const { triggerFormInput, triggerFormChange } = formItem;
108541
108997
  if (onUpdateValue) call(onUpdateValue, value);
108542
108998
  if (_onUpdateValue) call(_onUpdateValue, value);
108543
108999
  if (onChange) call(onChange, value);
108544
109000
  uncontrolledValueRef.value = value;
108545
- nTriggerFormInput();
108546
- nTriggerFormChange();
109001
+ triggerFormInput();
109002
+ triggerFormChange();
108547
109003
  }
108548
109004
  function handleSrcHeaderCheck(value) {
108549
109005
  const {
@@ -109278,7 +109734,7 @@
109278
109734
  const renderAvatar = () => {
109279
109735
  if (!Object.values(this.avatar).length) return null;
109280
109736
  const Avatar = /* @__PURE__ */ vue.h(UAvatar, { size, ...this.avatar, ...{ icon: void 0 } }, renderIcon(this.avatar.icon));
109281
- return this.avatar.hasBadge ? /* @__PURE__ */ vue.h(UBadge, { ...this.badge }, Avatar) : Avatar;
109737
+ return this.avatar.hasBadge ? /* @__PURE__ */ vue.h(UBadge, { ...this.badge }, { default: () => Avatar }) : Avatar;
109282
109738
  };
109283
109739
  const prefixSkeletonSizes = {
109284
109740
  large: 54,
@@ -109361,13 +109817,15 @@
109361
109817
  skeleton: void 0,
109362
109818
  class: `${mergedClsPrefix}-list-item__${classSuffix}`
109363
109819
  },
109364
- skeletonOn || props?.loading ? /* @__PURE__ */ vue.h(
109365
- UBaseSkeleton,
109366
- {
109367
- ...props.skeletonPro,
109368
- style: { borderRadius: "6px" }
109369
- }
109370
- ) : typeof content === "string" ? props.text : content()
109820
+ {
109821
+ default: () => skeletonOn || props?.loading ? /* @__PURE__ */ vue.h(
109822
+ UBaseSkeleton,
109823
+ {
109824
+ ...props.skeletonPro,
109825
+ style: { borderRadius: "6px" }
109826
+ }
109827
+ ) : typeof content === "string" ? props.text : content()
109828
+ }
109371
109829
  ) : null;
109372
109830
  }
109373
109831
  const headerNode = renderTextNode(header, headerProps, "title");
@@ -111570,15 +112028,15 @@
111570
112028
  }
111571
112029
  function doUpdateValue(value) {
111572
112030
  const { onUpdateValue, "onUpdate:value": _onUpdateValue } = props;
111573
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
112031
+ const { triggerFormChange, triggerFormInput } = formItem;
111574
112032
  if (_onUpdateValue) {
111575
112033
  call(_onUpdateValue, value);
111576
112034
  }
111577
112035
  if (onUpdateValue) {
111578
112036
  call(onUpdateValue, value);
111579
112037
  }
111580
- nTriggerFormInput();
111581
- nTriggerFormChange();
112038
+ triggerFormInput();
112039
+ triggerFormChange();
111582
112040
  uncontrolledValueRef.value = value;
111583
112041
  }
111584
112042
  function getInputEl() {
@@ -111673,8 +112131,8 @@
111673
112131
  function handleInputFocus(e) {
111674
112132
  const { onFocus } = props;
111675
112133
  onFocus?.(e);
111676
- const { nTriggerFormFocus } = formItem;
111677
- nTriggerFormFocus();
112134
+ const { triggerFormFocus } = formItem;
112135
+ triggerFormFocus();
111678
112136
  syncAfterCursorMove();
111679
112137
  }
111680
112138
  function focus() {
@@ -111686,8 +112144,8 @@
111686
112144
  function handleInputBlur(e) {
111687
112145
  const { onBlur } = props;
111688
112146
  onBlur?.(e);
111689
- const { nTriggerFormBlur } = formItem;
111690
- nTriggerFormBlur();
112147
+ const { triggerFormBlur } = formItem;
112148
+ triggerFormBlur();
111691
112149
  doUpdateShowMenu(false);
111692
112150
  }
111693
112151
  function handleSelect(tmNode) {
@@ -113888,7 +114346,7 @@
113888
114346
  const mergedValue = useMergedState(controlledValueRef, uncontrolledValueRef);
113889
114347
  function doUpdateValue(value) {
113890
114348
  const { "onUpdate:value": _onUpdateValue, onUpdateValue } = props;
113891
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
114349
+ const { triggerFormChange, triggerFormInput } = formItem;
113892
114350
  if (_onUpdateValue) {
113893
114351
  call(_onUpdateValue, value);
113894
114352
  }
@@ -113896,8 +114354,8 @@
113896
114354
  call(onUpdateValue, value);
113897
114355
  }
113898
114356
  uncontrolledValueRef.value = value;
113899
- nTriggerFormChange();
113900
- nTriggerFormInput();
114357
+ triggerFormChange();
114358
+ triggerFormInput();
113901
114359
  }
113902
114360
  function getDerivedValue(index, e) {
113903
114361
  if (props.allowHalf) {
@@ -114639,12 +115097,12 @@
114639
115097
  }
114640
115098
  function doUpdateValue(value) {
114641
115099
  const { "onUpdate:value": _onUpdateValue, onUpdateValue } = props;
114642
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
115100
+ const { triggerFormInput, triggerFormChange } = formItem;
114643
115101
  if (onUpdateValue) call(onUpdateValue, value);
114644
115102
  if (_onUpdateValue) call(_onUpdateValue, value);
114645
115103
  uncontrolledValueRef.value = value;
114646
- nTriggerFormInput();
114647
- nTriggerFormChange();
115104
+ triggerFormInput();
115105
+ triggerFormChange();
114648
115106
  }
114649
115107
  function dispatchValueUpdate(value) {
114650
115108
  const { range } = props;
@@ -116437,21 +116895,21 @@
116437
116895
  onChange,
116438
116896
  onUpdateValue
116439
116897
  } = props;
116440
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
116898
+ const { triggerFormInput, triggerFormChange } = formItem;
116441
116899
  if (_onUpdateValue) call(_onUpdateValue, value);
116442
116900
  if (onUpdateValue) call(onUpdateValue, value);
116443
116901
  if (onChange) call(onChange, value);
116444
116902
  uncontrolledValueRef.value = value;
116445
- nTriggerFormInput();
116446
- nTriggerFormChange();
116903
+ triggerFormInput();
116904
+ triggerFormChange();
116447
116905
  }
116448
116906
  function doFocus() {
116449
- const { nTriggerFormFocus } = formItem;
116450
- nTriggerFormFocus();
116907
+ const { triggerFormFocus } = formItem;
116908
+ triggerFormFocus();
116451
116909
  }
116452
116910
  function doBlur() {
116453
- const { nTriggerFormBlur } = formItem;
116454
- nTriggerFormBlur();
116911
+ const { triggerFormBlur } = formItem;
116912
+ triggerFormBlur();
116455
116913
  }
116456
116914
  function handleClick() {
116457
116915
  if (props.loading || mergedDisabledRef.value) return;
@@ -119470,13 +119928,13 @@
119470
119928
  "onUpdate:value": _onUpdateValue,
119471
119929
  onChange
119472
119930
  } = props;
119473
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
119931
+ const { triggerFormInput, triggerFormChange } = formItem;
119474
119932
  if (onUpdateValue) call(onUpdateValue, value);
119475
119933
  if (_onUpdateValue) call(_onUpdateValue, value);
119476
119934
  if (onChange) call(onChange, value);
119477
119935
  uncontrolledValueRef.value = value;
119478
- nTriggerFormInput();
119479
- nTriggerFormChange();
119936
+ triggerFormInput();
119937
+ triggerFormChange();
119480
119938
  }
119481
119939
  function handleSourceCheckAll() {
119482
119940
  doUpdateValue([...valueSetForCheckAllRef.value]);
@@ -122265,10 +122723,10 @@
122265
122723
  mergedSizeRef,
122266
122724
  mergedDisabledRef,
122267
122725
  mergedStatusRef,
122268
- nTriggerFormBlur,
122269
- nTriggerFormChange,
122270
- nTriggerFormFocus,
122271
- nTriggerFormInput
122726
+ triggerFormBlur,
122727
+ triggerFormChange,
122728
+ triggerFormFocus,
122729
+ triggerFormInput
122272
122730
  } = useFormItem(props);
122273
122731
  const uncontrolledValueRef = vue.ref(props.defaultValue);
122274
122732
  const controlledValueRef = vue.toRef(props, "value");
@@ -122410,8 +122868,8 @@
122410
122868
  call(_onUpdateValue, value, option, meta);
122411
122869
  }
122412
122870
  uncontrolledValueRef.value = value;
122413
- nTriggerFormInput();
122414
- nTriggerFormChange();
122871
+ triggerFormInput();
122872
+ triggerFormChange();
122415
122873
  }
122416
122874
  function doUpdateIndeterminateKeys(value, option) {
122417
122875
  const {
@@ -122459,13 +122917,13 @@
122459
122917
  function doFocus(e) {
122460
122918
  const { onFocus } = props;
122461
122919
  if (onFocus) onFocus(e);
122462
- nTriggerFormFocus();
122920
+ triggerFormFocus();
122463
122921
  }
122464
122922
  function doBlur(e) {
122465
122923
  closeMenu();
122466
122924
  const { onBlur } = props;
122467
122925
  if (onBlur) onBlur(e);
122468
- nTriggerFormBlur();
122926
+ triggerFormBlur();
122469
122927
  }
122470
122928
  function closeMenu() {
122471
122929
  doUpdateShow(false);
@@ -126279,6 +126737,7 @@
126279
126737
  UInputGroup: UInputGroup,
126280
126738
  UInputGroupLabel: InputGroupLabel,
126281
126739
  UInputNumber: InputNumber,
126740
+ UInputOtp: InputOtp,
126282
126741
  ULayout: Layout,
126283
126742
  ULayoutContent: LayoutContent,
126284
126743
  ULayoutFooter: LayoutFooter,
@@ -126420,6 +126879,7 @@
126420
126879
  inputGroupLabelProps: inputGroupLabelProps,
126421
126880
  inputGroupProps: inputGroupProps,
126422
126881
  inputNumberProps: inputNumberProps,
126882
+ inputOtpProps: inputOtpProps,
126423
126883
  inputProps: inputProps,
126424
126884
  layoutContentProps: layoutProps,
126425
126885
  layoutFooterProps: layoutFooterProps,
@@ -126487,7 +126947,7 @@
126487
126947
  watermarkProps: watermarkProps
126488
126948
  });
126489
126949
 
126490
- var version = "1.5.2";
126950
+ var version = "1.5.3";
126491
126951
 
126492
126952
  function create({
126493
126953
  componentPrefix = "U",
@@ -126606,6 +127066,7 @@
126606
127066
  IconWrapper: iconDark,
126607
127067
  Image: imageDark,
126608
127068
  Input: inputDark,
127069
+ InputOtp: inputOtpDark,
126609
127070
  InputNumber: inputNumberDark,
126610
127071
  LegacyTransfer: transferDark,
126611
127072
  Layout: layoutDark,
@@ -126698,6 +127159,7 @@
126698
127159
  IconWrapper: iconWrapperLight,
126699
127160
  Image: imageLight,
126700
127161
  Input: inputLight,
127162
+ InputOtp: inputOtpLight,
126701
127163
  InputNumber: inputNumberLight,
126702
127164
  Layout: layoutLight,
126703
127165
  LegacyTransfer: transferLight,
@@ -127365,6 +127827,7 @@
127365
127827
  exports.UInputGroup = UInputGroup;
127366
127828
  exports.UInputGroupLabel = InputGroupLabel;
127367
127829
  exports.UInputNumber = InputNumber;
127830
+ exports.UInputOtp = InputOtp;
127368
127831
  exports.ULayout = Layout;
127369
127832
  exports.ULayoutContent = LayoutContent;
127370
127833
  exports.ULayoutFooter = LayoutFooter;
@@ -127585,6 +128048,8 @@
127585
128048
  exports.inputGroupProps = inputGroupProps;
127586
128049
  exports.inputNumberDark = inputNumberDark;
127587
128050
  exports.inputNumberProps = inputNumberProps;
128051
+ exports.inputOtpDark = inputOtpDark;
128052
+ exports.inputOtpProps = inputOtpProps;
127588
128053
  exports.inputProps = inputProps;
127589
128054
  exports.install = install;
127590
128055
  exports.internalSelectMenuDark = internalSelectMenuDark;
@@ -127710,6 +128175,7 @@
127710
128175
  exports.unstableDrawerRtl = drawerRtl;
127711
128176
  exports.unstableDynamicInputRtl = dynamicInputRtl;
127712
128177
  exports.unstableInputNumberRtl = inputNumberRtl;
128178
+ exports.unstableInputOtpRtl = inputOtpRtl;
127713
128179
  exports.unstableInputRtl = inputRtl;
127714
128180
  exports.unstableListRtl = listRtl;
127715
128181
  exports.unstableMessageRtl = messageRtl;