@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 Draggable = require("vuedraggable");
5
5
  const data = require("../../forms/src/data.cjs");
6
6
  const index$5 = require("../../forms-div/index.cjs");
@@ -14,7 +14,7 @@ const setup = require("../../forms/src/setup.cjs");
14
14
  const index$7 = require("../../../directives/adjust/index.cjs");
15
15
  const index = require("../../../hooks/locale/index.cjs");
16
16
  const _hoisted_1 = ["onClick", "data-key"];
17
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
18
18
  ...{ inheritAttrs: false },
19
19
  __name: "index",
20
20
  props: {
@@ -36,12 +36,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36
36
  ],
37
37
  setup(__props, { expose: __expose, emit: __emit }) {
38
38
  const { getLocale } = index.useLocale();
39
- const slots = vue.useSlots();
40
- const attrs = index$1.useInherit(vue.useAttrs());
39
+ const slots = vues.useSlots();
40
+ const attrs = index$1.useInherit(vues.useAttrs());
41
41
  const props = __props;
42
42
  const emit = __emit;
43
43
  const cs = index$2.useCssName("forms");
44
- const refForm = vue.ref();
44
+ const refForm = vues.ref();
45
45
  const {
46
46
  buts,
47
47
  styles,
@@ -55,15 +55,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
55
55
  dataForm,
56
56
  validate
57
57
  } = setup.setUp(props, emit, cs, refForm, getLocale);
58
- const refEl = vue.ref();
59
- const drag = vue.ref(false);
58
+ const refEl = vues.ref();
59
+ const drag = vues.ref(false);
60
60
  const dragOptions = {
61
61
  animation: 200,
62
62
  group: "description",
63
63
  disabled: false,
64
64
  ghostClass: "ghost"
65
65
  };
66
- const lists = vue.computed({
66
+ const lists = vues.computed({
67
67
  get() {
68
68
  return props.list;
69
69
  },
@@ -98,42 +98,42 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
98
98
  validateField
99
99
  });
100
100
  return (_ctx, _cache) => {
101
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
101
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
102
102
  ref_key: "refEl",
103
103
  ref: refEl,
104
- class: [vue.unref(cs).z(), "drag"],
105
- style: vue.unref(cs).vdo({
104
+ class: [vues.unref(cs).z(), "drag"],
105
+ style: vues.unref(cs).vdo({
106
106
  itemBottom: _ctx.itemBottom,
107
107
  inlineRight: _ctx.inlineRight,
108
108
  queryInterval: _ctx.queryInterval,
109
109
  rowHeight: _ctx.rowHeight
110
110
  })
111
- }, vue.unref(attrs).root), [
112
- vue.createElementVNode("div", {
113
- class: vue.normalizeClass([
114
- vue.unref(cs).z("div"),
115
- vue.unref(cs).zis("div", "inline", props.inline),
116
- vue.unref(cs).zis("div", "box", props.inlineBox),
117
- vue.unref(cs).zis("div", "query", props.query),
118
- vue.unref(cs).zis("div", "column", props.column > 1)
111
+ }, vues.unref(attrs).root), [
112
+ vues.createElementVNode("div", {
113
+ class: vues.normalizeClass([
114
+ vues.unref(cs).z("div"),
115
+ vues.unref(cs).zis("div", "inline", props.inline),
116
+ vues.unref(cs).zis("div", "box", props.inlineBox),
117
+ vues.unref(cs).zis("div", "query", props.query),
118
+ vues.unref(cs).zis("div", "column", props.column > 1)
119
119
  ]),
120
- style: vue.normalizeStyle(vue.unref(styles))
120
+ style: vues.normalizeStyle(vues.unref(styles))
121
121
  }, [
122
- (vue.openBlock(), vue.createBlock(vue.unref(index$3.ElForm), vue.mergeProps(vue.unref(attrs).assem, {
122
+ (vues.openBlock(), vues.createBlock(vues.unref(index$3.ElForm), vues.mergeProps(vues.unref(attrs).assem, {
123
123
  key: props.list.length,
124
- class: [vue.unref(cs).z("elf"), props.labelPosition],
125
- model: vue.unref(dataForm),
124
+ class: [vues.unref(cs).z("elf"), props.labelPosition],
125
+ model: vues.unref(dataForm),
126
126
  disabled: props.disabled,
127
- rules: vue.unref(dataRules),
127
+ rules: vues.unref(dataRules),
128
128
  "label-width": props.labelPosition == "auto" ? "" : props.labelWidth,
129
129
  "label-position": props.labelPosition == "auto" ? void 0 : props.labelPosition,
130
130
  ref_key: "refForm",
131
131
  ref: refForm,
132
- onSubmit: _cache[3] || (_cache[3] = vue.withModifiers(() => {
132
+ onSubmit: _cache[3] || (_cache[3] = vues.withModifiers(() => {
133
133
  }, ["prevent"]))
134
134
  }), {
135
- default: vue.withCtx(() => [
136
- vue.createVNode(vue.unref(Draggable), vue.mergeProps(dragOptions, {
135
+ default: vues.withCtx(() => [
136
+ vues.createVNode(vues.unref(Draggable), vues.mergeProps(dragOptions, {
137
137
  onStart,
138
138
  onEnd,
139
139
  modelValue: lists.value,
@@ -141,103 +141,103 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
141
141
  "item-key": (key) => key,
142
142
  handle: ".handle"
143
143
  }), {
144
- header: vue.withCtx(() => [
145
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).header)
144
+ header: vues.withCtx(() => [
145
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).header)
146
146
  ]),
147
- item: vue.withCtx(({ element, index: index2 }) => [
148
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
149
- class: vue.normalizeClass(["handle", [
150
- vue.unref(cs).z("li"),
151
- vue.unref(cs).is("div", element == null ? void 0 : element.isdiv),
147
+ item: vues.withCtx(({ element, index: index2 }) => [
148
+ vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
149
+ class: vues.normalizeClass(["handle", [
150
+ vues.unref(cs).z("li"),
151
+ vues.unref(cs).is("div", element == null ? void 0 : element.isdiv),
152
152
  element == null ? void 0 : element.class,
153
153
  props.itemClass,
154
- vue.unref(cs).is("hover", props.index == index2)
154
+ vues.unref(cs).is("hover", props.index == index2)
155
155
  ]]),
156
- style: vue.normalizeStyle(vue.unref(setStyles)(element)),
157
- onClick: vue.withModifiers(($event) => onClickHandle(element, index2), ["stop"]),
156
+ style: vues.normalizeStyle(vues.unref(setStyles)(element)),
157
+ onClick: vues.withModifiers(($event) => onClickHandle(element, index2), ["stop"]),
158
158
  "data-key": index2
159
159
  }, [
160
- (element == null ? void 0 : element.isdiv) ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.FormsDiv), {
160
+ (element == null ? void 0 : element.isdiv) ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.FormsDiv), {
161
161
  key: 0,
162
162
  listobj: element,
163
163
  optionss: props.options,
164
- valueobj: vue.unref(dataForm),
165
- modelValue: vue.unref(dataForm),
166
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(dataForm) ? dataForm.value = $event : null)
167
- }, vue.createSlots({ _: 2 }, [
168
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
164
+ valueobj: vues.unref(dataForm),
165
+ modelValue: vues.unref(dataForm),
166
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vues.isRef(dataForm) ? dataForm.value = $event : null)
167
+ }, vues.createSlots({ _: 2 }, [
168
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
169
169
  return {
170
170
  name: k,
171
- fn: vue.withCtx((scope) => [
172
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
171
+ fn: vues.withCtx((scope) => [
172
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
173
173
  ])
174
174
  };
175
175
  })
176
- ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$6.FormsItem), {
176
+ ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])) : (vues.openBlock(), vues.createBlock(vues.unref(index$6.FormsItem), {
177
177
  key: 1,
178
178
  listobj: element,
179
179
  optionss: props.options,
180
- valueobj: vue.unref(dataForm),
181
- modelValue: vue.unref(dataForm),
182
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(dataForm) ? dataForm.value = $event : null)
183
- }, vue.createSlots({ _: 2 }, [
184
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
180
+ valueobj: vues.unref(dataForm),
181
+ modelValue: vues.unref(dataForm),
182
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vues.isRef(dataForm) ? dataForm.value = $event : null)
183
+ }, vues.createSlots({ _: 2 }, [
184
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
185
185
  return {
186
186
  name: k,
187
- fn: vue.withCtx((scope) => [
188
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
187
+ fn: vues.withCtx((scope) => [
188
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
189
189
  ])
190
190
  };
191
191
  })
192
192
  ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"]))
193
193
  ], 14, _hoisted_1)), [
194
- [vue.unref(index$7.default), {
194
+ [vues.unref(index$7.default), {
195
195
  right: true,
196
196
  onChange: (obj, data2) => {
197
197
  onChangeAdjust(element, index2, obj, data2);
198
198
  }
199
199
  }],
200
- [vue.vShow, !vue.unref(use.useHide)(element, vue.unref(dataForm))]
200
+ [vues.vShow, !vues.unref(use.useHide)(element, vues.unref(dataForm))]
201
201
  ])
202
202
  ]),
203
- footer: vue.withCtx(() => [
204
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer),
205
- vue.unref(buts) && vue.unref(buts).length > 0 ? (vue.openBlock(), vue.createElementBlock("div", {
203
+ footer: vues.withCtx(() => [
204
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer),
205
+ vues.unref(buts) && vues.unref(buts).length > 0 ? (vues.openBlock(), vues.createElementBlock("div", {
206
206
  key: 0,
207
- class: vue.normalizeClass([vue.unref(cs).z("li"), vue.unref(cs).z("buts")]),
208
- style: vue.normalizeStyle(vue.unref(setStyles)({}))
207
+ class: vues.normalizeClass([vues.unref(cs).z("li"), vues.unref(cs).z("buts")]),
208
+ style: vues.normalizeStyle(vues.unref(setStyles)({}))
209
209
  }, [
210
- vue.createVNode(vue.unref(index$3.ElFormItem), {
210
+ vues.createVNode(vues.unref(index$3.ElFormItem), {
211
211
  "label-width": props.butLeft
212
212
  }, {
213
- default: vue.withCtx(() => [
214
- vue.createElementVNode("div", {
215
- style: vue.normalizeStyle({
213
+ default: vues.withCtx(() => [
214
+ vues.createElementVNode("div", {
215
+ style: vues.normalizeStyle({
216
216
  height: props.butHeight ?? props.rowHeight
217
217
  }),
218
- class: vue.normalizeClass(vue.unref(cs).z("buts-div"))
218
+ class: vues.normalizeClass(vues.unref(cs).z("buts-div"))
219
219
  }, [
220
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(buts), (item, index2) => {
221
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
222
- !vue.unref(use.useHide)(item, vue.unref(dataForm)) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.ElButton), vue.mergeProps({
220
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(vues.unref(buts), (item, index2) => {
221
+ return vues.openBlock(), vues.createElementBlock(vues.Fragment, { key: index2 }, [
222
+ !vues.unref(use.useHide)(item, vues.unref(dataForm)) ? (vues.openBlock(), vues.createBlock(vues.unref(index$4.ElButton), vues.mergeProps({
223
223
  key: 0,
224
224
  ref_for: true
225
225
  }, item, {
226
226
  disabled: item.disabled ?? props.disabled,
227
- onClick: vue.withModifiers(($event) => vue.unref(onClickButs)(item, index2, $event), ["stop"])
227
+ onClick: vues.withModifiers(($event) => vues.unref(onClickButs)(item, index2, $event), ["stop"])
228
228
  }), {
229
- default: vue.withCtx(() => [
230
- vue.createTextVNode(vue.toDisplayString(item.label), 1)
229
+ default: vues.withCtx(() => [
230
+ vues.createTextVNode(vues.toDisplayString(item.label), 1)
231
231
  ]),
232
232
  _: 2
233
- }, 1040, ["disabled", "onClick"])) : vue.createCommentVNode("", true)
233
+ }, 1040, ["disabled", "onClick"])) : vues.createCommentVNode("", true)
234
234
  ], 64);
235
235
  }), 128))
236
236
  ], 6)
237
237
  ]),
238
238
  _: 1
239
239
  }, 8, ["label-width"])
240
- ], 6)) : vue.createCommentVNode("", true)
240
+ ], 6)) : vues.createCommentVNode("", true)
241
241
  ]),
242
242
  _: 3
243
243
  }, 16, ["modelValue", "item-key"])
@@ -1,26 +1,26 @@
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$3 = require("../../forms-div/index.cjs");
6
6
  const index$2 = require("element-plus/es/components/form/index");
7
7
  const index$1 = require("../../../hooks/cssname/index.cjs");
8
8
  const index = require("../../../hooks/inherit/index.cjs");
9
9
  const label = require("./label.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
- const slots = vue.useSlots();
17
- const attrs = index.useInherit(vue.useAttrs());
16
+ const slots = vues.useSlots();
17
+ const attrs = index.useInherit(vues.useAttrs());
18
18
  const prs = __props;
19
19
  const props = prs.listobj;
20
20
  const emit = __emit;
21
21
  const cs = index$1.useCssName("forms-item");
22
- const form = vue.inject("forms-form", {});
23
- const value = vue.computed({
22
+ const form = vues.inject("forms-form", {});
23
+ const value = vues.computed({
24
24
  get() {
25
25
  return prs.modelValue;
26
26
  },
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
29
29
  }
30
30
  });
31
31
  const itemProp = props.__prop ?? props.prop;
32
- const rowHeight = vue.computed(() => {
32
+ const rowHeight = vues.computed(() => {
33
33
  return props.rowHeight ?? prs.rowHeight ?? (form == null ? void 0 : form.rowHeight);
34
34
  });
35
35
  function setLabelWidth(v) {
@@ -43,75 +43,75 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
43
43
  ...data.dataExpose
44
44
  });
45
45
  return (_ctx, _cache) => {
46
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
47
- class: [vue.unref(cs).z()],
48
- style: vue.unref(cs).vdo({
46
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
47
+ class: [vues.unref(cs).z()],
48
+ style: vues.unref(cs).vdo({
49
49
  rowHeight: rowHeight.value
50
50
  })
51
- }, vue.unref(attrs).root), [
52
- vue.unref(props).hideLabel ?? prs.hideLabel ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElFormItem), vue.mergeProps({ key: 0 }, vue.unref(attrs).assem, {
51
+ }, vues.unref(attrs).root), [
52
+ vues.unref(props).hideLabel ?? prs.hideLabel ? (vues.openBlock(), vues.createBlock(vues.unref(index$2.ElFormItem), vues.mergeProps({ key: 0 }, vues.unref(attrs).assem, {
53
53
  class: [
54
- vue.unref(cs).z("el-item"),
55
- vue.unref(cs).is("height", rowHeight.value && vue.unref(form).labelPosition != "top"),
56
- vue.unref(cs).is("top", rowHeight.value && vue.unref(form).labelPosition == "top")
54
+ vues.unref(cs).z("el-item"),
55
+ vues.unref(cs).is("height", rowHeight.value && vues.unref(form).labelPosition != "top"),
56
+ vues.unref(cs).is("top", rowHeight.value && vues.unref(form).labelPosition == "top")
57
57
  ],
58
- prop: vue.unref(itemProp),
59
- required: vue.unref(props).required,
60
- rules: vue.unref(props).rules,
61
- "label-width": setLabelWidth(vue.unref(props))
58
+ prop: vues.unref(itemProp),
59
+ required: vues.unref(props).required,
60
+ rules: vues.unref(props).rules,
61
+ "label-width": setLabelWidth(vues.unref(props))
62
62
  }), {
63
- default: vue.withCtx(() => [
64
- vue.createVNode(vue.unref(index$3.FormsDiv), {
65
- listobj: vue.unref(props),
63
+ default: vues.withCtx(() => [
64
+ vues.createVNode(vues.unref(index$3.FormsDiv), {
65
+ listobj: vues.unref(props),
66
66
  optionss: prs.optionss,
67
67
  valueobj: prs.valueobj,
68
68
  modelValue: value.value,
69
69
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
70
- }, vue.createSlots({ _: 2 }, [
71
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
70
+ }, vues.createSlots({ _: 2 }, [
71
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
72
72
  return {
73
73
  name: k,
74
- fn: vue.withCtx((scope) => [
75
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
74
+ fn: vues.withCtx((scope) => [
75
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
76
76
  ])
77
77
  };
78
78
  })
79
79
  ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])
80
80
  ]),
81
81
  _: 3
82
- }, 16, ["class", "prop", "required", "rules", "label-width"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElFormItem), vue.mergeProps({ key: 1 }, vue.unref(attrs).assem, {
82
+ }, 16, ["class", "prop", "required", "rules", "label-width"])) : (vues.openBlock(), vues.createBlock(vues.unref(index$2.ElFormItem), vues.mergeProps({ key: 1 }, vues.unref(attrs).assem, {
83
83
  class: [
84
- vue.unref(cs).z("el-item"),
85
- vue.unref(cs).is("height", rowHeight.value && vue.unref(form).labelPosition != "top"),
86
- vue.unref(cs).is("top", rowHeight.value && vue.unref(form).labelPosition == "top")
84
+ vues.unref(cs).z("el-item"),
85
+ vues.unref(cs).is("height", rowHeight.value && vues.unref(form).labelPosition != "top"),
86
+ vues.unref(cs).is("top", rowHeight.value && vues.unref(form).labelPosition == "top")
87
87
  ],
88
- prop: vue.unref(itemProp),
89
- required: vue.unref(props).required,
90
- rules: vue.unref(props).rules,
91
- "label-width": setLabelWidth(vue.unref(props))
88
+ prop: vues.unref(itemProp),
89
+ required: vues.unref(props).required,
90
+ rules: vues.unref(props).rules,
91
+ "label-width": setLabelWidth(vues.unref(props))
92
92
  }), {
93
- label: vue.withCtx(() => [
94
- vue.createVNode(vue.unref(label.default), {
93
+ label: vues.withCtx(() => [
94
+ vues.createVNode(vues.unref(label.default), {
95
95
  value: value.value,
96
- label: vue.unref(props).label,
97
- listobj: vue.unref(props),
96
+ label: vues.unref(props).label,
97
+ listobj: vues.unref(props),
98
98
  optionss: prs.optionss,
99
99
  valueobj: prs.valueobj
100
100
  }, null, 8, ["value", "label", "listobj", "optionss", "valueobj"])
101
101
  ]),
102
- default: vue.withCtx(() => [
103
- vue.createVNode(vue.unref(index$3.FormsDiv), {
104
- listobj: vue.unref(props),
102
+ default: vues.withCtx(() => [
103
+ vues.createVNode(vues.unref(index$3.FormsDiv), {
104
+ listobj: vues.unref(props),
105
105
  optionss: prs.optionss,
106
106
  valueobj: prs.valueobj,
107
107
  modelValue: value.value,
108
108
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event)
109
- }, vue.createSlots({ _: 2 }, [
110
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
109
+ }, vues.createSlots({ _: 2 }, [
110
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
111
111
  return {
112
112
  name: k,
113
- fn: vue.withCtx((scope) => [
114
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
113
+ fn: vues.withCtx((scope) => [
114
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
115
115
  ])
116
116
  };
117
117
  })
@@ -1,10 +1,10 @@
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 use = require("../../common/use.cjs");
5
5
  const isObject = require("@fangzhongya/utils/basic/object/isObject");
6
6
  function render(props, emit, slots, form) {
7
- const compons = vue.inject("forms-compons", {});
7
+ const compons = vues.inject("forms-compons", {});
8
8
  let label = props.label ?? "";
9
9
  const index = 0;
10
10
  if (label) {
@@ -44,7 +44,7 @@ function render(props, emit, slots, form) {
44
44
  }
45
45
  return label;
46
46
  }
47
- const Lable = vue.defineComponent({
47
+ const Lable = vues.defineComponent({
48
48
  emits: [],
49
49
  expose: [],
50
50
  props: {
@@ -83,7 +83,7 @@ const Lable = vue.defineComponent({
83
83
  }
84
84
  },
85
85
  setup(props, { emit, slots }) {
86
- const form = vue.inject("forms-form", {});
86
+ const form = vues.inject("forms-form", {});
87
87
  return () => render(props, emit, slots, form);
88
88
  }
89
89
  });
@@ -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$2 = require("../../forms-item/index.cjs");
6
6
  const index$1 = require("../../forms-div/index.cjs");
@@ -8,18 +8,18 @@ const index = require("../../../hooks/cssname/index.cjs");
8
8
  require("../../../utils/css.cjs");
9
9
  const use = require("../../common/use.cjs");
10
10
  const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
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 slots = vue.useSlots();
17
- const form = vue.inject("forms-form", {});
16
+ const slots = vues.useSlots();
17
+ const form = vues.inject("forms-form", {});
18
18
  const cs = index.useCssName("forms-items");
19
19
  const prs = __props;
20
20
  const props = prs.listobj;
21
21
  const emit = __emit;
22
- const binds = vue.computed(() => {
22
+ const binds = vues.computed(() => {
23
23
  const binds2 = {};
24
24
  const no = ["modelValue", "children", "listobj"];
25
25
  Object.keys(prs).forEach((key) => {
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
33
33
  return binds2;
34
34
  });
35
35
  const defaultValue = {};
36
- const value = vue.computed({
36
+ const value = vues.computed({
37
37
  get() {
38
38
  return prs.modelValue ?? defaultValue;
39
39
  },
@@ -66,16 +66,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
66
66
  ...data.dataExpose
67
67
  });
68
68
  return (_ctx, _cache) => {
69
- return vue.openBlock(), vue.createElementBlock("div", {
70
- class: vue.normalizeClass(vue.unref(cs).z())
69
+ return vues.openBlock(), vues.createElementBlock("div", {
70
+ class: vues.normalizeClass(vues.unref(cs).z())
71
71
  }, [
72
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(props).children, (item, index2) => {
73
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
72
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(vues.unref(props).children, (item, index2) => {
73
+ return vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
74
74
  key: setKey(item, index2),
75
- class: vue.normalizeClass([vue.unref(cs).z("li"), vue.unref(cs).is("div", item == null ? void 0 : item.isdiv), item.class]),
76
- style: vue.normalizeStyle(setStyles(item))
75
+ class: vues.normalizeClass([vues.unref(cs).z("li"), vues.unref(cs).is("div", item == null ? void 0 : item.isdiv), item.class]),
76
+ style: vues.normalizeStyle(setStyles(item))
77
77
  }, [
78
- (item == null ? void 0 : item.isdiv) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.FormsDiv), vue.mergeProps({
78
+ (item == null ? void 0 : item.isdiv) ? (vues.openBlock(), vues.createBlock(vues.unref(index$1.FormsDiv), vues.mergeProps({
79
79
  key: 0,
80
80
  ref_for: true
81
81
  }, binds.value, {
@@ -84,16 +84,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
84
84
  valueobj: prs.valueobj,
85
85
  modelValue: value.value,
86
86
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
87
- }), vue.createSlots({ _: 2 }, [
88
- vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
87
+ }), vues.createSlots({ _: 2 }, [
88
+ vues.renderList(Object.keys(vues.unref(slots)), (k, i) => {
89
89
  return {
90
90
  name: k,
91
- fn: vue.withCtx((scope) => [
92
- vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
91
+ fn: vues.withCtx((scope) => [
92
+ vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
93
93
  ])
94
94
  };
95
95
  })
96
- ]), 1040, ["listobj", "optionss", "valueobj", "modelValue"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.FormsItem), vue.mergeProps({
96
+ ]), 1040, ["listobj", "optionss", "valueobj", "modelValue"])) : (vues.openBlock(), vues.createBlock(vues.unref(index$2.FormsItem), vues.mergeProps({
97
97
  key: 1,
98
98
  ref_for: true
99
99
  }, binds.value, {
@@ -102,18 +102,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
102
102
  valueobj: prs.valueobj,
103
103
  modelValue: value.value,
104
104
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event)
105
- }), vue.createSlots({ _: 2 }, [
106
- vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
105
+ }), vues.createSlots({ _: 2 }, [
106
+ vues.renderList(Object.keys(vues.unref(slots)), (k, i) => {
107
107
  return {
108
108
  name: k,
109
- fn: vue.withCtx((scope) => [
110
- vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
109
+ fn: vues.withCtx((scope) => [
110
+ vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
111
111
  ])
112
112
  };
113
113
  })
114
114
  ]), 1040, ["listobj", "optionss", "valueobj", "modelValue"]))
115
115
  ], 6)), [
116
- [vue.vShow, !vue.unref(use.useHide)(item, value.value)]
116
+ [vues.vShow, !vues.unref(use.useHide)(item, value.value)]
117
117
  ]);
118
118
  }), 128))
119
119
  ], 2);
@@ -2,10 +2,10 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const data = require("./data.cjs");
4
4
  const index = require("../../../hooks/global-config/index.cjs");
5
- const vue = require("vue");
5
+ const vues = require("vue");
6
6
  const ElConfigProvider = require("element-plus/es/components/config-provider/index");
7
7
  const zhCn = require("element-plus/es/locale/lang/zh-cn");
8
- const SrcVue = vue.defineComponent({
8
+ const SrcVue = vues.defineComponent({
9
9
  props: data.dataProps,
10
10
  setup(props, { slots }) {
11
11
  const config = index.provideGlobalConfig(props);
@@ -17,7 +17,7 @@ const SrcVue = vue.defineComponent({
17
17
  is = true;
18
18
  }
19
19
  }
20
- return vue.h(
20
+ return vues.h(
21
21
  ElConfigProvider,
22
22
  {
23
23
  size: props.size,
@@ -27,14 +27,14 @@ const SrcVue = vue.defineComponent({
27
27
  },
28
28
  {
29
29
  default() {
30
- return vue.renderSlot(slots, "default", {
30
+ return vues.renderSlot(slots, "default", {
31
31
  config: config == null ? void 0 : config.value
32
32
  });
33
33
  }
34
34
  }
35
35
  );
36
36
  } else {
37
- return vue.renderSlot(slots, "default", {
37
+ return vues.renderSlot(slots, "default", {
38
38
  config: config == null ? void 0 : config.value
39
39
  });
40
40
  }