@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 edit = require("../../../icons/vue/edit.cjs");
5
5
  const index$5 = require("../../icon/index.cjs");
6
6
  const index$2 = require("../../popover/index.cjs");
@@ -9,7 +9,7 @@ const index$3 = require("../../inputs/index.cjs");
9
9
  const data = require("./data.cjs");
10
10
  const index$1 = require("../../../hooks/cssname/index.cjs");
11
11
  const index = require("../../../hooks/locale/index.cjs");
12
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
13
13
  __name: "index",
14
14
  props: data.dataProps,
15
15
  emits: data.dataEmits,
@@ -18,12 +18,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
18
  const cs = index$1.useCssName("edit-float");
19
19
  const props = __props;
20
20
  const emit = __emit;
21
- const isInput = vue.ref(false);
22
- const isIcon = vue.ref(false);
23
- const refEditInput = vue.ref();
24
- const refEdit = vue.ref();
25
- const value = vue.ref(props.modelValue);
26
- vue.watch(
21
+ const isInput = vues.ref(false);
22
+ const isIcon = vues.ref(false);
23
+ const refEditInput = vues.ref();
24
+ const refEdit = vues.ref();
25
+ const value = vues.ref(props.modelValue);
26
+ vues.watch(
27
27
  () => props.modelValue,
28
28
  () => {
29
29
  value.value = props.modelValue;
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
65
65
  isInput.value = false;
66
66
  });
67
67
  }
68
- vue.onMounted(() => {
68
+ vues.onMounted(() => {
69
69
  let dom = refEdit.value;
70
70
  dom.onmouseenter = (event) => {
71
71
  isIcon.value = true;
@@ -81,44 +81,44 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
81
81
  ...data.dataExpose
82
82
  });
83
83
  return (_ctx, _cache) => {
84
- return vue.openBlock(), vue.createElementBlock("span", {
84
+ return vues.openBlock(), vues.createElementBlock("span", {
85
85
  ref_key: "refEdit",
86
86
  ref: refEdit,
87
- class: vue.normalizeClass(vue.unref(cs).z())
87
+ class: vues.normalizeClass(vues.unref(cs).z())
88
88
  }, [
89
- vue.createVNode(vue.unref(index$2.Popover), {
89
+ vues.createVNode(vues.unref(index$2.Popover), {
90
90
  visible: isInput.value,
91
91
  placement: "top",
92
92
  width: 200
93
93
  }, {
94
- reference: vue.withCtx(() => [
95
- vue.createElementVNode("span", {
96
- class: vue.normalizeClass(vue.unref(cs).z("body"))
94
+ reference: vues.withCtx(() => [
95
+ vues.createElementVNode("span", {
96
+ class: vues.normalizeClass(vues.unref(cs).z("body"))
97
97
  }, [
98
- vue.createElementVNode("span", {
99
- onDblclick: vue.withModifiers(onDblclick, ["stop"]),
100
- class: vue.normalizeClass(vue.unref(cs).z("value"))
101
- }, vue.toDisplayString(props.modelValue), 35),
102
- isIcon.value && !isInput.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Icon), {
98
+ vues.createElementVNode("span", {
99
+ onDblclick: vues.withModifiers(onDblclick, ["stop"]),
100
+ class: vues.normalizeClass(vues.unref(cs).z("value"))
101
+ }, vues.toDisplayString(props.modelValue), 35),
102
+ isIcon.value && !isInput.value ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.Icon), {
103
103
  key: 0,
104
104
  onClick,
105
- class: vue.normalizeClass(vue.unref(cs).z("icon"))
105
+ class: vues.normalizeClass(vues.unref(cs).z("icon"))
106
106
  }, {
107
- default: vue.withCtx(() => [
108
- vue.createVNode(edit.default)
107
+ default: vues.withCtx(() => [
108
+ vues.createVNode(edit.default)
109
109
  ]),
110
110
  _: 1
111
- }, 8, ["class"])) : vue.createCommentVNode("", true)
111
+ }, 8, ["class"])) : vues.createCommentVNode("", true)
112
112
  ], 2)
113
113
  ]),
114
- default: vue.withCtx(() => [
115
- vue.createElementVNode("div", {
116
- class: vue.normalizeClass(vue.unref(cs).z("popover"))
114
+ default: vues.withCtx(() => [
115
+ vues.createElementVNode("div", {
116
+ class: vues.normalizeClass(vues.unref(cs).z("popover"))
117
117
  }, [
118
- vue.createElementVNode("div", {
119
- class: vue.normalizeClass(vue.unref(cs).z("title"))
120
- }, vue.toDisplayString(vue.unref(getLocale)("modify")), 3),
121
- vue.createVNode(vue.unref(index$3.Inputs), {
118
+ vues.createElementVNode("div", {
119
+ class: vues.normalizeClass(vues.unref(cs).z("title"))
120
+ }, vues.toDisplayString(vues.unref(getLocale)("modify")), 3),
121
+ vues.createVNode(vues.unref(index$3.Inputs), {
122
122
  modelValue: value.value,
123
123
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
124
124
  ref_key: "refEditInput",
@@ -126,28 +126,28 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
126
126
  type: props.textarea ? "textarea" : "text",
127
127
  onBlur,
128
128
  clearable: _ctx.clearable,
129
- class: vue.normalizeClass(vue.unref(cs).z("input"))
129
+ class: vues.normalizeClass(vues.unref(cs).z("input"))
130
130
  }, null, 8, ["modelValue", "type", "clearable", "class"]),
131
- vue.createElementVNode("div", {
132
- class: vue.normalizeClass(vue.unref(cs).z("but"))
131
+ vues.createElementVNode("div", {
132
+ class: vues.normalizeClass(vues.unref(cs).z("but"))
133
133
  }, [
134
- vue.createVNode(vue.unref(index$4.Button), {
134
+ vues.createVNode(vues.unref(index$4.Button), {
135
135
  size: "small",
136
136
  text: "",
137
137
  onClick: onClickqx
138
138
  }, {
139
- default: vue.withCtx(() => [
140
- vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("close")), 1)
139
+ default: vues.withCtx(() => [
140
+ vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("close")), 1)
141
141
  ]),
142
142
  _: 1
143
143
  }),
144
- vue.createVNode(vue.unref(index$4.Button), {
144
+ vues.createVNode(vues.unref(index$4.Button), {
145
145
  size: "small",
146
146
  type: "primary",
147
147
  onClick: onConfirm
148
148
  }, {
149
- default: vue.withCtx(() => [
150
- vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("form.confirm")), 1)
149
+ default: vues.withCtx(() => [
150
+ vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("form.confirm")), 1)
151
151
  ]),
152
152
  _: 1
153
153
  })
@@ -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/form/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("form");
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.ElForm), 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.ElForm), 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,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/form/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("form-item");
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.ElFormItem), 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.ElFormItem), vues.mergeProps({
22
+ class: vues.unref(cs).z()
23
+ }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
24
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
25
25
  return {
26
26
  name: k,
27
- fn: vue.withCtx((scope) => [
28
- vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
27
+ fn: vues.withCtx((scope) => [
28
+ vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
29
29
  ])
30
30
  };
31
31
  })
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$4 = require("../../forms-div/index.cjs");
6
6
  const index$5 = require("../../forms-item/index.cjs");
@@ -11,20 +11,20 @@ const index$1 = require("../../../hooks/inherit/index.cjs");
11
11
  const use = require("../../common/use.cjs");
12
12
  const setup = require("./setup.cjs");
13
13
  const index = require("../../../hooks/locale/index.cjs");
14
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
15
  ...{ inheritAttrs: false },
16
16
  __name: "index",
17
17
  props: data.dataProps,
18
18
  emits: data.dataEmits,
19
19
  setup(__props, { expose: __expose, emit: __emit }) {
20
20
  const { getLocale } = index.useLocale();
21
- const slots = vue.useSlots();
22
- const attrs = index$1.useInherit(vue.useAttrs());
21
+ const slots = vues.useSlots();
22
+ const attrs = index$1.useInherit(vues.useAttrs());
23
23
  const props = __props;
24
24
  const emit = __emit;
25
25
  const cs = index$2.useCssName("forms");
26
- const refForm = vue.ref();
27
- const refEl = vue.ref();
26
+ const refForm = vues.ref();
27
+ const refEl = vues.ref();
28
28
  const {
29
29
  buts,
30
30
  styles,
@@ -70,126 +70,126 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
70
70
  validate
71
71
  });
72
72
  return (_ctx, _cache) => {
73
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
73
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
74
74
  ref_key: "refEl",
75
75
  ref: refEl,
76
- class: [vue.unref(cs).z()],
77
- style: vue.unref(cs).vdo({
76
+ class: [vues.unref(cs).z()],
77
+ style: vues.unref(cs).vdo({
78
78
  itemBottom: _ctx.itemBottom,
79
79
  inlineRight: _ctx.inlineRight,
80
80
  queryInterval: _ctx.queryInterval,
81
81
  rowHeight: _ctx.rowHeight
82
82
  })
83
- }, vue.unref(attrs).root), [
84
- vue.createElementVNode("div", {
85
- class: vue.normalizeClass([
86
- vue.unref(cs).z("div"),
87
- vue.unref(cs).zis("div", "inline", props.inline),
88
- vue.unref(cs).zis("div", "box", props.inlineBox),
89
- vue.unref(cs).zis("div", "query", props.query),
90
- vue.unref(cs).zis("div", "column", props.column > 1)
83
+ }, vues.unref(attrs).root), [
84
+ vues.createElementVNode("div", {
85
+ class: vues.normalizeClass([
86
+ vues.unref(cs).z("div"),
87
+ vues.unref(cs).zis("div", "inline", props.inline),
88
+ vues.unref(cs).zis("div", "box", props.inlineBox),
89
+ vues.unref(cs).zis("div", "query", props.query),
90
+ vues.unref(cs).zis("div", "column", props.column > 1)
91
91
  ]),
92
- style: vue.normalizeStyle(vue.unref(styles))
92
+ style: vues.normalizeStyle(vues.unref(styles))
93
93
  }, [
94
- (vue.openBlock(), vue.createBlock(vue.unref(index$3.ElForm), vue.mergeProps(vue.unref(attrs).assem, {
94
+ (vues.openBlock(), vues.createBlock(vues.unref(index$3.ElForm), vues.mergeProps(vues.unref(attrs).assem, {
95
95
  key: props.list.length,
96
- class: [vue.unref(cs).z("elf"), props.labelPosition],
97
- model: vue.unref(dataForm),
96
+ class: [vues.unref(cs).z("elf"), props.labelPosition],
97
+ model: vues.unref(dataForm),
98
98
  disabled: props.disabled,
99
- rules: vue.unref(dataRules),
99
+ rules: vues.unref(dataRules),
100
100
  "label-width": props.labelPosition == "auto" ? "" : props.labelWidth,
101
101
  "label-position": props.labelPosition == "auto" ? void 0 : props.labelPosition,
102
102
  ref_key: "refForm",
103
103
  ref: refForm,
104
- onSubmit: _cache[2] || (_cache[2] = vue.withModifiers(() => {
104
+ onSubmit: _cache[2] || (_cache[2] = vues.withModifiers(() => {
105
105
  }, ["prevent"]))
106
106
  }), {
107
- default: vue.withCtx(() => [
108
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).header),
109
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.list, (item, index2) => {
110
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
107
+ default: vues.withCtx(() => [
108
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).header),
109
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(props.list, (item, index2) => {
110
+ return vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
111
111
  key: setKey(item, index2),
112
- class: vue.normalizeClass([
113
- vue.unref(cs).z("li"),
114
- vue.unref(cs).is("div", item == null ? void 0 : item.isdiv),
112
+ class: vues.normalizeClass([
113
+ vues.unref(cs).z("li"),
114
+ vues.unref(cs).is("div", item == null ? void 0 : item.isdiv),
115
115
  item.class
116
116
  ]),
117
- style: vue.normalizeStyle(vue.unref(setStyles)(item))
117
+ style: vues.normalizeStyle(vues.unref(setStyles)(item))
118
118
  }, [
119
- (item == null ? void 0 : item.isdiv) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.FormsDiv), {
119
+ (item == null ? void 0 : item.isdiv) ? (vues.openBlock(), vues.createBlock(vues.unref(index$4.FormsDiv), {
120
120
  key: 0,
121
121
  listobj: item,
122
122
  optionss: props.options,
123
- valueobj: vue.unref(dataForm),
124
- modelValue: vue.unref(dataForm),
125
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(dataForm) ? dataForm.value = $event : null)
126
- }, vue.createSlots({ _: 2 }, [
127
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
123
+ valueobj: vues.unref(dataForm),
124
+ modelValue: vues.unref(dataForm),
125
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vues.isRef(dataForm) ? dataForm.value = $event : null)
126
+ }, vues.createSlots({ _: 2 }, [
127
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
128
128
  return {
129
129
  name: k,
130
- fn: vue.withCtx((scope) => [
131
- vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
130
+ fn: vues.withCtx((scope) => [
131
+ vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
132
132
  ])
133
133
  };
134
134
  })
135
- ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$5.FormsItem), {
135
+ ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"])) : (vues.openBlock(), vues.createBlock(vues.unref(index$5.FormsItem), {
136
136
  key: 1,
137
137
  listobj: item,
138
138
  optionss: props.options,
139
- valueobj: vue.unref(dataForm),
140
- modelValue: vue.unref(dataForm),
141
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(dataForm) ? dataForm.value = $event : null)
142
- }, vue.createSlots({ _: 2 }, [
143
- vue.renderList(Object.keys(vue.unref(slots)), (k) => {
139
+ valueobj: vues.unref(dataForm),
140
+ modelValue: vues.unref(dataForm),
141
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vues.isRef(dataForm) ? dataForm.value = $event : null)
142
+ }, vues.createSlots({ _: 2 }, [
143
+ vues.renderList(Object.keys(vues.unref(slots)), (k) => {
144
144
  return {
145
145
  name: k,
146
- fn: vue.withCtx((scope) => [
147
- vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
146
+ fn: vues.withCtx((scope) => [
147
+ vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
148
148
  ])
149
149
  };
150
150
  })
151
151
  ]), 1032, ["listobj", "optionss", "valueobj", "modelValue"]))
152
152
  ], 6)), [
153
- [vue.vShow, !vue.unref(use.useHide)(item, vue.unref(dataForm))]
153
+ [vues.vShow, !vues.unref(use.useHide)(item, vues.unref(dataForm))]
154
154
  ]);
155
155
  }), 128)),
156
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer),
157
- vue.unref(buts) && vue.unref(buts).length > 0 ? (vue.openBlock(), vue.createElementBlock("div", {
156
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer),
157
+ vues.unref(buts) && vues.unref(buts).length > 0 ? (vues.openBlock(), vues.createElementBlock("div", {
158
158
  key: 0,
159
- class: vue.normalizeClass([vue.unref(cs).z("li"), vue.unref(cs).z("buts")]),
160
- style: vue.normalizeStyle(vue.unref(setStyles)({}))
159
+ class: vues.normalizeClass([vues.unref(cs).z("li"), vues.unref(cs).z("buts")]),
160
+ style: vues.normalizeStyle(vues.unref(setStyles)({}))
161
161
  }, [
162
- vue.createVNode(vue.unref(index$3.ElFormItem), {
162
+ vues.createVNode(vues.unref(index$3.ElFormItem), {
163
163
  "label-width": props.butLeft
164
164
  }, {
165
- default: vue.withCtx(() => [
166
- vue.createElementVNode("div", {
167
- style: vue.normalizeStyle({
165
+ default: vues.withCtx(() => [
166
+ vues.createElementVNode("div", {
167
+ style: vues.normalizeStyle({
168
168
  height: props.butHeight ?? props.rowHeight
169
169
  }),
170
- class: vue.normalizeClass(vue.unref(cs).z("buts-div"))
170
+ class: vues.normalizeClass(vues.unref(cs).z("buts-div"))
171
171
  }, [
172
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(buts), (item, index2) => {
173
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
174
- !vue.unref(use.useHide)(item, vue.unref(dataForm)) ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.ElButton), vue.mergeProps({
172
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(vues.unref(buts), (item, index2) => {
173
+ return vues.openBlock(), vues.createElementBlock(vues.Fragment, { key: index2 }, [
174
+ !vues.unref(use.useHide)(item, vues.unref(dataForm)) ? (vues.openBlock(), vues.createBlock(vues.unref(index$6.ElButton), vues.mergeProps({
175
175
  key: 0,
176
176
  ref_for: true
177
177
  }, item, {
178
178
  disabled: item.disabled ?? props.disabled,
179
- onClick: vue.withModifiers(($event) => vue.unref(onClickButs)(item, index2, $event), ["stop"])
179
+ onClick: vues.withModifiers(($event) => vues.unref(onClickButs)(item, index2, $event), ["stop"])
180
180
  }), {
181
- default: vue.withCtx(() => [
182
- vue.createTextVNode(vue.toDisplayString(item.label), 1)
181
+ default: vues.withCtx(() => [
182
+ vues.createTextVNode(vues.toDisplayString(item.label), 1)
183
183
  ]),
184
184
  _: 2
185
- }, 1040, ["disabled", "onClick"])) : vue.createCommentVNode("", true)
185
+ }, 1040, ["disabled", "onClick"])) : vues.createCommentVNode("", true)
186
186
  ], 64);
187
187
  }), 128))
188
188
  ], 6)
189
189
  ]),
190
190
  _: 1
191
191
  }, 8, ["label-width"])
192
- ], 6)) : vue.createCommentVNode("", true)
192
+ ], 6)) : vues.createCommentVNode("", true)
193
193
  ]),
194
194
  _: 3
195
195
  }, 16, ["class", "model", "disabled", "rules", "label-width", "label-position"]))
@@ -5,7 +5,7 @@ const util = require("./util.cjs");
5
5
  require("../../../utils/css.cjs");
6
6
  const use = require("../../common/use.cjs");
7
7
  require("../../../utils/index.cjs");
8
- const vue = require("vue");
8
+ const vues = require("vue");
9
9
  const compons = require("../../common/compons.cjs");
10
10
  const index = require("../../forms-items/index.cjs");
11
11
  const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
@@ -23,7 +23,7 @@ const Changes = [
23
23
  "Cascader"
24
24
  ];
25
25
  function setUp(props, emit, cs, refForm, getLocale) {
26
- const buts = vue.computed(() => {
26
+ const buts = vues.computed(() => {
27
27
  if (typeof props.buts == "undefined") {
28
28
  return [
29
29
  {
@@ -41,13 +41,13 @@ function setUp(props, emit, cs, refForm, getLocale) {
41
41
  }
42
42
  });
43
43
  const tfcom = compons.getCompons(Components, props.compons);
44
- vue.provide("forms-compons", tfcom);
45
- vue.provide("forms-form", props);
44
+ vues.provide("forms-compons", tfcom);
45
+ vues.provide("forms-form", props);
46
46
  const defaultValue = {};
47
47
  const getDataForm = () => {
48
48
  if (props.modelValue) {
49
- if (vue.isProxy(props.modelValue)) {
50
- return vue.computed({
49
+ if (vues.isProxy(props.modelValue)) {
50
+ return vues.computed({
51
51
  get() {
52
52
  return props.modelValue;
53
53
  },
@@ -56,14 +56,14 @@ function setUp(props, emit, cs, refForm, getLocale) {
56
56
  }
57
57
  });
58
58
  } else {
59
- return vue.ref(props.modelValue);
59
+ return vues.ref(props.modelValue);
60
60
  }
61
61
  } else {
62
- return vue.ref(defaultValue);
62
+ return vues.ref(defaultValue);
63
63
  }
64
64
  };
65
65
  const dataForm = getDataForm();
66
- const styles = vue.computed(() => {
66
+ const styles = vues.computed(() => {
67
67
  return cs.vdo({
68
68
  "inline-right": props.inlineRight,
69
69
  "item-bottom": props.query ? "0px" : props.itemBottom
@@ -145,15 +145,15 @@ function setUp(props, emit, cs, refForm, getLocale) {
145
145
  setListValue(props.list);
146
146
  return rules;
147
147
  }
148
- const dataRules = vue.ref(getRules());
149
- vue.watch(
148
+ const dataRules = vues.ref(getRules());
149
+ vues.watch(
150
150
  () => dataForm.value,
151
151
  () => {
152
152
  emit("upform", dataForm.value);
153
153
  },
154
154
  { deep: true }
155
155
  );
156
- vue.watch(
156
+ vues.watch(
157
157
  () => props.list.length,
158
158
  () => {
159
159
  dataRules.value = getRules();
@@ -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
  require("../../../directives/expose/index.cjs");
6
6
  require("../../../utils/index.cjs");
@@ -9,7 +9,7 @@ const use = require("../../common/use.cjs");
9
9
  const objValue = require("@fangzhongya/utils/basic/object/objValue");
10
10
  const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
11
11
  const Components = {};
12
- const _sfc_main = vue.defineComponent({
12
+ const _sfc_main = vues.defineComponent({
13
13
  components: Components,
14
14
  expose: data.dataExpose,
15
15
  emits: data.dataEmits,
@@ -17,8 +17,8 @@ const _sfc_main = vue.defineComponent({
17
17
  setup(prs, { emit, slots }) {
18
18
  const cs = index.useCssName("forms-div");
19
19
  const props = prs.listobj;
20
- const compons = vue.inject("forms-compons", {});
21
- const formvalue = vue.computed(() => {
20
+ const compons = vues.inject("forms-compons", {});
21
+ const formvalue = vues.computed(() => {
22
22
  const o = {};
23
23
  if (typeof props.formvalue === "object") {
24
24
  Object.keys(props.formvalue).forEach((key) => {
@@ -28,7 +28,7 @@ const _sfc_main = vue.defineComponent({
28
28
  }
29
29
  return o;
30
30
  });
31
- const binds = vue.computed(() => {
31
+ const binds = vues.computed(() => {
32
32
  const obj = { ...props.config, ...formvalue.value };
33
33
  const binds2 = {};
34
34
  Object.keys(obj).forEach((key) => {
@@ -39,7 +39,7 @@ const _sfc_main = vue.defineComponent({
39
39
  });
40
40
  return binds2;
41
41
  });
42
- const value = vue.computed({
42
+ const value = vues.computed({
43
43
  get() {
44
44
  let v = prs.modelValue ?? {};
45
45
  if (props.orig) {
@@ -74,7 +74,7 @@ const _sfc_main = vue.defineComponent({
74
74
  }
75
75
  }
76
76
  });
77
- const options = vue.computed(() => {
77
+ const options = vues.computed(() => {
78
78
  const optionss = prs.optionss;
79
79
  if (typeof props.options === "string") {
80
80
  const value2 = optionss[props.options];
@@ -112,12 +112,12 @@ const _sfc_main = vue.defineComponent({
112
112
  if (typeof compon == "string") {
113
113
  const tcom = lineToLargeHump.lineToLargeHump(compon);
114
114
  if (Object.keys(compons).includes(tcom)) {
115
- return vue.h(compons[tcom], componObj, slots);
115
+ return vues.h(compons[tcom], componObj, slots);
116
116
  } else {
117
- return vue.h(vue.resolveComponent(compon), componObj, slots);
117
+ return vues.h(vues.resolveComponent(compon), componObj, slots);
118
118
  }
119
119
  } else {
120
- return vue.h(compon, componObj, slots);
120
+ return vues.h(compon, componObj, slots);
121
121
  }
122
122
  };
123
123
  const setSslot = () => {
@@ -138,7 +138,7 @@ const _sfc_main = vue.defineComponent({
138
138
  return render();
139
139
  };
140
140
  return () => {
141
- return props.compon ? vue.h("div", { class: cs.z() }, [setSslot()]) : "";
141
+ return props.compon ? vues.h("div", { class: cs.z() }, [setSslot()]) : "";
142
142
  };
143
143
  }
144
144
  });