@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$5 = require("../../../directives/expose/index.cjs");
5
5
  const getCss = require("@fangzhongya/utils/css/getCss");
6
6
  const data = require("./data.cjs");
@@ -10,24 +10,24 @@ require("../../../hooks/index.cjs");
10
10
  const index = require("../../../hooks/inherit/index.cjs");
11
11
  const index$1 = require("../../../hooks/locale/index.cjs");
12
12
  const index$2 = require("../../../hooks/cssname/index.cjs");
13
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
14
14
  ...{ inheritAttrs: false },
15
15
  __name: "index",
16
16
  props: data.dataProps,
17
17
  emits: data.dataEmits,
18
18
  setup(__props, { expose: __expose, emit: __emit }) {
19
19
  const attrs = index.useInherit();
20
- const slots = vue.useSlots();
20
+ const slots = vues.useSlots();
21
21
  const { getLocale } = index$1.useLocale();
22
22
  const cs = index$2.useCssName("select-popover");
23
23
  const props = __props;
24
24
  const emit = __emit;
25
- const visible = vue.ref(false);
26
- const width = vue.ref(200);
27
- const refInput = vue.ref();
28
- const isfocus = vue.ref(false);
29
- const isFiletr = vue.ref(false);
30
- const value = vue.computed({
25
+ const visible = vues.ref(false);
26
+ const width = vues.ref(200);
27
+ const refInput = vues.ref();
28
+ const isfocus = vues.ref(false);
29
+ const isFiletr = vues.ref(false);
30
+ const value = vues.computed({
31
31
  get() {
32
32
  let v = props.modelValue;
33
33
  return v;
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36
36
  emit("update:modelValue", value2);
37
37
  }
38
38
  });
39
- const isclear = vue.computed(() => {
39
+ const isclear = vues.computed(() => {
40
40
  if (props.readonly) {
41
41
  return false;
42
42
  }
@@ -80,72 +80,72 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
80
80
  visible.value = !visible.value;
81
81
  }
82
82
  }
83
- vue.onMounted(() => {
83
+ vues.onMounted(() => {
84
84
  setWidth();
85
85
  });
86
86
  __expose({
87
87
  ...data.dataExpose
88
88
  });
89
89
  return (_ctx, _cache) => {
90
- return vue.openBlock(), vue.createBlock(vue.unref(index$3.Popover), {
90
+ return vues.openBlock(), vues.createBlock(vues.unref(index$3.Popover), {
91
91
  trigger: "click",
92
- "popper-class": vue.unref(cs).z("popper"),
92
+ "popper-class": vues.unref(cs).z("popper"),
93
93
  visible: visible.value,
94
94
  disabled: props.disabled,
95
95
  width: width.value
96
96
  }, {
97
- reference: vue.withCtx(() => [
98
- vue.createElementVNode("div", vue.mergeProps({
99
- class: [vue.unref(cs).z(), vue.unref(cs).is("disabled", props.disabled)]
100
- }, vue.unref(attrs).root, { onClick }), [
101
- vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$4.Inputs), vue.mergeProps({
97
+ reference: vues.withCtx(() => [
98
+ vues.createElementVNode("div", vues.mergeProps({
99
+ class: [vues.unref(cs).z(), vues.unref(cs).is("disabled", props.disabled)]
100
+ }, vues.unref(attrs).root, { onClick }), [
101
+ vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$4.Inputs), vues.mergeProps({
102
102
  ref_key: "refInput",
103
103
  ref: refInput,
104
104
  modelValue: value.value,
105
105
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
106
- }, vue.unref(attrs).assem, {
106
+ }, vues.unref(attrs).assem, {
107
107
  disabled: props.disabled,
108
108
  readonly: props.readonly,
109
109
  onInput,
110
110
  onFocus,
111
111
  onBlur,
112
112
  clearable: false
113
- }), vue.createSlots({
114
- suffix: vue.withCtx(() => [
115
- isclear.value ? (vue.openBlock(), vue.createElementBlock("span", {
113
+ }), vues.createSlots({
114
+ suffix: vues.withCtx(() => [
115
+ isclear.value ? (vues.openBlock(), vues.createElementBlock("span", {
116
116
  key: 0,
117
- class: vue.normalizeClass([vue.unref(cs).z("select-icon"), "clear"]),
118
- onClick: vue.withModifiers(onClear, ["stop"])
117
+ class: vues.normalizeClass([vues.unref(cs).z("select-icon"), "clear"]),
118
+ onClick: vues.withModifiers(onClear, ["stop"])
119
119
  }, [..._cache[1] || (_cache[1] = [
120
- vue.createElementVNode("svg", {
120
+ vues.createElementVNode("svg", {
121
121
  viewBox: "0 0 1024 1024",
122
122
  xmlns: "http://www.w3.org/2000/svg",
123
123
  "data-v-ea893728": ""
124
124
  }, [
125
- vue.createElementVNode("path", {
125
+ vues.createElementVNode("path", {
126
126
  fill: "currentColor",
127
127
  d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"
128
128
  }),
129
- vue.createElementVNode("path", {
129
+ vues.createElementVNode("path", {
130
130
  fill: "currentColor",
131
131
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"
132
132
  })
133
133
  ], -1)
134
- ])], 2)) : vue.createCommentVNode("", true),
135
- vue.renderSlot(_ctx.$slots, "suffix"),
136
- vue.createElementVNode("span", {
137
- class: vue.normalizeClass([
138
- vue.unref(cs).z("select-icon"),
139
- vue.unref(cs).is("reverse", visible.value)
134
+ ])], 2)) : vues.createCommentVNode("", true),
135
+ vues.renderSlot(_ctx.$slots, "suffix"),
136
+ vues.createElementVNode("span", {
137
+ class: vues.normalizeClass([
138
+ vues.unref(cs).z("select-icon"),
139
+ vues.unref(cs).is("reverse", visible.value)
140
140
  ])
141
141
  }, [
142
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).iconSelect, {}, () => [
143
- _cache[2] || (_cache[2] = vue.createElementVNode("svg", {
142
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).iconSelect, {}, () => [
143
+ _cache[2] || (_cache[2] = vues.createElementVNode("svg", {
144
144
  viewBox: "0 0 1024 1024",
145
145
  xmlns: "http://www.w3.org/2000/svg",
146
146
  "data-v-ea893728": ""
147
147
  }, [
148
- vue.createElementVNode("path", {
148
+ vues.createElementVNode("path", {
149
149
  fill: "currentColor",
150
150
  d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
151
151
  })
@@ -155,21 +155,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
155
155
  ]),
156
156
  _: 2
157
157
  }, [
158
- vue.renderList(Object.keys(vue.unref(slots)), (k, index2) => {
158
+ vues.renderList(Object.keys(vues.unref(slots)), (k, index2) => {
159
159
  return {
160
160
  name: k,
161
- fn: vue.withCtx(() => [
162
- vue.renderSlot(_ctx.$slots, k)
161
+ fn: vues.withCtx(() => [
162
+ vues.renderSlot(_ctx.$slots, k)
163
163
  ])
164
164
  };
165
165
  })
166
166
  ]), 1040, ["modelValue", "disabled", "readonly"])), [
167
- [vue.unref(index$5.default), {}]
167
+ [vues.unref(index$5.default), {}]
168
168
  ])
169
169
  ], 16)
170
170
  ]),
171
- default: vue.withCtx(() => [
172
- vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
171
+ default: vues.withCtx(() => [
172
+ vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
173
173
  ]),
174
174
  _: 3
175
175
  }, 8, ["popper-class", "visible", "disabled", "width"]);
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
3
+ const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const use = require("../../common/use.cjs");
7
7
  const _hoisted_1 = ["onClick"];
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,
@@ -13,21 +13,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
13
  const cs = index.useCssName("select-scroll");
14
14
  const props = __props;
15
15
  const emit = __emit;
16
- const h = vue.computed(() => {
16
+ const h = vues.computed(() => {
17
17
  let h2 = props.height || "";
18
18
  return Number(h2.replace("px", ""));
19
19
  });
20
20
  let timeout;
21
- const refScroll = vue.ref();
22
- const index$1 = vue.ref(0);
23
- vue.watch(
21
+ const refScroll = vues.ref();
22
+ const index$1 = vues.ref(0);
23
+ vues.watch(
24
24
  () => index$1.value,
25
25
  () => {
26
26
  setScroll(index$1.value);
27
27
  emit("update:modelValue", index$1.value);
28
28
  }
29
29
  );
30
- vue.watch(
30
+ vues.watch(
31
31
  () => props.modelValue,
32
32
  () => {
33
33
  setPropsValue();
@@ -105,11 +105,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
105
105
  });
106
106
  }
107
107
  }
108
- vue.onMounted(() => {
108
+ vues.onMounted(() => {
109
109
  handleScroll();
110
110
  setPropsValue();
111
111
  });
112
- vue.onBeforeUnmount(() => {
112
+ vues.onBeforeUnmount(() => {
113
113
  if (refScroll.value) {
114
114
  refScroll.value.removeEventListener("scroll", () => {
115
115
  });
@@ -119,46 +119,46 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
119
119
  ...data.dataExpose
120
120
  });
121
121
  return (_ctx, _cache) => {
122
- return vue.openBlock(), vue.createElementBlock("div", {
123
- class: vue.normalizeClass(vue.unref(cs).z())
122
+ return vues.openBlock(), vues.createElementBlock("div", {
123
+ class: vues.normalizeClass(vues.unref(cs).z())
124
124
  }, [
125
- vue.createElementVNode("div", {
126
- class: vue.normalizeClass(vue.unref(cs).z("div")),
127
- style: vue.normalizeStyle({
125
+ vues.createElementVNode("div", {
126
+ class: vues.normalizeClass(vues.unref(cs).z("div")),
127
+ style: vues.normalizeStyle({
128
128
  height: h.value * (props.limit * 2 + 1) + "px"
129
129
  })
130
130
  }, [
131
- vue.createElementVNode("div", {
132
- class: vue.normalizeClass(vue.unref(cs).z("box"))
131
+ vues.createElementVNode("div", {
132
+ class: vues.normalizeClass(vues.unref(cs).z("box"))
133
133
  }, [
134
- vue.createElementVNode("div", {
135
- class: vue.normalizeClass(vue.unref(cs).z("box-after")),
136
- style: vue.normalizeStyle({
134
+ vues.createElementVNode("div", {
135
+ class: vues.normalizeClass(vues.unref(cs).z("box-after")),
136
+ style: vues.normalizeStyle({
137
137
  "margin-top": h.value / 2 * -1 + "px"
138
138
  })
139
139
  }, null, 6),
140
- vue.createElementVNode("div", {
141
- class: vue.normalizeClass(vue.unref(cs).z("box-before")),
142
- style: vue.normalizeStyle({
140
+ vues.createElementVNode("div", {
141
+ class: vues.normalizeClass(vues.unref(cs).z("box-before")),
142
+ style: vues.normalizeStyle({
143
143
  "margin-top": h.value / 2 + "px"
144
144
  })
145
145
  }, null, 6),
146
- vue.createElementVNode("div", {
146
+ vues.createElementVNode("div", {
147
147
  ref_key: "refScroll",
148
148
  ref: refScroll,
149
- class: vue.normalizeClass(vue.unref(cs).z("list"))
149
+ class: vues.normalizeClass(vues.unref(cs).z("list"))
150
150
  }, [
151
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (item, ind) => {
152
- return vue.openBlock(), vue.createElementBlock("div", {
153
- class: vue.normalizeClass([vue.unref(cs).z("list-li"), setClass(ind, item)]),
154
- onClick: vue.withModifiers(($event) => onClick(ind, item), ["stop"]),
155
- style: vue.normalizeStyle({
151
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(props.options, (item, ind) => {
152
+ return vues.openBlock(), vues.createElementBlock("div", {
153
+ class: vues.normalizeClass([vues.unref(cs).z("list-li"), setClass(ind, item)]),
154
+ onClick: vues.withModifiers(($event) => onClick(ind, item), ["stop"]),
155
+ style: vues.normalizeStyle({
156
156
  height: h.value + "px",
157
157
  "line-height": h.value + "px",
158
158
  "margin-top": ind == 0 ? h.value * props.limit + "px" : "",
159
159
  "margin-bottom": ind == props.options.length - 1 ? h.value * props.limit + "px" : ""
160
160
  })
161
- }, vue.toDisplayString(vue.unref(use.useVueValue)(item, props.label)), 15, _hoisted_1);
161
+ }, vues.toDisplayString(vues.unref(use.useVueValue)(item, props.label)), 15, _hoisted_1);
162
162
  }), 256))
163
163
  ], 2)
164
164
  ], 2)
@@ -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$2 = require("../../popover/index.cjs");
5
5
  const index$4 = require("../../button/index.cjs");
6
6
  const index$5 = require("../../array/index.cjs");
@@ -10,7 +10,7 @@ const use = require("../../common/use.cjs");
10
10
  const data = require("./data.cjs");
11
11
  const index$1 = require("../../../hooks/cssname/index.cjs");
12
12
  const index = require("../../../hooks/locale/index.cjs");
13
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
14
14
  __name: "index",
15
15
  props: data.dataProps,
16
16
  emits: data.dataEmits,
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
19
  const cs = index$1.useCssName("selector");
20
20
  const props = __props;
21
21
  const emit = __emit;
22
- const data$1 = vue.reactive({
22
+ const data$1 = vues.reactive({
23
23
  timeShow: false,
24
24
  sname: "",
25
25
  ename: "",
@@ -28,22 +28,22 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
28
28
  endVal: props.options.length - 1
29
29
  //结束框value值
30
30
  });
31
- const isShow = vue.ref(false);
31
+ const isShow = vues.ref(false);
32
32
  function onMousemove() {
33
33
  isShow.value = true;
34
34
  }
35
35
  function onMouseout() {
36
36
  isShow.value = false;
37
37
  }
38
- vue.watch(
38
+ vues.watch(
39
39
  [() => props.options, () => props.modelValue],
40
40
  (newList, oldList) => {
41
41
  setElValue(props.modelValue);
42
42
  },
43
43
  { deep: true, immediate: true }
44
44
  );
45
- const zindex = vue.ref(0);
46
- const yindex = vue.ref(0);
45
+ const zindex = vues.ref(0);
46
+ const yindex = vues.ref(0);
47
47
  function setElValue(val) {
48
48
  let arr = props.options;
49
49
  let at = arr.length;
@@ -114,17 +114,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
114
114
  ...data.dataExpose
115
115
  });
116
116
  return (_ctx, _cache) => {
117
- return vue.openBlock(), vue.createBlock(vue.unref(index$2.Popover), {
117
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.Popover), {
118
118
  onAfterEnter: afterEnter,
119
119
  placement: "bottom",
120
- "popper-class": vue.unref(cs).z("popper"),
120
+ "popper-class": vues.unref(cs).z("popper"),
121
121
  trigger: "click",
122
122
  width: props.width,
123
123
  disabled: props.disabled,
124
124
  visible: data$1.timeShow
125
125
  }, {
126
- reference: vue.withCtx(() => [
127
- vue.createVNode(vue.unref(index$5.Array), {
126
+ reference: vues.withCtx(() => [
127
+ vues.createVNode(vues.unref(index$5.Array), {
128
128
  rangeSeparator: props.rangeSeparator,
129
129
  startPlaceholder: props.startPlaceholder,
130
130
  endPlaceholder: props.endPlaceholder,
@@ -133,23 +133,23 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
133
133
  modelValue: [data$1.sname, data$1.ename],
134
134
  onFocus: _cache[0] || (_cache[0] = ($event) => data$1.timeShow = true),
135
135
  onClear: onCancel,
136
- compon: vue.unref(index$6.Inputs)
136
+ compon: vues.unref(index$6.Inputs)
137
137
  }, null, 8, ["rangeSeparator", "startPlaceholder", "endPlaceholder", "clearable", "modelValue", "compon"])
138
138
  ]),
139
- default: vue.withCtx(() => [
140
- vue.createElementVNode("div", {
141
- class: vue.normalizeClass(vue.unref(cs).z("select"))
139
+ default: vues.withCtx(() => [
140
+ vues.createElementVNode("div", {
141
+ class: vues.normalizeClass(vues.unref(cs).z("select"))
142
142
  }, [
143
- vue.createElementVNode("div", {
144
- class: vue.normalizeClass(vue.unref(cs).z("select-list"))
143
+ vues.createElementVNode("div", {
144
+ class: vues.normalizeClass(vues.unref(cs).z("select-list"))
145
145
  }, [
146
- vue.createElementVNode("div", {
147
- class: vue.normalizeClass(vue.unref(cs).z("select-list-li"))
146
+ vues.createElementVNode("div", {
147
+ class: vues.normalizeClass(vues.unref(cs).z("select-list-li"))
148
148
  }, [
149
- vue.createElementVNode("div", {
150
- class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
151
- }, vue.toDisplayString(props.startPlaceholder), 3),
152
- vue.createVNode(vue.unref(index$3.SelectScroll), {
149
+ vues.createElementVNode("div", {
150
+ class: vues.normalizeClass(vues.unref(cs).z("select-list-title"))
151
+ }, vues.toDisplayString(props.startPlaceholder), 3),
152
+ vues.createVNode(vues.unref(index$3.SelectScroll), {
153
153
  modelValue: zindex.value,
154
154
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => zindex.value = $event),
155
155
  max: yindex.value,
@@ -157,13 +157,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
157
157
  options: props.options
158
158
  }, null, 8, ["modelValue", "max", "label", "options"])
159
159
  ], 2),
160
- vue.createElementVNode("div", {
161
- class: vue.normalizeClass(vue.unref(cs).z("select-list-li"))
160
+ vues.createElementVNode("div", {
161
+ class: vues.normalizeClass(vues.unref(cs).z("select-list-li"))
162
162
  }, [
163
- vue.createElementVNode("div", {
164
- class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
165
- }, vue.toDisplayString(props.endPlaceholder), 3),
166
- vue.createVNode(vue.unref(index$3.SelectScroll), {
163
+ vues.createElementVNode("div", {
164
+ class: vues.normalizeClass(vues.unref(cs).z("select-list-title"))
165
+ }, vues.toDisplayString(props.endPlaceholder), 3),
166
+ vues.createVNode(vues.unref(index$3.SelectScroll), {
167
167
  min: zindex.value,
168
168
  modelValue: yindex.value,
169
169
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => yindex.value = $event),
@@ -172,24 +172,24 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
172
172
  }, null, 8, ["min", "modelValue", "label", "options"])
173
173
  ], 2)
174
174
  ], 2),
175
- vue.createElementVNode("div", {
176
- class: vue.normalizeClass(vue.unref(cs).z("select-buts"))
175
+ vues.createElementVNode("div", {
176
+ class: vues.normalizeClass(vues.unref(cs).z("select-buts"))
177
177
  }, [
178
- vue.createVNode(vue.unref(index$4.Button), {
178
+ vues.createVNode(vues.unref(index$4.Button), {
179
179
  text: "",
180
- onClick: vue.withModifiers(onCancel, ["stop"])
180
+ onClick: vues.withModifiers(onCancel, ["stop"])
181
181
  }, {
182
- default: vue.withCtx(() => [
183
- vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("close")), 1)
182
+ default: vues.withCtx(() => [
183
+ vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("close")), 1)
184
184
  ]),
185
185
  _: 1
186
186
  }),
187
- vue.createVNode(vue.unref(index$4.Button), {
187
+ vues.createVNode(vues.unref(index$4.Button), {
188
188
  type: "primary",
189
- onClick: vue.withModifiers(onDetermine, ["stop"])
189
+ onClick: vues.withModifiers(onDetermine, ["stop"])
190
190
  }, {
191
- default: vue.withCtx(() => [
192
- vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("form.confirm")), 1)
191
+ default: vues.withCtx(() => [
192
+ vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("form.confirm")), 1)
193
193
  ]),
194
194
  _: 1
195
195
  })
@@ -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$3 = require("../../../directives/expose/index.cjs");
5
5
  const index$2 = require("element-plus/es/components/select/index");
6
6
  const compareArray = require("@fangzhongya/utils/basic/array/compareArray");
@@ -8,17 +8,17 @@ const index = require("../../../hooks/inherit/index.cjs");
8
8
  const use = require("../../common/use.cjs");
9
9
  const index$1 = require("../../../hooks/cssname/index.cjs");
10
10
  const data = require("./data.cjs");
11
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
+ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
12
12
  ...{ inheritAttrs: false },
13
13
  __name: "index",
14
14
  props: data.dataProps,
15
15
  emits: data.dataEmits,
16
16
  setup(__props, { expose: __expose, emit: __emit }) {
17
- const refEl = vue.ref();
18
- const attrs = index.useInherit(vue.useAttrs());
17
+ const refEl = vues.ref();
18
+ const attrs = index.useInherit(vues.useAttrs());
19
19
  const cs = index$1.useCssName("selects");
20
20
  const props = __props;
21
- const placeholder = vue.computed(() => {
21
+ const placeholder = vues.computed(() => {
22
22
  if (typeof props.placeholder == "undefined") {
23
23
  return "请选择";
24
24
  } else {
@@ -46,34 +46,34 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
46
46
  el: refEl
47
47
  });
48
48
  return (_ctx, _cache) => {
49
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
49
+ return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
50
50
  ref_key: "refEl",
51
51
  ref: refEl
52
- }, vue.unref(attrs).root, {
53
- class: vue.unref(cs).z()
52
+ }, vues.unref(attrs).root, {
53
+ class: vues.unref(cs).z()
54
54
  }), [
55
- vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.ElSelect), vue.mergeProps({
56
- class: vue.unref(cs).z("select"),
57
- modelValue: vue.unref(value),
58
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(value) ? value.value = $event : null)
59
- }, vue.unref(attrs).assem, {
60
- multiple: vue.unref(multiple),
55
+ vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$2.ElSelect), vues.mergeProps({
56
+ class: vues.unref(cs).z("select"),
57
+ modelValue: vues.unref(value),
58
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vues.isRef(value) ? value.value = $event : null)
59
+ }, vues.unref(attrs).assem, {
60
+ multiple: vues.unref(multiple),
61
61
  placeholder: placeholder.value,
62
62
  onChange,
63
63
  onRemoveTag
64
64
  }), {
65
- default: vue.withCtx(() => [
66
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (item) => {
67
- return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElOption), {
68
- label: vue.unref(use.useVueValue)(item, props.label),
69
- value: vue.unref(use.useVueValue)(item, props.prop),
65
+ default: vues.withCtx(() => [
66
+ (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(props.options, (item) => {
67
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElOption), {
68
+ label: vues.unref(use.useVueValue)(item, props.label),
69
+ value: vues.unref(use.useVueValue)(item, props.prop),
70
70
  disabled: item == null ? void 0 : item.disabled
71
71
  }, null, 8, ["label", "value", "disabled"]);
72
72
  }), 256))
73
73
  ]),
74
74
  _: 1
75
75
  }, 16, ["class", "modelValue", "multiple", "placeholder"])), [
76
- [vue.unref(index$3.default), {}]
76
+ [vues.unref(index$3.default), {}]
77
77
  ])
78
78
  ], 16);
79
79
  };
@@ -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/slider/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("slider");
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.ElSlider), 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.ElSlider), 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
  })