@fangzhongya/fang-ui 0.0.70 → 0.0.72

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 (164) hide show
  1. package/dist/components/alert/src/index2.cjs +10 -10
  2. package/dist/components/array/src/index2.cjs +45 -45
  3. package/dist/components/autocomplete/src/index2.cjs +10 -10
  4. package/dist/components/box/src/index2.cjs +21 -21
  5. package/dist/components/box-adjust/src/index2.cjs +27 -27
  6. package/dist/components/box-local/src/index2.cjs +20 -20
  7. package/dist/components/box-mask/src/index2.cjs +5 -5
  8. package/dist/components/box-teleport/src/index2.cjs +5 -5
  9. package/dist/components/box-title/src/index2.cjs +15 -15
  10. package/dist/components/button/src/index2.cjs +9 -9
  11. package/dist/components/buttons/src/index2.cjs +20 -20
  12. package/dist/components/card/src/index2.cjs +10 -10
  13. package/dist/components/cascader/src/index2.cjs +10 -10
  14. package/dist/components/cascader-panel/src/index2.cjs +10 -10
  15. package/dist/components/cascaders/src/index2.cjs +17 -17
  16. package/dist/components/checkbox/src/index2.cjs +10 -10
  17. package/dist/components/checkbox-group/src/index2.cjs +10 -10
  18. package/dist/components/checks/src/index2.cjs +31 -31
  19. package/dist/components/choice-select/src/index2.cjs +5 -5
  20. package/dist/components/collapse/src/index2.cjs +10 -10
  21. package/dist/components/collapse-item/src/index2.cjs +10 -10
  22. package/dist/components/color-picker/src/index2.cjs +10 -10
  23. package/dist/components/common/list.cjs +5 -5
  24. package/dist/components/common/use.cjs +5 -5
  25. package/dist/components/company-select/src/index2.cjs +19 -19
  26. package/dist/components/config-provider/src/index2.cjs +10 -10
  27. package/dist/components/date-picker/src/index2.cjs +10 -10
  28. package/dist/components/dates/src/index2.cjs +12 -12
  29. package/dist/components/dates-divide/src/index2.cjs +20 -20
  30. package/dist/components/dates-picker/src/index2.cjs +15 -15
  31. package/dist/components/dates2/src/index2.cjs +26 -26
  32. package/dist/components/department-select/src/index2.cjs +11 -11
  33. package/dist/components/dialog/src/index2.cjs +10 -10
  34. package/dist/components/dialogs/src/index2.cjs +23 -23
  35. package/dist/components/divider/src/index2.cjs +10 -10
  36. package/dist/components/drawer/src/index2.cjs +10 -10
  37. package/dist/components/dropdown/src/index2.cjs +10 -10
  38. package/dist/components/dropdown-item/src/index2.cjs +10 -10
  39. package/dist/components/dropdown-menu/src/index2.cjs +10 -10
  40. package/dist/components/edit/src/index2.cjs +24 -24
  41. package/dist/components/edit-float/src/index2.cjs +40 -40
  42. package/dist/components/form/src/index2.cjs +10 -10
  43. package/dist/components/form-item/src/index2.cjs +10 -10
  44. package/dist/components/forms/src/index2.cjs +65 -65
  45. package/dist/components/forms/src/setup.cjs +12 -12
  46. package/dist/components/forms-div/src/index2.cjs +11 -11
  47. package/dist/components/forms-drag/src/index2.cjs +73 -73
  48. package/dist/components/forms-item/src/index2.cjs +45 -45
  49. package/dist/components/forms-item/src/label.cjs +4 -4
  50. package/dist/components/forms-items/src/index2.cjs +23 -23
  51. package/dist/components/global-config/src/index.cjs +5 -5
  52. package/dist/components/history/src/index2.cjs +26 -26
  53. package/dist/components/icon/src/index2.cjs +23 -23
  54. package/dist/components/icon-picker/src/index2.cjs +52 -52
  55. package/dist/components/iframe/src/index2.cjs +10 -10
  56. package/dist/components/image/src/index2.cjs +10 -10
  57. package/dist/components/images/src/index2.cjs +16 -16
  58. package/dist/components/index.scss +2 -2
  59. package/dist/components/index2.scss +2 -2
  60. package/dist/components/input/src/index2.cjs +10 -10
  61. package/dist/components/input-array/src/index2.cjs +38 -38
  62. package/dist/components/input-history/src/index2.cjs +48 -48
  63. package/dist/components/input-history/src/util.cjs +4 -4
  64. package/dist/components/input-num/src/index2.cjs +17 -17
  65. package/dist/components/input-number/src/index2.cjs +10 -10
  66. package/dist/components/input-select/src/index2.cjs +51 -51
  67. package/dist/components/input-tag/src/index2.cjs +10 -10
  68. package/dist/components/inputs/src/index2.cjs +17 -17
  69. package/dist/components/keep-com/src/index2.cjs +16 -16
  70. package/dist/components/labels/src/index2.cjs +13 -13
  71. package/dist/components/list/src/index2.cjs +24 -24
  72. package/dist/components/lists/src/index2.cjs +51 -51
  73. package/dist/components/listsp/src/index2.cjs +34 -34
  74. package/dist/components/mention/src/index2.cjs +10 -10
  75. package/dist/components/menus/src/index2.cjs +16 -16
  76. package/dist/components/menus/src/menu-ll2.cjs +11 -11
  77. package/dist/components/no-data/src/index2.cjs +5 -5
  78. package/dist/components/option/src/index2.cjs +9 -9
  79. package/dist/components/option-group/src/index2.cjs +10 -10
  80. package/dist/components/page/src/index2.cjs +77 -77
  81. package/dist/components/page/src/set-column2.cjs +54 -54
  82. package/dist/components/pagination/src/index2.cjs +10 -10
  83. package/dist/components/paging/src/index2.cjs +13 -13
  84. package/dist/components/popconfirm/src/index2.cjs +10 -10
  85. package/dist/components/popover/src/index2.cjs +10 -10
  86. package/dist/components/popup/src/index2.cjs +29 -29
  87. package/dist/components/radio/src/index2.cjs +10 -10
  88. package/dist/components/radio-group/src/index2.cjs +10 -10
  89. package/dist/components/retract/src/index2.cjs +14 -14
  90. package/dist/components/right-key/src/index2.cjs +30 -30
  91. package/dist/components/role-select/src/index2.cjs +38 -38
  92. package/dist/components/seamless-scroll/src/index2.cjs +24 -24
  93. package/dist/components/select/src/index2.cjs +10 -10
  94. package/dist/components/select-dialog/src/index2.cjs +65 -65
  95. package/dist/components/select-popover/src/index2.cjs +42 -42
  96. package/dist/components/select-scroll/src/index2.cjs +30 -30
  97. package/dist/components/selector/src/index2.cjs +39 -39
  98. package/dist/components/selects/src/index2.cjs +20 -20
  99. package/dist/components/slider/src/index2.cjs +10 -10
  100. package/dist/components/stick-div/src/index2.cjs +17 -17
  101. package/dist/components/stick-edge/src/index2.cjs +10 -10
  102. package/dist/components/stick-window/src/index2.cjs +22 -22
  103. package/dist/components/switch/src/index2.cjs +10 -10
  104. package/dist/components/switchs/src/index2.cjs +15 -15
  105. package/dist/components/tab-pane/src/index2.cjs +10 -10
  106. package/dist/components/tables/common/img2.cjs +7 -7
  107. package/dist/components/tables/common/pagin.cjs +16 -16
  108. package/dist/components/tables/common/table-but2.cjs +10 -10
  109. package/dist/components/tables/common/table-color2.cjs +7 -7
  110. package/dist/components/tables/common/table-list2.cjs +9 -9
  111. package/dist/components/tables/common/util.cjs +2 -2
  112. package/dist/components/tables/src/column.cjs +5 -5
  113. package/dist/components/tables/src/columns2.cjs +2 -2
  114. package/dist/components/tables/src/columns3.cjs +2 -2
  115. package/dist/components/tables/src/index2.cjs +29 -29
  116. package/dist/components/tablesp/src/index2.cjs +35 -35
  117. package/dist/components/tabless/src/index2.cjs +48 -48
  118. package/dist/components/tablesv/src/column.cjs +16 -16
  119. package/dist/components/tablesv/src/columns2.cjs +2 -2
  120. package/dist/components/tablesv/src/columns3.cjs +2 -2
  121. package/dist/components/tablesv/src/index2.cjs +30 -30
  122. package/dist/components/tablesvp/src/index2.cjs +30 -30
  123. package/dist/components/tabs/src/index2.cjs +10 -10
  124. package/dist/components/text/src/index2.cjs +8 -8
  125. package/dist/components/time-picker/src/index2.cjs +10 -10
  126. package/dist/components/time-select/src/index2.cjs +10 -10
  127. package/dist/components/tooltip/src/index2.cjs +10 -10
  128. package/dist/components/transfer/src/index2.cjs +10 -10
  129. package/dist/components/tree/src/index2.cjs +10 -10
  130. package/dist/components/tree-select/src/index2.cjs +10 -10
  131. package/dist/components/tree-select-box/src/index2.cjs +29 -29
  132. package/dist/components/upload/src/index2.cjs +10 -10
  133. package/dist/components/user-select/src/index2.cjs +99 -99
  134. package/dist/components/window/src/index2.cjs +61 -61
  135. package/dist/css/index.css +22 -23
  136. package/dist/directives/expose/index.cjs +3 -2
  137. package/dist/directives/expose/index.js +3 -2
  138. package/dist/directives/scroll/index.cjs +24 -6
  139. package/dist/directives/scroll/index.js +3 -1
  140. package/dist/hooks/event-aliass/index.cjs +2 -2
  141. package/dist/hooks/global-config/index.cjs +8 -8
  142. package/dist/hooks/inherit/index.cjs +2 -2
  143. package/dist/hooks/locale/index.cjs +7 -7
  144. package/dist/icons/iconify.cjs +3 -3
  145. package/dist/icons/index.css +34 -34
  146. package/dist/icons/index.json +9 -9
  147. package/dist/icons/vue/bar.cjs +3 -3
  148. package/dist/icons/vue/below.cjs +3 -3
  149. package/dist/icons/vue/bicycle.cjs +3 -3
  150. package/dist/icons/vue/bottom-left.cjs +4 -4
  151. package/dist/icons/vue/bottom-right.cjs +4 -4
  152. package/dist/icons/vue/bottom.cjs +3 -3
  153. package/dist/icons/vue/clear.cjs +5 -5
  154. package/dist/icons/vue/close.cjs +3 -3
  155. package/dist/icons/vue/edit.cjs +5 -5
  156. package/dist/icons/vue/frame.cjs +3 -3
  157. package/dist/icons/vue/left.cjs +3 -3
  158. package/dist/icons/vue/right.cjs +3 -3
  159. package/dist/icons/vue/star.cjs +4 -4
  160. package/dist/index.css +22 -23
  161. package/dist/utils/vues/common.cjs +2 -2
  162. package/package.json +5 -5
  163. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  164. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("element-plus/es/components/alert/index");
7
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
8
  __name: "index",
9
9
  props: data.dataProps,
10
10
  emits: data.dataEmits,
11
11
  setup(__props, { expose: __expose, emit: __emit }) {
12
- const attrs = vue.useAttrs();
13
- const slots = vue.useSlots();
12
+ const attrs = vues.useAttrs();
13
+ const slots = vues.useSlots();
14
14
  const cs = index.useCssName("alert");
15
15
  const props = __props;
16
16
  const emit = __emit;
@@ -18,14 +18,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
18
  ...data.dataExpose
19
19
  });
20
20
  return (_ctx, _cache) => {
21
- return vue.openBlock(), vue.createBlock(vue.unref(index$1.ElAlert), vue.mergeProps({
22
- class: vue.unref(cs).z()
23
- }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
24
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
21
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElAlert), vues.mergeProps({
22
+ class: vues.unref(cs).z()
23
+ }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
24
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
25
25
  return {
26
26
  name: k,
27
- fn: vue.withCtx((scope) => [
28
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
27
+ fn: vues.withCtx((scope) => [
28
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
29
29
  ])
30
30
  };
31
31
  })
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$1 = require("../../../hooks/cssname/index.cjs");
6
6
  const index$2 = require("../../icon/index.cjs");
@@ -8,14 +8,14 @@ const clear = require("../../../icons/vue/clear.cjs");
8
8
  const use = require("../../common/use.cjs");
9
9
  const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
10
10
  const index = require("../../../hooks/locale/index.cjs");
11
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
12
12
  __name: "index",
13
13
  props: data.dataProps,
14
14
  emits: data.dataEmits,
15
15
  setup(__props, { expose: __expose, emit: __emit }) {
16
16
  const { getLocale } = index.useLocale();
17
- const compons = vue.inject("forms-compons", {});
18
- const pcompon = vue.computed(() => {
17
+ const compons = vues.inject("forms-compons", {});
18
+ const pcompon = vues.computed(() => {
19
19
  if (typeof props.compon == "string") {
20
20
  const tcom = lineToLargeHump.lineToLargeHump(props.compon);
21
21
  return compons[tcom] || props.compon;
@@ -37,12 +37,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
37
  }
38
38
  });
39
39
  const emit = __emit;
40
- const refInput = vue.ref();
41
- const isfocus = vue.ref(false);
42
- const start = vue.ref();
43
- const end = vue.ref();
44
- const emove = vue.ref(false);
45
- const isclear = vue.computed(() => {
40
+ const refInput = vues.ref();
41
+ const isfocus = vues.ref(false);
42
+ const start = vues.ref();
43
+ const end = vues.ref();
44
+ const emove = vues.ref(false);
45
+ const isclear = vues.computed(() => {
46
46
  if (props.clearable) {
47
47
  if (start.value || end.value) {
48
48
  if (emove.value || isfocus.value) {
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
52
52
  }
53
53
  return false;
54
54
  });
55
- const multiple = vue.computed(() => {
55
+ const multiple = vues.computed(() => {
56
56
  var _a;
57
57
  let multiple2 = (_a = props.config) == null ? void 0 : _a.multiple;
58
58
  if (props.multiple) {
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
62
62
  }
63
63
  return multiple2;
64
64
  });
65
- vue.watch(
65
+ vues.watch(
66
66
  () => props.modelValue,
67
67
  () => {
68
68
  let v = props.modelValue;
@@ -89,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
89
89
  deep: true
90
90
  }
91
91
  );
92
- vue.watch(
92
+ vues.watch(
93
93
  () => isfocus.value,
94
94
  () => {
95
95
  if (isfocus.value) {
@@ -105,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
105
105
  function onMouseleave() {
106
106
  emove.value = false;
107
107
  }
108
- const errer = vue.ref();
108
+ const errer = vues.ref();
109
109
  function onInput(type) {
110
110
  var _a, _b;
111
111
  if (props.check) {
@@ -189,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
189
189
  function clearBlur() {
190
190
  clearTimeout(timeout);
191
191
  }
192
- vue.onMounted(() => {
192
+ vues.onMounted(() => {
193
193
  if (window) {
194
194
  console.log("onMounted");
195
195
  window.addEventListener("click", () => {
@@ -203,67 +203,67 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
203
203
  });
204
204
  return (_ctx, _cache) => {
205
205
  var _a, _b, _c, _d;
206
- return vue.openBlock(), vue.createElementBlock("div", {
207
- class: vue.normalizeClass([vue.unref(cs).z(), vue.unref(cs).is("focus", isfocus.value)]),
206
+ return vues.openBlock(), vues.createElementBlock("div", {
207
+ class: vues.normalizeClass([vues.unref(cs).z(), vues.unref(cs).is("focus", isfocus.value)]),
208
208
  onMouseenter,
209
209
  onMouseleave,
210
- onClick: vue.withModifiers(onClick, ["stop"])
210
+ onClick: vues.withModifiers(onClick, ["stop"])
211
211
  }, [
212
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).prefix),
213
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(pcompon.value), vue.mergeProps(vue.unref(props).config, {
212
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).prefix),
213
+ (vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(pcompon.value), vues.mergeProps(vues.unref(props).config, {
214
214
  multiple: multiple.value,
215
- class: [vue.unref(cs).z("value"), vue.unref(cs).z("start")],
215
+ class: [vues.unref(cs).z("value"), vues.unref(cs).z("start")],
216
216
  modelValue: start.value,
217
217
  "onUpdate:modelValue": [
218
218
  _cache[0] || (_cache[0] = ($event) => start.value = $event),
219
219
  _cache[1] || (_cache[1] = ($event) => onInput(0))
220
220
  ],
221
- placeholder: vue.unref(props).startPlaceholder + (((_a = vue.unref(props).config) == null ? void 0 : _a.placeholder) ?? ""),
222
- onClick: vue.withModifiers(onFocus, ["stop"]),
221
+ placeholder: vues.unref(props).startPlaceholder + (((_a = vues.unref(props).config) == null ? void 0 : _a.placeholder) ?? ""),
222
+ onClick: vues.withModifiers(onFocus, ["stop"]),
223
223
  onBlur
224
224
  }), null, 16, ["multiple", "class", "modelValue", "placeholder"])),
225
- vue.createElementVNode("span", {
226
- class: vue.normalizeClass([vue.unref(cs).z("range")])
227
- }, vue.toDisplayString(vue.unref(props).rangeSeparator), 3),
228
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(pcompon.value), vue.mergeProps(vue.unref(props).config, {
225
+ vues.createElementVNode("span", {
226
+ class: vues.normalizeClass([vues.unref(cs).z("range")])
227
+ }, vues.toDisplayString(vues.unref(props).rangeSeparator), 3),
228
+ (vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(pcompon.value), vues.mergeProps(vues.unref(props).config, {
229
229
  multiple: multiple.value,
230
- class: [vue.unref(cs).z("value"), vue.unref(cs).z("end")],
230
+ class: [vues.unref(cs).z("value"), vues.unref(cs).z("end")],
231
231
  modelValue: end.value,
232
232
  "onUpdate:modelValue": [
233
233
  _cache[2] || (_cache[2] = ($event) => end.value = $event),
234
234
  _cache[3] || (_cache[3] = ($event) => onInput(1))
235
235
  ],
236
- placeholder: vue.unref(props).endPlaceholder + (((_b = vue.unref(props).config) == null ? void 0 : _b.placeholder) ?? ""),
237
- onClick: vue.withModifiers(onFocus, ["stop"]),
236
+ placeholder: vues.unref(props).endPlaceholder + (((_b = vues.unref(props).config) == null ? void 0 : _b.placeholder) ?? ""),
237
+ onClick: vues.withModifiers(onFocus, ["stop"]),
238
238
  onBlur
239
239
  }), null, 16, ["multiple", "class", "modelValue", "placeholder"])),
240
- errer.value ? (vue.openBlock(), vue.createElementBlock("span", {
240
+ errer.value ? (vues.openBlock(), vues.createElementBlock("span", {
241
241
  key: 0,
242
- class: vue.normalizeClass([
243
- vue.unref(cs).z("error"),
244
- vue.unref(cs).is("clear", isclear.value),
242
+ class: vues.normalizeClass([
243
+ vues.unref(cs).z("error"),
244
+ vues.unref(cs).is("clear", isclear.value),
245
245
  "type-" + ((_c = errer.value) == null ? void 0 : _c.type)
246
246
  ])
247
- }, vue.toDisplayString(((_d = errer.value) == null ? void 0 : _d.message) ? errer.value.message : errer.value), 3)) : vue.createCommentVNode("", true),
248
- vue.createElementVNode("input", {
249
- class: vue.normalizeClass(vue.unref(cs).z("focus")),
247
+ }, vues.toDisplayString(((_d = errer.value) == null ? void 0 : _d.message) ? errer.value.message : errer.value), 3)) : vues.createCommentVNode("", true),
248
+ vues.createElementVNode("input", {
249
+ class: vues.normalizeClass(vues.unref(cs).z("focus")),
250
250
  ref_key: "refInput",
251
251
  ref: refInput,
252
252
  onBlur
253
253
  }, null, 34),
254
- isclear.value ? (vue.openBlock(), vue.createElementBlock("span", {
254
+ isclear.value ? (vues.openBlock(), vues.createElementBlock("span", {
255
255
  key: 1,
256
- class: vue.normalizeClass([vue.unref(cs).z("icon"), vue.unref(cs).z("clear")]),
257
- onClick: vue.withModifiers(onClear, ["stop"])
256
+ class: vues.normalizeClass([vues.unref(cs).z("icon"), vues.unref(cs).z("clear")]),
257
+ onClick: vues.withModifiers(onClear, ["stop"])
258
258
  }, [
259
- vue.createVNode(vue.unref(index$2.Icon), null, {
260
- default: vue.withCtx(() => [
261
- vue.createVNode(clear.default)
259
+ vues.createVNode(vues.unref(index$2.Icon), null, {
260
+ default: vues.withCtx(() => [
261
+ vues.createVNode(clear.default)
262
262
  ]),
263
263
  _: 1
264
264
  })
265
- ], 2)) : vue.createCommentVNode("", true),
266
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).suffix)
265
+ ], 2)) : vues.createCommentVNode("", true),
266
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).suffix)
267
267
  ], 34);
268
268
  };
269
269
  }
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("element-plus/es/components/autocomplete/index");
7
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
8
  __name: "index",
9
9
  props: data.dataProps,
10
10
  emits: data.dataEmits,
11
11
  setup(__props, { expose: __expose, emit: __emit }) {
12
- const attrs = vue.useAttrs();
13
- const slots = vue.useSlots();
12
+ const attrs = vues.useAttrs();
13
+ const slots = vues.useSlots();
14
14
  const cs = index.useCssName("autocomplete");
15
15
  const props = __props;
16
16
  const emit = __emit;
@@ -18,14 +18,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
18
  ...data.dataExpose
19
19
  });
20
20
  return (_ctx, _cache) => {
21
- return vue.openBlock(), vue.createBlock(vue.unref(index$1.ElAutocomplete), vue.mergeProps({
22
- class: vue.unref(cs).z()
23
- }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
24
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
21
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElAutocomplete), vues.mergeProps({
22
+ class: vues.unref(cs).z()
23
+ }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
24
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
25
25
  return {
26
26
  name: k,
27
- fn: vue.withCtx((scope) => [
28
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
27
+ fn: vues.withCtx((scope) => [
28
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
29
29
  ])
30
30
  };
31
31
  })
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$1 = require("../../../hooks/cssname/index.cjs");
6
6
  const index = require("../../../hooks/locale/index.cjs");
@@ -8,17 +8,17 @@ const index$4 = require("../../box-title/index.cjs");
8
8
  const index$3 = require("../../box-mask/index.cjs");
9
9
  const index$2 = require("../../box-teleport/index.cjs");
10
10
  const _hoisted_1 = ["name"];
11
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
12
12
  __name: "index",
13
13
  props: data.dataProps,
14
14
  emits: data.dataEmits,
15
15
  setup(__props, { expose: __expose, emit: __emit }) {
16
- const isInit = vue.shallowRef(false);
16
+ const isInit = vues.shallowRef(false);
17
17
  const { getLocale } = index.useLocale();
18
18
  const cs = index$1.useCssName("box");
19
19
  const props = __props;
20
20
  const emit = __emit;
21
- vue.watch(
21
+ vues.watch(
22
22
  () => props.modelValue,
23
23
  () => {
24
24
  if (props.modelValue) {
@@ -35,39 +35,39 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
35
35
  ...data.dataExpose
36
36
  });
37
37
  return (_ctx, _cache) => {
38
- return vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
38
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.BoxTeleport), {
39
39
  disabled: props.disabled,
40
40
  to: props.to
41
41
  }, {
42
- default: vue.withCtx(() => [
43
- isInit.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
42
+ default: vues.withCtx(() => [
43
+ isInit.value ? vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
44
44
  key: 0,
45
- class: vue.normalizeClass([vue.unref(cs).z(), props.boxClass])
45
+ class: vues.normalizeClass([vues.unref(cs).z(), props.boxClass])
46
46
  }, [
47
- vue.createVNode(vue.unref(index$3.BoxMask), {
47
+ vues.createVNode(vues.unref(index$3.BoxMask), {
48
48
  onClick: onClose,
49
- cssprefix: props.cssprefix || vue.unref(cs).z()
49
+ cssprefix: props.cssprefix || vues.unref(cs).z()
50
50
  }, null, 8, ["cssprefix"]),
51
- vue.createElementVNode("div", {
52
- class: vue.normalizeClass(vue.unref(cs).z("body"))
51
+ vues.createElementVNode("div", {
52
+ class: vues.normalizeClass(vues.unref(cs).z("body"))
53
53
  }, [
54
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
55
- vue.createVNode(vue.unref(index$4.BoxTitle), {
54
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).title, {}, () => [
55
+ vues.createVNode(vues.unref(index$4.BoxTitle), {
56
56
  onClose,
57
57
  title: props.title
58
58
  }, null, 8, ["title"])
59
59
  ]),
60
- vue.createElementVNode("div", {
61
- name: vue.unref(data.dataSlot).default,
62
- class: vue.normalizeClass(vue.unref(cs).z("body-div"))
60
+ vues.createElementVNode("div", {
61
+ name: vues.unref(data.dataSlot).default,
62
+ class: vues.normalizeClass(vues.unref(cs).z("body-div"))
63
63
  }, [
64
- vue.renderSlot(_ctx.$slots, "default")
64
+ vues.renderSlot(_ctx.$slots, "default")
65
65
  ], 10, _hoisted_1),
66
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
66
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer)
67
67
  ], 2)
68
68
  ], 2)), [
69
- [vue.vShow, props.modelValue]
70
- ]) : vue.createCommentVNode("", true)
69
+ [vues.vShow, props.modelValue]
70
+ ]) : vues.createCommentVNode("", true)
71
71
  ]),
72
72
  _: 3
73
73
  }, 8, ["disabled", "to"]);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$3 = require("../../box-title/index.cjs");
@@ -9,12 +9,12 @@ const index$1 = require("../../box-teleport/index.cjs");
9
9
  const index$5 = require("../../../directives/adjust/index.cjs");
10
10
  const index$4 = require("../../../directives/drag/index.cjs");
11
11
  const use = require("../../common/use.cjs");
12
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
13
13
  __name: "index",
14
14
  props: data.dataProps,
15
15
  emits: data.dataEmits,
16
16
  setup(__props, { expose: __expose, emit: __emit }) {
17
- const isInit = vue.shallowRef(false);
17
+ const isInit = vues.shallowRef(false);
18
18
  const cs = index.useCssName("box-adjust");
19
19
  const prs = __props;
20
20
  const props = use.uesPropsDefault(prs, {
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23
23
  }
24
24
  });
25
25
  const emit = __emit;
26
- vue.watch(
26
+ vues.watch(
27
27
  () => props.modelValue,
28
28
  () => {
29
29
  if (props.modelValue) {
@@ -40,46 +40,46 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
40
40
  ...data.dataExpose
41
41
  });
42
42
  return (_ctx, _cache) => {
43
- return vue.openBlock(), vue.createBlock(vue.unref(index$1.BoxTeleport), {
44
- disabled: vue.unref(props).disabled,
45
- to: vue.unref(props).to
43
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.BoxTeleport), {
44
+ disabled: vues.unref(props).disabled,
45
+ to: vues.unref(props).to
46
46
  }, {
47
- default: vue.withCtx(() => [
48
- isInit.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
47
+ default: vues.withCtx(() => [
48
+ isInit.value ? vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
49
49
  key: 0,
50
- class: vue.normalizeClass(vue.unref(cs).z())
50
+ class: vues.normalizeClass(vues.unref(cs).z())
51
51
  }, [
52
- vue.createVNode(vue.unref(index$2.BoxMask), {
52
+ vues.createVNode(vues.unref(index$2.BoxMask), {
53
53
  onClick: onClose,
54
- cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
54
+ cssprefix: vues.unref(props).cssprefix || vues.unref(cs).z()
55
55
  }, null, 8, ["cssprefix"]),
56
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
57
- class: vue.normalizeClass(vue.unref(cs).z("body"))
56
+ vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
57
+ class: vues.normalizeClass(vues.unref(cs).z("body"))
58
58
  }, [
59
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
60
- vue.createVNode(vue.unref(index$3.BoxTitle), {
59
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).title, {}, () => [
60
+ vues.createVNode(vues.unref(index$3.BoxTitle), {
61
61
  onClose,
62
- title: vue.unref(props).title
62
+ title: vues.unref(props).title
63
63
  }, null, 8, ["title"])
64
64
  ]),
65
- vue.createElementVNode("div", {
66
- class: vue.normalizeClass(vue.unref(cs).z("body-div"))
65
+ vues.createElementVNode("div", {
66
+ class: vues.normalizeClass(vues.unref(cs).z("body-div"))
67
67
  }, [
68
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
68
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
69
69
  ], 2),
70
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
70
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer)
71
71
  ], 2)), [
72
- [vue.unref(index$4.default), {
73
- dom: vue.unref(props).drag
72
+ [vues.unref(index$4.default), {
73
+ dom: vues.unref(props).drag
74
74
  }],
75
- [vue.unref(index$5.default), {
76
- often: vue.unref(props).often,
75
+ [vues.unref(index$5.default), {
76
+ often: vues.unref(props).often,
77
77
  all: { position: true }
78
78
  }]
79
79
  ])
80
80
  ], 2)), [
81
- [vue.vShow, vue.unref(props).modelValue]
82
- ]) : vue.createCommentVNode("", true)
81
+ [vues.vShow, vues.unref(props).modelValue]
82
+ ]) : vues.createCommentVNode("", true)
83
83
  ]),
84
84
  _: 3
85
85
  }, 8, ["disabled", "to"]);
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$1 = require("../../../hooks/cssname/index.cjs");
6
6
  const index = require("../../../hooks/locale/index.cjs");
7
7
  const index$2 = require("../../box/index.cjs");
8
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
@@ -14,9 +14,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
14
  const cs = index$1.useCssName("box-local");
15
15
  const props = __props;
16
16
  const filters = ["local"];
17
- const bind = vue.computed(() => {
17
+ const bind = vues.computed(() => {
18
18
  const obj = {};
19
- Object.keys(vue.toRaw(props)).forEach((key) => {
19
+ Object.keys(vues.toRaw(props)).forEach((key) => {
20
20
  const k = key;
21
21
  if (filters.includes(k)) {
22
22
  obj[key] = props[k];
@@ -24,10 +24,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
24
  });
25
25
  return obj;
26
26
  });
27
- const slots = vue.useSlots();
28
- const attrs = vue.useAttrs();
27
+ const slots = vues.useSlots();
28
+ const attrs = vues.useAttrs();
29
29
  const emit = __emit;
30
- const event = vue.computed(() => {
30
+ const event = vues.computed(() => {
31
31
  const obj = {};
32
32
  let arr;
33
33
  if (data.dataEmits instanceof Array) {
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42
42
  });
43
43
  return obj;
44
44
  });
45
- const value = vue.computed({
45
+ const value = vues.computed({
46
46
  get() {
47
47
  return props.modelValue;
48
48
  },
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
65
65
  ...data.dataExpose
66
66
  });
67
67
  return (_ctx, _cache) => {
68
- return props.local ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Box), {
68
+ return props.local ? (vues.openBlock(), vues.createBlock(vues.unref(index$2.Box), {
69
69
  key: 0,
70
70
  title: props.title,
71
71
  disabled: props.disabled,
@@ -74,29 +74,29 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
74
74
  modelValue: value.value,
75
75
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
76
76
  onClose
77
- }, vue.createSlots({
78
- [vue.unref(data.dataSlot).default]: vue.withCtx(() => [
79
- vue.createElementVNode("div", {
80
- class: vue.normalizeClass(vue.unref(cs).z())
77
+ }, vues.createSlots({
78
+ [vues.unref(data.dataSlot).default]: vues.withCtx(() => [
79
+ vues.createElementVNode("div", {
80
+ class: vues.normalizeClass(vues.unref(cs).z())
81
81
  }, [
82
- vue.renderSlot(_ctx.$slots, "default")
82
+ vues.renderSlot(_ctx.$slots, "default")
83
83
  ], 2)
84
84
  ]),
85
85
  _: 2
86
86
  }, [
87
- vue.renderList(Object.values(vue.unref(data.dataSlot)), (key, index2) => {
87
+ vues.renderList(Object.values(vues.unref(data.dataSlot)), (key, index2) => {
88
88
  return {
89
89
  name: key,
90
- fn: vue.withCtx(() => [
91
- vue.renderSlot(_ctx.$slots, key)
90
+ fn: vues.withCtx(() => [
91
+ vues.renderSlot(_ctx.$slots, key)
92
92
  ])
93
93
  };
94
94
  })
95
- ]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
95
+ ]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (vues.openBlock(), vues.createElementBlock("div", {
96
96
  key: 1,
97
- class: vue.normalizeClass(vue.unref(cs).z())
97
+ class: vues.normalizeClass(vues.unref(cs).z())
98
98
  }, [
99
- vue.renderSlot(_ctx.$slots, "default")
99
+ vues.renderSlot(_ctx.$slots, "default")
100
100
  ], 2));
101
101
  };
102
102
  }
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
6
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
7
7
  __name: "index",
8
8
  props: data.dataProps,
9
9
  emits: data.dataEmits,
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
11
  const cs = index.useCssName("box-mask");
12
12
  const props = __props;
13
13
  const emit = __emit;
14
- const setCss = vue.computed(() => {
14
+ const setCss = vues.computed(() => {
15
15
  if (props.cssprefix) {
16
16
  return props.cssprefix + "-mask";
17
17
  } else {
@@ -22,8 +22,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
22
22
  ...data.dataExpose
23
23
  });
24
24
  return (_ctx, _cache) => {
25
- return vue.openBlock(), vue.createElementBlock("div", {
26
- class: vue.normalizeClass([vue.unref(cs).z(), setCss.value])
25
+ return vues.openBlock(), vues.createElementBlock("div", {
26
+ class: vues.normalizeClass([vues.unref(cs).z(), setCss.value])
27
27
  }, null, 2);
28
28
  };
29
29
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$1 = require("../../../hooks/cssname/index.cjs");
6
6
  const index = require("../../../hooks/locale/index.cjs");
7
7
  const enums = require("../../../utils/enums.cjs");
8
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
@@ -28,12 +28,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
28
28
  ...data.dataExpose
29
29
  });
30
30
  return (_ctx, _cache) => {
31
- return vue.openBlock(), vue.createBlock(vue.Teleport, {
32
- class: vue.normalizeClass(vue.unref(cs).z()),
31
+ return vues.openBlock(), vues.createBlock(vues.Teleport, {
32
+ class: vues.normalizeClass(vues.unref(cs).z()),
33
33
  disabled: props.disabled,
34
34
  to: props.to
35
35
  }, [
36
- vue.renderSlot(_ctx.$slots, "default")
36
+ vues.renderSlot(_ctx.$slots, "default")
37
37
  ], 8, ["class", "disabled", "to"]);
38
38
  };
39
39
  }