@uzum-tech/ui 2.4.7 → 2.4.9

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 (52) hide show
  1. package/dist/index.js +225 -75
  2. package/dist/index.mjs +225 -75
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/components.d.ts +82 -10
  6. package/es/dynamic-tags/index.d.ts +3 -3
  7. package/es/dynamic-tags/index.mjs +2 -1
  8. package/es/dynamic-tags/src/DynamicTags.d.ts +74 -1177
  9. package/es/dynamic-tags/src/DynamicTags.mjs +150 -107
  10. package/es/dynamic-tags/src/interface.d.ts +1146 -6
  11. package/es/dynamic-tags/src/interface.mjs +34 -1
  12. package/es/dynamic-tags/src/styles/index.cssr.mjs +35 -3
  13. package/es/dynamic-tags/styles/dark.mjs +4 -2
  14. package/es/dynamic-tags/styles/light.d.ts +2 -0
  15. package/es/dynamic-tags/styles/light.mjs +4 -2
  16. package/es/form/src/Form.d.ts +4 -0
  17. package/es/form/src/Form.mjs +1 -0
  18. package/es/form/src/FormItem.d.ts +15 -1
  19. package/es/form/src/FormItem.mjs +8 -1
  20. package/es/form/src/FormItemCol.d.ts +14 -1
  21. package/es/form/src/FormItemGridItem.d.ts +14 -1
  22. package/es/form/src/FormItemRow.d.ts +13 -0
  23. package/es/form/src/styles/form-item.cssr.mjs +2 -1
  24. package/es/form/src/utils.d.ts +1 -0
  25. package/es/form/src/utils.mjs +6 -0
  26. package/es/version.d.ts +1 -1
  27. package/es/version.mjs +1 -1
  28. package/lib/components.d.ts +82 -10
  29. package/lib/dynamic-tags/index.d.ts +3 -3
  30. package/lib/dynamic-tags/index.js +3 -2
  31. package/lib/dynamic-tags/src/DynamicTags.d.ts +74 -1177
  32. package/lib/dynamic-tags/src/DynamicTags.js +142 -77
  33. package/lib/dynamic-tags/src/interface.d.ts +1146 -6
  34. package/lib/dynamic-tags/src/interface.js +24 -0
  35. package/lib/dynamic-tags/src/styles/index.cssr.js +34 -2
  36. package/lib/dynamic-tags/styles/dark.js +4 -2
  37. package/lib/dynamic-tags/styles/light.d.ts +2 -0
  38. package/lib/dynamic-tags/styles/light.js +4 -2
  39. package/lib/form/src/Form.d.ts +4 -0
  40. package/lib/form/src/Form.js +1 -1
  41. package/lib/form/src/FormItem.d.ts +15 -1
  42. package/lib/form/src/FormItem.js +6 -2
  43. package/lib/form/src/FormItemCol.d.ts +14 -1
  44. package/lib/form/src/FormItemGridItem.d.ts +14 -1
  45. package/lib/form/src/FormItemRow.d.ts +13 -0
  46. package/lib/form/src/styles/form-item.cssr.js +2 -1
  47. package/lib/form/src/utils.d.ts +1 -0
  48. package/lib/form/src/utils.js +7 -0
  49. package/lib/version.d.ts +1 -1
  50. package/lib/version.js +1 -1
  51. package/package.json +1 -1
  52. package/web-types.json +31 -1
package/dist/index.mjs CHANGED
@@ -54503,9 +54503,11 @@ const dynamicTagsDark = {
54503
54503
  Tag: tagDark,
54504
54504
  Space: spaceDark
54505
54505
  },
54506
- self() {
54506
+ self(vars) {
54507
54507
  return {
54508
- inputWidth: "64px"
54508
+ inputWidth: "64px",
54509
+ draggingOpacity: "0.5",
54510
+ dropIndicatorColor: vars.elementsPrimary
54509
54511
  };
54510
54512
  }
54511
54513
  };
@@ -54519,9 +54521,11 @@ const dynamicTagsLight = createTheme$1({
54519
54521
  Tag: tagLight,
54520
54522
  Space: spaceLight
54521
54523
  },
54522
- self() {
54524
+ self(vars) {
54523
54525
  return {
54524
- inputWidth: "64px"
54526
+ inputWidth: "64px",
54527
+ draggingOpacity: "0.5",
54528
+ dropIndicatorColor: vars.elementsPrimary
54525
54529
  };
54526
54530
  }
54527
54531
  });
@@ -124441,10 +124445,6 @@ var USpace$1 = defineComponent({
124441
124445
  }
124442
124446
  });
124443
124447
 
124444
- var style$M = cB("dynamic-tags", [cB("input", {
124445
- minWidth: "var(--u-input-width)"
124446
- })]);
124447
-
124448
124448
  const dynamicTagsProps = {
124449
124449
  ...useTheme.props,
124450
124450
  ...commonProps,
@@ -124456,6 +124456,10 @@ const dynamicTagsProps = {
124456
124456
  type: Boolean,
124457
124457
  default: true
124458
124458
  },
124459
+ draggable: {
124460
+ type: Boolean,
124461
+ default: false
124462
+ },
124459
124463
  defaultValue: {
124460
124464
  type: Array,
124461
124465
  default: () => []
@@ -124468,13 +124472,48 @@ const dynamicTagsProps = {
124468
124472
  renderTag: Function,
124469
124473
  onCreate: {
124470
124474
  type: Function,
124471
- default: (label) => label
124475
+ default: label => label
124472
124476
  },
124473
124477
  "onUpdate:value": [Function, Array],
124474
124478
  onUpdateValue: [Function, Array],
124475
124479
  // deprecated
124476
124480
  onChange: [Function, Array]
124477
124481
  };
124482
+
124483
+ var style$M = cB("dynamic-tags", [cB("input", {
124484
+ minWidth: "var(--u-input-width)"
124485
+ }), cE("tag-wrapper", `
124486
+ display: flex;
124487
+ position: relative;
124488
+ cursor: default;
124489
+ `, [c$1("& > *", `
124490
+ cursor: inherit;
124491
+ `)]), cE("tag", [cM("draggable", `
124492
+ cursor: grab;
124493
+ user-select: none;
124494
+ `), cM("dragging", `
124495
+ opacity: var(--u-dragging-opacity);
124496
+ cursor: grabbing;
124497
+ `), cM("drop-before", [c$1("&::before", `
124498
+ content: '';
124499
+ position: absolute;
124500
+ top: 0;
124501
+ bottom: 0;
124502
+ left: -5px;
124503
+ width: 2px;
124504
+ border-radius: 2px;
124505
+ background-color: var(--u-drop-indicator-color);
124506
+ `)]), cM("drop-after", [c$1("&::after", `
124507
+ content: '';
124508
+ position: absolute;
124509
+ top: 0;
124510
+ bottom: 0;
124511
+ right: -5px;
124512
+ width: 2px;
124513
+ border-radius: 2px;
124514
+ background-color: var(--u-drop-indicator-color);
124515
+ `)])])]);
124516
+
124478
124517
  var _UDynamicTags = defineComponent({
124479
124518
  name: "DynamicTags",
124480
124519
  props: dynamicTagsProps,
@@ -124490,14 +124529,9 @@ var _UDynamicTags = defineComponent({
124490
124529
  }
124491
124530
  });
124492
124531
  }
124493
- const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
124494
124532
  const { localeRef } = useLocale("DynamicTags");
124533
+ const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
124495
124534
  const formItem = useFormItem(props);
124496
- const { mergedDisabledRef } = formItem;
124497
- const inputValueRef = ref("");
124498
- const showInputRef = ref(false);
124499
- const inputForceFocusedRef = ref(true);
124500
- const inputInstRef = ref(null);
124501
124535
  const themeRef = useTheme(
124502
124536
  "DynamicTags",
124503
124537
  "-dynamic-tags",
@@ -124506,8 +124540,14 @@ var _UDynamicTags = defineComponent({
124506
124540
  props,
124507
124541
  mergedClsPrefixRef
124508
124542
  );
124543
+ const inputInstRef = ref(null);
124544
+ const inputValueRef = ref("");
124545
+ const showInputRef = ref(false);
124546
+ const inputForceFocusedRef = ref(true);
124509
124547
  const uncontrolledValueRef = ref(props.defaultValue);
124510
124548
  const controlledValueRef = toRef(props, "value");
124549
+ const dragIndexRef = ref(null);
124550
+ const dragOverIndexRef = ref(null);
124511
124551
  const mergedValueRef = useMergedState(
124512
124552
  controlledValueRef,
124513
124553
  uncontrolledValueRef
@@ -124518,38 +124558,44 @@ var _UDynamicTags = defineComponent({
124518
124558
  const inputSizeRef = computed(() => {
124519
124559
  return smallerSize(props.size);
124520
124560
  });
124561
+ const buttonSizeRef = computed(() => {
124562
+ return smallerSize(props.size);
124563
+ });
124521
124564
  const triggerDisabledRef = computed(() => {
124522
- return mergedDisabledRef.value || !!props.max && mergedValueRef.value.length >= props.max;
124565
+ return formItem.mergedDisabledRef.value || !!props.max && mergedValueRef.value.length >= props.max;
124523
124566
  });
124524
- function doChange(value) {
124567
+ const cssVarsRef = computed(() => {
124525
124568
  const {
124526
- onChange,
124527
- "onUpdate:value": _onUpdateValue,
124528
- onUpdateValue
124529
- } = props;
124530
- const { triggerFormInput, triggerFormChange } = formItem;
124531
- if (onChange)
124532
- call(onChange, value);
124533
- if (onUpdateValue)
124534
- call(onUpdateValue, value);
124535
- if (_onUpdateValue)
124536
- call(_onUpdateValue, value);
124569
+ self: { inputWidth, draggingOpacity, dropIndicatorColor }
124570
+ } = themeRef.value;
124571
+ return {
124572
+ "--u-input-width": inputWidth,
124573
+ "--u-dragging-opacity": draggingOpacity,
124574
+ "--u-drop-indicator-color": dropIndicatorColor
124575
+ };
124576
+ });
124577
+ const tagSizeRef = computed(() => {
124578
+ const { size } = props;
124579
+ return size === "huge" ? "medium" : "small";
124580
+ });
124581
+ const themeClassHandle = inlineThemeDisabled ? useThemeClass("dynamic-tags", void 0, cssVarsRef, props) : void 0;
124582
+ const doChange = (value) => {
124583
+ if (props.onChange)
124584
+ call(props.onChange, value);
124585
+ if (props.onUpdateValue)
124586
+ call(props.onUpdateValue, value);
124587
+ if (props["onUpdate:value"])
124588
+ call(props["onUpdate:value"], value);
124537
124589
  uncontrolledValueRef.value = value;
124538
- triggerFormInput();
124539
- triggerFormChange();
124540
- }
124541
- function handleCloseClick(index) {
124590
+ formItem.triggerFormInput();
124591
+ formItem.triggerFormChange();
124592
+ };
124593
+ const handleCloseClick = (index) => {
124542
124594
  const tags = mergedValueRef.value.slice(0);
124543
124595
  tags.splice(index, 1);
124544
124596
  doChange(tags);
124545
- }
124546
- function handleInputKeyUp(e) {
124547
- switch (e.key) {
124548
- case "Enter":
124549
- handleInputConfirm();
124550
- }
124551
- }
124552
- function handleInputConfirm(externalValue) {
124597
+ };
124598
+ const handleInputConfirm = (externalValue) => {
124553
124599
  const nextValue = externalValue ?? inputValueRef.value;
124554
124600
  if (nextValue) {
124555
124601
  const tags = mergedValueRef.value.slice(0);
@@ -124559,60 +124605,125 @@ var _UDynamicTags = defineComponent({
124559
124605
  showInputRef.value = false;
124560
124606
  inputForceFocusedRef.value = true;
124561
124607
  inputValueRef.value = "";
124562
- }
124563
- function handleInputBlur() {
124608
+ };
124609
+ const handleInputKeyUp = (event) => {
124610
+ if (event.key === "Enter")
124611
+ handleInputConfirm();
124612
+ };
124613
+ const handleInputBlur = () => {
124564
124614
  handleInputConfirm();
124565
- }
124566
- function handleAddClick() {
124615
+ };
124616
+ const handleAddClick = () => {
124567
124617
  showInputRef.value = true;
124568
124618
  void nextTick(() => {
124569
124619
  inputInstRef.value?.focus();
124570
124620
  inputForceFocusedRef.value = false;
124571
124621
  });
124572
- }
124573
- const cssVarsRef = computed(() => {
124574
- const {
124575
- self: { inputWidth }
124576
- } = themeRef.value;
124622
+ };
124623
+ const moveItem = (from, to) => {
124624
+ if (from === to)
124625
+ return;
124626
+ const values = [...mergedValueRef.value];
124627
+ const [item] = values.splice(from, 1);
124628
+ values.splice(to, 0, item);
124629
+ doChange(values);
124630
+ };
124631
+ const resetDrag = () => {
124632
+ dragIndexRef.value = null;
124633
+ dragOverIndexRef.value = null;
124634
+ };
124635
+ const handleDragStart = (event, index) => {
124636
+ dragIndexRef.value = index;
124637
+ if (event.dataTransfer) {
124638
+ event.dataTransfer.effectAllowed = "move";
124639
+ event.dataTransfer.setData("text/plain", String(index));
124640
+ }
124641
+ };
124642
+ const handleDragOver = (event, index) => {
124643
+ if (dragIndexRef.value === null)
124644
+ return;
124645
+ event.preventDefault();
124646
+ dragOverIndexRef.value = index;
124647
+ };
124648
+ const handleDragLeave = (event, index) => {
124649
+ if (dragOverIndexRef.value !== index)
124650
+ return;
124651
+ const current = event.currentTarget;
124652
+ const related = event.relatedTarget;
124653
+ if (current && related && current.contains(related))
124654
+ return;
124655
+ dragOverIndexRef.value = null;
124656
+ };
124657
+ const handleDrop = (event, index) => {
124658
+ if (dragIndexRef.value === null)
124659
+ return;
124660
+ event.preventDefault();
124661
+ moveItem(dragIndexRef.value, index);
124662
+ resetDrag();
124663
+ };
124664
+ const getDragProps = (index) => {
124665
+ if (!props.draggable || formItem.mergedDisabledRef.value)
124666
+ return {};
124667
+ const prefix = `${mergedClsPrefixRef.value}-dynamic-tags__tag`;
124668
+ const from = dragIndexRef.value;
124669
+ const isOver = from !== null && dragOverIndexRef.value === index;
124577
124670
  return {
124578
- "--u-input-width": inputWidth
124671
+ class: [
124672
+ prefix,
124673
+ `${prefix}--draggable`,
124674
+ {
124675
+ [`${prefix}--dragging`]: from === index,
124676
+ [`${prefix}--drop-before`]: isOver && from > index,
124677
+ [`${prefix}--drop-after`]: isOver && from < index
124678
+ }
124679
+ ],
124680
+ draggable: true,
124681
+ onDragstart: (event) => handleDragStart(event, index),
124682
+ onDragover: (event) => handleDragOver(event, index),
124683
+ onDragleave: (event) => handleDragLeave(event, index),
124684
+ onDrop: (event) => handleDrop(event, index),
124685
+ onDragend: resetDrag
124579
124686
  };
124580
- });
124581
- const tagSizeRef = computed(() => {
124582
- const { size } = props;
124583
- return size === "huge" ? "medium" : "small";
124584
- });
124585
- const themeClassHandle = inlineThemeDisabled ? useThemeClass("dynamic-tags", void 0, cssVarsRef, props) : void 0;
124687
+ };
124586
124688
  return {
124587
124689
  mergedClsPrefix: mergedClsPrefixRef,
124588
124690
  inputInstRef,
124589
124691
  localizedAdd: localizedAddRef,
124590
124692
  inputSize: inputSizeRef,
124591
124693
  inputValue: inputValueRef,
124694
+ buttonSize: buttonSizeRef,
124592
124695
  showInput: showInputRef,
124593
124696
  inputForceFocused: inputForceFocusedRef,
124594
124697
  mergedValue: mergedValueRef,
124595
- mergedDisabled: mergedDisabledRef,
124698
+ mergedDisabled: formItem.mergedDisabledRef,
124596
124699
  triggerDisabled: triggerDisabledRef,
124700
+ mergedTheme: themeRef,
124701
+ cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
124702
+ themeClass: themeClassHandle?.themeClass,
124703
+ tagSize: tagSizeRef,
124597
124704
  handleInputKeyUp,
124598
124705
  handleAddClick,
124599
124706
  handleInputBlur,
124600
124707
  handleCloseClick,
124601
124708
  handleInputConfirm,
124602
- mergedTheme: themeRef,
124603
- cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
124604
- themeClass: themeClassHandle?.themeClass,
124605
- onRender: themeClassHandle?.onRender,
124606
- tagSize: tagSizeRef
124709
+ getDragProps,
124710
+ onRender: themeClassHandle?.onRender
124607
124711
  };
124608
124712
  },
124609
124713
  render() {
124610
- const { mergedTheme, cssVars, mergedClsPrefix, onRender, renderTag } = this;
124714
+ const {
124715
+ mergedTheme,
124716
+ cssVars,
124717
+ mergedClsPrefix,
124718
+ themeClass,
124719
+ onRender,
124720
+ renderTag
124721
+ } = this;
124611
124722
  onRender?.();
124612
124723
  return /* @__PURE__ */ h$1(
124613
124724
  USpace$1,
124614
124725
  {
124615
- class: [`${mergedClsPrefix}-dynamic-tags`, this.themeClass],
124726
+ class: [`${mergedClsPrefix}-dynamic-tags`, themeClass],
124616
124727
  size: "small",
124617
124728
  style: cssVars,
124618
124729
  theme: mergedTheme.peers.Space,
@@ -124623,36 +124734,64 @@ var _UDynamicTags = defineComponent({
124623
124734
  default: () => {
124624
124735
  const {
124625
124736
  mergedTheme: mergedTheme2,
124737
+ mergedValue,
124626
124738
  tagStyle,
124739
+ tagSize,
124627
124740
  type,
124628
124741
  round,
124629
124742
  color,
124630
124743
  closable,
124631
124744
  mergedDisabled,
124745
+ draggable,
124632
124746
  showInput,
124633
124747
  inputValue,
124634
124748
  inputStyle,
124749
+ inputProps,
124635
124750
  inputSize,
124751
+ buttonSize,
124636
124752
  inputForceFocused,
124637
124753
  triggerDisabled,
124754
+ $slots,
124638
124755
  handleInputKeyUp,
124639
124756
  handleInputBlur,
124640
124757
  handleAddClick,
124641
124758
  handleCloseClick,
124642
124759
  handleInputConfirm,
124643
- $slots
124760
+ getDragProps
124644
124761
  } = this;
124645
- return this.mergedValue.map(
124646
- (tag, index) => renderTag ? renderTag(tag, index) : /* @__PURE__ */ h$1(
124762
+ return mergedValue.map((tag, index) => {
124763
+ if (renderTag) {
124764
+ const customTag = renderTag(
124765
+ tag,
124766
+ index
124767
+ );
124768
+ if (!draggable)
124769
+ return customTag;
124770
+ const dragProps = getDragProps(index);
124771
+ return /* @__PURE__ */ h$1(
124772
+ "div",
124773
+ {
124774
+ key: index,
124775
+ ...dragProps,
124776
+ class: [
124777
+ `${mergedClsPrefix}-dynamic-tags__tag-wrapper`,
124778
+ dragProps.class
124779
+ ]
124780
+ },
124781
+ customTag
124782
+ );
124783
+ }
124784
+ return /* @__PURE__ */ h$1(
124647
124785
  _UTag,
124648
124786
  {
124649
124787
  key: index,
124788
+ ...getDragProps(index),
124650
124789
  theme: mergedTheme2.peers.Tag,
124651
124790
  themeOverrides: mergedTheme2.peerOverrides.Tag,
124652
124791
  style: tagStyle,
124653
124792
  type,
124654
124793
  round,
124655
- size: this.tagSize,
124794
+ size: tagSize,
124656
124795
  color,
124657
124796
  closable,
124658
124797
  disabled: mergedDisabled,
@@ -124663,8 +124802,8 @@ var _UDynamicTags = defineComponent({
124663
124802
  {
124664
124803
  default: () => typeof tag === "string" ? tag : tag.label
124665
124804
  }
124666
- )
124667
- ).concat(
124805
+ );
124806
+ }).concat(
124668
124807
  showInput ? $slots.input ? $slots.input({
124669
124808
  submit: handleInputConfirm,
124670
124809
  deactivate: handleInputBlur
@@ -124675,7 +124814,7 @@ var _UDynamicTags = defineComponent({
124675
124814
  size: inputSize,
124676
124815
  style: inputStyle,
124677
124816
  autosize: true,
124678
- ...this.inputProps,
124817
+ ...inputProps,
124679
124818
  ref: "inputInstRef",
124680
124819
  value: inputValue,
124681
124820
  onUpdateValue: (v) => {
@@ -124697,7 +124836,7 @@ var _UDynamicTags = defineComponent({
124697
124836
  disabled: triggerDisabled,
124698
124837
  theme: mergedTheme2.peers.Button,
124699
124838
  themeOverrides: mergedTheme2.peerOverrides.Button,
124700
- size: inputSize,
124839
+ size: buttonSize,
124701
124840
  onClick: handleAddClick
124702
124841
  },
124703
124842
  {
@@ -125225,6 +125364,7 @@ const formProps = {
125225
125364
  inline: Boolean,
125226
125365
  labelWidth: [Number, String],
125227
125366
  labelAlign: String,
125367
+ ellipsisLabel: Boolean,
125228
125368
  labelPlacement: {
125229
125369
  type: String,
125230
125370
  default: "top"
@@ -126535,7 +126675,8 @@ var style$I = cB("form-item", `
126535
126675
  "text mark"
126536
126676
  "text .";
126537
126677
  `), cE("text", `
126538
- grid-area: text;
126678
+ grid-area: text;
126679
+ min-width: 0;
126539
126680
  `), cE("asterisk", `
126540
126681
  grid-area: mark;
126541
126682
  align-self: end;
@@ -126638,6 +126779,10 @@ function formItemMisc(props) {
126638
126779
  if (UForm?.props.labelAlign) return UForm.props.labelAlign;
126639
126780
  return void 0;
126640
126781
  });
126782
+ const mergedEllipsisLabelRef = computed(() => {
126783
+ if (props.ellipsisLabel !== void 0) return props.ellipsisLabel;
126784
+ return UForm?.props.ellipsisLabel ?? false;
126785
+ });
126641
126786
  const mergedLabelStyleRef = computed(() => {
126642
126787
  return [props.labelProps?.style, props.labelStyle, {
126643
126788
  width: mergedLabelWidthRef.value
@@ -126695,6 +126840,7 @@ function formItemMisc(props) {
126695
126840
  mergedValidationStatus: mergedValidationStatusRef,
126696
126841
  mergedShowFeedback: mergedShowFeedbackRef,
126697
126842
  mergedShowLabel: mergedShowLabelRef,
126843
+ mergedEllipsisLabel: mergedEllipsisLabelRef,
126698
126844
  isAutoLabelWidth: isAutoLabelWidthRef
126699
126845
  };
126700
126846
  }
@@ -126767,6 +126913,10 @@ function findInputValue(vnodes) {
126767
126913
  const formItemProps = {
126768
126914
  ...useTheme.props,
126769
126915
  label: String,
126916
+ ellipsisLabel: {
126917
+ type: Boolean,
126918
+ default: void 0
126919
+ },
126770
126920
  labelWidth: [Number, String],
126771
126921
  labelStyle: [String, Object],
126772
126922
  labelAlign: String,
@@ -127171,7 +127321,7 @@ var _UFormItem = defineComponent({
127171
127321
  const labelText = this.$slots.label ? this.$slots.label() : this.label;
127172
127322
  if (!labelText)
127173
127323
  return null;
127174
- const textNode = /* @__PURE__ */ h$1("span", { class: `${mergedClsPrefix}-form-item-label__text` }, labelText);
127324
+ const textNode = /* @__PURE__ */ h$1("span", { class: `${mergedClsPrefix}-form-item-label__text` }, this.mergedEllipsisLabel ? /* @__PURE__ */ h$1(_UEllipsis, null, { default: () => labelText }) : labelText);
127175
127325
  const markNode = renderedShowRequireMark ? /* @__PURE__ */ h$1("span", { class: `${mergedClsPrefix}-form-item-label__asterisk` }, mergedRequireMarkPlacement !== "left" ? "\xA0*" : "*\xA0") : mergedRequireMarkPlacement === "right-hanging" && /* @__PURE__ */ h$1(
127176
127326
  "span",
127177
127327
  {
@@ -155184,7 +155334,7 @@ function useThemeVars() {
155184
155334
  });
155185
155335
  }
155186
155336
 
155187
- var version = "2.4.7";
155337
+ var version = "2.4.9";
155188
155338
 
155189
155339
  function create({
155190
155340
  componentPrefix = "U",