@fangzhongya/fang-ui 0.0.98 → 0.0.99

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 (221) hide show
  1. package/dist/components/alert/src/index2.cjs +11 -11
  2. package/dist/components/array/src/index2.cjs +45 -45
  3. package/dist/components/audios/src/index2.cjs +54 -54
  4. package/dist/components/autocomplete/src/index2.cjs +11 -11
  5. package/dist/components/box/src/index2.cjs +21 -21
  6. package/dist/components/box-adjust/index.css +17 -0
  7. package/dist/components/box-adjust/index.scss +18 -0
  8. package/dist/components/box-adjust/src/data.cjs +17 -1
  9. package/dist/components/box-adjust/src/data.d.ts +16 -0
  10. package/dist/components/box-adjust/src/data.js +17 -1
  11. package/dist/components/box-adjust/src/index2.cjs +69 -35
  12. package/dist/components/box-adjust/src/index2.js +37 -3
  13. package/dist/components/box-local/src/index2.cjs +20 -20
  14. package/dist/components/box-mask/src/index2.cjs +5 -5
  15. package/dist/components/box-teleport/src/index2.cjs +5 -5
  16. package/dist/components/box-title/src/index2.cjs +15 -15
  17. package/dist/components/button/src/index2.cjs +11 -11
  18. package/dist/components/buttons/src/index2.cjs +20 -20
  19. package/dist/components/card/src/index2.cjs +11 -11
  20. package/dist/components/cascader/src/index2.cjs +11 -11
  21. package/dist/components/cascader-panel/src/index2.cjs +11 -11
  22. package/dist/components/cascaders/src/index2.cjs +17 -17
  23. package/dist/components/checkbox/src/index2.cjs +11 -11
  24. package/dist/components/checkbox-button/src/index2.cjs +11 -11
  25. package/dist/components/checkbox-group/src/index2.cjs +11 -11
  26. package/dist/components/checks/src/index2.cjs +31 -31
  27. package/dist/components/choice-select/src/index2.cjs +5 -5
  28. package/dist/components/collapse/src/index2.cjs +11 -11
  29. package/dist/components/collapse-item/src/index2.cjs +11 -11
  30. package/dist/components/color-picker/src/index2.cjs +11 -11
  31. package/dist/components/common/list.cjs +5 -5
  32. package/dist/components/common/use.cjs +5 -5
  33. package/dist/components/company-select/src/index2.cjs +19 -19
  34. package/dist/components/config-provider/src/index2.cjs +11 -11
  35. package/dist/components/date-picker/src/index2.cjs +11 -11
  36. package/dist/components/date-picker/style/element.scss +1 -1
  37. package/dist/components/date-picker-panel/src/index2.cjs +11 -11
  38. package/dist/components/dates/src/index2.cjs +12 -12
  39. package/dist/components/dates-divide/src/index2.cjs +20 -20
  40. package/dist/components/dates-picker/src/index2.cjs +15 -15
  41. package/dist/components/dates2/src/index2.cjs +26 -26
  42. package/dist/components/department-select/src/index2.cjs +10 -10
  43. package/dist/components/dialog/src/index2.cjs +11 -11
  44. package/dist/components/dialogs/src/index2.cjs +23 -23
  45. package/dist/components/divider/src/index2.cjs +11 -11
  46. package/dist/components/drawer/src/index2.cjs +11 -11
  47. package/dist/components/dropdown/src/index2.cjs +11 -11
  48. package/dist/components/dropdown-item/src/index2.cjs +11 -11
  49. package/dist/components/dropdown-menu/src/index2.cjs +11 -11
  50. package/dist/components/edit/src/index2.cjs +24 -24
  51. package/dist/components/edit-float/src/index2.cjs +40 -40
  52. package/dist/components/form/src/index2.cjs +11 -11
  53. package/dist/components/form-item/src/index2.cjs +11 -11
  54. package/dist/components/forms/index.css +22 -0
  55. package/dist/components/forms/src/index2.cjs +65 -65
  56. package/dist/components/forms/src/setup.cjs +12 -12
  57. package/dist/components/forms-div/src/index2.cjs +11 -11
  58. package/dist/components/forms-drag/src/index2.cjs +73 -73
  59. package/dist/components/forms-item/src/index2.cjs +45 -45
  60. package/dist/components/forms-item/src/label.cjs +4 -4
  61. package/dist/components/forms-items/src/index2.cjs +23 -23
  62. package/dist/components/full-screen/src/index2.cjs +11 -11
  63. package/dist/components/global-config/src/index.cjs +5 -5
  64. package/dist/components/history/src/index2.cjs +26 -26
  65. package/dist/components/icon/src/index2.cjs +23 -23
  66. package/dist/components/icon-picker/src/index2.cjs +52 -52
  67. package/dist/components/iframe/src/data.cjs +1 -1
  68. package/dist/components/iframe/src/data.js +1 -1
  69. package/dist/components/iframe/src/index2.cjs +15 -10
  70. package/dist/components/iframe/src/index2.js +5 -0
  71. package/dist/components/image/src/index2.cjs +11 -11
  72. package/dist/components/image-viewer/src/index2.cjs +11 -11
  73. package/dist/components/images/src/index2.cjs +17 -17
  74. package/dist/components/input/src/index2.cjs +11 -11
  75. package/dist/components/input-array/src/index2.cjs +38 -38
  76. package/dist/components/input-history/src/index2.cjs +47 -47
  77. package/dist/components/input-history/src/util.cjs +4 -4
  78. package/dist/components/input-num/src/index2.cjs +17 -17
  79. package/dist/components/input-number/src/index2.cjs +11 -11
  80. package/dist/components/input-select/src/index2.cjs +51 -51
  81. package/dist/components/input-tag/src/index2.cjs +11 -11
  82. package/dist/components/inputs/src/index2.cjs +17 -17
  83. package/dist/components/keep-com/src/index2.cjs +16 -16
  84. package/dist/components/labels/src/index2.cjs +13 -13
  85. package/dist/components/list/src/index2.cjs +24 -24
  86. package/dist/components/lists/src/index2.cjs +51 -51
  87. package/dist/components/listsp/src/index2.cjs +35 -35
  88. package/dist/components/mention/src/index2.cjs +11 -11
  89. package/dist/components/menu/src/index2.cjs +11 -11
  90. package/dist/components/menu-item/src/index2.cjs +11 -11
  91. package/dist/components/menu-item-group/src/index2.cjs +11 -11
  92. package/dist/components/menus/src/index2.cjs +16 -16
  93. package/dist/components/menus/src/menu-ll2.cjs +11 -11
  94. package/dist/components/no-data/src/index2.cjs +5 -5
  95. package/dist/components/option/src/index2.cjs +10 -10
  96. package/dist/components/option-group/src/index2.cjs +11 -11
  97. package/dist/components/page/index.css +22 -0
  98. package/dist/components/page/src/index2.cjs +77 -77
  99. package/dist/components/page/src/set-column2.cjs +54 -54
  100. package/dist/components/pagination/src/index2.cjs +11 -11
  101. package/dist/components/paging/src/index2.cjs +13 -13
  102. package/dist/components/popconfirm/src/index2.cjs +11 -11
  103. package/dist/components/popover/src/index2.cjs +11 -11
  104. package/dist/components/popup/src/index2.cjs +29 -29
  105. package/dist/components/radio/src/index2.cjs +11 -11
  106. package/dist/components/radio-button/src/index2.cjs +11 -11
  107. package/dist/components/radio-group/src/index2.cjs +11 -11
  108. package/dist/components/retract/src/index2.cjs +14 -14
  109. package/dist/components/right-key/src/index2.cjs +30 -30
  110. package/dist/components/role-select/src/index2.cjs +38 -38
  111. package/dist/components/scrollbar/src/index2.cjs +11 -11
  112. package/dist/components/seamless-scroll/src/index2.cjs +24 -24
  113. package/dist/components/select/src/index2.cjs +11 -11
  114. package/dist/components/select-dialog/src/index2.cjs +65 -65
  115. package/dist/components/select-popover/src/index2.cjs +41 -41
  116. package/dist/components/select-scroll/src/index2.cjs +30 -30
  117. package/dist/components/selector/src/index2.cjs +39 -39
  118. package/dist/components/selects/src/index2.cjs +20 -20
  119. package/dist/components/slider/src/index2.cjs +11 -11
  120. package/dist/components/sliders/src/index2.cjs +13 -13
  121. package/dist/components/stick-div/src/index2.cjs +17 -17
  122. package/dist/components/stick-edge/src/index2.cjs +10 -10
  123. package/dist/components/stick-window/src/index2.cjs +22 -22
  124. package/dist/components/sub-menu/src/index2.cjs +10 -10
  125. package/dist/components/switch/src/index2.cjs +11 -11
  126. package/dist/components/switchs/src/index2.cjs +15 -15
  127. package/dist/components/tab-pane/src/index2.cjs +11 -11
  128. package/dist/components/table/src/index2.cjs +11 -11
  129. package/dist/components/table-column/src/index2.cjs +11 -11
  130. package/dist/components/tables/common/img2.cjs +7 -7
  131. package/dist/components/tables/common/pagin.cjs +16 -16
  132. package/dist/components/tables/common/table-but2.cjs +10 -10
  133. package/dist/components/tables/common/table-color2.cjs +7 -7
  134. package/dist/components/tables/common/table-list2.cjs +9 -9
  135. package/dist/components/tables/common/util.cjs +2 -2
  136. package/dist/components/tables/src/column.cjs +5 -5
  137. package/dist/components/tables/src/columns2.cjs +2 -2
  138. package/dist/components/tables/src/columns3.cjs +2 -2
  139. package/dist/components/tables/src/index2.cjs +29 -29
  140. package/dist/components/tablesp/src/index2.cjs +36 -36
  141. package/dist/components/tabless/src/index2.cjs +49 -49
  142. package/dist/components/tablesv/src/column.cjs +16 -16
  143. package/dist/components/tablesv/src/columns2.cjs +2 -2
  144. package/dist/components/tablesv/src/columns3.cjs +2 -2
  145. package/dist/components/tablesv/src/index2.cjs +30 -30
  146. package/dist/components/tablesvp/src/index2.cjs +30 -30
  147. package/dist/components/tabs/src/index2.cjs +11 -11
  148. package/dist/components/tag/src/index2.cjs +11 -11
  149. package/dist/components/text/src/index2.cjs +11 -11
  150. package/dist/components/text/style/element.scss +1 -1
  151. package/dist/components/texts/src/index2.cjs +8 -8
  152. package/dist/components/time-picker/src/index2.cjs +11 -11
  153. package/dist/components/time-select/src/index2.cjs +11 -11
  154. package/dist/components/tooltip/src/index2.cjs +11 -11
  155. package/dist/components/transfer/src/index2.cjs +11 -11
  156. package/dist/components/tree/src/index2.cjs +11 -11
  157. package/dist/components/tree-select/src/index2.cjs +11 -11
  158. package/dist/components/tree-select-box/src/index2.cjs +29 -29
  159. package/dist/components/upload/src/index2.cjs +11 -11
  160. package/dist/components/uploads/index.css +22 -0
  161. package/dist/components/uploads/index.scss +23 -0
  162. package/dist/components/uploads/src/index2.cjs +128 -138
  163. package/dist/components/uploads/src/index2.js +61 -71
  164. package/dist/components/uploads/src/util.cjs +80 -0
  165. package/dist/components/uploads/src/util.d.ts +10 -0
  166. package/dist/components/uploads/src/util.js +80 -0
  167. package/dist/components/uploads/src/views.cjs +4 -0
  168. package/dist/components/uploads/src/views.js +4 -0
  169. package/dist/components/uploads/src/views2.cjs +77 -0
  170. package/dist/components/uploads/src/views2.js +77 -0
  171. package/dist/components/user-select/src/index2.cjs +99 -99
  172. package/dist/components/videos/src/index2.cjs +97 -97
  173. package/dist/components/window/src/index2.cjs +61 -61
  174. package/dist/css/box-adjust.css +17 -0
  175. package/dist/css/forms.css +22 -0
  176. package/dist/css/index.css +39 -0
  177. package/dist/css/page.css +22 -0
  178. package/dist/css/uploads.css +22 -0
  179. package/dist/directives/scroll/index.cjs +6 -24
  180. package/dist/directives/scroll/index.js +1 -3
  181. package/dist/hooks/event-aliass/index.cjs +2 -2
  182. package/dist/hooks/full-screen/index.cjs +5 -5
  183. package/dist/hooks/global-config/index.cjs +8 -8
  184. package/dist/hooks/inherit/index.cjs +2 -2
  185. package/dist/hooks/locale/index.cjs +7 -7
  186. package/dist/icons/iconify.cjs +3 -3
  187. package/dist/icons/index.css +79 -79
  188. package/dist/icons/index.json +35 -35
  189. package/dist/icons/vue/bar.cjs +3 -3
  190. package/dist/icons/vue/below.cjs +3 -3
  191. package/dist/icons/vue/bicycle.cjs +3 -3
  192. package/dist/icons/vue/bottom-left.cjs +4 -4
  193. package/dist/icons/vue/bottom-right.cjs +4 -4
  194. package/dist/icons/vue/bottom.cjs +3 -3
  195. package/dist/icons/vue/catalogue.cjs +5 -5
  196. package/dist/icons/vue/clear.cjs +5 -5
  197. package/dist/icons/vue/close.cjs +3 -3
  198. package/dist/icons/vue/delete.cjs +3 -3
  199. package/dist/icons/vue/document.cjs +5 -5
  200. package/dist/icons/vue/down.cjs +3 -3
  201. package/dist/icons/vue/download.cjs +3 -3
  202. package/dist/icons/vue/edit.cjs +5 -5
  203. package/dist/icons/vue/enter.cjs +3 -3
  204. package/dist/icons/vue/frame.cjs +3 -3
  205. package/dist/icons/vue/left.cjs +3 -3
  206. package/dist/icons/vue/mute.cjs +3 -3
  207. package/dist/icons/vue/pause.cjs +4 -4
  208. package/dist/icons/vue/play.cjs +3 -3
  209. package/dist/icons/vue/plus.cjs +3 -3
  210. package/dist/icons/vue/retreat.cjs +3 -3
  211. package/dist/icons/vue/right.cjs +3 -3
  212. package/dist/icons/vue/sound.cjs +4 -4
  213. package/dist/icons/vue/star.cjs +4 -4
  214. package/dist/icons/vue/up.cjs +3 -3
  215. package/dist/icons/vue/views.cjs +5 -5
  216. package/dist/icons/vue/views.js +2 -2
  217. package/dist/index.css +39 -0
  218. package/dist/utils/vues/common.cjs +2 -2
  219. package/package.json +3 -3
  220. /package/dist/components/{alert → divider}/index.css +0 -0
  221. /package/dist/css/{alert.css → divider.css} +0 -0
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const index$3 = require("../../pagination/index.cjs");
5
5
  require("../../../hooks/index.cjs");
6
6
  const index = require("../../../hooks/locale/index.cjs");
7
7
  const index$1 = require("../../../hooks/cssname/index.cjs");
8
8
  const index$2 = require("../../../hooks/inherit/index.cjs");
9
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
10
  __name: "index",
11
11
  props: {
12
12
  ispag: Boolean,
@@ -24,14 +24,14 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
25
  const { getLocale } = index.useLocale();
26
26
  const cs = index$1.useCssName("paging");
27
- const attrs = index$2.useInherit(vues.useAttrs());
27
+ const attrs = index$2.useInherit(vue.useAttrs());
28
28
  const props = __props;
29
29
  const emit = __emit;
30
- const layout = vues.computed(() => {
30
+ const layout = vue.computed(() => {
31
31
  const layout2 = props.layout || attrs.assem.layout;
32
32
  return layout2;
33
33
  });
34
- const ysalue = vues.computed(() => {
34
+ const ysalue = vue.computed(() => {
35
35
  let v = 1;
36
36
  if (props.total && props.paginat.pageSize) {
37
37
  v = Math.ceil(props.total / props.paginat.pageSize);
@@ -48,8 +48,8 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
48
48
  };
49
49
  __expose({});
50
50
  return (_ctx, _cache) => {
51
- return vues.openBlock(), vues.createBlock(vues.unref(index$3.Pagination), vues.mergeProps(vues.unref(attrs).assem, {
52
- class: vues.unref(cs).z(),
51
+ return vue.openBlock(), vue.createBlock(vue.unref(index$3.Pagination), vue.mergeProps(vue.unref(attrs).assem, {
52
+ class: vue.unref(cs).z(),
53
53
  "current-page": props.paginat.current,
54
54
  "onUpdate:currentPage": _cache[0] || (_cache[0] = ($event) => props.paginat.current = $event),
55
55
  "page-size": props.paginat.pageSize,
@@ -59,13 +59,13 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
59
59
  onSizeChange,
60
60
  onCurrentChange
61
61
  }), {
62
- default: vues.withCtx(() => [
63
- vues.createElementVNode("span", {
64
- class: vues.normalizeClass(vues.unref(cs).z("slot"))
62
+ default: vue.withCtx(() => [
63
+ vue.createElementVNode("span", {
64
+ class: vue.normalizeClass(vue.unref(cs).z("slot"))
65
65
  }, [
66
- vues.createElementVNode("span", null, vues.toDisplayString(vues.unref(getLocale)("pag.total", props.paginat.current)), 1),
67
- vues.createElementVNode("span", null, vues.toDisplayString(vues.unref(getLocale)("pag.cur", ysalue.value)), 1),
68
- vues.createElementVNode("span", null, vues.toDisplayString(vues.unref(getLocale)("pag.per", props.paginat.pageSize)), 1)
66
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(getLocale)("pag.total", props.paginat.current)), 1),
67
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(getLocale)("pag.cur", ysalue.value)), 1),
68
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(getLocale)("pag.per", props.paginat.pageSize)), 1)
69
69
  ], 2)
70
70
  ]),
71
71
  _: 1
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/expose/index.cjs");
7
7
  const index$2 = require("element-plus/es/components/popconfirm/index");
8
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = vues.useAttrs();
14
- const slots = vues.useSlots();
13
+ const attrs = vue.useAttrs();
14
+ const slots = vue.useSlots();
15
15
  const cs = index.useCssName("popconfirm");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const elRef = vues.ref();
18
+ const elRef = vue.ref();
19
19
  __expose(
20
20
  index$1.useExpose(
21
21
  {
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
25
25
  )
26
26
  );
27
27
  return (_ctx, _cache) => {
28
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElPopconfirm), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElPopconfirm), vue.mergeProps({
29
29
  ref_key: "elRef",
30
30
  ref: elRef,
31
- class: vues.unref(cs).z()
32
- }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
33
- vues.renderList(Object.keys(vues.unref(slots)), (k) => {
31
+ class: vue.unref(cs).z()
32
+ }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
33
+ vue.renderList(Object.keys(vue.unref(slots)), (k) => {
34
34
  return {
35
35
  name: k,
36
- fn: vues.withCtx((scope) => [
37
- vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope || {})))
36
+ fn: vue.withCtx((scope) => [
37
+ vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
38
38
  ])
39
39
  };
40
40
  })
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/expose/index.cjs");
7
7
  const index$2 = require("element-plus/es/components/popover/index");
8
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = vues.useAttrs();
14
- const slots = vues.useSlots();
13
+ const attrs = vue.useAttrs();
14
+ const slots = vue.useSlots();
15
15
  const cs = index.useCssName("popover");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const elRef = vues.ref();
18
+ const elRef = vue.ref();
19
19
  __expose(
20
20
  index$1.useExpose(
21
21
  {
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
25
25
  )
26
26
  );
27
27
  return (_ctx, _cache) => {
28
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElPopover), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElPopover), vue.mergeProps({
29
29
  ref_key: "elRef",
30
30
  ref: elRef,
31
- class: vues.unref(cs).z()
32
- }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
33
- vues.renderList(Object.keys(vues.unref(slots)), (k) => {
31
+ class: vue.unref(cs).z()
32
+ }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
33
+ vue.renderList(Object.keys(vue.unref(slots)), (k) => {
34
34
  return {
35
35
  name: k,
36
- fn: vues.withCtx((scope) => [
37
- vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope || {})))
36
+ fn: vue.withCtx((scope) => [
37
+ vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
38
38
  ])
39
39
  };
40
40
  })
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$1 = require("../../../hooks/cssname/index.cjs");
6
6
  const index = require("../../../hooks/locale/index.cjs");
@@ -10,12 +10,12 @@ const index$2 = require("../../box-teleport/index.cjs");
10
10
  const index$6 = require("../../../directives/adjust/index.cjs");
11
11
  const index$5 = require("../../../directives/drag/index.cjs");
12
12
  const use = require("../../common/use.cjs");
13
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
13
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
14
  __name: "index",
15
15
  props: data.dataProps,
16
16
  emits: data.dataEmits,
17
17
  setup(__props, { expose: __expose, emit: __emit }) {
18
- const isInit = vues.shallowRef(false);
18
+ const isInit = vue.shallowRef(false);
19
19
  const { getLocale } = index.useLocale();
20
20
  const cs = index$1.useCssName("popup");
21
21
  const prs = __props;
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
30
  often: props.often,
31
31
  all: { position: true }
32
32
  } : {};
33
- vues.watch(
33
+ vue.watch(
34
34
  () => props.modelValue,
35
35
  () => {
36
36
  if (props.modelValue) {
@@ -52,48 +52,48 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
52
52
  ...data.dataExpose
53
53
  });
54
54
  return (_ctx, _cache) => {
55
- return vues.unref(props).local ? (vues.openBlock(), vues.createElementBlock("div", {
55
+ return vue.unref(props).local ? (vue.openBlock(), vue.createElementBlock("div", {
56
56
  key: 0,
57
- class: vues.normalizeClass(vues.unref(cs).z("local"))
57
+ class: vue.normalizeClass(vue.unref(cs).z("local"))
58
58
  }, [
59
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
60
- ], 2)) : (vues.openBlock(), vues.createBlock(vues.unref(index$2.BoxTeleport), {
59
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
60
+ ], 2)) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
61
61
  key: 1,
62
- disabled: vues.unref(props).disabled,
63
- to: vues.unref(props).to
62
+ disabled: vue.unref(props).disabled,
63
+ to: vue.unref(props).to
64
64
  }, {
65
- default: vues.withCtx(() => [
66
- isInit.value ? vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
65
+ default: vue.withCtx(() => [
66
+ isInit.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
67
67
  key: 0,
68
- class: vues.normalizeClass([vues.unref(cs).z(), vues.unref(props).self ? vues.unref(cs).z("center") : ""])
68
+ class: vue.normalizeClass([vue.unref(cs).z(), vue.unref(props).self ? vue.unref(cs).z("center") : ""])
69
69
  }, [
70
- vues.unref(props).mask ? (vues.openBlock(), vues.createBlock(vues.unref(index$3.BoxMask), {
70
+ vue.unref(props).mask ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxMask), {
71
71
  key: 0,
72
72
  onClick: onMaskClose,
73
- cssprefix: vues.unref(props).cssprefix || vues.unref(cs).z()
74
- }, null, 8, ["cssprefix"])) : vues.createCommentVNode("", true),
75
- vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
76
- class: vues.normalizeClass(vues.unref(cs).z("body"))
73
+ cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
74
+ }, null, 8, ["cssprefix"])) : vue.createCommentVNode("", true),
75
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
76
+ class: vue.normalizeClass(vue.unref(cs).z("body"))
77
77
  }, [
78
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).title, {}, () => [
79
- vues.createVNode(vues.unref(index$4.BoxTitle), {
78
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
79
+ vue.createVNode(vue.unref(index$4.BoxTitle), {
80
80
  onClose,
81
- title: vues.unref(props).title
81
+ title: vue.unref(props).title
82
82
  }, null, 8, ["title"])
83
83
  ]),
84
- vues.createElementVNode("div", {
85
- class: vues.normalizeClass(vues.unref(cs).z("body-div"))
84
+ vue.createElementVNode("div", {
85
+ class: vue.normalizeClass(vue.unref(cs).z("body-div"))
86
86
  }, [
87
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
87
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
88
88
  ], 2),
89
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer)
89
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
90
90
  ], 2)), [
91
- [vues.unref(index$5.default), drag],
92
- [vues.unref(index$6.default), vues.unref(adjust)]
91
+ [vue.unref(index$5.default), drag],
92
+ [vue.unref(index$6.default), vue.unref(adjust)]
93
93
  ])
94
94
  ], 2)), [
95
- [vues.vShow, vues.unref(props).modelValue]
96
- ]) : vues.createCommentVNode("", true)
95
+ [vue.vShow, vue.unref(props).modelValue]
96
+ ]) : vue.createCommentVNode("", true)
97
97
  ]),
98
98
  _: 3
99
99
  }, 8, ["disabled", "to"]));
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/expose/index.cjs");
7
7
  const index$2 = require("element-plus/es/components/radio/index");
8
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = vues.useAttrs();
14
- const slots = vues.useSlots();
13
+ const attrs = vue.useAttrs();
14
+ const slots = vue.useSlots();
15
15
  const cs = index.useCssName("radio");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const elRef = vues.ref();
18
+ const elRef = vue.ref();
19
19
  __expose(
20
20
  index$1.useExpose(
21
21
  {
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
25
25
  )
26
26
  );
27
27
  return (_ctx, _cache) => {
28
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElRadio), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElRadio), vue.mergeProps({
29
29
  ref_key: "elRef",
30
30
  ref: elRef,
31
- class: vues.unref(cs).z()
32
- }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
33
- vues.renderList(Object.keys(vues.unref(slots)), (k) => {
31
+ class: vue.unref(cs).z()
32
+ }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
33
+ vue.renderList(Object.keys(vue.unref(slots)), (k) => {
34
34
  return {
35
35
  name: k,
36
- fn: vues.withCtx((scope) => [
37
- vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope || {})))
36
+ fn: vue.withCtx((scope) => [
37
+ vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
38
38
  ])
39
39
  };
40
40
  })
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/expose/index.cjs");
7
7
  const index$2 = require("element-plus/es/components/radio/index");
8
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = vues.useAttrs();
14
- const slots = vues.useSlots();
13
+ const attrs = vue.useAttrs();
14
+ const slots = vue.useSlots();
15
15
  const cs = index.useCssName("radio-button");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const elRef = vues.ref();
18
+ const elRef = vue.ref();
19
19
  __expose(
20
20
  index$1.useExpose(
21
21
  {
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
25
25
  )
26
26
  );
27
27
  return (_ctx, _cache) => {
28
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElRadioButton), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElRadioButton), vue.mergeProps({
29
29
  ref_key: "elRef",
30
30
  ref: elRef,
31
- class: vues.unref(cs).z()
32
- }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
33
- vues.renderList(Object.keys(vues.unref(slots)), (k) => {
31
+ class: vue.unref(cs).z()
32
+ }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
33
+ vue.renderList(Object.keys(vue.unref(slots)), (k) => {
34
34
  return {
35
35
  name: k,
36
- fn: vues.withCtx((scope) => [
37
- vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope || {})))
36
+ fn: vue.withCtx((scope) => [
37
+ vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
38
38
  ])
39
39
  };
40
40
  })
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
6
  const index$1 = require("../../../hooks/expose/index.cjs");
7
7
  const index$2 = require("element-plus/es/components/radio/index");
8
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
11
11
  emits: data.dataEmits,
12
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const attrs = vues.useAttrs();
14
- const slots = vues.useSlots();
13
+ const attrs = vue.useAttrs();
14
+ const slots = vue.useSlots();
15
15
  const cs = index.useCssName("radio-group");
16
16
  const props = __props;
17
17
  const emit = __emit;
18
- const elRef = vues.ref();
18
+ const elRef = vue.ref();
19
19
  __expose(
20
20
  index$1.useExpose(
21
21
  {
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
25
25
  )
26
26
  );
27
27
  return (_ctx, _cache) => {
28
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElRadioGroup), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElRadioGroup), vue.mergeProps({
29
29
  ref_key: "elRef",
30
30
  ref: elRef,
31
- class: vues.unref(cs).z()
32
- }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
33
- vues.renderList(Object.keys(vues.unref(slots)), (k) => {
31
+ class: vue.unref(cs).z()
32
+ }, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
33
+ vue.renderList(Object.keys(vue.unref(slots)), (k) => {
34
34
  return {
35
35
  name: k,
36
- fn: vues.withCtx((scope) => [
37
- vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope || {})))
36
+ fn: vue.withCtx((scope) => [
37
+ vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
38
38
  ])
39
39
  };
40
40
  })
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const index$2 = require("../../icon/index.cjs");
5
5
  const right = require("../../../icons/vue/right.cjs");
6
6
  const data = require("./data.cjs");
7
7
  require("../../../hooks/index.cjs");
8
8
  const index = require("../../../hooks/locale/index.cjs");
9
9
  const index$1 = require("../../../hooks/cssname/index.cjs");
10
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
10
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
11
  __name: "index",
12
12
  props: data.dataProps,
13
13
  emits: data.dataEmits,
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const cs = index$1.useCssName("retract");
17
17
  const props = __props;
18
18
  const emit = __emit;
19
- const visible = vues.ref(false);
19
+ const visible = vue.ref(false);
20
20
  function onClick() {
21
21
  visible.value = !visible.value;
22
22
  }
@@ -24,20 +24,20 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
24
24
  ...data.dataExpose
25
25
  });
26
26
  return (_ctx, _cache) => {
27
- return vues.openBlock(), vues.createElementBlock("div", {
28
- class: vues.normalizeClass(vues.unref(cs).z())
27
+ return vue.openBlock(), vue.createElementBlock("div", {
28
+ class: vue.normalizeClass(vue.unref(cs).z())
29
29
  }, [
30
- !visible.value ? vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default, { key: 0 }) : vues.createCommentVNode("", true),
31
- vues.createElementVNode("div", {
32
- onClick: vues.withModifiers(onClick, ["stop"]),
33
- class: vues.normalizeClass([vues.unref(cs).z("but"), vues.unref(cs).is(props.direction, true)])
30
+ !visible.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default, { key: 0 }) : vue.createCommentVNode("", true),
31
+ vue.createElementVNode("div", {
32
+ onClick: vue.withModifiers(onClick, ["stop"]),
33
+ class: vue.normalizeClass([vue.unref(cs).z("but"), vue.unref(cs).is(props.direction, true)])
34
34
  }, [
35
- vues.createVNode(vues.unref(index$2.Icon), {
36
- class: vues.normalizeClass([vues.unref(cs).z("icon"), vues.unref(cs).is("reverse", visible.value)])
35
+ vue.createVNode(vue.unref(index$2.Icon), {
36
+ class: vue.normalizeClass([vue.unref(cs).z("icon"), vue.unref(cs).is("reverse", visible.value)])
37
37
  }, {
38
- default: vues.withCtx(() => [
39
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).icon, {}, () => [
40
- vues.createVNode(right.default)
38
+ default: vue.withCtx(() => [
39
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).icon, {}, () => [
40
+ vue.createVNode(right.default)
41
41
  ])
42
42
  ]),
43
43
  _: 3
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const getPrentClass = require("@fangzhongya/utils/css/getPrentClass");
5
5
  require("../../../utils/index.cjs");
6
6
  const index$3 = require("../../icon/index.cjs");
@@ -11,7 +11,7 @@ const index = require("../../../hooks/locale/index.cjs");
11
11
  const index$1 = require("../../../hooks/cssname/index.cjs");
12
12
  const common = require("../../../utils/vues/common.cjs");
13
13
  const _hoisted_1 = ["onClick"];
14
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
14
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
15
  __name: "index",
16
16
  props: data.dataProps,
17
17
  emits: data.dataEmits,
@@ -20,16 +20,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
20
20
  const cs = index$1.useCssName("right-key");
21
21
  const props = __props;
22
22
  const emit = __emit;
23
- const flag = vues.ref(false);
24
- const refRightKey = vues.ref();
25
- const refRightKeyBox = vues.ref();
26
- const topx = vues.ref("");
27
- const lefty = vues.ref("");
28
- const dom = vues.ref();
29
- vues.onMounted(() => {
23
+ const flag = vue.ref(false);
24
+ const refRightKey = vue.ref();
25
+ const refRightKeyBox = vue.ref();
26
+ const topx = vue.ref("");
27
+ const lefty = vue.ref("");
28
+ const dom = vue.ref();
29
+ vue.onMounted(() => {
30
30
  window.addEventListener("mousedown", watchContextmenu);
31
31
  });
32
- vues.onUnmounted(() => {
32
+ vue.onUnmounted(() => {
33
33
  window.removeEventListener("mousedown", watchContextmenu);
34
34
  });
35
35
  function watchContextmenu(event) {
@@ -92,49 +92,49 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
92
92
  ...data.dataExpose
93
93
  });
94
94
  return (_ctx, _cache) => {
95
- return vues.openBlock(), vues.createElementBlock("div", {
96
- class: vues.normalizeClass(vues.unref(cs).z()),
95
+ return vue.openBlock(), vue.createElementBlock("div", {
96
+ class: vue.normalizeClass(vue.unref(cs).z()),
97
97
  ref_key: "refRightKey",
98
98
  ref: refRightKey,
99
99
  onContextmenu: handleContextmenu
100
100
  }, [
101
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default),
102
- vues.createVNode(vues.unref(index$2.BoxTeleport), {
101
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default),
102
+ vue.createVNode(vue.unref(index$2.BoxTeleport), {
103
103
  disabled: props.disabled,
104
104
  to: props.to
105
105
  }, {
106
- default: vues.withCtx(() => [
107
- vues.withDirectives(vues.createElementVNode("div", {
108
- class: vues.normalizeClass([vues.unref(cs).z("box"), props.boxClass]),
106
+ default: vue.withCtx(() => [
107
+ vue.withDirectives(vue.createElementVNode("div", {
108
+ class: vue.normalizeClass([vue.unref(cs).z("box"), props.boxClass]),
109
109
  ref_key: "refRightKeyBox",
110
110
  ref: refRightKeyBox,
111
- style: vues.normalizeStyle({
111
+ style: vue.normalizeStyle({
112
112
  position: "fixed",
113
113
  top: lefty.value,
114
114
  left: topx.value
115
115
  })
116
116
  }, [
117
- vues.createElementVNode("div", {
118
- class: vues.normalizeClass(vues.unref(cs).z("box-list"))
117
+ vue.createElementVNode("div", {
118
+ class: vue.normalizeClass(vue.unref(cs).z("box-list"))
119
119
  }, [
120
- (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(props.options, (v, k) => {
121
- return vues.openBlock(), vues.createElementBlock("div", {
120
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (v, k) => {
121
+ return vue.openBlock(), vue.createElementBlock("div", {
122
122
  key: k,
123
- onClick: vues.withModifiers(($event) => onClick(v), ["stop"]),
124
- class: vues.normalizeClass(vues.unref(cs).z("box-list-li"))
123
+ onClick: vue.withModifiers(($event) => onClick(v), ["stop"]),
124
+ class: vue.normalizeClass(vue.unref(cs).z("box-list-li"))
125
125
  }, [
126
- v.icon ? (vues.openBlock(), vues.createBlock(vues.unref(index$3.Icon), { key: 0 }, {
127
- default: vues.withCtx(() => [
128
- (vues.openBlock(), vues.createBlock(vues.resolveDynamicComponent(v.icon)))
126
+ v.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Icon), { key: 0 }, {
127
+ default: vue.withCtx(() => [
128
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(v.icon)))
129
129
  ]),
130
130
  _: 2
131
- }, 1024)) : vues.createCommentVNode("", true),
132
- vues.createElementVNode("span", null, vues.toDisplayString(vues.unref(common.setVueValue)(v, props.label)), 1)
131
+ }, 1024)) : vue.createCommentVNode("", true),
132
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(common.setVueValue)(v, props.label)), 1)
133
133
  ], 10, _hoisted_1);
134
134
  }), 128))
135
135
  ], 2)
136
136
  ], 6), [
137
- [vues.vShow, flag.value]
137
+ [vue.vShow, flag.value]
138
138
  ])
139
139
  ]),
140
140
  _: 1