@voicenter-team/voicenter-ui-plus 2.0.3 → 2.0.5

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 (113) hide show
  1. package/library/core/{entry-7MedY5a6.mjs → entry-CUnU_LTf.mjs} +1466 -422
  2. package/library/core/entry-CUnU_LTf.mjs.br +0 -0
  3. package/library/core/entry-CUnU_LTf.mjs.gz +0 -0
  4. package/library/core/{index-aRKANfxA.mjs → index-6fzTDgR0.mjs} +1 -1
  5. package/library/core/index-6fzTDgR0.mjs.br +0 -0
  6. package/library/core/index-6fzTDgR0.mjs.gz +0 -0
  7. package/library/core/{index-D4ALxe3L.mjs → index-BHgTKNj6.mjs} +1 -1
  8. package/library/core/index-BHgTKNj6.mjs.br +0 -0
  9. package/library/core/{index-D4ALxe3L.mjs.gz → index-BHgTKNj6.mjs.gz} +0 -0
  10. package/library/core/{index-F7WxIxZG.mjs → index-Bnbcgp45.mjs} +1 -1
  11. package/library/core/index-Bnbcgp45.mjs.br +0 -0
  12. package/library/core/index-Bnbcgp45.mjs.gz +0 -0
  13. package/library/core/{index-CX3WSSx2.mjs → index-BnrhesCl.mjs} +1 -1
  14. package/library/core/index-BnrhesCl.mjs.br +0 -0
  15. package/library/core/index-BnrhesCl.mjs.gz +0 -0
  16. package/library/core/{index-D3fgPDap.mjs → index-C1SGZ0VB.mjs} +1 -1
  17. package/library/core/index-C1SGZ0VB.mjs.br +0 -0
  18. package/library/core/index-C1SGZ0VB.mjs.gz +0 -0
  19. package/library/core/{index-B4-cxGdI.mjs → index-C5fzTJu8.mjs} +1 -1
  20. package/library/core/index-C5fzTJu8.mjs.br +0 -0
  21. package/library/core/index-C5fzTJu8.mjs.gz +0 -0
  22. package/library/core/{index-Brg39W8r.mjs → index-CToYp0ec.mjs} +1 -1
  23. package/library/core/index-CToYp0ec.mjs.br +0 -0
  24. package/library/core/index-CToYp0ec.mjs.gz +0 -0
  25. package/library/core/{index-Cu73PPC3.mjs → index-CYWz3-a9.mjs} +1 -1
  26. package/library/core/index-CYWz3-a9.mjs.br +0 -0
  27. package/library/core/index-CYWz3-a9.mjs.gz +0 -0
  28. package/library/core/{index-DwdnC-bV.mjs → index-C_0ohr-m.mjs} +1 -1
  29. package/library/core/index-C_0ohr-m.mjs.br +0 -0
  30. package/library/core/index-C_0ohr-m.mjs.gz +0 -0
  31. package/library/core/{index-C8_KX6c0.mjs → index-CanygYmA.mjs} +1 -1
  32. package/library/core/index-CanygYmA.mjs.br +0 -0
  33. package/library/core/index-CanygYmA.mjs.gz +0 -0
  34. package/library/core/{index-Bn40qumb.mjs → index-ClO3w-PT.mjs} +1 -1
  35. package/library/core/index-ClO3w-PT.mjs.br +0 -0
  36. package/library/core/index-ClO3w-PT.mjs.gz +0 -0
  37. package/library/core/{index-B5AARu62.mjs → index-DwlQlTDu.mjs} +1 -1
  38. package/library/core/index-DwlQlTDu.mjs.br +0 -0
  39. package/library/core/index-DwlQlTDu.mjs.gz +0 -0
  40. package/library/core/{index-D9pmi177.mjs → index-Dz1n0irY.mjs} +1 -1
  41. package/library/core/index-Dz1n0irY.mjs.br +0 -0
  42. package/library/core/index-Dz1n0irY.mjs.gz +0 -0
  43. package/library/core/{index-BqZbJSv5.mjs → index-KX4Bfsig.mjs} +1 -1
  44. package/library/core/index-KX4Bfsig.mjs.br +0 -0
  45. package/library/core/index-KX4Bfsig.mjs.gz +0 -0
  46. package/library/core/{index-Ck0hEoH5.mjs → index-o6T82tO9.mjs} +1 -1
  47. package/library/core/index-o6T82tO9.mjs.br +0 -0
  48. package/library/core/index-o6T82tO9.mjs.gz +0 -0
  49. package/library/core/index.mjs +32 -31
  50. package/library/core/index.mjs.br +0 -0
  51. package/library/core/index.mjs.gz +0 -0
  52. package/library/core/index.umd.js +5 -5
  53. package/library/core/index.umd.js.br +0 -0
  54. package/library/core/index.umd.js.gz +0 -0
  55. package/library/core/style.css +1 -1
  56. package/library/core/style.css.br +0 -0
  57. package/library/core/style.css.gz +0 -0
  58. package/library/core/types/components/VcButton/VcButton.vue.d.ts +1 -1
  59. package/library/core/types/components/VcButton/VcButtonIcon.vue.d.ts +1 -1
  60. package/library/core/types/components/VcButton/index.d.ts +1 -438
  61. package/library/core/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +1 -1
  62. package/library/core/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +1 -1
  63. package/library/core/types/components/VcForm/VcFormItem.vue.d.ts +1 -1
  64. package/library/core/types/components/VcHyperLink/VcHyperLink.vue.d.ts +1 -1
  65. package/library/core/types/components/VcLoading/Loaders/Circles.vue.d.ts +3 -6
  66. package/library/core/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +3 -6
  67. package/library/core/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +3 -6
  68. package/library/core/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +4 -9
  69. package/library/core/types/components/VcLoading/Loaders/Stretch.vue.d.ts +3 -6
  70. package/library/core/types/components/VcLoading/Loaders/types.d.ts +8 -0
  71. package/library/core/types/components/VcLoading/VcLoading.vue.d.ts +1 -1
  72. package/library/core/types/components/VcLoading/enum.d.ts +5 -5
  73. package/library/core/types/components/VcMdEditor/VcMdEditor.vue.d.ts +51 -4
  74. package/library/core/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +3 -3
  75. package/library/core/types/components/VcPagination/VcPaginationButton.vue.d.ts +1 -1
  76. package/library/core/types/components/VcSelect/VcSelectOption.vue.d.ts +3 -3
  77. package/library/core/types/components/VcTabs/VcTabPane.vue.d.ts +1 -1
  78. package/library/core/types/components/VcTag/VcTag.vue.d.ts +1 -1
  79. package/library/core/types/components/VcTagInput/VcTagInput.vue.d.ts +1 -1
  80. package/library/core/types/types/VcMdEditor.types.d.ts +6 -0
  81. package/package.json +1 -1
  82. package/tailwind.config.js +190 -190
  83. package/library/core/entry-7MedY5a6.mjs.br +0 -0
  84. package/library/core/entry-7MedY5a6.mjs.gz +0 -0
  85. package/library/core/index-B4-cxGdI.mjs.br +0 -0
  86. package/library/core/index-B4-cxGdI.mjs.gz +0 -0
  87. package/library/core/index-B5AARu62.mjs.br +0 -0
  88. package/library/core/index-B5AARu62.mjs.gz +0 -0
  89. package/library/core/index-Bn40qumb.mjs.br +0 -0
  90. package/library/core/index-Bn40qumb.mjs.gz +0 -0
  91. package/library/core/index-BqZbJSv5.mjs.br +0 -0
  92. package/library/core/index-BqZbJSv5.mjs.gz +0 -0
  93. package/library/core/index-Brg39W8r.mjs.br +0 -0
  94. package/library/core/index-Brg39W8r.mjs.gz +0 -0
  95. package/library/core/index-C8_KX6c0.mjs.br +0 -0
  96. package/library/core/index-C8_KX6c0.mjs.gz +0 -0
  97. package/library/core/index-CX3WSSx2.mjs.br +0 -0
  98. package/library/core/index-CX3WSSx2.mjs.gz +0 -0
  99. package/library/core/index-Ck0hEoH5.mjs.br +0 -0
  100. package/library/core/index-Ck0hEoH5.mjs.gz +0 -0
  101. package/library/core/index-Cu73PPC3.mjs.br +0 -0
  102. package/library/core/index-Cu73PPC3.mjs.gz +0 -0
  103. package/library/core/index-D3fgPDap.mjs.br +0 -0
  104. package/library/core/index-D3fgPDap.mjs.gz +0 -0
  105. package/library/core/index-D4ALxe3L.mjs.br +0 -0
  106. package/library/core/index-D9pmi177.mjs.br +0 -0
  107. package/library/core/index-D9pmi177.mjs.gz +0 -0
  108. package/library/core/index-DwdnC-bV.mjs.br +0 -0
  109. package/library/core/index-DwdnC-bV.mjs.gz +0 -0
  110. package/library/core/index-F7WxIxZG.mjs.br +0 -0
  111. package/library/core/index-F7WxIxZG.mjs.gz +0 -0
  112. package/library/core/index-aRKANfxA.mjs.br +0 -0
  113. package/library/core/index-aRKANfxA.mjs.gz +0 -0
@@ -10,7 +10,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
10
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
11
11
  var __privateMethod = (obj, member, method4) => (__accessCheck(obj, member, "access private method"), method4);
12
12
  var _watchers, _value, _emit, _meta, _container, _clock, _injectedSlices, _consumedSlices, _recordedTimers, _waitTimers, _getSlice, _getTimer, _container2, _clock2, _meta2, _inspector, _promise, _listener, _eventUniqId, _status, _removeListener, _waitTimeout, _container3, _ctx2, _ctx3, _keymap, _enableInspector, _status2, _configureList, _onStatusChange, _container4, _clock3, _usrPluginStore, _sysPluginStore, _ctx4, _loadInternal, _prepare, _cleanup, _cleanupInternal, _setStatus, _loadPluginInStore, _ctx5, _createSelection, _activeSelection, _active, _activeDOMRect, _dragging, _BlockService_instances, filterNodes_get, view_get, _notify, _hide2, _show2, _handleMouseDown, _handleMouseUp, _handleDragStart, _mousemoveCallback, _dragEnd, _element, _ctx6, _service, _activeNode, _root2, _initialized, _middleware, _floatingUIOptions, _getOffset, _getPosition, _getPlacement, _BlockProvider_instances, init_fn, _initialized2, _middleware2, _floatingUIOptions2, _root3, _debounce, _trigger, _shouldShow2, _updater, _offset, _onUpdate, _SlashProvider_instances, _shouldShow_fn, _debounce2, _shouldShow3, _middleware3, _floatingUIOptions3, _root4, _initialized3, _offset2, _shift, _updater2, _onUpdate2, _TooltipProvider_instances, _shouldShow_fn2;
13
- import { ref, defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, renderSlot, toDisplayString, getCurrentInstance, inject, unref, watch, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, isRef, reactive, customRef, onMounted, nextTick, warn, mergeProps, toRef, onUnmounted, useAttrs as useAttrs$1, useSlots, normalizeStyle, Fragment as Fragment$1, createBlock, withCtx, resolveDynamicComponent, withModifiers, onBeforeUnmount, Transition, withDirectives, vShow, createVNode, provide, onActivated, onUpdated, cloneVNode, Comment, Text as Text$3, Teleport as Teleport$1, onBeforeMount, onDeactivated, withKeys, createSlots, renderList, createTextVNode, isVNode, toRaw, vModelCheckbox, toRefs, vModelRadio, toHandlers, resolveComponent, normalizeProps, guardReactiveProps, TransitionGroup, resolveDirective, toHandlerKey, vModelText, h as h$2, mergeModels, useModel, useCssVars, createStaticVNode, markRaw, createApp } from "vue";
13
+ import { ref, defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, renderSlot, toDisplayString, getCurrentInstance, inject, unref, watch, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, isRef, reactive, customRef, onMounted, nextTick, warn, mergeProps, toRef, onUnmounted, useAttrs as useAttrs$1, useSlots, normalizeStyle, Fragment as Fragment$1, createBlock, withCtx, resolveDynamicComponent, withModifiers, onBeforeUnmount, Transition, withDirectives, vShow, createVNode, provide, onActivated, onUpdated, cloneVNode, Comment, Text as Text$3, Teleport as Teleport$1, onBeforeMount, onDeactivated, withKeys, createSlots, renderList, createTextVNode, isVNode, toRaw, vModelCheckbox, toRefs, vModelRadio, onBeforeUpdate, toHandlers, resolveComponent, normalizeProps, guardReactiveProps, TransitionGroup, resolveDirective, toHandlerKey, vModelText, h as h$2, mergeModels, useModel, useCssVars, createStaticVNode, markRaw, createApp } from "vue";
14
14
  const blue = {
15
15
  "card-shadow-color": "#E0E2E5",
16
16
  "card-bg-color": "#fff",
@@ -529,7 +529,7 @@ const DEFAULT_SIZE$a = "middle";
529
529
  const DEFAULT_TYPE$3 = "default";
530
530
  const DEFAULT_COLOR$a = "primary";
531
531
  const DEFAULT_LOAD_ICON$1 = "vc-icon-load";
532
- const _sfc_main$2T = /* @__PURE__ */ defineComponent({
532
+ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
533
533
  __name: "VcButton",
534
534
  props: {
535
535
  disabled: { type: Boolean, default: false },
@@ -615,7 +615,7 @@ const CLASS_FILLED_COLOR = "filled-";
615
615
  const CLASS_HOVERLESS = "vc-button-icon-type--hoverless";
616
616
  const CLASS_FOR_TYPE = "vc-button-icon-type--";
617
617
  const CLASS_FOR_COLOR$4 = "vc-button-icon-color--";
618
- const _sfc_main$2S = /* @__PURE__ */ defineComponent({
618
+ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
619
619
  __name: "VcButtonIcon",
620
620
  props: {
621
621
  type: { default: DEFAULT_TYPE$2 },
@@ -691,11 +691,11 @@ const _export_sfc$1 = (sfc, props) => {
691
691
  }
692
692
  return target;
693
693
  };
694
- const VcButtonIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["__scopeId", "data-v-8c261120"]]);
694
+ const VcButtonIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$2V, [["__scopeId", "data-v-8c261120"]]);
695
695
  const _hoisted_1$1e = ["tabindex", "disabled", "aria-pressed", "data-p-checked", "data-p-disabled", "data-test"];
696
696
  const _hoisted_2$T = { class: "vc-toggle-button__content" };
697
697
  const _hoisted_3$J = { class: "vc-toggle-button__label" };
698
- const _sfc_main$2R = /* @__PURE__ */ defineComponent({
698
+ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
699
699
  __name: "VcToggleButton",
700
700
  props: {
701
701
  modelValue: { type: Boolean, default: void 0 },
@@ -996,8 +996,8 @@ function isFunction$6(value) {
996
996
  }
997
997
  var coreJsData$2 = root$b["__core-js_shared__"];
998
998
  var maskSrcKey$1 = function() {
999
- var uid = /[^.]+$/.exec(coreJsData$2 && coreJsData$2.keys && coreJsData$2.keys.IE_PROTO || "");
1000
- return uid ? "Symbol(src)_1." + uid : "";
999
+ var uid2 = /[^.]+$/.exec(coreJsData$2 && coreJsData$2.keys && coreJsData$2.keys.IE_PROTO || "");
1000
+ return uid2 ? "Symbol(src)_1." + uid2 : "";
1001
1001
  }();
1002
1002
  function isMasked$2(func) {
1003
1003
  return !!maskSrcKey$1 && maskSrcKey$1 in func;
@@ -1619,8 +1619,10 @@ function baseFlatten$2(array4, depth, predicate, isStrict, result2) {
1619
1619
  result2 || (result2 = []);
1620
1620
  while (++index2 < length) {
1621
1621
  var value = array4[index2];
1622
- if (predicate(value)) {
1623
- {
1622
+ if (depth > 0 && predicate(value)) {
1623
+ if (depth > 1) {
1624
+ baseFlatten$2(value, depth - 1, predicate, isStrict, result2);
1625
+ } else {
1624
1626
  arrayPush$5(result2, value);
1625
1627
  }
1626
1628
  } else {
@@ -1631,7 +1633,7 @@ function baseFlatten$2(array4, depth, predicate, isStrict, result2) {
1631
1633
  }
1632
1634
  function flatten$1(array4) {
1633
1635
  var length = array4 == null ? 0 : array4.length;
1634
- return length ? baseFlatten$2(array4) : [];
1636
+ return length ? baseFlatten$2(array4, 1) : [];
1635
1637
  }
1636
1638
  function flatRest(func) {
1637
1639
  return setToString$2(overRest$2(func, void 0, flatten$1), func + "");
@@ -1765,6 +1767,9 @@ function baseGetAllKeys$3(object4, keysFunc, symbolsFunc) {
1765
1767
  function getAllKeys$3(object4) {
1766
1768
  return baseGetAllKeys$3(object4, keys$7, getSymbols$4);
1767
1769
  }
1770
+ function getAllKeysIn$2(object4) {
1771
+ return baseGetAllKeys$3(object4, keysIn$6, getSymbolsIn$3);
1772
+ }
1768
1773
  var DataView$2 = getNative$8(root$b, "DataView");
1769
1774
  var Promise$3 = getNative$8(root$b, "Promise");
1770
1775
  var Set$4 = getNative$8(root$b, "Set");
@@ -1809,7 +1814,7 @@ function cloneArrayBuffer$4(arrayBuffer) {
1809
1814
  return result2;
1810
1815
  }
1811
1816
  function cloneDataView$2(dataView, isDeep) {
1812
- var buffer2 = dataView.buffer;
1817
+ var buffer2 = isDeep ? cloneArrayBuffer$4(dataView.buffer) : dataView.buffer;
1813
1818
  return new dataView.constructor(buffer2, dataView.byteOffset, dataView.byteLength);
1814
1819
  }
1815
1820
  var reFlags$1 = /\w*$/;
@@ -1837,7 +1842,7 @@ function initCloneByTag$2(object4, tag, isDeep) {
1837
1842
  case dateTag$6:
1838
1843
  return new Ctor(+object4);
1839
1844
  case dataViewTag$7:
1840
- return cloneDataView$2(object4);
1845
+ return cloneDataView$2(object4, isDeep);
1841
1846
  case float32Tag$4:
1842
1847
  case float64Tag$4:
1843
1848
  case int8Tag$4:
@@ -1876,14 +1881,14 @@ function baseIsSet$2(value) {
1876
1881
  }
1877
1882
  var nodeIsSet$1 = nodeUtil$3 && nodeUtil$3.isSet;
1878
1883
  var isSet$2 = nodeIsSet$1 ? baseUnary$5(nodeIsSet$1) : baseIsSet$2;
1879
- var CLONE_DEEP_FLAG$2 = 1, CLONE_FLAT_FLAG$1 = 2;
1884
+ var CLONE_DEEP_FLAG$3 = 1, CLONE_FLAT_FLAG$1 = 2, CLONE_SYMBOLS_FLAG$4 = 4;
1880
1885
  var argsTag$5 = "[object Arguments]", arrayTag$4 = "[object Array]", boolTag$5 = "[object Boolean]", dateTag$5 = "[object Date]", errorTag$4 = "[object Error]", funcTag$3 = "[object Function]", genTag$2 = "[object GeneratorFunction]", mapTag$7 = "[object Map]", numberTag$5 = "[object Number]", objectTag$6 = "[object Object]", regexpTag$5 = "[object RegExp]", setTag$7 = "[object Set]", stringTag$5 = "[object String]", symbolTag$5 = "[object Symbol]", weakMapTag$3 = "[object WeakMap]";
1881
1886
  var arrayBufferTag$5 = "[object ArrayBuffer]", dataViewTag$6 = "[object DataView]", float32Tag$3 = "[object Float32Array]", float64Tag$3 = "[object Float64Array]", int8Tag$3 = "[object Int8Array]", int16Tag$3 = "[object Int16Array]", int32Tag$3 = "[object Int32Array]", uint8Tag$3 = "[object Uint8Array]", uint8ClampedTag$3 = "[object Uint8ClampedArray]", uint16Tag$3 = "[object Uint16Array]", uint32Tag$3 = "[object Uint32Array]";
1882
1887
  var cloneableTags$1 = {};
1883
1888
  cloneableTags$1[argsTag$5] = cloneableTags$1[arrayTag$4] = cloneableTags$1[arrayBufferTag$5] = cloneableTags$1[dataViewTag$6] = cloneableTags$1[boolTag$5] = cloneableTags$1[dateTag$5] = cloneableTags$1[float32Tag$3] = cloneableTags$1[float64Tag$3] = cloneableTags$1[int8Tag$3] = cloneableTags$1[int16Tag$3] = cloneableTags$1[int32Tag$3] = cloneableTags$1[mapTag$7] = cloneableTags$1[numberTag$5] = cloneableTags$1[objectTag$6] = cloneableTags$1[regexpTag$5] = cloneableTags$1[setTag$7] = cloneableTags$1[stringTag$5] = cloneableTags$1[symbolTag$5] = cloneableTags$1[uint8Tag$3] = cloneableTags$1[uint8ClampedTag$3] = cloneableTags$1[uint16Tag$3] = cloneableTags$1[uint32Tag$3] = true;
1884
1889
  cloneableTags$1[errorTag$4] = cloneableTags$1[funcTag$3] = cloneableTags$1[weakMapTag$3] = false;
1885
1890
  function baseClone$2(value, bitmask, customizer, key2, object4, stack) {
1886
- var result2, isDeep = bitmask & CLONE_DEEP_FLAG$2, isFlat = bitmask & CLONE_FLAT_FLAG$1;
1891
+ var result2, isDeep = bitmask & CLONE_DEEP_FLAG$3, isFlat = bitmask & CLONE_FLAT_FLAG$1, isFull = bitmask & CLONE_SYMBOLS_FLAG$4;
1887
1892
  if (result2 !== void 0) {
1888
1893
  return result2;
1889
1894
  }
@@ -1893,7 +1898,7 @@ function baseClone$2(value, bitmask, customizer, key2, object4, stack) {
1893
1898
  var isArr = isArray$b(value);
1894
1899
  if (isArr) {
1895
1900
  result2 = initCloneArray$2(value);
1896
- {
1901
+ if (!isDeep) {
1897
1902
  return copyArray$3(value, result2);
1898
1903
  }
1899
1904
  } else {
@@ -1902,8 +1907,8 @@ function baseClone$2(value, bitmask, customizer, key2, object4, stack) {
1902
1907
  return cloneBuffer$2(value, isDeep);
1903
1908
  }
1904
1909
  if (tag == objectTag$6 || tag == argsTag$5 || isFunc && !object4) {
1905
- result2 = isFunc ? {} : initCloneObject$3(value);
1906
- {
1910
+ result2 = isFlat || isFunc ? {} : initCloneObject$3(value);
1911
+ if (!isDeep) {
1907
1912
  return isFlat ? copySymbolsIn$2(value, baseAssignIn$2(result2, value)) : copySymbols$2(value, baseAssign$2(result2, value));
1908
1913
  }
1909
1914
  } else {
@@ -1928,7 +1933,7 @@ function baseClone$2(value, bitmask, customizer, key2, object4, stack) {
1928
1933
  result2.set(key3, baseClone$2(subValue, bitmask, customizer, key3, value, stack));
1929
1934
  });
1930
1935
  }
1931
- var keysFunc = getAllKeys$3;
1936
+ var keysFunc = isFull ? isFlat ? getAllKeysIn$2 : getAllKeys$3 : isFlat ? keysIn$6 : keys$7;
1932
1937
  var props = isArr ? void 0 : keysFunc(value);
1933
1938
  arrayEach$2(props || value, function(subValue, key3) {
1934
1939
  if (props) {
@@ -1939,9 +1944,13 @@ function baseClone$2(value, bitmask, customizer, key2, object4, stack) {
1939
1944
  });
1940
1945
  return result2;
1941
1946
  }
1942
- var CLONE_SYMBOLS_FLAG$2 = 4;
1947
+ var CLONE_SYMBOLS_FLAG$3 = 4;
1943
1948
  function clone$1(value) {
1944
- return baseClone$2(value, CLONE_SYMBOLS_FLAG$2);
1949
+ return baseClone$2(value, CLONE_SYMBOLS_FLAG$3);
1950
+ }
1951
+ var CLONE_DEEP_FLAG$2 = 1, CLONE_SYMBOLS_FLAG$2 = 4;
1952
+ function cloneDeep$2(value) {
1953
+ return baseClone$2(value, CLONE_DEEP_FLAG$2 | CLONE_SYMBOLS_FLAG$2);
1945
1954
  }
1946
1955
  var HASH_UNDEFINED$3 = "__lodash_hash_undefined__";
1947
1956
  function setCacheAdd$2(value) {
@@ -2486,6 +2495,11 @@ function findLastIndex(array4, predicate, fromIndex) {
2486
2495
  var index2 = length - 1;
2487
2496
  return baseFindIndex$2(array4, baseIteratee(predicate), index2);
2488
2497
  }
2498
+ var INFINITY$1 = 1 / 0;
2499
+ function flattenDeep(array4) {
2500
+ var length = array4 == null ? 0 : array4.length;
2501
+ return length ? baseFlatten$2(array4, INFINITY$1) : [];
2502
+ }
2489
2503
  function fromPairs(pairs) {
2490
2504
  var index2 = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
2491
2505
  while (++index2 < length) {
@@ -3493,12 +3507,12 @@ const iconProps = buildProps({
3493
3507
  type: String
3494
3508
  }
3495
3509
  });
3496
- const __default__$C = defineComponent({
3510
+ const __default__$F = defineComponent({
3497
3511
  name: "ElIcon",
3498
3512
  inheritAttrs: false
3499
3513
  });
3500
- const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
3501
- ...__default__$C,
3514
+ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
3515
+ ...__default__$F,
3502
3516
  props: iconProps,
3503
3517
  setup(__props) {
3504
3518
  const props = __props;
@@ -3522,7 +3536,7 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
3522
3536
  };
3523
3537
  }
3524
3538
  });
3525
- var Icon$7 = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__file", "icon.vue"]]);
3539
+ var Icon$7 = /* @__PURE__ */ _export_sfc(_sfc_main$2T, [["__file", "icon.vue"]]);
3526
3540
  const ElIcon = withInstall(Icon$7);
3527
3541
  function useTimeout() {
3528
3542
  let timeoutHandle;
@@ -3682,6 +3696,22 @@ var caret_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
3682
3696
  }
3683
3697
  });
3684
3698
  var caret_right_default = caret_right_vue_vue_type_script_setup_true_lang_default;
3699
+ var check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
3700
+ name: "Check",
3701
+ __name: "check",
3702
+ setup(__props) {
3703
+ return (_ctx7, _cache) => (openBlock(), createElementBlock("svg", {
3704
+ xmlns: "http://www.w3.org/2000/svg",
3705
+ viewBox: "0 0 1024 1024"
3706
+ }, [
3707
+ createElementVNode("path", {
3708
+ fill: "currentColor",
3709
+ d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
3710
+ })
3711
+ ]));
3712
+ }
3713
+ });
3714
+ var check_default = check_vue_vue_type_script_setup_true_lang_default;
3685
3715
  var circle_check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
3686
3716
  name: "CircleCheck",
3687
3717
  __name: "circle-check",
@@ -4245,6 +4275,15 @@ const isFocusable = (element2) => {
4245
4275
  }
4246
4276
  }
4247
4277
  };
4278
+ const isLeaf = (el) => !el.getAttribute("aria-owns");
4279
+ const getSibling = (el, distance, elClass) => {
4280
+ const { parentNode: parentNode2 } = el;
4281
+ if (!parentNode2)
4282
+ return null;
4283
+ const siblings = parentNode2.querySelectorAll(elClass);
4284
+ const index2 = Array.prototype.indexOf.call(siblings, el);
4285
+ return siblings[index2 + distance] || null;
4286
+ };
4248
4287
  const focusElement = (el, options) => {
4249
4288
  if (!el || !el.focus)
4250
4289
  return;
@@ -4258,6 +4297,12 @@ const focusElement = (el, options) => {
4258
4297
  el.removeAttribute("tabindex");
4259
4298
  }
4260
4299
  };
4300
+ const focusNode = (el) => {
4301
+ if (!el)
4302
+ return;
4303
+ focusElement(el);
4304
+ !isLeaf(el) && el.click();
4305
+ };
4261
4306
  function useFocusController(target, {
4262
4307
  disabled,
4263
4308
  beforeFocus,
@@ -4388,12 +4433,12 @@ function useCursor(input) {
4388
4433
  return [recordCursor, setCursor];
4389
4434
  }
4390
4435
  const COMPONENT_NAME$9 = "ElInput";
4391
- const __default__$B = defineComponent({
4436
+ const __default__$E = defineComponent({
4392
4437
  name: COMPONENT_NAME$9,
4393
4438
  inheritAttrs: false
4394
4439
  });
4395
- const _sfc_main$2P = /* @__PURE__ */ defineComponent({
4396
- ...__default__$B,
4440
+ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
4441
+ ...__default__$E,
4397
4442
  props: inputProps,
4398
4443
  emits: inputEmits,
4399
4444
  setup(__props, { expose, emit }) {
@@ -4802,7 +4847,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
4802
4847
  };
4803
4848
  }
4804
4849
  });
4805
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2P, [["__file", "input.vue"]]);
4850
+ var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2S, [["__file", "input.vue"]]);
4806
4851
  const ElInput = withInstall(Input);
4807
4852
  const GAP = 4;
4808
4853
  const BAR_MAP = {
@@ -4847,7 +4892,7 @@ const thumbProps = buildProps({
4847
4892
  always: Boolean
4848
4893
  });
4849
4894
  const COMPONENT_NAME$8 = "Thumb";
4850
- const _sfc_main$2O = /* @__PURE__ */ defineComponent({
4895
+ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
4851
4896
  __name: "thumb",
4852
4897
  props: thumbProps,
4853
4898
  setup(__props) {
@@ -4976,7 +5021,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
4976
5021
  };
4977
5022
  }
4978
5023
  });
4979
- var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2O, [["__file", "thumb.vue"]]);
5024
+ var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2R, [["__file", "thumb.vue"]]);
4980
5025
  const barProps = buildProps({
4981
5026
  always: {
4982
5027
  type: Boolean,
@@ -4987,7 +5032,7 @@ const barProps = buildProps({
4987
5032
  required: true
4988
5033
  }
4989
5034
  });
4990
- const _sfc_main$2N = /* @__PURE__ */ defineComponent({
5035
+ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
4991
5036
  __name: "bar",
4992
5037
  props: barProps,
4993
5038
  setup(__props, { expose }) {
@@ -5045,7 +5090,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
5045
5090
  };
5046
5091
  }
5047
5092
  });
5048
- var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2N, [["__file", "bar.vue"]]);
5093
+ var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2Q, [["__file", "bar.vue"]]);
5049
5094
  const scrollbarProps = buildProps({
5050
5095
  distance: {
5051
5096
  type: Number,
@@ -5102,11 +5147,11 @@ const scrollbarEmits = {
5102
5147
  }) => [scrollTop, scrollLeft].every(isNumber)
5103
5148
  };
5104
5149
  const COMPONENT_NAME$7 = "ElScrollbar";
5105
- const __default__$A = defineComponent({
5150
+ const __default__$D = defineComponent({
5106
5151
  name: COMPONENT_NAME$7
5107
5152
  });
5108
- const _sfc_main$2M = /* @__PURE__ */ defineComponent({
5109
- ...__default__$A,
5153
+ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
5154
+ ...__default__$D,
5110
5155
  props: scrollbarProps,
5111
5156
  emits: scrollbarEmits,
5112
5157
  setup(__props, { expose, emit }) {
@@ -5314,7 +5359,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
5314
5359
  };
5315
5360
  }
5316
5361
  });
5317
- var Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__file", "scrollbar.vue"]]);
5362
+ var Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$2P, [["__file", "scrollbar.vue"]]);
5318
5363
  const ElScrollbar = withInstall(Scrollbar);
5319
5364
  const POPPER_INJECTION_KEY = Symbol("popper");
5320
5365
  const POPPER_CONTENT_INJECTION_KEY = Symbol("popperContent");
@@ -5335,12 +5380,12 @@ const popperProps = buildProps({
5335
5380
  default: "tooltip"
5336
5381
  }
5337
5382
  });
5338
- const __default__$z = defineComponent({
5383
+ const __default__$C = defineComponent({
5339
5384
  name: "ElPopper",
5340
5385
  inheritAttrs: false
5341
5386
  });
5342
- const _sfc_main$2L = /* @__PURE__ */ defineComponent({
5343
- ...__default__$z,
5387
+ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
5388
+ ...__default__$C,
5344
5389
  props: popperProps,
5345
5390
  setup(__props, { expose }) {
5346
5391
  const props = __props;
@@ -5363,13 +5408,13 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
5363
5408
  };
5364
5409
  }
5365
5410
  });
5366
- var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["__file", "popper.vue"]]);
5367
- const __default__$y = defineComponent({
5411
+ var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2O, [["__file", "popper.vue"]]);
5412
+ const __default__$B = defineComponent({
5368
5413
  name: "ElPopperArrow",
5369
5414
  inheritAttrs: false
5370
5415
  });
5371
- const _sfc_main$2K = /* @__PURE__ */ defineComponent({
5372
- ...__default__$y,
5416
+ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
5417
+ ...__default__$B,
5373
5418
  setup(__props, { expose }) {
5374
5419
  const ns = useNamespace("popper");
5375
5420
  const { arrowRef, arrowStyle } = inject(POPPER_CONTENT_INJECTION_KEY, void 0);
@@ -5390,7 +5435,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
5390
5435
  };
5391
5436
  }
5392
5437
  });
5393
- var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2K, [["__file", "arrow.vue"]]);
5438
+ var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2N, [["__file", "arrow.vue"]]);
5394
5439
  const popperTriggerProps = buildProps({
5395
5440
  virtualRef: {
5396
5441
  type: definePropType(Object)
@@ -5494,12 +5539,12 @@ function wrapTextContent(s2) {
5494
5539
  "class": ns.e("content")
5495
5540
  }, [s2]);
5496
5541
  }
5497
- const __default__$x = defineComponent({
5542
+ const __default__$A = defineComponent({
5498
5543
  name: "ElPopperTrigger",
5499
5544
  inheritAttrs: false
5500
5545
  });
5501
- const _sfc_main$2J = /* @__PURE__ */ defineComponent({
5502
- ...__default__$x,
5546
+ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
5547
+ ...__default__$A,
5503
5548
  props: popperTriggerProps,
5504
5549
  setup(__props, { expose }) {
5505
5550
  const props = __props;
@@ -5610,7 +5655,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
5610
5655
  };
5611
5656
  }
5612
5657
  });
5613
- var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2J, [["__file", "trigger.vue"]]);
5658
+ var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2M, [["__file", "trigger.vue"]]);
5614
5659
  const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
5615
5660
  const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
5616
5661
  const FOCUSOUT_PREVENTED = "focus-trap.focusout-prevented";
@@ -5795,7 +5840,7 @@ const useEscapeKeydown = (handler2) => {
5795
5840
  }
5796
5841
  });
5797
5842
  };
5798
- const _sfc_main$2I = defineComponent({
5843
+ const _sfc_main$2L = defineComponent({
5799
5844
  name: "ElFocusTrap",
5800
5845
  inheritAttrs: false,
5801
5846
  props: {
@@ -6042,7 +6087,7 @@ const _sfc_main$2I = defineComponent({
6042
6087
  function _sfc_render$i(_ctx7, _cache, $props, $setup, $data, $options) {
6043
6088
  return renderSlot(_ctx7.$slots, "default", { handleKeydown: _ctx7.onKeydown });
6044
6089
  }
6045
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2I, [["render", _sfc_render$i], ["__file", "focus-trap.vue"]]);
6090
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2L, [["render", _sfc_render$i], ["__file", "focus-trap.vue"]]);
6046
6091
  var E$1 = "top", R = "bottom", W = "right", P$1 = "left", me = "auto", G$1 = [E$1, R, W, P$1], U = "start", J$1 = "end", Xe = "clippingParents", je = "viewport", K = "popper", Ye = "reference", De = G$1.reduce(function(t2, e3) {
6047
6092
  return t2.concat([e3 + "-" + U, e3 + "-" + J$1]);
6048
6093
  }, []), Ee = [].concat(G$1, [me]).reduce(function(t2, e3) {
@@ -6951,11 +6996,11 @@ const usePopperContentDOM = (props, {
6951
6996
  updateZIndex
6952
6997
  };
6953
6998
  };
6954
- const __default__$w = defineComponent({
6999
+ const __default__$z = defineComponent({
6955
7000
  name: "ElPopperContent"
6956
7001
  });
6957
- const _sfc_main$2H = /* @__PURE__ */ defineComponent({
6958
- ...__default__$w,
7002
+ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
7003
+ ...__default__$z,
6959
7004
  props: popperContentProps,
6960
7005
  emits: popperContentEmits,
6961
7006
  setup(__props, { expose, emit }) {
@@ -7069,7 +7114,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
7069
7114
  };
7070
7115
  }
7071
7116
  });
7072
- var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2H, [["__file", "content.vue"]]);
7117
+ var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2K, [["__file", "content.vue"]]);
7073
7118
  const ElPopper = withInstall(Popper);
7074
7119
  const TOOLTIP_INJECTION_KEY = Symbol("elTooltip");
7075
7120
  const teleportProps = buildProps({
@@ -7286,11 +7331,11 @@ const composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPreve
7286
7331
  const whenMouse = (handler2) => {
7287
7332
  return (e3) => e3.pointerType === "mouse" ? handler2(e3) : void 0;
7288
7333
  };
7289
- const __default__$v = defineComponent({
7334
+ const __default__$y = defineComponent({
7290
7335
  name: "ElTooltipTrigger"
7291
7336
  });
7292
- const _sfc_main$2G = /* @__PURE__ */ defineComponent({
7293
- ...__default__$v,
7337
+ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
7338
+ ...__default__$y,
7294
7339
  props: useTooltipTriggerProps,
7295
7340
  setup(__props, { expose }) {
7296
7341
  const props = __props;
@@ -7356,8 +7401,8 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
7356
7401
  };
7357
7402
  }
7358
7403
  });
7359
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2G, [["__file", "trigger.vue"]]);
7360
- const _sfc_main$2F = /* @__PURE__ */ defineComponent({
7404
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2J, [["__file", "trigger.vue"]]);
7405
+ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
7361
7406
  __name: "teleport",
7362
7407
  props: teleportProps,
7363
7408
  setup(__props) {
@@ -7371,7 +7416,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
7371
7416
  };
7372
7417
  }
7373
7418
  });
7374
- var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["__file", "teleport.vue"]]);
7419
+ var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2I, [["__file", "teleport.vue"]]);
7375
7420
  const ElTeleport = withInstall(Teleport);
7376
7421
  const usePopperContainerId = () => {
7377
7422
  const namespace = useGetDerivedNamespace();
@@ -7405,6 +7450,7 @@ const usePopperContainer = () => {
7405
7450
  selector
7406
7451
  };
7407
7452
  };
7453
+ const unique = (arr) => [...new Set(arr)];
7408
7454
  const extractFirst = (arr) => {
7409
7455
  return isArray$c(arr) ? arr[0] : arr;
7410
7456
  };
@@ -7413,12 +7459,12 @@ const castArray = (arr) => {
7413
7459
  return [];
7414
7460
  return isArray$c(arr) ? arr : [arr];
7415
7461
  };
7416
- const __default__$u = defineComponent({
7462
+ const __default__$x = defineComponent({
7417
7463
  name: "ElTooltipContent",
7418
7464
  inheritAttrs: false
7419
7465
  });
7420
- const _sfc_main$2E = /* @__PURE__ */ defineComponent({
7421
- ...__default__$u,
7466
+ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
7467
+ ...__default__$x,
7422
7468
  props: useTooltipContentProps,
7423
7469
  setup(__props, { expose }) {
7424
7470
  const props = __props;
@@ -7595,12 +7641,12 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
7595
7641
  };
7596
7642
  }
7597
7643
  });
7598
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$2E, [["__file", "content.vue"]]);
7599
- const __default__$t = defineComponent({
7644
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$2H, [["__file", "content.vue"]]);
7645
+ const __default__$w = defineComponent({
7600
7646
  name: "ElTooltip"
7601
7647
  });
7602
- const _sfc_main$2D = /* @__PURE__ */ defineComponent({
7603
- ...__default__$t,
7648
+ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
7649
+ ...__default__$w,
7604
7650
  props: useTooltipProps,
7605
7651
  emits: tooltipEmits,
7606
7652
  setup(__props, { expose, emit }) {
@@ -7749,7 +7795,7 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
7749
7795
  };
7750
7796
  }
7751
7797
  });
7752
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2D, [["__file", "tooltip.vue"]]);
7798
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2G, [["__file", "tooltip.vue"]]);
7753
7799
  const ElTooltip = withInstall(Tooltip);
7754
7800
  const autocompleteProps = buildProps({
7755
7801
  ...inputProps,
@@ -7806,12 +7852,12 @@ const autocompleteEmits = {
7806
7852
  select: (item) => isObject$g(item)
7807
7853
  };
7808
7854
  const COMPONENT_NAME$6 = "ElAutocomplete";
7809
- const __default__$s = defineComponent({
7855
+ const __default__$v = defineComponent({
7810
7856
  name: COMPONENT_NAME$6,
7811
7857
  inheritAttrs: false
7812
7858
  });
7813
- const _sfc_main$2C = /* @__PURE__ */ defineComponent({
7814
- ...__default__$s,
7859
+ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
7860
+ ...__default__$v,
7815
7861
  props: autocompleteProps,
7816
7862
  emits: autocompleteEmits,
7817
7863
  setup(__props, { expose, emit }) {
@@ -8184,7 +8230,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
8184
8230
  };
8185
8231
  }
8186
8232
  });
8187
- var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$2C, [["__file", "autocomplete.vue"]]);
8233
+ var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["__file", "autocomplete.vue"]]);
8188
8234
  const ElAutocomplete = withInstall(Autocomplete);
8189
8235
  const buttonGroupContextKey = Symbol("buttonGroupContextKey");
8190
8236
  const useDeprecated = ({ from: from2, replacement, scope, version: version2, ref: ref2, type: type4 = "API" }, condition) => {
@@ -9276,11 +9322,11 @@ function useButtonCustomStyle(props) {
9276
9322
  return styles2;
9277
9323
  });
9278
9324
  }
9279
- const __default__$r = defineComponent({
9325
+ const __default__$u = defineComponent({
9280
9326
  name: "ElButton"
9281
9327
  });
9282
- const _sfc_main$2B = /* @__PURE__ */ defineComponent({
9283
- ...__default__$r,
9328
+ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
9329
+ ...__default__$u,
9284
9330
  props: buttonProps,
9285
9331
  emits: buttonEmits,
9286
9332
  setup(__props, { expose, emit }) {
@@ -9357,16 +9403,16 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
9357
9403
  };
9358
9404
  }
9359
9405
  });
9360
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main$2B, [["__file", "button.vue"]]);
9406
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main$2E, [["__file", "button.vue"]]);
9361
9407
  const buttonGroupProps = {
9362
9408
  size: buttonProps.size,
9363
9409
  type: buttonProps.type
9364
9410
  };
9365
- const __default__$q = defineComponent({
9411
+ const __default__$t = defineComponent({
9366
9412
  name: "ElButtonGroup"
9367
9413
  });
9368
- const _sfc_main$2A = /* @__PURE__ */ defineComponent({
9369
- ...__default__$q,
9414
+ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
9415
+ ...__default__$t,
9370
9416
  props: buttonGroupProps,
9371
9417
  setup(__props) {
9372
9418
  const props = __props;
@@ -9384,7 +9430,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
9384
9430
  };
9385
9431
  }
9386
9432
  });
9387
- var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2A, [["__file", "button-group.vue"]]);
9433
+ var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2D, [["__file", "button-group.vue"]]);
9388
9434
  const ElButton = withInstall(Button, {
9389
9435
  ButtonGroup
9390
9436
  });
@@ -10105,11 +10151,11 @@ const useCheckbox = (props, slots) => {
10105
10151
  onClickRoot
10106
10152
  };
10107
10153
  };
10108
- const __default__$p = defineComponent({
10154
+ const __default__$s = defineComponent({
10109
10155
  name: "ElCheckbox"
10110
10156
  });
10111
- const _sfc_main$2z = /* @__PURE__ */ defineComponent({
10112
- ...__default__$p,
10157
+ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
10158
+ ...__default__$s,
10113
10159
  props: checkboxProps,
10114
10160
  emits: checkboxEmits,
10115
10161
  setup(__props) {
@@ -10206,12 +10252,12 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
10206
10252
  };
10207
10253
  }
10208
10254
  });
10209
- var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$2z, [["__file", "checkbox.vue"]]);
10210
- const __default__$o = defineComponent({
10255
+ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$2C, [["__file", "checkbox.vue"]]);
10256
+ const __default__$r = defineComponent({
10211
10257
  name: "ElCheckboxButton"
10212
10258
  });
10213
- const _sfc_main$2y = /* @__PURE__ */ defineComponent({
10214
- ...__default__$o,
10259
+ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
10260
+ ...__default__$r,
10215
10261
  props: checkboxProps,
10216
10262
  emits: checkboxEmits,
10217
10263
  setup(__props) {
@@ -10292,7 +10338,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
10292
10338
  };
10293
10339
  }
10294
10340
  });
10295
- var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$2y, [["__file", "checkbox-button.vue"]]);
10341
+ var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$2B, [["__file", "checkbox-button.vue"]]);
10296
10342
  const checkboxGroupProps = buildProps({
10297
10343
  modelValue: {
10298
10344
  type: definePropType(Array),
@@ -10330,11 +10376,11 @@ const checkboxDefaultProps = {
10330
10376
  value: "value",
10331
10377
  disabled: "disabled"
10332
10378
  };
10333
- const __default__$n = defineComponent({
10379
+ const __default__$q = defineComponent({
10334
10380
  name: "ElCheckboxGroup"
10335
10381
  });
10336
- const _sfc_main$2x = /* @__PURE__ */ defineComponent({
10337
- ...__default__$n,
10382
+ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
10383
+ ...__default__$q,
10338
10384
  props: checkboxGroupProps,
10339
10385
  emits: checkboxGroupEmits,
10340
10386
  setup(__props, { emit }) {
@@ -10408,7 +10454,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
10408
10454
  };
10409
10455
  }
10410
10456
  });
10411
- var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2x, [["__file", "checkbox-group.vue"]]);
10457
+ var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2A, [["__file", "checkbox-group.vue"]]);
10412
10458
  const ElCheckbox = withInstall(Checkbox, {
10413
10459
  CheckboxButton,
10414
10460
  CheckboxGroup
@@ -10492,11 +10538,11 @@ const useRadio = (props, emit) => {
10492
10538
  actualValue
10493
10539
  };
10494
10540
  };
10495
- const __default__$m = defineComponent({
10541
+ const __default__$p = defineComponent({
10496
10542
  name: "ElRadio"
10497
10543
  });
10498
- const _sfc_main$2w = /* @__PURE__ */ defineComponent({
10499
- ...__default__$m,
10544
+ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
10545
+ ...__default__$p,
10500
10546
  props: radioProps,
10501
10547
  emits: radioEmits,
10502
10548
  setup(__props, { emit }) {
@@ -10560,15 +10606,15 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
10560
10606
  };
10561
10607
  }
10562
10608
  });
10563
- var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["__file", "radio.vue"]]);
10609
+ var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$2z, [["__file", "radio.vue"]]);
10564
10610
  const radioButtonProps = buildProps({
10565
10611
  ...radioPropsBase
10566
10612
  });
10567
- const __default__$l = defineComponent({
10613
+ const __default__$o = defineComponent({
10568
10614
  name: "ElRadioButton"
10569
10615
  });
10570
- const _sfc_main$2v = /* @__PURE__ */ defineComponent({
10571
- ...__default__$l,
10616
+ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
10617
+ ...__default__$o,
10572
10618
  props: radioButtonProps,
10573
10619
  setup(__props) {
10574
10620
  const props = __props;
@@ -10623,7 +10669,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
10623
10669
  };
10624
10670
  }
10625
10671
  });
10626
- var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__file", "radio-button.vue"]]);
10672
+ var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$2y, [["__file", "radio-button.vue"]]);
10627
10673
  const radioGroupProps = buildProps({
10628
10674
  id: {
10629
10675
  type: String,
@@ -10666,11 +10712,11 @@ const radioDefaultProps = {
10666
10712
  value: "value",
10667
10713
  disabled: "disabled"
10668
10714
  };
10669
- const __default__$k = defineComponent({
10715
+ const __default__$n = defineComponent({
10670
10716
  name: "ElRadioGroup"
10671
10717
  });
10672
- const _sfc_main$2u = /* @__PURE__ */ defineComponent({
10673
- ...__default__$k,
10718
+ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
10719
+ ...__default__$n,
10674
10720
  props: radioGroupProps,
10675
10721
  emits: radioGroupEmits,
10676
10722
  setup(__props, { emit }) {
@@ -10737,13 +10783,869 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
10737
10783
  };
10738
10784
  }
10739
10785
  });
10740
- var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["__file", "radio-group.vue"]]);
10786
+ var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$2x, [["__file", "radio-group.vue"]]);
10741
10787
  const ElRadio = withInstall(Radio, {
10742
10788
  RadioButton,
10743
10789
  RadioGroup
10744
10790
  });
10745
10791
  const ElRadioGroup = withNoopInstall(RadioGroup);
10746
10792
  const ElRadioButton = withNoopInstall(RadioButton);
10793
+ const CASCADER_PANEL_INJECTION_KEY = Symbol();
10794
+ function isVNodeEmpty(vnodes) {
10795
+ return !!(isArray$c(vnodes) ? vnodes.every(({
10796
+ type: type4
10797
+ }) => type4 === Comment) : (vnodes == null ? void 0 : vnodes.type) === Comment);
10798
+ }
10799
+ var NodeContent$1 = defineComponent({
10800
+ name: "NodeContent",
10801
+ props: {
10802
+ node: {
10803
+ type: Object,
10804
+ required: true
10805
+ }
10806
+ },
10807
+ setup(props) {
10808
+ const ns = useNamespace("cascader-node");
10809
+ const {
10810
+ renderLabelFn
10811
+ } = inject(CASCADER_PANEL_INJECTION_KEY);
10812
+ const {
10813
+ node: node2
10814
+ } = props;
10815
+ const {
10816
+ data: data2,
10817
+ label: nodeLabel
10818
+ } = node2;
10819
+ const label = () => {
10820
+ const renderLabel = renderLabelFn == null ? void 0 : renderLabelFn({
10821
+ node: node2,
10822
+ data: data2
10823
+ });
10824
+ return isVNodeEmpty(renderLabel) ? nodeLabel : renderLabel != null ? renderLabel : nodeLabel;
10825
+ };
10826
+ return () => createVNode("span", {
10827
+ "class": ns.e("label")
10828
+ }, [label()]);
10829
+ }
10830
+ });
10831
+ const __default__$m = defineComponent({
10832
+ name: "ElCascaderNode"
10833
+ });
10834
+ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
10835
+ ...__default__$m,
10836
+ props: {
10837
+ node: {
10838
+ type: Object,
10839
+ required: true
10840
+ },
10841
+ menuId: String
10842
+ },
10843
+ emits: ["expand"],
10844
+ setup(__props, { emit }) {
10845
+ const props = __props;
10846
+ const panel = inject(CASCADER_PANEL_INJECTION_KEY);
10847
+ const ns = useNamespace("cascader-node");
10848
+ const isHoverMenu = computed(() => panel.isHoverMenu);
10849
+ const multiple = computed(() => panel.config.multiple);
10850
+ const checkStrictly = computed(() => panel.config.checkStrictly);
10851
+ const showPrefix = computed(() => panel.config.showPrefix);
10852
+ const checkedNodeId = computed(() => {
10853
+ var _a2;
10854
+ return (_a2 = panel.checkedNodes[0]) == null ? void 0 : _a2.uid;
10855
+ });
10856
+ const isDisabled = computed(() => props.node.isDisabled);
10857
+ const isLeaf2 = computed(() => props.node.isLeaf);
10858
+ const expandable = computed(() => checkStrictly.value && !isLeaf2.value || !isDisabled.value);
10859
+ const inExpandingPath = computed(() => isInPath(panel.expandingNode));
10860
+ const inCheckedPath = computed(() => checkStrictly.value && panel.checkedNodes.some(isInPath));
10861
+ const isInPath = (node2) => {
10862
+ var _a2;
10863
+ const { level, uid: uid2 } = props.node;
10864
+ return ((_a2 = node2 == null ? void 0 : node2.pathNodes[level - 1]) == null ? void 0 : _a2.uid) === uid2;
10865
+ };
10866
+ const doExpand = () => {
10867
+ if (inExpandingPath.value)
10868
+ return;
10869
+ panel.expandNode(props.node);
10870
+ };
10871
+ const doCheck = (checked) => {
10872
+ const { node: node2 } = props;
10873
+ if (checked === node2.checked)
10874
+ return;
10875
+ panel.handleCheckChange(node2, checked);
10876
+ };
10877
+ const doLoad = () => {
10878
+ panel.lazyLoad(props.node, () => {
10879
+ if (!isLeaf2.value)
10880
+ doExpand();
10881
+ });
10882
+ };
10883
+ const handleHoverExpand = (e3) => {
10884
+ if (!isHoverMenu.value)
10885
+ return;
10886
+ handleExpand();
10887
+ !isLeaf2.value && emit("expand", e3);
10888
+ };
10889
+ const handleExpand = () => {
10890
+ const { node: node2 } = props;
10891
+ if (!expandable.value || node2.loading)
10892
+ return;
10893
+ node2.loaded ? doExpand() : doLoad();
10894
+ };
10895
+ const handleClick2 = () => {
10896
+ if (isLeaf2.value && !isDisabled.value && !checkStrictly.value && !multiple.value) {
10897
+ handleCheck(true);
10898
+ } else if ((panel.config.checkOnClickNode && (multiple.value || checkStrictly.value) || isLeaf2.value && panel.config.checkOnClickLeaf) && !isDisabled.value) {
10899
+ handleSelectCheck(!props.node.checked);
10900
+ } else if (!isHoverMenu.value) {
10901
+ handleExpand();
10902
+ }
10903
+ };
10904
+ const handleSelectCheck = (checked) => {
10905
+ if (checkStrictly.value) {
10906
+ doCheck(checked);
10907
+ if (props.node.loaded) {
10908
+ doExpand();
10909
+ }
10910
+ } else {
10911
+ handleCheck(checked);
10912
+ }
10913
+ };
10914
+ const handleCheck = (checked) => {
10915
+ if (!props.node.loaded) {
10916
+ doLoad();
10917
+ } else {
10918
+ doCheck(checked);
10919
+ !checkStrictly.value && doExpand();
10920
+ }
10921
+ };
10922
+ return (_ctx7, _cache) => {
10923
+ return openBlock(), createElementBlock("li", {
10924
+ id: `${__props.menuId}-${__props.node.uid}`,
10925
+ role: "menuitem",
10926
+ "aria-haspopup": !unref(isLeaf2),
10927
+ "aria-owns": unref(isLeaf2) ? void 0 : __props.menuId,
10928
+ "aria-expanded": unref(inExpandingPath),
10929
+ tabindex: unref(expandable) ? -1 : void 0,
10930
+ class: normalizeClass([
10931
+ unref(ns).b(),
10932
+ unref(ns).is("selectable", unref(checkStrictly)),
10933
+ unref(ns).is("active", __props.node.checked),
10934
+ unref(ns).is("disabled", !unref(expandable)),
10935
+ unref(inExpandingPath) && "in-active-path",
10936
+ unref(inCheckedPath) && "in-checked-path"
10937
+ ]),
10938
+ onMouseenter: handleHoverExpand,
10939
+ onFocus: handleHoverExpand,
10940
+ onClick: handleClick2
10941
+ }, [
10942
+ createCommentVNode(" prefix "),
10943
+ unref(multiple) && unref(showPrefix) ? (openBlock(), createBlock(unref(ElCheckbox), {
10944
+ key: 0,
10945
+ "model-value": __props.node.checked,
10946
+ indeterminate: __props.node.indeterminate,
10947
+ disabled: unref(isDisabled),
10948
+ onClick: withModifiers(() => {
10949
+ }, ["stop"]),
10950
+ "onUpdate:modelValue": handleSelectCheck
10951
+ }, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : unref(checkStrictly) && unref(showPrefix) ? (openBlock(), createBlock(unref(ElRadio), {
10952
+ key: 1,
10953
+ "model-value": unref(checkedNodeId),
10954
+ label: __props.node.uid,
10955
+ disabled: unref(isDisabled),
10956
+ "onUpdate:modelValue": handleSelectCheck,
10957
+ onClick: withModifiers(() => {
10958
+ }, ["stop"])
10959
+ }, {
10960
+ default: withCtx(() => [
10961
+ createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
10962
+ createElementVNode("span")
10963
+ ]),
10964
+ _: 1
10965
+ }, 8, ["model-value", "label", "disabled", "onClick"])) : unref(isLeaf2) && __props.node.checked ? (openBlock(), createBlock(unref(ElIcon), {
10966
+ key: 2,
10967
+ class: normalizeClass(unref(ns).e("prefix"))
10968
+ }, {
10969
+ default: withCtx(() => [
10970
+ createVNode(unref(check_default))
10971
+ ]),
10972
+ _: 1
10973
+ }, 8, ["class"])) : createCommentVNode("v-if", true),
10974
+ createCommentVNode(" content "),
10975
+ createVNode(unref(NodeContent$1), { node: __props.node }, null, 8, ["node"]),
10976
+ createCommentVNode(" postfix "),
10977
+ !unref(isLeaf2) ? (openBlock(), createElementBlock(Fragment$1, { key: 3 }, [
10978
+ __props.node.loading ? (openBlock(), createBlock(unref(ElIcon), {
10979
+ key: 0,
10980
+ class: normalizeClass([unref(ns).is("loading"), unref(ns).e("postfix")])
10981
+ }, {
10982
+ default: withCtx(() => [
10983
+ createVNode(unref(loading_default))
10984
+ ]),
10985
+ _: 1
10986
+ }, 8, ["class"])) : (openBlock(), createBlock(unref(ElIcon), {
10987
+ key: 1,
10988
+ class: normalizeClass(["arrow-right", unref(ns).e("postfix")])
10989
+ }, {
10990
+ default: withCtx(() => [
10991
+ createVNode(unref(arrow_right_default))
10992
+ ]),
10993
+ _: 1
10994
+ }, 8, ["class"]))
10995
+ ], 64)) : createCommentVNode("v-if", true)
10996
+ ], 42, ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"]);
10997
+ };
10998
+ }
10999
+ });
11000
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["__file", "node.vue"]]);
11001
+ const __default__$l = defineComponent({
11002
+ name: "ElCascaderMenu"
11003
+ });
11004
+ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
11005
+ ...__default__$l,
11006
+ props: {
11007
+ nodes: {
11008
+ type: Array,
11009
+ required: true
11010
+ },
11011
+ index: {
11012
+ type: Number,
11013
+ required: true
11014
+ }
11015
+ },
11016
+ setup(__props) {
11017
+ const props = __props;
11018
+ const instance = getCurrentInstance();
11019
+ const ns = useNamespace("cascader-menu");
11020
+ const { t: t2 } = useLocale();
11021
+ const id2 = useId();
11022
+ let activeNode;
11023
+ let hoverTimer;
11024
+ const panel = inject(CASCADER_PANEL_INJECTION_KEY);
11025
+ const hoverZone = ref();
11026
+ const isEmpty2 = computed(() => !props.nodes.length);
11027
+ const isLoading = computed(() => !panel.initialLoaded);
11028
+ const menuId = computed(() => `${id2.value}-${props.index}`);
11029
+ const handleExpand = (e3) => {
11030
+ activeNode = e3.target;
11031
+ };
11032
+ const handleMouseMove2 = (e3) => {
11033
+ if (!panel.isHoverMenu || !activeNode || !hoverZone.value)
11034
+ return;
11035
+ if (activeNode.contains(e3.target)) {
11036
+ clearHoverTimer();
11037
+ const el = instance.vnode.el;
11038
+ const { left } = el.getBoundingClientRect();
11039
+ const { offsetWidth, offsetHeight } = el;
11040
+ const startX = e3.clientX - left;
11041
+ const top2 = activeNode.offsetTop;
11042
+ const bottom = top2 + activeNode.offsetHeight;
11043
+ hoverZone.value.innerHTML = `
11044
+ <path style="pointer-events: auto;" fill="transparent" d="M${startX} ${top2} L${offsetWidth} 0 V${top2} Z" />
11045
+ <path style="pointer-events: auto;" fill="transparent" d="M${startX} ${bottom} L${offsetWidth} ${offsetHeight} V${bottom} Z" />
11046
+ `;
11047
+ } else if (!hoverTimer) {
11048
+ hoverTimer = window.setTimeout(clearHoverZone, panel.config.hoverThreshold);
11049
+ }
11050
+ };
11051
+ const clearHoverTimer = () => {
11052
+ if (!hoverTimer)
11053
+ return;
11054
+ clearTimeout(hoverTimer);
11055
+ hoverTimer = void 0;
11056
+ };
11057
+ const clearHoverZone = () => {
11058
+ if (!hoverZone.value)
11059
+ return;
11060
+ hoverZone.value.innerHTML = "";
11061
+ clearHoverTimer();
11062
+ };
11063
+ return (_ctx7, _cache) => {
11064
+ return openBlock(), createBlock(unref(ElScrollbar), {
11065
+ key: unref(menuId),
11066
+ tag: "ul",
11067
+ role: "menu",
11068
+ class: normalizeClass(unref(ns).b()),
11069
+ "wrap-class": unref(ns).e("wrap"),
11070
+ "view-class": [unref(ns).e("list"), unref(ns).is("empty", unref(isEmpty2))],
11071
+ onMousemove: handleMouseMove2,
11072
+ onMouseleave: clearHoverZone
11073
+ }, {
11074
+ default: withCtx(() => {
11075
+ var _a2;
11076
+ return [
11077
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.nodes, (node2) => {
11078
+ return openBlock(), createBlock(ElCascaderNode, {
11079
+ key: node2.uid,
11080
+ node: node2,
11081
+ "menu-id": unref(menuId),
11082
+ onExpand: handleExpand
11083
+ }, null, 8, ["node", "menu-id"]);
11084
+ }), 128)),
11085
+ unref(isLoading) ? (openBlock(), createElementBlock("div", {
11086
+ key: 0,
11087
+ class: normalizeClass(unref(ns).e("empty-text"))
11088
+ }, [
11089
+ createVNode(unref(ElIcon), {
11090
+ size: "14",
11091
+ class: normalizeClass(unref(ns).is("loading"))
11092
+ }, {
11093
+ default: withCtx(() => [
11094
+ createVNode(unref(loading_default))
11095
+ ]),
11096
+ _: 1
11097
+ }, 8, ["class"]),
11098
+ createTextVNode(" " + toDisplayString(unref(t2)("el.cascader.loading")), 1)
11099
+ ], 2)) : unref(isEmpty2) ? (openBlock(), createElementBlock("div", {
11100
+ key: 1,
11101
+ class: normalizeClass(unref(ns).e("empty-text"))
11102
+ }, [
11103
+ renderSlot(_ctx7.$slots, "empty", {}, () => [
11104
+ createTextVNode(toDisplayString(unref(t2)("el.cascader.noData")), 1)
11105
+ ])
11106
+ ], 2)) : ((_a2 = unref(panel)) == null ? void 0 : _a2.isHoverMenu) ? (openBlock(), createElementBlock(Fragment$1, { key: 2 }, [
11107
+ createCommentVNode(" eslint-disable-next-line vue/html-self-closing "),
11108
+ (openBlock(), createElementBlock("svg", {
11109
+ ref_key: "hoverZone",
11110
+ ref: hoverZone,
11111
+ class: normalizeClass(unref(ns).e("hover-zone"))
11112
+ }, null, 2))
11113
+ ], 2112)) : createCommentVNode("v-if", true)
11114
+ ];
11115
+ }),
11116
+ _: 3
11117
+ }, 8, ["class", "wrap-class", "view-class"]);
11118
+ };
11119
+ }
11120
+ });
11121
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__file", "menu.vue"]]);
11122
+ let uid = 0;
11123
+ const calculatePathNodes = (node2) => {
11124
+ const nodes = [node2];
11125
+ let { parent } = node2;
11126
+ while (parent) {
11127
+ nodes.unshift(parent);
11128
+ parent = parent.parent;
11129
+ }
11130
+ return nodes;
11131
+ };
11132
+ let Node$3 = class Node2 {
11133
+ constructor(data2, config2, parent, root2 = false) {
11134
+ this.data = data2;
11135
+ this.config = config2;
11136
+ this.parent = parent;
11137
+ this.root = root2;
11138
+ this.uid = uid++;
11139
+ this.checked = false;
11140
+ this.indeterminate = false;
11141
+ this.loading = false;
11142
+ const { value: valueKey, label: labelKey, children: childrenKey } = config2;
11143
+ const childrenData = data2[childrenKey];
11144
+ const pathNodes = calculatePathNodes(this);
11145
+ this.level = root2 ? 0 : parent ? parent.level + 1 : 1;
11146
+ this.value = data2[valueKey];
11147
+ this.label = data2[labelKey];
11148
+ this.pathNodes = pathNodes;
11149
+ this.pathValues = pathNodes.map((node2) => node2.value);
11150
+ this.pathLabels = pathNodes.map((node2) => node2.label);
11151
+ this.childrenData = childrenData;
11152
+ this.children = (childrenData || []).map((child) => new Node2(child, config2, this));
11153
+ this.loaded = !config2.lazy || this.isLeaf || !isEmpty(childrenData);
11154
+ this.text = "";
11155
+ }
11156
+ get isDisabled() {
11157
+ const { data: data2, parent, config: config2 } = this;
11158
+ const { disabled, checkStrictly } = config2;
11159
+ const isDisabled = isFunction$7(disabled) ? disabled(data2, this) : !!data2[disabled];
11160
+ return isDisabled || !checkStrictly && !!(parent == null ? void 0 : parent.isDisabled);
11161
+ }
11162
+ get isLeaf() {
11163
+ const { data: data2, config: config2, childrenData, loaded } = this;
11164
+ const { lazy, leaf } = config2;
11165
+ const isLeaf2 = isFunction$7(leaf) ? leaf(data2, this) : data2[leaf];
11166
+ return isUndefined(isLeaf2) ? lazy && !loaded ? false : !(isArray$c(childrenData) && childrenData.length) : !!isLeaf2;
11167
+ }
11168
+ get valueByOption() {
11169
+ return this.config.emitPath ? this.pathValues : this.value;
11170
+ }
11171
+ appendChild(childData) {
11172
+ const { childrenData, children } = this;
11173
+ const node2 = new Node2(childData, this.config, this);
11174
+ if (isArray$c(childrenData)) {
11175
+ childrenData.push(childData);
11176
+ } else {
11177
+ this.childrenData = [childData];
11178
+ }
11179
+ children.push(node2);
11180
+ return node2;
11181
+ }
11182
+ calcText(allLevels, separator) {
11183
+ const text2 = allLevels ? this.pathLabels.join(separator) : this.label;
11184
+ this.text = text2;
11185
+ return text2;
11186
+ }
11187
+ broadcast(checked) {
11188
+ this.children.forEach((child) => {
11189
+ var _a2;
11190
+ if (child) {
11191
+ child.broadcast(checked);
11192
+ (_a2 = child.onParentCheck) == null ? void 0 : _a2.call(child, checked);
11193
+ }
11194
+ });
11195
+ }
11196
+ emit() {
11197
+ var _a2;
11198
+ const { parent } = this;
11199
+ if (parent) {
11200
+ (_a2 = parent.onChildCheck) == null ? void 0 : _a2.call(parent);
11201
+ parent.emit();
11202
+ }
11203
+ }
11204
+ onParentCheck(checked) {
11205
+ if (!this.isDisabled) {
11206
+ this.setCheckState(checked);
11207
+ }
11208
+ }
11209
+ onChildCheck() {
11210
+ const { children } = this;
11211
+ const validChildren = children.filter((child) => !child.isDisabled);
11212
+ const checked = validChildren.length ? validChildren.every((child) => child.checked) : false;
11213
+ this.setCheckState(checked);
11214
+ }
11215
+ setCheckState(checked) {
11216
+ const totalNum = this.children.length;
11217
+ const checkedNum = this.children.reduce((c2, p2) => {
11218
+ const num = p2.checked ? 1 : p2.indeterminate ? 0.5 : 0;
11219
+ return c2 + num;
11220
+ }, 0);
11221
+ this.checked = this.loaded && this.children.filter((child) => !child.isDisabled).every((child) => child.loaded && child.checked) && checked;
11222
+ this.indeterminate = this.loaded && checkedNum !== totalNum && checkedNum > 0;
11223
+ }
11224
+ doCheck(checked) {
11225
+ if (this.checked === checked)
11226
+ return;
11227
+ const { checkStrictly, multiple } = this.config;
11228
+ if (checkStrictly || !multiple) {
11229
+ this.checked = checked;
11230
+ } else {
11231
+ this.broadcast(checked);
11232
+ this.setCheckState(checked);
11233
+ this.emit();
11234
+ }
11235
+ }
11236
+ };
11237
+ const flatNodes = (nodes, leafOnly) => {
11238
+ return nodes.reduce((res, node2) => {
11239
+ if (node2.isLeaf) {
11240
+ res.push(node2);
11241
+ } else {
11242
+ !leafOnly && res.push(node2);
11243
+ res = res.concat(flatNodes(node2.children, leafOnly));
11244
+ }
11245
+ return res;
11246
+ }, []);
11247
+ };
11248
+ class Store {
11249
+ constructor(data2, config2) {
11250
+ this.config = config2;
11251
+ const nodes = (data2 || []).map((nodeData) => new Node$3(nodeData, this.config));
11252
+ this.nodes = nodes;
11253
+ this.allNodes = flatNodes(nodes, false);
11254
+ this.leafNodes = flatNodes(nodes, true);
11255
+ }
11256
+ getNodes() {
11257
+ return this.nodes;
11258
+ }
11259
+ getFlattedNodes(leafOnly) {
11260
+ return leafOnly ? this.leafNodes : this.allNodes;
11261
+ }
11262
+ appendNode(nodeData, parentNode2) {
11263
+ const node2 = parentNode2 ? parentNode2.appendChild(nodeData) : new Node$3(nodeData, this.config);
11264
+ if (!parentNode2)
11265
+ this.nodes.push(node2);
11266
+ this.appendAllNodesAndLeafNodes(node2);
11267
+ }
11268
+ appendNodes(nodeDataList, parentNode2) {
11269
+ if (nodeDataList.length > 0) {
11270
+ nodeDataList.forEach((nodeData) => this.appendNode(nodeData, parentNode2));
11271
+ } else {
11272
+ parentNode2 && parentNode2.isLeaf && this.leafNodes.push(parentNode2);
11273
+ }
11274
+ }
11275
+ appendAllNodesAndLeafNodes(node2) {
11276
+ this.allNodes.push(node2);
11277
+ node2.isLeaf && this.leafNodes.push(node2);
11278
+ if (node2.children) {
11279
+ node2.children.forEach((subNode) => {
11280
+ this.appendAllNodesAndLeafNodes(subNode);
11281
+ });
11282
+ }
11283
+ }
11284
+ getNodeByValue(value, leafOnly = false) {
11285
+ if (isPropAbsent(value))
11286
+ return null;
11287
+ const node2 = this.getFlattedNodes(leafOnly).find((node22) => isEqual$2(node22.value, value) || isEqual$2(node22.pathValues, value));
11288
+ return node2 || null;
11289
+ }
11290
+ getSameNode(node2) {
11291
+ if (!node2)
11292
+ return null;
11293
+ const node_ = this.getFlattedNodes(false).find(({ value, level }) => isEqual$2(node2.value, value) && node2.level === level);
11294
+ return node_ || null;
11295
+ }
11296
+ }
11297
+ const CommonProps = buildProps({
11298
+ modelValue: {
11299
+ type: definePropType([Number, String, Array, Object])
11300
+ },
11301
+ options: {
11302
+ type: definePropType(Array),
11303
+ default: () => []
11304
+ },
11305
+ props: {
11306
+ type: definePropType(Object),
11307
+ default: () => ({})
11308
+ }
11309
+ });
11310
+ const DefaultProps = {
11311
+ expandTrigger: "click",
11312
+ multiple: false,
11313
+ checkStrictly: false,
11314
+ emitPath: true,
11315
+ lazy: false,
11316
+ lazyLoad: NOOP,
11317
+ value: "value",
11318
+ label: "label",
11319
+ children: "children",
11320
+ leaf: "leaf",
11321
+ disabled: "disabled",
11322
+ hoverThreshold: 500,
11323
+ checkOnClickNode: false,
11324
+ checkOnClickLeaf: true,
11325
+ showPrefix: true
11326
+ };
11327
+ const cascaderPanelProps = buildProps({
11328
+ ...CommonProps,
11329
+ border: {
11330
+ type: Boolean,
11331
+ default: true
11332
+ },
11333
+ renderLabel: {
11334
+ type: Function
11335
+ }
11336
+ });
11337
+ const emitChangeFn = (value) => true;
11338
+ const cascaderPanelEmits = {
11339
+ [UPDATE_MODEL_EVENT$1]: emitChangeFn,
11340
+ [CHANGE_EVENT$1]: emitChangeFn,
11341
+ close: () => true,
11342
+ "expand-change": (value) => value
11343
+ };
11344
+ const useCascaderConfig = (props) => {
11345
+ return computed(() => ({
11346
+ ...DefaultProps,
11347
+ ...props.props
11348
+ }));
11349
+ };
11350
+ const getMenuIndex = (el) => {
11351
+ if (!el)
11352
+ return 0;
11353
+ const pieces = el.id.split("-");
11354
+ return Number(pieces[pieces.length - 2]);
11355
+ };
11356
+ const checkNode = (el) => {
11357
+ if (!el)
11358
+ return;
11359
+ const input = el.querySelector("input");
11360
+ if (input) {
11361
+ input.click();
11362
+ } else if (isLeaf(el)) {
11363
+ el.click();
11364
+ }
11365
+ };
11366
+ const sortByOriginalOrder = (oldNodes, newNodes) => {
11367
+ const newNodesCopy = newNodes.slice(0);
11368
+ const newIds = newNodesCopy.map((node2) => node2.uid);
11369
+ const res = oldNodes.reduce((acc, item) => {
11370
+ const index2 = newIds.indexOf(item.uid);
11371
+ if (index2 > -1) {
11372
+ acc.push(item);
11373
+ newNodesCopy.splice(index2, 1);
11374
+ newIds.splice(index2, 1);
11375
+ }
11376
+ return acc;
11377
+ }, []);
11378
+ res.push(...newNodesCopy);
11379
+ return res;
11380
+ };
11381
+ const __default__$k = defineComponent({
11382
+ name: "ElCascaderPanel",
11383
+ inheritAttrs: false
11384
+ });
11385
+ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
11386
+ ...__default__$k,
11387
+ props: cascaderPanelProps,
11388
+ emits: cascaderPanelEmits,
11389
+ setup(__props, { expose, emit }) {
11390
+ const props = __props;
11391
+ let manualChecked = false;
11392
+ const ns = useNamespace("cascader");
11393
+ const config2 = useCascaderConfig(props);
11394
+ const slots = useSlots();
11395
+ let store;
11396
+ const initialLoaded = ref(true);
11397
+ const menuList = ref([]);
11398
+ const checkedValue = ref();
11399
+ const menus = ref([]);
11400
+ const expandingNode = ref();
11401
+ const checkedNodes = ref([]);
11402
+ const isHoverMenu = computed(() => config2.value.expandTrigger === "hover");
11403
+ const renderLabelFn = computed(() => props.renderLabel || slots.default);
11404
+ const initStore = () => {
11405
+ const { options } = props;
11406
+ const cfg = config2.value;
11407
+ manualChecked = false;
11408
+ store = new Store(options, cfg);
11409
+ menus.value = [store.getNodes()];
11410
+ if (cfg.lazy && isEmpty(props.options)) {
11411
+ initialLoaded.value = false;
11412
+ lazyLoad(void 0, (list2) => {
11413
+ if (list2) {
11414
+ store = new Store(list2, cfg);
11415
+ menus.value = [store.getNodes()];
11416
+ }
11417
+ initialLoaded.value = true;
11418
+ syncCheckedValue(false, true);
11419
+ });
11420
+ } else {
11421
+ syncCheckedValue(false, true);
11422
+ }
11423
+ };
11424
+ const lazyLoad = (node2, cb) => {
11425
+ const cfg = config2.value;
11426
+ node2 = node2 || new Node$3({}, cfg, void 0, true);
11427
+ node2.loading = true;
11428
+ const resolve = (dataList) => {
11429
+ const _node = node2;
11430
+ const parent = _node.root ? null : _node;
11431
+ _node.loading = false;
11432
+ _node.loaded = true;
11433
+ _node.childrenData = _node.childrenData || [];
11434
+ dataList && (store == null ? void 0 : store.appendNodes(dataList, parent));
11435
+ dataList && (cb == null ? void 0 : cb(dataList));
11436
+ };
11437
+ cfg.lazyLoad(node2, resolve);
11438
+ };
11439
+ const expandNode = (node2, silent) => {
11440
+ var _a2;
11441
+ const { level } = node2;
11442
+ const newMenus = menus.value.slice(0, level);
11443
+ let newExpandingNode;
11444
+ if (node2.isLeaf) {
11445
+ newExpandingNode = node2.pathNodes[level - 2];
11446
+ } else {
11447
+ newExpandingNode = node2;
11448
+ newMenus.push(node2.children);
11449
+ }
11450
+ if (((_a2 = expandingNode.value) == null ? void 0 : _a2.uid) !== (newExpandingNode == null ? void 0 : newExpandingNode.uid)) {
11451
+ expandingNode.value = node2;
11452
+ menus.value = newMenus;
11453
+ !silent && emit("expand-change", (node2 == null ? void 0 : node2.pathValues) || []);
11454
+ }
11455
+ };
11456
+ const handleCheckChange = (node2, checked, emitClose = true) => {
11457
+ const { checkStrictly, multiple } = config2.value;
11458
+ const oldNode = checkedNodes.value[0];
11459
+ manualChecked = true;
11460
+ !multiple && (oldNode == null ? void 0 : oldNode.doCheck(false));
11461
+ node2.doCheck(checked);
11462
+ calculateCheckedValue();
11463
+ emitClose && !multiple && !checkStrictly && emit("close");
11464
+ !emitClose && !multiple && !checkStrictly && expandParentNode(node2);
11465
+ };
11466
+ const expandParentNode = (node2) => {
11467
+ if (!node2)
11468
+ return;
11469
+ node2 = node2.parent;
11470
+ expandParentNode(node2);
11471
+ node2 && expandNode(node2);
11472
+ };
11473
+ const getFlattedNodes = (leafOnly) => store == null ? void 0 : store.getFlattedNodes(leafOnly);
11474
+ const getCheckedNodes = (leafOnly) => {
11475
+ var _a2;
11476
+ return (_a2 = getFlattedNodes(leafOnly)) == null ? void 0 : _a2.filter(({ checked }) => checked !== false);
11477
+ };
11478
+ const clearCheckedNodes = () => {
11479
+ checkedNodes.value.forEach((node2) => node2.doCheck(false));
11480
+ calculateCheckedValue();
11481
+ menus.value = menus.value.slice(0, 1);
11482
+ expandingNode.value = void 0;
11483
+ emit("expand-change", []);
11484
+ };
11485
+ const calculateCheckedValue = () => {
11486
+ var _a2;
11487
+ const { checkStrictly, multiple } = config2.value;
11488
+ const oldNodes = checkedNodes.value;
11489
+ const newNodes = getCheckedNodes(!checkStrictly);
11490
+ const nodes = sortByOriginalOrder(oldNodes, newNodes);
11491
+ const values2 = nodes.map((node2) => node2.valueByOption);
11492
+ checkedNodes.value = nodes;
11493
+ checkedValue.value = multiple ? values2 : (_a2 = values2[0]) != null ? _a2 : null;
11494
+ };
11495
+ const syncCheckedValue = (loaded = false, forced = false) => {
11496
+ const { modelValue } = props;
11497
+ const { lazy, multiple, checkStrictly } = config2.value;
11498
+ const leafOnly = !checkStrictly;
11499
+ if (!initialLoaded.value || manualChecked || !forced && isEqual$2(modelValue, checkedValue.value))
11500
+ return;
11501
+ if (lazy && !loaded) {
11502
+ const values2 = unique(flattenDeep(castArray(modelValue)));
11503
+ const nodes = values2.map((val) => store == null ? void 0 : store.getNodeByValue(val)).filter((node2) => !!node2 && !node2.loaded && !node2.loading);
11504
+ if (nodes.length) {
11505
+ nodes.forEach((node2) => {
11506
+ lazyLoad(node2, () => syncCheckedValue(false, forced));
11507
+ });
11508
+ } else {
11509
+ syncCheckedValue(true, forced);
11510
+ }
11511
+ } else {
11512
+ const values2 = multiple ? castArray(modelValue) : [modelValue];
11513
+ const nodes = unique(values2.map((val) => store == null ? void 0 : store.getNodeByValue(val, leafOnly)));
11514
+ syncMenuState(nodes, forced);
11515
+ checkedValue.value = cloneDeep$2(modelValue != null ? modelValue : void 0);
11516
+ }
11517
+ };
11518
+ const syncMenuState = (newCheckedNodes, reserveExpandingState = true) => {
11519
+ const { checkStrictly } = config2.value;
11520
+ const oldNodes = checkedNodes.value;
11521
+ const newNodes = newCheckedNodes.filter((node2) => !!node2 && (checkStrictly || node2.isLeaf));
11522
+ const oldExpandingNode = store == null ? void 0 : store.getSameNode(expandingNode.value);
11523
+ const newExpandingNode = reserveExpandingState && oldExpandingNode || newNodes[0];
11524
+ if (newExpandingNode) {
11525
+ newExpandingNode.pathNodes.forEach((node2) => expandNode(node2, true));
11526
+ } else {
11527
+ expandingNode.value = void 0;
11528
+ }
11529
+ oldNodes.forEach((node2) => node2.doCheck(false));
11530
+ reactive(newNodes).forEach((node2) => node2.doCheck(true));
11531
+ checkedNodes.value = newNodes;
11532
+ nextTick(scrollToExpandingNode);
11533
+ };
11534
+ const scrollToExpandingNode = () => {
11535
+ if (!isClient$1)
11536
+ return;
11537
+ menuList.value.forEach((menu2) => {
11538
+ const menuElement = menu2 == null ? void 0 : menu2.$el;
11539
+ if (menuElement) {
11540
+ const container = menuElement.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);
11541
+ const activeNode = menuElement.querySelector(`.${ns.b("node")}.${ns.is("active")}:last-child`) || menuElement.querySelector(`.${ns.b("node")}.in-active-path`);
11542
+ scrollIntoView$2(container, activeNode);
11543
+ }
11544
+ });
11545
+ };
11546
+ const handleKeyDown2 = (e3) => {
11547
+ const target = e3.target;
11548
+ const { code: code2 } = e3;
11549
+ switch (code2) {
11550
+ case EVENT_CODE$1.up:
11551
+ case EVENT_CODE$1.down: {
11552
+ e3.preventDefault();
11553
+ const distance = code2 === EVENT_CODE$1.up ? -1 : 1;
11554
+ focusNode(getSibling(target, distance, `.${ns.b("node")}[tabindex="-1"]`));
11555
+ break;
11556
+ }
11557
+ case EVENT_CODE$1.left: {
11558
+ e3.preventDefault();
11559
+ const preMenu = menuList.value[getMenuIndex(target) - 1];
11560
+ const expandedNode = preMenu == null ? void 0 : preMenu.$el.querySelector(`.${ns.b("node")}[aria-expanded="true"]`);
11561
+ focusNode(expandedNode);
11562
+ break;
11563
+ }
11564
+ case EVENT_CODE$1.right: {
11565
+ e3.preventDefault();
11566
+ const nextMenu = menuList.value[getMenuIndex(target) + 1];
11567
+ const firstNode = nextMenu == null ? void 0 : nextMenu.$el.querySelector(`.${ns.b("node")}[tabindex="-1"]`);
11568
+ focusNode(firstNode);
11569
+ break;
11570
+ }
11571
+ case EVENT_CODE$1.enter:
11572
+ case EVENT_CODE$1.numpadEnter:
11573
+ checkNode(target);
11574
+ break;
11575
+ }
11576
+ };
11577
+ provide(CASCADER_PANEL_INJECTION_KEY, reactive({
11578
+ config: config2,
11579
+ expandingNode,
11580
+ checkedNodes,
11581
+ isHoverMenu,
11582
+ initialLoaded,
11583
+ renderLabelFn,
11584
+ lazyLoad,
11585
+ expandNode,
11586
+ handleCheckChange
11587
+ }));
11588
+ watch(config2, (newVal, oldVal) => {
11589
+ if (isEqual$2(newVal, oldVal))
11590
+ return;
11591
+ initStore();
11592
+ }, {
11593
+ immediate: true
11594
+ });
11595
+ watch(() => props.options, initStore, {
11596
+ deep: true
11597
+ });
11598
+ watch(() => props.modelValue, () => {
11599
+ manualChecked = false;
11600
+ syncCheckedValue();
11601
+ }, {
11602
+ deep: true
11603
+ });
11604
+ watch(() => checkedValue.value, (val) => {
11605
+ if (!isEqual$2(val, props.modelValue)) {
11606
+ emit(UPDATE_MODEL_EVENT$1, val);
11607
+ emit(CHANGE_EVENT$1, val);
11608
+ }
11609
+ });
11610
+ onBeforeUpdate(() => menuList.value = []);
11611
+ onMounted(() => !isEmpty(props.modelValue) && syncCheckedValue());
11612
+ expose({
11613
+ menuList,
11614
+ menus,
11615
+ checkedNodes,
11616
+ handleKeyDown: handleKeyDown2,
11617
+ handleCheckChange,
11618
+ getFlattedNodes,
11619
+ getCheckedNodes,
11620
+ clearCheckedNodes,
11621
+ calculateCheckedValue,
11622
+ scrollToExpandingNode
11623
+ });
11624
+ return (_ctx7, _cache) => {
11625
+ return openBlock(), createElementBlock("div", {
11626
+ class: normalizeClass([unref(ns).b("panel"), unref(ns).is("bordered", _ctx7.border)]),
11627
+ onKeydown: handleKeyDown2
11628
+ }, [
11629
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(menus.value, (menu2, index2) => {
11630
+ return openBlock(), createBlock(ElCascaderMenu, {
11631
+ key: index2,
11632
+ ref_for: true,
11633
+ ref: (item) => menuList.value[index2] = item,
11634
+ index: index2,
11635
+ nodes: [...menu2]
11636
+ }, {
11637
+ empty: withCtx(() => [
11638
+ renderSlot(_ctx7.$slots, "empty")
11639
+ ]),
11640
+ _: 2
11641
+ }, 1032, ["index", "nodes"]);
11642
+ }), 128))
11643
+ ], 34);
11644
+ };
11645
+ }
11646
+ });
11647
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["__file", "index.vue"]]);
11648
+ const ElCascaderPanel = withInstall(CascaderPanel);
10747
11649
  const tagProps = buildProps({
10748
11650
  type: {
10749
11651
  type: String,
@@ -25705,7 +26607,7 @@ const setCanFocus = function(childNodes, focus) {
25705
26607
  });
25706
26608
  };
25707
26609
  let nodeIdSeed = 0;
25708
- let Node$2 = class Node2 {
26610
+ let Node$2 = class Node3 {
25709
26611
  constructor(options) {
25710
26612
  this.isLeafByUser = void 0;
25711
26613
  this.isLeaf = void 0;
@@ -25741,9 +26643,9 @@ let Node$2 = class Node2 {
25741
26643
  store.registerNode(this);
25742
26644
  const props = store.props;
25743
26645
  if (props && typeof props.isLeaf !== "undefined") {
25744
- const isLeaf = getPropertyFromData(this, "isLeaf");
25745
- if (isBoolean(isLeaf)) {
25746
- this.isLeafByUser = isLeaf;
26646
+ const isLeaf2 = getPropertyFromData(this, "isLeaf");
26647
+ if (isBoolean(isLeaf2)) {
26648
+ this.isLeafByUser = isLeaf2;
25747
26649
  }
25748
26650
  }
25749
26651
  if (store.lazy !== true && this.data) {
@@ -25836,7 +26738,7 @@ let Node$2 = class Node2 {
25836
26738
  insertChild(child, index2, batch) {
25837
26739
  if (!child)
25838
26740
  throw new Error("InsertChild error: child is required.");
25839
- if (!(child instanceof Node2)) {
26741
+ if (!(child instanceof Node3)) {
25840
26742
  if (!batch) {
25841
26743
  const children = this.getChildren(true);
25842
26744
  if (!(children == null ? void 0 : children.includes(child.data))) {
@@ -25851,8 +26753,8 @@ let Node$2 = class Node2 {
25851
26753
  parent: this,
25852
26754
  store: this.store
25853
26755
  });
25854
- child = reactive(new Node2(child));
25855
- if (child instanceof Node2) {
26756
+ child = reactive(new Node3(child));
26757
+ if (child instanceof Node3) {
25856
26758
  child.initialize();
25857
26759
  }
25858
26760
  }
@@ -27898,8 +28800,8 @@ var coreJsData$1 = root$8["__core-js_shared__"];
27898
28800
  var _coreJsData = coreJsData$1;
27899
28801
  var coreJsData = _coreJsData;
27900
28802
  var maskSrcKey = function() {
27901
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
27902
- return uid ? "Symbol(src)_1." + uid : "";
28803
+ var uid2 = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
28804
+ return uid2 ? "Symbol(src)_1." + uid2 : "";
27903
28805
  }();
27904
28806
  function isMasked$1(func) {
27905
28807
  return !!maskSrcKey && maskSrcKey in func;
@@ -32800,7 +33702,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
32800
33702
  color: _ctx7.color
32801
33703
  }, null, 8, ["model-value", "color"]),
32802
33704
  createElementVNode("div", _hoisted_2$O, [
32803
- createVNode(_sfc_main$2T, {
33705
+ createVNode(_sfc_main$2W, {
32804
33706
  type: "default",
32805
33707
  size: "middle",
32806
33708
  icon: "vc-icon-save",
@@ -33487,7 +34389,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
33487
34389
  }
33488
34390
  );
33489
34391
  return (_ctx7, _cache) => {
33490
- var _a2, _b;
34392
+ var _a2, _b, _c, _d;
33491
34393
  return openBlock(), createElementBlock("div", {
33492
34394
  class: normalizeClass(["vc-extended-datetime-range-picker", _ctx7.wrapperClass]),
33493
34395
  "data-test": `extendedDatetimeRangePicker-${_ctx7.dataTestName}`
@@ -33503,7 +34405,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
33503
34405
  createTextVNode(toDisplayString(_ctx7.label) + " ", 1),
33504
34406
  _ctx7.required ? (openBlock(), createElementBlock("span", _hoisted_6$k, "*")) : createCommentVNode("", true)
33505
34407
  ])) : createCommentVNode("", true),
33506
- _ctx7.presetRanges.length ? (openBlock(), createBlock(_sfc_main$1j, {
34408
+ ((_a2 = _ctx7.presetRanges) == null ? void 0 : _a2.length) ? (openBlock(), createBlock(_sfc_main$1j, {
33507
34409
  key: 2,
33508
34410
  modelValue: model.value,
33509
34411
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event),
@@ -33514,7 +34416,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
33514
34416
  ])
33515
34417
  ])) : createCommentVNode("", true),
33516
34418
  createElementVNode("div", _hoisted_7$e, [
33517
- _ctx7.inline && _ctx7.presetRanges.length ? (openBlock(), createBlock(_sfc_main$1j, {
34419
+ _ctx7.inline && ((_b = _ctx7.presetRanges) == null ? void 0 : _b.length) ? (openBlock(), createBlock(_sfc_main$1j, {
33518
34420
  key: 0,
33519
34421
  modelValue: model.value,
33520
34422
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => model.value = $event),
@@ -33531,7 +34433,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
33531
34433
  "max-time": toTime.value,
33532
34434
  color: _ctx7.color,
33533
34435
  disabled: _ctx7.disabled,
33534
- "preset-value": (_a2 = internalPresetModel.value) == null ? void 0 : _a2.from
34436
+ "preset-value": (_c = internalPresetModel.value) == null ? void 0 : _c.from
33535
34437
  }, _ctx7.$attrs, {
33536
34438
  part: "FROM",
33537
34439
  onPresetValueChange: onPresetValueFromChange,
@@ -33546,7 +34448,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
33546
34448
  "min-time": fromTime.value,
33547
34449
  color: _ctx7.color,
33548
34450
  disabled: _ctx7.disabled,
33549
- "preset-value": (_b = internalPresetModel.value) == null ? void 0 : _b.to
34451
+ "preset-value": (_d = internalPresetModel.value) == null ? void 0 : _d.to
33550
34452
  }, _ctx7.$attrs, {
33551
34453
  part: "TO",
33552
34454
  onPresetValueChange: onPresetValueToChange,
@@ -39909,7 +40811,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
39909
40811
  };
39910
40812
  }
39911
40813
  });
39912
- const Circles = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-2d27589e"]]);
40814
+ const Circles = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-c75aa92e"]]);
39913
40815
  const DEFAULT_SIZE$7 = "40px";
39914
40816
  const DEFAULT_COLOR$6 = "primary";
39915
40817
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
@@ -39920,7 +40822,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
39920
40822
  },
39921
40823
  setup(__props) {
39922
40824
  useCssVars((_ctx7) => ({
39923
- "8911bffa": styles2.value.size
40825
+ "c9107d62": styles2.value.size
39924
40826
  }));
39925
40827
  const props = __props;
39926
40828
  const styles2 = computed(() => {
@@ -39933,12 +40835,12 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
39933
40835
  return openBlock(), createElementBlock("div", {
39934
40836
  class: normalizeClass([`text-${_ctx7.color}`, "vc-spinner--dots"])
39935
40837
  }, [..._cache[0] || (_cache[0] = [
39936
- createStaticVNode('<div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div><div class="dot-spin" data-v-a9aa4df2></div>', 8)
40838
+ createStaticVNode('<div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div><div class="dot-spin" data-v-1cc60d5d></div>', 8)
39937
40839
  ])], 2);
39938
40840
  };
39939
40841
  }
39940
40842
  });
39941
- const DotSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-a9aa4df2"]]);
40843
+ const DotSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-1cc60d5d"]]);
39942
40844
  const DEFAULT_SIZE$6 = "40px";
39943
40845
  const DEFAULT_COLOR$5 = "primary";
39944
40846
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
@@ -39965,16 +40867,16 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
39965
40867
  };
39966
40868
  }
39967
40869
  });
39968
- const LdsSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-3b82e212"]]);
40870
+ const LdsSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-1fb6c9aa"]]);
39969
40871
  const DEFAULT_SIZE$5 = "40px";
39970
40872
  const DEFAULT_COLOR$4 = "primary";
39971
40873
  const DEFAULT_ICON$1 = "vc-icon-load";
39972
40874
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
39973
40875
  __name: "LoadIcon",
39974
40876
  props: {
40877
+ icon: { default: DEFAULT_ICON$1 },
39975
40878
  size: { default: DEFAULT_SIZE$5 },
39976
- color: { default: DEFAULT_COLOR$4 },
39977
- icon: { default: DEFAULT_ICON$1 }
40879
+ color: { default: DEFAULT_COLOR$4 }
39978
40880
  },
39979
40881
  setup(__props) {
39980
40882
  const props = __props;
@@ -39992,7 +40894,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
39992
40894
  };
39993
40895
  }
39994
40896
  });
39995
- const LoadIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-899162fa"]]);
40897
+ const LoadIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-5ae149ff"]]);
39996
40898
  const DEFAULT_SIZE$4 = "40px";
39997
40899
  const DEFAULT_COLOR$3 = "primary";
39998
40900
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
@@ -40015,12 +40917,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
40015
40917
  style: normalizeStyle(styles2.value),
40016
40918
  class: normalizeClass([`text-${_ctx7.color}`, "vc-spinner--stretch"])
40017
40919
  }, [..._cache[0] || (_cache[0] = [
40018
- createStaticVNode('<div class="rect rect-1" data-v-1f1e2038></div><div class="rect rect-2" data-v-1f1e2038></div><div class="rect rect-3" data-v-1f1e2038></div><div class="rect rect-4" data-v-1f1e2038></div><div class="rect rect-5" data-v-1f1e2038></div>', 5)
40920
+ createStaticVNode('<div class="rect rect-1" data-v-51553697></div><div class="rect rect-2" data-v-51553697></div><div class="rect rect-3" data-v-51553697></div><div class="rect rect-4" data-v-51553697></div><div class="rect rect-5" data-v-51553697></div>', 5)
40019
40921
  ])], 6);
40020
40922
  };
40021
40923
  }
40022
40924
  });
40023
- const Stretch = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-1f1e2038"]]);
40925
+ const Stretch = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-51553697"]]);
40024
40926
  const loaderEnum = {
40025
40927
  circles: Circles,
40026
40928
  stretch: Stretch,
@@ -40420,7 +41322,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
40420
41322
  }, [
40421
41323
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx7.length, (_2, index2) => {
40422
41324
  return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
40423
- _ctx7.separator && index2 > 0 && index2 % _ctx7.separatorAfter === 0 ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString(_ctx7.separator), 1)) : createCommentVNode("", true),
41325
+ _ctx7.separator && index2 > 0 && index2 % (_ctx7.separatorAfter ?? 0) === 0 ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString(_ctx7.separator), 1)) : createCommentVNode("", true),
40424
41326
  createElementVNode("input", {
40425
41327
  ref_for: true,
40426
41328
  ref: (el) => setInputRef(el, index2),
@@ -41111,7 +42013,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
41111
42013
  createElementVNode("div", _hoisted_2$C, [
41112
42014
  renderSlot(_ctx7.$slots, "action", { click: triggerInputClick }, () => [
41113
42015
  createElementVNode("div", _hoisted_3$y, [
41114
- createVNode(_sfc_main$2T, {
42016
+ createVNode(_sfc_main$2W, {
41115
42017
  type: _ctx7.buttonType,
41116
42018
  color: _ctx7.buttonColor,
41117
42019
  icon: _ctx7.buttonIcon,
@@ -42014,7 +42916,6 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
42014
42916
  }
42015
42917
  return (_ctx7, _cache) => {
42016
42918
  const _component_VcButton = resolveComponent("VcButton");
42017
- const _directive_click_outside = resolveDirective("click-outside");
42018
42919
  return elementRef.value ? (openBlock(), createBlock(unref(ElPopover), {
42019
42920
  key: 0,
42020
42921
  ref_key: "popoverRef",
@@ -42084,7 +42985,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
42084
42985
  }, 8, ["icon", "type", "color"])
42085
42986
  ], 2)
42086
42987
  ], 6)), [
42087
- [_directive_click_outside, clickOutside, elementRef.value]
42988
+ [unref(ClickOutside), clickOutside, elementRef.value]
42088
42989
  ])
42089
42990
  ]),
42090
42991
  _: 1
@@ -42933,7 +43834,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
42933
43834
  }, [
42934
43835
  createElementVNode("span", {
42935
43836
  class: normalizeClass([{ "text-primary": isActive.value }, "mb-0 text-sm xl:text-base font-bold uppercase"])
42936
- }, toDisplayString(`${_ctx7.stepIndex + 1}. ${_ctx7.step.label}`), 3)
43837
+ }, toDisplayString(`${(_ctx7.stepIndex ?? 0) + 1}. ${_ctx7.step.label}`), 3)
42937
43838
  ], 2),
42938
43839
  withDirectives(createElementVNode("i", _hoisted_3$q, null, 512), [
42939
43840
  [vShow, canEdit.value]
@@ -42981,22 +43882,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
42981
43882
  emit("update-step", data2);
42982
43883
  }
42983
43884
  return (_ctx7, _cache) => {
43885
+ var _a2;
42984
43886
  return openBlock(), createElementBlock("div", {
42985
43887
  class: normalizeClass([{ "is--minify": _ctx7.hideDetails }, "vc-wizard-summary"])
42986
43888
  }, [
42987
43889
  createElementVNode("div", {
42988
- style: normalizeStyle({ "--count-steps": _ctx7.steps.length }),
43890
+ style: normalizeStyle({ "--count-steps": ((_a2 = _ctx7.steps) == null ? void 0 : _a2.length) ?? 0 }),
42989
43891
  class: "vc-wizard-summary-steps"
42990
43892
  }, [
42991
43893
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx7.steps, (stepItem, index2) => {
43894
+ var _a3, _b;
42992
43895
  return openBlock(), createBlock(_sfc_main$S, {
42993
43896
  key: `summary-${index2}`,
42994
43897
  "step-index": index2,
42995
43898
  step: stepItem,
42996
- "steps-count": _ctx7.steps.length,
43899
+ "steps-count": ((_a3 = _ctx7.steps) == null ? void 0 : _a3.length) ?? 0,
42997
43900
  visited: _ctx7.visited,
42998
43901
  "active-index": _ctx7.activeIndex,
42999
- content: _ctx7.content[stepItem.step] || [],
43902
+ content: ((_b = _ctx7.content) == null ? void 0 : _b[stepItem.step]) || [],
43000
43903
  "hide-details": _ctx7.hideDetails,
43001
43904
  onClickStep: onClickSummaryStep
43002
43905
  }, null, 8, ["step-index", "step", "steps-count", "visited", "active-index", "content", "hide-details"]);
@@ -43074,7 +43977,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
43074
43977
  return openBlock(), createElementBlock("div", _hoisted_1$F, [
43075
43978
  renderSlot(_ctx7.$slots, "navigation", {}, () => [
43076
43979
  createElementVNode("div", _hoisted_2$r, [
43077
- createVNode(_sfc_main$2T, {
43980
+ createVNode(_sfc_main$2W, {
43078
43981
  block: _ctx7.isMobile,
43079
43982
  size: _ctx7.isMobile ? "middle" : "large",
43080
43983
  color: "secondary",
@@ -43094,7 +43997,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
43094
43997
  createElementVNode("div", _hoisted_4$j, [
43095
43998
  createElementVNode("div", _hoisted_5$f, [
43096
43999
  createElementVNode("div", _hoisted_6$c, [
43097
- _ctx7.showPrevBtn ? (openBlock(), createBlock(_sfc_main$2T, {
44000
+ _ctx7.showPrevBtn ? (openBlock(), createBlock(_sfc_main$2W, {
43098
44001
  key: 0,
43099
44002
  block: _ctx7.isMobile,
43100
44003
  size: _ctx7.isMobile ? "middle" : "large",
@@ -43110,7 +44013,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
43110
44013
  }, 8, ["block", "size"])) : createCommentVNode("", true)
43111
44014
  ]),
43112
44015
  _ctx7.showNextBtn ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
43113
- createVNode(_sfc_main$2T, {
44016
+ createVNode(_sfc_main$2W, {
43114
44017
  block: _ctx7.isMobile,
43115
44018
  size: _ctx7.isMobile ? "middle" : "large",
43116
44019
  loading: _ctx7.loading,
@@ -43126,7 +44029,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
43126
44029
  }, 8, ["block", "size", "loading", "disabled"])
43127
44030
  ])) : createCommentVNode("", true),
43128
44031
  _ctx7.showFinalBtn ? (openBlock(), createElementBlock("div", _hoisted_8$6, [
43129
- createVNode(_sfc_main$2T, {
44032
+ createVNode(_sfc_main$2W, {
43130
44033
  size: _ctx7.isMobile ? "middle" : "large",
43131
44034
  block: _ctx7.isMobile,
43132
44035
  loading: _ctx7.loading,
@@ -43338,6 +44241,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
43338
44241
  goToStep
43339
44242
  });
43340
44243
  return (_ctx7, _cache) => {
44244
+ var _a2;
43341
44245
  return openBlock(), createElementBlock("div", {
43342
44246
  class: normalizeClass([{
43343
44247
  "full-width": !_ctx7.showSummary,
@@ -43352,7 +44256,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
43352
44256
  createElementVNode("div", _hoisted_2$q, [
43353
44257
  withDirectives(createElementVNode("div", _hoisted_3$o, [
43354
44258
  createElementVNode("div", _hoisted_4$i, [
43355
- _ctx7.$slots["header-nav"] ? renderSlot(_ctx7.$slots, "header-nav", { key: 0 }) : (openBlock(), createElementBlock("span", _hoisted_5$e, toDisplayString(_ctx7.$tVU.t("voicenterUi.wizard.step.of", { current: activeIndex.value + 1, length: _ctx7.steps.length })), 1))
44259
+ _ctx7.$slots["header-nav"] ? renderSlot(_ctx7.$slots, "header-nav", { key: 0 }) : (openBlock(), createElementBlock("span", _hoisted_5$e, toDisplayString(_ctx7.$tVU.t("voicenterUi.wizard.step.of", { current: activeIndex.value + 1, length: ((_a2 = _ctx7.steps) == null ? void 0 : _a2.length) ?? 0 })), 1))
43356
44260
  ]),
43357
44261
  createElementVNode("div", _hoisted_6$b, [
43358
44262
  renderSlot(_ctx7.$slots, "header-info")
@@ -44465,23 +45369,27 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
44465
45369
  setBulkOptionChecked
44466
45370
  });
44467
45371
  return (_ctx7, _cache) => {
45372
+ var _a3;
44468
45373
  return openBlock(), createElementBlock("div", _hoisted_1$B, [
44469
45374
  createElementVNode("div", _hoisted_2$o, [
44470
- renderSlot(_ctx7.$slots, "header", {}, () => [
44471
- renderSlot(_ctx7.$slots, "header-filter", {}, void 0, true),
44472
- _ctx7.withPagination && _ctx7.perPageOptions.length ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
44473
- createVNode(_sfc_main$1D, {
44474
- modelValue: paginationPerPageModel.value,
44475
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => paginationPerPageModel.value = $event),
44476
- teleported: _ctx7.useTeleportedPopovers,
44477
- options: _ctx7.perPageOptions,
44478
- "onOption:click": onPerPageOptionClick
44479
- }, null, 8, ["modelValue", "teleported", "options"])
44480
- ])) : createCommentVNode("", true),
44481
- _ctx7.$slots["header-actions"] ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
44482
- renderSlot(_ctx7.$slots, "header-actions", {}, void 0, true)
44483
- ])) : createCommentVNode("", true)
44484
- ], true)
45375
+ renderSlot(_ctx7.$slots, "header", {}, () => {
45376
+ var _a4;
45377
+ return [
45378
+ renderSlot(_ctx7.$slots, "header-filter", {}, void 0, true),
45379
+ _ctx7.withPagination && ((_a4 = _ctx7.perPageOptions) == null ? void 0 : _a4.length) ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
45380
+ createVNode(_sfc_main$1D, {
45381
+ modelValue: paginationPerPageModel.value,
45382
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => paginationPerPageModel.value = $event),
45383
+ teleported: _ctx7.useTeleportedPopovers,
45384
+ options: _ctx7.perPageOptions,
45385
+ "onOption:click": onPerPageOptionClick
45386
+ }, null, 8, ["modelValue", "teleported", "options"])
45387
+ ])) : createCommentVNode("", true),
45388
+ _ctx7.$slots["header-actions"] ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
45389
+ renderSlot(_ctx7.$slots, "header-actions", {}, void 0, true)
45390
+ ])) : createCommentVNode("", true)
45391
+ ];
45392
+ }, true)
44485
45393
  ]),
44486
45394
  createElementVNode("div", {
44487
45395
  class: normalizeClass([{ "shadow-table rounded-md": hasFooter.value }, _ctx7.wrapperClass])
@@ -44726,7 +45634,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
44726
45634
  class: "vc-table__load-trigger"
44727
45635
  }, [
44728
45636
  createElementVNode("td", {
44729
- colspan: _ctx7.columns.length
45637
+ colspan: (_a3 = _ctx7.columns) == null ? void 0 : _a3.length
44730
45638
  }, null, 8, _hoisted_29)
44731
45639
  ], 512)), [
44732
45640
  [vShow, !_ctx7.loading]
@@ -44758,7 +45666,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
44758
45666
  };
44759
45667
  }
44760
45668
  });
44761
- const VcTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-0d4488cc"]]);
45669
+ const VcTable = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-85a23a98"]]);
44762
45670
  var assignValue = _assignValue, castPath = _castPath, isIndex$1 = _isIndex, isObject$3 = isObject_1, toKey = _toKey;
44763
45671
  function baseSet$1(object4, path2, value, customizer) {
44764
45672
  if (!isObject$3(object4)) {
@@ -45050,6 +45958,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
45050
45958
  }
45051
45959
  });
45052
45960
  return (_ctx7, _cache) => {
45961
+ var _a2;
45053
45962
  return openBlock(), createElementBlock("div", {
45054
45963
  ref_key: "treeContainerRef",
45055
45964
  ref: treeContainerRef,
@@ -45060,7 +45969,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
45060
45969
  modelValue: filterValue.value,
45061
45970
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterValue.value = $event),
45062
45971
  placeholder: _ctx7.filterPlaceholder,
45063
- disabled: _ctx7.loading || !_ctx7.options.length,
45972
+ disabled: _ctx7.loading || !((_a2 = _ctx7.options) == null ? void 0 : _a2.length),
45064
45973
  color: _ctx7.color,
45065
45974
  "prefix-icon": _ctx7.filterPrefixIcon,
45066
45975
  "prefix-icon-color": _ctx7.filterPrefixIconColor,
@@ -45262,8 +46171,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
45262
46171
  open2.value = false;
45263
46172
  }
45264
46173
  function setContainerWidth() {
46174
+ var _a2;
45265
46175
  if (inputFieldRef.value) {
45266
- containerWidth.value = `${inputFieldRef.value.getBoundingClientRect().width + 20}px`;
46176
+ containerWidth.value = `${((_a2 = inputFieldRef.value) == null ? void 0 : _a2.getBoundingClientRect().width) + 20}px`;
45267
46177
  }
45268
46178
  }
45269
46179
  function onSelectedNodes(data2) {
@@ -45634,8 +46544,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
45634
46544
  setup(__props) {
45635
46545
  const props = __props;
45636
46546
  const slots = useSlots();
45637
- const uid = uniqueComponentId("vc-trend-");
45638
- const componentId = computed(() => props.id || uid);
46547
+ const uid2 = uniqueComponentId("vc-trend-");
46548
+ const componentId = computed(() => props.id || uid2);
45639
46549
  const bars = computed(() => genBars(items.value, boundary.value));
45640
46550
  const offsetX = computed(() => (Math.abs(bars.value[0].x - bars.value[1].x) - lineWidth.value) / 2);
45641
46551
  const autoDrawDuration = computed(() => Number(props.autoDrawDuration) || 500);
@@ -45826,10 +46736,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
45826
46736
  setup(__props) {
45827
46737
  const props = __props;
45828
46738
  const slots = useSlots();
45829
- const uid = uniqueComponentId("vc-trendline-");
46739
+ const uid2 = uniqueComponentId("vc-trendline-");
45830
46740
  const lastLength = ref(0);
45831
46741
  const pathRef = ref();
45832
- const componentId = computed(() => props.id || uid);
46742
+ const componentId = computed(() => props.id || uid2);
45833
46743
  const gradientData = computed(() => {
45834
46744
  return !props.gradient.slice().length ? [""] : props.gradient.slice().reverse();
45835
46745
  });
@@ -45935,11 +46845,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
45935
46845
  y2: _ctx7.gradientDirection === "bottom" ? "100%" : "0",
45936
46846
  gradientUnits: "userSpaceOnUse"
45937
46847
  }, [
45938
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(gradientData.value, (color2, index2) => {
46848
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(gradientData.value, (colorItem, index2) => {
45939
46849
  return openBlock(), createElementBlock("stop", {
45940
46850
  key: `gr-${index2}`,
45941
46851
  offset: index2 / Math.max(gradientData.value.length - 1, 1),
45942
- "stop-color": color2 || "currentColor"
46852
+ "stop-color": colorItem || "currentColor"
45943
46853
  }, null, 8, _hoisted_3$j);
45944
46854
  }), 128))
45945
46855
  ], 8, _hoisted_2$k)
@@ -47186,9 +48096,6 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
47186
48096
  const open2 = ref(false);
47187
48097
  const selectedValue = ref(void 0);
47188
48098
  const actionRef = ref();
47189
- const actionBtn = computed(() => {
47190
- return actionRef.value;
47191
- });
47192
48099
  const containerClasses = computed(() => {
47193
48100
  const colorClass = CLASS_FOR_COLOR + props.color;
47194
48101
  return [
@@ -47298,7 +48205,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
47298
48205
  ], 10, _hoisted_5$6);
47299
48206
  }), 128))
47300
48207
  ])), [
47301
- [unref(ClickOutside), handleOutsideClick, actionBtn.value]
48208
+ [unref(ClickOutside), handleOutsideClick, actionRef.value]
47302
48209
  ])
47303
48210
  ]),
47304
48211
  _: 1
@@ -53608,13 +54515,13 @@ class DOMSelectionState {
53608
54515
  return this.anchorNode == domSel.anchorNode && this.anchorOffset == domSel.anchorOffset && this.focusNode == domSel.focusNode && this.focusOffset == domSel.focusOffset;
53609
54516
  }
53610
54517
  setRange(range3) {
53611
- let { anchorNode, focusNode } = range3;
53612
- this.set(anchorNode, Math.min(range3.anchorOffset, anchorNode ? maxOffset(anchorNode) : 0), focusNode, Math.min(range3.focusOffset, focusNode ? maxOffset(focusNode) : 0));
54518
+ let { anchorNode, focusNode: focusNode2 } = range3;
54519
+ this.set(anchorNode, Math.min(range3.anchorOffset, anchorNode ? maxOffset(anchorNode) : 0), focusNode2, Math.min(range3.focusOffset, focusNode2 ? maxOffset(focusNode2) : 0));
53613
54520
  }
53614
- set(anchorNode, anchorOffset, focusNode, focusOffset) {
54521
+ set(anchorNode, anchorOffset, focusNode2, focusOffset) {
53615
54522
  this.anchorNode = anchorNode;
53616
54523
  this.anchorOffset = anchorOffset;
53617
- this.focusNode = focusNode;
54524
+ this.focusNode = focusNode2;
53618
54525
  this.focusOffset = focusOffset;
53619
54526
  }
53620
54527
  }
@@ -57132,11 +58039,11 @@ function selectionPoints(view) {
57132
58039
  let result2 = [];
57133
58040
  if (view.root.activeElement != view.contentDOM)
57134
58041
  return result2;
57135
- let { anchorNode, anchorOffset, focusNode, focusOffset } = view.observer.selectionRange;
58042
+ let { anchorNode, anchorOffset, focusNode: focusNode2, focusOffset } = view.observer.selectionRange;
57136
58043
  if (anchorNode) {
57137
58044
  result2.push(new DOMPoint(anchorNode, anchorOffset));
57138
- if (focusNode != anchorNode || focusOffset != anchorOffset)
57139
- result2.push(new DOMPoint(focusNode, focusOffset));
58045
+ if (focusNode2 != anchorNode || focusOffset != anchorOffset)
58046
+ result2.push(new DOMPoint(focusNode2, focusOffset));
57140
58047
  }
57141
58048
  return result2;
57142
58049
  }
@@ -59932,11 +60839,11 @@ function findChild(cView, dom, dir) {
59932
60839
  }
59933
60840
  function buildSelectionRangeFromRange(view, range3) {
59934
60841
  let anchorNode = range3.startContainer, anchorOffset = range3.startOffset;
59935
- let focusNode = range3.endContainer, focusOffset = range3.endOffset;
60842
+ let focusNode2 = range3.endContainer, focusOffset = range3.endOffset;
59936
60843
  let curAnchor = view.docView.domAtPos(view.state.selection.main.anchor);
59937
- if (isEquivalentPosition$1(curAnchor.node, curAnchor.offset, focusNode, focusOffset))
59938
- [anchorNode, anchorOffset, focusNode, focusOffset] = [focusNode, focusOffset, anchorNode, anchorOffset];
59939
- return { anchorNode, anchorOffset, focusNode, focusOffset };
60844
+ if (isEquivalentPosition$1(curAnchor.node, curAnchor.offset, focusNode2, focusOffset))
60845
+ [anchorNode, anchorOffset, focusNode2, focusOffset] = [focusNode2, focusOffset, anchorNode, anchorOffset];
60846
+ return { anchorNode, anchorOffset, focusNode: focusNode2, focusOffset };
59940
60847
  }
59941
60848
  function safariSelectionRangeHack(view, selection2) {
59942
60849
  if (selection2.getComposedRanges) {
@@ -66165,7 +67072,7 @@ function legacy(parser2) {
66165
67072
  return new LanguageSupport(StreamLanguage.define(parser2));
66166
67073
  }
66167
67074
  function sql(dialectName) {
66168
- return import("./index-Ck0hEoH5.mjs").then((m2) => m2.sql({ dialect: m2[dialectName] }));
67075
+ return import("./index-o6T82tO9.mjs").then((m2) => m2.sql({ dialect: m2[dialectName] }));
66169
67076
  }
66170
67077
  const languages = [
66171
67078
  // New-style language modes
@@ -66173,7 +67080,7 @@ const languages = [
66173
67080
  name: "C",
66174
67081
  extensions: ["c", "h", "ino"],
66175
67082
  load() {
66176
- return import("./index-D4ALxe3L.mjs").then((m2) => m2.cpp());
67083
+ return import("./index-BHgTKNj6.mjs").then((m2) => m2.cpp());
66177
67084
  }
66178
67085
  }),
66179
67086
  /* @__PURE__ */ LanguageDescription.of({
@@ -66181,7 +67088,7 @@ const languages = [
66181
67088
  alias: ["cpp"],
66182
67089
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
66183
67090
  load() {
66184
- return import("./index-D4ALxe3L.mjs").then((m2) => m2.cpp());
67091
+ return import("./index-BHgTKNj6.mjs").then((m2) => m2.cpp());
66185
67092
  }
66186
67093
  }),
66187
67094
  /* @__PURE__ */ LanguageDescription.of({
@@ -66203,7 +67110,7 @@ const languages = [
66203
67110
  name: "Go",
66204
67111
  extensions: ["go"],
66205
67112
  load() {
66206
- return import("./index-Brg39W8r.mjs").then((m2) => m2.go());
67113
+ return import("./index-CToYp0ec.mjs").then((m2) => m2.go());
66207
67114
  }
66208
67115
  }),
66209
67116
  /* @__PURE__ */ LanguageDescription.of({
@@ -66218,7 +67125,7 @@ const languages = [
66218
67125
  name: "Java",
66219
67126
  extensions: ["java"],
66220
67127
  load() {
66221
- return import("./index-Cu73PPC3.mjs").then((m2) => m2.java());
67128
+ return import("./index-CYWz3-a9.mjs").then((m2) => m2.java());
66222
67129
  }
66223
67130
  }),
66224
67131
  /* @__PURE__ */ LanguageDescription.of({
@@ -66248,14 +67155,14 @@ const languages = [
66248
67155
  name: "LESS",
66249
67156
  extensions: ["less"],
66250
67157
  load() {
66251
- return import("./index-D3fgPDap.mjs").then((m2) => m2.less());
67158
+ return import("./index-C1SGZ0VB.mjs").then((m2) => m2.less());
66252
67159
  }
66253
67160
  }),
66254
67161
  /* @__PURE__ */ LanguageDescription.of({
66255
67162
  name: "Liquid",
66256
67163
  extensions: ["liquid"],
66257
67164
  load() {
66258
- return import("./index-CX3WSSx2.mjs").then((m2) => m2.liquid());
67165
+ return import("./index-BnrhesCl.mjs").then((m2) => m2.liquid());
66259
67166
  }
66260
67167
  }),
66261
67168
  /* @__PURE__ */ LanguageDescription.of({
@@ -66287,7 +67194,7 @@ const languages = [
66287
67194
  name: "PHP",
66288
67195
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
66289
67196
  load() {
66290
- return import("./index-BqZbJSv5.mjs").then((m2) => m2.php());
67197
+ return import("./index-KX4Bfsig.mjs").then((m2) => m2.php());
66291
67198
  }
66292
67199
  }),
66293
67200
  /* @__PURE__ */ LanguageDescription.of({
@@ -66308,28 +67215,28 @@ const languages = [
66308
67215
  extensions: ["BUILD", "bzl", "py", "pyw"],
66309
67216
  filename: /^(BUCK|BUILD)$/,
66310
67217
  load() {
66311
- return import("./index-DwdnC-bV.mjs").then((m2) => m2.python());
67218
+ return import("./index-C_0ohr-m.mjs").then((m2) => m2.python());
66312
67219
  }
66313
67220
  }),
66314
67221
  /* @__PURE__ */ LanguageDescription.of({
66315
67222
  name: "Rust",
66316
67223
  extensions: ["rs"],
66317
67224
  load() {
66318
- return import("./index-aRKANfxA.mjs").then((m2) => m2.rust());
67225
+ return import("./index-6fzTDgR0.mjs").then((m2) => m2.rust());
66319
67226
  }
66320
67227
  }),
66321
67228
  /* @__PURE__ */ LanguageDescription.of({
66322
67229
  name: "Sass",
66323
67230
  extensions: ["sass"],
66324
67231
  load() {
66325
- return import("./index-D9pmi177.mjs").then((m2) => m2.sass({ indented: true }));
67232
+ return import("./index-Dz1n0irY.mjs").then((m2) => m2.sass({ indented: true }));
66326
67233
  }
66327
67234
  }),
66328
67235
  /* @__PURE__ */ LanguageDescription.of({
66329
67236
  name: "SCSS",
66330
67237
  extensions: ["scss"],
66331
67238
  load() {
66332
- return import("./index-D9pmi177.mjs").then((m2) => m2.sass());
67239
+ return import("./index-Dz1n0irY.mjs").then((m2) => m2.sass());
66333
67240
  }
66334
67241
  }),
66335
67242
  /* @__PURE__ */ LanguageDescription.of({
@@ -66364,7 +67271,7 @@ const languages = [
66364
67271
  name: "WebAssembly",
66365
67272
  extensions: ["wat", "wast"],
66366
67273
  load() {
66367
- return import("./index-B4-cxGdI.mjs").then((m2) => m2.wast());
67274
+ return import("./index-C5fzTJu8.mjs").then((m2) => m2.wast());
66368
67275
  }
66369
67276
  }),
66370
67277
  /* @__PURE__ */ LanguageDescription.of({
@@ -66372,7 +67279,7 @@ const languages = [
66372
67279
  alias: ["rss", "wsdl", "xsd"],
66373
67280
  extensions: ["xml", "xsl", "xsd", "svg"],
66374
67281
  load() {
66375
- return import("./index-F7WxIxZG.mjs").then((m2) => m2.xml());
67282
+ return import("./index-Bnbcgp45.mjs").then((m2) => m2.xml());
66376
67283
  }
66377
67284
  }),
66378
67285
  /* @__PURE__ */ LanguageDescription.of({
@@ -66380,7 +67287,7 @@ const languages = [
66380
67287
  alias: ["yml"],
66381
67288
  extensions: ["yaml", "yml"],
66382
67289
  load() {
66383
- return import("./index-B5AARu62.mjs").then((m2) => m2.yaml());
67290
+ return import("./index-DwlQlTDu.mjs").then((m2) => m2.yaml());
66384
67291
  }
66385
67292
  }),
66386
67293
  // Legacy modes ported from CodeMirror 5
@@ -67176,13 +68083,13 @@ const languages = [
67176
68083
  name: "Vue",
67177
68084
  extensions: ["vue"],
67178
68085
  load() {
67179
- return import("./index-C8_KX6c0.mjs").then((m2) => m2.vue());
68086
+ return import("./index-CanygYmA.mjs").then((m2) => m2.vue());
67180
68087
  }
67181
68088
  }),
67182
68089
  /* @__PURE__ */ LanguageDescription.of({
67183
68090
  name: "Angular Template",
67184
68091
  load() {
67185
- return import("./index-Bn40qumb.mjs").then((m2) => m2.angular());
68092
+ return import("./index-ClO3w-PT.mjs").then((m2) => m2.angular());
67186
68093
  }
67187
68094
  })
67188
68095
  ];
@@ -68457,7 +69364,7 @@ class NodeRange {
68457
69364
  }
68458
69365
  }
68459
69366
  const emptyAttrs = /* @__PURE__ */ Object.create(null);
68460
- let Node$1 = class Node3 {
69367
+ let Node$1 = class Node4 {
68461
69368
  /**
68462
69369
  @internal
68463
69370
  */
@@ -68587,14 +69494,14 @@ let Node$1 = class Node3 {
68587
69494
  copy(content2 = null) {
68588
69495
  if (content2 == this.content)
68589
69496
  return this;
68590
- return new Node3(this.type, this.attrs, content2, this.marks);
69497
+ return new Node4(this.type, this.attrs, content2, this.marks);
68591
69498
  }
68592
69499
  /**
68593
69500
  Create a copy of this node, with the given set of marks instead
68594
69501
  of the node's own marks.
68595
69502
  */
68596
69503
  mark(marks) {
68597
- return marks == this.marks ? this : new Node3(this.type, this.attrs, this.content, marks);
69504
+ return marks == this.marks ? this : new Node4(this.type, this.attrs, this.content, marks);
68598
69505
  }
68599
69506
  /**
68600
69507
  Create a copy of this node with only the content between the
@@ -85672,9 +86579,9 @@ function switchEditable(view, node2, state) {
85672
86579
  function safariDownArrowBug(view) {
85673
86580
  if (!safari$1 || view.state.selection.$head.parentOffset > 0)
85674
86581
  return false;
85675
- let { focusNode, focusOffset } = view.domSelectionRange();
85676
- if (focusNode && focusNode.nodeType == 1 && focusOffset == 0 && focusNode.firstChild && focusNode.firstChild.contentEditable == "false") {
85677
- let child = focusNode.firstChild;
86582
+ let { focusNode: focusNode2, focusOffset } = view.domSelectionRange();
86583
+ if (focusNode2 && focusNode2.nodeType == 1 && focusOffset == 0 && focusNode2.firstChild && focusNode2.firstChild.contentEditable == "false") {
86584
+ let child = focusNode2.firstChild;
85678
86585
  switchEditable(view, child, "true");
85679
86586
  setTimeout(() => switchEditable(view, child, "false"), 20);
85680
86587
  }
@@ -87455,10 +88362,10 @@ class DOMObserver2 {
87455
88362
  else
87456
88363
  a2.remove();
87457
88364
  } else {
87458
- let { focusNode } = this.currentSelection;
88365
+ let { focusNode: focusNode2 } = this.currentSelection;
87459
88366
  for (let br of brs) {
87460
88367
  let parent = br.parentNode;
87461
- if (parent && parent.nodeName == "LI" && (!focusNode || blockParent(view, focusNode) != parent))
88368
+ if (parent && parent.nodeName == "LI" && (!focusNode2 || blockParent(view, focusNode2) != parent))
87462
88369
  br.remove();
87463
88370
  }
87464
88371
  }
@@ -87546,11 +88453,11 @@ function checkCSS(view) {
87546
88453
  }
87547
88454
  function rangeToSelectionRange(view, range3) {
87548
88455
  let anchorNode = range3.startContainer, anchorOffset = range3.startOffset;
87549
- let focusNode = range3.endContainer, focusOffset = range3.endOffset;
88456
+ let focusNode2 = range3.endContainer, focusOffset = range3.endOffset;
87550
88457
  let currentAnchor = view.domAtPos(view.state.selection.anchor);
87551
- if (isEquivalentPosition(currentAnchor.node, currentAnchor.offset, focusNode, focusOffset))
87552
- [anchorNode, anchorOffset, focusNode, focusOffset] = [focusNode, focusOffset, anchorNode, anchorOffset];
87553
- return { anchorNode, anchorOffset, focusNode, focusOffset };
88458
+ if (isEquivalentPosition(currentAnchor.node, currentAnchor.offset, focusNode2, focusOffset))
88459
+ [anchorNode, anchorOffset, focusNode2, focusOffset] = [focusNode2, focusOffset, anchorNode, anchorOffset];
88460
+ return { anchorNode, anchorOffset, focusNode: focusNode2, focusOffset };
87554
88461
  }
87555
88462
  function safariShadowSelectionRange(view, selection2) {
87556
88463
  if (selection2.getComposedRanges) {
@@ -92694,7 +93601,7 @@ function createDOMPurify() {
92694
93601
  const {
92695
93602
  DocumentFragment: DocumentFragment2,
92696
93603
  HTMLTemplateElement,
92697
- Node: Node4,
93604
+ Node: Node5,
92698
93605
  Element: Element3,
92699
93606
  NodeFilter: NodeFilter2,
92700
93607
  NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
@@ -93073,7 +93980,7 @@ function createDOMPurify() {
93073
93980
  return element2 instanceof HTMLFormElement && (typeof element2.nodeName !== "string" || typeof element2.textContent !== "string" || typeof element2.removeChild !== "function" || !(element2.attributes instanceof NamedNodeMap) || typeof element2.removeAttribute !== "function" || typeof element2.setAttribute !== "function" || typeof element2.namespaceURI !== "string" || typeof element2.insertBefore !== "function" || typeof element2.hasChildNodes !== "function");
93074
93981
  };
93075
93982
  const _isNode = function _isNode2(value) {
93076
- return typeof Node4 === "function" && value instanceof Node4;
93983
+ return typeof Node5 === "function" && value instanceof Node5;
93077
93984
  };
93078
93985
  function _executeHooks(hooks2, currentNode, data2) {
93079
93986
  arrayForEach(hooks2, (hook) => {
@@ -93322,7 +94229,7 @@ function createDOMPurify() {
93322
94229
  throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
93323
94230
  }
93324
94231
  }
93325
- } else if (dirty instanceof Node4) {
94232
+ } else if (dirty instanceof Node5) {
93326
94233
  body = _initDocument("<!---->");
93327
94234
  importedNode = body.ownerDocument.importNode(dirty, true);
93328
94235
  if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === "BODY") {
@@ -134774,6 +135681,9 @@ var oe = defineComponent({
134774
135681
  );
134775
135682
  }
134776
135683
  });
135684
+ function isGroupParameter(item) {
135685
+ return "options" in item && Array.isArray(item.options);
135686
+ }
134777
135687
  const _hoisted_1$j = { class: "vc-markdown-editor__toolbar flex items-center divide-x divide-ui-lines space h-full" };
134778
135688
  const _hoisted_2$b = { class: "flex items-center px-1" };
134779
135689
  const _hoisted_3$b = { class: "hidden md:inline-flex" };
@@ -134792,7 +135702,10 @@ const _hoisted_14$2 = {
134792
135702
  class: "flex items-center gap-1 px-1"
134793
135703
  };
134794
135704
  const _hoisted_15$2 = { class: "hidden md:inline-flex" };
134795
- const _hoisted_16 = { class: "p-2 rounded divide-y divide-ui-lines max-h-96 overflow-x-auto" };
135705
+ const _hoisted_16 = {
135706
+ key: 1,
135707
+ class: "p-2 rounded divide-y divide-ui-lines max-h-96 overflow-x-auto"
135708
+ };
134796
135709
  const _hoisted_17 = { class: "w-full flex items-center gap-2" };
134797
135710
  const _hoisted_18 = { class: "capitalize" };
134798
135711
  const _hoisted_19 = { key: 1 };
@@ -134802,6 +135715,9 @@ const _hoisted_22 = { class: "p-2 rounded divide-y divide-ui-lines" };
134802
135715
  const _hoisted_23 = { class: "py-0.5" };
134803
135716
  const _hoisted_24 = { class: "py-0.5" };
134804
135717
  const _hoisted_25 = { class: "py-0.5" };
135718
+ const CASCADER_ACTION_OPENING = "__opening__";
135719
+ const CASCADER_ACTION_CLOSING = "__closing__";
135720
+ const CASCADER_ACTION_VALUE = "__value__";
134805
135721
  const NAV_ACTIONS_COLOR = "primary";
134806
135722
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
134807
135723
  __name: "VcMdEditorToolbar",
@@ -134820,7 +135736,111 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
134820
135736
  const listActionsTooltipRef = ref();
134821
135737
  const addActionsTooltipRef = ref();
134822
135738
  const paramsActionsTooltipRef = ref();
135739
+ const cascaderValue = ref([]);
135740
+ const props = __props;
134823
135741
  const emit = __emit;
135742
+ const isGrouped = computed(() => {
135743
+ var _a2;
135744
+ return ((_a2 = props.parameters) == null ? void 0 : _a2.some((item) => isGroupParameter(item))) ?? false;
135745
+ });
135746
+ const flatParameters = computed(() => {
135747
+ if (!props.parameters) return [];
135748
+ return props.parameters.filter(
135749
+ (item) => !isGroupParameter(item)
135750
+ );
135751
+ });
135752
+ const parameterMap = computed(() => {
135753
+ const map3 = /* @__PURE__ */ new Map();
135754
+ if (!props.parameters) return map3;
135755
+ for (const item of props.parameters) {
135756
+ if (isGroupParameter(item)) {
135757
+ for (const option of item.options) {
135758
+ map3.set(option.tag, option);
135759
+ }
135760
+ } else {
135761
+ map3.set(item.tag, item);
135762
+ }
135763
+ }
135764
+ return map3;
135765
+ });
135766
+ const cascaderProps = {
135767
+ expandTrigger: "click",
135768
+ emitPath: true,
135769
+ value: "value",
135770
+ label: "label",
135771
+ children: "children"
135772
+ };
135773
+ const cascaderOptions = computed(() => {
135774
+ if (!props.parameters) return [];
135775
+ return props.parameters.map((item) => {
135776
+ if (isGroupParameter(item)) {
135777
+ return {
135778
+ value: item.label,
135779
+ label: item.label,
135780
+ children: item.options.map(buildParameterCascaderNode)
135781
+ };
135782
+ }
135783
+ return buildParameterCascaderNode(item);
135784
+ });
135785
+ });
135786
+ function buildParameterCascaderNode(param) {
135787
+ if (param.schema) {
135788
+ return {
135789
+ value: param.tag,
135790
+ label: param.label,
135791
+ leaf: true
135792
+ };
135793
+ }
135794
+ return {
135795
+ value: param.tag,
135796
+ label: param.label,
135797
+ children: [
135798
+ {
135799
+ value: CASCADER_ACTION_OPENING,
135800
+ label: "Opening If",
135801
+ leaf: true
135802
+ },
135803
+ {
135804
+ value: CASCADER_ACTION_CLOSING,
135805
+ label: "Closing If",
135806
+ leaf: true
135807
+ },
135808
+ {
135809
+ value: CASCADER_ACTION_VALUE,
135810
+ label: "Value",
135811
+ leaf: true
135812
+ }
135813
+ ]
135814
+ };
135815
+ }
135816
+ function onCascaderChange(value) {
135817
+ var _a2, _b;
135818
+ if (!value || !Array.isArray(value) || !value.length) return;
135819
+ const path2 = value;
135820
+ const isGroupedData = (_a2 = props.parameters) == null ? void 0 : _a2.some((item) => isGroupParameter(item));
135821
+ let paramTag;
135822
+ let action;
135823
+ if (isGroupedData && path2.length >= 2) {
135824
+ paramTag = path2[1];
135825
+ action = path2[2];
135826
+ } else {
135827
+ paramTag = path2[0];
135828
+ action = path2[1];
135829
+ }
135830
+ const parameter = parameterMap.value.get(paramTag);
135831
+ if (!parameter) return;
135832
+ let insertState;
135833
+ if (action === CASCADER_ACTION_OPENING) {
135834
+ insertState = "opening";
135835
+ } else if (action === CASCADER_ACTION_CLOSING) {
135836
+ insertState = "closing";
135837
+ }
135838
+ emit("insert-parameter", parameter, insertState);
135839
+ (_b = parameterPopoverRef.value) == null ? void 0 : _b.hide();
135840
+ nextTick(() => {
135841
+ cascaderValue.value = [];
135842
+ });
135843
+ }
134824
135844
  function closeAllPopovers() {
134825
135845
  var _a2, _b, _c;
134826
135846
  (_a2 = headingPopoverRef.value) == null ? void 0 : _a2.hide();
@@ -135014,9 +136034,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135014
136034
  teleported: _ctx7.isTeleported,
135015
136035
  disabled: _ctx7.disabled,
135016
136036
  trigger: "click",
136037
+ "popover-class": "vc-markdown-editor__parameter-popover",
135017
136038
  placement: "bottom",
135018
136039
  "popover-width": "auto",
135019
- "popover-max-width": "420px"
136040
+ "popover-max-width": isGrouped.value ? "600px" : "420px"
135020
136041
  }, {
135021
136042
  reference: withCtx(() => [
135022
136043
  createVNode(_component_VcButton, {
@@ -135034,8 +136055,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135034
136055
  }, 512)
135035
136056
  ]),
135036
136057
  default: withCtx(() => [
135037
- createElementVNode("div", _hoisted_16, [
135038
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx7.parameters, (parameter, index2) => {
136058
+ isGrouped.value ? (openBlock(), createBlock(unref(ElCascaderPanel), {
136059
+ key: 0,
136060
+ modelValue: cascaderValue.value,
136061
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => cascaderValue.value = $event),
136062
+ options: cascaderOptions.value,
136063
+ props: cascaderProps,
136064
+ teleported: _ctx7.isTeleported,
136065
+ class: "vc-markdown-editor__cascader-panel",
136066
+ onChange: onCascaderChange
136067
+ }, null, 8, ["modelValue", "options", "teleported"])) : (openBlock(), createElementBlock("div", _hoisted_16, [
136068
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(flatParameters.value, (parameter, index2) => {
135039
136069
  return openBlock(), createElementBlock("div", {
135040
136070
  key: `${parameter.tag}-${index2}`,
135041
136071
  class: "py-0.5"
@@ -135049,7 +136079,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135049
136079
  }, {
135050
136080
  default: withCtx(() => [
135051
136081
  createElementVNode("div", _hoisted_17, [
135052
- _cache[0] || (_cache[0] = createElementVNode("i", { class: "vc-lc-braces" }, null, -1)),
136082
+ _cache[1] || (_cache[1] = createElementVNode("i", { class: "vc-lc-braces" }, null, -1)),
135053
136083
  createElementVNode("span", _hoisted_18, toDisplayString(parameter.label), 1)
135054
136084
  ])
135055
136085
  ]),
@@ -135070,7 +136100,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135070
136100
  default: withCtx(() => [
135071
136101
  createElementVNode("div", _hoisted_20, [
135072
136102
  createElementVNode("span", _hoisted_21, toDisplayString(parameter.label), 1),
135073
- _cache[1] || (_cache[1] = createElementVNode("i", { class: "vc-lc-chevron-right" }, null, -1))
136103
+ _cache[2] || (_cache[2] = createElementVNode("i", { class: "vc-lc-chevron-right" }, null, -1))
135074
136104
  ])
135075
136105
  ]),
135076
136106
  _: 2
@@ -135085,7 +136115,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135085
136115
  type: "borderless",
135086
136116
  onClick: ($event) => handleInsertParameter(parameter, "opening")
135087
136117
  }, {
135088
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
136118
+ default: withCtx(() => [..._cache[3] || (_cache[3] = [
135089
136119
  createElementVNode("div", { class: "w-full flex items-center gap-2" }, [
135090
136120
  createElementVNode("span", { class: "capitalize" }, "Opening If")
135091
136121
  ], -1)
@@ -135100,7 +136130,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135100
136130
  type: "borderless",
135101
136131
  onClick: ($event) => handleInsertParameter(parameter, "closing")
135102
136132
  }, {
135103
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
136133
+ default: withCtx(() => [..._cache[4] || (_cache[4] = [
135104
136134
  createElementVNode("div", { class: "w-full flex items-center gap-2" }, [
135105
136135
  createElementVNode("span", { class: "capitalize" }, "Closing If")
135106
136136
  ], -1)
@@ -135115,7 +136145,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135115
136145
  type: "borderless",
135116
136146
  onClick: ($event) => handleInsertParameter(parameter)
135117
136147
  }, {
135118
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
136148
+ default: withCtx(() => [..._cache[5] || (_cache[5] = [
135119
136149
  createElementVNode("div", { class: "w-full flex items-center gap-2" }, [
135120
136150
  createElementVNode("span", { class: "capitalize" }, "Value")
135121
136151
  ], -1)
@@ -135130,10 +136160,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
135130
136160
  ]))
135131
136161
  ]);
135132
136162
  }), 128))
135133
- ])
136163
+ ]))
135134
136164
  ]),
135135
136165
  _: 1
135136
- }, 8, ["teleported", "disabled"])
136166
+ }, 8, ["teleported", "disabled", "popover-max-width"])
135137
136167
  ])) : createCommentVNode("", true),
135138
136168
  createVNode(unref(ElTooltip), {
135139
136169
  content: _ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.textActions"),
@@ -135179,15 +136209,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
135179
136209
  ...{ inheritAttrs: false },
135180
136210
  __name: "VcMdEditor",
135181
136211
  props: {
135182
- modelValue: {},
135183
- html: {},
135184
- disabled: { type: Boolean },
135185
- useParameters: { type: Boolean },
135186
- minHeight: {},
135187
- maxHeight: {},
135188
- parameters: {},
135189
- isTeleported: { type: Boolean },
135190
- readonly: { type: Boolean }
136212
+ modelValue: { default: "" },
136213
+ html: { default: "" },
136214
+ disabled: { type: Boolean, default: false },
136215
+ useParameters: { type: Boolean, default: false },
136216
+ minHeight: { default: 400 },
136217
+ maxHeight: { default: void 0 },
136218
+ parameters: { default: void 0 },
136219
+ isTeleported: { type: Boolean, default: void 0 },
136220
+ readonly: { type: Boolean },
136221
+ hideToolbar: { type: Boolean }
135191
136222
  },
135192
136223
  emits: ["update:modelValue", "update:html"],
135193
136224
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -135201,6 +136232,18 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
135201
136232
  const mounted = ref(false);
135202
136233
  const milkdownEditorContentRef = ref();
135203
136234
  const alignMode = ref("ltr");
136235
+ const flatParameters = computed(() => {
136236
+ if (!props.parameters) return void 0;
136237
+ const result2 = [];
136238
+ for (const item of props.parameters) {
136239
+ if (isGroupParameter(item)) {
136240
+ result2.push(...item.options);
136241
+ } else {
136242
+ result2.push(item);
136243
+ }
136244
+ }
136245
+ return result2;
136246
+ });
135204
136247
  const minHeightProperty = computed(() => {
135205
136248
  return convertToUnit(props.minHeight || 400);
135206
136249
  });
@@ -135305,7 +136348,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
135305
136348
  "--max-md-height": maxHeightProperty.value
135306
136349
  })
135307
136350
  }, [
135308
- !_ctx7.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
136351
+ !_ctx7.disabled && !_ctx7.hideToolbar ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
135309
136352
  createElementVNode("div", _hoisted_2$a, [
135310
136353
  editorMode.value && !_ctx7.readonly ? (openBlock(), createBlock(_sfc_main$j, {
135311
136354
  key: 0,
@@ -135365,7 +136408,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
135365
136408
  "onUpdate:html": _cache[2] || (_cache[2] = ($event) => isRef(localHtml) ? localHtml.value = $event : null),
135366
136409
  disabled: _ctx7.disabled,
135367
136410
  "min-height": _ctx7.minHeight,
135368
- parameters: _ctx7.parameters,
136411
+ parameters: flatParameters.value,
135369
136412
  "use-parameters": _ctx7.useParameters,
135370
136413
  readonly: _ctx7.readonly
135371
136414
  }, unref(attributes)), null, 16, ["modelValue", "html", "disabled", "min-height", "parameters", "use-parameters", "readonly"])) : (openBlock(), createBlock(unref(oe), {
@@ -135889,97 +136932,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
135889
136932
  };
135890
136933
  }
135891
136934
  });
135892
- const _hoisted_1$9 = { class: "" };
135893
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
135894
- __name: "VcPlayerPlaybackRate",
135895
- props: {
135896
- icon: { default: "vc-lc-gauge" },
135897
- iconClasses: { default: "icon-lg !font-semibold" }
135898
- },
135899
- setup(__props) {
135900
- const { speed, setPlaybackRate, isInitSound } = useSoundPlayerInject();
135901
- function onUpdateSpeed() {
135902
- if (setPlaybackRate && (isInitSound == null ? void 0 : isInitSound.value)) {
135903
- const newSpeed = (speed == null ? void 0 : speed.value) === 1 ? 2 : 1;
135904
- setPlaybackRate(newSpeed);
135905
- }
135906
- }
135907
- return (_ctx7, _cache) => {
135908
- return openBlock(), createElementBlock("div", {
135909
- class: normalizeClass([{ "is--disabled": !unref(isInitSound) }, "player-playback-rate"]),
135910
- onClick: onUpdateSpeed
135911
- }, [
135912
- createElementVNode("span", null, toDisplayString(`${unref(speed)}X`), 1),
135913
- createElementVNode("span", _hoisted_1$9, [
135914
- createElementVNode("i", {
135915
- class: normalizeClass([_ctx7.icon, _ctx7.iconClasses])
135916
- }, null, 2)
135917
- ])
135918
- ], 2);
135919
- };
135920
- }
135921
- });
135922
- const _hoisted_1$8 = { class: "" };
135923
- const _hoisted_2$5 = { class: "py-2 px-0.5 flex flex-col gap-0.5 text-xs font-medium text-center" };
135924
- const _hoisted_3$5 = ["onClick"];
135925
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
135926
- __name: "VcPlayerPlaybackRatePopup",
135927
- props: {
135928
- rates: { default: () => [] },
135929
- icon: { default: "vc-lc-gauge" },
135930
- iconClasses: { default: "icon-lg !font-semibold" }
135931
- },
135932
- setup(__props) {
135933
- const { speed, setPlaybackRate, isInitSound } = useSoundPlayerInject();
135934
- const popover = ref(false);
135935
- const props = __props;
135936
- const isDisabled = computed(() => {
135937
- return !((isInitSound == null ? void 0 : isInitSound.value) && props.rates.length);
135938
- });
135939
- function setSoundRate(rate) {
135940
- if (setPlaybackRate) {
135941
- setPlaybackRate(rate);
135942
- popover.value = false;
135943
- }
135944
- }
135945
- return (_ctx7, _cache) => {
135946
- const _component_VcPopover = resolveComponent("VcPopover");
135947
- return openBlock(), createBlock(_component_VcPopover, {
135948
- open: popover.value,
135949
- trigger: "manual",
135950
- disabled: isDisabled.value,
135951
- "popover-class": "!min-w-auto",
135952
- "popover-width": "max-content"
135953
- }, {
135954
- reference: withCtx(() => [
135955
- createElementVNode("div", {
135956
- class: normalizeClass([isDisabled.value ? "cursor-not-allowed text-inactive-elements" : "cursor-pointer text-primary-actions", "inline-flex items-center leading-none justify-center gap-1 font-semibold"]),
135957
- onClick: _cache[0] || (_cache[0] = ($event) => popover.value = !popover.value)
135958
- }, [
135959
- createElementVNode("span", null, toDisplayString(`${unref(speed)}X`), 1),
135960
- createElementVNode("span", _hoisted_1$8, [
135961
- createElementVNode("i", {
135962
- class: normalizeClass([_ctx7.icon, _ctx7.iconClasses])
135963
- }, null, 2)
135964
- ])
135965
- ], 2)
135966
- ]),
135967
- default: withCtx(() => [
135968
- createElementVNode("div", _hoisted_2$5, [
135969
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx7.rates, (rate) => {
135970
- return openBlock(), createElementBlock("div", {
135971
- key: rate,
135972
- class: "cursor-pointer hover:bg-active-elements-bg--focus px-2 py-0.5 rounded-sm transition-all",
135973
- onClick: ($event) => setSoundRate(rate)
135974
- }, toDisplayString(`${rate}x`), 9, _hoisted_3$5);
135975
- }), 128))
135976
- ])
135977
- ]),
135978
- _: 1
135979
- }, 8, ["open", "disabled"]);
135980
- };
135981
- }
135982
- });
135983
136935
  function t$1(t2, e3, i2, s2) {
135984
136936
  return new (i2 || (i2 = Promise))(function(n2, r2) {
135985
136937
  function o2(t3) {
@@ -137012,8 +137964,8 @@ class r extends e2 {
137012
137964
  super.destroy(), this.unsubscribe(), this.wrapper.remove();
137013
137965
  }
137014
137966
  }
137015
- const _hoisted_1$7 = { class: "vc-sound-player__wrapper" };
137016
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
137967
+ const _hoisted_1$9 = { class: "vc-sound-player__wrapper" };
137968
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
137017
137969
  __name: "VcSoundPlayerWrapper",
137018
137970
  props: {
137019
137971
  soundId: { default: void 0 },
@@ -137284,25 +138236,25 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
137284
138236
  setLoadingState: (val) => loading.value = val
137285
138237
  });
137286
138238
  return (_ctx7, _cache) => {
137287
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
138239
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
137288
138240
  renderSlot(_ctx7.$slots, "default")
137289
138241
  ]);
137290
138242
  };
137291
138243
  }
137292
138244
  });
137293
- const _hoisted_1$6 = { class: "vc-sound-player" };
137294
- const _hoisted_2$4 = {
138245
+ const _hoisted_1$8 = { class: "vc-sound-player" };
138246
+ const _hoisted_2$5 = {
137295
138247
  key: 1,
137296
138248
  class: "w-full flex items-center gap-x-2 relative"
137297
138249
  };
137298
- const _hoisted_3$4 = {
138250
+ const _hoisted_3$5 = {
137299
138251
  key: 1,
137300
138252
  class: "flex items-center px-1"
137301
138253
  };
137302
138254
  const _hoisted_4$3 = { key: 5 };
137303
138255
  const _hoisted_5$2 = { class: "p-2" };
137304
138256
  const _hoisted_6$2 = ["onClick"];
137305
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
138257
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
137306
138258
  __name: "VcSoundPlayer",
137307
138259
  props: {
137308
138260
  soundId: { default: void 0 },
@@ -137447,8 +138399,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
137447
138399
  });
137448
138400
  return (_ctx7, _cache) => {
137449
138401
  const _component_VcPopover = resolveComponent("VcPopover");
137450
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
137451
- _ctx7.src ? (openBlock(), createBlock(unref(_sfc_main$7), {
138402
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
138403
+ _ctx7.src ? (openBlock(), createBlock(_sfc_main$9, {
137452
138404
  key: 0,
137453
138405
  ref_key: "SoundPlayerWrapper",
137454
138406
  ref: SoundPlayerWrapper,
@@ -137472,7 +138424,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
137472
138424
  key: 0,
137473
138425
  "is-simple": _ctx7.simple,
137474
138426
  "audio-error-message": audioErrorMessage.value
137475
- }, null, 8, ["is-simple", "audio-error-message"])) : (openBlock(), createElementBlock("div", _hoisted_2$4, [
138427
+ }, null, 8, ["is-simple", "audio-error-message"])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
137476
138428
  createVNode(_sfc_main$f, {
137477
138429
  disabled: _ctx7.disabled,
137478
138430
  "icon-class": iconClass.value,
@@ -137482,7 +138434,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
137482
138434
  key: 0,
137483
138435
  "icon-class": iconClass.value
137484
138436
  }, null, 8, ["icon-class"])) : createCommentVNode("", true),
137485
- _ctx7.preIcon && !_ctx7.simple ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
138437
+ _ctx7.preIcon && !_ctx7.simple ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
137486
138438
  createElementVNode("i", {
137487
138439
  class: normalizeClass([_ctx7.preIcon, "text-primary-actions icon-base"])
137488
138440
  }, null, 2)
@@ -137542,7 +138494,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
137542
138494
  };
137543
138495
  }
137544
138496
  });
137545
- const VcSoundPlayer = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-6d4ced6f"]]);
138497
+ const VcSoundPlayer = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-ce04ac55"]]);
137546
138498
  const jsonHighlighting = styleTags({
137547
138499
  String: tags$1.string,
137548
138500
  Number: tags$1.number,
@@ -137645,8 +138597,8 @@ function useCopyButton() {
137645
138597
  onCopyHandler
137646
138598
  };
137647
138599
  }
137648
- const _hoisted_1$5 = { class: "vc-json-code-mirror w-full" };
137649
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
138600
+ const _hoisted_1$7 = { class: "vc-json-code-mirror w-full" };
138601
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
137650
138602
  __name: "JsonCodeMirror",
137651
138603
  props: {
137652
138604
  modelValue: {}
@@ -137683,7 +138635,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
137683
138635
  });
137684
138636
  return (_ctx7, _cache) => {
137685
138637
  const _component_VcButton = resolveComponent("VcButton");
137686
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
138638
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
137687
138639
  createVNode(unref(oe), {
137688
138640
  ref: "codeMirrorRef",
137689
138641
  modelValue: jsonCodeMirrorModel.value,
@@ -138010,9 +138962,9 @@ function renamePropertyAndKeepKeyPrecedence(obj, oldKey, newKey) {
138010
138962
  }
138011
138963
  return obj;
138012
138964
  }
138013
- const _hoisted_1$4 = { class: "w-full text-sm direction-ltr" };
138014
- const _hoisted_2$3 = { class: "font-medium mb-3 flex gap-4 items-center capitalize border-l-2 border-primary px-2" };
138015
- const _hoisted_3$3 = {
138965
+ const _hoisted_1$6 = { class: "w-full text-sm direction-ltr" };
138966
+ const _hoisted_2$4 = { class: "font-medium mb-3 flex gap-4 items-center capitalize border-l-2 border-primary px-2" };
138967
+ const _hoisted_3$4 = {
138016
138968
  key: 0,
138017
138969
  class: "grid grid-cols-1 md:grid-cols-2 gap-3 max-w-"
138018
138970
  };
@@ -138031,7 +138983,7 @@ const _hoisted_12$1 = { class: "flex items-center gap-2" };
138031
138983
  const _hoisted_13$1 = { class: "font-medium mb-2 border-l-2 border-primary px-2" };
138032
138984
  const _hoisted_14$1 = { class: "max-h-90 overflow-auto w-full h-full text-xxs border border-ui-lines rounded p-1" };
138033
138985
  const _hoisted_15$1 = { class: "w-full flex items-center justify-end gap-3" };
138034
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
138986
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
138035
138987
  __name: "JsonSchemaPropertyModal",
138036
138988
  props: {
138037
138989
  modalAppendTo: {},
@@ -138155,8 +139107,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
138155
139107
  ])
138156
139108
  ]),
138157
139109
  default: withCtx(() => [
138158
- createElementVNode("div", _hoisted_1$4, [
138159
- createElementVNode("div", _hoisted_2$3, [
139110
+ createElementVNode("div", _hoisted_1$6, [
139111
+ createElementVNode("div", _hoisted_2$4, [
138160
139112
  createElementVNode("div", null, toDisplayString(_ctx7.$tVU.t("voicenterUi.general.property")) + ": " + toDisplayString(propertyName2.value), 1),
138161
139113
  createElementVNode("div", null, toDisplayString(_ctx7.$tVU.t("voicenterUi.general.type")) + ": " + toDisplayString(dataPropertyModel.value.type), 1)
138162
139114
  ]),
@@ -138167,7 +139119,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
138167
139119
  size: "small"
138168
139120
  }, {
138169
139121
  default: withCtx(() => [
138170
- _ctx7.root ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
139122
+ _ctx7.root ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
138171
139123
  createVNode(_component_VcFormItem, { label: "Schema" }, {
138172
139124
  default: withCtx(() => [
138173
139125
  createVNode(_component_VcInput, {
@@ -138222,9 +139174,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
138222
139174
  })
138223
139175
  ]),
138224
139176
  createElementVNode("div", _hoisted_5$1, [
138225
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(additionalSetupProperties.value, (item, key2, index2) => {
139177
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(additionalSetupProperties.value, (item, key2) => {
138226
139178
  return openBlock(), createBlock(_component_VcFormItem, {
138227
- key: `${key2}-${index2}`,
139179
+ key: `${key2}-${_ctx7.deepLevel}`,
138228
139180
  label: item.name,
138229
139181
  class: normalizeClass(item.class)
138230
139182
  }, {
@@ -138321,9 +139273,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
138321
139273
  };
138322
139274
  }
138323
139275
  });
138324
- const _hoisted_1$3 = { class: "w-full vc-json-schema-editor" };
138325
- const _hoisted_2$2 = { class: "vc-json-schema-editor__row" };
138326
- const _hoisted_3$2 = { class: "flex-shrink-0 flex items-center gap-2 h-full" };
139276
+ const _hoisted_1$5 = { class: "w-full vc-json-schema-editor" };
139277
+ const _hoisted_2$3 = { class: "vc-json-schema-editor__row" };
139278
+ const _hoisted_3$3 = { class: "flex-shrink-0 flex items-center gap-2 h-full" };
138327
139279
  const _hoisted_4$1 = { class: "flex-center flex-shrink-0 h-6" };
138328
139280
  const _hoisted_5 = { class: "flex gap-2 vc-json-schema-editor__row-content" };
138329
139281
  const _hoisted_6 = { class: "flex flex-col" };
@@ -138349,7 +139301,7 @@ const _hoisted_15 = {
138349
139301
  class: ""
138350
139302
  };
138351
139303
  const DEEP_OFFSET = 16;
138352
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
139304
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
138353
139305
  __name: "JsonSchemaEditor",
138354
139306
  props: {
138355
139307
  modelValue: {},
@@ -138367,7 +139319,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
138367
139319
  emits: ["update:modelValue", "update:required", "update:propertyType", "remove:property", "change:propertyName"],
138368
139320
  setup(__props, { emit: __emit }) {
138369
139321
  useCssVars((_ctx7) => ({
138370
- "5fa2dc9c": spacingRow.value
139322
+ "46969606": spacingRow.value
138371
139323
  }));
138372
139324
  const props = __props;
138373
139325
  const emit = __emit;
@@ -138556,9 +139508,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
138556
139508
  const _component_VcCheckbox = resolveComponent("VcCheckbox");
138557
139509
  const _component_VcButtonIcon = resolveComponent("VcButtonIcon");
138558
139510
  const _component_JsonSchemaEditor = resolveComponent("JsonSchemaEditor", true);
138559
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
138560
- createElementVNode("div", _hoisted_2$2, [
138561
- createElementVNode("div", _hoisted_3$2, [
139511
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
139512
+ createElementVNode("div", _hoisted_2$3, [
139513
+ createElementVNode("div", _hoisted_3$3, [
138562
139514
  createElementVNode("div", _hoisted_4$1, [
138563
139515
  isObject2.value ? (openBlock(), createElementBlock("span", {
138564
139516
  key: 0,
@@ -138652,11 +139604,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
138652
139604
  ])
138653
139605
  ])
138654
139606
  ]),
138655
- showProperties.value ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(unref(jsonSchemaModel).properties, (item, key2, index2) => {
139607
+ showProperties.value ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(unref(jsonSchemaModel).properties, (item, key2) => {
138656
139608
  return openBlock(), createBlock(_component_JsonSchemaEditor, {
138657
- key: `${key2}-${index2}`,
139609
+ key: `${key2}-${(_ctx7.deep ?? 0) + 1}`,
138658
139610
  "model-value": item,
138659
- deep: _ctx7.deep + 1,
139611
+ deep: (_ctx7.deep ?? 0) + 1,
138660
139612
  root: false,
138661
139613
  custom: _ctx7.custom,
138662
139614
  parent: unref(jsonSchemaModel),
@@ -138672,7 +139624,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
138672
139624
  isArray3.value ? (openBlock(), createElementBlock("div", _hoisted_15, [
138673
139625
  createVNode(_component_JsonSchemaEditor, {
138674
139626
  "model-value": unref(jsonSchemaModel).items,
138675
- deep: _ctx7.deep + 1,
139627
+ deep: (_ctx7.deep ?? 0) + 1,
138676
139628
  custom: _ctx7.custom,
138677
139629
  root: false,
138678
139630
  "modal-append-to": _ctx7.modalAppendTo,
@@ -138684,7 +139636,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
138684
139636
  "onUpdate:modelValue": onUpdateItemsProperty
138685
139637
  }, null, 8, ["model-value", "deep", "custom", "modal-append-to"])
138686
139638
  ])) : createCommentVNode("", true),
138687
- createVNode(_sfc_main$4, {
139639
+ createVNode(_sfc_main$6, {
138688
139640
  ref_key: "jsonSchemaPropertyModalRef",
138689
139641
  ref: jsonSchemaPropertyModalRef,
138690
139642
  "modal-append-to": _ctx7.modalAppendTo,
@@ -139732,8 +140684,8 @@ function toJsonSchema(value, options) {
139732
140684
  const tjs = new ToJsonSchema(options);
139733
140685
  return tjs.getSchema(value);
139734
140686
  }
139735
- const _hoisted_1$2 = { class: "w-full flex items-center gap-3 justify-end" };
139736
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
140687
+ const _hoisted_1$4 = { class: "w-full flex items-center gap-3 justify-end" };
140688
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
139737
140689
  __name: "ImportJsonSchemaModal",
139738
140690
  props: {
139739
140691
  modalAppendTo: {}
@@ -139785,7 +140737,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
139785
140737
  onClose: closeModal
139786
140738
  }, {
139787
140739
  footer: withCtx(() => [
139788
- createElementVNode("div", _hoisted_1$2, [
140740
+ createElementVNode("div", _hoisted_1$4, [
139789
140741
  createVNode(_component_VcButton, {
139790
140742
  icon: "vc-icon-cancel",
139791
140743
  type: "outline",
@@ -139812,7 +140764,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
139812
140764
  ]),
139813
140765
  default: withCtx(() => [
139814
140766
  createElementVNode("div", null, [
139815
- createVNode(_sfc_main$5, {
140767
+ createVNode(_sfc_main$7, {
139816
140768
  ref_key: "jsonSchemaRef",
139817
140769
  ref: jsonSchemaRef,
139818
140770
  modelValue: jsonDataModel.value,
@@ -139826,11 +140778,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
139826
140778
  };
139827
140779
  }
139828
140780
  });
139829
- const _hoisted_1$1 = { class: "vc-json-schema-modal__content" };
139830
- const _hoisted_2$1 = { class: "flex items-center justify-end gap-3 pb-4" };
139831
- const _hoisted_3$1 = { class: "direction-ltr flex flex-wrap md:flex-nowrap border border-ui-lines rounded divide-y md:divide-x md:divide-y-0 divide-ui-lines min-h-80" };
140781
+ const _hoisted_1$3 = { class: "vc-json-schema-modal__content" };
140782
+ const _hoisted_2$2 = { class: "flex items-center justify-end gap-3 pb-4" };
140783
+ const _hoisted_3$2 = { class: "direction-ltr flex flex-wrap md:flex-nowrap border border-ui-lines rounded divide-y md:divide-x md:divide-y-0 divide-ui-lines min-h-80" };
139832
140784
  const _hoisted_4 = { class: "w-full flex items-center gap-3 justify-end" };
139833
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
140785
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
139834
140786
  __name: "JsonSchemaManageModal",
139835
140787
  props: {
139836
140788
  modalAppendTo: {},
@@ -139927,8 +140879,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
139927
140879
  ])
139928
140880
  ]),
139929
140881
  default: withCtx(() => [
139930
- createElementVNode("div", _hoisted_1$1, [
139931
- createElementVNode("div", _hoisted_2$1, [
140882
+ createElementVNode("div", _hoisted_1$3, [
140883
+ createElementVNode("div", _hoisted_2$2, [
139932
140884
  createVNode(_component_VcButton, {
139933
140885
  icon: "vc-lc-braces",
139934
140886
  size: "small",
@@ -139966,12 +140918,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
139966
140918
  _: 1
139967
140919
  }, 8, ["icon"])
139968
140920
  ]),
139969
- createElementVNode("div", _hoisted_3$1, [
140921
+ createElementVNode("div", _hoisted_3$2, [
139970
140922
  isCodeVisible.value ? (openBlock(), createElementBlock("div", {
139971
140923
  key: 0,
139972
140924
  class: normalizeClass([isEditorVisible.value ? "w-full md:w-1/2 lg:w-2/5" : "w-full", "p-1 overflow-y-auto h-full"])
139973
140925
  }, [
139974
- createVNode(_sfc_main$5, {
140926
+ createVNode(_sfc_main$7, {
139975
140927
  modelValue: jsonSchemaLocal.value,
139976
140928
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => jsonSchemaLocal.value = $event),
139977
140929
  "onUpdate:errorState": onUpdateErrorState
@@ -139981,7 +140933,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
139981
140933
  key: 1,
139982
140934
  class: normalizeClass([isCodeVisible.value ? "w-full md:w-1/2 lg:w-3/5" : "w-full", "p-2 overflow-x-auto"])
139983
140935
  }, [
139984
- createVNode(_sfc_main$3, {
140936
+ createVNode(_sfc_main$5, {
139985
140937
  modelValue: jsonSchemaLocal.value,
139986
140938
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => jsonSchemaLocal.value = $event),
139987
140939
  "modal-append-to": _ctx7.modalAppendTo
@@ -139989,7 +140941,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
139989
140941
  ], 2)) : createCommentVNode("", true)
139990
140942
  ])
139991
140943
  ]),
139992
- createVNode(_sfc_main$2, {
140944
+ createVNode(_sfc_main$4, {
139993
140945
  ref_key: "importSchemaModalRef",
139994
140946
  ref: importSchemaModalRef,
139995
140947
  "modal-append-to": _ctx7.modalAppendTo,
@@ -140001,10 +140953,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
140001
140953
  };
140002
140954
  }
140003
140955
  });
140004
- const _hoisted_1 = { class: "vc-json-schema" };
140005
- const _hoisted_2 = { class: "code" };
140006
- const _hoisted_3 = { class: "vc-json-schema__actions" };
140007
- const _sfc_main = /* @__PURE__ */ defineComponent({
140956
+ const _hoisted_1$2 = { class: "vc-json-schema" };
140957
+ const _hoisted_2$1 = { class: "code" };
140958
+ const _hoisted_3$1 = { class: "vc-json-schema__actions" };
140959
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
140008
140960
  __name: "VcJsonSchema",
140009
140961
  props: {
140010
140962
  modalAppendTo: {},
@@ -140043,7 +140995,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140043
140995
  });
140044
140996
  return (_ctx7, _cache) => {
140045
140997
  const _component_VcButton = resolveComponent("VcButton");
140046
- return openBlock(), createElementBlock("div", _hoisted_1, [
140998
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
140047
140999
  renderSlot(_ctx7.$slots, "default", { handler: openEditSchemaModal }, () => [
140048
141000
  !_ctx7.hidePreview ? (openBlock(), createElementBlock("div", {
140049
141001
  key: 0,
@@ -140052,9 +141004,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140052
141004
  }),
140053
141005
  class: normalizeClass([_ctx7.showOverflow ? "overflow-auto" : "overflow-hidden", "vc-json-schema__preview"])
140054
141006
  }, [
140055
- createElementVNode("pre", _hoisted_2, toDisplayString(unref(jsonSchemaModel)), 1)
141007
+ createElementVNode("pre", _hoisted_2$1, toDisplayString(unref(jsonSchemaModel)), 1)
140056
141008
  ], 6)) : createCommentVNode("", true),
140057
- createElementVNode("div", _hoisted_3, [
141009
+ createElementVNode("div", _hoisted_3$1, [
140058
141010
  createVNode(_component_VcButton, {
140059
141011
  disabled: unref(copyDisabled),
140060
141012
  color: "primary-alternative",
@@ -140083,7 +141035,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140083
141035
  }, 8, ["icon", "disabled"])
140084
141036
  ])
140085
141037
  ]),
140086
- createVNode(_sfc_main$1, {
141038
+ createVNode(_sfc_main$3, {
140087
141039
  ref_key: "jsonManageModalRef",
140088
141040
  ref: jsonManageModalRef,
140089
141041
  "root-type": _ctx7.rootType,
@@ -140097,7 +141049,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140097
141049
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140098
141050
  __proto__: null,
140099
141051
  VcAutocomplete: _sfc_main$1A,
140100
- VcButton: _sfc_main$2T,
141052
+ VcButton: _sfc_main$2W,
140101
141053
  VcButtonIcon,
140102
141054
  VcCard: _sfc_main$13,
140103
141055
  VcCheckbox: _sfc_main$1F,
@@ -140124,7 +141076,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
140124
141076
  VcInputError: _sfc_main$1J,
140125
141077
  VcInputLabel: _sfc_main$1H,
140126
141078
  VcInputNumber: _sfc_main$1K,
140127
- VcJsonSchema: _sfc_main,
141079
+ VcJsonSchema: _sfc_main$2,
140128
141080
  VcLoading,
140129
141081
  VcMdEditor: _sfc_main$i,
140130
141082
  VcMeterGroup: _sfc_main$m,
@@ -140161,7 +141113,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
140161
141113
  VcTag: _sfc_main$1e,
140162
141114
  VcTagInput: _sfc_main$1d,
140163
141115
  VcTimeInput: _sfc_main$1h,
140164
- VcToggleButton: _sfc_main$2R,
141116
+ VcToggleButton: _sfc_main$2U,
140165
141117
  VcTransfer: _sfc_main$H,
140166
141118
  VcTree: _sfc_main$J,
140167
141119
  VcTreeSelect: _sfc_main$I,
@@ -149336,6 +150288,97 @@ const VcLucideIconList = [
149336
150288
  code: ""
149337
150289
  }
149338
150290
  ];
150291
+ const _hoisted_1$1 = { class: "" };
150292
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
150293
+ __name: "VcPlayerPlaybackRate",
150294
+ props: {
150295
+ icon: { default: "vc-lc-gauge" },
150296
+ iconClasses: { default: "icon-lg !font-semibold" }
150297
+ },
150298
+ setup(__props) {
150299
+ const { speed, setPlaybackRate, isInitSound } = useSoundPlayerInject();
150300
+ function onUpdateSpeed() {
150301
+ if (setPlaybackRate && (isInitSound == null ? void 0 : isInitSound.value)) {
150302
+ const newSpeed = (speed == null ? void 0 : speed.value) === 1 ? 2 : 1;
150303
+ setPlaybackRate(newSpeed);
150304
+ }
150305
+ }
150306
+ return (_ctx7, _cache) => {
150307
+ return openBlock(), createElementBlock("div", {
150308
+ class: normalizeClass([{ "is--disabled": !unref(isInitSound) }, "player-playback-rate"]),
150309
+ onClick: onUpdateSpeed
150310
+ }, [
150311
+ createElementVNode("span", null, toDisplayString(`${unref(speed)}X`), 1),
150312
+ createElementVNode("span", _hoisted_1$1, [
150313
+ createElementVNode("i", {
150314
+ class: normalizeClass([_ctx7.icon, _ctx7.iconClasses])
150315
+ }, null, 2)
150316
+ ])
150317
+ ], 2);
150318
+ };
150319
+ }
150320
+ });
150321
+ const _hoisted_1 = { class: "" };
150322
+ const _hoisted_2 = { class: "py-2 px-0.5 flex flex-col gap-0.5 text-xs font-medium text-center" };
150323
+ const _hoisted_3 = ["onClick"];
150324
+ const _sfc_main = /* @__PURE__ */ defineComponent({
150325
+ __name: "VcPlayerPlaybackRatePopup",
150326
+ props: {
150327
+ rates: { default: () => [] },
150328
+ icon: { default: "vc-lc-gauge" },
150329
+ iconClasses: { default: "icon-lg !font-semibold" }
150330
+ },
150331
+ setup(__props) {
150332
+ const { speed, setPlaybackRate, isInitSound } = useSoundPlayerInject();
150333
+ const popover = ref(false);
150334
+ const props = __props;
150335
+ const isDisabled = computed(() => {
150336
+ return !((isInitSound == null ? void 0 : isInitSound.value) && props.rates.length);
150337
+ });
150338
+ function setSoundRate(rate) {
150339
+ if (setPlaybackRate) {
150340
+ setPlaybackRate(rate);
150341
+ popover.value = false;
150342
+ }
150343
+ }
150344
+ return (_ctx7, _cache) => {
150345
+ const _component_VcPopover = resolveComponent("VcPopover");
150346
+ return openBlock(), createBlock(_component_VcPopover, {
150347
+ open: popover.value,
150348
+ trigger: "manual",
150349
+ disabled: isDisabled.value,
150350
+ "popover-class": "!min-w-auto",
150351
+ "popover-width": "max-content"
150352
+ }, {
150353
+ reference: withCtx(() => [
150354
+ createElementVNode("div", {
150355
+ class: normalizeClass([isDisabled.value ? "cursor-not-allowed text-inactive-elements" : "cursor-pointer text-primary-actions", "inline-flex items-center leading-none justify-center gap-1 font-semibold"]),
150356
+ onClick: _cache[0] || (_cache[0] = ($event) => popover.value = !popover.value)
150357
+ }, [
150358
+ createElementVNode("span", null, toDisplayString(`${unref(speed)}X`), 1),
150359
+ createElementVNode("span", _hoisted_1, [
150360
+ createElementVNode("i", {
150361
+ class: normalizeClass([_ctx7.icon, _ctx7.iconClasses])
150362
+ }, null, 2)
150363
+ ])
150364
+ ], 2)
150365
+ ]),
150366
+ default: withCtx(() => [
150367
+ createElementVNode("div", _hoisted_2, [
150368
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx7.rates, (rate) => {
150369
+ return openBlock(), createElementBlock("div", {
150370
+ key: rate,
150371
+ class: "cursor-pointer hover:bg-active-elements-bg--focus px-2 py-0.5 rounded-sm transition-all",
150372
+ onClick: ($event) => setSoundRate(rate)
150373
+ }, toDisplayString(`${rate}x`), 9, _hoisted_3);
150374
+ }), 128))
150375
+ ])
150376
+ ]),
150377
+ _: 1
150378
+ }, 8, ["open", "disabled"]);
150379
+ };
150380
+ }
150381
+ });
149339
150382
  const install = function installCore(app, config2) {
149340
150383
  const installAllDirectives = () => {
149341
150384
  Object.entries(directives).forEach(([directiveName, directive]) => {
@@ -149457,9 +150500,9 @@ export {
149457
150500
  subFp as af,
149458
150501
  useRTL as ag,
149459
150502
  buildMustacheSnippet as ah,
149460
- _sfc_main$2T as ai,
150503
+ _sfc_main$2W as ai,
149461
150504
  VcButtonIcon as aj,
149462
- _sfc_main$2R as ak,
150505
+ _sfc_main$2U as ak,
149463
150506
  _sfc_main$1L as al,
149464
150507
  _sfc_main$1K as am,
149465
150508
  _sfc_main$1J as an,
@@ -149476,6 +150519,7 @@ export {
149476
150519
  _sfc_main$1v as ay,
149477
150520
  _sfc_main$1u as az,
149478
150521
  LanguageSupport as b,
150522
+ _sfc_main$b as b$,
149479
150523
  VcTable as b0,
149480
150524
  _sfc_main$L as b1,
149481
150525
  _sfc_main$J as b2,
@@ -149486,33 +150530,33 @@ export {
149486
150530
  _sfc_main$E as b7,
149487
150531
  _sfc_main$D as b8,
149488
150532
  _sfc_main$C as b9,
149489
- iconSizes as bA,
149490
- DEFAULT_COMPONENT_SIZE as bB,
149491
- UPDATE_MODEL_EVENT as bC,
149492
- CHANGE_EVENT as bD,
149493
- INPUT_EVENT as bE,
149494
- EVENT_CODE as bF,
149495
- isComponentColor as bG,
149496
- EDITABLE_TAB_SUB_SECTION_QUERY_PARAM_NAME as bH,
149497
- LIST_TAB_QUERY_VALUE as bI,
149498
- CREATE_TAB_QUERY_VALUE as bJ,
149499
- TEXT_COLORS as bK,
149500
- DEFAULT_COLOR$8 as bL,
149501
- DEFAULT_SIZE$9 as bM,
149502
- DEFAULT_ICON_SIZE as bN,
149503
- CLASS_FOR_COLOR$3 as bO,
149504
- CLASS_FOR_ICON_COLOR$1 as bP,
149505
- CLASS_FOR_ICON_SIZE as bQ,
149506
- _sfc_main$9 as bR,
149507
- _sfc_main$8 as bS,
149508
- _sfc_main$f as bT,
149509
- _sfc_main$e as bU,
149510
- _sfc_main$d as bV,
149511
- _sfc_main$c as bW,
149512
- _sfc_main$g as bX,
149513
- _sfc_main$a as bY,
149514
- _sfc_main$7 as bZ,
149515
- _sfc_main$b as b_,
150533
+ textSizes as bA,
150534
+ iconSizes as bB,
150535
+ DEFAULT_COMPONENT_SIZE as bC,
150536
+ UPDATE_MODEL_EVENT as bD,
150537
+ CHANGE_EVENT as bE,
150538
+ INPUT_EVENT as bF,
150539
+ EVENT_CODE as bG,
150540
+ isComponentColor as bH,
150541
+ EDITABLE_TAB_SUB_SECTION_QUERY_PARAM_NAME as bI,
150542
+ LIST_TAB_QUERY_VALUE as bJ,
150543
+ CREATE_TAB_QUERY_VALUE as bK,
150544
+ TEXT_COLORS as bL,
150545
+ DEFAULT_COLOR$8 as bM,
150546
+ DEFAULT_SIZE$9 as bN,
150547
+ DEFAULT_ICON_SIZE as bO,
150548
+ CLASS_FOR_COLOR$3 as bP,
150549
+ CLASS_FOR_ICON_COLOR$1 as bQ,
150550
+ CLASS_FOR_ICON_SIZE as bR,
150551
+ _sfc_main$1 as bS,
150552
+ _sfc_main as bT,
150553
+ _sfc_main$f as bU,
150554
+ _sfc_main$e as bV,
150555
+ _sfc_main$d as bW,
150556
+ _sfc_main$c as bX,
150557
+ _sfc_main$g as bY,
150558
+ _sfc_main$a as bZ,
150559
+ _sfc_main$9 as b_,
149516
150560
  VcLoading as ba,
149517
150561
  _sfc_main$B as bb,
149518
150562
  _sfc_main$A as bc,
@@ -149528,7 +150572,7 @@ export {
149528
150572
  _sfc_main$i as bm,
149529
150573
  _sfc_main$h as bn,
149530
150574
  VcSoundPlayer as bo,
149531
- _sfc_main as bp,
150575
+ _sfc_main$2 as bp,
149532
150576
  formContextKey as bq,
149533
150577
  formItemContextKey as br,
149534
150578
  VcCollapseProvideKey as bs,
@@ -149536,9 +150580,9 @@ export {
149536
150580
  VcTabPaneProvideKey as bu,
149537
150581
  VcRTLToken as bv,
149538
150582
  VcSoundPlayerProvideKey as bw,
149539
- componentSizes as bx,
149540
- componentColors as by,
149541
- textSizes as bz,
150583
+ isGroupParameter as bx,
150584
+ componentSizes as by,
150585
+ componentColors as bz,
149542
150586
  continuedIndent as c,
149543
150587
  ifNotIn as d,
149544
150588
  completeFromList as e,