@uzum-tech/ui 1.5.2 → 1.5.4

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 (200) hide show
  1. package/README.md +0 -1
  2. package/dist/index.js +1147 -628
  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/collapse/src/Collapse.d.ts +47 -14
  33. package/es/collapse/src/Collapse.js +6 -3
  34. package/es/collapse/src/CollapseItem.js +3 -2
  35. package/es/collapse/src/styles/index.cssr.js +27 -7
  36. package/es/collapse/styles/light.d.ts +4 -1
  37. package/es/collapse/styles/light.js +6 -3
  38. package/es/color-picker/src/ColorPicker.js +6 -6
  39. package/es/components.d.ts +1 -0
  40. package/es/components.js +1 -0
  41. package/es/config-provider/src/internal-interface.d.ts +2 -0
  42. package/es/data-table/src/DataTable.d.ts +7 -0
  43. package/es/data-table/src/DataTable.js +21 -10
  44. package/es/data-table/src/TableParts/Body.d.ts +1 -0
  45. package/es/data-table/src/TableParts/Body.js +8 -6
  46. package/es/data-table/src/TableParts/Cell.js +85 -23
  47. package/es/data-table/src/interface.d.ts +14 -6
  48. package/es/data-table/src/interface.js +1 -1
  49. package/es/data-table/src/styles/index.cssr.js +5 -3
  50. package/es/data-table/src/use-mask.d.ts +3 -6
  51. package/es/data-table/src/utils.d.ts +2 -1
  52. package/es/data-table/src/utils.js +13 -0
  53. package/es/date-picker/src/DatePicker.js +7 -7
  54. package/es/dialog/src/DialogProvider.d.ts +6 -0
  55. package/es/dynamic-tags/src/DynamicTags.d.ts +10 -0
  56. package/es/dynamic-tags/src/DynamicTags.js +3 -3
  57. package/es/dynamic-tags/styles/light.d.ts +1 -0
  58. package/es/input/src/Input.js +8 -8
  59. package/es/input-number/src/InputNumber.js +7 -7
  60. package/es/input-otp/index.d.ts +3 -0
  61. package/es/input-otp/index.js +1 -0
  62. package/es/input-otp/src/InputOtp.d.ts +871 -0
  63. package/es/input-otp/src/InputOtp.js +250 -0
  64. package/es/input-otp/src/public-types.d.ts +25 -0
  65. package/es/input-otp/src/public-types.js +1 -0
  66. package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
  67. package/es/input-otp/src/styles/index.cssr.js +20 -0
  68. package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  69. package/es/input-otp/src/styles/input-otp-rtl.cssr.js +5 -0
  70. package/es/input-otp/styles/dark.d.ts +3 -0
  71. package/es/input-otp/styles/dark.js +12 -0
  72. package/es/input-otp/styles/index.d.ts +4 -0
  73. package/es/input-otp/styles/index.js +3 -0
  74. package/es/input-otp/styles/light.d.ts +83 -0
  75. package/es/input-otp/styles/light.js +22 -0
  76. package/es/input-otp/styles/rtl.d.ts +2 -0
  77. package/es/input-otp/styles/rtl.js +5 -0
  78. package/es/legacy-transfer/src/Transfer.js +3 -3
  79. package/es/list/src/ListItem.js +8 -4
  80. package/es/mention/src/Mention.js +7 -7
  81. package/es/radio/src/RadioGroup.js +5 -5
  82. package/es/rate/src/Rate.js +3 -3
  83. package/es/select/src/Select.js +7 -7
  84. package/es/slider/src/Slider.js +3 -3
  85. package/es/styles.d.ts +1 -0
  86. package/es/styles.js +1 -0
  87. package/es/switch/src/Switch.js +7 -7
  88. package/es/tag/src/Tag.d.ts +27 -13
  89. package/es/tag/src/Tag.js +7 -2
  90. package/es/tag/src/styles/index.cssr.js +13 -3
  91. package/es/tag/styles/light.d.ts +1 -0
  92. package/es/tag/styles/light.js +7 -6
  93. package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
  94. package/es/themes/dark.js +2 -0
  95. package/es/themes/light.js +2 -0
  96. package/es/time-picker/src/TimePicker.js +7 -7
  97. package/es/transfer/src/Transfer.js +3 -3
  98. package/es/tree-select/src/TreeSelect.js +5 -5
  99. package/es/version.d.ts +1 -1
  100. package/es/version.js +1 -1
  101. package/lib/_internal/checkbox/src/use-checkbox.js +3 -3
  102. package/lib/_internal/radio/src/use-radio.js +3 -3
  103. package/lib/_mixins/use-form-item.d.ts +4 -4
  104. package/lib/_mixins/use-form-item.js +4 -4
  105. package/lib/_styles/common/dark.js +1 -1
  106. package/lib/_styles/common/light.d.ts +3 -0
  107. package/lib/_styles/common/light.js +1 -1
  108. package/lib/_utils/composable/composables.d.ts +11 -0
  109. package/lib/_utils/composable/composables.js +47 -0
  110. package/lib/_utils/index.d.ts +1 -1
  111. package/lib/_utils/index.js +2 -1
  112. package/lib/_utils/uzum/index.d.ts +1 -0
  113. package/lib/_utils/uzum/index.js +3 -1
  114. package/lib/_utils/uzum/value.d.ts +1 -0
  115. package/lib/_utils/uzum/value.js +12 -0
  116. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  117. package/lib/alert/styles/light.js +6 -6
  118. package/lib/auto-complete/src/AutoComplete.js +10 -10
  119. package/lib/avatar/src/Avatar.d.ts +6 -0
  120. package/lib/avatar/src/Avatar.js +9 -3
  121. package/lib/card-list/src/CardList.js +1 -1
  122. package/lib/card-list/src/CardListItem.d.ts +13 -0
  123. package/lib/card-list/src/CardListItem.js +11 -4
  124. package/lib/card-list/src/interface.d.ts +1 -0
  125. package/lib/card-list/src/styles/index.cssr.js +5 -5
  126. package/lib/card-list/styles/light.js +2 -2
  127. package/lib/cascader/src/Cascader.js +7 -7
  128. package/lib/checkbox/src/CheckboxGroup.js +9 -9
  129. package/lib/collapse/src/Collapse.d.ts +47 -14
  130. package/lib/collapse/src/Collapse.js +6 -3
  131. package/lib/collapse/src/CollapseItem.js +3 -2
  132. package/lib/collapse/src/styles/index.cssr.js +27 -7
  133. package/lib/collapse/styles/light.d.ts +4 -1
  134. package/lib/collapse/styles/light.js +6 -3
  135. package/lib/color-picker/src/ColorPicker.js +6 -6
  136. package/lib/components.d.ts +1 -0
  137. package/lib/components.js +1 -0
  138. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  139. package/lib/data-table/src/DataTable.d.ts +7 -0
  140. package/lib/data-table/src/DataTable.js +21 -10
  141. package/lib/data-table/src/TableParts/Body.d.ts +1 -0
  142. package/lib/data-table/src/TableParts/Body.js +8 -6
  143. package/lib/data-table/src/TableParts/Cell.js +84 -22
  144. package/lib/data-table/src/interface.d.ts +14 -6
  145. package/lib/data-table/src/interface.js +1 -1
  146. package/lib/data-table/src/styles/index.cssr.js +5 -3
  147. package/lib/data-table/src/use-mask.d.ts +3 -6
  148. package/lib/data-table/src/utils.d.ts +2 -1
  149. package/lib/data-table/src/utils.js +14 -1
  150. package/lib/date-picker/src/DatePicker.js +7 -7
  151. package/lib/dialog/src/DialogProvider.d.ts +6 -0
  152. package/lib/dynamic-tags/src/DynamicTags.d.ts +10 -0
  153. package/lib/dynamic-tags/src/DynamicTags.js +3 -3
  154. package/lib/dynamic-tags/styles/light.d.ts +1 -0
  155. package/lib/input/src/Input.js +8 -8
  156. package/lib/input-number/src/InputNumber.js +7 -7
  157. package/lib/input-otp/index.d.ts +3 -0
  158. package/lib/input-otp/index.js +9 -0
  159. package/lib/input-otp/src/InputOtp.d.ts +871 -0
  160. package/lib/input-otp/src/InputOtp.js +256 -0
  161. package/lib/input-otp/src/public-types.d.ts +25 -0
  162. package/lib/input-otp/src/public-types.js +2 -0
  163. package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
  164. package/lib/input-otp/src/styles/index.cssr.js +25 -0
  165. package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  166. package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
  167. package/lib/input-otp/styles/dark.d.ts +3 -0
  168. package/lib/input-otp/styles/dark.js +14 -0
  169. package/lib/input-otp/styles/index.d.ts +4 -0
  170. package/lib/input-otp/styles/index.js +12 -0
  171. package/lib/input-otp/styles/light.d.ts +83 -0
  172. package/lib/input-otp/styles/light.js +25 -0
  173. package/lib/input-otp/styles/rtl.d.ts +2 -0
  174. package/lib/input-otp/styles/rtl.js +11 -0
  175. package/lib/legacy-transfer/src/Transfer.js +3 -3
  176. package/lib/list/src/ListItem.js +8 -4
  177. package/lib/mention/src/Mention.js +7 -7
  178. package/lib/radio/src/RadioGroup.js +5 -5
  179. package/lib/rate/src/Rate.js +3 -3
  180. package/lib/select/src/Select.js +7 -7
  181. package/lib/slider/src/Slider.js +3 -3
  182. package/lib/styles.d.ts +1 -0
  183. package/lib/styles.js +106 -103
  184. package/lib/switch/src/Switch.js +7 -7
  185. package/lib/tag/src/Tag.d.ts +27 -13
  186. package/lib/tag/src/Tag.js +7 -2
  187. package/lib/tag/src/styles/index.cssr.js +13 -3
  188. package/lib/tag/styles/light.d.ts +1 -0
  189. package/lib/tag/styles/light.js +7 -6
  190. package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
  191. package/lib/themes/dark.js +2 -0
  192. package/lib/themes/light.js +2 -0
  193. package/lib/time-picker/src/TimePicker.js +7 -7
  194. package/lib/transfer/src/Transfer.js +3 -3
  195. package/lib/tree-select/src/TreeSelect.js +5 -5
  196. package/lib/version.d.ts +1 -1
  197. package/lib/version.js +1 -1
  198. package/package.json +1 -1
  199. package/volar.d.ts +1 -0
  200. package/web-types.json +131 -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,
@@ -34239,14 +34252,14 @@
34239
34252
  closeSizeSmall: "14px",
34240
34253
  closeSizeMedium: "16px",
34241
34254
  closeSizeLarge: "18px",
34242
- paddingTiny: "2px 6px 2px 10px",
34243
- paddingSmall: "2px 6px 2px 10px",
34244
- paddingMedium: "2px 6px 2px 10px",
34245
- paddingLarge: "2px 6px 2px 10px",
34255
+ paddingTiny: "2px 6px",
34256
+ paddingSmall: "2px 6px",
34257
+ paddingMedium: "2px 6px",
34258
+ paddingLarge: "6px 8px",
34246
34259
  closeMargin: "0 0 0 4px",
34247
34260
  closeMarginRtl: "0 4px 0 0",
34248
34261
  closeBorderRadius: borderRadius,
34249
- heightTiny: "16px",
34262
+ heightTiny: "20px",
34250
34263
  heightSmall: "20px",
34251
34264
  heightMedium: "24px",
34252
34265
  heightLarge: "32px",
@@ -34263,7 +34276,8 @@
34263
34276
  textColorHoverCheckable: textPrimary,
34264
34277
  textColorPressedCheckable: textPrimary,
34265
34278
  textColorChecked: textQuaternary,
34266
- colorCheckable: elementsSecondary,
34279
+ colorCheckable: elementsQuaternary,
34280
+ colorCheckableOutline: elementsSecondary,
34267
34281
  colorHoverCheckable: elementsQuaternary,
34268
34282
  colorPressedCheckable: elementsQuaternary,
34269
34283
  colorChecked: elementsPrimary,
@@ -34375,16 +34389,16 @@
34375
34389
  const tagLight = {
34376
34390
  name: "Tag",
34377
34391
  common: derived,
34378
- self: self$1g
34392
+ self: self$1h
34379
34393
  };
34380
34394
 
34381
34395
  const tagDark = {
34382
34396
  name: "Tag",
34383
34397
  common: derived$1,
34384
- self: self$1g
34398
+ self: self$1h
34385
34399
  };
34386
34400
 
34387
- var rtlStyle$q = cB("tag", [cM("rtl", `
34401
+ var rtlStyle$r = cB("tag", [cM("rtl", `
34388
34402
  direction: rtl;
34389
34403
  `, [cE("close", `
34390
34404
  margin: var(--u-close-margin-rtl);
@@ -34404,7 +34418,7 @@
34404
34418
 
34405
34419
  const tagRtl = {
34406
34420
  name: "Tag",
34407
- style: rtlStyle$q
34421
+ style: rtlStyle$r
34408
34422
  };
34409
34423
 
34410
34424
  var commonProps = {
@@ -34428,7 +34442,7 @@
34428
34442
  }
34429
34443
  };
34430
34444
 
34431
- var style$1u = cB("tag", `
34445
+ var style$1v = cB("tag", `
34432
34446
  white-space: nowrap;
34433
34447
  position: relative;
34434
34448
  box-sizing: border-box;
@@ -34453,7 +34467,9 @@
34453
34467
  font-weight: var(--u-font-weight);
34454
34468
  `, [cM("strong", `
34455
34469
  font-weight: var(--u-font-weight-strong);
34456
- `), cE("border", `
34470
+ `), cM("closable", [cE("content", `
34471
+ padding-left: 4px;
34472
+ `)]), cE("border", `
34457
34473
  pointer-events: none;
34458
34474
  position: absolute;
34459
34475
  left: 0;
@@ -34498,7 +34514,11 @@
34498
34514
  padding: 0px 8px;
34499
34515
  background-color: var(--u-color-checkable);
34500
34516
  transition: border-color .3s var(--u-bezier);
34501
- `, [cNotM("disabled", [c$1("&:hover", "background-color: var(--u-color-hover-checkable);", [cNotM("checked", "color: var(--u-text-color-hover-checkable);")]), c$1("&:focus", `
34517
+ `, [cE("border", `
34518
+ border: unset;
34519
+ `), cE("content", `
34520
+ padding-left: 0px;
34521
+ `), cNotM("disabled", [c$1("&:hover", "background-color: var(--u-color-hover-checkable);", [cNotM("checked", "color: var(--u-text-color-hover-checkable);")]), c$1("&:focus", `
34502
34522
  background-color: var(--u-color-pressed-checkable);
34503
34523
  transition: border-color .3s var(--u-bezier);`, [cNotM("checked", "color: var(--u-text-color-pressed-checkable);")]), c$1("&:active", `
34504
34524
  background-color: var(--u-color-pressed-checkable);
@@ -34508,7 +34528,11 @@
34508
34528
  `, [cE("border", `
34509
34529
  border-color: var(--u-color-checked);
34510
34530
  transition: none;
34511
- `), cNotM("disabled", [c$1("&:hover", "background-color: var(--u-color-checked-hover);"), c$1("&:focus", "background-color: var(--u-color-checked-hover);"), c$1("&:active", "background-color: var(--u-color-checked-pressed);")])])])]);
34531
+ `), cNotM("disabled", [c$1("&:hover", "background-color: var(--u-color-checked-hover);"), c$1("&:focus", "background-color: var(--u-color-checked-hover);"), c$1("&:active", "background-color: var(--u-color-checked-pressed);")])])]), cM("outline", `
34532
+ background-color: var(--u-color-checkable-outline);
34533
+ `, [cE("border", `
34534
+ border: var(--u-border);
34535
+ `)])]);
34512
34536
 
34513
34537
  const tagProps = {
34514
34538
  ...useTheme.props,
@@ -34517,8 +34541,13 @@
34517
34541
  type: Boolean,
34518
34542
  default: void 0
34519
34543
  },
34544
+ size: {
34545
+ type: String,
34546
+ default: "large"
34547
+ },
34520
34548
  checked: Boolean,
34521
34549
  checkable: Boolean,
34550
+ outline: Boolean,
34522
34551
  strong: Boolean,
34523
34552
  triggerClickOnClose: Boolean,
34524
34553
  onClose: [Array, Function],
@@ -34563,7 +34592,7 @@
34563
34592
  const themeRef = useTheme(
34564
34593
  "Tag",
34565
34594
  "-tag",
34566
- style$1u,
34595
+ style$1v,
34567
34596
  tagLight,
34568
34597
  props,
34569
34598
  mergedClsPrefixRef
@@ -34616,6 +34645,7 @@
34616
34645
  textColorPressedCheckable,
34617
34646
  textColorChecked,
34618
34647
  colorCheckable,
34648
+ colorCheckableOutline,
34619
34649
  colorHoverCheckable,
34620
34650
  colorPressedCheckable,
34621
34651
  colorChecked,
@@ -34660,6 +34690,7 @@
34660
34690
  "--u-close-size": closeSize,
34661
34691
  "--u-color": color || (mergedBorderedRef.value ? colorBordered : typedColor),
34662
34692
  "--u-color-checkable": colorCheckable,
34693
+ "--u-color-checkable-outline": colorCheckableOutline,
34663
34694
  "--u-color-checked": colorChecked,
34664
34695
  "--u-color-checked-hover": colorCheckedHover,
34665
34696
  "--u-color-checked-pressed": colorCheckedPressed,
@@ -34740,6 +34771,7 @@
34740
34771
  [`${mergedClsPrefix}-tag--strong`]: this.strong,
34741
34772
  [`${mergedClsPrefix}-tag--disabled`]: this.disabled,
34742
34773
  [`${mergedClsPrefix}-tag--checkable`]: this.checkable,
34774
+ [`${mergedClsPrefix}-tag--outline`]: this.checkable && this.outline,
34743
34775
  [`${mergedClsPrefix}-tag--checked`]: this.checkable && this.checked,
34744
34776
  [`${mergedClsPrefix}-tag--round`]: round,
34745
34777
  [`${mergedClsPrefix}-tag--avatar`]: avatarNode,
@@ -34778,7 +34810,7 @@
34778
34810
  }
34779
34811
  });
34780
34812
 
34781
- var style$1t = cB("base-clear", `
34813
+ var style$1u = cB("base-clear", `
34782
34814
  flex-shrink: 0;
34783
34815
  height: 1em;
34784
34816
  width: 1em;
@@ -34819,7 +34851,7 @@
34819
34851
  onClear: Function
34820
34852
  },
34821
34853
  setup(props) {
34822
- useStyle("-base-clear", style$1t, vue.toRef(props, "clsPrefix"));
34854
+ useStyle("-base-clear", style$1u, vue.toRef(props, "clsPrefix"));
34823
34855
  return {
34824
34856
  handleMouseDown(e) {
34825
34857
  e.preventDefault();
@@ -34913,7 +34945,7 @@
34913
34945
  }
34914
34946
  });
34915
34947
 
34916
- const self$1f = vars => {
34948
+ const self$1g = vars => {
34917
34949
  const {
34918
34950
  borderRadius,
34919
34951
  iconMedium,
@@ -35074,7 +35106,7 @@
35074
35106
  peers: {
35075
35107
  Popover: popoverLight
35076
35108
  },
35077
- self: self$1f
35109
+ self: self$1g
35078
35110
  });
35079
35111
 
35080
35112
  const internalSelectionDark = {
@@ -35083,7 +35115,7 @@
35083
35115
  peers: {
35084
35116
  Popover: popoverDark
35085
35117
  },
35086
- self: self$1f
35118
+ self: self$1g
35087
35119
  };
35088
35120
 
35089
35121
  function generateSecondaryStates(state) {
@@ -35107,7 +35139,7 @@
35107
35139
  color: var(--u-arrow-color${state}-secondary);
35108
35140
  `)])];
35109
35141
  }
35110
- var style$1s = c$1([cB("base-selection", `
35142
+ var style$1t = c$1([cB("base-selection", `
35111
35143
  position: relative;
35112
35144
  z-index: auto;
35113
35145
  box-shadow: none;
@@ -35456,7 +35488,7 @@
35456
35488
  const themeRef = useTheme(
35457
35489
  "InternalSelection",
35458
35490
  "-internal-selection",
35459
- style$1s,
35491
+ style$1t,
35460
35492
  internalSelectionLight,
35461
35493
  props,
35462
35494
  vue.toRef(props, "clsPrefix")
@@ -36521,7 +36553,7 @@
36521
36553
  })];
36522
36554
  }
36523
36555
 
36524
- var style$1r = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
36556
+ var style$1s = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
36525
36557
  from {
36526
36558
  transform: translateY(60%);
36527
36559
  opacity: 0;
@@ -36640,7 +36672,7 @@
36640
36672
  }
36641
36673
  },
36642
36674
  setup(props) {
36643
- useStyle("-base-slot-machine", style$1r, vue.toRef(props, "clsPrefix"));
36675
+ useStyle("-base-slot-machine", style$1s, vue.toRef(props, "clsPrefix"));
36644
36676
  const oldValueRef = vue.ref();
36645
36677
  const newValueRef = vue.ref();
36646
36678
  const numbersRef = vue.computed(() => {
@@ -36806,8 +36838,8 @@
36806
36838
  onUpdateChecked
36807
36839
  } = props;
36808
36840
  const {
36809
- nTriggerFormInput,
36810
- nTriggerFormChange
36841
+ triggerFormInput,
36842
+ triggerFormChange
36811
36843
  } = formItem;
36812
36844
  const nextChecked = renderedCheckedRef.value ? props.uncheckedValue : props.checkedValue;
36813
36845
  if (_onUpdateCheck) {
@@ -36817,8 +36849,8 @@
36817
36849
  call(onUpdateChecked, nextChecked, e);
36818
36850
  }
36819
36851
  if (onChange) call(onChange, nextChecked, e);
36820
- nTriggerFormInput();
36821
- nTriggerFormChange();
36852
+ triggerFormInput();
36853
+ triggerFormChange();
36822
36854
  uncontrolledCheckedRef.value = nextChecked;
36823
36855
  }
36824
36856
  }
@@ -36954,14 +36986,14 @@
36954
36986
  onChange
36955
36987
  } = props;
36956
36988
  const {
36957
- nTriggerFormInput,
36958
- nTriggerFormChange
36989
+ triggerFormInput,
36990
+ triggerFormChange
36959
36991
  } = formItem;
36960
36992
  if (onUpdateChecked) call(onUpdateChecked, true);
36961
36993
  if (_onUpdateChecked) call(_onUpdateChecked, true);
36962
36994
  if (onChange) onChange(e);
36963
- nTriggerFormInput();
36964
- nTriggerFormChange();
36995
+ triggerFormInput();
36996
+ triggerFormChange();
36965
36997
  uncontrolledCheckedRef.value = true;
36966
36998
  }
36967
36999
  }
@@ -37010,7 +37042,7 @@
37010
37042
  descriptionSpaceBanner: "24px"
37011
37043
  };
37012
37044
 
37013
- const self$1e = vars => {
37045
+ const self$1f = vars => {
37014
37046
  const {
37015
37047
  iconMedium,
37016
37048
  closeMedium,
@@ -37021,7 +37053,7 @@
37021
37053
  fontBodyLarge,
37022
37054
  lineHeightBodyLarge,
37023
37055
  fontWeight,
37024
- borderRadiusLarge,
37056
+ borderRadius,
37025
37057
  staticBlack,
37026
37058
  staticWhite,
37027
37059
  transparencyTertiary,
@@ -37030,15 +37062,16 @@
37030
37062
  transparencyPrimary,
37031
37063
  elementsTertiary,
37032
37064
  textPrimary,
37033
- staticGreen,
37034
- brandSecondary600,
37035
- staticRed,
37036
- brandPrimary500
37065
+ brand150,
37066
+ brand350,
37067
+ brand550,
37068
+ brandPrimary50,
37069
+ staticRed
37037
37070
  } = vars;
37038
37071
  return {
37039
37072
  ...commonVars$6,
37040
37073
  iconSize: iconMedium,
37041
- closeIconSize: iconMedium,
37074
+ closeIconSize: "18px",
37042
37075
  closeSize: closeMedium,
37043
37076
  titleFontSizeAlert: fontTitleSmall,
37044
37077
  titleLineHeightAlert: lineHeightTitleSmall,
@@ -37052,7 +37085,7 @@
37052
37085
  descriptionFontSizeBanner: fontBodyLarge,
37053
37086
  descriptionLineHeightBanner: lineHeightBodyLarge,
37054
37087
  descriptionFontWeightBanner: fontWeight,
37055
- borderRadius: borderRadiusLarge,
37088
+ borderRadius,
37056
37089
  // Default
37057
37090
  color: staticBlack,
37058
37091
  titleTextColor: staticWhite,
@@ -37074,17 +37107,17 @@
37074
37107
  closeIconColorHoverInfo: textPrimary,
37075
37108
  closeIconColorPressedInfo: textPrimary,
37076
37109
  // Success
37077
- colorSuccess: staticGreen,
37078
- titleTextColorSuccess: staticWhite,
37079
- iconColorSuccess: staticWhite,
37080
- contentTextColorSuccess: staticWhite,
37110
+ colorSuccess: brand350,
37111
+ titleTextColorSuccess: staticBlack,
37112
+ iconColorSuccess: staticBlack,
37113
+ contentTextColorSuccess: staticBlack,
37081
37114
  closeColorHoverSuccess: transparencyTertiary,
37082
37115
  closeColorPressedSuccess: transparencyQuinary,
37083
- closeIconColorSuccess: staticWhite,
37084
- closeIconColorHoverSuccess: staticWhite,
37085
- closeIconColorPressedSuccess: staticWhite,
37116
+ closeIconColorSuccess: staticBlack,
37117
+ closeIconColorHoverSuccess: staticBlack,
37118
+ closeIconColorPressedSuccess: staticBlack,
37086
37119
  // Warning
37087
- colorWarning: brandSecondary600,
37120
+ colorWarning: brand150,
37088
37121
  titleTextColorWarning: staticBlack,
37089
37122
  iconColorWarning: staticBlack,
37090
37123
  contentTextColorWarning: staticBlack,
@@ -37094,40 +37127,40 @@
37094
37127
  closeIconColorHoverWarning: staticBlack,
37095
37128
  closeIconColorPressedWarning: staticBlack,
37096
37129
  // Error
37097
- colorError: staticRed,
37098
- titleTextColorError: staticWhite,
37099
- iconColorError: staticWhite,
37100
- contentTextColorError: staticWhite,
37130
+ colorError: brand550,
37131
+ titleTextColorError: staticBlack,
37132
+ iconColorError: staticRed,
37133
+ contentTextColorError: staticBlack,
37101
37134
  closeColorHoverError: transparencyTertiary,
37102
37135
  closeColorPressedError: transparencyQuinary,
37103
- closeIconColorError: staticWhite,
37104
- closeIconColorHoverError: staticWhite,
37105
- closeIconColorPressedError: staticWhite,
37136
+ closeIconColorError: staticBlack,
37137
+ closeIconColorHoverError: staticBlack,
37138
+ closeIconColorPressedError: staticBlack,
37106
37139
  // Primary
37107
- colorPrimary: brandPrimary500,
37108
- titleTextColorPrimary: staticWhite,
37109
- iconColorPrimary: staticWhite,
37110
- contentTextColorPrimary: staticWhite,
37140
+ colorPrimary: brandPrimary50,
37141
+ titleTextColorPrimary: staticBlack,
37142
+ iconColorPrimary: staticBlack,
37143
+ contentTextColorPrimary: staticBlack,
37111
37144
  closeColorHoverPrimary: transparencyTertiary,
37112
37145
  closeColorPressedPrimary: transparencyQuinary,
37113
- closeIconColorPrimary: staticWhite,
37114
- closeIconColorHoverPrimary: staticWhite,
37115
- closeIconColorPressedPrimary: staticWhite
37146
+ closeIconColorPrimary: staticBlack,
37147
+ closeIconColorHoverPrimary: staticBlack,
37148
+ closeIconColorPressedPrimary: staticBlack
37116
37149
  };
37117
37150
  };
37118
37151
  const alertLight = {
37119
37152
  name: "Alert",
37120
37153
  common: derived,
37121
- self: self$1e
37154
+ self: self$1f
37122
37155
  };
37123
37156
 
37124
37157
  const alertDark = {
37125
37158
  name: "Alert",
37126
37159
  common: derived$1,
37127
- self: self$1e
37160
+ self: self$1f
37128
37161
  };
37129
37162
 
37130
- var rtlStyle$p = cB("alert", [cM("rtl", `
37163
+ var rtlStyle$q = cB("alert", [cM("rtl", `
37131
37164
  direction: rtl;
37132
37165
  `, [cE("icon", `
37133
37166
  left: unset;
@@ -37145,10 +37178,10 @@
37145
37178
 
37146
37179
  const alertRtl = {
37147
37180
  name: "Alert",
37148
- style: rtlStyle$p
37181
+ style: rtlStyle$q
37149
37182
  };
37150
37183
 
37151
- const self$1d = vars => {
37184
+ const self$1e = vars => {
37152
37185
  const {
37153
37186
  borderRadius,
37154
37187
  fontBodyMedium,
@@ -37178,16 +37211,16 @@
37178
37211
  const anchorLight = {
37179
37212
  name: "Anchor",
37180
37213
  common: derived,
37181
- self: self$1d
37214
+ self: self$1e
37182
37215
  };
37183
37216
 
37184
37217
  const anchorDark = {
37185
37218
  name: "Anchor",
37186
37219
  common: derived$1,
37187
- self: self$1d
37220
+ self: self$1e
37188
37221
  };
37189
37222
 
37190
- const self$1c = vars => {
37223
+ const self$1d = vars => {
37191
37224
  const {
37192
37225
  iconMedium,
37193
37226
  textSecondary,
@@ -37287,16 +37320,16 @@
37287
37320
  const inputLight = {
37288
37321
  name: "Input",
37289
37322
  common: derived,
37290
- self: self$1c
37323
+ self: self$1d
37291
37324
  };
37292
37325
 
37293
37326
  const inputDark = {
37294
37327
  name: "Input",
37295
37328
  common: derived$1,
37296
- self: self$1c
37329
+ self: self$1d
37297
37330
  };
37298
37331
 
37299
- var rtlStyle$o = cB("input", [cM("rtl", `
37332
+ var rtlStyle$p = cB("input", [cM("rtl", `
37300
37333
  direction: rtl;
37301
37334
  `, [cE("prefix", {
37302
37335
  marginRight: 0,
@@ -37314,10 +37347,10 @@
37314
37347
 
37315
37348
  const inputRtl = {
37316
37349
  name: "Input",
37317
- style: rtlStyle$o
37350
+ style: rtlStyle$p
37318
37351
  };
37319
37352
 
37320
- function self$1b(vars) {
37353
+ function self$1c(vars) {
37321
37354
  const {
37322
37355
  shadowDepth2
37323
37356
  } = vars;
@@ -37332,7 +37365,7 @@
37332
37365
  InternalSelectMenu: internalSelectMenuLight,
37333
37366
  Input: inputLight
37334
37367
  },
37335
- self: self$1b
37368
+ self: self$1c
37336
37369
  });
37337
37370
 
37338
37371
  const autoCompleteDark = {
@@ -37342,10 +37375,10 @@
37342
37375
  InternalSelectMenu: internalSelectMenuDark,
37343
37376
  Input: inputDark
37344
37377
  },
37345
- self: self$1b
37378
+ self: self$1c
37346
37379
  };
37347
37380
 
37348
- const self$1a = vars => {
37381
+ const self$1b = vars => {
37349
37382
  const {
37350
37383
  borderRadius,
37351
37384
  heightSmall,
@@ -37377,16 +37410,16 @@
37377
37410
  const avatarLight = {
37378
37411
  name: "Avatar",
37379
37412
  common: derived,
37380
- self: self$1a
37413
+ self: self$1b
37381
37414
  };
37382
37415
 
37383
37416
  const avatarDark = {
37384
37417
  name: "Avatar",
37385
37418
  common: derived$1,
37386
- self: self$1a
37419
+ self: self$1b
37387
37420
  };
37388
37421
 
37389
- const self$19 = () => {
37422
+ const self$1a = () => {
37390
37423
  return {
37391
37424
  gap: "-12px"
37392
37425
  };
@@ -37397,7 +37430,7 @@
37397
37430
  peers: {
37398
37431
  Avatar: avatarLight
37399
37432
  },
37400
- self: self$19
37433
+ self: self$1a
37401
37434
  });
37402
37435
 
37403
37436
  const avatarGroupDark = {
@@ -37406,10 +37439,10 @@
37406
37439
  peers: {
37407
37440
  Avatar: avatarDark
37408
37441
  },
37409
- self: self$19
37442
+ self: self$1a
37410
37443
  };
37411
37444
 
37412
- var rtlStyle$n = cB("avatar-group", [cM("rtl", `
37445
+ var rtlStyle$o = cB("avatar-group", [cM("rtl", `
37413
37446
  direction: rtl;
37414
37447
  `, [cNotM("vertical", `
37415
37448
  flex-direction: row;
@@ -37420,10 +37453,10 @@
37420
37453
 
37421
37454
  const avatarGroupRtl = {
37422
37455
  name: "AvatarGroup",
37423
- style: rtlStyle$n
37456
+ style: rtlStyle$o
37424
37457
  };
37425
37458
 
37426
- const self$18 = vars => {
37459
+ const self$19 = vars => {
37427
37460
  const {
37428
37461
  heightLarge,
37429
37462
  iconMedium,
@@ -37448,16 +37481,16 @@
37448
37481
  const backTopLight = {
37449
37482
  name: "BackTop",
37450
37483
  common: derived,
37451
- self: self$18
37484
+ self: self$19
37452
37485
  };
37453
37486
 
37454
37487
  const backTopDark = {
37455
37488
  name: "BackTop",
37456
37489
  common: derived$1,
37457
- self: self$18
37490
+ self: self$19
37458
37491
  };
37459
37492
 
37460
- const self$17 = vars => {
37493
+ const self$18 = vars => {
37461
37494
  const {
37462
37495
  brandQuaternary500,
37463
37496
  elementsPrimary,
@@ -37489,16 +37522,16 @@
37489
37522
  const badgeLight = {
37490
37523
  name: "Badge",
37491
37524
  common: derived,
37492
- self: self$17
37525
+ self: self$18
37493
37526
  };
37494
37527
 
37495
37528
  const badgeDark = {
37496
37529
  name: "Badge",
37497
37530
  common: derived$1,
37498
- self: self$17
37531
+ self: self$18
37499
37532
  };
37500
37533
 
37501
- var rtlStyle$m = cB("badge", [cM("rtl", `
37534
+ var rtlStyle$n = cB("badge", [cM("rtl", `
37502
37535
  direction: rtl;
37503
37536
  `, [cB("badge-sup", `
37504
37537
  right: 100%;
@@ -37509,10 +37542,10 @@
37509
37542
 
37510
37543
  const badgeRtl = {
37511
37544
  name: "Badge",
37512
- style: rtlStyle$m
37545
+ style: rtlStyle$n
37513
37546
  };
37514
37547
 
37515
- const self$16 = vars => {
37548
+ const self$17 = vars => {
37516
37549
  const {
37517
37550
  fontWeightStrong,
37518
37551
  fontBodyMedium,
@@ -37535,13 +37568,13 @@
37535
37568
  const breadcrumbLight = {
37536
37569
  name: "Breadcrumb",
37537
37570
  common: derived,
37538
- self: self$16
37571
+ self: self$17
37539
37572
  };
37540
37573
 
37541
37574
  const breadcrumbDark = {
37542
37575
  name: "Breadcrumb",
37543
37576
  common: derived$1,
37544
- self: self$16
37577
+ self: self$17
37545
37578
  };
37546
37579
 
37547
37580
  var commonVariables$5 = {
@@ -37564,7 +37597,7 @@
37564
37597
  rippleDuration: ".6s"
37565
37598
  };
37566
37599
 
37567
- const self$15 = vars => {
37600
+ const self$16 = vars => {
37568
37601
  const {
37569
37602
  heightMini,
37570
37603
  heightTiny,
@@ -37812,16 +37845,16 @@
37812
37845
  const buttonLight = {
37813
37846
  name: "Button",
37814
37847
  common: derived,
37815
- self: self$15
37848
+ self: self$16
37816
37849
  };
37817
37850
 
37818
37851
  const buttonDark = {
37819
37852
  name: "Button",
37820
37853
  common: derived$1,
37821
- self: self$15
37854
+ self: self$16
37822
37855
  };
37823
37856
 
37824
- var rtlStyle$l = cB("button", [cM("rtl", `
37857
+ var rtlStyle$m = cB("button", [cM("rtl", `
37825
37858
  direction: rtl;
37826
37859
  `, [cE("icon", {
37827
37860
  margin: "var(--u-icon-margin)",
@@ -37833,7 +37866,7 @@
37833
37866
 
37834
37867
  const buttonRtl = {
37835
37868
  name: "Button",
37836
- style: rtlStyle$l
37869
+ style: rtlStyle$m
37837
37870
  };
37838
37871
 
37839
37872
  var commonVars$5 = {
@@ -37842,7 +37875,7 @@
37842
37875
  closeBorderRadius: "50px"
37843
37876
  };
37844
37877
 
37845
- const self$14 = vars => {
37878
+ const self$15 = vars => {
37846
37879
  const {
37847
37880
  fontWeightStrong,
37848
37881
  lineHeightBodyMedium,
@@ -37962,7 +37995,7 @@
37962
37995
  peers: {
37963
37996
  Scrollbar: scrollbarLight
37964
37997
  },
37965
- self: self$14
37998
+ self: self$15
37966
37999
  });
37967
38000
 
37968
38001
  const notificationDark = {
@@ -37971,10 +38004,10 @@
37971
38004
  peers: {
37972
38005
  Scrollbar: scrollbarDark
37973
38006
  },
37974
- self: self$14
38007
+ self: self$15
37975
38008
  };
37976
38009
 
37977
- var rtlStyle$k = cB("notification", [cM("rtl", `
38010
+ var rtlStyle$l = cB("notification", [cM("rtl", `
37978
38011
  direction: rtl;
37979
38012
  `, [cB("notification-main", `
37980
38013
  margin-left: unset;
@@ -37998,7 +38031,7 @@
37998
38031
 
37999
38032
  const notificationRtl = {
38000
38033
  name: "Notification",
38001
- style: rtlStyle$k
38034
+ style: rtlStyle$l
38002
38035
  };
38003
38036
 
38004
38037
  var commonVariables$4 = {
@@ -38009,7 +38042,7 @@
38009
38042
  iconMargin: "0 16px 0 0"
38010
38043
  };
38011
38044
 
38012
- const self$13 = vars => {
38045
+ const self$14 = vars => {
38013
38046
  const {
38014
38047
  closeMedium,
38015
38048
  iconMedium,
@@ -38094,16 +38127,16 @@
38094
38127
  const messageLight = {
38095
38128
  name: "Message",
38096
38129
  common: derived,
38097
- self: self$13
38130
+ self: self$14
38098
38131
  };
38099
38132
 
38100
38133
  const messageDark = {
38101
38134
  name: "Message",
38102
38135
  common: derived$1,
38103
- self: self$13
38136
+ self: self$14
38104
38137
  };
38105
38138
 
38106
- var rtlStyle$j = cB("message", [cM("rtl", `
38139
+ var rtlStyle$k = cB("message", [cM("rtl", `
38107
38140
  direction: rtl;
38108
38141
  `, [cE("close", `
38109
38142
  margin: 0 10px 0 0;
@@ -38113,7 +38146,7 @@
38113
38146
 
38114
38147
  const messageRtl = {
38115
38148
  name: "Message",
38116
- style: rtlStyle$j
38149
+ style: rtlStyle$k
38117
38150
  };
38118
38151
 
38119
38152
  const buttonGroupDark = {
@@ -38142,7 +38175,7 @@
38142
38175
  top: n1
38143
38176
  })])])])]);
38144
38177
  }
38145
- var style$1q = cB("button-group", `
38178
+ var style$1r = cB("button-group", `
38146
38179
  flex-wrap: nowrap;
38147
38180
  display: inline-flex;
38148
38181
  position: relative;
@@ -38186,7 +38219,7 @@
38186
38219
  left: n1
38187
38220
  })])])])]);
38188
38221
  }
38189
- var rtlStyle$i = cB("button-group", [cNotM("vertical", [cM("rtl", `
38222
+ var rtlStyle$j = cB("button-group", [cNotM("vertical", [cM("rtl", `
38190
38223
  direction: rtl;
38191
38224
  `, [cB("button", [c$1("&:last-child:not(:first-child)", `
38192
38225
  margin-right: ${zero};
@@ -38204,7 +38237,7 @@
38204
38237
 
38205
38238
  const buttonGroupRtl = {
38206
38239
  name: "ButtonGroup",
38207
- style: rtlStyle$i
38240
+ style: rtlStyle$j
38208
38241
  };
38209
38242
 
38210
38243
  var commonVariables$3 = {
@@ -38214,7 +38247,7 @@
38214
38247
  paddingHuge: "27px 40px 28px"
38215
38248
  };
38216
38249
 
38217
- const self$12 = vars => {
38250
+ const self$13 = vars => {
38218
38251
  const {
38219
38252
  borderRadius,
38220
38253
  fontWeight,
@@ -38280,16 +38313,16 @@
38280
38313
  const cardLight = {
38281
38314
  name: "Card",
38282
38315
  common: derived,
38283
- self: self$12
38316
+ self: self$13
38284
38317
  };
38285
38318
 
38286
38319
  const cardDark$1 = {
38287
38320
  name: "Card",
38288
38321
  common: derived$1,
38289
- self: self$12
38322
+ self: self$13
38290
38323
  };
38291
38324
 
38292
- var rtlStyle$h = cB("card", [cM("rtl", `
38325
+ var rtlStyle$i = cB("card", [cM("rtl", `
38293
38326
  direction: rtl;
38294
38327
  `), c$1(">", [cB("card-header", [c$1(">", [cE("close", `
38295
38328
  margin: 0 8px 0 0;
@@ -38297,10 +38330,10 @@
38297
38330
 
38298
38331
  const cardRtl = {
38299
38332
  name: "Card",
38300
- style: rtlStyle$h
38333
+ style: rtlStyle$i
38301
38334
  };
38302
38335
 
38303
- const self$11 = vars => {
38336
+ const self$12 = vars => {
38304
38337
  const {
38305
38338
  textSecondary,
38306
38339
  textPrimary,
@@ -38312,7 +38345,7 @@
38312
38345
  borderRadiusLarge,
38313
38346
  containerSecondary,
38314
38347
  shadowDepth2,
38315
- elementsQuinary,
38348
+ elementsQuaternary,
38316
38349
  elementsSecondary
38317
38350
  } = vars;
38318
38351
  return {
@@ -38328,20 +38361,20 @@
38328
38361
  borderRadius: borderRadiusLarge,
38329
38362
  boxShadow: shadowDepth2,
38330
38363
  colorEmbedded: containerSecondary,
38331
- dividerColor: elementsQuinary,
38364
+ dividerColor: elementsQuaternary,
38332
38365
  dropDownBgColor: elementsSecondary
38333
38366
  };
38334
38367
  };
38335
38368
  const cardListLight = {
38336
38369
  name: "CardList",
38337
38370
  common: derived,
38338
- self: self$11
38371
+ self: self$12
38339
38372
  };
38340
38373
 
38341
38374
  const cardDark = {
38342
38375
  name: "CardList",
38343
38376
  common: derived$1,
38344
- self: self$11
38377
+ self: self$12
38345
38378
  };
38346
38379
 
38347
38380
  var commonVariables$2 = {
@@ -38351,7 +38384,7 @@
38351
38384
  labelPadding: "0 16px"
38352
38385
  };
38353
38386
 
38354
- const self$10 = vars => {
38387
+ const self$11 = vars => {
38355
38388
  const {
38356
38389
  lineHeightBodyLarge,
38357
38390
  fontBodyLarge,
@@ -38427,25 +38460,25 @@
38427
38460
  const checkboxLight = {
38428
38461
  name: "Checkbox",
38429
38462
  common: derived,
38430
- self: self$10
38463
+ self: self$11
38431
38464
  };
38432
38465
 
38433
38466
  const checkboxDark = {
38434
38467
  name: "Checkbox",
38435
38468
  common: derived$1,
38436
- self: self$10
38469
+ self: self$11
38437
38470
  };
38438
38471
 
38439
- var rtlStyle$g = cB("checkbox", [cM("rtl", `
38472
+ var rtlStyle$h = cB("checkbox", [cM("rtl", `
38440
38473
  direction: rtl;
38441
38474
  `)]);
38442
38475
 
38443
38476
  const checkboxRtl = {
38444
38477
  name: "Checkbox",
38445
- style: rtlStyle$g
38478
+ style: rtlStyle$h
38446
38479
  };
38447
38480
 
38448
- const self$$ = vars => {
38481
+ const self$10 = vars => {
38449
38482
  const {
38450
38483
  borderRadius,
38451
38484
  heightMedium,
@@ -38486,7 +38519,7 @@
38486
38519
  Checkbox: checkboxLight,
38487
38520
  Empty: emptyLight
38488
38521
  },
38489
- self: self$$
38522
+ self: self$10
38490
38523
  });
38491
38524
 
38492
38525
  const cascaderDark = {
@@ -38499,10 +38532,10 @@
38499
38532
  Checkbox: checkboxDark,
38500
38533
  Empty: emptyLight
38501
38534
  },
38502
- self: self$$
38535
+ self: self$10
38503
38536
  };
38504
38537
 
38505
- const self$_ = vars => {
38538
+ const self$$ = vars => {
38506
38539
  const {
38507
38540
  textPrimary,
38508
38541
  fontBodyMedium,
@@ -38530,12 +38563,12 @@
38530
38563
  const codeLight = {
38531
38564
  name: "Code",
38532
38565
  common: derived,
38533
- self: self$_
38566
+ self: self$$
38534
38567
  };
38535
38568
 
38536
- const self$Z = vars => {
38569
+ const self$_ = vars => {
38537
38570
  return {
38538
- ...self$_(vars),
38571
+ ...self$$(vars),
38539
38572
  // extracted from hljs atom-one-dark.scss
38540
38573
  "mono-3": "#5c6370",
38541
38574
  "hue-1": "#56b6c2",
@@ -38551,10 +38584,10 @@
38551
38584
  const codeDark = {
38552
38585
  name: "Code",
38553
38586
  common: derived$1,
38554
- self: self$Z
38587
+ self: self$_
38555
38588
  };
38556
38589
 
38557
- const self$Y = vars => {
38590
+ const self$Z = vars => {
38558
38591
  const {
38559
38592
  fontWeight,
38560
38593
  fontBodyLarge,
@@ -38564,7 +38597,8 @@
38564
38597
  textSecondary,
38565
38598
  fontBodyMedium,
38566
38599
  lineHeightBodyMedium,
38567
- iconSmall
38600
+ iconSmall,
38601
+ containerPrimary
38568
38602
  } = vars;
38569
38603
  return {
38570
38604
  titleFontSize: fontBodyLarge,
@@ -38579,23 +38613,26 @@
38579
38613
  arrowSize: iconSmall,
38580
38614
  arrowColor: textPrimary,
38581
38615
  arrowColorDisabled: textSecondary,
38582
- itemMargin: "16px 0 0 0",
38583
- titlePadding: "16px 0 0 0"
38616
+ titlePadding: "16px 0 0 0",
38617
+ backgroundColor: containerPrimary,
38618
+ borderRadius: "20px",
38619
+ padding: "24px",
38620
+ boxSizing: "border-box"
38584
38621
  };
38585
38622
  };
38586
38623
  const collapseLight = {
38587
38624
  name: "Collapse",
38588
38625
  common: derived,
38589
- self: self$Y
38626
+ self: self$Z
38590
38627
  };
38591
38628
 
38592
38629
  const collapseDark = {
38593
38630
  name: "Collapse",
38594
38631
  common: derived$1,
38595
- self: self$Y
38632
+ self: self$Z
38596
38633
  };
38597
38634
 
38598
- var rtlStyle$f = cB("collapse", [cM("rtl", `
38635
+ var rtlStyle$g = cB("collapse", [cM("rtl", `
38599
38636
  direction: rtl;
38600
38637
  `, [cB("collapse-item", [cB("collapse-item", {
38601
38638
  marginRight: "32px",
@@ -38612,10 +38649,10 @@
38612
38649
 
38613
38650
  const collapseRtl = {
38614
38651
  name: "Collapse",
38615
- style: rtlStyle$f
38652
+ style: rtlStyle$g
38616
38653
  };
38617
38654
 
38618
- const self$X = vars => {
38655
+ const self$Y = vars => {
38619
38656
  const {
38620
38657
  cubicBezierEaseInOut
38621
38658
  } = vars;
@@ -38626,26 +38663,26 @@
38626
38663
  const collapseTransitionLight = {
38627
38664
  name: "CollapseTransition",
38628
38665
  common: derived,
38629
- self: self$X
38666
+ self: self$Y
38630
38667
  };
38631
38668
 
38632
38669
  const collapseTransitionDark = {
38633
38670
  name: "CollapseTransition",
38634
38671
  common: derived$1,
38635
- self: self$X
38672
+ self: self$Y
38636
38673
  };
38637
38674
 
38638
- var rtlStyle$e = cB("collapse-transition", [cM("rtl", `
38675
+ var rtlStyle$f = cB("collapse-transition", [cM("rtl", `
38639
38676
  direction: rtl;
38640
38677
  text-align: right;
38641
38678
  `)]);
38642
38679
 
38643
38680
  const collapseTransitionRtl = {
38644
38681
  name: "CollapseTransition",
38645
- style: rtlStyle$e
38682
+ style: rtlStyle$f
38646
38683
  };
38647
38684
 
38648
- const self$W = vars => {
38685
+ const self$X = vars => {
38649
38686
  const {
38650
38687
  borderRadius,
38651
38688
  fontBodyMedium,
@@ -38682,7 +38719,7 @@
38682
38719
  peers: {
38683
38720
  Popover: popoverLight
38684
38721
  },
38685
- self: self$W
38722
+ self: self$X
38686
38723
  });
38687
38724
 
38688
38725
  const tooltipDark = {
@@ -38691,7 +38728,7 @@
38691
38728
  peers: {
38692
38729
  Popover: popoverDark
38693
38730
  },
38694
- self: self$W
38731
+ self: self$X
38695
38732
  };
38696
38733
 
38697
38734
  const ellipsisDark = {
@@ -38710,7 +38747,7 @@
38710
38747
  }
38711
38748
  });
38712
38749
 
38713
- const self$V = vars => {
38750
+ const self$W = vars => {
38714
38751
  const {
38715
38752
  heightTiny,
38716
38753
  heightSmall,
@@ -38802,16 +38839,16 @@
38802
38839
  const radioLight = {
38803
38840
  name: "Radio",
38804
38841
  common: derived,
38805
- self: self$V
38842
+ self: self$W
38806
38843
  };
38807
38844
 
38808
38845
  const radioDark = {
38809
38846
  name: "Radio",
38810
38847
  common: derived$1,
38811
- self: self$V
38848
+ self: self$W
38812
38849
  };
38813
38850
 
38814
- var rtlStyle$d = c$1([cB("radio", [cM("rtl", `
38851
+ var rtlStyle$e = c$1([cB("radio", [cM("rtl", `
38815
38852
  direction: rtl;
38816
38853
  `)]), cB("radio-group", [cM("rtl", `
38817
38854
  direction: rtl;
@@ -38833,7 +38870,7 @@
38833
38870
 
38834
38871
  const radioRtl = {
38835
38872
  name: "Radio",
38836
- style: rtlStyle$d
38873
+ style: rtlStyle$e
38837
38874
  };
38838
38875
 
38839
38876
  const popselect = {
@@ -38845,7 +38882,7 @@
38845
38882
  }
38846
38883
  };
38847
38884
 
38848
- function self$U(vars) {
38885
+ function self$V(vars) {
38849
38886
  const {
38850
38887
  shadowDepth2
38851
38888
  } = vars;
@@ -38860,10 +38897,10 @@
38860
38897
  Popover: popoverLight,
38861
38898
  InternalSelectMenu: internalSelectMenuLight
38862
38899
  },
38863
- self: self$U
38900
+ self: self$V
38864
38901
  });
38865
38902
 
38866
- function self$T(vars) {
38903
+ function self$U(vars) {
38867
38904
  const {
38868
38905
  shadowDepth2
38869
38906
  } = vars;
@@ -38878,7 +38915,7 @@
38878
38915
  InternalSelection: internalSelectionLight,
38879
38916
  InternalSelectMenu: internalSelectMenuLight
38880
38917
  },
38881
- self: self$T
38918
+ self: self$U
38882
38919
  });
38883
38920
 
38884
38921
  const selectDark = {
@@ -38888,10 +38925,10 @@
38888
38925
  InternalSelection: internalSelectionDark,
38889
38926
  InternalSelectMenu: internalSelectMenuDark
38890
38927
  },
38891
- self: self$T
38928
+ self: self$U
38892
38929
  };
38893
38930
 
38894
- const self$S = vars => {
38931
+ const self$T = vars => {
38895
38932
  const {
38896
38933
  brandPrimary100,
38897
38934
  transparencySecondary,
@@ -38989,7 +39026,7 @@
38989
39026
  Input: inputLight,
38990
39027
  Popselect: popselectLight
38991
39028
  },
38992
- self: self$S
39029
+ self: self$T
38993
39030
  });
38994
39031
 
38995
39032
  const paginationDark = {
@@ -39000,10 +39037,10 @@
39000
39037
  Input: inputDark,
39001
39038
  Popselect: popselect
39002
39039
  },
39003
- self: self$S
39040
+ self: self$T
39004
39041
  };
39005
39042
 
39006
- var rtlStyle$c = cB("pagination", [cM("rtl", `
39043
+ var rtlStyle$d = cB("pagination", [cM("rtl", `
39007
39044
  direction: rtl;
39008
39045
  `, [c$1("> *:not(:first-child)", `
39009
39046
  margin: var(--u-item-margin-rtl);
@@ -39013,11 +39050,11 @@
39013
39050
 
39014
39051
  const paginationRtl = {
39015
39052
  name: "Pagination",
39016
- style: rtlStyle$c,
39053
+ style: rtlStyle$d,
39017
39054
  peers: [inputRtl]
39018
39055
  };
39019
39056
 
39020
- const self$R = vars => {
39057
+ const self$S = vars => {
39021
39058
  const {
39022
39059
  borderRadius,
39023
39060
  fontBodySmall,
@@ -39104,7 +39141,7 @@
39104
39141
  peers: {
39105
39142
  Popover: popoverLight
39106
39143
  },
39107
- self: self$R
39144
+ self: self$S
39108
39145
  });
39109
39146
 
39110
39147
  const dropdownDark = {
@@ -39113,10 +39150,10 @@
39113
39150
  peers: {
39114
39151
  Popover: popoverDark
39115
39152
  },
39116
- self: self$R
39153
+ self: self$S
39117
39154
  };
39118
39155
 
39119
- const self$Q = vars => {
39156
+ const self$R = vars => {
39120
39157
  const {
39121
39158
  borderRadius,
39122
39159
  opacityDisabled,
@@ -39214,7 +39251,7 @@
39214
39251
  Ellipsis: ellipsisLight,
39215
39252
  Dropdown: dropdownLight
39216
39253
  },
39217
- self: self$Q
39254
+ self: self$R
39218
39255
  });
39219
39256
 
39220
39257
  const dataTableDark = {
@@ -39231,10 +39268,10 @@
39231
39268
  Ellipsis: ellipsisDark,
39232
39269
  Dropdown: dropdownDark
39233
39270
  },
39234
- self: self$Q
39271
+ self: self$R
39235
39272
  };
39236
39273
 
39237
- const self$P = vars => {
39274
+ const self$Q = vars => {
39238
39275
  const {
39239
39276
  opacityDisabled,
39240
39277
  borderRadius,
@@ -39276,7 +39313,7 @@
39276
39313
  Button: buttonLight,
39277
39314
  Input: inputLight
39278
39315
  },
39279
- self: self$P
39316
+ self: self$Q
39280
39317
  });
39281
39318
 
39282
39319
  const timePickerDark = {
@@ -39287,7 +39324,7 @@
39287
39324
  Button: buttonDark,
39288
39325
  Input: inputDark
39289
39326
  },
39290
- self: self$P
39327
+ self: self$Q
39291
39328
  };
39292
39329
 
39293
39330
  const START_YEAR = 1924;
@@ -39338,7 +39375,7 @@
39338
39375
  calendarRightPaddingYearrange: "0"
39339
39376
  };
39340
39377
 
39341
- const self$O = vars => {
39378
+ const self$P = vars => {
39342
39379
  const {
39343
39380
  iconMedium,
39344
39381
  fontWeightStrong,
@@ -39438,7 +39475,7 @@
39438
39475
  TimePicker: timePickerLight,
39439
39476
  Scrollbar: scrollbarLight
39440
39477
  },
39441
- self: self$O
39478
+ self: self$P
39442
39479
  });
39443
39480
 
39444
39481
  const datePickerDark = {
@@ -39450,10 +39487,10 @@
39450
39487
  TimePicker: timePickerDark,
39451
39488
  Scrollbar: scrollbarDark
39452
39489
  },
39453
- self: self$O
39490
+ self: self$P
39454
39491
  };
39455
39492
 
39456
- const self$N = vars => {
39493
+ const self$O = vars => {
39457
39494
  const {
39458
39495
  borderRadius,
39459
39496
  lineHeightBodyLarge,
@@ -39503,13 +39540,13 @@
39503
39540
  const descriptionsLight = {
39504
39541
  name: "Descriptions",
39505
39542
  common: derived,
39506
- self: self$N
39543
+ self: self$O
39507
39544
  };
39508
39545
 
39509
39546
  const descriptionsDark = {
39510
39547
  name: "Descriptions",
39511
39548
  common: derived$1,
39512
- self: self$N
39549
+ self: self$O
39513
39550
  };
39514
39551
 
39515
39552
  var commonVars$3 = {
@@ -39523,7 +39560,7 @@
39523
39560
  closeBorderRadius: "100px"
39524
39561
  };
39525
39562
 
39526
- const self$M = vars => {
39563
+ const self$N = vars => {
39527
39564
  const {
39528
39565
  borderRadius,
39529
39566
  containerPrimary,
@@ -39580,7 +39617,7 @@
39580
39617
  peers: {
39581
39618
  Button: buttonLight
39582
39619
  },
39583
- self: self$M
39620
+ self: self$N
39584
39621
  });
39585
39622
 
39586
39623
  const dialogDark = {
@@ -39589,10 +39626,10 @@
39589
39626
  peers: {
39590
39627
  Button: buttonDark
39591
39628
  },
39592
- self: self$M
39629
+ self: self$N
39593
39630
  };
39594
39631
 
39595
- const self$L = vars => {
39632
+ const self$M = vars => {
39596
39633
  const {
39597
39634
  elementsQuaternary,
39598
39635
  textPrimary,
@@ -39612,13 +39649,13 @@
39612
39649
  const dividerLight = {
39613
39650
  name: "Divider",
39614
39651
  common: derived,
39615
- self: self$L
39652
+ self: self$M
39616
39653
  };
39617
39654
 
39618
39655
  const dividerDark = {
39619
39656
  name: "Divider",
39620
39657
  common: derived$1,
39621
- self: self$L
39658
+ self: self$M
39622
39659
  };
39623
39660
 
39624
39661
  var commonVars$2 = {
@@ -39634,7 +39671,7 @@
39634
39671
  contentBorderRadius: "24px"
39635
39672
  };
39636
39673
 
39637
- const self$K = vars => {
39674
+ const self$L = vars => {
39638
39675
  const {
39639
39676
  containerPrimary,
39640
39677
  textPrimary,
@@ -39683,7 +39720,7 @@
39683
39720
  peers: {
39684
39721
  Scrollbar: scrollbarLight
39685
39722
  },
39686
- self: self$K
39723
+ self: self$L
39687
39724
  });
39688
39725
 
39689
39726
  const drawerDark = {
@@ -39692,10 +39729,10 @@
39692
39729
  peers: {
39693
39730
  Scrollbar: scrollbarDark
39694
39731
  },
39695
- self: self$K
39732
+ self: self$L
39696
39733
  };
39697
39734
 
39698
- var rtlStyle$b = cB("drawer", [cM("rtl", `
39735
+ var rtlStyle$c = cB("drawer", [cM("rtl", `
39699
39736
  direction: rtl;
39700
39737
  text-align: right;
39701
39738
  `, [cB("drawer-content", [cB("drawer-header", [cE("close", `
@@ -39705,7 +39742,7 @@
39705
39742
 
39706
39743
  const drawerRtl = {
39707
39744
  name: "Drawer",
39708
- style: rtlStyle$b,
39745
+ style: rtlStyle$c,
39709
39746
  peers: [scrollbarRtl]
39710
39747
  };
39711
39748
 
@@ -39726,7 +39763,7 @@
39726
39763
  }
39727
39764
  };
39728
39765
 
39729
- const self$J = () => {
39766
+ const self$K = () => {
39730
39767
  return commonVariables$1;
39731
39768
  };
39732
39769
  const dynamicInputLight = createTheme$1({
@@ -39736,10 +39773,10 @@
39736
39773
  Input: inputLight,
39737
39774
  Button: buttonLight
39738
39775
  },
39739
- self: self$J
39776
+ self: self$K
39740
39777
  });
39741
39778
 
39742
- var rtlStyle$a = cB("dynamic-input", [cM("rtl", `
39779
+ var rtlStyle$b = cB("dynamic-input", [cM("rtl", `
39743
39780
  direction: rtl;
39744
39781
  `, [cB("dynamic-input-preset-pair", [cB("dynamic-input-pair-input", [c$1("&:first-child", {
39745
39782
  "margin-left": "12px",
@@ -39748,19 +39785,19 @@
39748
39785
  margin: var(--action-margin-rtl);
39749
39786
  `)])])]);
39750
39787
 
39751
- var rtlStyle$9 = cB("input-number", [cM("rtl", `
39788
+ var rtlStyle$a = cB("input-number", [cM("rtl", `
39752
39789
  direction: rtl;
39753
39790
  `)]);
39754
39791
 
39755
39792
  const inputNumberRtl = {
39756
39793
  name: "InputNumber",
39757
- style: rtlStyle$9,
39794
+ style: rtlStyle$a,
39758
39795
  peers: [inputRtl, buttonRtl]
39759
39796
  };
39760
39797
 
39761
39798
  const dynamicInputRtl = {
39762
39799
  name: "DynamicInput",
39763
- style: rtlStyle$a,
39800
+ style: rtlStyle$b,
39764
39801
  peers: [inputRtl, buttonRtl, buttonGroupRtl, checkboxRtl, inputNumberRtl]
39765
39802
  };
39766
39803
 
@@ -39777,21 +39814,21 @@
39777
39814
  }
39778
39815
  };
39779
39816
 
39780
- const self$I = () => {
39817
+ const self$J = () => {
39781
39818
  return commonVars$1;
39782
39819
  };
39783
39820
  const spaceLight = {
39784
39821
  name: "Space",
39785
- self: self$I
39822
+ self: self$J
39786
39823
  };
39787
39824
 
39788
- var rtlStyle$8 = cB("space", [cM("rtl", `
39825
+ var rtlStyle$9 = cB("space", [cM("rtl", `
39789
39826
  direction: rtl;
39790
39827
  `)]);
39791
39828
 
39792
39829
  const spaceRtl = {
39793
39830
  name: "Space",
39794
- style: rtlStyle$8
39831
+ style: rtlStyle$9
39795
39832
  };
39796
39833
 
39797
39834
  const dynamicTagsDark = {
@@ -39836,7 +39873,7 @@
39836
39873
  common: derived
39837
39874
  };
39838
39875
 
39839
- const self$H = vars => {
39876
+ const self$I = vars => {
39840
39877
  const {
39841
39878
  heightSmall,
39842
39879
  heightMedium,
@@ -39891,16 +39928,16 @@
39891
39928
  const formLight = {
39892
39929
  name: "Form",
39893
39930
  common: derived,
39894
- self: self$H
39931
+ self: self$I
39895
39932
  };
39896
39933
 
39897
39934
  const formItemDark = {
39898
39935
  name: "Form",
39899
39936
  common: derived$1,
39900
- self: self$H
39937
+ self: self$I
39901
39938
  };
39902
39939
 
39903
- const self$G = vars => {
39940
+ const self$H = vars => {
39904
39941
  const {
39905
39942
  brandPrimary500,
39906
39943
  staticGreen,
@@ -39937,16 +39974,16 @@
39937
39974
  const gradientTextLight = {
39938
39975
  name: "GradientText",
39939
39976
  common: derived,
39940
- self: self$G
39977
+ self: self$H
39941
39978
  };
39942
39979
 
39943
39980
  const gradientTextDark = {
39944
39981
  name: "GradientText",
39945
39982
  common: derived$1,
39946
- self: self$G
39983
+ self: self$H
39947
39984
  };
39948
39985
 
39949
- const self$F = vars => {
39986
+ const self$G = vars => {
39950
39987
  const {
39951
39988
  elementsPrimary
39952
39989
  } = vars;
@@ -39962,16 +39999,16 @@
39962
39999
  const iconLight = {
39963
40000
  name: "Icon",
39964
40001
  common: derived,
39965
- self: self$F
40002
+ self: self$G
39966
40003
  };
39967
40004
 
39968
40005
  const iconDark$1 = {
39969
40006
  name: "Icon",
39970
40007
  common: derived$1,
39971
- self: self$F
40008
+ self: self$G
39972
40009
  };
39973
40010
 
39974
- const self$E = vars => {
40011
+ const self$F = vars => {
39975
40012
  return {};
39976
40013
  };
39977
40014
  const inputNumberLight = createTheme$1({
@@ -39981,7 +40018,7 @@
39981
40018
  Button: buttonLight,
39982
40019
  Input: inputLight
39983
40020
  },
39984
- self: self$E
40021
+ self: self$F
39985
40022
  });
39986
40023
 
39987
40024
  const inputNumberDark = {
@@ -39991,9 +40028,46 @@
39991
40028
  Button: buttonDark,
39992
40029
  Input: inputDark
39993
40030
  },
40031
+ self: self$F
40032
+ };
40033
+
40034
+ function self$E() {
40035
+ return {
40036
+ inputWidthSmall: "44px",
40037
+ inputWidthMedium: "50px",
40038
+ inputWidthLarge: "56px",
40039
+ gapSmall: "6px",
40040
+ gapMedium: "8px",
40041
+ gapLarge: "10px"
40042
+ };
40043
+ }
40044
+ const inputOtpLight = createTheme$1({
40045
+ name: "InputOtp",
40046
+ common: derived,
40047
+ peers: {
40048
+ Input: inputLight
40049
+ },
40050
+ self: self$E
40051
+ });
40052
+
40053
+ const inputOtpDark = {
40054
+ name: "InputOtp",
40055
+ common: derived$1,
40056
+ peers: {
40057
+ Input: inputDark
40058
+ },
39994
40059
  self: self$E
39995
40060
  };
39996
40061
 
40062
+ var rtlStyle$8 = cB("input-otp", [cM("rtl", `
40063
+ direction: rtl;
40064
+ `)]);
40065
+
40066
+ const inputOtpRtl = {
40067
+ name: "InputOtp",
40068
+ style: rtlStyle$8
40069
+ };
40070
+
39997
40071
  const self$D = vars => {
39998
40072
  const {
39999
40073
  textPrimary,
@@ -41789,7 +41863,7 @@
41789
41863
  self: self$b
41790
41864
  };
41791
41865
 
41792
- var style$1p = cB("text", `
41866
+ var style$1q = cB("text", `
41793
41867
  transition: color .3s var(--u-bezier);
41794
41868
  color: var(--u-text-color);
41795
41869
  margin: 0;
@@ -42048,7 +42122,7 @@
42048
42122
  const themeRef = useTheme(
42049
42123
  "Typography",
42050
42124
  "-text",
42051
- style$1p,
42125
+ style$1q,
42052
42126
  typographyLight,
42053
42127
  props,
42054
42128
  mergedClsPrefixRef
@@ -42183,7 +42257,7 @@
42183
42257
  `)];
42184
42258
  }
42185
42259
 
42186
- var style$1o = cB("alert", `
42260
+ var style$1p = cB("alert", `
42187
42261
  line-height: var(--u-line-height);
42188
42262
  position: relative;
42189
42263
  transition: background-color .3s var(--u-bezier);
@@ -42352,7 +42426,7 @@
42352
42426
  const themeRef = useTheme(
42353
42427
  "Alert",
42354
42428
  "-alert",
42355
- style$1o,
42429
+ style$1p,
42356
42430
  alertLight,
42357
42431
  props,
42358
42432
  mergedClsPrefixRef
@@ -42479,7 +42553,7 @@
42479
42553
  }
42480
42554
  });
42481
42555
 
42482
- var style$1n = cB("anchor", `
42556
+ var style$1o = cB("anchor", `
42483
42557
  position: relative;
42484
42558
  `, [cNotM("block", `
42485
42559
  padding-left: var(--u-rail-width);
@@ -42894,7 +42968,7 @@
42894
42968
  const themeRef = useTheme(
42895
42969
  "Anchor",
42896
42970
  "-anchor",
42897
- style$1n,
42971
+ style$1o,
42898
42972
  anchorLight,
42899
42973
  props,
42900
42974
  mergedClsPrefixRef
@@ -43143,7 +43217,7 @@
43143
43217
  }
43144
43218
  });
43145
43219
 
43146
- var style$1m = cB("input", `
43220
+ var style$1n = cB("input", `
43147
43221
  max-width: 100%;
43148
43222
  cursor: text;
43149
43223
  line-height: 1.5;
@@ -43681,7 +43755,7 @@
43681
43755
 
43682
43756
  const buttonGroupInjectionKey = createInjectionKey("u-button-group");
43683
43757
 
43684
- var style$1l = c$1([cB("button", `
43758
+ var style$1m = c$1([cB("button", `
43685
43759
  margin: 0;
43686
43760
  font-weight: var(--u-font-weight);
43687
43761
  line-height: 1;
@@ -43993,7 +44067,7 @@
43993
44067
  const themeRef = useTheme(
43994
44068
  "Button",
43995
44069
  "-button",
43996
- style$1l,
44070
+ style$1m,
43997
44071
  buttonLight,
43998
44072
  props,
43999
44073
  mergedClsPrefixRef
@@ -44399,7 +44473,7 @@
44399
44473
  });
44400
44474
  const XButton = Button;
44401
44475
 
44402
- var style$1k = cB("icon", `
44476
+ var style$1l = cB("icon", `
44403
44477
  height: 1em;
44404
44478
  width: 1em;
44405
44479
  line-height: 1em;
@@ -44438,7 +44512,7 @@
44438
44512
  mergedClsPrefixRef,
44439
44513
  inlineThemeDisabled
44440
44514
  } = useConfig(props);
44441
- const themeRef = useTheme("Icon", "-icon", style$1k, iconLight, props, mergedClsPrefixRef);
44515
+ const themeRef = useTheme("Icon", "-icon", style$1l, iconLight, props, mergedClsPrefixRef);
44442
44516
  const cssVarsRef = vue.computed(() => {
44443
44517
  const {
44444
44518
  depth
@@ -44529,7 +44603,7 @@
44529
44603
  const messageApiInjectionKey = createInjectionKey("u-message-api");
44530
44604
  const messageProviderInjectionKey = createInjectionKey("u-message-provider");
44531
44605
 
44532
- var style$1j = c$1([cB("message-wrapper", `
44606
+ var style$1k = c$1([cB("message-wrapper", `
44533
44607
  margin: var(--u-margin);
44534
44608
  z-index: 0;
44535
44609
  transform-origin: top center;
@@ -44652,7 +44726,7 @@
44652
44726
  const themeRef = useTheme(
44653
44727
  "Message",
44654
44728
  "-message",
44655
- style$1j,
44729
+ style$1k,
44656
44730
  messageLight,
44657
44731
  messageProviderProps,
44658
44732
  mergedClsPrefixRef
@@ -45199,7 +45273,7 @@
45199
45273
  const themeRef = useTheme(
45200
45274
  "Input",
45201
45275
  "-input",
45202
- style$1m,
45276
+ style$1n,
45203
45277
  inputLight,
45204
45278
  props,
45205
45279
  mergedClsPrefixRef
@@ -45347,32 +45421,32 @@
45347
45421
  const vm = vue.getCurrentInstance().proxy;
45348
45422
  function doUpdateValue(value) {
45349
45423
  const { onUpdateValue, "onUpdate:value": _onUpdateValue, onInput } = props;
45350
- const { nTriggerFormInput } = formItem;
45424
+ const { triggerFormInput } = formItem;
45351
45425
  if (onUpdateValue) call(onUpdateValue, value);
45352
45426
  if (_onUpdateValue) call(_onUpdateValue, value);
45353
45427
  if (onInput) call(onInput, value);
45354
45428
  uncontrolledValueRef.value = value;
45355
- nTriggerFormInput();
45429
+ triggerFormInput();
45356
45430
  emitDebouncedInput(value);
45357
45431
  }
45358
45432
  function doChange(value) {
45359
45433
  const { onChange } = props;
45360
- const { nTriggerFormChange } = formItem;
45434
+ const { triggerFormChange } = formItem;
45361
45435
  if (onChange) call(onChange, value);
45362
45436
  uncontrolledValueRef.value = value;
45363
- nTriggerFormChange();
45437
+ triggerFormChange();
45364
45438
  }
45365
45439
  function doBlur(e) {
45366
45440
  const { onBlur } = props;
45367
- const { nTriggerFormBlur } = formItem;
45441
+ const { triggerFormBlur } = formItem;
45368
45442
  if (onBlur) call(onBlur, e);
45369
- nTriggerFormBlur();
45443
+ triggerFormBlur();
45370
45444
  }
45371
45445
  function doFocus(e) {
45372
45446
  const { onFocus } = props;
45373
- const { nTriggerFormFocus } = formItem;
45447
+ const { triggerFormFocus } = formItem;
45374
45448
  if (onFocus) call(onFocus, e);
45375
- nTriggerFormFocus();
45449
+ triggerFormFocus();
45376
45450
  }
45377
45451
  function doClear(e) {
45378
45452
  const { onClear } = props;
@@ -46228,7 +46302,7 @@
46228
46302
  }
46229
46303
  });
46230
46304
 
46231
- var style$1i = cB("input-group", `
46305
+ var style$1j = cB("input-group", `
46232
46306
  display: inline-flex;
46233
46307
  width: 100%;
46234
46308
  flex-wrap: nowrap;
@@ -46291,7 +46365,7 @@
46291
46365
  props: inputGroupProps,
46292
46366
  setup(props) {
46293
46367
  const { mergedClsPrefixRef } = useConfig(props);
46294
- useStyle("-input-group", style$1i, mergedClsPrefixRef);
46368
+ useStyle("-input-group", style$1j, mergedClsPrefixRef);
46295
46369
  return {
46296
46370
  mergedClsPrefix: mergedClsPrefixRef
46297
46371
  };
@@ -46302,7 +46376,7 @@
46302
46376
  }
46303
46377
  });
46304
46378
 
46305
- var style$1h = cB("input-group-label", `
46379
+ var style$1i = cB("input-group-label", `
46306
46380
  position: relative;
46307
46381
  user-select: none;
46308
46382
  -webkit-user-select: none;
@@ -46352,7 +46426,7 @@
46352
46426
  const themeRef = useTheme(
46353
46427
  "Input",
46354
46428
  "-input-group-label",
46355
- style$1h,
46429
+ style$1i,
46356
46430
  inputLight,
46357
46431
  props,
46358
46432
  mergedClsPrefixRef
@@ -46435,7 +46509,7 @@
46435
46509
  }
46436
46510
  }
46437
46511
 
46438
- var style$1g = c$1([cB("auto-complete", `
46512
+ var style$1h = c$1([cB("auto-complete", `
46439
46513
  z-index: auto;
46440
46514
  position: relative;
46441
46515
  display: inline-flex;
@@ -46538,7 +46612,7 @@
46538
46612
  const themeRef = useTheme(
46539
46613
  "AutoComplete",
46540
46614
  "-auto-complete",
46541
- style$1g,
46615
+ style$1h,
46542
46616
  autoCompleteLight,
46543
46617
  props,
46544
46618
  mergedClsPrefixRef
@@ -46564,32 +46638,32 @@
46564
46638
  );
46565
46639
  function doUpdateValue(value) {
46566
46640
  const { "onUpdate:value": _onUpdateValue, onUpdateValue, onInput } = props;
46567
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
46641
+ const { triggerFormInput, triggerFormChange } = formItem;
46568
46642
  if (onUpdateValue) call(onUpdateValue, value);
46569
46643
  if (_onUpdateValue) call(_onUpdateValue, value);
46570
46644
  if (onInput) call(onInput, value);
46571
46645
  uncontrolledValueRef.value = value;
46572
- nTriggerFormInput();
46573
- nTriggerFormChange();
46646
+ triggerFormInput();
46647
+ triggerFormChange();
46574
46648
  }
46575
46649
  function doSelect(value) {
46576
46650
  const { onSelect } = props;
46577
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
46651
+ const { triggerFormInput, triggerFormChange } = formItem;
46578
46652
  if (onSelect) call(onSelect, value);
46579
- nTriggerFormInput();
46580
- nTriggerFormChange();
46653
+ triggerFormInput();
46654
+ triggerFormChange();
46581
46655
  }
46582
46656
  function doBlur(e) {
46583
46657
  const { onBlur } = props;
46584
- const { nTriggerFormBlur } = formItem;
46658
+ const { triggerFormBlur } = formItem;
46585
46659
  if (onBlur) call(onBlur, e);
46586
- nTriggerFormBlur();
46660
+ triggerFormBlur();
46587
46661
  }
46588
46662
  function doFocus(e) {
46589
46663
  const { onFocus } = props;
46590
- const { nTriggerFormFocus } = formItem;
46664
+ const { triggerFormFocus } = formItem;
46591
46665
  if (onFocus) call(onFocus, e);
46592
- nTriggerFormFocus();
46666
+ triggerFormFocus();
46593
46667
  }
46594
46668
  function doScroll(e) {
46595
46669
  const { onScroll } = props;
@@ -46958,7 +47032,7 @@
46958
47032
  self: self$a
46959
47033
  };
46960
47034
 
46961
- var style$1f = c$1([cB("skeleton", `
47035
+ var style$1g = c$1([cB("skeleton", `
46962
47036
  height: 1em;
46963
47037
  width: 100%;
46964
47038
  transition: background-color .3s var(--u-bezier);
@@ -47014,7 +47088,7 @@
47014
47088
  const themeRef = useTheme(
47015
47089
  "Skeleton",
47016
47090
  "-skeleton",
47017
- style$1f,
47091
+ style$1g,
47018
47092
  skeletonLight,
47019
47093
  props,
47020
47094
  mergedClsPrefixRef
@@ -47071,7 +47145,7 @@
47071
47145
  }
47072
47146
  });
47073
47147
 
47074
- var style$1e = cB("avatar", `
47148
+ var style$1f = cB("avatar", `
47075
47149
  width: var(--u-merged-size);
47076
47150
  height: var(--u-merged-size);
47077
47151
  color: var(--u-text-color);
@@ -47132,7 +47206,9 @@
47132
47206
  renderFallback: Function,
47133
47207
  imgProps: Object,
47134
47208
  disabled: Boolean,
47135
- loading: Boolean
47209
+ loading: Boolean,
47210
+ iconColor: String,
47211
+ iconSize: [String, Number]
47136
47212
  };
47137
47213
  var UAvatar = vue.defineComponent({
47138
47214
  name: "Avatar",
@@ -47178,7 +47254,7 @@
47178
47254
  const themeRef = useTheme(
47179
47255
  "Avatar",
47180
47256
  "-avatar",
47181
- style$1e,
47257
+ style$1f,
47182
47258
  avatarLight,
47183
47259
  props,
47184
47260
  mergedClsPrefixRef
@@ -47236,6 +47312,11 @@
47236
47312
  const getBackgroundColor = (color2) => {
47237
47313
  return props.disabled || size === "small" ? "rgba(0,0,0,0)" : color2;
47238
47314
  };
47315
+ const resolveSize = (value, fallback) => {
47316
+ if (value === void 0) return fallback;
47317
+ value = String(value);
47318
+ return /^\d+$/.test(value) ? `${value}px` : value;
47319
+ };
47239
47320
  return {
47240
47321
  "--u-font-size": fontSize,
47241
47322
  "--u-font-weight": fontWeight,
@@ -47243,10 +47324,10 @@
47243
47324
  "--u-border-radius": round ? "50%" : borderRadius,
47244
47325
  "--u-color": getBackgroundColor(color),
47245
47326
  "--u-text-color": textColor,
47246
- "--u-icon-color": iconColor,
47327
+ "--u-icon-color": props.iconColor || iconColor,
47247
47328
  "--u-bezier": cubicBezierEaseInOut,
47248
47329
  "--u-merged-size": `var(--u-avatar-size-override, ${height})`,
47249
- "--u-icon-size": iconSize
47330
+ "--u-icon-size": resolveSize(props.iconSize, iconSize)
47250
47331
  };
47251
47332
  });
47252
47333
  const themeClassHandle = inlineThemeDisabled ? useThemeClass(
@@ -47385,7 +47466,7 @@
47385
47466
  }
47386
47467
  });
47387
47468
 
47388
- var style$1d = cB("avatar-group", `
47469
+ var style$1e = cB("avatar-group", `
47389
47470
  flex-wrap: nowrap;
47390
47471
  display: inline-flex;
47391
47472
  position: relative;
@@ -47419,7 +47500,7 @@
47419
47500
  const mergedThemeRef = useTheme(
47420
47501
  "AvatarGroup",
47421
47502
  "-avatar-group",
47422
- style$1d,
47503
+ style$1e,
47423
47504
  avatarGroupLight,
47424
47505
  props,
47425
47506
  mergedClsPrefixRef
@@ -47514,7 +47595,7 @@
47514
47595
  /* @__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
47596
  );
47516
47597
 
47517
- var style$1c = cB("back-top", `
47598
+ var style$1d = cB("back-top", `
47518
47599
  position: fixed;
47519
47600
  right: 40px;
47520
47601
  bottom: 40px;
@@ -47653,7 +47734,7 @@
47653
47734
  const themeRef = useTheme(
47654
47735
  "BackTop",
47655
47736
  "-back-top",
47656
- style$1c,
47737
+ style$1d,
47657
47738
  backTopLight,
47658
47739
  props,
47659
47740
  mergedClsPrefixRef
@@ -47803,7 +47884,7 @@
47803
47884
  }
47804
47885
  });
47805
47886
 
47806
- var style$1b = c$1([c$1("@keyframes badge-wave-spread", {
47887
+ var style$1c = c$1([c$1("@keyframes badge-wave-spread", {
47807
47888
  from: {
47808
47889
  boxShadow: "0 0 0.5px 0px var(--u-ripple-color)",
47809
47890
  opacity: 0.6
@@ -47917,7 +47998,7 @@
47917
47998
  const themeRef = useTheme(
47918
47999
  "Badge",
47919
48000
  "-badge",
47920
- style$1b,
48001
+ style$1c,
47921
48002
  badgeLight,
47922
48003
  props,
47923
48004
  mergedClsPrefixRef
@@ -48049,7 +48130,7 @@
48049
48130
  }
48050
48131
  });
48051
48132
 
48052
- var style$1a = cB("breadcrumb", `
48133
+ var style$1b = cB("breadcrumb", `
48053
48134
  white-space: nowrap;
48054
48135
  cursor: default;
48055
48136
  line-height: var(--u-item-line-height);
@@ -48119,7 +48200,7 @@
48119
48200
  const themeRef = useTheme(
48120
48201
  "Breadcrumb",
48121
48202
  "-breadcrumb",
48122
- style$1a,
48203
+ style$1b,
48123
48204
  breadcrumbLight,
48124
48205
  props,
48125
48206
  mergedClsPrefixRef
@@ -48296,7 +48377,7 @@
48296
48377
  props: buttonGroupProps,
48297
48378
  setup(props) {
48298
48379
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
48299
- useStyle("-button-group", style$1q, mergedClsPrefixRef);
48380
+ useStyle("-button-group", style$1r, mergedClsPrefixRef);
48300
48381
  vue.provide(buttonGroupInjectionKey, props);
48301
48382
  const rtlEnabledRef = useRtl(
48302
48383
  "ButtonGroup",
@@ -53687,7 +53768,7 @@
53687
53768
  self: self$9
53688
53769
  };
53689
53770
 
53690
- var style$19 = c$1([cB("calendar", `
53771
+ var style$1a = c$1([cB("calendar", `
53691
53772
  line-height: var(--u-line-height);
53692
53773
  font-size: var(--u-font-size);
53693
53774
  color: var(--u-text-color);
@@ -53825,7 +53906,7 @@
53825
53906
  const themeRef = useTheme(
53826
53907
  "Calendar",
53827
53908
  "-calendar",
53828
- style$19,
53909
+ style$1a,
53829
53910
  calendarLight,
53830
53911
  props,
53831
53912
  mergedClsPrefixRef
@@ -55109,7 +55190,7 @@
55109
55190
  }
55110
55191
  });
55111
55192
 
55112
- var style$18 = c$1([cB("color-picker", `
55193
+ var style$19 = c$1([cB("color-picker", `
55113
55194
  display: inline-block;
55114
55195
  box-sizing: border-box;
55115
55196
  height: var(--u-height);
@@ -55357,7 +55438,7 @@
55357
55438
  const themeRef = useTheme(
55358
55439
  "ColorPicker",
55359
55440
  "-color-picker",
55360
- style$18,
55441
+ style$19,
55361
55442
  colorPickerLight,
55362
55443
  props,
55363
55444
  mergedClsPrefixRef
@@ -55576,12 +55657,12 @@
55576
55657
  } else {
55577
55658
  upcomingValue = null;
55578
55659
  }
55579
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
55660
+ const { triggerFormChange, triggerFormInput } = formItem;
55580
55661
  const { onUpdateValue, "onUpdate:value": _onUpdateValue } = props;
55581
55662
  if (onUpdateValue) call(onUpdateValue, value);
55582
55663
  if (_onUpdateValue) call(_onUpdateValue, value);
55583
- nTriggerFormChange();
55584
- nTriggerFormInput();
55664
+ triggerFormChange();
55665
+ triggerFormInput();
55585
55666
  uncontrolledValueRef.value = value;
55586
55667
  }
55587
55668
  function handleInputUpdateValue(value) {
@@ -55591,7 +55672,7 @@
55591
55672
  function handleComplete(pushStack = true) {
55592
55673
  const { value } = mergedValueRef;
55593
55674
  if (value) {
55594
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
55675
+ const { triggerFormChange, triggerFormInput } = formItem;
55595
55676
  const { onComplete } = props;
55596
55677
  if (onComplete) {
55597
55678
  onComplete(value);
@@ -55602,8 +55683,8 @@
55602
55683
  undoStack.splice(valueIndex + 1, undoStack.length, value);
55603
55684
  valueIndexRef.value = valueIndex + 1;
55604
55685
  }
55605
- nTriggerFormChange();
55606
- nTriggerFormInput();
55686
+ triggerFormChange();
55687
+ triggerFormInput();
55607
55688
  }
55608
55689
  }
55609
55690
  function undo() {
@@ -55906,7 +55987,7 @@
55906
55987
  }
55907
55988
  });
55908
55989
 
55909
- var style$17 = c$1([cB("card", `
55990
+ var style$18 = c$1([cB("card", `
55910
55991
  font-size: var(--u-font-size);
55911
55992
  line-height: var(--u-line-height);
55912
55993
  font-weight: var(--u-font-weight);
@@ -56046,7 +56127,7 @@
56046
56127
  const themeRef = useTheme(
56047
56128
  "Card",
56048
56129
  "-card",
56049
- style$17,
56130
+ style$18,
56050
56131
  cardLight,
56051
56132
  props,
56052
56133
  mergedClsPrefixRef
@@ -56300,7 +56381,7 @@
56300
56381
  }
56301
56382
  };
56302
56383
 
56303
- var style$16 = cB("action-card", `
56384
+ var style$17 = cB("action-card", `
56304
56385
  position: relative;
56305
56386
  width: var(--u-width);
56306
56387
  min-height: var(--u-min-height);
@@ -56390,7 +56471,7 @@
56390
56471
  background-color: var(--u-pressed-background-color);
56391
56472
  `)]);
56392
56473
 
56393
- var style$15 = cB("tooltip", "", [cE("content", `
56474
+ var style$16 = cB("tooltip", "", [cE("content", `
56394
56475
  display: flex;
56395
56476
  align-items: flex-start;
56396
56477
  `), cE("icon", `
@@ -56511,7 +56592,7 @@
56511
56592
  const themeRef = useTheme(
56512
56593
  "Tooltip",
56513
56594
  "-tooltip",
56514
- style$15,
56595
+ style$16,
56515
56596
  tooltipLight,
56516
56597
  props,
56517
56598
  mergedClsPrefixRef
@@ -56610,7 +56691,7 @@
56610
56691
  }
56611
56692
  });
56612
56693
 
56613
- var style$14 = cB("ellipsis", {
56694
+ var style$15 = cB("ellipsis", {
56614
56695
  overflow: "hidden"
56615
56696
  }, [cNotM("line-clamp", `
56616
56697
  white-space: nowrap;
@@ -56648,7 +56729,7 @@
56648
56729
  const mergedTheme = useTheme(
56649
56730
  "Ellipsis",
56650
56731
  "-ellipsis",
56651
- style$14,
56732
+ style$15,
56652
56733
  ellipsisLight,
56653
56734
  props,
56654
56735
  mergedClsPrefixRef
@@ -56800,7 +56881,7 @@
56800
56881
  setup(props, { attrs, slots }) {
56801
56882
  const mouseEnteredRef = vue.ref(false);
56802
56883
  const mergedClsPrefixRef = useMergedClsPrefix();
56803
- useStyle("-ellipsis", style$14, mergedClsPrefixRef);
56884
+ useStyle("-ellipsis", style$15, mergedClsPrefixRef);
56804
56885
  const renderTrigger = () => {
56805
56886
  const { lineClamp } = props;
56806
56887
  const mergedClsPrefix = mergedClsPrefixRef.value;
@@ -56871,7 +56952,7 @@
56871
56952
  const themeRef = useTheme(
56872
56953
  "ActionCard",
56873
56954
  "-action-card",
56874
- style$16,
56955
+ style$17,
56875
56956
  actionCardLight,
56876
56957
  props,
56877
56958
  mergedClsPrefixRef
@@ -57358,16 +57439,16 @@
57358
57439
  }
57359
57440
  });
57360
57441
 
57361
- var style$13 = cB("card-list-item", [c$1("&", {
57442
+ var style$14 = cB("card-list-item", [c$1("&", {
57362
57443
  padding: "16px",
57363
- backgroundColor: "var(--u-color-embedded)",
57364
57444
  borderRadius: "var(--u-border-radius)",
57365
- boxShadow: "var(--u-box-shadow)",
57366
57445
  display: "flex",
57367
57446
  flexDirection: "column",
57368
57447
  gap: "8px",
57369
57448
  position: "relative"
57370
- }), cB("card-list-item__title", {
57449
+ }, [cM("embedded", {
57450
+ backgroundColor: "var(--u-color-embedded)"
57451
+ })]), cB("card-list-item__title", {
57371
57452
  fontSize: "var(--u-title-font-size)",
57372
57453
  lineHeight: "var(--u-title-line-height)",
57373
57454
  fontWeight: "var(--u-title-font-weight)",
@@ -57381,10 +57462,10 @@
57381
57462
  display: "flex",
57382
57463
  gap: "0"
57383
57464
  }, [c$1("&.horizontal", {
57384
- flexDirection: "column"
57385
- }), c$1("&.vertical", {
57386
57465
  flexDirection: "row",
57387
57466
  alignItems: "stretch"
57467
+ }), c$1("&.vertical", {
57468
+ flexDirection: "column"
57388
57469
  })]), cB("card-list-item__items--grid", {
57389
57470
  display: "grid",
57390
57471
  gridAutoFlow: "column",
@@ -57468,6 +57549,10 @@
57468
57549
  default: "horizontal"
57469
57550
  },
57470
57551
  dropdown: Boolean,
57552
+ embedded: {
57553
+ type: Boolean,
57554
+ default: false
57555
+ },
57471
57556
  renderDivider: Function
57472
57557
  };
57473
57558
  var UCardListItem = vue.defineComponent({
@@ -57475,7 +57560,7 @@
57475
57560
  props: cardListItemProps,
57476
57561
  setup(props, { slots }) {
57477
57562
  const { mergedClsPrefixRef } = useConfig(props);
57478
- useStyle("-card-list-item", style$13, mergedClsPrefixRef);
57563
+ useStyle("-card-list-item", style$14, mergedClsPrefixRef);
57479
57564
  const isOpen = vue.ref(false);
57480
57565
  const toggle = () => {
57481
57566
  isOpen.value = !isOpen.value;
@@ -57512,7 +57597,10 @@
57512
57597
  return /* @__PURE__ */ vue.h(
57513
57598
  "div",
57514
57599
  {
57515
- class: `${mergedClsPrefix}-card-list-item`,
57600
+ class: [
57601
+ `${mergedClsPrefix}-card-list-item`,
57602
+ this.embedded && `${mergedClsPrefix}-card-list-item--embedded`
57603
+ ],
57516
57604
  onClick: isDropdown && items.length ? this.toggle : void 0,
57517
57605
  ref: "selfRef"
57518
57606
  },
@@ -57535,7 +57623,7 @@
57535
57623
  class: [
57536
57624
  `${mergedClsPrefix}-card-list-item__items`,
57537
57625
  this.direction,
57538
- this.direction === "vertical" && `${mergedClsPrefix}-card-list-item__items--grid`
57626
+ this.direction === "horizontal" && `${mergedClsPrefix}-card-list-item__items--grid`
57539
57627
  ]
57540
57628
  },
57541
57629
  items.map((item, idx) => [
@@ -57547,8 +57635,8 @@
57547
57635
  }) : vue.h("div", {
57548
57636
  class: [
57549
57637
  `${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`
57638
+ this.direction === "horizontal" ? `${mergedClsPrefix}-card-list-item__divider--vertical` : `${mergedClsPrefix}-card-list-item__divider--horizontal`,
57639
+ this.direction === "horizontal" && `${mergedClsPrefix}-card-list-item__divider--grid`
57552
57640
  ]
57553
57641
  }))
57554
57642
  ])
@@ -57603,7 +57691,7 @@
57603
57691
  const themeRef = useTheme(
57604
57692
  "CardList",
57605
57693
  "-card-list",
57606
- style$13,
57694
+ style$14,
57607
57695
  cardListLight,
57608
57696
  props,
57609
57697
  mergedClsPrefixRef
@@ -57689,6 +57777,7 @@
57689
57777
  subtitle: card.subtitle,
57690
57778
  items: card.items,
57691
57779
  direction: card.direction,
57780
+ embedded: card.embedded,
57692
57781
  dropdown: card.dropdown,
57693
57782
  ...cardProps,
57694
57783
  renderDivider: showDivider ? renderDivider : () => null
@@ -58070,7 +58159,7 @@
58070
58159
  }
58071
58160
  });
58072
58161
 
58073
- var style$12 = cB("carousel", `
58162
+ var style$13 = cB("carousel", `
58074
58163
  position: relative;
58075
58164
  width: 100%;
58076
58165
  height: 100%;
@@ -58976,7 +59065,7 @@
58976
59065
  const themeRef = useTheme(
58977
59066
  "Carousel",
58978
59067
  "-carousel",
58979
- style$12,
59068
+ style$13,
58980
59069
  carouselLight,
58981
59070
  props,
58982
59071
  mergedClsPrefixRef
@@ -59173,7 +59262,7 @@
59173
59262
 
59174
59263
  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
59264
 
59176
- var style$11 = c$1([iconSwitchTransition(), c$1("@keyframes ripple", {
59265
+ var style$12 = c$1([iconSwitchTransition(), c$1("@keyframes ripple", {
59177
59266
  from: {
59178
59267
  transform: "scale(0)"
59179
59268
  },
@@ -59365,7 +59454,7 @@
59365
59454
  const themeRef = useTheme(
59366
59455
  "Checkbox",
59367
59456
  "-checkbox",
59368
- style$11,
59457
+ style$12,
59369
59458
  checkboxLight,
59370
59459
  props,
59371
59460
  mergedClsPrefixRef
@@ -59621,7 +59710,7 @@
59621
59710
  return /* @__PURE__ */ new Set();
59622
59711
  });
59623
59712
  function toggleCheckbox(checked, checkboxValue) {
59624
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
59713
+ const { triggerFormInput, triggerFormChange } = formItem;
59625
59714
  const {
59626
59715
  onChange,
59627
59716
  "onUpdate:value": _onUpdateValue,
@@ -59645,8 +59734,8 @@
59645
59734
  value: checkboxValue
59646
59735
  });
59647
59736
  }
59648
- nTriggerFormInput();
59649
- nTriggerFormChange();
59737
+ triggerFormInput();
59738
+ triggerFormChange();
59650
59739
  uncontrolledValueRef.value = groupValue;
59651
59740
  if (onChange) call(onChange, groupValue);
59652
59741
  }
@@ -59667,8 +59756,8 @@
59667
59756
  }
59668
59757
  if (onChange) call(onChange, groupValue);
59669
59758
  uncontrolledValueRef.value = groupValue;
59670
- nTriggerFormInput();
59671
- nTriggerFormChange();
59759
+ triggerFormInput();
59760
+ triggerFormChange();
59672
59761
  }
59673
59762
  }
59674
59763
  } else {
@@ -59687,8 +59776,8 @@
59687
59776
  }
59688
59777
  if (onChange) call(onChange, [checkboxValue]);
59689
59778
  uncontrolledValueRef.value = [checkboxValue];
59690
- nTriggerFormInput();
59691
- nTriggerFormChange();
59779
+ triggerFormInput();
59780
+ triggerFormChange();
59692
59781
  } else {
59693
59782
  if (onUpdateValue) {
59694
59783
  call(onUpdateValue, [], {
@@ -59704,8 +59793,8 @@
59704
59793
  }
59705
59794
  if (onChange) call(onChange, []);
59706
59795
  uncontrolledValueRef.value = [];
59707
- nTriggerFormInput();
59708
- nTriggerFormChange();
59796
+ triggerFormInput();
59797
+ triggerFormChange();
59709
59798
  }
59710
59799
  }
59711
59800
  }
@@ -60387,7 +60476,7 @@
60387
60476
  }
60388
60477
  });
60389
60478
 
60390
- var style$10 = c$1([cB("cascader-menu", `
60479
+ var style$11 = c$1([cB("cascader-menu", `
60391
60480
  outline: none;
60392
60481
  position: relative;
60393
60482
  margin: 4px 0;
@@ -60628,7 +60717,7 @@
60628
60717
  const themeRef = useTheme(
60629
60718
  "Cascader",
60630
60719
  "-cascader",
60631
- style$10,
60720
+ style$11,
60632
60721
  cascaderLight,
60633
60722
  props,
60634
60723
  mergedClsPrefixRef
@@ -60740,7 +60829,7 @@
60740
60829
  "onUpdate:value": _onUpdateValue,
60741
60830
  onChange
60742
60831
  } = props;
60743
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
60832
+ const { triggerFormInput, triggerFormChange } = formItem;
60744
60833
  if (onUpdateValue) {
60745
60834
  call(onUpdateValue, value, option, optionPath);
60746
60835
  }
@@ -60751,8 +60840,8 @@
60751
60840
  call(onChange, value, option, optionPath);
60752
60841
  }
60753
60842
  uncontrolledValueRef.value = value;
60754
- nTriggerFormInput();
60755
- nTriggerFormChange();
60843
+ triggerFormInput();
60844
+ triggerFormChange();
60756
60845
  }
60757
60846
  function updateKeyboardKey(key) {
60758
60847
  keyboardKeyRef.value = key;
@@ -60939,15 +61028,15 @@
60939
61028
  );
60940
61029
  function doBlur(e) {
60941
61030
  const { onBlur } = props;
60942
- const { nTriggerFormBlur } = formItem;
61031
+ const { triggerFormBlur } = formItem;
60943
61032
  if (onBlur) call(onBlur, e);
60944
- nTriggerFormBlur();
61033
+ triggerFormBlur();
60945
61034
  }
60946
61035
  function doFocus(e) {
60947
61036
  const { onFocus } = props;
60948
- const { nTriggerFormFocus } = formItem;
61037
+ const { triggerFormFocus } = formItem;
60949
61038
  if (onFocus) call(onFocus, e);
60950
- nTriggerFormFocus();
61039
+ triggerFormFocus();
60951
61040
  }
60952
61041
  function focusSelectionInput() {
60953
61042
  triggerInstRef.value?.focusInput();
@@ -61527,7 +61616,7 @@
61527
61616
  }
61528
61617
  });
61529
61618
 
61530
- var style$$ = c$1([cB("code", `
61619
+ var style$10 = c$1([cB("code", `
61531
61620
  font-size: var(--u-font-size);
61532
61621
  font-family: var(--u-font-family);
61533
61622
  `, [cM("show-line-numbers", `
@@ -61693,7 +61782,7 @@
61693
61782
  const themeRef = useTheme(
61694
61783
  "Code",
61695
61784
  "-code",
61696
- style$$,
61785
+ style$10,
61697
61786
  codeLight,
61698
61787
  props,
61699
61788
  mergedClsPrefixRef
@@ -61792,55 +61881,72 @@
61792
61881
  }
61793
61882
  });
61794
61883
 
61795
- var style$_ = cB("collapse", "width: 100%;", [cB("collapse-item", `
61796
- font-size: var(--u-font-size);
61797
- line-height: var(--u-line-height);
61798
- color: var(--u-text-color);
61799
- transition:
61800
- color .3s var(--u-bezier),
61801
- border-color .3s var(--u-bezier);
61802
- margin: var(--u-item-margin);
61803
- `, [cM("disabled", [cE("header", "cursor: not-allowed;", [cE("header-main", `
61804
- color: var(--u-title-text-color-disabled);
61805
- `), cB("collapse-item-arrow", `
61806
- color: var(--u-arrow-color-disabled);
61807
- `)])]), cB("collapse-item", "margin-left: 32px;"), c$1("&:first-child", "margin-top: 0;"), c$1("&:first-child >", [cE("header", "padding-top: 0;")]), cM("left-arrow-placement", [cE("header", [cB("collapse-item-arrow", "margin-right: 4px;")])]), cM("right-arrow-placement", [cE("header", [cB("collapse-item-arrow", `
61808
- margin-left: 4px;
61809
- order: 1;
61810
- `)])]), cM("right-edge-arrow-placement", [cE("header", [cB("collapse-item-arrow", "margin-left: auto;")])]), cE("content-wrapper", [cE("content-inner", "padding-top: 16px;"), fadeInHeightExpandTransition({
61811
- duration: "0.15s"
61812
- })]), cM("active", [cE("header", [cM("active", [cB("collapse-item-arrow", "transform: rotate(90deg);")])])]), c$1("&:not(:first-child)", "border-top: 1px solid var(--u-divider-color);"), cE("header", `
61813
- font-size: var(--u-title-font-size);
61814
- line-height: var(--u-title-line-height);
61815
- display: flex;
61816
- flex-wrap: nowrap;
61817
- align-items: center;
61818
- transition: color .3s var(--u-bezier);
61819
- position: relative;
61820
- padding: var(--u-title-padding);
61821
- color: var(--u-title-text-color);
61884
+ var style$$ = cB("collapse", `
61885
+ width: 100%;
61886
+ background-color: var(--u-background-color);
61887
+ border-radius: var(--u-border-radius);
61888
+ box-sizing: var(--u-box-sizing);
61889
+ `, [cB("collapse-item", `
61890
+ font-size: var(--u-font-size);
61891
+ line-height: var(--u-line-height);
61892
+ color: var(--u-text-color);
61893
+ transition:
61894
+ color .3s var(--u-bezier),
61895
+ border-color .3s var(--u-bezier);
61896
+ padding: var(--u-padding);
61822
61897
  cursor: pointer;
61823
- `, [cE("header-main", `
61898
+ `, [cM("disabled", [cE("header", "cursor: not-allowed;", [cE("header-main", `
61899
+ color: var(--u-title-text-color-disabled);
61900
+ `), cB("collapse-item-arrow", `
61901
+ color: var(--u-arrow-color-disabled);
61902
+ `)])]), cB("collapse-item", "margin-left: 32px;"), c$1("&:first-child", "margin-top: 0;"), c$1("&:first-child >", [cE("header", "padding-top: 0;")]), cM("left-arrow-placement", [cE("header", [cB("collapse-item-arrow", "margin-right: 4px;")])]), cM("right-arrow-placement", [cE("header", [cB("collapse-item-arrow", `
61903
+ margin-left: 4px;
61904
+ order: 1;
61905
+ `)])]), cM("right-edge-arrow-placement", [cE("header", [cB("collapse-item-arrow", `
61906
+ margin-left: auto;
61907
+ display: flex;
61908
+ width: 28px;
61909
+ height: 28px;
61910
+ justify-content: center;
61911
+ align-items: center;
61912
+ border-radius: 100px;
61913
+ background: #F3F4F6;
61914
+ `, [cB("base-icon", `
61915
+ transform: scaleY(1) rotate(90deg);
61916
+ transition:
61917
+ transform .15s var(--u-bezier)
61918
+ `)])])]), cE("content-wrapper", [cE("content-inner", "padding-top: 16px;"), fadeInHeightExpandTransition({
61919
+ duration: "0.15s"
61920
+ })]), cM("active", [cE("header", [cM("active", [cB("collapse-item-arrow", [cB("base-icon", "transform: scaleY(-1) rotate(90deg)")])])])]), cE("header", `
61921
+ font-size: var(--u-title-font-size);
61922
+ line-height: var(--u-title-line-height);
61824
61923
  display: flex;
61825
61924
  flex-wrap: nowrap;
61826
61925
  align-items: center;
61827
- font-weight: var(--u-title-font-weight);
61828
61926
  transition: color .3s var(--u-bezier);
61829
- flex: 1;
61927
+ position: relative;
61830
61928
  color: var(--u-title-text-color);
61831
- `), cE("header-extra", `
61832
- display: flex;
61833
- align-items: center;
61834
- transition: color .3s var(--u-bezier);
61835
- color: var(--u-text-color);
61836
- `), cB("collapse-item-arrow", `
61837
- display: flex;
61838
- transition:
61839
- transform .15s var(--u-bezier),
61840
- color .3s var(--u-bezier);
61841
- font-size: var(--u-arrow-size);
61842
- color: var(--u-arrow-color);
61843
- `)])])]);
61929
+ `, [cE("header-main", `
61930
+ display: flex;
61931
+ flex-wrap: nowrap;
61932
+ align-items: center;
61933
+ font-weight: var(--u-title-font-weight);
61934
+ transition: color .3s var(--u-bezier);
61935
+ flex: 1;
61936
+ color: var(--u-title-text-color);
61937
+ `), cE("header-extra", `
61938
+ display: flex;
61939
+ align-items: center;
61940
+ transition: color .3s var(--u-bezier);
61941
+ color: var(--u-text-color);
61942
+ `), cB("collapse-item-arrow", `
61943
+ display: flex;
61944
+ transition:
61945
+ transform .15s var(--u-bezier),
61946
+ color .3s var(--u-bezier);
61947
+ font-size: var(--u-arrow-size);
61948
+ color: var(--u-arrow-color);
61949
+ `)])])]);
61844
61950
 
61845
61951
  const collapseProps = {
61846
61952
  ...useTheme.props,
@@ -61851,7 +61957,7 @@
61851
61957
  expandedNames: [Array, String],
61852
61958
  arrowPlacement: {
61853
61959
  type: String,
61854
- default: "left"
61960
+ default: "right-edge"
61855
61961
  },
61856
61962
  accordion: {
61857
61963
  type: Boolean,
@@ -61894,7 +62000,7 @@
61894
62000
  const themeRef = useTheme(
61895
62001
  "Collapse",
61896
62002
  "-collapse",
61897
- style$_,
62003
+ style$$,
61898
62004
  collapseLight,
61899
62005
  props,
61900
62006
  mergedClsPrefixRef
@@ -61976,10 +62082,13 @@
61976
62082
  fontSize,
61977
62083
  titleFontSize,
61978
62084
  arrowColorDisabled,
61979
- itemMargin,
61980
62085
  lineHeight,
61981
62086
  titleLineHeight,
61982
- arrowSize
62087
+ arrowSize,
62088
+ backgroundColor,
62089
+ borderRadius,
62090
+ padding,
62091
+ boxSizing
61983
62092
  }
61984
62093
  } = themeRef.value;
61985
62094
  return {
@@ -61997,7 +62106,10 @@
61997
62106
  "--u-arrow-size": arrowSize,
61998
62107
  "--u-arrow-color": arrowColor,
61999
62108
  "--u-arrow-color-disabled": arrowColorDisabled,
62000
- "--u-item-margin": itemMargin
62109
+ "--u-background-color": backgroundColor,
62110
+ "--u-border-radius": borderRadius,
62111
+ "--u-padding": padding,
62112
+ "--u-box-sizing": boxSizing
62001
62113
  };
62002
62114
  });
62003
62115
  const themeClassHandle = inlineThemeDisabled ? useThemeClass("collapse", void 0, cssVarsRef, props) : void 0;
@@ -62118,6 +62230,7 @@
62118
62230
  return collapseProps.arrowPlacement;
62119
62231
  }),
62120
62232
  handleClick(e) {
62233
+ e.stopPropagation();
62121
62234
  if (UCollapse && !props.disabled) {
62122
62235
  UCollapse.toggleItem(collapsedRef.value, mergedNameRef.value, e);
62123
62236
  }
@@ -62161,7 +62274,8 @@
62161
62274
  `${mergedClsPrefix}-collapse-item--${arrowPlacement}-arrow-placement`,
62162
62275
  disabled && `${mergedClsPrefix}-collapse-item--disabled`,
62163
62276
  !collapsed && `${mergedClsPrefix}-collapse-item--active`
62164
- ]
62277
+ ],
62278
+ onClick: this.handleClick
62165
62279
  },
62166
62280
  /* @__PURE__ */ vue.h(
62167
62281
  "div",
@@ -62174,8 +62288,7 @@
62174
62288
  /* @__PURE__ */ vue.h(
62175
62289
  "div",
62176
62290
  {
62177
- class: `${mergedClsPrefix}-collapse-item__header-main`,
62178
- onClick: this.handleClick
62291
+ class: `${mergedClsPrefix}-collapse-item__header-main`
62179
62292
  },
62180
62293
  arrowPlacement !== "right-edge" && arrowNode,
62181
62294
  headerNode
@@ -62207,7 +62320,7 @@
62207
62320
  }
62208
62321
  });
62209
62322
 
62210
- var style$Z = cB("collapse-transition", {
62323
+ var style$_ = cB("collapse-transition", {
62211
62324
  width: "100%"
62212
62325
  }, [fadeInHeightExpandTransition()]);
62213
62326
 
@@ -62246,7 +62359,7 @@
62246
62359
  const mergedThemeRef = useTheme(
62247
62360
  "CollapseTransition",
62248
62361
  "-collapse-transition",
62249
- style$Z,
62362
+ style$_,
62250
62363
  collapseTransitionLight,
62251
62364
  props,
62252
62365
  mergedClsPrefixRef
@@ -62789,7 +62902,7 @@
62789
62902
 
62790
62903
  const popselectInjectionKey = createInjectionKey("u-popselect");
62791
62904
 
62792
- var style$Y = cB("popselect-menu", `
62905
+ var style$Z = cB("popselect-menu", `
62793
62906
  box-shadow: var(--u-menu-box-shadow);
62794
62907
  `);
62795
62908
 
@@ -62843,7 +62956,7 @@
62843
62956
  const themeRef = useTheme(
62844
62957
  "Popselect",
62845
62958
  "-pop-select",
62846
- style$Y,
62959
+ style$Z,
62847
62960
  popselectLight,
62848
62961
  UPopselect.props,
62849
62962
  mergedClsPrefixRef
@@ -63076,7 +63189,7 @@
63076
63189
  }
63077
63190
  });
63078
63191
 
63079
- var style$X = c$1([cB("select", `
63192
+ var style$Y = c$1([cB("select", `
63080
63193
  z-index: auto;
63081
63194
  outline: none;
63082
63195
  width: 100%;
@@ -63239,7 +63352,7 @@
63239
63352
  const themeRef = useTheme(
63240
63353
  "Select",
63241
63354
  "-select",
63242
- style$X,
63355
+ style$Y,
63243
63356
  selectLight,
63244
63357
  props,
63245
63358
  mergedClsPrefixRef
@@ -63392,21 +63505,21 @@
63392
63505
  "onUpdate:value": _onUpdateValue,
63393
63506
  onUpdateValue
63394
63507
  } = props;
63395
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
63508
+ const { triggerFormChange, triggerFormInput } = formItem;
63396
63509
  if (onChange) call(onChange, value, option);
63397
63510
  if (onUpdateValue) call(onUpdateValue, value, option);
63398
63511
  if (_onUpdateValue) {
63399
63512
  call(_onUpdateValue, value, option);
63400
63513
  }
63401
63514
  uncontrolledValueRef.value = value;
63402
- nTriggerFormChange();
63403
- nTriggerFormInput();
63515
+ triggerFormChange();
63516
+ triggerFormInput();
63404
63517
  }
63405
63518
  function doBlur(e) {
63406
63519
  const { onBlur } = props;
63407
- const { nTriggerFormBlur } = formItem;
63520
+ const { triggerFormBlur } = formItem;
63408
63521
  if (onBlur) call(onBlur, e);
63409
- nTriggerFormBlur();
63522
+ triggerFormBlur();
63410
63523
  }
63411
63524
  function doClear() {
63412
63525
  const { onClear } = props;
@@ -63414,9 +63527,9 @@
63414
63527
  }
63415
63528
  function doFocus(e) {
63416
63529
  const { onFocus, showOnFocus } = props;
63417
- const { nTriggerFormFocus } = formItem;
63530
+ const { triggerFormFocus } = formItem;
63418
63531
  if (onFocus) call(onFocus, e);
63419
- nTriggerFormFocus();
63532
+ triggerFormFocus();
63420
63533
  if (showOnFocus) {
63421
63534
  openMenu();
63422
63535
  }
@@ -64125,7 +64238,7 @@
64125
64238
  border: var(--u-button-border-hover);
64126
64239
  color: var(--u-button-icon-color-hover);
64127
64240
  `)];
64128
- var style$W = cB("pagination", `
64241
+ var style$X = cB("pagination", `
64129
64242
  display: flex;
64130
64243
  width: 100%;
64131
64244
  justify-content: space-between;
@@ -64332,7 +64445,7 @@
64332
64445
  const themeRef = useTheme(
64333
64446
  "Pagination",
64334
64447
  "-pagination",
64335
- style$W,
64448
+ style$X,
64336
64449
  paginationLight,
64337
64450
  props,
64338
64451
  mergedClsPrefixRef
@@ -65105,6 +65218,7 @@
65105
65218
  type: Object,
65106
65219
  default: {}
65107
65220
  },
65221
+ emptyProps: Object,
65108
65222
  onLoad: Function,
65109
65223
  "onUpdate:page": [Function, Array],
65110
65224
  onUpdatePage: [Function, Array],
@@ -65212,7 +65326,7 @@
65212
65326
  }
65213
65327
  });
65214
65328
 
65215
- var style$V = cB("radio", `
65329
+ var style$W = cB("radio", `
65216
65330
  outline: none;
65217
65331
  position: relative;
65218
65332
  user-select: none;
@@ -65361,7 +65475,7 @@
65361
65475
  const themeRef = useTheme(
65362
65476
  "Radio",
65363
65477
  "-radio",
65364
- style$V,
65478
+ style$W,
65365
65479
  radioLight,
65366
65480
  props,
65367
65481
  radio.mergedClsPrefix
@@ -65501,7 +65615,7 @@
65501
65615
  }
65502
65616
  });
65503
65617
 
65504
- var style$U = cB("radio-group", `
65618
+ var style$V = cB("radio-group", `
65505
65619
  display: inline-block;
65506
65620
  font-size: var(--u-font-size);
65507
65621
  `, [cE("splitor", `
@@ -65672,16 +65786,16 @@
65672
65786
  const {
65673
65787
  mergedSizeRef,
65674
65788
  mergedDisabledRef,
65675
- nTriggerFormChange,
65676
- nTriggerFormInput,
65677
- nTriggerFormBlur,
65678
- nTriggerFormFocus
65789
+ triggerFormChange,
65790
+ triggerFormInput,
65791
+ triggerFormBlur,
65792
+ triggerFormFocus
65679
65793
  } = useFormItem(props);
65680
65794
  const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = useConfig(props);
65681
65795
  const themeRef = useTheme(
65682
65796
  "Radio",
65683
65797
  "-radio-group",
65684
- style$U,
65798
+ style$V,
65685
65799
  radioLight,
65686
65800
  props,
65687
65801
  mergedClsPrefixRef
@@ -65701,20 +65815,20 @@
65701
65815
  call(_onUpdateValue, value);
65702
65816
  }
65703
65817
  uncontrolledValueRef.value = value;
65704
- nTriggerFormChange();
65705
- nTriggerFormInput();
65818
+ triggerFormChange();
65819
+ triggerFormInput();
65706
65820
  }
65707
65821
  function handleFocusin(e) {
65708
65822
  const { value: selfEl } = selfElRef;
65709
65823
  if (!selfEl) return;
65710
65824
  if (selfEl.contains(e.relatedTarget)) return;
65711
- nTriggerFormFocus();
65825
+ triggerFormFocus();
65712
65826
  }
65713
65827
  function handleFocusout(e) {
65714
65828
  const { value: selfEl } = selfElRef;
65715
65829
  if (!selfEl) return;
65716
65830
  if (selfEl.contains(e.relatedTarget)) return;
65717
- nTriggerFormBlur();
65831
+ triggerFormBlur();
65718
65832
  }
65719
65833
  vue.provide(radioGroupInjectionKey, {
65720
65834
  mergedClsPrefixRef,
@@ -65854,6 +65968,18 @@
65854
65968
  ONLY_DIGITS: /\D/g,
65855
65969
  ONLY_NUMERIC_AND_DOT: /[^\d.]/g
65856
65970
  };
65971
+ const defaultNumericMask = {
65972
+ postProcess: value => {
65973
+ if (!value) return "";
65974
+ const isNegative = value.trim().startsWith("-");
65975
+ const cleaned = value.replace(/[^\d.]/g, "");
65976
+ const [intPartRaw, decimalPartRaw = ""] = cleaned.split(".", 2);
65977
+ const intPart = intPartRaw.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
65978
+ const decimalPart = decimalPartRaw.slice(0, 2);
65979
+ const result = cleaned.includes(".") ? `${intPart}.${decimalPart}` : intPart;
65980
+ return isNegative ? `-${result}` : result;
65981
+ }
65982
+ };
65857
65983
  function getNumberColWidth(col) {
65858
65984
  if (col.type === "selection") {
65859
65985
  return col.width === void 0 ? SELECTION_COL_WIDTH : depx(col.width);
@@ -66938,7 +67064,7 @@
66938
67064
  }
66939
67065
  });
66940
67066
 
66941
- var style$T = cB("dropdown-menu", `
67067
+ var style$U = cB("dropdown-menu", `
66942
67068
  transform-origin: var(--v-transform-origin);
66943
67069
  background-color: var(--u-color);
66944
67070
  border-radius: var(--u-border-radius);
@@ -67185,7 +67311,7 @@
67185
67311
  const themeRef = useTheme(
67186
67312
  "Dropdown",
67187
67313
  "-dropdown",
67188
- style$T,
67314
+ style$U,
67189
67315
  dropdownLight,
67190
67316
  props,
67191
67317
  mergedClsPrefixRef
@@ -85648,39 +85774,6 @@
85648
85774
  }
85649
85775
  return stringValue;
85650
85776
  }
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
85777
 
85685
85778
  var Cell = vue.defineComponent({
85686
85779
  name: "DataTableCell",
@@ -85712,7 +85805,9 @@
85712
85805
  render() {
85713
85806
  const { isSummary, column, row, renderCell } = this;
85714
85807
  let cell;
85715
- const { render, key, ellipsis, editable, mask } = column;
85808
+ let { mask } = column;
85809
+ const { render, key, ellipsis, editable, numeric } = column;
85810
+ if (numeric && !mask) mask = defaultNumericMask;
85716
85811
  if (render && !isSummary) {
85717
85812
  let cellValue = render(row, this.index);
85718
85813
  if (mask && cellValue !== null && cellValue !== void 0) {
@@ -85723,38 +85818,93 @@
85723
85818
  cell = cellValue;
85724
85819
  } else if (editable && !isSummary) {
85725
85820
  const { placeholder } = column;
85726
- let initialValue = String(row[key] || "");
85727
- if (mask && initialValue) {
85728
- initialValue = processMaskedValue(initialValue, mask);
85729
- }
85821
+ const rawValue = String(row[key] || "");
85822
+ const displayValue = mask ? processMaskedValue(rawValue, mask) : rawValue;
85823
+ const isEditingRef = { current: false };
85730
85824
  const inputProps = {
85731
85825
  class: `${this.clsPrefix}-data-table-editable-input`,
85732
- value: initialValue,
85826
+ value: displayValue,
85733
85827
  placeholder: placeholder || "",
85828
+ onFocus: (e) => {
85829
+ const input = e.target;
85830
+ isEditingRef.current = true;
85831
+ input.value = rawValue;
85832
+ },
85833
+ onKeyDown: (e) => {
85834
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85835
+ const input = e.target;
85836
+ input.value = rawValue;
85837
+ }
85838
+ },
85734
85839
  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);
85840
+ const input = e.target;
85841
+ const value = input.value;
85842
+ if (mask && typeof mask === "function" && !isEditingRef.current) {
85843
+ isEditingRef.current = true;
85844
+ }
85845
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85846
+ const rawValue2 = value.replace(/\$/g, "").replace(/[^\d.,]/g, "");
85847
+ input.value = rawValue2;
85848
+ let processedValue2 = rawValue2;
85849
+ if (numeric && rawValue2 !== "") {
85850
+ const cleanValue = rawValue2.replace(/[^\d.,]/g, "").replace(",", ".");
85851
+ const numValue = Number(cleanValue);
85852
+ if (!isNaN(numValue)) {
85853
+ processedValue2 = numValue;
85854
+ }
85855
+ }
85856
+ this.$emit("edit", processedValue2, row, key);
85857
+ void Promise.resolve().then(() => {
85858
+ if (isEditingRef.current && input.value !== rawValue2) {
85859
+ input.value = rawValue2;
85747
85860
  }
85748
85861
  });
85749
- this.$emit("edit", processedValue, row, key);
85750
- } else {
85751
- this.$emit("edit", value, row, key);
85862
+ return;
85863
+ }
85864
+ let processedValue = value;
85865
+ if (numeric && value !== "") {
85866
+ const cleanValue = value.replace(/[^\d.,]/g, "").replace(",", ".");
85867
+ const numValue = Number(cleanValue);
85868
+ if (!isNaN(numValue)) {
85869
+ processedValue = numValue;
85870
+ }
85871
+ }
85872
+ this.$emit("edit", processedValue, row, key);
85873
+ },
85874
+ onKeyUp: (e) => {
85875
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85876
+ const input = e.target;
85877
+ input.value = rawValue;
85878
+ }
85879
+ },
85880
+ onChange: (e) => {
85881
+ if (mask && typeof mask === "function" && isEditingRef.current) {
85882
+ const input = e.target;
85883
+ setTimeout(() => {
85884
+ if (isEditingRef.current && input.value !== rawValue) {
85885
+ input.value = rawValue;
85886
+ }
85887
+ }, 0);
85888
+ setTimeout(() => {
85889
+ if (isEditingRef.current && input.value !== rawValue) {
85890
+ input.value = rawValue;
85891
+ }
85892
+ }, 10);
85893
+ }
85894
+ },
85895
+ onBlur: (e) => {
85896
+ isEditingRef.current = false;
85897
+ if (mask) {
85898
+ const input = e.target;
85899
+ let currentValue = input.value;
85900
+ if (numeric && currentValue !== "") {
85901
+ currentValue = currentValue.replace(",", ".");
85902
+ }
85903
+ const maskedValue = processMaskedValue(currentValue, mask);
85904
+ input.value = maskedValue;
85752
85905
  }
85753
85906
  }
85754
85907
  };
85755
- if (mask) {
85756
- inputProps["data-mask"] = typeof mask === "string" ? mask : JSON.stringify(mask);
85757
- }
85758
85908
  cell = vue.h("input", inputProps);
85759
85909
  } else {
85760
85910
  if (isSummary) {
@@ -86132,7 +86282,8 @@
86132
86282
  handleTableBodyScroll,
86133
86283
  doCheck,
86134
86284
  doUncheck,
86135
- renderCell
86285
+ renderCell,
86286
+ emptyPropsRef
86136
86287
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
86137
86288
  } = vue.inject(dataTableInjectionKey);
86138
86289
  const scrollbarInstRef = vue.ref(null);
@@ -86407,6 +86558,7 @@
86407
86558
  handleRadioUpdateChecked,
86408
86559
  handleUpdateExpanded,
86409
86560
  renderCell,
86561
+ emptyPropsRef,
86410
86562
  ...exposedMethods
86411
86563
  };
86412
86564
  },
@@ -86421,7 +86573,8 @@
86421
86573
  flexHeight,
86422
86574
  loadingKeySet,
86423
86575
  onResize,
86424
- setHeaderScrollLeft
86576
+ setHeaderScrollLeft,
86577
+ emptyPropsRef
86425
86578
  } = this;
86426
86579
  const scrollable = scrollX !== void 0 || maxHeight !== void 0 || flexHeight;
86427
86580
  const isBasicAutoLayout = !scrollable && mergedTableLayout === "auto";
@@ -86672,7 +86825,7 @@
86672
86825
  column.type === "expand" && `${mergedClsPrefix}-data-table-td--expand`,
86673
86826
  isLastCol && `${mergedClsPrefix}-data-table-td--last-col`,
86674
86827
  isLastRow && `${mergedClsPrefix}-data-table-td--last-row`,
86675
- "editable" in column && column.editable && `${mergedClsPrefix}-data-table-td--editable`
86828
+ "editable" in column && column.editable && !isSummary && `${mergedClsPrefix}-data-table-td--editable`
86676
86829
  ]
86677
86830
  },
86678
86831
  column.fixed && /* @__PURE__ */ vue.h(
@@ -86789,7 +86942,7 @@
86789
86942
  ) : null
86790
86943
  );
86791
86944
  } else {
86792
- if (this.loading) {
86945
+ if (this.loading || this.loadingSkeleton) {
86793
86946
  return /* @__PURE__ */ vue.h(
86794
86947
  "table",
86795
86948
  {
@@ -86834,7 +86987,7 @@
86834
86987
  }
86835
86988
  }
86836
86989
  );
86837
- if (this.empty) {
86990
+ if (this.empty && !this.loadingSkeleton) {
86838
86991
  const createEmptyNode = () => /* @__PURE__ */ vue.h(
86839
86992
  "div",
86840
86993
  {
@@ -86851,7 +87004,8 @@
86851
87004
  {
86852
87005
  size: "large",
86853
87006
  theme: this.mergedTheme.peers.Empty,
86854
- themeOverrides: this.mergedTheme.peerOverrides.Empty
87007
+ themeOverrides: this.mergedTheme.peerOverrides.Empty,
87008
+ ...emptyPropsRef
86855
87009
  }
86856
87010
  )
86857
87011
  ])
@@ -88024,7 +88178,7 @@
88024
88178
  }
88025
88179
 
88026
88180
  const fixedColumnStyle = createFixedColumnStyle();
88027
- var style$S = c$1([cB("data-table", `
88181
+ var style$T = c$1([cB("data-table", `
88028
88182
  width: 100%;
88029
88183
  font-size: var(--u-font-size);
88030
88184
  display: flex;
@@ -88273,19 +88427,22 @@
88273
88427
  `), cM("editable", `
88274
88428
  cursor: pointer;
88275
88429
  position: relative;
88276
-
88430
+ padding: 0;
88431
+
88277
88432
  .u-data-table-editable-input {
88278
88433
  appearance: none;
88279
88434
  text-align: right;
88280
88435
  border: none;
88281
88436
  background: none;
88282
88437
  outline: none;
88283
- padding: 0;
88438
+ box-sizing: border-box;
88439
+ padding: var(--u-td-padding);
88284
88440
  margin: 0;
88285
88441
  font: inherit;
88286
88442
  color: inherit;
88287
88443
  box-shadow: none;
88288
- width: '100%';
88444
+ height: 100%;
88445
+ width: 100%;
88289
88446
  }
88290
88447
  `), fixedColumnStyle]), cB("data-table-empty", `
88291
88448
  box-sizing: border-box;
@@ -88482,7 +88639,7 @@
88482
88639
  const themeRef = useTheme(
88483
88640
  "DataTable",
88484
88641
  "-data-table",
88485
- style$S,
88642
+ style$T,
88486
88643
  dataTableLight,
88487
88644
  props,
88488
88645
  mergedClsPrefixRef
@@ -88572,7 +88729,7 @@
88572
88729
  columns.forEach((col) => {
88573
88730
  if ("children" in col) return;
88574
88731
  if (!("totalRow" in col) || !col.totalRow) return;
88575
- const { key, totalRow, render, mask } = col;
88732
+ const { key, totalRow, render } = col;
88576
88733
  if (!totalRow) return;
88577
88734
  if (totalRow.type === "default") {
88578
88735
  summaryRow[key] = { value: totalRow.value || "" };
@@ -88583,13 +88740,11 @@
88583
88740
  return Number(renderedValue) || 0;
88584
88741
  });
88585
88742
  const sum = values.reduce((sum2, val) => sum2 + val, 0);
88586
- const finalValue = mask ? processMaskedValue(String(sum), mask) : sum;
88587
- summaryRow[key] = { value: finalValue };
88743
+ summaryRow[key] = { value: sum };
88588
88744
  } else {
88589
88745
  const values = pageData.map((row) => Number(row[key]) || 0);
88590
88746
  const sum = values.reduce((sum2, val) => sum2 + val, 0);
88591
- const finalValue = mask ? processMaskedValue(String(sum), mask) : sum;
88592
- summaryRow[key] = { value: finalValue };
88747
+ summaryRow[key] = { value: sum };
88593
88748
  }
88594
88749
  } else {
88595
88750
  const config = {
@@ -88790,6 +88945,7 @@
88790
88945
  handleTableBodyScroll,
88791
88946
  setHeaderScrollLeft,
88792
88947
  renderCell: vue.toRef(props, "renderCell"),
88948
+ emptyPropsRef: vue.toRef(props, "emptyProps"),
88793
88949
  handleEdit
88794
88950
  });
88795
88951
  const exposedMethods = {
@@ -88802,6 +88958,21 @@
88802
88958
  clearFilter,
88803
88959
  scrollTo: (arg0, arg1) => {
88804
88960
  mainTableInstRef.value?.scrollTo(arg0, arg1);
88961
+ },
88962
+ getData: () => {
88963
+ const originalData = props.data || [];
88964
+ const totalRowData = autoSummaryRef.value && rawPaginatedDataRef.value ? autoSummaryRef.value(rawPaginatedDataRef.value) : null;
88965
+ return {
88966
+ data: originalData,
88967
+ totalRows: totalRowData
88968
+ };
88969
+ },
88970
+ getTotalRowData: () => {
88971
+ if (autoSummaryRef.value && rawPaginatedDataRef.value) {
88972
+ const summaryResult = autoSummaryRef.value(rawPaginatedDataRef.value);
88973
+ return summaryResult;
88974
+ }
88975
+ return null;
88805
88976
  }
88806
88977
  };
88807
88978
  const cssVarsRef = vue.computed(() => {
@@ -93729,7 +93900,7 @@
93729
93900
  }
93730
93901
  });
93731
93902
 
93732
- var style$R = c$1([cB("time-picker", `
93903
+ var style$S = c$1([cB("time-picker", `
93733
93904
  z-index: auto;
93734
93905
  position: relative;
93735
93906
  `, [cB("time-picker-icon", `
@@ -93924,7 +94095,7 @@
93924
94095
  const themeRef = useTheme(
93925
94096
  "TimePicker",
93926
94097
  "-time-picker",
93927
- style$R,
94098
+ style$S,
93928
94099
  timePickerLight,
93929
94100
  props,
93930
94101
  mergedClsPrefixRef
@@ -94098,7 +94269,7 @@
94098
94269
  "onUpdate:value": _onUpdateValue,
94099
94270
  onChange
94100
94271
  } = props;
94101
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
94272
+ const { triggerFormChange, triggerFormInput } = formItem;
94102
94273
  const formattedValue = createFormattedValue(value);
94103
94274
  if (onUpdateValue) {
94104
94275
  call(onUpdateValue, value, formattedValue);
@@ -94109,20 +94280,20 @@
94109
94280
  if (onChange) call(onChange, value, formattedValue);
94110
94281
  doUpdateFormattedValue(formattedValue, value);
94111
94282
  uncontrolledValueRef.value = value;
94112
- nTriggerFormChange();
94113
- nTriggerFormInput();
94283
+ triggerFormChange();
94284
+ triggerFormInput();
94114
94285
  }
94115
94286
  function doFocus(e) {
94116
94287
  const { onFocus } = props;
94117
- const { nTriggerFormFocus } = formItem;
94288
+ const { triggerFormFocus } = formItem;
94118
94289
  if (onFocus) call(onFocus, e);
94119
- nTriggerFormFocus();
94290
+ triggerFormFocus();
94120
94291
  }
94121
94292
  function doBlur(e) {
94122
94293
  const { onBlur } = props;
94123
- const { nTriggerFormBlur } = formItem;
94294
+ const { triggerFormBlur } = formItem;
94124
94295
  if (onBlur) call(onBlur, e);
94125
- nTriggerFormBlur();
94296
+ triggerFormBlur();
94126
94297
  }
94127
94298
  function doConfirm() {
94128
94299
  const { onConfirm } = props;
@@ -97029,7 +97200,7 @@
97029
97200
  }
97030
97201
  });
97031
97202
 
97032
- var style$Q = c$1([cB("date-picker", `
97203
+ var style$R = c$1([cB("date-picker", `
97033
97204
  position: relative;
97034
97205
  z-index: auto;
97035
97206
  `, [cB("date-picker-icon", `
@@ -97543,7 +97714,7 @@
97543
97714
  const themeRef = useTheme(
97544
97715
  "DatePicker",
97545
97716
  "-date-picker",
97546
- style$Q,
97717
+ style$R,
97547
97718
  datePickerLight,
97548
97719
  props,
97549
97720
  mergedClsPrefixRef
@@ -97709,7 +97880,7 @@
97709
97880
  onUpdateValue,
97710
97881
  onChange
97711
97882
  } = props;
97712
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
97883
+ const { triggerFormChange, triggerFormInput } = formItem;
97713
97884
  const formattedValue = getFormattedValue(value);
97714
97885
  if (options.doConfirm) {
97715
97886
  doConfirm(value, formattedValue);
@@ -97723,8 +97894,8 @@
97723
97894
  if (onChange) call(onChange, value, formattedValue);
97724
97895
  uncontrolledValueRef.value = value;
97725
97896
  doUpdateFormattedValue(formattedValue, value);
97726
- nTriggerFormChange();
97727
- nTriggerFormInput();
97897
+ triggerFormChange();
97898
+ triggerFormInput();
97728
97899
  }
97729
97900
  function doClear() {
97730
97901
  const { onClear } = props;
@@ -97736,15 +97907,15 @@
97736
97907
  }
97737
97908
  function doFocus(e) {
97738
97909
  const { onFocus } = props;
97739
- const { nTriggerFormFocus } = formItem;
97910
+ const { triggerFormFocus } = formItem;
97740
97911
  if (onFocus) call(onFocus, e);
97741
- nTriggerFormFocus();
97912
+ triggerFormFocus();
97742
97913
  }
97743
97914
  function doBlur(e) {
97744
97915
  const { onBlur } = props;
97745
- const { nTriggerFormBlur } = formItem;
97916
+ const { triggerFormBlur } = formItem;
97746
97917
  if (onBlur) call(onBlur, e);
97747
- nTriggerFormBlur();
97918
+ triggerFormBlur();
97748
97919
  }
97749
97920
  function doUpdateShow(show) {
97750
97921
  const { "onUpdate:show": _onUpdateShow, onUpdateShow } = props;
@@ -98452,7 +98623,7 @@
98452
98623
  return false;
98453
98624
  }
98454
98625
 
98455
- var style$P = c$1([cB("descriptions", {
98626
+ var style$Q = c$1([cB("descriptions", {
98456
98627
  fontSize: "var(--u-font-size)"
98457
98628
  }, [cB("descriptions-separator", `
98458
98629
  display: inline-block;
@@ -98587,7 +98758,7 @@
98587
98758
  const themeRef = useTheme(
98588
98759
  "Descriptions",
98589
98760
  "-descriptions",
98590
- style$P,
98761
+ style$Q,
98591
98762
  descriptionsLight,
98592
98763
  props,
98593
98764
  mergedClsPrefixRef
@@ -98874,7 +99045,7 @@
98874
99045
  };
98875
99046
  const dialogPropKeys = keysOf(dialogProps);
98876
99047
 
98877
- var style$O = c$1([cB("dialog", `
99048
+ var style$P = c$1([cB("dialog", `
98878
99049
  word-break: break-word;
98879
99050
  position: relative;
98880
99051
  background: var(--u-color);
@@ -98988,7 +99159,7 @@
98988
99159
  const themeRef = useTheme(
98989
99160
  "Dialog",
98990
99161
  "-dialog",
98991
- style$O,
99162
+ style$P,
98992
99163
  dialogLight,
98993
99164
  props,
98994
99165
  mergedClsPrefixRef
@@ -99456,7 +99627,7 @@
99456
99627
  }
99457
99628
  });
99458
99629
 
99459
- var style$N = c$1([cB("modal-container", `
99630
+ var style$O = c$1([cB("modal-container", `
99460
99631
  position: fixed;
99461
99632
  left: 0;
99462
99633
  top: 0;
@@ -99588,7 +99759,7 @@
99588
99759
  const themeRef = useTheme(
99589
99760
  "Modal",
99590
99761
  "-modal",
99591
- style$N,
99762
+ style$O,
99592
99763
  modalLight,
99593
99764
  props,
99594
99765
  mergedClsPrefixRef
@@ -100047,7 +100218,7 @@
100047
100218
  return dialogReactiveList;
100048
100219
  }
100049
100220
 
100050
- var style$M = cB("divider", `
100221
+ var style$N = cB("divider", `
100051
100222
  position: relative;
100052
100223
  display: flex;
100053
100224
  width: 100%;
@@ -100118,7 +100289,7 @@
100118
100289
  const themeRef = useTheme(
100119
100290
  "Divider",
100120
100291
  "-divider",
100121
- style$M,
100292
+ style$N,
100122
100293
  dividerLight,
100123
100294
  props,
100124
100295
  mergedClsPrefixRef
@@ -100553,7 +100724,7 @@
100553
100724
  })];
100554
100725
  }
100555
100726
 
100556
- var style$L = c$1([cB("drawer", `
100727
+ var style$M = c$1([cB("drawer", `
100557
100728
  word-break: break-word;
100558
100729
  position: absolute;
100559
100730
  pointer-events: all;
@@ -100848,7 +101019,7 @@
100848
101019
  const themeRef = useTheme(
100849
101020
  "Drawer",
100850
101021
  "-drawer",
100851
- style$L,
101022
+ style$M,
100852
101023
  drawerLight,
100853
101024
  props,
100854
101025
  mergedClsPrefixRef
@@ -101420,7 +101591,7 @@
101420
101591
  }
101421
101592
  });
101422
101593
 
101423
- var style$K = cB("dynamic-input", {
101594
+ var style$L = cB("dynamic-input", {
101424
101595
  width: "100%"
101425
101596
  }, [cB("dynamic-input-item", `
101426
101597
  margin-bottom: 10px;
@@ -101534,7 +101705,7 @@
101534
101705
  const themeRef = useTheme(
101535
101706
  "DynamicInput",
101536
101707
  "-dynamic-input",
101537
- style$K,
101708
+ style$L,
101538
101709
  dynamicInputLight,
101539
101710
  props,
101540
101711
  mergedClsPrefixRef
@@ -102031,7 +102202,7 @@
102031
102202
  }
102032
102203
  });
102033
102204
 
102034
- var style$J = cB("dynamic-tags", [cB("input", {
102205
+ var style$K = cB("dynamic-tags", [cB("input", {
102035
102206
  minWidth: "var(--u-input-width)"
102036
102207
  })]);
102037
102208
 
@@ -102090,7 +102261,7 @@
102090
102261
  const themeRef = useTheme(
102091
102262
  "DynamicTags",
102092
102263
  "-dynamic-tags",
102093
- style$J,
102264
+ style$K,
102094
102265
  dynamicTagsLight,
102095
102266
  props,
102096
102267
  mergedClsPrefixRef
@@ -102116,13 +102287,13 @@
102116
102287
  "onUpdate:value": _onUpdateValue,
102117
102288
  onUpdateValue
102118
102289
  } = props;
102119
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
102290
+ const { triggerFormInput, triggerFormChange } = formItem;
102120
102291
  if (onChange) call(onChange, value);
102121
102292
  if (onUpdateValue) call(onUpdateValue, value);
102122
102293
  if (_onUpdateValue) call(_onUpdateValue, value);
102123
102294
  uncontrolledValueRef.value = value;
102124
- nTriggerFormInput();
102125
- nTriggerFormChange();
102295
+ triggerFormInput();
102296
+ triggerFormChange();
102126
102297
  }
102127
102298
  function handleCloseClick(index) {
102128
102299
  const tags = mergedValueRef.value.slice(0);
@@ -102349,7 +102520,7 @@
102349
102520
  }
102350
102521
  });
102351
102522
 
102352
- var style$I = cB("form", [cM("inline", `
102523
+ var style$J = cB("form", [cM("inline", `
102353
102524
  width: 100%;
102354
102525
  display: inline-flex;
102355
102526
  align-items: flex-start;
@@ -102407,7 +102578,7 @@
102407
102578
  props: formProps,
102408
102579
  setup(props) {
102409
102580
  const { mergedClsPrefixRef } = useConfig(props);
102410
- useTheme("Form", "-form", style$I, formLight, props, mergedClsPrefixRef);
102581
+ useTheme("Form", "-form", style$J, formLight, props, mergedClsPrefixRef);
102411
102582
  const formItems = {};
102412
102583
  const maxChildLabelWidthRef = vue.ref(void 0);
102413
102584
  const deriveMaxChildLabelWidth = (currentWidth) => {
@@ -103772,7 +103943,7 @@
103772
103943
  })];
103773
103944
  }
103774
103945
 
103775
- var style$H = cB("form-item", `
103946
+ var style$I = cB("form-item", `
103776
103947
  display: grid;
103777
103948
  `, [cB("form-item-label", `
103778
103949
  grid-area: label;
@@ -103965,7 +104136,7 @@
103965
104136
  const themeRef = useTheme(
103966
104137
  "Form",
103967
104138
  "-form-item",
103968
- style$H,
104139
+ style$I,
103969
104140
  formLight,
103970
104141
  props,
103971
104142
  mergedClsPrefixRef
@@ -104410,7 +104581,7 @@
104410
104581
  right: percent
104411
104582
  })];
104412
104583
  });
104413
- var style$G = c$1([cB("row", {
104584
+ var style$H = c$1([cB("row", {
104414
104585
  width: "100%",
104415
104586
  display: "flex",
104416
104587
  flexWrap: "wrap"
@@ -104442,7 +104613,7 @@
104442
104613
  props: rowProps,
104443
104614
  setup(props) {
104444
104615
  const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
104445
- useStyle("-legacy-grid", style$G, mergedClsPrefixRef);
104616
+ useStyle("-legacy-grid", style$H, mergedClsPrefixRef);
104446
104617
  const rtlEnabledRef = useRtl("Row", mergedRtlRef, mergedClsPrefixRef);
104447
104618
  const verticalGutterRef = useMemo(() => {
104448
104619
  const { gutter } = props;
@@ -104714,7 +104885,7 @@
104714
104885
  }
104715
104886
  });
104716
104887
 
104717
- var style$F = cB("gradient-text", `
104888
+ var style$G = cB("gradient-text", `
104718
104889
  display: inline-block;
104719
104890
  font-weight: var(--u-font-weight);
104720
104891
  -webkit-background-clip: text;
@@ -104770,7 +104941,7 @@
104770
104941
  const themeRef = useTheme(
104771
104942
  "GradientText",
104772
104943
  "-gradient-text",
104773
- style$F,
104944
+ style$G,
104774
104945
  gradientTextLight,
104775
104946
  props,
104776
104947
  mergedClsPrefixRef
@@ -104856,7 +105027,7 @@
104856
105027
  self: self$5
104857
105028
  };
104858
105029
 
104859
- var style$E = cB("icon-wrapper", `
105030
+ var style$F = cB("icon-wrapper", `
104860
105031
  position: relative;
104861
105032
  display: inline-flex;
104862
105033
  align-items: center;
@@ -104908,7 +105079,7 @@
104908
105079
  const themeRef = useTheme(
104909
105080
  "IconWrapper",
104910
105081
  "-icon-wrapper",
104911
- style$E,
105082
+ style$F,
104912
105083
  iconWrapperLight,
104913
105084
  props,
104914
105085
  mergedClsPrefixRef
@@ -105209,7 +105380,7 @@
105209
105380
  )
105210
105381
  );
105211
105382
 
105212
- var style$D = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
105383
+ var style$E = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
105213
105384
  position: fixed;
105214
105385
  left: 0;
105215
105386
  right: 0;
@@ -105285,7 +105456,7 @@
105285
105456
  const themeRef = useTheme(
105286
105457
  "Image",
105287
105458
  "-image",
105288
- style$D,
105459
+ style$E,
105289
105460
  imageLight,
105290
105461
  props,
105291
105462
  vue.toRef(props, "clsPrefix")
@@ -106112,7 +106283,7 @@
106112
106283
  }
106113
106284
  }
106114
106285
 
106115
- var style$C = c$1([cB("input-number-suffix", `
106286
+ var style$D = c$1([cB("input-number-suffix", `
106116
106287
  display: inline-block;
106117
106288
  margin-right: 10px;
106118
106289
  `), cB("input-number-prefix", `
@@ -106199,7 +106370,7 @@
106199
106370
  const themeRef = useTheme(
106200
106371
  "InputNumber",
106201
106372
  "-input-number",
106202
- style$C,
106373
+ style$D,
106203
106374
  inputNumberLight,
106204
106375
  props,
106205
106376
  mergedClsPrefixRef
@@ -106263,13 +106434,13 @@
106263
106434
  onUpdateValue,
106264
106435
  onChange
106265
106436
  } = props;
106266
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
106437
+ const { triggerFormInput, triggerFormChange } = formItem;
106267
106438
  if (onChange) call(onChange, value);
106268
106439
  if (onUpdateValue) call(onUpdateValue, value);
106269
106440
  if (_onUpdateValue) call(_onUpdateValue, value);
106270
106441
  uncontrolledValueRef.value = value;
106271
- nTriggerFormInput();
106272
- nTriggerFormChange();
106442
+ triggerFormInput();
106443
+ triggerFormChange();
106273
106444
  };
106274
106445
  const deriveValueFromDisplayedValue = ({
106275
106446
  offset,
@@ -106373,9 +106544,9 @@
106373
106544
  });
106374
106545
  function doFocus(e) {
106375
106546
  const { onFocus } = props;
106376
- const { nTriggerFormFocus } = formItem;
106547
+ const { triggerFormFocus } = formItem;
106377
106548
  if (onFocus) call(onFocus, e);
106378
- nTriggerFormFocus();
106549
+ triggerFormFocus();
106379
106550
  }
106380
106551
  function doBlur(e) {
106381
106552
  if (e.target === inputInstRef.value?.wrapperElRef) {
@@ -106399,9 +106570,9 @@
106399
106570
  deriveDisplayedValueFromValue();
106400
106571
  }
106401
106572
  const { onBlur } = props;
106402
- const { nTriggerFormBlur } = formItem;
106573
+ const { triggerFormBlur } = formItem;
106403
106574
  if (onBlur) call(onBlur, e);
106404
- nTriggerFormBlur();
106575
+ triggerFormBlur();
106405
106576
  void vue.nextTick(() => {
106406
106577
  deriveDisplayedValueFromValue();
106407
106578
  });
@@ -106754,6 +106925,344 @@
106754
106925
  }
106755
106926
  });
106756
106927
 
106928
+ var style$C = c$1([cB("input-otp", `
106929
+ display: flex;
106930
+ align-items: center;
106931
+ gap: var(--u-gap);
106932
+ `, [cM("block", "", [cB("input", "", [cNotM("autosize", `
106933
+ text-align: center;
106934
+ min-width: 0;
106935
+ `), cM("autosize", `
106936
+ text-align: center;
106937
+ min-width: 0;
106938
+ `)])]), cNotM("block", "", [cB("input", "", [cNotM("autosize", `
106939
+ width: var(--u-input-width);
106940
+ text-align: center;
106941
+ `), cM("autosize", `
106942
+ width: var(--u-input-width);
106943
+ text-align: center;
106944
+ `)])])])]);
106945
+
106946
+ const inputOtpProps = {
106947
+ ...useTheme.props,
106948
+ defaultValue: { type: Array, default: [] },
106949
+ value: Array,
106950
+ length: {
106951
+ type: Number,
106952
+ default: 6
106953
+ },
106954
+ block: Boolean,
106955
+ size: String,
106956
+ disabled: Boolean,
106957
+ mask: Boolean,
106958
+ readonly: Boolean,
106959
+ status: String,
106960
+ gap: [String, Number],
106961
+ placeholder: { type: String, default: "" },
106962
+ allowInput: Function,
106963
+ onBlur: [Function, Array],
106964
+ onFocus: [Function, Array],
106965
+ "onUpdate:value": [Function, Array],
106966
+ onUpdateValue: [Function, Array],
106967
+ onFinish: [Function, Array]
106968
+ };
106969
+ var InputOtp = vue.defineComponent({
106970
+ name: "InputOtp",
106971
+ props: inputOtpProps,
106972
+ slots: Object,
106973
+ setup(props) {
106974
+ const { mergedClsPrefixRef, mergedRtlRef, inlineThemeDisabled } = useConfig(props);
106975
+ const themeRef = useTheme(
106976
+ "InputOtp",
106977
+ "-input-otp",
106978
+ style$C,
106979
+ inputOtpLight,
106980
+ props,
106981
+ mergedClsPrefixRef
106982
+ );
106983
+ const rtlEnabledRef = useRtl("InputOtp", mergedRtlRef, mergedClsPrefixRef);
106984
+ const formItem = useFormItem(props);
106985
+ const { mergedSizeRef, mergedDisabledRef, mergedStatusRef } = formItem;
106986
+ const cssVarsRef = vue.computed(() => {
106987
+ const { value: size } = mergedSizeRef;
106988
+ const { gap: propGap } = props;
106989
+ const {
106990
+ self: {
106991
+ [createKey("inputWidth", size)]: inputWidth,
106992
+ [createKey("gap", size)]: gap
106993
+ }
106994
+ } = themeRef.value;
106995
+ return {
106996
+ "--u-gap": propGap === void 0 ? gap : typeof propGap === "number" ? pxfy(propGap) : propGap,
106997
+ "--u-input-width": inputWidth
106998
+ };
106999
+ });
107000
+ const themeClassHandle = inlineThemeDisabled ? useThemeClass(
107001
+ "input-otp",
107002
+ vue.computed(() => {
107003
+ const { value: size } = mergedSizeRef;
107004
+ return size[0];
107005
+ }),
107006
+ cssVarsRef,
107007
+ props
107008
+ ) : void 0;
107009
+ const uncontrolledValueRef = vue.ref(props.defaultValue);
107010
+ const controlledValueRef = vue.toRef(props, "value");
107011
+ const mergedValueRef = useMergedState(
107012
+ controlledValueRef,
107013
+ uncontrolledValueRef
107014
+ );
107015
+ const inputRefList = vue.ref([]);
107016
+ const inputTypeRef = vue.computed(
107017
+ () => props.mask ? "password" : "text"
107018
+ );
107019
+ const handleFocus = (event, index) => {
107020
+ if (inputRefList?.value.some(
107021
+ (inputInst) => inputInst.inputElRef === event.relatedTarget
107022
+ )) {
107023
+ return;
107024
+ }
107025
+ const { onFocus } = props;
107026
+ if (onFocus) {
107027
+ call(onFocus, event, index);
107028
+ }
107029
+ const { triggerFormFocus } = formItem;
107030
+ triggerFormFocus();
107031
+ };
107032
+ const handleBlur = (event, index) => {
107033
+ if (inputRefList?.value.some(
107034
+ (inputInst) => inputInst.inputElRef === event.relatedTarget
107035
+ )) {
107036
+ return;
107037
+ }
107038
+ const { onBlur } = props;
107039
+ const { triggerFormBlur } = formItem;
107040
+ if (onBlur) {
107041
+ call(onBlur, event, index);
107042
+ }
107043
+ triggerFormBlur();
107044
+ };
107045
+ const focusOnChar = (charIndex) => {
107046
+ if (charIndex >= props.length) {
107047
+ return;
107048
+ }
107049
+ if (charIndex < 0) {
107050
+ return;
107051
+ }
107052
+ inputRefList?.value[charIndex].focus();
107053
+ inputRefList?.value[charIndex].select();
107054
+ };
107055
+ const focusOnNextChar = (currentIndex) => {
107056
+ if (currentIndex >= props.length - 1) {
107057
+ return;
107058
+ }
107059
+ focusOnChar(currentIndex + 1);
107060
+ };
107061
+ const focusOnPrevChar = (currentIndex) => {
107062
+ if (currentIndex <= 0) {
107063
+ return;
107064
+ }
107065
+ focusOnChar(currentIndex - 1);
107066
+ };
107067
+ const justifyValue = (value) => {
107068
+ const justifiedValue = value ? Array.from(value) : [];
107069
+ const length = props.length;
107070
+ while (justifiedValue.length > length) {
107071
+ justifiedValue.pop();
107072
+ }
107073
+ while (justifiedValue.length < length) {
107074
+ justifiedValue.push("");
107075
+ }
107076
+ return justifiedValue;
107077
+ };
107078
+ function doUpdateValue(values, meta) {
107079
+ const { triggerFormInput, triggerFormChange } = formItem;
107080
+ if (isArrayShallowEqual(values, mergedValueRef.value)) {
107081
+ triggerFormInput();
107082
+ return;
107083
+ }
107084
+ const {
107085
+ "onUpdate:value": _onUpdateValue,
107086
+ onUpdateValue,
107087
+ onFinish
107088
+ } = props;
107089
+ if (_onUpdateValue) {
107090
+ call(_onUpdateValue, values, meta);
107091
+ }
107092
+ if (onUpdateValue) {
107093
+ call(onUpdateValue, values, meta);
107094
+ }
107095
+ if (onFinish && values.every(Boolean)) {
107096
+ call(onFinish, values);
107097
+ }
107098
+ uncontrolledValueRef.value = values;
107099
+ triggerFormInput();
107100
+ triggerFormChange();
107101
+ }
107102
+ const handlePaste = (event, index) => {
107103
+ if (props.readonly || mergedDisabledRef.value) {
107104
+ return;
107105
+ }
107106
+ event.preventDefault();
107107
+ const { clipboardData } = event;
107108
+ const text = clipboardData?.getData("text");
107109
+ if (!text) {
107110
+ return;
107111
+ }
107112
+ const currentValue = justifyValue(mergedValueRef.value);
107113
+ let startIndex = index;
107114
+ const allowInput = props.allowInput;
107115
+ let pasteApplied = false;
107116
+ let appendedText = "";
107117
+ for (let i = 0; i < text.length; ++i) {
107118
+ if (allowInput && !allowInput(text[i], startIndex, currentValue)) {
107119
+ continue;
107120
+ }
107121
+ pasteApplied = true;
107122
+ currentValue[startIndex] = text[i];
107123
+ appendedText += text[i];
107124
+ startIndex++;
107125
+ if (startIndex >= currentValue.length) {
107126
+ break;
107127
+ }
107128
+ }
107129
+ if (pasteApplied) {
107130
+ focusOnChar(startIndex);
107131
+ doUpdateValue(currentValue, {
107132
+ diff: appendedText,
107133
+ index: startIndex,
107134
+ source: "paste"
107135
+ });
107136
+ }
107137
+ };
107138
+ const handleKeydown = (event, index) => {
107139
+ if (mergedDisabledRef.value) {
107140
+ return;
107141
+ }
107142
+ const keyCode = event.code || event.key;
107143
+ const currentValue = justifyValue(mergedValueRef.value);
107144
+ if (keyCode === "Backspace" && !props.readonly) {
107145
+ event.preventDefault();
107146
+ currentValue[Math.max(index, 0)] = "";
107147
+ doUpdateValue(currentValue, { diff: "", index, source: "delete" });
107148
+ focusOnPrevChar(index);
107149
+ } else if (keyCode === "ArrowLeft") {
107150
+ event.preventDefault();
107151
+ focusOnPrevChar(index);
107152
+ } else if (keyCode === "ArrowRight") {
107153
+ event.preventDefault();
107154
+ focusOnNextChar(index);
107155
+ }
107156
+ };
107157
+ const handleInput = (value, index) => {
107158
+ const currentValue = justifyValue(mergedValueRef.value);
107159
+ const currentValueAtIndex = currentValue[index];
107160
+ const diff = value.replace(currentValueAtIndex, "");
107161
+ const char = diff[diff.length - 1] || value[value.length - 1] || "";
107162
+ const allowInput = props.allowInput;
107163
+ if (allowInput && !allowInput(char, index, currentValue)) {
107164
+ return;
107165
+ }
107166
+ currentValue[index] = char;
107167
+ doUpdateValue(currentValue, { diff: char, index, source: "input" });
107168
+ focusOnNextChar(index);
107169
+ };
107170
+ const getTemplateEvents = (index) => {
107171
+ return {
107172
+ onInput: (value) => {
107173
+ handleInput(value, index);
107174
+ },
107175
+ onPaste: (event) => {
107176
+ handlePaste(event, index);
107177
+ },
107178
+ onKeydown: (event) => {
107179
+ handleKeydown(event, index);
107180
+ },
107181
+ onFocus: (event) => {
107182
+ handleFocus(event, index);
107183
+ },
107184
+ onBlur: (event) => {
107185
+ handleBlur(event, index);
107186
+ }
107187
+ };
107188
+ };
107189
+ const exposedMethods = {
107190
+ focusOnChar
107191
+ };
107192
+ return {
107193
+ mergedTheme: themeRef,
107194
+ perItemValueArray: vue.computed(() => justifyValue(mergedValueRef.value)),
107195
+ mergedClsPrefix: mergedClsPrefixRef,
107196
+ inputRefList,
107197
+ inputType: inputTypeRef,
107198
+ rtlEnabled: rtlEnabledRef,
107199
+ mergedStatus: mergedStatusRef,
107200
+ mergedDisabled: mergedDisabledRef,
107201
+ cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
107202
+ themeClass: themeClassHandle?.themeClass,
107203
+ getTemplateEvents,
107204
+ onRender: themeClassHandle?.onRender,
107205
+ ...exposedMethods
107206
+ };
107207
+ },
107208
+ render() {
107209
+ const {
107210
+ mergedTheme,
107211
+ mergedClsPrefix,
107212
+ perItemValueArray,
107213
+ size,
107214
+ placeholder,
107215
+ mergedDisabled,
107216
+ mergedStatus,
107217
+ readonly,
107218
+ inputType,
107219
+ $slots,
107220
+ getTemplateEvents,
107221
+ themeClass,
107222
+ onRender
107223
+ } = this;
107224
+ onRender?.();
107225
+ return /* @__PURE__ */ vue.h(
107226
+ "div",
107227
+ {
107228
+ style: this.cssVars,
107229
+ class: [
107230
+ `${mergedClsPrefix}-input-otp`,
107231
+ themeClass,
107232
+ this.rtlEnabled && `${mergedClsPrefix}-input-otp--rtl`,
107233
+ this.block && `${mergedClsPrefix}-input-otp--block`
107234
+ ]
107235
+ },
107236
+ repeat$1(this.length, void 0).map(
107237
+ (_, index) => resolveSlotWithProps(
107238
+ $slots.default,
107239
+ {
107240
+ index,
107241
+ value: perItemValueArray[index],
107242
+ type: inputType,
107243
+ size,
107244
+ placeholder,
107245
+ disabled: mergedDisabled,
107246
+ readonly,
107247
+ status: mergedStatus,
107248
+ builtinThemeOverrides: {
107249
+ paddingTiny: "0",
107250
+ paddingSmall: "0",
107251
+ paddingMedium: "0",
107252
+ paddingLarge: "0"
107253
+ },
107254
+ theme: mergedTheme.peers.Input,
107255
+ themeOverrides: mergedTheme.peerOverrides.Input,
107256
+ ref: (el) => this.inputRefList[index] = el,
107257
+ ...getTemplateEvents(index)
107258
+ },
107259
+ ({ index: index2, ...restProps }) => [/* @__PURE__ */ vue.h(UInput, { ...restProps, key: index2 })]
107260
+ )
107261
+ )
107262
+ );
107263
+ }
107264
+ });
107265
+
106757
107266
  const layoutSiderInjectionKey = createInjectionKey("u-layout-sider");
106758
107267
  const positionProp = {
106759
107268
  type: String,
@@ -108537,13 +109046,13 @@
108537
109046
  "onUpdate:value": _onUpdateValue,
108538
109047
  onChange
108539
109048
  } = props;
108540
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
109049
+ const { triggerFormInput, triggerFormChange } = formItem;
108541
109050
  if (onUpdateValue) call(onUpdateValue, value);
108542
109051
  if (_onUpdateValue) call(_onUpdateValue, value);
108543
109052
  if (onChange) call(onChange, value);
108544
109053
  uncontrolledValueRef.value = value;
108545
- nTriggerFormInput();
108546
- nTriggerFormChange();
109054
+ triggerFormInput();
109055
+ triggerFormChange();
108547
109056
  }
108548
109057
  function handleSrcHeaderCheck(value) {
108549
109058
  const {
@@ -109278,7 +109787,7 @@
109278
109787
  const renderAvatar = () => {
109279
109788
  if (!Object.values(this.avatar).length) return null;
109280
109789
  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;
109790
+ return this.avatar.hasBadge ? /* @__PURE__ */ vue.h(UBadge, { ...this.badge }, { default: () => Avatar }) : Avatar;
109282
109791
  };
109283
109792
  const prefixSkeletonSizes = {
109284
109793
  large: 54,
@@ -109361,13 +109870,15 @@
109361
109870
  skeleton: void 0,
109362
109871
  class: `${mergedClsPrefix}-list-item__${classSuffix}`
109363
109872
  },
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()
109873
+ {
109874
+ default: () => skeletonOn || props?.loading ? /* @__PURE__ */ vue.h(
109875
+ UBaseSkeleton,
109876
+ {
109877
+ ...props.skeletonPro,
109878
+ style: { borderRadius: "6px" }
109879
+ }
109880
+ ) : typeof content === "string" ? props.text : content()
109881
+ }
109371
109882
  ) : null;
109372
109883
  }
109373
109884
  const headerNode = renderTextNode(header, headerProps, "title");
@@ -111570,15 +112081,15 @@
111570
112081
  }
111571
112082
  function doUpdateValue(value) {
111572
112083
  const { onUpdateValue, "onUpdate:value": _onUpdateValue } = props;
111573
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
112084
+ const { triggerFormChange, triggerFormInput } = formItem;
111574
112085
  if (_onUpdateValue) {
111575
112086
  call(_onUpdateValue, value);
111576
112087
  }
111577
112088
  if (onUpdateValue) {
111578
112089
  call(onUpdateValue, value);
111579
112090
  }
111580
- nTriggerFormInput();
111581
- nTriggerFormChange();
112091
+ triggerFormInput();
112092
+ triggerFormChange();
111582
112093
  uncontrolledValueRef.value = value;
111583
112094
  }
111584
112095
  function getInputEl() {
@@ -111673,8 +112184,8 @@
111673
112184
  function handleInputFocus(e) {
111674
112185
  const { onFocus } = props;
111675
112186
  onFocus?.(e);
111676
- const { nTriggerFormFocus } = formItem;
111677
- nTriggerFormFocus();
112187
+ const { triggerFormFocus } = formItem;
112188
+ triggerFormFocus();
111678
112189
  syncAfterCursorMove();
111679
112190
  }
111680
112191
  function focus() {
@@ -111686,8 +112197,8 @@
111686
112197
  function handleInputBlur(e) {
111687
112198
  const { onBlur } = props;
111688
112199
  onBlur?.(e);
111689
- const { nTriggerFormBlur } = formItem;
111690
- nTriggerFormBlur();
112200
+ const { triggerFormBlur } = formItem;
112201
+ triggerFormBlur();
111691
112202
  doUpdateShowMenu(false);
111692
112203
  }
111693
112204
  function handleSelect(tmNode) {
@@ -113888,7 +114399,7 @@
113888
114399
  const mergedValue = useMergedState(controlledValueRef, uncontrolledValueRef);
113889
114400
  function doUpdateValue(value) {
113890
114401
  const { "onUpdate:value": _onUpdateValue, onUpdateValue } = props;
113891
- const { nTriggerFormChange, nTriggerFormInput } = formItem;
114402
+ const { triggerFormChange, triggerFormInput } = formItem;
113892
114403
  if (_onUpdateValue) {
113893
114404
  call(_onUpdateValue, value);
113894
114405
  }
@@ -113896,8 +114407,8 @@
113896
114407
  call(onUpdateValue, value);
113897
114408
  }
113898
114409
  uncontrolledValueRef.value = value;
113899
- nTriggerFormChange();
113900
- nTriggerFormInput();
114410
+ triggerFormChange();
114411
+ triggerFormInput();
113901
114412
  }
113902
114413
  function getDerivedValue(index, e) {
113903
114414
  if (props.allowHalf) {
@@ -114639,12 +115150,12 @@
114639
115150
  }
114640
115151
  function doUpdateValue(value) {
114641
115152
  const { "onUpdate:value": _onUpdateValue, onUpdateValue } = props;
114642
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
115153
+ const { triggerFormInput, triggerFormChange } = formItem;
114643
115154
  if (onUpdateValue) call(onUpdateValue, value);
114644
115155
  if (_onUpdateValue) call(_onUpdateValue, value);
114645
115156
  uncontrolledValueRef.value = value;
114646
- nTriggerFormInput();
114647
- nTriggerFormChange();
115157
+ triggerFormInput();
115158
+ triggerFormChange();
114648
115159
  }
114649
115160
  function dispatchValueUpdate(value) {
114650
115161
  const { range } = props;
@@ -116437,21 +116948,21 @@
116437
116948
  onChange,
116438
116949
  onUpdateValue
116439
116950
  } = props;
116440
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
116951
+ const { triggerFormInput, triggerFormChange } = formItem;
116441
116952
  if (_onUpdateValue) call(_onUpdateValue, value);
116442
116953
  if (onUpdateValue) call(onUpdateValue, value);
116443
116954
  if (onChange) call(onChange, value);
116444
116955
  uncontrolledValueRef.value = value;
116445
- nTriggerFormInput();
116446
- nTriggerFormChange();
116956
+ triggerFormInput();
116957
+ triggerFormChange();
116447
116958
  }
116448
116959
  function doFocus() {
116449
- const { nTriggerFormFocus } = formItem;
116450
- nTriggerFormFocus();
116960
+ const { triggerFormFocus } = formItem;
116961
+ triggerFormFocus();
116451
116962
  }
116452
116963
  function doBlur() {
116453
- const { nTriggerFormBlur } = formItem;
116454
- nTriggerFormBlur();
116964
+ const { triggerFormBlur } = formItem;
116965
+ triggerFormBlur();
116455
116966
  }
116456
116967
  function handleClick() {
116457
116968
  if (props.loading || mergedDisabledRef.value) return;
@@ -119470,13 +119981,13 @@
119470
119981
  "onUpdate:value": _onUpdateValue,
119471
119982
  onChange
119472
119983
  } = props;
119473
- const { nTriggerFormInput, nTriggerFormChange } = formItem;
119984
+ const { triggerFormInput, triggerFormChange } = formItem;
119474
119985
  if (onUpdateValue) call(onUpdateValue, value);
119475
119986
  if (_onUpdateValue) call(_onUpdateValue, value);
119476
119987
  if (onChange) call(onChange, value);
119477
119988
  uncontrolledValueRef.value = value;
119478
- nTriggerFormInput();
119479
- nTriggerFormChange();
119989
+ triggerFormInput();
119990
+ triggerFormChange();
119480
119991
  }
119481
119992
  function handleSourceCheckAll() {
119482
119993
  doUpdateValue([...valueSetForCheckAllRef.value]);
@@ -122265,10 +122776,10 @@
122265
122776
  mergedSizeRef,
122266
122777
  mergedDisabledRef,
122267
122778
  mergedStatusRef,
122268
- nTriggerFormBlur,
122269
- nTriggerFormChange,
122270
- nTriggerFormFocus,
122271
- nTriggerFormInput
122779
+ triggerFormBlur,
122780
+ triggerFormChange,
122781
+ triggerFormFocus,
122782
+ triggerFormInput
122272
122783
  } = useFormItem(props);
122273
122784
  const uncontrolledValueRef = vue.ref(props.defaultValue);
122274
122785
  const controlledValueRef = vue.toRef(props, "value");
@@ -122410,8 +122921,8 @@
122410
122921
  call(_onUpdateValue, value, option, meta);
122411
122922
  }
122412
122923
  uncontrolledValueRef.value = value;
122413
- nTriggerFormInput();
122414
- nTriggerFormChange();
122924
+ triggerFormInput();
122925
+ triggerFormChange();
122415
122926
  }
122416
122927
  function doUpdateIndeterminateKeys(value, option) {
122417
122928
  const {
@@ -122459,13 +122970,13 @@
122459
122970
  function doFocus(e) {
122460
122971
  const { onFocus } = props;
122461
122972
  if (onFocus) onFocus(e);
122462
- nTriggerFormFocus();
122973
+ triggerFormFocus();
122463
122974
  }
122464
122975
  function doBlur(e) {
122465
122976
  closeMenu();
122466
122977
  const { onBlur } = props;
122467
122978
  if (onBlur) onBlur(e);
122468
- nTriggerFormBlur();
122979
+ triggerFormBlur();
122469
122980
  }
122470
122981
  function closeMenu() {
122471
122982
  doUpdateShow(false);
@@ -126279,6 +126790,7 @@
126279
126790
  UInputGroup: UInputGroup,
126280
126791
  UInputGroupLabel: InputGroupLabel,
126281
126792
  UInputNumber: InputNumber,
126793
+ UInputOtp: InputOtp,
126282
126794
  ULayout: Layout,
126283
126795
  ULayoutContent: LayoutContent,
126284
126796
  ULayoutFooter: LayoutFooter,
@@ -126420,6 +126932,7 @@
126420
126932
  inputGroupLabelProps: inputGroupLabelProps,
126421
126933
  inputGroupProps: inputGroupProps,
126422
126934
  inputNumberProps: inputNumberProps,
126935
+ inputOtpProps: inputOtpProps,
126423
126936
  inputProps: inputProps,
126424
126937
  layoutContentProps: layoutProps,
126425
126938
  layoutFooterProps: layoutFooterProps,
@@ -126487,7 +127000,7 @@
126487
127000
  watermarkProps: watermarkProps
126488
127001
  });
126489
127002
 
126490
- var version = "1.5.2";
127003
+ var version = "1.5.4";
126491
127004
 
126492
127005
  function create({
126493
127006
  componentPrefix = "U",
@@ -126606,6 +127119,7 @@
126606
127119
  IconWrapper: iconDark,
126607
127120
  Image: imageDark,
126608
127121
  Input: inputDark,
127122
+ InputOtp: inputOtpDark,
126609
127123
  InputNumber: inputNumberDark,
126610
127124
  LegacyTransfer: transferDark,
126611
127125
  Layout: layoutDark,
@@ -126698,6 +127212,7 @@
126698
127212
  IconWrapper: iconWrapperLight,
126699
127213
  Image: imageLight,
126700
127214
  Input: inputLight,
127215
+ InputOtp: inputOtpLight,
126701
127216
  InputNumber: inputNumberLight,
126702
127217
  Layout: layoutLight,
126703
127218
  LegacyTransfer: transferLight,
@@ -127365,6 +127880,7 @@
127365
127880
  exports.UInputGroup = UInputGroup;
127366
127881
  exports.UInputGroupLabel = InputGroupLabel;
127367
127882
  exports.UInputNumber = InputNumber;
127883
+ exports.UInputOtp = InputOtp;
127368
127884
  exports.ULayout = Layout;
127369
127885
  exports.ULayoutContent = LayoutContent;
127370
127886
  exports.ULayoutFooter = LayoutFooter;
@@ -127585,6 +128101,8 @@
127585
128101
  exports.inputGroupProps = inputGroupProps;
127586
128102
  exports.inputNumberDark = inputNumberDark;
127587
128103
  exports.inputNumberProps = inputNumberProps;
128104
+ exports.inputOtpDark = inputOtpDark;
128105
+ exports.inputOtpProps = inputOtpProps;
127588
128106
  exports.inputProps = inputProps;
127589
128107
  exports.install = install;
127590
128108
  exports.internalSelectMenuDark = internalSelectMenuDark;
@@ -127710,6 +128228,7 @@
127710
128228
  exports.unstableDrawerRtl = drawerRtl;
127711
128229
  exports.unstableDynamicInputRtl = dynamicInputRtl;
127712
128230
  exports.unstableInputNumberRtl = inputNumberRtl;
128231
+ exports.unstableInputOtpRtl = inputOtpRtl;
127713
128232
  exports.unstableInputRtl = inputRtl;
127714
128233
  exports.unstableListRtl = listRtl;
127715
128234
  exports.unstableMessageRtl = messageRtl;