@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,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 index$5 = require("../../icon/index.cjs");
5
5
  const bar = require("../../../icons/vue/bar.cjs");
6
6
  const frame = require("../../../icons/vue/frame.cjs");
@@ -19,13 +19,13 @@ const index$6 = require("../../../directives/drag/index.cjs");
19
19
  const use = require("../../common/use.cjs");
20
20
  const _hoisted_1 = ["title"];
21
21
  const _hoisted_2 = ["title"];
22
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
22
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
23
23
  __name: "index",
24
24
  props: data.dataProps,
25
25
  emits: data.dataEmits,
26
26
  setup(__props, { expose: __expose, emit: __emit }) {
27
27
  const wykey = Symbol("Window-" + (/* @__PURE__ */ new Date()).getTime() + Math.random());
28
- const refBody = vue.shallowRef();
28
+ const refBody = vues.shallowRef();
29
29
  const { getLocale } = index.useLocale();
30
30
  const cs = index$1.useCssName("window");
31
31
  const prs = __props;
@@ -35,12 +35,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
35
35
  }
36
36
  });
37
37
  const emit = __emit;
38
- const isMax = vue.shallowRef(props.max);
39
- const isMin = vue.shallowRef(false);
40
- const isClose = vue.shallowRef(true);
41
- const refBox = vue.shallowRef();
42
- const position = vue.shallowRef({});
43
- vue.watch(
38
+ const isMax = vues.shallowRef(props.max);
39
+ const isMin = vues.shallowRef(false);
40
+ const isClose = vues.shallowRef(true);
41
+ const refBox = vues.shallowRef();
42
+ const position = vues.shallowRef({});
43
+ vues.watch(
44
44
  () => props.modelValue,
45
45
  () => {
46
46
  console.log("props.modelValue", props.modelValue);
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
48
48
  isClose.value = false;
49
49
  isMin.value = false;
50
50
  if (props.closeHave) {
51
- vue.nextTick(() => {
51
+ vues.nextTick(() => {
52
52
  setPosition();
53
53
  });
54
54
  } else {
@@ -100,13 +100,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
100
100
  emit("update:modelValue", false);
101
101
  emit("close");
102
102
  };
103
- vue.watch(
103
+ vues.watch(
104
104
  () => isMin.value,
105
105
  () => {
106
106
  setMin();
107
107
  }
108
108
  );
109
- vue.watch(
109
+ vues.watch(
110
110
  () => isMax.value,
111
111
  () => {
112
112
  setMax();
@@ -168,13 +168,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
168
168
  emit("changesize");
169
169
  }
170
170
  function setBoxClass(oldValue = "") {
171
- vue.nextTick(() => {
171
+ vues.nextTick(() => {
172
172
  setClassName.setClassName(refBox.value, props.boxClass, oldValue);
173
173
  });
174
174
  }
175
175
  let stop;
176
- vue.onMounted(() => {
177
- stop = vue.watch(
176
+ vues.onMounted(() => {
177
+ stop = vues.watch(
178
178
  () => props.boxClass,
179
179
  (newValue, oldValue) => {
180
180
  setBoxClass(oldValue);
@@ -182,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
182
182
  { immediate: true }
183
183
  );
184
184
  });
185
- vue.onUnmounted(() => {
185
+ vues.onUnmounted(() => {
186
186
  if (stop) {
187
187
  stop();
188
188
  }
@@ -194,65 +194,65 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
194
194
  ...data.dataExpose
195
195
  });
196
196
  return (_ctx, _cache) => {
197
- return vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
198
- disabled: vue.unref(props).disabled,
199
- to: vue.unref(props).to
197
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.BoxTeleport), {
198
+ disabled: vues.unref(props).disabled,
199
+ to: vues.unref(props).to
200
200
  }, {
201
- default: vue.withCtx(() => [
202
- !isClose.value ? (vue.openBlock(), vue.createElementBlock("div", {
201
+ default: vues.withCtx(() => [
202
+ !isClose.value ? (vues.openBlock(), vues.createElementBlock("div", {
203
203
  key: 0,
204
204
  ref_key: "refBox",
205
205
  ref: refBox,
206
- class: vue.normalizeClass(vue.unref(cs).z())
206
+ class: vues.normalizeClass(vues.unref(cs).z())
207
207
  }, [
208
- vue.unref(props).mask ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxMask), {
208
+ vues.unref(props).mask ? (vues.openBlock(), vues.createBlock(vues.unref(index$3.BoxMask), {
209
209
  key: 0,
210
210
  onClick: onMaskClose,
211
- cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
212
- }, null, 8, ["cssprefix"])) : vue.createCommentVNode("", true),
213
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
211
+ cssprefix: vues.unref(props).cssprefix || vues.unref(cs).z()
212
+ }, null, 8, ["cssprefix"])) : vues.createCommentVNode("", true),
213
+ vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
214
214
  ref_key: "refBody",
215
215
  ref: refBody,
216
- class: vue.normalizeClass(vue.unref(cs).z("body"))
216
+ class: vues.normalizeClass(vues.unref(cs).z("body"))
217
217
  }, [
218
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
219
- vue.createVNode(vue.unref(index$4.BoxTitle), {
218
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).title, {}, () => [
219
+ vues.createVNode(vues.unref(index$4.BoxTitle), {
220
220
  onClose,
221
- title: vue.unref(props).title
221
+ title: vues.unref(props).title
222
222
  }, {
223
- icon: vue.withCtx(() => [
224
- !vue.unref(props).noMin ? (vue.openBlock(), vue.createElementBlock("span", {
223
+ icon: vues.withCtx(() => [
224
+ !vues.unref(props).noMin ? (vues.openBlock(), vues.createElementBlock("span", {
225
225
  key: 0,
226
- title: vue.unref(getLocale)("minh"),
226
+ title: vues.unref(getLocale)("minh"),
227
227
  onClick: onMin,
228
- class: vue.normalizeClass([
229
- vue.unref(cs).z("title-icon"),
230
- vue.unref(cs).z("title-min")
228
+ class: vues.normalizeClass([
229
+ vues.unref(cs).z("title-icon"),
230
+ vues.unref(cs).z("title-min")
231
231
  ])
232
232
  }, [
233
- vue.createVNode(vue.unref(index$5.Icon), null, {
234
- default: vue.withCtx(() => [
235
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-min"], {}, () => [
236
- vue.createVNode(bar.default)
233
+ vues.createVNode(vues.unref(index$5.Icon), null, {
234
+ default: vues.withCtx(() => [
235
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-min"], {}, () => [
236
+ vues.createVNode(bar.default)
237
237
  ])
238
238
  ]),
239
239
  _: 3
240
240
  })
241
- ], 10, _hoisted_1)) : vue.createCommentVNode("", true),
242
- vue.createElementVNode("span", {
243
- title: vue.unref(getLocale)(isMax.value ? "tmaxh" : "maxh"),
241
+ ], 10, _hoisted_1)) : vues.createCommentVNode("", true),
242
+ vues.createElementVNode("span", {
243
+ title: vues.unref(getLocale)(isMax.value ? "tmaxh" : "maxh"),
244
244
  onClick: onMax,
245
- class: vue.normalizeClass([
246
- vue.unref(cs).z("title-icon"),
247
- vue.unref(cs).z("title-max")
245
+ class: vues.normalizeClass([
246
+ vues.unref(cs).z("title-icon"),
247
+ vues.unref(cs).z("title-max")
248
248
  ])
249
249
  }, [
250
- vue.createVNode(vue.unref(index$5.Icon), null, {
251
- default: vue.withCtx(() => [
252
- isMax.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
253
- vue.createVNode(star.default)
254
- ]) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
255
- vue.createVNode(frame.default)
250
+ vues.createVNode(vues.unref(index$5.Icon), null, {
251
+ default: vues.withCtx(() => [
252
+ isMax.value ? vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
253
+ vues.createVNode(star.default)
254
+ ]) : vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
255
+ vues.createVNode(frame.default)
256
256
  ])
257
257
  ]),
258
258
  _: 3
@@ -262,24 +262,24 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
262
262
  _: 3
263
263
  }, 8, ["title"])
264
264
  ]),
265
- vue.createElementVNode("div", {
266
- class: vue.normalizeClass(vue.unref(cs).z("body-div"))
265
+ vues.createElementVNode("div", {
266
+ class: vues.normalizeClass(vues.unref(cs).z("body-div"))
267
267
  }, [
268
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
268
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
269
269
  ], 2),
270
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
270
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer)
271
271
  ], 2)), [
272
- [vue.unref(index$6.default), {
273
- dom: vue.unref(props).drag,
272
+ [vues.unref(index$6.default), {
273
+ dom: vues.unref(props).drag,
274
274
  onMousedown
275
275
  }],
276
- [vue.unref(index$7.default), {
277
- often: vue.unref(props).often,
276
+ [vues.unref(index$7.default), {
277
+ often: vues.unref(props).often,
278
278
  onChange: onChangeAdjust,
279
279
  all: { position: true, getDisabled }
280
280
  }]
281
281
  ])
282
- ], 2)) : vue.createCommentVNode("", true)
282
+ ], 2)) : vues.createCommentVNode("", true)
283
283
  ]),
284
284
  _: 3
285
285
  }, 8, ["disabled", "to"]);
@@ -1291,29 +1291,6 @@
1291
1291
  justify-content: flex-end;
1292
1292
  }
1293
1293
 
1294
- .tabless {
1295
- width: 100%;
1296
- height: var(--tabless-height);
1297
- flex: 1;
1298
- display: flex;
1299
- flex-direction: column;
1300
- }
1301
- .tabless-main {
1302
- display: flex;
1303
- flex-direction: column;
1304
- flex: 1;
1305
- width: 100%;
1306
- }
1307
- .tabless-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1308
- display: none;
1309
- }
1310
- .tabless-paginat {
1311
- overflow: hidden;
1312
- }
1313
- .tabless-paginat .el-pagination {
1314
- justify-content: flex-end;
1315
- }
1316
-
1317
1294
  .tablesv {
1318
1295
  width: 100%;
1319
1296
  min-height: 100px;
@@ -1395,4 +1372,26 @@
1395
1372
  left: 0;
1396
1373
  z-index: 1;
1397
1374
  opacity: 0;
1375
+ }
1376
+
1377
+ .tablesvp {
1378
+ width: 100%;
1379
+ height: var(--tablesvp-height);
1380
+ display: flex;
1381
+ flex-direction: column;
1382
+ }
1383
+ .tablesvp-main {
1384
+ display: flex;
1385
+ flex-direction: column;
1386
+ flex: 1;
1387
+ width: 100%;
1388
+ }
1389
+ .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1390
+ display: none;
1391
+ }
1392
+ .tablesvp-paginat {
1393
+ overflow: hidden;
1394
+ }
1395
+ .tablesvp-paginat .el-pagination {
1396
+ justify-content: flex-end;
1398
1397
  }
@@ -4,9 +4,10 @@ const hasOwn = require("@fangzhongya/utils/basic/object/hasOwn");
4
4
  const vExpose = {
5
5
  name: "expose",
6
6
  created(el, binding, vnode) {
7
- const exposed = vnode.ctx.exposed;
7
+ var _a;
8
+ const exposed = (_a = vnode == null ? void 0 : vnode.ctx) == null ? void 0 : _a.exposed;
8
9
  if (exposed) {
9
- if (binding.instance) {
10
+ if (binding == null ? void 0 : binding.instance) {
10
11
  const instance = binding.instance;
11
12
  let value = binding.value;
12
13
  if (value && typeof value == "string") {
@@ -2,9 +2,10 @@ import { hasOwn } from "@fangzhongya/utils/basic/object/hasOwn";
2
2
  const vExpose = {
3
3
  name: "expose",
4
4
  created(el, binding, vnode) {
5
- const exposed = vnode.ctx.exposed;
5
+ var _a;
6
+ const exposed = (_a = vnode == null ? void 0 : vnode.ctx) == null ? void 0 : _a.exposed;
6
7
  if (exposed) {
7
- if (binding.instance) {
8
+ if (binding == null ? void 0 : binding.instance) {
8
9
  const instance = binding.instance;
9
10
  let value = binding.value;
10
11
  if (value && typeof value == "string") {
@@ -1,6 +1,24 @@
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
+ function _interopNamespaceDefault(e) {
5
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
6
+ if (e) {
7
+ for (const k in e) {
8
+ if (k !== "default") {
9
+ const d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: () => e[k]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ n.default = e;
18
+ return Object.freeze(n);
19
+ }
20
+ const vues__namespace = /* @__PURE__ */ _interopNamespaceDefault(vues);
21
+ const toValue = (vues__namespace == null ? void 0 : vues__namespace.toValue) ?? vues__namespace.unref;
4
22
  const vScroll = {
5
23
  name: "scroll",
6
24
  mounted(el, binding) {
@@ -43,7 +61,7 @@ const vScroll = {
43
61
  if (isf) {
44
62
  fun();
45
63
  } else {
46
- if (!vue.toValue(value.load) && !vue.toValue(value.end)) {
64
+ if (!toValue(value.load) && !toValue(value.end)) {
47
65
  fun();
48
66
  }
49
67
  }
@@ -63,8 +81,8 @@ const vScroll = {
63
81
  adddmm.className = cssname;
64
82
  adddmm.style.display = "none";
65
83
  dom.appendChild(adddmm);
66
- vue.watch(value.load, () => {
67
- const v = vue.toValue(value.load);
84
+ vues.watch(value.load, () => {
85
+ const v = toValue(value.load);
68
86
  if (v) {
69
87
  adddmm.className = cssname + " " + cssname + "-load";
70
88
  adddmm.style.display = "block";
@@ -73,8 +91,8 @@ const vScroll = {
73
91
  adddmm.style.display = "none";
74
92
  }
75
93
  });
76
- vue.watch(value.end, () => {
77
- const v = vue.toValue(value.end);
94
+ vues.watch(value.end, () => {
95
+ const v = toValue(value.end);
78
96
  if (v) {
79
97
  setTimeout(() => {
80
98
  adddmm.className = cssname + " " + cssname + "-end";
@@ -1,4 +1,6 @@
1
- import { toValue, watch } from "vue";
1
+ import * as vues from "vue";
2
+ import { watch } from "vue";
3
+ const toValue = (vues == null ? void 0 : vues.toValue) ?? vues.unref;
2
4
  const vScroll = {
3
5
  name: "scroll",
4
6
  mounted(el, binding) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  require("../../utils/util.cjs");
5
5
  const firstUpper = require("@fangzhongya/utils/basic/string/firstUpper");
6
6
  const splitUpper = require("@fangzhongya/utils/basic/string/splitUpper");
@@ -69,7 +69,7 @@ function eventAlias(key, callback, obj, $event) {
69
69
  callback(obj[v]);
70
70
  }
71
71
  };
72
- const wc = vue.withModifiers(fn, ns);
72
+ const wc = vues.withModifiers(fn, ns);
73
73
  wc();
74
74
  } else {
75
75
  callback(obj[v]);
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const enums = require("../../utils/enums.cjs");
5
5
  const getOnlyKey = require("../../utils/getOnlyKey.cjs");
6
- const globalConfig = vue.ref({});
6
+ const globalConfig = vues.ref({});
7
7
  const { GlobalConfig } = enums.SymbolKey;
8
8
  function useGlobalConfig(key, defaultValue) {
9
- const config = vue.getCurrentInstance() ? vue.inject(getOnlyKey.getOnlyKey(GlobalConfig), globalConfig) : globalConfig;
9
+ const config = vues.getCurrentInstance() ? vues.inject(getOnlyKey.getOnlyKey(GlobalConfig), globalConfig) : globalConfig;
10
10
  if (key) {
11
- return vue.computed(() => {
11
+ return vues.computed(() => {
12
12
  var _a;
13
13
  return ((_a = config.value) == null ? void 0 : _a[key]) ?? defaultValue;
14
14
  });
@@ -32,11 +32,11 @@ function setGlobalConfig(obj, key) {
32
32
  }
33
33
  }
34
34
  function provideGlobalConfig(config, app, global = false) {
35
- const inSetup = !!vue.getCurrentInstance();
35
+ const inSetup = !!vues.getCurrentInstance();
36
36
  const oldConfig = inSetup ? useGlobalConfig() : void 0;
37
- const provideFn = (app == null ? void 0 : app.provide) ?? (inSetup ? vue.provide : void 0);
38
- const context = vue.computed(() => {
39
- const cfg = vue.unref(config);
37
+ const provideFn = (app == null ? void 0 : app.provide) ?? (inSetup ? vues.provide : void 0);
38
+ const context = vues.computed(() => {
39
+ const cfg = vues.unref(config);
40
40
  if (!(oldConfig == null ? void 0 : oldConfig.value)) return cfg;
41
41
  return mergeConfig(oldConfig.value, cfg);
42
42
  });
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  require("../../utils/index.cjs");
5
5
  const humpToLine = require("@fangzhongya/utils/name/humpToLine");
6
6
  const roots = ["class", "style"];
7
- const useInherit = (attrs = vue.useAttrs()) => {
7
+ const useInherit = (attrs = vues.useAttrs()) => {
8
8
  const root = {};
9
9
  const assem = {};
10
10
  Object.keys(attrs).forEach((key) => {
@@ -3,12 +3,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const index = require("../global-config/index.cjs");
4
4
  const zhCn = require("../../locale/zh-cn.cjs");
5
5
  const en = require("../../locale/en.cjs");
6
- const vue = require("vue");
6
+ const vues = require("vue");
7
7
  require("../../utils/util.cjs");
8
8
  const objValue = require("@fangzhongya/utils/basic/object/objValue");
9
9
  function buildTranslator(locale) {
10
10
  return (path, ...values) => {
11
- let v = objValue.getObjValue(path, vue.unref(locale).value) || "";
11
+ let v = objValue.getObjValue(path, vues.unref(locale).value) || "";
12
12
  if (values.length > 0) {
13
13
  values.forEach((z, i) => {
14
14
  v = v.replaceAll("$" + (i + 1), z);
@@ -20,15 +20,15 @@ function buildTranslator(locale) {
20
20
  function buildLocaleAdd(locale, lang) {
21
21
  return (...arr) => {
22
22
  if (lang.value == "zh-cn") {
23
- return arr.map((o) => objValue.getObjValue(o, vue.unref(locale).value)).join("");
23
+ return arr.map((o) => objValue.getObjValue(o, vues.unref(locale).value)).join("");
24
24
  } else {
25
- return arr.map((o) => objValue.getObjValue(o, vue.unref(locale).value)).join(" ");
25
+ return arr.map((o) => objValue.getObjValue(o, vues.unref(locale).value)).join(" ");
26
26
  }
27
27
  };
28
28
  }
29
29
  function buildLocaleContext(locale) {
30
- const lang = vue.computed(() => vue.unref(locale).name);
31
- const localeRef = vue.isRef(locale) ? locale : vue.ref(locale);
30
+ const lang = vues.computed(() => vues.unref(locale).name);
31
+ const localeRef = vues.isRef(locale) ? locale : vues.ref(locale);
32
32
  return {
33
33
  lang,
34
34
  locale: localeRef,
@@ -39,7 +39,7 @@ function buildLocaleContext(locale) {
39
39
  function useLocale() {
40
40
  const locale = index.useGlobalConfig("locale");
41
41
  return buildLocaleContext(
42
- vue.computed(() => {
42
+ vues.computed(() => {
43
43
  if (typeof locale.value == "string") {
44
44
  return {
45
45
  en: en.default,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
5
5
  const config = require("./config.cjs");
6
6
  function createSVG(obj) {
@@ -11,11 +11,11 @@ function createSVG(obj) {
11
11
  obj.height || 24
12
12
  ].join(" ");
13
13
  const name = "icon-" + obj.name;
14
- return vue.defineComponent({
14
+ return vues.defineComponent({
15
15
  name: lineToLargeHump.lineToLargeHump(name),
16
16
  props: {},
17
17
  render() {
18
- return vue.h(
18
+ return vues.h(
19
19
  "svg",
20
20
  {
21
21
  xmlns: "http://www.w3.org/2000/svg",