@fangzhongya/fang-ui 0.0.70 → 0.0.71

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 (158) 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/input/src/index2.cjs +10 -10
  59. package/dist/components/input-array/src/index2.cjs +38 -38
  60. package/dist/components/input-history/src/index2.cjs +48 -48
  61. package/dist/components/input-history/src/util.cjs +4 -4
  62. package/dist/components/input-num/src/index2.cjs +17 -17
  63. package/dist/components/input-number/src/index2.cjs +10 -10
  64. package/dist/components/input-select/src/index2.cjs +51 -51
  65. package/dist/components/input-tag/src/index2.cjs +10 -10
  66. package/dist/components/inputs/src/index2.cjs +17 -17
  67. package/dist/components/keep-com/src/index2.cjs +16 -16
  68. package/dist/components/labels/src/index2.cjs +13 -13
  69. package/dist/components/list/src/index2.cjs +24 -24
  70. package/dist/components/lists/src/index2.cjs +51 -51
  71. package/dist/components/listsp/src/index2.cjs +34 -34
  72. package/dist/components/mention/src/index2.cjs +10 -10
  73. package/dist/components/menus/src/index2.cjs +16 -16
  74. package/dist/components/menus/src/menu-ll2.cjs +11 -11
  75. package/dist/components/no-data/src/index2.cjs +5 -5
  76. package/dist/components/option/src/index2.cjs +9 -9
  77. package/dist/components/option-group/src/index2.cjs +10 -10
  78. package/dist/components/page/src/index2.cjs +77 -77
  79. package/dist/components/page/src/set-column2.cjs +54 -54
  80. package/dist/components/pagination/src/index2.cjs +10 -10
  81. package/dist/components/paging/src/index2.cjs +13 -13
  82. package/dist/components/popconfirm/src/index2.cjs +10 -10
  83. package/dist/components/popover/src/index2.cjs +10 -10
  84. package/dist/components/popup/src/index2.cjs +29 -29
  85. package/dist/components/radio/src/index2.cjs +10 -10
  86. package/dist/components/radio-group/src/index2.cjs +10 -10
  87. package/dist/components/retract/src/index2.cjs +14 -14
  88. package/dist/components/right-key/src/index2.cjs +30 -30
  89. package/dist/components/role-select/src/index2.cjs +38 -38
  90. package/dist/components/seamless-scroll/src/index2.cjs +24 -24
  91. package/dist/components/select/src/index2.cjs +10 -10
  92. package/dist/components/select-dialog/src/index2.cjs +65 -65
  93. package/dist/components/select-popover/src/index2.cjs +42 -42
  94. package/dist/components/select-scroll/src/index2.cjs +30 -30
  95. package/dist/components/selector/src/index2.cjs +39 -39
  96. package/dist/components/selects/src/index2.cjs +20 -20
  97. package/dist/components/slider/src/index2.cjs +10 -10
  98. package/dist/components/stick-div/src/index2.cjs +17 -17
  99. package/dist/components/stick-edge/src/index2.cjs +10 -10
  100. package/dist/components/stick-window/src/index2.cjs +22 -22
  101. package/dist/components/switch/src/index2.cjs +10 -10
  102. package/dist/components/switchs/src/index2.cjs +15 -15
  103. package/dist/components/tab-pane/src/index2.cjs +10 -10
  104. package/dist/components/tables/common/img2.cjs +7 -7
  105. package/dist/components/tables/common/pagin.cjs +16 -16
  106. package/dist/components/tables/common/table-but2.cjs +10 -10
  107. package/dist/components/tables/common/table-color2.cjs +7 -7
  108. package/dist/components/tables/common/table-list2.cjs +9 -9
  109. package/dist/components/tables/common/util.cjs +2 -2
  110. package/dist/components/tables/src/column.cjs +5 -5
  111. package/dist/components/tables/src/columns2.cjs +2 -2
  112. package/dist/components/tables/src/columns3.cjs +2 -2
  113. package/dist/components/tables/src/index2.cjs +29 -29
  114. package/dist/components/tablesp/src/index2.cjs +35 -35
  115. package/dist/components/tabless/src/index2.cjs +48 -48
  116. package/dist/components/tablesv/src/column.cjs +16 -16
  117. package/dist/components/tablesv/src/columns2.cjs +2 -2
  118. package/dist/components/tablesv/src/columns3.cjs +2 -2
  119. package/dist/components/tablesv/src/index2.cjs +30 -30
  120. package/dist/components/tablesvp/src/index2.cjs +30 -30
  121. package/dist/components/tabs/src/index2.cjs +10 -10
  122. package/dist/components/text/src/index2.cjs +8 -8
  123. package/dist/components/time-picker/src/index2.cjs +10 -10
  124. package/dist/components/time-select/src/index2.cjs +10 -10
  125. package/dist/components/tooltip/src/index2.cjs +10 -10
  126. package/dist/components/transfer/src/index2.cjs +10 -10
  127. package/dist/components/tree/src/index2.cjs +10 -10
  128. package/dist/components/tree-select/src/index2.cjs +10 -10
  129. package/dist/components/tree-select-box/src/index2.cjs +29 -29
  130. package/dist/components/upload/src/index2.cjs +10 -10
  131. package/dist/components/user-select/src/index2.cjs +99 -99
  132. package/dist/components/window/src/index2.cjs +61 -61
  133. package/dist/directives/scroll/index.cjs +24 -6
  134. package/dist/directives/scroll/index.js +3 -1
  135. package/dist/hooks/event-aliass/index.cjs +2 -2
  136. package/dist/hooks/global-config/index.cjs +8 -8
  137. package/dist/hooks/inherit/index.cjs +2 -2
  138. package/dist/hooks/locale/index.cjs +7 -7
  139. package/dist/icons/iconify.cjs +3 -3
  140. package/dist/icons/index.css +39 -39
  141. package/dist/icons/index.json +10 -10
  142. package/dist/icons/vue/bar.cjs +3 -3
  143. package/dist/icons/vue/below.cjs +3 -3
  144. package/dist/icons/vue/bicycle.cjs +3 -3
  145. package/dist/icons/vue/bottom-left.cjs +4 -4
  146. package/dist/icons/vue/bottom-right.cjs +4 -4
  147. package/dist/icons/vue/bottom.cjs +3 -3
  148. package/dist/icons/vue/clear.cjs +5 -5
  149. package/dist/icons/vue/close.cjs +3 -3
  150. package/dist/icons/vue/edit.cjs +5 -5
  151. package/dist/icons/vue/frame.cjs +3 -3
  152. package/dist/icons/vue/left.cjs +3 -3
  153. package/dist/icons/vue/right.cjs +3 -3
  154. package/dist/icons/vue/star.cjs +4 -4
  155. package/dist/utils/vues/common.cjs +2 -2
  156. package/package.json +5 -5
  157. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  158. /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$4 = require("../../icon/index.cjs");
5
5
  const clear = require("../../../icons/vue/clear.cjs");
6
6
  const below = require("../../../icons/vue/below.cjs");
@@ -12,23 +12,23 @@ const use = require("../../common/use.cjs");
12
12
  const index$1 = require("../../../hooks/cssname/index.cjs");
13
13
  const getCss = require("@fangzhongya/utils/css/getCss");
14
14
  const _hoisted_1 = ["onClick"];
15
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  ...{ inheritAttrs: false },
17
17
  __name: "index",
18
18
  props: data.dataProps,
19
19
  emits: data.dataEmits,
20
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
- const attrs = index.useInherit(vue.useAttrs());
22
- const slots = vue.useSlots();
21
+ const attrs = index.useInherit(vues.useAttrs());
22
+ const slots = vues.useSlots();
23
23
  const cs = index$1.useCssName("input-select");
24
24
  const props = __props;
25
25
  const emit = __emit;
26
- const visible = vue.ref(false);
27
- const width = vue.ref(200);
28
- const refInput = vue.ref();
29
- const isfocus = vue.ref(false);
30
- const isFiletr = vue.ref(false);
31
- const value = vue.computed({
26
+ const visible = vues.ref(false);
27
+ const width = vues.ref(200);
28
+ const refInput = vues.ref();
29
+ const isfocus = vues.ref(false);
30
+ const isFiletr = vues.ref(false);
31
+ const value = vues.computed({
32
32
  get() {
33
33
  let v = props.modelValue;
34
34
  return v;
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
37
  emit("update:modelValue", value2);
38
38
  }
39
39
  });
40
- const options = vue.computed(() => {
40
+ const options = vues.computed(() => {
41
41
  if (props.filterable && value.value && isFiletr.value) {
42
42
  return props.options.filter((o) => {
43
43
  return (use.useVueValue(o, props.prop) + "").includes(
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
47
47
  }
48
48
  return props.options;
49
49
  });
50
- const isclear = vue.computed(() => {
50
+ const isclear = vues.computed(() => {
51
51
  if (props.readonly) {
52
52
  return false;
53
53
  }
@@ -111,89 +111,89 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
111
111
  visible.value = !visible.value;
112
112
  }
113
113
  }
114
- vue.onMounted(() => {
114
+ vues.onMounted(() => {
115
115
  setWidth();
116
116
  });
117
117
  __expose({
118
118
  ...data.dataExpose
119
119
  });
120
120
  return (_ctx, _cache) => {
121
- return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElPopover), {
121
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElPopover), {
122
122
  trigger: "click",
123
- "popper-class": vue.unref(cs).z("popper"),
123
+ "popper-class": vues.unref(cs).z("popper"),
124
124
  visible: visible.value,
125
125
  disabled: props.disabled || !(options.value && options.value.length > 0),
126
126
  width: width.value
127
127
  }, {
128
- reference: vue.withCtx(() => [
129
- vue.createElementVNode("div", vue.mergeProps({
130
- class: [vue.unref(cs).z(), vue.unref(cs).is("disabled", props.disabled)]
131
- }, vue.unref(attrs).root, { onClick }), [
132
- vue.createVNode(vue.unref(index$3.ElInput), vue.mergeProps({
128
+ reference: vues.withCtx(() => [
129
+ vues.createElementVNode("div", vues.mergeProps({
130
+ class: [vues.unref(cs).z(), vues.unref(cs).is("disabled", props.disabled)]
131
+ }, vues.unref(attrs).root, { onClick }), [
132
+ vues.createVNode(vues.unref(index$3.ElInput), vues.mergeProps({
133
133
  ref_key: "refInput",
134
134
  ref: refInput,
135
135
  modelValue: value.value,
136
136
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
137
- }, vue.unref(attrs).assem, {
137
+ }, vues.unref(attrs).assem, {
138
138
  disabled: props.disabled,
139
139
  readonly: props.readonly,
140
140
  onInput,
141
141
  onFocus,
142
142
  onBlur,
143
143
  clearable: false
144
- }), vue.createSlots({
145
- suffix: vue.withCtx(() => [
146
- isclear.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.Icon), {
144
+ }), vues.createSlots({
145
+ suffix: vues.withCtx(() => [
146
+ isclear.value ? (vues.openBlock(), vues.createBlock(vues.unref(index$4.Icon), {
147
147
  key: 0,
148
- class: vue.normalizeClass([vue.unref(cs).z("select-icon"), "clear"]),
149
- onClick: vue.withModifiers(onClear, ["stop"])
148
+ class: vues.normalizeClass([vues.unref(cs).z("select-icon"), "clear"]),
149
+ onClick: vues.withModifiers(onClear, ["stop"])
150
150
  }, {
151
- default: vue.withCtx(() => [
152
- vue.createVNode(clear.default)
151
+ default: vues.withCtx(() => [
152
+ vues.createVNode(clear.default)
153
153
  ]),
154
154
  _: 1
155
- }, 8, ["class"])) : vue.createCommentVNode("", true),
156
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).suffix),
157
- vue.createElementVNode("span", {
158
- class: vue.normalizeClass([
159
- vue.unref(cs).z("select-icon"),
160
- vue.unref(cs).is("reverse", visible.value)
155
+ }, 8, ["class"])) : vues.createCommentVNode("", true),
156
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).suffix),
157
+ vues.createElementVNode("span", {
158
+ class: vues.normalizeClass([
159
+ vues.unref(cs).z("select-icon"),
160
+ vues.unref(cs).is("reverse", visible.value)
161
161
  ])
162
162
  }, [
163
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).iconSelect, {}, () => [
164
- vue.createVNode(below.default)
163
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).iconSelect, {}, () => [
164
+ vues.createVNode(below.default)
165
165
  ])
166
166
  ], 2)
167
167
  ]),
168
168
  _: 2
169
169
  }, [
170
- vue.renderList(Object.keys(vue.unref(slots)), (k, index2) => {
170
+ vues.renderList(Object.keys(vues.unref(slots)), (k, index2) => {
171
171
  return {
172
172
  name: k,
173
- fn: vue.withCtx(() => [
174
- vue.renderSlot(_ctx.$slots, k)
173
+ fn: vues.withCtx(() => [
174
+ vues.renderSlot(_ctx.$slots, k)
175
175
  ])
176
176
  };
177
177
  })
178
178
  ]), 1040, ["modelValue", "disabled", "readonly"])
179
179
  ], 16)
180
180
  ]),
181
- default: vue.withCtx(() => [
182
- vue.createElementVNode("div", {
183
- class: vue.normalizeClass(vue.unref(cs).z("select"))
181
+ default: vues.withCtx(() => [
182
+ vues.createElementVNode("div", {
183
+ class: vues.normalizeClass(vues.unref(cs).z("select"))
184
184
  }, [
185
- vue.createElementVNode("ul", {
186
- class: vue.normalizeClass(vue.unref(cs).z("select-ul"))
185
+ vues.createElementVNode("ul", {
186
+ class: vues.normalizeClass(vues.unref(cs).z("select-ul"))
187
187
  }, [
188
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(options.value, (item) => {
189
- return vue.openBlock(), vue.createElementBlock("li", {
190
- class: vue.normalizeClass([
191
- vue.unref(cs).z("select-li"),
192
- vue.unref(cs).is("disabled", item == null ? void 0 : item.disabled),
188
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(options.value, (item) => {
189
+ return vues.openBlock(), vues.createElementBlock("li", {
190
+ class: vues.normalizeClass([
191
+ vues.unref(cs).z("select-li"),
192
+ vues.unref(cs).is("disabled", item == null ? void 0 : item.disabled),
193
193
  getSelected(item)
194
194
  ]),
195
- onClick: vue.withModifiers(($event) => onClickSelect(item), ["stop"])
196
- }, vue.toDisplayString(vue.unref(use.useVueValue)(item, props.label)), 11, _hoisted_1);
195
+ onClick: vues.withModifiers(($event) => onClickSelect(item), ["stop"])
196
+ }, vues.toDisplayString(vues.unref(use.useVueValue)(item, props.label)), 11, _hoisted_1);
197
197
  }), 256))
198
198
  ], 2)
199
199
  ], 2)
@@ -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/input-tag/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("input-tag");
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.ElInputTag), 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.ElInputTag), 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,27 +1,27 @@
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$4 = require("../../../directives/expose/index.cjs");
5
5
  const index$3 = require("element-plus/es/components/input/index");
6
6
  const data = require("./data.cjs");
7
7
  const index$2 = require("../../../hooks/cssname/index.cjs");
8
8
  const index$1 = require("../../../hooks/inherit/index.cjs");
9
9
  const index = require("../../../hooks/locale/index.cjs");
10
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
11
11
  ...{ inheritAttrs: false },
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 attrs = index$1.useInherit(vue.useAttrs());
17
+ const attrs = index$1.useInherit(vues.useAttrs());
18
18
  const cs = index$2.useCssName("inputs");
19
19
  const props = __props;
20
- const slots = vue.useSlots();
20
+ const slots = vues.useSlots();
21
21
  const emit = __emit;
22
- const refEl = vue.ref();
22
+ const refEl = vues.ref();
23
23
  const once = setOnce();
24
- const placeholder = vue.computed(() => {
24
+ const placeholder = vues.computed(() => {
25
25
  if (typeof props.placeholder == "undefined") {
26
26
  return getLocale("form.import");
27
27
  } else {
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
32
32
  }
33
33
  }
34
34
  });
35
- const value = vue.computed({
35
+ const value = vues.computed({
36
36
  get() {
37
37
  let v = props.modelValue;
38
38
  return v;
@@ -54,26 +54,26 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54
54
  el: refEl
55
55
  });
56
56
  return (_ctx, _cache) => {
57
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
57
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
58
58
  ref_key: "refEl",
59
59
  ref: refEl,
60
- class: vue.unref(cs).z()
61
- }, vue.unref(attrs).root), [
62
- vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$3.ElInput), vue.mergeProps({
63
- class: vue.unref(cs).z("input"),
60
+ class: vues.unref(cs).z()
61
+ }, vues.unref(attrs).root), [
62
+ vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$3.ElInput), vues.mergeProps({
63
+ class: vues.unref(cs).z("input"),
64
64
  modelValue: value.value,
65
65
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
66
- }, vue.unref(attrs).assem, { placeholder: placeholder.value }), vue.createSlots({ _: 2 }, [
67
- vue.renderList(Object.keys(vue.unref(slots)), (k, index2) => {
66
+ }, vues.unref(attrs).assem, { placeholder: placeholder.value }), vues.createSlots({ _: 2 }, [
67
+ vues.renderList(Object.keys(vues.unref(slots)), (k, index2) => {
68
68
  return {
69
69
  name: k,
70
- fn: vue.withCtx(() => [
71
- vue.renderSlot(_ctx.$slots, k)
70
+ fn: vues.withCtx(() => [
71
+ vues.renderSlot(_ctx.$slots, k)
72
72
  ])
73
73
  };
74
74
  })
75
75
  ]), 1040, ["class", "modelValue", "placeholder"])), [
76
- [vue.unref(index$4.default), {}]
76
+ [vues.unref(index$4.default), {}]
77
77
  ])
78
78
  ], 16);
79
79
  };
@@ -1,22 +1,22 @@
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$2 = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/locale/index.cjs");
7
7
  const index = require("../../../hooks/inherit/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,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = index.useInherit(vue.useAttrs());
13
+ const attrs = index.useInherit(vues.useAttrs());
14
14
  const { getLocale } = index$1.useLocale();
15
15
  const cs = index$2.useCssName("keep-com");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const hideComs = vue.reactive([]);
19
- const value = vue.computed(() => {
18
+ const hideComs = vues.reactive([]);
19
+ const value = vues.computed(() => {
20
20
  return props.is;
21
21
  });
22
22
  const sethideComs = () => {
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
25
  if (!hideComs.map((o) => o.name).includes(name)) {
26
26
  hideComs.push({
27
27
  name,
28
- component: vue.h(vue.resolveComponent(name), {
28
+ component: vues.h(vues.resolveComponent(name), {
29
29
  ...attrs.assem,
30
30
  style: {
31
31
  display: value.value != name ? "block" : "none"
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
35
35
  }
36
36
  }
37
37
  };
38
- vue.watch(
38
+ vues.watch(
39
39
  [
40
40
  () => props.is,
41
41
  () => props.hides,
@@ -51,24 +51,24 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
51
51
  deep: true
52
52
  }
53
53
  );
54
- const HideComponent = vue.defineComponent({
54
+ const HideComponent = vues.defineComponent({
55
55
  props: {},
56
56
  setup() {
57
- return vue.h("div", {}, hideComs);
57
+ return vues.h("div", {}, hideComs);
58
58
  }
59
59
  });
60
60
  __expose({
61
61
  ...data.dataExpose
62
62
  });
63
63
  return (_ctx, _cache) => {
64
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
65
- class: vue.unref(cs).z()
66
- }, vue.unref(attrs).root), [
67
- vue.withDirectives(vue.createVNode(vue.unref(HideComponent), null, null, 512), [
68
- [vue.vShow, props.hides.includes(props.is)]
64
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
65
+ class: vues.unref(cs).z()
66
+ }, vues.unref(attrs).root), [
67
+ vues.withDirectives(vues.createVNode(vues.unref(HideComponent), null, null, 512), [
68
+ [vues.vShow, props.hides.includes(props.is)]
69
69
  ]),
70
- vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(props.is), vue.normalizeProps(vue.guardReactiveProps(vue.unref(attrs).assem)), null, 16)), [
71
- [vue.vShow, !props.hides.includes(props.is)]
70
+ vues.withDirectives((vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(props.is), vues.normalizeProps(vues.guardReactiveProps(vues.unref(attrs).assem)), null, 16)), [
71
+ [vues.vShow, !props.hides.includes(props.is)]
72
72
  ])
73
73
  ], 16);
74
74
  };
@@ -1,13 +1,13 @@
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$2 = require("../../checks/index.cjs");
5
5
  const index$1 = require("../../selects/index.cjs");
6
6
  const use = require("../../common/use.cjs");
7
7
  const index = require("../../../hooks/cssname/index.cjs");
8
8
  const data = require("./data.cjs");
9
9
  const wholeClass = "labels-li-whole";
10
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
11
11
  __name: "index",
12
12
  props: data.dataProps,
13
13
  emits: data.dataEmits,
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
15
  const cs = index.useCssName("labels");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const comps = vue.computed(() => {
18
+ const comps = vues.computed(() => {
19
19
  if (props.select) {
20
20
  return index$1.Selects;
21
21
  } else {
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36
36
  }
37
37
  }
38
38
  const wholeValue = "__Symbol('whole')__" + (/* @__PURE__ */ new Date()).valueOf();
39
- const options = vue.computed(() => {
39
+ const options = vues.computed(() => {
40
40
  const opts = [...props.options];
41
41
  if (!props.nowhole) {
42
42
  const obj = {
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
52
52
  }
53
53
  return opts;
54
54
  });
55
- const valueMultiple = vue.computed({
55
+ const valueMultiple = vues.computed({
56
56
  get() {
57
57
  if (value.value !== void 0) {
58
58
  if (value.value.length === props.options.filter((item) => !item.disabled).length) {
@@ -95,20 +95,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
95
95
  }
96
96
  }
97
97
  return (_ctx, _cache) => {
98
- return vue.openBlock(), vue.createElementBlock("div", {
99
- class: vue.normalizeClass([vue.unref(cs).z(), vue.unref(cs).is("compact", props.compact)])
98
+ return vues.openBlock(), vues.createElementBlock("div", {
99
+ class: vues.normalizeClass([vues.unref(cs).z(), vues.unref(cs).is("compact", props.compact)])
100
100
  }, [
101
- vue.unref(multiple) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(comps.value), vue.mergeProps({ key: 0 }, props, {
102
- class: [vue.unref(cs).z("whole")],
101
+ vues.unref(multiple) ? (vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(comps.value), vues.mergeProps({ key: 0 }, props, {
102
+ class: [vues.unref(cs).z("whole")],
103
103
  options: options.value,
104
104
  modelValue: valueMultiple.value,
105
105
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueMultiple.value = $event),
106
- multiple: vue.unref(multiple),
106
+ multiple: vues.unref(multiple),
107
107
  onClickMultiple: onClickWholes
108
- }), null, 16, ["class", "options", "modelValue", "multiple"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(comps.value), vue.mergeProps({ key: 1 }, props, {
108
+ }), null, 16, ["class", "options", "modelValue", "multiple"])) : (vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(comps.value), vues.mergeProps({ key: 1 }, props, {
109
109
  options: options.value,
110
- modelValue: vue.unref(value),
111
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(value) ? value.value = $event : null)
110
+ modelValue: vues.unref(value),
111
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vues.isRef(value) ? value.value = $event : null)
112
112
  }), null, 16, ["options", "modelValue"]))
113
113
  ], 2);
114
114
  };
@@ -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 util = require("./util.cjs");
5
5
  const css = require("../../common/css.cjs");
6
6
  const use = require("../../common/use.cjs");
@@ -12,7 +12,7 @@ const img_vue_vue_type_script_setup_true_lang = require("../../tables/common/img
12
12
  const Components = {
13
13
  Img: img_vue_vue_type_script_setup_true_lang.default
14
14
  };
15
- const _sfc_main = vue.defineComponent({
15
+ const _sfc_main = vues.defineComponent({
16
16
  emits: data.dataEmits,
17
17
  components: Components,
18
18
  expose: data.dataExpose,
@@ -20,9 +20,9 @@ const _sfc_main = vue.defineComponent({
20
20
  setup(props, { emit, slots }) {
21
21
  const compons$1 = compons.getCompons(props.compons);
22
22
  const cs = index.useCssName("list");
23
- const isfocus = vue.ref(false);
24
- const rowObj = vue.ref();
25
- const borderColor = vue.computed(() => {
23
+ const isfocus = vues.ref(false);
24
+ const rowObj = vues.ref();
25
+ const borderColor = vues.computed(() => {
26
26
  const d = "#ccc";
27
27
  if (typeof props.border === "boolean") {
28
28
  return d;
@@ -67,19 +67,19 @@ const _sfc_main = vue.defineComponent({
67
67
  }
68
68
  }
69
69
  if (is) {
70
- arr.push(vue.h("tr", {}, trs));
70
+ arr.push(vues.h("tr", {}, trs));
71
71
  trs = [];
72
72
  }
73
73
  trs.push(...getTd(obj, index2));
74
74
  if (lin >= props.column) {
75
- arr.push(vue.h("tr", {}, trs));
75
+ arr.push(vues.h("tr", {}, trs));
76
76
  trs = [];
77
77
  lin = 0;
78
78
  }
79
79
  }
80
80
  });
81
81
  if (trs.length > 0) {
82
- arr.push(vue.h("tr", {}, trs));
82
+ arr.push(vues.h("tr", {}, trs));
83
83
  }
84
84
  return arr;
85
85
  };
@@ -105,9 +105,9 @@ const _sfc_main = vue.defineComponent({
105
105
  }
106
106
  }
107
107
  if (is) {
108
- arr.push(vue.h("tr", {}, trls));
108
+ arr.push(vues.h("tr", {}, trls));
109
109
  trls = [];
110
- arr.push(vue.h("tr", {}, trvs));
110
+ arr.push(vues.h("tr", {}, trvs));
111
111
  trvs = [];
112
112
  }
113
113
  if (obj.isdiv) {
@@ -117,8 +117,8 @@ const _sfc_main = vue.defineComponent({
117
117
  trvs.push(getValue(obj, index2));
118
118
  }
119
119
  if (lin >= props.column) {
120
- arr.push(vue.h("tr", {}, trls));
121
- arr.push(vue.h("tr", {}, trvs));
120
+ arr.push(vues.h("tr", {}, trls));
121
+ arr.push(vues.h("tr", {}, trvs));
122
122
  trls = [];
123
123
  trvs = [];
124
124
  lin = 0;
@@ -126,13 +126,13 @@ const _sfc_main = vue.defineComponent({
126
126
  }
127
127
  });
128
128
  if (trls.length > 0) {
129
- arr.push(vue.h("tr", {}, trls));
130
- arr.push(vue.h("tr", {}, trvs));
129
+ arr.push(vues.h("tr", {}, trls));
130
+ arr.push(vues.h("tr", {}, trvs));
131
131
  }
132
132
  return arr;
133
133
  };
134
134
  const getlabel = (obj, index2) => {
135
- return vue.h(
135
+ return vues.h(
136
136
  "th",
137
137
  {
138
138
  style: {
@@ -152,7 +152,7 @@ const _sfc_main = vue.defineComponent({
152
152
  }
153
153
  },
154
154
  [
155
- vue.h(
155
+ vues.h(
156
156
  "span",
157
157
  {
158
158
  class: cs.z("table-label")
@@ -175,7 +175,7 @@ const _sfc_main = vue.defineComponent({
175
175
  const getChildrenValue = (obj, index2) => {
176
176
  if (obj.children) {
177
177
  return [
178
- vue.h(
178
+ vues.h(
179
179
  "div",
180
180
  {
181
181
  class: cs.z("table-children")
@@ -187,7 +187,7 @@ const _sfc_main = vue.defineComponent({
187
187
  ];
188
188
  } else {
189
189
  return [
190
- vue.h(
190
+ vues.h(
191
191
  "span",
192
192
  {
193
193
  class: cs.z("table-value")
@@ -209,7 +209,7 @@ const _sfc_main = vue.defineComponent({
209
209
  }
210
210
  };
211
211
  const getValue = (obj, index2, isRow) => {
212
- return vue.h(
212
+ return vues.h(
213
213
  "td",
214
214
  {
215
215
  style: css.setStyles(obj, props.value, props),
@@ -237,14 +237,14 @@ const _sfc_main = vue.defineComponent({
237
237
  }
238
238
  if (props.labelPosition == "auto") {
239
239
  return [
240
- vue.h(
240
+ vues.h(
241
241
  "td",
242
242
  {
243
243
  colspan: setColspan(obj),
244
244
  class: cs.is("whole", obj.whole)
245
245
  },
246
246
  [
247
- vue.h(
247
+ vues.h(
248
248
  "div",
249
249
  {
250
250
  class: cs.z("table-auto")
@@ -280,7 +280,7 @@ const _sfc_main = vue.defineComponent({
280
280
  };
281
281
  const renderValue = () => {
282
282
  if (props.list && props.list.length > 0) {
283
- return vue.h(
283
+ return vues.h(
284
284
  "div",
285
285
  {
286
286
  class: cs.z("div"),
@@ -294,7 +294,7 @@ const _sfc_main = vue.defineComponent({
294
294
  // },
295
295
  },
296
296
  [
297
- vue.h(
297
+ vues.h(
298
298
  "table",
299
299
  {
300
300
  class: [
@@ -318,7 +318,7 @@ const _sfc_main = vue.defineComponent({
318
318
  return "";
319
319
  }
320
320
  };
321
- vue.onMounted(() => {
321
+ vues.onMounted(() => {
322
322
  if (window) {
323
323
  window.addEventListener("click", () => {
324
324
  isfocus.value = false;