@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,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 index$1 = require("../../../hooks/cssname/index.cjs");
5
5
  const index$5 = require("../../forms/index.cjs");
6
6
  const index$8 = require("../../tablesp/index.cjs");
@@ -14,7 +14,7 @@ require("./set-column.cjs");
14
14
  const urls = require("../../common/urls.cjs");
15
15
  const index = require("../../../hooks/locale/index.cjs");
16
16
  const setColumn_vue_vue_type_script_setup_true_lang = require("./set-column2.cjs");
17
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
17
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
18
  __name: "index",
19
19
  props: data.dataProps,
20
20
  emits: data.dataEmits,
@@ -23,8 +23,8 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
23
23
  const props = __props;
24
24
  const emit = __emit;
25
25
  const cs = index$1.useCssName("page");
26
- const slots = vues.useSlots();
27
- const tableRef = vues.ref();
26
+ const slots = vue.useSlots();
27
+ const tableRef = vue.ref();
28
28
  let listObj = {};
29
29
  const getListObj = () => {
30
30
  const value = {};
@@ -75,8 +75,8 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
75
75
  filtration(value, array);
76
76
  return value;
77
77
  };
78
- const query = vues.ref(props.value);
79
- const isSenior = vues.ref(false);
78
+ const query = vue.ref(props.value);
79
+ const isSenior = vue.ref(false);
80
80
  const getListQuery = () => {
81
81
  var _a;
82
82
  const v = (_a = props.config.query) == null ? void 0 : _a.list;
@@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
90
90
  });
91
91
  }
92
92
  };
93
- const listQuery = vues.ref([]);
93
+ const listQuery = vue.ref([]);
94
94
  const setListQuery = () => {
95
95
  var _a;
96
96
  const list2 = getListQuery();
@@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
137
137
  }
138
138
  setListQuery();
139
139
  };
140
- const butQuery = vues.ref([]);
140
+ const butQuery = vue.ref([]);
141
141
  const getButQuery = () => {
142
142
  var _a;
143
143
  const arr = [
@@ -163,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
163
163
  }
164
164
  return arr;
165
165
  };
166
- const tableConfig = vues.ref({});
166
+ const tableConfig = vue.ref({});
167
167
  const getTableConfig = () => {
168
168
  const config = props.config.table || {};
169
169
  config.config = {
@@ -183,11 +183,11 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
183
183
  return true;
184
184
  });
185
185
  };
186
- const setList = vues.ref([]);
186
+ const setList = vue.ref([]);
187
187
  const setSetList = () => {
188
188
  setList.value = getList();
189
189
  };
190
- const tableList = vues.computed(() => {
190
+ const tableList = vue.computed(() => {
191
191
  var _a;
192
192
  const arr = [];
193
193
  if (((_a = props.config.table) == null ? void 0 : _a.operation) !== false) {
@@ -355,11 +355,11 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
355
355
  }
356
356
  }
357
357
  };
358
- const selection = vues.ref([]);
358
+ const selection = vue.ref([]);
359
359
  const onRowClick = (row) => {
360
360
  console.log("点击列表行", row);
361
361
  };
362
- const formRef = vues.ref();
362
+ const formRef = vue.ref();
363
363
  const dataSlot = {
364
364
  top: "top",
365
365
  footer: "footer",
@@ -393,7 +393,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
393
393
  });
394
394
  };
395
395
  setSlots();
396
- const dialog = vues.reactive({
396
+ const dialog = vue.reactive({
397
397
  visible: false,
398
398
  type: "add",
399
399
  // or 'edit'
@@ -499,11 +499,11 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
499
499
  }
500
500
  }
501
501
  };
502
- const listForm = vues.ref([]);
502
+ const listForm = vue.ref([]);
503
503
  const setListForm = () => {
504
504
  listForm.value = getListForm();
505
505
  };
506
- const details = vues.reactive({
506
+ const details = vue.reactive({
507
507
  visible: false,
508
508
  value: {}
509
509
  });
@@ -516,11 +516,11 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
516
516
  return getList();
517
517
  }
518
518
  };
519
- const list = vues.ref([]);
519
+ const list = vue.ref([]);
520
520
  const setListDetails = () => {
521
521
  list.value = getListDetails();
522
522
  };
523
- vues.watch(
523
+ vue.watch(
524
524
  () => props.config,
525
525
  (newValue) => {
526
526
  var _a, _b, _c, _d;
@@ -547,7 +547,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
547
547
  deep: true
548
548
  }
549
549
  );
550
- vues.watch(
550
+ vue.watch(
551
551
  () => props.list,
552
552
  () => {
553
553
  var _a, _b, _c, _d;
@@ -570,17 +570,17 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
570
570
  );
571
571
  return (_ctx, _cache) => {
572
572
  var _a, _b, _c;
573
- return vues.openBlock(), vues.createElementBlock("div", {
574
- class: vues.normalizeClass(vues.unref(cs).z())
573
+ return vue.openBlock(), vue.createElementBlock("div", {
574
+ class: vue.normalizeClass(vue.unref(cs).z())
575
575
  }, [
576
- vues.createVNode(vues.unref(index$4.Dialogs), {
577
- title: (dialog.type == "add" ? vues.unref(getLocale)("page.add") : vues.unref(getLocale)("page.edit")) + props.config.name,
576
+ vue.createVNode(vue.unref(index$4.Dialogs), {
577
+ title: (dialog.type == "add" ? vue.unref(getLocale)("page.add") : vue.unref(getLocale)("page.edit")) + props.config.name,
578
578
  modelValue: dialog.visible,
579
579
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dialog.visible = $event),
580
580
  onConfirm
581
581
  }, {
582
- default: vues.withCtx(() => [
583
- dialog.visible ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.Forms), vues.mergeProps({ key: 0 }, props.config.form, {
582
+ default: vue.withCtx(() => [
583
+ dialog.visible ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Forms), vue.mergeProps({ key: 0 }, props.config.form, {
584
584
  ref_key: "formRef",
585
585
  ref: formRef,
586
586
  modelValue: dialog.value,
@@ -589,39 +589,39 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
589
589
  compons: props.compons,
590
590
  list: listForm.value,
591
591
  buts: []
592
- }), vues.createSlots({ _: 2 }, [
593
- vues.renderList(formSlots, (k) => {
592
+ }), vue.createSlots({ _: 2 }, [
593
+ vue.renderList(formSlots, (k) => {
594
594
  return {
595
595
  name: k,
596
- fn: vues.withCtx((scope) => [
597
- vues.unref(slots)["form-" + k] ? vues.renderSlot(_ctx.$slots, "form-" + k, vues.normalizeProps(vues.mergeProps({ key: 0 }, scope))) : vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.mergeProps({ key: 1 }, scope)))
596
+ fn: vue.withCtx((scope) => [
597
+ vue.unref(slots)["form-" + k] ? vue.renderSlot(_ctx.$slots, "form-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
598
598
  ])
599
599
  };
600
600
  })
601
- ]), 1040, ["modelValue", "options", "compons", "list"])) : vues.createCommentVNode("", true)
601
+ ]), 1040, ["modelValue", "options", "compons", "list"])) : vue.createCommentVNode("", true)
602
602
  ]),
603
603
  _: 3
604
604
  }, 8, ["title", "modelValue"]),
605
- vues.createVNode(vues.unref(index$4.Dialogs), {
606
- title: props.config.name + vues.unref(getLocale)("page.details"),
605
+ vue.createVNode(vue.unref(index$4.Dialogs), {
606
+ title: props.config.name + vue.unref(getLocale)("page.details"),
607
607
  modelValue: details.visible,
608
608
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => details.visible = $event),
609
609
  "no-footer": ""
610
610
  }, {
611
- default: vues.withCtx(() => {
611
+ default: vue.withCtx(() => {
612
612
  var _a2;
613
613
  return [
614
- vues.createVNode(vues.unref(index$6.List), vues.mergeProps((_a2 = props.config.details) == null ? void 0 : _a2.config, {
614
+ vue.createVNode(vue.unref(index$6.List), vue.mergeProps((_a2 = props.config.details) == null ? void 0 : _a2.config, {
615
615
  value: details.value,
616
616
  options: props.options,
617
617
  compons: props.compons,
618
618
  list: list.value
619
- }), vues.createSlots({ _: 2 }, [
620
- vues.renderList(listSlots, (k) => {
619
+ }), vue.createSlots({ _: 2 }, [
620
+ vue.renderList(listSlots, (k) => {
621
621
  return {
622
622
  name: k,
623
- fn: vues.withCtx((scope) => [
624
- vues.unref(slots)["list-" + k] ? vues.renderSlot(_ctx.$slots, "list-" + k, vues.normalizeProps(vues.mergeProps({ key: 0 }, scope))) : vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.mergeProps({ key: 1 }, scope)))
623
+ fn: vue.withCtx((scope) => [
624
+ vue.unref(slots)["list-" + k] ? vue.renderSlot(_ctx.$slots, "list-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
625
625
  ])
626
626
  };
627
627
  })
@@ -630,15 +630,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
630
630
  }),
631
631
  _: 3
632
632
  }, 8, ["title", "modelValue"]),
633
- vues.createElementVNode("div", {
634
- class: vues.normalizeClass(vues.unref(cs).z("header"))
633
+ vue.createElementVNode("div", {
634
+ class: vue.normalizeClass(vue.unref(cs).z("header"))
635
635
  }, [
636
- vues.renderSlot(_ctx.$slots, dataSlot.header),
637
- ((_a = props.config.query) == null ? void 0 : _a.is) !== false ? (vues.openBlock(), vues.createElementBlock("div", {
636
+ vue.renderSlot(_ctx.$slots, dataSlot.header),
637
+ ((_a = props.config.query) == null ? void 0 : _a.is) !== false ? (vue.openBlock(), vue.createElementBlock("div", {
638
638
  key: 0,
639
- class: vues.normalizeClass(vues.unref(cs).z("query"))
639
+ class: vue.normalizeClass(vue.unref(cs).z("query"))
640
640
  }, [
641
- vues.createVNode(vues.unref(index$5.Forms), vues.mergeProps((_b = props.config.query) == null ? void 0 : _b.config, {
641
+ vue.createVNode(vue.unref(index$5.Forms), vue.mergeProps((_b = props.config.query) == null ? void 0 : _b.config, {
642
642
  query: "",
643
643
  "label-position": "auto",
644
644
  "model-value": props.query,
@@ -648,45 +648,45 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
648
648
  buts: butQuery.value,
649
649
  onSubmit: onQuery,
650
650
  onCancel: onReset
651
- }), vues.createSlots({ _: 2 }, [
652
- vues.renderList(querySlots, (k) => {
651
+ }), vue.createSlots({ _: 2 }, [
652
+ vue.renderList(querySlots, (k) => {
653
653
  return {
654
654
  name: k,
655
- fn: vues.withCtx((scope) => [
656
- vues.unref(slots)["query-" + k] ? vues.renderSlot(_ctx.$slots, "query-" + k, vues.normalizeProps(vues.mergeProps({ key: 0 }, scope))) : vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.mergeProps({ key: 1 }, scope)))
655
+ fn: vue.withCtx((scope) => [
656
+ vue.unref(slots)["query-" + k] ? vue.renderSlot(_ctx.$slots, "query-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
657
657
  ])
658
658
  };
659
659
  })
660
660
  ]), 1040, ["model-value", "options", "compons", "list", "buts"])
661
- ], 2)) : vues.createCommentVNode("", true)
661
+ ], 2)) : vue.createCommentVNode("", true)
662
662
  ], 2),
663
- vues.createElementVNode("div", {
664
- class: vues.normalizeClass(vues.unref(cs).z("main"))
663
+ vue.createElementVNode("div", {
664
+ class: vue.normalizeClass(vue.unref(cs).z("main"))
665
665
  }, [
666
- vues.renderSlot(_ctx.$slots, dataSlot.main),
667
- vues.createElementVNode("div", {
668
- class: vues.normalizeClass(vues.unref(cs).z("table"))
666
+ vue.renderSlot(_ctx.$slots, dataSlot.main),
667
+ vue.createElementVNode("div", {
668
+ class: vue.normalizeClass(vue.unref(cs).z("table"))
669
669
  }, [
670
- vues.createElementVNode("div", {
671
- class: vues.normalizeClass(vues.unref(cs).z("table-top"))
670
+ vue.createElementVNode("div", {
671
+ class: vue.normalizeClass(vue.unref(cs).z("table-top"))
672
672
  }, [
673
- vues.createElementVNode("div", {
674
- class: vues.normalizeClass(vues.unref(cs).z("top-operation"))
673
+ vue.createElementVNode("div", {
674
+ class: vue.normalizeClass(vue.unref(cs).z("top-operation"))
675
675
  }, [
676
- vues.createVNode(vues.unref(index$7.Buttons), {
677
- options: vues.unref(operationTop),
676
+ vue.createVNode(vue.unref(index$7.Buttons), {
677
+ options: vue.unref(operationTop),
678
678
  onClicks: _cache[3] || (_cache[3] = (item) => onOperation(item))
679
679
  }, null, 8, ["options"]),
680
- vues.renderSlot(_ctx.$slots, dataSlot.top)
680
+ vue.renderSlot(_ctx.$slots, dataSlot.top)
681
681
  ], 2),
682
- props.config.setColumn ? (vues.openBlock(), vues.createBlock(setColumn_vue_vue_type_script_setup_true_lang.default, {
682
+ props.config.setColumn ? (vue.openBlock(), vue.createBlock(setColumn_vue_vue_type_script_setup_true_lang.default, {
683
683
  key: 0,
684
684
  modelValue: setList.value,
685
685
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => setList.value = $event),
686
686
  list: props.list
687
- }, null, 8, ["modelValue", "list"])) : vues.createCommentVNode("", true)
687
+ }, null, 8, ["modelValue", "list"])) : vue.createCommentVNode("", true)
688
688
  ], 2),
689
- vues.createVNode(vues.unref(index$8.Tablesp), {
689
+ vue.createVNode(vue.unref(index$8.Tablesp), {
690
690
  ref_key: "tableRef",
691
691
  ref: tableRef,
692
692
  load: ((_c = props.config.query) == null ? void 0 : _c.is) === false,
@@ -698,35 +698,35 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
698
698
  list: tableList.value,
699
699
  onSelection: _cache[5] || (_cache[5] = (array) => selection.value = array),
700
700
  onChange: onRowClick
701
- }, vues.createSlots({
702
- operation: vues.withCtx(({ row }) => [
703
- vues.createElementVNode("div", {
704
- class: vues.normalizeClass(vues.unref(cs).z("operations"))
701
+ }, vue.createSlots({
702
+ operation: vue.withCtx(({ row }) => [
703
+ vue.createElementVNode("div", {
704
+ class: vue.normalizeClass(vue.unref(cs).z("operations"))
705
705
  }, [
706
- vues.createVNode(vues.unref(index$7.Buttons), {
707
- options: vues.unref(operationColumn),
706
+ vue.createVNode(vue.unref(index$7.Buttons), {
707
+ options: vue.unref(operationColumn),
708
708
  onClicks: (item) => onOperation(item, row)
709
709
  }, null, 8, ["options", "onClicks"]),
710
- vues.renderSlot(_ctx.$slots, dataSlot.operation, { row })
710
+ vue.renderSlot(_ctx.$slots, dataSlot.operation, { row })
711
711
  ], 2)
712
712
  ]),
713
713
  _: 2
714
714
  }, [
715
- vues.renderList(tableSlots, (k) => {
715
+ vue.renderList(tableSlots, (k) => {
716
716
  return {
717
717
  name: k,
718
- fn: vues.withCtx((scope) => [
719
- vues.unref(slots)["table-" + k] ? vues.renderSlot(_ctx.$slots, "table-" + k, vues.normalizeProps(vues.mergeProps({ key: 0 }, scope))) : vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.mergeProps({ key: 1 }, scope)))
718
+ fn: vue.withCtx((scope) => [
719
+ vue.unref(slots)["table-" + k] ? vue.renderSlot(_ctx.$slots, "table-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
720
720
  ])
721
721
  };
722
722
  })
723
723
  ]), 1032, ["load", "config", "param", "value", "options", "compons", "list"])
724
724
  ], 2)
725
725
  ], 2),
726
- vues.createElementVNode("div", {
727
- class: vues.normalizeClass(vues.unref(cs).z("footer"))
726
+ vue.createElementVNode("div", {
727
+ class: vue.normalizeClass(vue.unref(cs).z("footer"))
728
728
  }, [
729
- vues.renderSlot(_ctx.$slots, dataSlot.footer)
729
+ vue.renderSlot(_ctx.$slots, dataSlot.footer)
730
730
  ], 2)
731
731
  ], 2);
732
732
  };
@@ -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 Draggable = require("vuedraggable");
5
5
  const index$3 = require("../../dialogs/index.cjs");
6
6
  const index$5 = require("../../no-data/index.cjs");
@@ -8,7 +8,7 @@ const index$4 = require("../../checkbox/index.cjs");
8
8
  const index$2 = require("../../button/index.cjs");
9
9
  const index$1 = require("../../../hooks/cssname/index.cjs");
10
10
  const index = require("../../../hooks/locale/index.cjs");
11
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
11
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
12
  __name: "set-column",
13
13
  props: {
14
14
  modelValue: {
@@ -30,10 +30,10 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
30
  const props = __props;
31
31
  const emit = __emit;
32
32
  const cs = index$1.useCssName("set-column");
33
- const dialogVisible = vues.ref(false);
34
- const isall = vues.ref(false);
35
- const value = vues.ref([...props.modelValue]);
36
- vues.watch(
33
+ const dialogVisible = vue.ref(false);
34
+ const isall = vue.ref(false);
35
+ const value = vue.ref([...props.modelValue]);
36
+ vue.watch(
37
37
  () => props.modelValue,
38
38
  () => {
39
39
  value.value = [...props.modelValue];
@@ -60,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
60
60
  disabled: false,
61
61
  ghostClass: "ghost"
62
62
  };
63
- const drag = vues.ref(false);
63
+ const drag = vue.ref(false);
64
64
  const onChange = (item, is) => {
65
65
  var _a;
66
66
  if (is) {
@@ -86,75 +86,75 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
86
86
  }
87
87
  };
88
88
  return (_ctx, _cache) => {
89
- return vues.openBlock(), vues.createElementBlock("div", {
90
- class: vues.normalizeClass(vues.unref(cs).z())
89
+ return vue.openBlock(), vue.createElementBlock("div", {
90
+ class: vue.normalizeClass(vue.unref(cs).z())
91
91
  }, [
92
- vues.createVNode(vues.unref(index$2.Button), { onClick: onOpen }, {
93
- default: vues.withCtx(() => [
94
- vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("setColumn.name")), 1)
92
+ vue.createVNode(vue.unref(index$2.Button), { onClick: onOpen }, {
93
+ default: vue.withCtx(() => [
94
+ vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("setColumn.name")), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }),
98
- vues.createVNode(vues.unref(index$3.Dialogs), {
99
- class: vues.normalizeClass(vues.unref(cs).z("dialog")),
98
+ vue.createVNode(vue.unref(index$3.Dialogs), {
99
+ class: vue.normalizeClass(vue.unref(cs).z("dialog")),
100
100
  modelValue: dialogVisible.value,
101
101
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => dialogVisible.value = $event),
102
102
  width: 900,
103
- title: vues.unref(getLocale)("setColumn.title"),
103
+ title: vue.unref(getLocale)("setColumn.title"),
104
104
  onConfirm: onSubmit
105
105
  }, {
106
- default: vues.withCtx(() => [
107
- vues.createElementVNode("div", {
108
- class: vues.normalizeClass(vues.unref(cs).z("dialog-main"))
106
+ default: vue.withCtx(() => [
107
+ vue.createElementVNode("div", {
108
+ class: vue.normalizeClass(vue.unref(cs).z("dialog-main"))
109
109
  }, [
110
- vues.createElementVNode("div", {
111
- class: vues.normalizeClass(vues.unref(cs).z("check"))
110
+ vue.createElementVNode("div", {
111
+ class: vue.normalizeClass(vue.unref(cs).z("check"))
112
112
  }, [
113
- vues.createElementVNode("div", {
114
- class: vues.normalizeClass(vues.unref(cs).z("title"))
113
+ vue.createElementVNode("div", {
114
+ class: vue.normalizeClass(vue.unref(cs).z("title"))
115
115
  }, [
116
- vues.createElementVNode("span", null, vues.toDisplayString(vues.unref(getLocale)("setColumn.optional")), 1),
117
- vues.createElementVNode("span", {
118
- class: vues.normalizeClass(vues.unref(cs).z("title-all"))
116
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(getLocale)("setColumn.optional")), 1),
117
+ vue.createElementVNode("span", {
118
+ class: vue.normalizeClass(vue.unref(cs).z("title-all"))
119
119
  }, [
120
- vues.createVNode(vues.unref(index$4.Checkbox), {
120
+ vue.createVNode(vue.unref(index$4.Checkbox), {
121
121
  modelValue: isall.value,
122
122
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isall.value = $event),
123
123
  onChange: onAllChange
124
124
  }, {
125
- default: vues.withCtx(() => [
126
- vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("setColumn.all")), 1)
125
+ default: vue.withCtx(() => [
126
+ vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("setColumn.all")), 1)
127
127
  ]),
128
128
  _: 1
129
129
  }, 8, ["modelValue"])
130
130
  ], 2)
131
131
  ], 2),
132
- (vues.openBlock(), vues.createElementBlock("div", {
133
- class: vues.normalizeClass(vues.unref(cs).z("check-list")),
132
+ (vue.openBlock(), vue.createElementBlock("div", {
133
+ class: vue.normalizeClass(vue.unref(cs).z("check-list")),
134
134
  key: value.value.length
135
135
  }, [
136
- props.list.length > 0 ? (vues.openBlock(true), vues.createElementBlock(vues.Fragment, { key: 0 }, vues.renderList(props.list, (item, index2) => {
137
- return vues.openBlock(), vues.createBlock(vues.unref(index$4.Checkbox), {
138
- class: vues.normalizeClass(vues.unref(cs).z("check-list-li")),
136
+ props.list.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.list, (item, index2) => {
137
+ return vue.openBlock(), vue.createBlock(vue.unref(index$4.Checkbox), {
138
+ class: vue.normalizeClass(vue.unref(cs).z("check-list-li")),
139
139
  key: index2,
140
140
  label: item.label,
141
141
  value: item.prop,
142
142
  checked: isChecked(item),
143
143
  onChange: (is) => onChange(item, Boolean(is))
144
144
  }, null, 8, ["class", "label", "value", "checked", "onChange"]);
145
- }), 128)) : (vues.openBlock(), vues.createBlock(vues.unref(index$5.NoData), { key: 1 }))
145
+ }), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$5.NoData), { key: 1 }))
146
146
  ], 2))
147
147
  ], 2),
148
- vues.createElementVNode("div", {
149
- class: vues.normalizeClass(vues.unref(cs).z("already"))
148
+ vue.createElementVNode("div", {
149
+ class: vue.normalizeClass(vue.unref(cs).z("already"))
150
150
  }, [
151
- vues.createElementVNode("div", {
152
- class: vues.normalizeClass(vues.unref(cs).z("title"))
153
- }, vues.toDisplayString(vues.unref(getLocale)("setColumn.selected")), 3),
154
- vues.createElementVNode("div", {
155
- class: vues.normalizeClass(vues.unref(cs).z("already-list"))
151
+ vue.createElementVNode("div", {
152
+ class: vue.normalizeClass(vue.unref(cs).z("title"))
153
+ }, vue.toDisplayString(vue.unref(getLocale)("setColumn.selected")), 3),
154
+ vue.createElementVNode("div", {
155
+ class: vue.normalizeClass(vue.unref(cs).z("already-list"))
156
156
  }, [
157
- value.value && value.value.length > 0 ? (vues.openBlock(), vues.createBlock(vues.unref(Draggable), vues.mergeProps({ key: 0 }, dragOptions, {
157
+ value.value && value.value.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(Draggable), vue.mergeProps({ key: 0 }, dragOptions, {
158
158
  onStart: _cache[1] || (_cache[1] = ($event) => drag.value = true),
159
159
  onEnd: _cache[2] || (_cache[2] = ($event) => drag.value = false),
160
160
  modelValue: value.value,
@@ -162,31 +162,31 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
162
162
  "item-key": (value2) => value2,
163
163
  handle: ".handle"
164
164
  }), {
165
- item: vues.withCtx(({ element, index: index2 }) => [
166
- vues.createElementVNode("div", {
167
- class: vues.normalizeClass(["handle", vues.unref(cs).z("already-li")])
165
+ item: vue.withCtx(({ element, index: index2 }) => [
166
+ vue.createElementVNode("div", {
167
+ class: vue.normalizeClass(["handle", vue.unref(cs).z("already-li")])
168
168
  }, [
169
- vues.createElementVNode("div", {
170
- class: vues.normalizeClass(vues.unref(cs).z("already-li-v"))
169
+ vue.createElementVNode("div", {
170
+ class: vue.normalizeClass(vue.unref(cs).z("already-li-v"))
171
171
  }, [
172
- vues.createElementVNode("div", null, vues.toDisplayString(element.label), 1)
172
+ vue.createElementVNode("div", null, vue.toDisplayString(element.label), 1)
173
173
  ], 2),
174
- vues.createVNode(vues.unref(index$2.Button), {
174
+ vue.createVNode(vue.unref(index$2.Button), {
175
175
  text: "",
176
176
  type: "danger",
177
- onClick: vues.withModifiers(($event) => onDelete(element, index2), ["stop"])
177
+ onClick: vue.withModifiers(($event) => onDelete(element, index2), ["stop"])
178
178
  }, {
179
- default: vues.withCtx(() => [
180
- vues.createTextVNode(vues.toDisplayString(vues.unref(getLocale)("setColumn.delete")), 1)
179
+ default: vue.withCtx(() => [
180
+ vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("setColumn.delete")), 1)
181
181
  ]),
182
182
  _: 1
183
183
  }, 8, ["onClick"])
184
184
  ], 2)
185
185
  ]),
186
186
  _: 1
187
- }, 16, ["modelValue", "item-key"])) : (vues.openBlock(), vues.createBlock(vues.unref(index$5.NoData), {
187
+ }, 16, ["modelValue", "item-key"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$5.NoData), {
188
188
  key: 1,
189
- text: vues.unref(getLocale)("setColumn.nodata")
189
+ text: vue.unref(getLocale)("setColumn.nodata")
190
190
  }, null, 8, ["text"]))
191
191
  ], 2)
192
192
  ], 2)
@@ -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/pagination/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("pagination");
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.ElPagination), vues.mergeProps({
28
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElPagination), 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
  })