@fangzhongya/fang-ui 0.0.65 → 0.0.66

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 (55) hide show
  1. package/dist/components/button/src/data.cjs +3 -1
  2. package/dist/components/button/src/data.d.ts +3 -1
  3. package/dist/components/button/src/data.js +3 -1
  4. package/dist/components/button/src/index2.cjs +6 -10
  5. package/dist/components/button/src/index2.js +8 -12
  6. package/dist/components/buttons/src/index2.cjs +3 -3
  7. package/dist/components/buttons/src/index2.js +3 -3
  8. package/dist/components/dates-picker/src/index2.cjs +2 -2
  9. package/dist/components/dates-picker/src/index2.js +1 -1
  10. package/dist/components/edit-float/src/index2.cjs +9 -8
  11. package/dist/components/edit-float/src/index2.js +7 -6
  12. package/dist/components/images/src/index2.cjs +4 -4
  13. package/dist/components/images/src/index2.js +1 -1
  14. package/dist/components/input-history/index.css +1 -1
  15. package/dist/components/input-history/index.scss +1 -2
  16. package/dist/components/input-history/src/index2.cjs +17 -12
  17. package/dist/components/input-history/src/index2.js +12 -7
  18. package/dist/components/labels/src/index2.cjs +1 -1
  19. package/dist/components/labels/src/index2.js +1 -1
  20. package/dist/components/loading/src/index.cjs +3 -3
  21. package/dist/components/loading/src/index.d.ts +2 -2
  22. package/dist/components/loading/src/index.js +1 -1
  23. package/dist/components/message/index.d.ts +3 -5
  24. package/dist/components/message/src/index.cjs +3 -3
  25. package/dist/components/message/src/index.d.ts +3 -10
  26. package/dist/components/message/src/index.js +2 -2
  27. package/dist/components/message-box/src/index.cjs +3 -6
  28. package/dist/components/message-box/src/index.d.ts +3 -13
  29. package/dist/components/message-box/src/index.js +2 -5
  30. package/dist/components/page/set-column.css +8 -8
  31. package/dist/components/page/src/index2.cjs +22 -39
  32. package/dist/components/page/src/index2.js +23 -40
  33. package/dist/components/page/src/set-column.cjs +1 -1
  34. package/dist/components/page/src/set-column.js +1 -1
  35. package/dist/components/page/src/set-column2.cjs +9 -8
  36. package/dist/components/page/src/set-column2.js +2 -1
  37. package/dist/components/role-select/src/index2.cjs +7 -7
  38. package/dist/components/role-select/src/index2.js +1 -1
  39. package/dist/components/selector/src/index2.cjs +12 -11
  40. package/dist/components/selector/src/index2.js +8 -7
  41. package/dist/components/tablesv/src/column.cjs +9 -8
  42. package/dist/components/tablesv/src/column.js +2 -1
  43. package/dist/components/tablesv/src/columns2.cjs +2 -2
  44. package/dist/components/tablesv/src/columns2.js +1 -1
  45. package/dist/css/index.css +1 -1
  46. package/dist/css/input-history.css +1 -1
  47. package/dist/css/page/set-column.css +8 -8
  48. package/dist/icons/index.css +36 -36
  49. package/dist/icons/index.json +8 -8
  50. package/dist/index.css +1 -1
  51. package/package.json +4 -4
  52. /package/dist/components/{forms-items → forms-item}/index.css +0 -0
  53. /package/dist/components/{config-provider → keep-com}/index.css +0 -0
  54. /package/dist/css/{forms-items.css → forms-item.css} +0 -0
  55. /package/dist/css/{config-provider.css → keep-com.css} +0 -0
@@ -1,29 +1,29 @@
1
- .set-column-dialog-main[data-v-f43f186a] {
1
+ .set-column-dialog-main[data-v-ad509651] {
2
2
  font-size: 16px;
3
3
  display: flex;
4
4
  }
5
- .set-column-dialog-main .set-column-check[data-v-f43f186a] {
5
+ .set-column-dialog-main .set-column-check[data-v-ad509651] {
6
6
  flex: 1;
7
7
  }
8
- .set-column-dialog-main .set-column-check .set-column-check-list[data-v-f43f186a] {
8
+ .set-column-dialog-main .set-column-check .set-column-check-list[data-v-ad509651] {
9
9
  padding: 10px;
10
10
  display: flex;
11
11
  flex-direction: row;
12
12
  flex-wrap: wrap;
13
13
  overflow-y: auto;
14
14
  }
15
- .set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-f43f186a] {
15
+ .set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-ad509651] {
16
16
  width: 130px;
17
17
  }
18
- .set-column-dialog-main .set-column-already[data-v-f43f186a] {
18
+ .set-column-dialog-main .set-column-already[data-v-ad509651] {
19
19
  border-left: 1px solid #999;
20
20
  padding-left: 20px;
21
21
  width: 260px;
22
22
  }
23
- .set-column-dialog-main .set-column-already .set-column-already-list[data-v-f43f186a] {
23
+ .set-column-dialog-main .set-column-already .set-column-already-list[data-v-ad509651] {
24
24
  padding: 10px 10px 10px 0;
25
25
  }
26
- .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-f43f186a] {
26
+ .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-ad509651] {
27
27
  height: 40px;
28
28
  line-height: 40px;
29
29
  border-bottom: 1px solid #ccc;
@@ -31,7 +31,7 @@
31
31
  align-items: center;
32
32
  justify-content: space-between;
33
33
  }
34
- .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-f43f186a] {
34
+ .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-ad509651] {
35
35
  display: flex;
36
36
  flex: 1;
37
37
  align-items: center;
@@ -6,9 +6,9 @@ const index$5 = require("../../forms/index.cjs");
6
6
  const index$8 = require("../../tablesp/index.cjs");
7
7
  const index$6 = require("../../list/index.cjs");
8
8
  const index$4 = require("../../dialogs/index.cjs");
9
- const index$7 = require("element-plus/es/components/button/index");
10
- const index$3 = require("element-plus/es/components/message/index");
11
- const index$2 = require("element-plus/es/components/message-box/index");
9
+ const index$7 = require("../../buttons/index.cjs");
10
+ const index$3 = require("../../message/index.cjs");
11
+ const index$2 = require("../../message-box/index.cjs");
12
12
  const data = require("./data.cjs");
13
13
  const setColumn = require("./set-column.cjs");
14
14
  const urls = require("../../common/urls.cjs");
@@ -259,7 +259,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
259
259
  array.forEach((obj) => {
260
260
  ts.push(name + ":" + (obj[label] ?? ""));
261
261
  });
262
- index$2.ElMessageBox.confirm(ts.join("<br>"), "提示", {
262
+ index$2.MessageBox.confirm(ts.join("<br>"), "提示", {
263
263
  confirmButtonText: "确认",
264
264
  cancelButtonText: "取消",
265
265
  type: "warning",
@@ -284,10 +284,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
284
284
  }
285
285
  urls.comHandle(param, value).then((res) => {
286
286
  if (res.result) {
287
- index$3.ElMessage.success(res.info || "删除成功");
287
+ index$3.Message.success(res.info || "删除成功");
288
288
  onRefresh();
289
289
  } else {
290
- index$3.ElMessage.error(res.info || "删除失败");
290
+ index$3.Message.error(res.info || "删除失败");
291
291
  }
292
292
  }).catch((err) => {
293
293
  console.error("删除失败", err);
@@ -318,7 +318,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
318
318
  } else if (item.prop === 8) {
319
319
  console.log("批量删除", selection.value);
320
320
  if (selection.value.length === 0) {
321
- index$3.ElMessage.warning("请至少选择一条记录");
321
+ index$3.Message.warning("请至少选择一条记录");
322
322
  return;
323
323
  }
324
324
  onDelete(selection.value);
@@ -343,7 +343,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
343
343
  details.value = res.data || row;
344
344
  details.visible = true;
345
345
  } else {
346
- index$3.ElMessage.error(res.info || "查询详情失败");
346
+ index$3.Message.error(res.info || "查询详情失败");
347
347
  }
348
348
  }).catch((err) => {
349
349
  console.error("查询详情失败", err);
@@ -419,13 +419,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
419
419
  }
420
420
  urls.comHandle(param, data2).then((res) => {
421
421
  if (res.result) {
422
- index$3.ElMessage.success(
422
+ index$3.Message.success(
423
423
  res.info || "添加成功"
424
424
  );
425
425
  dialog.visible = false;
426
426
  onRefresh();
427
427
  } else {
428
- index$3.ElMessage.error(res.info || "添加失败");
428
+ index$3.Message.error(res.info || "添加失败");
429
429
  }
430
430
  }).catch((err) => {
431
431
  console.error("添加失败", err);
@@ -453,13 +453,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
453
453
  }
454
454
  urls.comHandle(param, data2).then((res) => {
455
455
  if (res.result) {
456
- index$3.ElMessage.success(
456
+ index$3.Message.success(
457
457
  res.info || "编辑成功"
458
458
  );
459
459
  dialog.visible = false;
460
460
  onRefresh();
461
461
  } else {
462
- index$3.ElMessage.error(res.info || "编辑失败");
462
+ index$3.Message.error(res.info || "编辑失败");
463
463
  }
464
464
  }).catch((err) => {
465
465
  console.error("编辑失败", err);
@@ -672,24 +672,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
672
672
  vue.createElementVNode("div", {
673
673
  class: vue.normalizeClass(vue.unref(cs).z("top-operation"))
674
674
  }, [
675
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(operationTop), (item, index2) => {
676
- return vue.openBlock(), vue.createBlock(vue.unref(index$7.ElButton), {
677
- key: index2,
678
- type: item.type,
679
- onClick: vue.withModifiers(($event) => onOperation(item), ["stop"])
680
- }, {
681
- default: vue.withCtx(() => [
682
- vue.createTextVNode(vue.toDisplayString(item.label), 1)
683
- ]),
684
- _: 2
685
- }, 1032, ["type", "onClick"]);
686
- }), 128)),
675
+ vue.createVNode(vue.unref(index$7.Buttons), {
676
+ options: vue.unref(operationTop),
677
+ onClicks: _cache[3] || (_cache[3] = (item) => onOperation(item))
678
+ }, null, 8, ["options"]),
687
679
  vue.renderSlot(_ctx.$slots, dataSlot.top)
688
680
  ], 2),
689
681
  props.config.setColumn ? (vue.openBlock(), vue.createBlock(setColumn.default, {
690
682
  key: 0,
691
683
  modelValue: setList.value,
692
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => setList.value = $event),
684
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => setList.value = $event),
693
685
  list: props.list
694
686
  }, null, 8, ["modelValue", "list"])) : vue.createCommentVNode("", true)
695
687
  ], 2),
@@ -703,26 +695,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
703
695
  options: props.options,
704
696
  compons: props.compons,
705
697
  list: tableList.value,
706
- onSelection: _cache[4] || (_cache[4] = (array) => selection.value = array),
698
+ onSelection: _cache[5] || (_cache[5] = (array) => selection.value = array),
707
699
  onChange: onRowClick
708
700
  }, vue.createSlots({
709
701
  operation: vue.withCtx(({ row }) => [
710
702
  vue.createElementVNode("div", {
711
703
  class: vue.normalizeClass(vue.unref(cs).z("operations"))
712
704
  }, [
713
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(operationColumn), (item, index2) => {
714
- return vue.openBlock(), vue.createBlock(vue.unref(index$7.ElButton), {
715
- key: index2,
716
- type: item.type,
717
- text: item.text,
718
- onClick: vue.withModifiers(($event) => onOperation(item, row), ["stop"])
719
- }, {
720
- default: vue.withCtx(() => [
721
- vue.createTextVNode(vue.toDisplayString(item.label), 1)
722
- ]),
723
- _: 2
724
- }, 1032, ["type", "text", "onClick"]);
725
- }), 128)),
705
+ vue.createVNode(vue.unref(index$7.Buttons), {
706
+ options: vue.unref(operationColumn),
707
+ onClicks: (item) => onOperation(item, row)
708
+ }, null, 8, ["options", "onClicks"]),
726
709
  vue.renderSlot(_ctx.$slots, dataSlot.operation, { row })
727
710
  ], 2)
728
711
  ]),
@@ -1,12 +1,12 @@
1
- import { defineComponent, useSlots, ref, computed, reactive, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, withCtx, createBlock, createCommentVNode, mergeProps, createSlots, renderList, renderSlot, normalizeProps, Fragment, withModifiers, createTextVNode, toDisplayString } from "vue";
1
+ import { defineComponent, useSlots, ref, computed, reactive, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, withCtx, createBlock, createCommentVNode, mergeProps, createSlots, renderList, renderSlot, normalizeProps } from "vue";
2
2
  import { useCssName } from "../../../hooks/cssname/index.js";
3
3
  import { Forms } from "../../forms/index.js";
4
4
  import { Tablesp } from "../../tablesp/index.js";
5
5
  import { List } from "../../list/index.js";
6
6
  import { Dialogs } from "../../dialogs/index.js";
7
- import { ElButton } from "element-plus/es/components/button/index";
8
- import { ElMessage } from "element-plus/es/components/message/index";
9
- import { ElMessageBox } from "element-plus/es/components/message-box/index";
7
+ import { Buttons } from "../../buttons/index.js";
8
+ import { Message } from "../../message/index.js";
9
+ import { MessageBox } from "../../message-box/index.js";
10
10
  import { dataEmits, dataProps } from "./data.js";
11
11
  import SetColumn from "./set-column.js";
12
12
  import { comHandle } from "../../common/urls.js";
@@ -257,7 +257,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
257
257
  array.forEach((obj) => {
258
258
  ts.push(name + ":" + (obj[label] ?? ""));
259
259
  });
260
- ElMessageBox.confirm(ts.join("<br>"), "提示", {
260
+ MessageBox.confirm(ts.join("<br>"), "提示", {
261
261
  confirmButtonText: "确认",
262
262
  cancelButtonText: "取消",
263
263
  type: "warning",
@@ -282,10 +282,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
282
282
  }
283
283
  comHandle(param, value).then((res) => {
284
284
  if (res.result) {
285
- ElMessage.success(res.info || "删除成功");
285
+ Message.success(res.info || "删除成功");
286
286
  onRefresh();
287
287
  } else {
288
- ElMessage.error(res.info || "删除失败");
288
+ Message.error(res.info || "删除失败");
289
289
  }
290
290
  }).catch((err) => {
291
291
  console.error("删除失败", err);
@@ -316,7 +316,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
316
316
  } else if (item.prop === 8) {
317
317
  console.log("批量删除", selection.value);
318
318
  if (selection.value.length === 0) {
319
- ElMessage.warning("请至少选择一条记录");
319
+ Message.warning("请至少选择一条记录");
320
320
  return;
321
321
  }
322
322
  onDelete(selection.value);
@@ -341,7 +341,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
341
341
  details.value = res.data || row;
342
342
  details.visible = true;
343
343
  } else {
344
- ElMessage.error(res.info || "查询详情失败");
344
+ Message.error(res.info || "查询详情失败");
345
345
  }
346
346
  }).catch((err) => {
347
347
  console.error("查询详情失败", err);
@@ -417,13 +417,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
417
417
  }
418
418
  comHandle(param, data).then((res) => {
419
419
  if (res.result) {
420
- ElMessage.success(
420
+ Message.success(
421
421
  res.info || "添加成功"
422
422
  );
423
423
  dialog.visible = false;
424
424
  onRefresh();
425
425
  } else {
426
- ElMessage.error(res.info || "添加失败");
426
+ Message.error(res.info || "添加失败");
427
427
  }
428
428
  }).catch((err) => {
429
429
  console.error("添加失败", err);
@@ -451,13 +451,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
451
451
  }
452
452
  comHandle(param, data).then((res) => {
453
453
  if (res.result) {
454
- ElMessage.success(
454
+ Message.success(
455
455
  res.info || "编辑成功"
456
456
  );
457
457
  dialog.visible = false;
458
458
  onRefresh();
459
459
  } else {
460
- ElMessage.error(res.info || "编辑失败");
460
+ Message.error(res.info || "编辑失败");
461
461
  }
462
462
  }).catch((err) => {
463
463
  console.error("编辑失败", err);
@@ -670,24 +670,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
670
670
  createElementVNode("div", {
671
671
  class: normalizeClass(unref(cs).z("top-operation"))
672
672
  }, [
673
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(operationTop), (item, index) => {
674
- return openBlock(), createBlock(unref(ElButton), {
675
- key: index,
676
- type: item.type,
677
- onClick: withModifiers(($event) => onOperation(item), ["stop"])
678
- }, {
679
- default: withCtx(() => [
680
- createTextVNode(toDisplayString(item.label), 1)
681
- ]),
682
- _: 2
683
- }, 1032, ["type", "onClick"]);
684
- }), 128)),
673
+ createVNode(unref(Buttons), {
674
+ options: unref(operationTop),
675
+ onClicks: _cache[3] || (_cache[3] = (item) => onOperation(item))
676
+ }, null, 8, ["options"]),
685
677
  renderSlot(_ctx.$slots, dataSlot.top)
686
678
  ], 2),
687
679
  props.config.setColumn ? (openBlock(), createBlock(SetColumn, {
688
680
  key: 0,
689
681
  modelValue: setList.value,
690
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => setList.value = $event),
682
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => setList.value = $event),
691
683
  list: props.list
692
684
  }, null, 8, ["modelValue", "list"])) : createCommentVNode("", true)
693
685
  ], 2),
@@ -701,26 +693,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
701
693
  options: props.options,
702
694
  compons: props.compons,
703
695
  list: tableList.value,
704
- onSelection: _cache[4] || (_cache[4] = (array) => selection.value = array),
696
+ onSelection: _cache[5] || (_cache[5] = (array) => selection.value = array),
705
697
  onChange: onRowClick
706
698
  }, createSlots({
707
699
  operation: withCtx(({ row }) => [
708
700
  createElementVNode("div", {
709
701
  class: normalizeClass(unref(cs).z("operations"))
710
702
  }, [
711
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(operationColumn), (item, index) => {
712
- return openBlock(), createBlock(unref(ElButton), {
713
- key: index,
714
- type: item.type,
715
- text: item.text,
716
- onClick: withModifiers(($event) => onOperation(item, row), ["stop"])
717
- }, {
718
- default: withCtx(() => [
719
- createTextVNode(toDisplayString(item.label), 1)
720
- ]),
721
- _: 2
722
- }, 1032, ["type", "text", "onClick"]);
723
- }), 128)),
703
+ createVNode(unref(Buttons), {
704
+ options: unref(operationColumn),
705
+ onClicks: (item) => onOperation(item, row)
706
+ }, null, 8, ["options", "onClicks"]),
724
707
  renderSlot(_ctx.$slots, dataSlot.operation, { row })
725
708
  ], 2)
726
709
  ]),
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const setColumn_vue_vue_type_script_setup_true_lang = require("./set-column2.cjs");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
6
- const SetColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(setColumn_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f43f186a"]]);
6
+ const SetColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(setColumn_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-ad509651"]]);
7
7
  exports.default = SetColumn;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./set-column2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const SetColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f43f186a"]]);
4
+ const SetColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ad509651"]]);
5
5
  export {
6
6
  SetColumn as default
7
7
  };
@@ -2,10 +2,11 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Draggable = require("vuedraggable");
5
- const index$1 = require("../../dialogs/index.cjs");
6
- const index$2 = require("../../no-data/index.cjs");
5
+ const index$2 = require("../../dialogs/index.cjs");
6
+ const index$4 = require("../../no-data/index.cjs");
7
7
  const index = require("../../../hooks/cssname/index.cjs");
8
- const elementPlus = require("element-plus");
8
+ const index$3 = require("element-plus/es/components/checkbox/index");
9
+ const index$1 = require("element-plus/es/components/button/index");
9
10
  const _hoisted_1 = {
10
11
  key: 1,
11
12
  class: "no-data"
@@ -69,13 +70,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
69
70
  return vue.openBlock(), vue.createElementBlock("div", {
70
71
  class: vue.normalizeClass(vue.unref(cs).z())
71
72
  }, [
72
- vue.createVNode(vue.unref(elementPlus.ElButton), { onClick: onOpen }, {
73
+ vue.createVNode(vue.unref(index$1.ElButton), { onClick: onOpen }, {
73
74
  default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
74
75
  vue.createTextVNode("列设置", -1)
75
76
  ])]),
76
77
  _: 1
77
78
  }),
78
- vue.createVNode(vue.unref(index$1.Dialogs), {
79
+ vue.createVNode(vue.unref(index$2.Dialogs), {
79
80
  class: vue.normalizeClass(vue.unref(cs).z("dialog")),
80
81
  modelValue: dialogVisible.value,
81
82
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
@@ -97,7 +98,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
97
98
  key: value.value.length
98
99
  }, [
99
100
  props.list && props.list.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.list, (item, index2) => {
100
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCheckbox), {
101
+ return vue.openBlock(), vue.createBlock(vue.unref(index$3.ElCheckbox), {
101
102
  class: vue.normalizeClass(vue.unref(cs).z("check-list-li")),
102
103
  key: index2,
103
104
  label: item.label,
@@ -105,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
105
106
  checked: isChecked(item),
106
107
  onChange: (is) => onChange(item, Boolean(is))
107
108
  }, null, 8, ["class", "label", "value", "checked", "onChange"]);
108
- }), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.NoData), { key: 1 }))
109
+ }), 128)) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.NoData), { key: 1 }))
109
110
  ], 2))
110
111
  ], 2),
111
112
  vue.createElementVNode("div", {
@@ -134,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
134
135
  }, [
135
136
  vue.createElementVNode("div", null, vue.toDisplayString(element.label), 1)
136
137
  ], 2),
137
- vue.createVNode(vue.unref(elementPlus.ElButton), {
138
+ vue.createVNode(vue.unref(index$1.ElButton), {
138
139
  text: "",
139
140
  onClick: vue.withModifiers(($event) => onDelete(element, index2), ["stop"])
140
141
  }, {
@@ -3,7 +3,8 @@ import Draggable from "vuedraggable";
3
3
  import { Dialogs } from "../../dialogs/index.js";
4
4
  import { NoData } from "../../no-data/index.js";
5
5
  import { useCssName } from "../../../hooks/cssname/index.js";
6
- import { ElButton, ElCheckbox } from "element-plus";
6
+ import { ElCheckbox } from "element-plus/es/components/checkbox/index";
7
+ import { ElButton } from "element-plus/es/components/button/index";
7
8
  const _hoisted_1 = {
8
9
  key: 1,
9
10
  class: "no-data"
@@ -3,10 +3,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  require("../../../hooks/index.cjs");
6
- const elementPlus = require("element-plus");
6
+ const index$5 = require("element-plus/es/components/table/index");
7
7
  const index$3 = require("../../input/index.cjs");
8
8
  const index$4 = require("../../checkbox-group/index.cjs");
9
- const index$5 = require("../../checkbox/index.cjs");
9
+ const index$6 = require("../../checkbox/index.cjs");
10
10
  const index$2 = require("../../select-dialog/index.cjs");
11
11
  const index = require("../../../hooks/locale/index.cjs");
12
12
  const index$1 = require("../../../hooks/cssname/index.cjs");
@@ -158,27 +158,27 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
158
158
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => list.value = $event)
159
159
  }, {
160
160
  default: vue.withCtx(() => [
161
- vue.createVNode(vue.unref(elementPlus.ElTable), {
161
+ vue.createVNode(vue.unref(index$5.ElTable), {
162
162
  data: listData.value,
163
163
  height: "100%",
164
164
  style: { "width": "100%" }
165
165
  }, {
166
166
  default: vue.withCtx(() => [
167
- vue.createVNode(vue.unref(elementPlus.ElTableColumn), {
167
+ vue.createVNode(vue.unref(index$5.ElTableColumn), {
168
168
  type: "index",
169
169
  label: "序号",
170
170
  width: "60"
171
171
  }),
172
- vue.createVNode(vue.unref(elementPlus.ElTableColumn), {
172
+ vue.createVNode(vue.unref(index$5.ElTableColumn), {
173
173
  prop: psprops.value.label,
174
174
  label: "角色名称"
175
175
  }, null, 8, ["prop"]),
176
- vue.createVNode(vue.unref(elementPlus.ElTableColumn), {
176
+ vue.createVNode(vue.unref(index$5.ElTableColumn), {
177
177
  width: "60",
178
178
  label: "选择"
179
179
  }, {
180
180
  default: vue.withCtx(({ row }) => [
181
- vue.createVNode(vue.unref(index$5.Checkbox), {
181
+ vue.createVNode(vue.unref(index$6.Checkbox), {
182
182
  onChange: () => {
183
183
  onChange(row);
184
184
  },
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, withKeys, createTextVNode, toDisplayString, renderSlot } from "vue";
2
2
  import { roleSelect, dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import "../../../hooks/index.js";
4
- import { ElTable, ElTableColumn } from "element-plus";
4
+ import { ElTable, ElTableColumn } from "element-plus/es/components/table/index";
5
5
  import { Input } from "../../input/index.js";
6
6
  import { CheckboxGroup } from "../../checkbox-group/index.js";
7
7
  import { Checkbox } from "../../checkbox/index.js";
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const elementPlus = require("element-plus");
4
+ const index$2 = require("../../popover/index.cjs");
5
+ const index$4 = require("../../button/index.cjs");
6
+ const index$5 = require("../../array/index.cjs");
7
+ const index$6 = require("../../inputs/index.cjs");
8
+ const index$3 = require("../../select-scroll/index.cjs");
5
9
  const use = require("../../common/use.cjs");
6
10
  const data = require("./data.cjs");
7
11
  const index$1 = require("../../../hooks/cssname/index.cjs");
8
- const index$2 = require("../../select-scroll/index.cjs");
9
- const index$3 = require("../../array/index.cjs");
10
- const index$4 = require("../../inputs/index.cjs");
11
12
  const index = require("../../../hooks/locale/index.cjs");
12
13
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
14
  __name: "index",
@@ -113,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
113
114
  ...data.dataExpose
114
115
  });
115
116
  return (_ctx, _cache) => {
116
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPopover), {
117
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.Popover), {
117
118
  onAfterEnter: afterEnter,
118
119
  placement: "bottom",
119
120
  "popper-class": vue.unref(cs).z("popper"),
@@ -123,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
124
  visible: data$1.timeShow
124
125
  }, {
125
126
  reference: vue.withCtx(() => [
126
- vue.createVNode(vue.unref(index$3.Array), {
127
+ vue.createVNode(vue.unref(index$5.Array), {
127
128
  rangeSeparator: props.rangeSeparator,
128
129
  startPlaceholder: props.startPlaceholder,
129
130
  endPlaceholder: props.endPlaceholder,
@@ -132,7 +133,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
132
133
  modelValue: [data$1.sname, data$1.ename],
133
134
  onFocus: _cache[0] || (_cache[0] = ($event) => data$1.timeShow = true),
134
135
  onClear: onCancel,
135
- compon: vue.unref(index$4.Inputs)
136
+ compon: vue.unref(index$6.Inputs)
136
137
  }, null, 8, ["rangeSeparator", "startPlaceholder", "endPlaceholder", "clearable", "modelValue", "compon"])
137
138
  ]),
138
139
  default: vue.withCtx(() => [
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
148
149
  vue.createElementVNode("div", {
149
150
  class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
150
151
  }, vue.toDisplayString(props.startPlaceholder), 3),
151
- vue.createVNode(vue.unref(index$2.SelectScroll), {
152
+ vue.createVNode(vue.unref(index$3.SelectScroll), {
152
153
  modelValue: zindex.value,
153
154
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => zindex.value = $event),
154
155
  max: yindex.value,
@@ -162,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
162
163
  vue.createElementVNode("div", {
163
164
  class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
164
165
  }, vue.toDisplayString(props.endPlaceholder), 3),
165
- vue.createVNode(vue.unref(index$2.SelectScroll), {
166
+ vue.createVNode(vue.unref(index$3.SelectScroll), {
166
167
  min: zindex.value,
167
168
  modelValue: yindex.value,
168
169
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => yindex.value = $event),
@@ -174,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
174
175
  vue.createElementVNode("div", {
175
176
  class: vue.normalizeClass(vue.unref(cs).z("select-buts"))
176
177
  }, [
177
- vue.createVNode(vue.unref(elementPlus.ElButton), {
178
+ vue.createVNode(vue.unref(index$4.Button), {
178
179
  text: "",
179
180
  onClick: vue.withModifiers(onCancel, ["stop"])
180
181
  }, {
@@ -183,7 +184,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
183
184
  ]),
184
185
  _: 1
185
186
  }),
186
- vue.createVNode(vue.unref(elementPlus.ElButton), {
187
+ vue.createVNode(vue.unref(index$4.Button), {
187
188
  type: "primary",
188
189
  onClick: vue.withModifiers(onDetermine, ["stop"])
189
190
  }, {
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, reactive, ref, watch, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createVNode, toDisplayString, withModifiers, createTextVNode } from "vue";
2
- import { ElPopover, ElButton } from "element-plus";
2
+ import { Popover } from "../../popover/index.js";
3
+ import { Button } from "../../button/index.js";
4
+ import { Array } from "../../array/index.js";
5
+ import { Inputs } from "../../inputs/index.js";
6
+ import { SelectScroll } from "../../select-scroll/index.js";
3
7
  import { useVueValue } from "../../common/use.js";
4
8
  import { dataExpose, dataEmits, dataProps } from "./data.js";
5
9
  import { useCssName } from "../../../hooks/cssname/index.js";
6
- import { SelectScroll } from "../../select-scroll/index.js";
7
- import { Array } from "../../array/index.js";
8
- import { Inputs } from "../../inputs/index.js";
9
10
  import { useLocale } from "../../../hooks/locale/index.js";
10
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
12
  __name: "index",
@@ -111,7 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
112
  ...dataExpose
112
113
  });
113
114
  return (_ctx, _cache) => {
114
- return openBlock(), createBlock(unref(ElPopover), {
115
+ return openBlock(), createBlock(unref(Popover), {
115
116
  onAfterEnter: afterEnter,
116
117
  placement: "bottom",
117
118
  "popper-class": unref(cs).z("popper"),
@@ -172,7 +173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
172
173
  createElementVNode("div", {
173
174
  class: normalizeClass(unref(cs).z("select-buts"))
174
175
  }, [
175
- createVNode(unref(ElButton), {
176
+ createVNode(unref(Button), {
176
177
  text: "",
177
178
  onClick: withModifiers(onCancel, ["stop"])
178
179
  }, {
@@ -181,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
181
182
  ]),
182
183
  _: 1
183
184
  }),
184
- createVNode(unref(ElButton), {
185
+ createVNode(unref(Button), {
185
186
  type: "primary",
186
187
  onClick: withModifiers(onDetermine, ["stop"])
187
188
  }, {