super-page-designer 2.2.85 → 2.2.89-sit11

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 (130) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +9 -10
  2. package/dist/es/components/design/utils/common-util.d.ts +1 -0
  3. package/dist/es/components/design/utils/common-util.js +14 -9
  4. package/dist/es/components/design/utils/page-table-util.js +9 -9
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
  6. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
  7. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
  8. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
  9. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
  10. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
  11. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
  12. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
  13. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
  15. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
  16. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
  17. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
  18. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
  19. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
  20. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
  21. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
  22. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
  23. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  24. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
  25. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
  26. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
  27. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -37
  28. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
  29. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
  30. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
  31. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
  32. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
  33. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
  34. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
  35. package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
  36. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -104
  37. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +102 -0
  38. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
  39. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
  40. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  41. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +11 -11
  42. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
  43. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
  44. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
  45. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
  46. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
  48. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
  49. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
  51. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
  52. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
  54. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
  56. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  57. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
  58. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
  59. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  60. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
  61. package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
  62. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
  63. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
  64. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
  65. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
  67. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +28 -7
  69. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
  70. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
  71. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
  72. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
  73. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
  74. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
  75. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
  76. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
  77. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
  78. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  79. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  80. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
  81. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
  82. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
  83. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +34 -31
  84. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
  85. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
  86. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
  87. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
  88. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
  89. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  90. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  91. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
  92. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  93. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
  94. package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
  95. package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
  96. package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
  97. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  98. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
  99. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
  100. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
  101. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  102. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
  103. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
  104. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
  105. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
  106. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
  107. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
  108. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
  109. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
  110. package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
  111. package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
  112. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
  113. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
  114. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
  115. package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
  116. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
  117. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
  118. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  119. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
  120. package/dist/es/components/design/views/design/view/view-design-display.vue.js +148 -5
  121. package/dist/es/components/design/views/design/view/view-design-display.vue2.js +2 -148
  122. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  123. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
  124. package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
  125. package/dist/es/index.js +1 -1
  126. package/dist/es/style.css +14282 -11302
  127. package/package.json +4 -4
  128. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -4
  129. package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
  130. /package/dist/es/components/design/views/design/page-event/{config.vue3.js → config.vue2.js} +0 -0
@@ -1,61 +1,61 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as p, withCtx as i, createTextVNode as n, unref as s, createBlock as m, createCommentVNode as c } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as n, withCtx as p, createTextVNode as i, unref as s, createBlock as c, createCommentVNode as m } from "vue";
2
2
  import { Plus as b, Delete as f } from "@element-plus/icons";
3
3
  import v from "../../../common/common-variable-bind.vue.js";
4
- import { isNumberType as g, getUuidv4 as w } from "../../../../../utils/common-util.js";
5
- import { usePageContextStore as y } from "../../../../../../../stores/page-store.js";
6
- import { statisticsTable as h } from "../../../../../../../stores/statistics-table-store.js";
7
- import { getModelOptionsByFields as V, getTableConfigByTableUuid as T } from "../../../../../utils/page-table-util.js";
8
- const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, k = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, configure: { type: Object, default: () => {
4
+ import { isNumberType as g, isDateOrTimeType as w, getUuidv4 as y } from "../../../../../utils/common-util.js";
5
+ import { usePageContextStore as h } from "../../../../../../../stores/page-store.js";
6
+ import { statisticsTable as V } from "../../../../../../../stores/statistics-table-store.js";
7
+ import { getModelOptionsByFields as T, getTableConfigByTableUuid as k } from "../../../../../utils/page-table-util.js";
8
+ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, N = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, configure: { type: Object, default: () => {
9
9
  } }, tableConfigure: { type: Object, default: () => {
10
10
  } }, pageDesign: { type: Object, default: () => {
11
11
  } }, row: { type: Object, default: () => {
12
- } } }, emits: ["update:data"], setup(e2, { emit: k2 }) {
13
- const N = y(), C = h(), O = e2, j = k2, U = l(300), x = l([]);
14
- O.data && (x.value = O.data);
15
- const B = l(false);
16
- let L;
17
- const M = O.pageDesign ? O.pageDesign.pageType : null;
18
- !M || "form" !== M && "list" !== M || (L = O.pageDesign.modelFields);
19
- const I = l(null);
20
- L && L.length > 0 && (I.value = V(L));
12
+ } } }, emits: ["update:data"], setup(e2, { emit: N2 }) {
13
+ const C = h(), O = V(), j = e2, U = N2, x = l(300), B = l([]);
14
+ j.data && (B.value = j.data);
15
+ const L = l(false);
16
+ let I;
17
+ const M = j.pageDesign ? j.pageDesign.pageType : null;
18
+ !M || "form" !== M && "list" !== M || (I = j.pageDesign.modelFields);
21
19
  const S = l(null);
22
- function E(e3) {
23
- e3 && (S.value = V(e3.modelFields));
20
+ I && I.length > 0 && (S.value = T(I));
21
+ const E = l(null);
22
+ function D(e3) {
23
+ e3 && (E.value = T(e3.modelFields));
24
24
  }
25
- function D() {
26
- E(T(O.pageDesign, O.configure, O.tableConfigure));
25
+ function z() {
26
+ D(k(j.pageDesign, j.configure, j.tableConfigure));
27
27
  let e3 = window.innerHeight - 140 - 176;
28
- e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), U.value = e3, B.value = true;
28
+ e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), x.value = e3, L.value = true;
29
29
  }
30
- function z(e3) {
30
+ function A(e3) {
31
31
  let l2 = -1;
32
- const a2 = x.value.length;
33
- for (let t2 = 0; t2 < a2; t2++) if (x.value[t2].uuid == e3.uuid) {
32
+ const a2 = B.value.length;
33
+ for (let t2 = 0; t2 < a2; t2++) if (B.value[t2].uuid == e3.uuid) {
34
34
  l2 = t2;
35
35
  break;
36
36
  }
37
37
  return l2;
38
38
  }
39
- function A(e3) {
39
+ function G(e3) {
40
40
  let l2 = -1;
41
- e3 && (l2 = z(e3));
42
- const a2 = { uuid: w(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
43
- x.value.splice(l2 + 1, 0, a2);
41
+ e3 && (l2 = A(e3));
42
+ const a2 = { uuid: y(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
43
+ B.value.splice(l2 + 1, 0, a2);
44
44
  }
45
- E(O.tableConfigure), a(() => x.value, (e3) => {
46
- j("update:data", { row: O.row, data: x.value });
45
+ D(j.tableConfigure), a(() => B.value, (e3) => {
46
+ U("update:data", { row: j.row, data: B.value });
47
47
  }, { deep: true });
48
- const G = l({});
49
- function W(e3) {
50
- G.value = e3;
48
+ const W = l({});
49
+ function q(e3) {
50
+ W.value = e3;
51
51
  }
52
- function q(e3, l2, a2) {
52
+ function F(e3, l2, a2) {
53
53
  if ("propValue" === a2) l2.propValue = e3;
54
54
  else {
55
55
  let a3, t2 = [];
56
56
  l2.propName = e3;
57
57
  let o2 = "";
58
- if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = I.value, t2 && 0 !== t2.length || (t2 = N.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = S.value, t2 && 0 !== t2.length || (t2 = C.columnList)))), t2 && a3) {
58
+ if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = S.value, t2 && 0 !== t2.length || (t2 = C.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = E.value, t2 && 0 !== t2.length || (t2 = O.columnList)))), t2 && a3) {
59
59
  const e4 = t2.find((e5) => e5.value == a3);
60
60
  e4 && (o2 = e4.dataType);
61
61
  }
@@ -63,23 +63,23 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
63
63
  }
64
64
  }
65
65
  return (l2, a2) => {
66
- const w2 = t("el-button"), y2 = t("el-row"), h2 = t("Top"), V2 = t("el-icon"), T2 = t("Bottom"), k3 = t("el-table-column"), N2 = t("el-option"), C2 = t("el-select"), O2 = t("el-table"), j2 = t("el-dialog");
67
- return u(), o(r, null, [d("div", null, [p(w2, { type: "primary", onClick: D }, { default: i(() => a2[1] || (a2[1] = [n("编辑")])), _: 1 })]), p(j2, { modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: i(() => [p(y2, { style: { "padding-bottom": "8px" } }, { default: i(() => [p(w2, { icon: s(b), plain: "", type: "primary", onClick: A }, { default: i(() => a2[2] || (a2[2] = [n(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), p(O2, { border: "", "highlight-current-row": "", onCurrentChange: W, data: x.value, style: { width: "100%" } }, { default: i(() => [p(k3, { label: "", width: "50" }, { default: i((e3) => [d("div", _, [p(V2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
68
- let l4 = z(e4);
66
+ const y2 = t("el-button"), h2 = t("el-row"), V2 = t("Top"), T2 = t("el-icon"), k2 = t("Bottom"), N3 = t("el-table-column"), C2 = t("el-option"), O2 = t("el-select"), j2 = t("el-table"), U2 = t("el-dialog");
67
+ return u(), o(r, null, [d("div", null, [n(y2, { type: "primary", onClick: z }, { default: p(() => a2[1] || (a2[1] = [i("编辑")])), _: 1 })]), n(U2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => L.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: p(() => [n(h2, { style: { "padding-bottom": "8px" } }, { default: p(() => [n(y2, { icon: s(b), plain: "", type: "primary", onClick: G }, { default: p(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(j2, { "row-key": "uuid", border: "", "highlight-current-row": "", onCurrentChange: q, data: B.value, style: { width: "100%" } }, { default: p(() => [n(N3, { label: "", width: "50" }, { default: p((e3) => [d("div", _, [n(T2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
68
+ let l4 = A(e4);
69
69
  if (l4 < 1) return;
70
- const a3 = x.value;
70
+ const a3 = B.value;
71
71
  [a3[l4 - 1], a3[l4]] = [a3[l4], a3[l4 - 1]];
72
- }(e3.row) }, { default: i(() => [p(h2)]), _: 2 }, 1032, ["onClick"]), p(V2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
73
- let l4 = z(e4);
74
- if (-1 == l4 || x.value.length == l4 + 1) return;
75
- const a3 = x.value;
72
+ }(e3.row) }, { default: p(() => [n(V2)]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
73
+ let l4 = A(e4);
74
+ if (-1 == l4 || B.value.length == l4 + 1) return;
75
+ const a3 = B.value;
76
76
  [a3[l4], a3[l4 + 1]] = [a3[l4 + 1], a3[l4]];
77
- }(e3.row) }, { default: i(() => [p(T2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), p(k3, { prop: "leftBracket", label: "(", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: "(", value: "(" }), p(N2, { label: "((", value: "((" }), p(N2, { label: "(((", value: "(((" }), p(N2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: i((l3) => [p(v, { modelValue: l3.row.propName, dataModelOptions: I.value, objModelOptions: S.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => q(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "operator", label: "操作符", width: "90" }, { default: i((e3) => [p(C2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [s(g)(e3.row.dataType) ? (u(), m(N2, { key: 0, label: "大于", value: "GT" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 1, label: "小于", value: "LT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 2, label: "晚于", value: "GT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 3, label: "早于", value: "LT" })) : c("", true), p(N2, { label: "等于", value: "EQ" }), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 4, label: "小于等于", value: "LET" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 5, label: "大于等于", value: "GET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 6, label: "不晚于", value: "LET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 7, label: "不早于", value: "GET" })) : c("", true), p(N2, { label: "不等于", value: "NET" }), p(N2, { label: "包含", value: "CONTAIN" }), p(N2, { label: "不包含", value: "NOT_CONTAIN" }), p(N2, { label: "等于Null", value: "IS_NULL" }), p(N2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "propValue", label: "值(*)", width: "150" }, { default: i((e3) => [p(v, { modelValue: e3.row.propValue, dataModelOptions: I.value, objModelOptions: S.value, "onUpdate:modelValue": (l3) => q(l3, e3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "rightBracket", label: ")", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: ")", value: ")" }), p(N2, { label: "))", value: "))" }), p(N2, { label: ")))", value: ")))" }), p(N2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "或者", value: "or" }), p(N2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: i((e3) => [p(C2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "Null", value: "null" }), p(N2, { label: "忽略(1=1)", value: "ignore" }), p(N2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { label: "操作", width: "60" }, { default: i((e3) => [p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => A(e3.row) }, { default: i(() => [p(s(b))]), _: 2 }, 1032, ["onClick"]), p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
78
- let l4 = z(e4);
79
- l4 > -1 && x.value.splice(l4, 1);
80
- }(e3.row) }, { default: i(() => [p(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
77
+ }(e3.row) }, { default: p(() => [n(k2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(N3, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: "(", value: "(" }), n(C2, { label: "((", value: "((" }), n(C2, { label: "(((", value: "(((" }), n(C2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [n(v, { modelValue: l3.row.propName, dataModelOptions: S.value, objModelOptions: E.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => F(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [n(O2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "等于", value: "EQ" }), n(C2, { label: "不等于", value: "NET" }), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 0, label: "大于", value: "GT" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 1, label: "小于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 2, label: "晚于", value: "GT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 3, label: "早于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 4, label: "不晚于", value: "LET" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 5, label: "不早于", value: "GET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 6, label: "小于等于", value: "LET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 7, label: "大于等于", value: "GET" })) : m("", true), n(C2, { label: "包含", value: "CONTAIN" }), n(C2, { label: "不包含", value: "NOT_CONTAIN" }), n(C2, { label: "等于Null", value: "IS_NULL" }), n(C2, { label: "不等于Null", value: "IS_NOT_NULL" }), n(C2, { label: "in", value: "IN" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [n(v, { modelValue: e3.row.propValue, dataModelOptions: S.value, objModelOptions: E.value, "onUpdate:modelValue": (l3) => F(l3, e3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: ")", value: ")" }), n(C2, { label: "))", value: "))" }), n(C2, { label: ")))", value: ")))" }), n(C2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "或者", value: "or" }), n(C2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: p((e3) => [n(O2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "Null", value: "null" }), n(C2, { label: "忽略(1=1)", value: "ignore" }), n(C2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { label: "操作", width: "60" }, { default: p((e3) => [n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => G(e3.row) }, { default: p(() => [n(s(b))]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
78
+ let l4 = A(e4);
79
+ l4 > -1 && B.value.splice(l4, 1);
80
+ }(e3.row) }, { default: p(() => [n(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
81
81
  };
82
82
  } });
83
83
  export {
84
- k as default
84
+ N as default
85
85
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as l, resolveComponent as t, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
2
- import x from "../../../../utils/eventBus.js";
3
- import { useDraggable as j } from "vue-draggable-plus";
1
+ import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as t, resolveComponent as l, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
2
+ import j from "../../../../utils/eventBus.js";
3
+ import { useDraggable as x } from "vue-draggable-plus";
4
4
  import { caculateComponentProps as D } from "../../../../utils/form-design-util.js";
5
5
  import { getTableColumnConf as O } from "../../../../utils/assemblys-config.js";
6
6
  import { Plus as k, Delete as H } from "@element-plus/icons-vue";
@@ -13,6 +13,7 @@ import "super-page-runtime";
13
13
  import "../../../../../../stores/page-store.js";
14
14
  import "@vueuse/core";
15
15
  import { removComponentDataConfig as M, initComponentDataConfig as W } from "../../../../utils/chart-design-util.js";
16
+ /* empty css */
16
17
  import _ from "../../data/component/table-children-column.vue.js";
17
18
  import { queryTableFields as B, changeFeieldToMap as T } from "../../../../utils/page-table-util.js";
18
19
  import { statisticsTable as $ } from "../../../../../../stores/statistics-table-store.js";
@@ -34,11 +35,11 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
34
35
  q.value = E(G.configure);
35
36
  }), i(() => {
36
37
  M(G.configure);
37
- }), x.$on("setHiddenColumsUuid", (e3) => {
38
+ }), j.$on("setHiddenColumsUuid", (e3) => {
38
39
  e3.value ? U.value = U.value.filter((o2) => o2 != e3.uuid) : U.value.push(e3.uuid);
39
- }), l(G.configure.style, () => {
40
+ }), t(G.configure.style, () => {
40
41
  G.configure.runtime.style = G.configure.style;
41
- }, { immediate: true }), l(G.configure.props, () => {
42
+ }, { immediate: true }), t(G.configure.props, () => {
42
43
  D(G.configure, P), function() {
43
44
  let e3 = G.configure.props;
44
45
  if (!e3.base) return;
@@ -48,13 +49,13 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
48
49
  const e3 = W(G.configure, null);
49
50
  G.configure.runtime.dataConfig = e3;
50
51
  }();
51
- }, { immediate: true }), l(G.configure.items, (e3) => {
52
+ }, { immediate: true }), t(G.configure.items, (e3) => {
52
53
  X.addFieldList(e3), G.configure.runtime.items = G.configure.items;
53
- }, { immediate: true }), l(() => G.configure.props.isChangeGroupHeader, () => {
54
+ }, { immediate: true }), t(() => G.configure.props.isChangeGroupHeader, () => {
54
55
  G.configure.props.isChangeGroupHeader && (q.value = E(G.configure), K.value && K.value.doLayout());
55
- }), x.$on("reloadTable-" + G.configure.uuid, (e3) => {
56
+ }), j.$on("reloadTable-" + G.configure.uuid, (e3) => {
56
57
  e3 && (G.configure.items = e3, q.value = E(G.configure)), K.value && K.value.doLayout();
57
- }), l(() => q.value, (e3) => {
58
+ }), t(() => q.value, (e3) => {
58
59
  e3.forEach((e4) => {
59
60
  e4.props && e4.props.base && !e4.props.base.visible && U.value.push(e4.uuid);
60
61
  });
@@ -62,15 +63,15 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
62
63
  const z = o("");
63
64
  function J() {
64
65
  z.value = "", oe.value = {}, Z();
65
- x.$emit("selectColumn", { columnData: {} });
66
+ j.$emit("selectColumn", { columnData: {} });
66
67
  }
67
68
  function Q(e3, o2) {
68
69
  var n2;
69
70
  (o2 || window.event).preventDefault(), n2 = e3, G.configure.items.forEach((e4, o3) => {
70
71
  e4.props.base.name == n2.label && (oe.value = e4, ne.value = o3);
71
72
  }), R.value = true;
72
- const i2 = document.querySelector("#tableDesignMenu"), l2 = document.documentElement.scrollTop || document.body.scrollTop;
73
- i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY + l2 - 22 + "px";
73
+ const i2 = document.querySelector("#tableDesignMenu"), t2 = document.documentElement.scrollTop || document.body.scrollTop;
74
+ i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY + t2 - 22 + "px";
74
75
  }
75
76
  function Z() {
76
77
  R.value = false;
@@ -82,7 +83,7 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
82
83
  let o2 = O(e4);
83
84
  G.configure.items.splice(ne.value + 1, 0, o2), (_a = G.configure.items) == null ? void 0 : _a.forEach((e5, o3) => {
84
85
  e5.props.base.displayOrder && e5.props.base.displayOrder == o3 || (e5.props.base.displayOrder = o3);
85
- }), G.configure.props.base.isEnableGroupHeader && (w(G.configure.items[ne.value + 1], null, G.configure.props.groupHeaders), q.value = E(G.configure), x.$emit("synchroGroupHeadersData"));
86
+ }), G.configure.props.base.isEnableGroupHeader && (w(G.configure.items[ne.value + 1], null, G.configure.props.groupHeaders), q.value = E(G.configure), j.$emit("synchroGroupHeadersData"));
86
87
  } else "deleteNode" === e3 && S.confirm("当前操作会删除当前列", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
87
88
  G.configure.items.splice(ne.value, 1);
88
89
  }).catch(() => {
@@ -92,19 +93,19 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
92
93
  function ie(e3) {
93
94
  oe.value = e3;
94
95
  }
95
- function le(e3, o2, n2, i2) {
96
- te(q.value, n2.columnKey).props.base.columnWidth = e3;
96
+ function te(e3, o2, n2, i2) {
97
+ le(q.value, n2.columnKey).props.base.columnWidth = e3;
97
98
  }
98
- function te(e3, o2) {
99
+ function le(e3, o2) {
99
100
  let n2 = {};
100
101
  return e3.forEach((e4) => {
101
102
  if (e4.uuid && e4.uuid === o2) return n2 = e4;
102
- e4.children && e4.children.length > 0 && (n2 = te(e4.children, o2));
103
+ e4.children && e4.children.length > 0 && (n2 = le(e4.children, o2));
103
104
  }), n2;
104
105
  }
105
106
  function re({ row: e3, column: o2, rowIndex: n2, columnIndex: i2 }) {
106
- let l2 = "";
107
- return U.value.includes(o2.label) && (l2 = "hiddenBorder"), o2.label === z.value && (l2 = "addBorder"), l2;
107
+ let t2 = "";
108
+ return U.value.includes(o2.label) && (t2 = "hiddenBorder"), o2.label === z.value && (t2 = "addBorder"), t2;
108
109
  }
109
110
  function ue(e3) {
110
111
  z.value = e3.uuid;
@@ -115,10 +116,10 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
115
116
  function ae(e3, o2) {
116
117
  for (var n2 = document.getElementsByClassName(o2.id), i2 = 0; i2 < n2.length; i2++) n2[i2].style.backgroundColor = "";
117
118
  }
118
- return j(".el-table__header-wrapper tr", G.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
119
+ return x(".el-table__header-wrapper tr", G.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
119
120
  } }), (e3, o2) => {
120
- const n2 = t("el-table"), i2 = t("el-icon");
121
- return u(), r("div", null, [s(n2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: le, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => ee("createCombinedHeader")) }, [s(i2, null, { default: g(() => [s(h(k))]), _: 1 }), o2[2] || (o2[2] = y(" 创建 "))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => ee("deleteNode")) }, [s(i2, null, { default: g(() => [s(h(H))]), _: 1 }), o2[3] || (o2[3] = y(" 删除 "))])) : v("", true)], 512)], 512), [[C, R.value]])]);
121
+ const n2 = l("el-table"), i2 = l("el-icon");
122
+ return u(), r("div", null, [s(n2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: te, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => ee("createCombinedHeader")) }, [s(i2, null, { default: g(() => [s(h(k))]), _: 1 }), o2[2] || (o2[2] = y(" 创建 "))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => ee("deleteNode")) }, [s(i2, null, { default: g(() => [s(h(H))]), _: 1 }), o2[3] || (o2[3] = y(" 删除 "))])) : v("", true)], 512)], 512), [[C, R.value]])]);
122
123
  };
123
124
  } });
124
125
  export {
@@ -2,17 +2,17 @@ import { defineComponent as e, ref as l, resolveComponent as a, createElementBlo
2
2
  import { Plus as b, Delete as f } from "@element-plus/icons";
3
3
  import m from "./common-variable-bind.vue.js";
4
4
  import { getUuidv4 as w } from "../../../utils/common-util.js";
5
- import { usePageContextStore as g } from "../../../../../stores/page-store.js";
6
- import { getModelOptionsByFields as y } from "../../../utils/page-table-util.js";
5
+ import { usePageContextStore as y } from "../../../../../stores/page-store.js";
6
+ import { getModelOptionsByFields as g } from "../../../utils/page-table-util.js";
7
7
  const v = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, T = e({ __name: "common-advanced-basic-showcondition", props: { configure: { type: Object, required: true }, title: { type: String, default: "显示条件" }, type: { type: String, required: false, default: "showConditions" }, tableConfigure: { type: Object, default: () => {
8
8
  } } }, setup(e2) {
9
- const T2 = g(), V = e2;
9
+ const T2 = y(), V = e2;
10
10
  V.configure.props || (V.configure.props = { base: {} });
11
11
  let h = null;
12
12
  V.configure.props.base || (V.configure.props.base = {}), V.configure.props.base[V.type] || (V.configure.props.base[V.type] = []), h = V.configure.props.base[V.type];
13
13
  const _ = l(null);
14
14
  var k;
15
- (k = V.tableConfigure) && (_.value = y(k.modelFields));
15
+ (k = V.tableConfigure) && (_.value = g(k.modelFields));
16
16
  const N = l(300), C = l(false);
17
17
  function U() {
18
18
  let e3 = window.innerHeight - 140 - 176;
@@ -55,8 +55,8 @@ const v = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
55
55
  }
56
56
  }
57
57
  return (l2, w2) => {
58
- const g2 = a("el-button"), y2 = a("el-text"), T3 = a("el-row"), V2 = a("Top"), k2 = a("el-icon"), N2 = a("Bottom"), B2 = a("el-table-column"), S = a("el-option"), I = a("el-select"), E = a("el-table"), q = a("el-dialog");
59
- return o(), t(r, null, [u("div", null, [d(g2, { type: "primary", onClick: U }, { default: n(() => w2[1] || (w2[1] = [i("编辑")])), _: 1 }), p(d(y2, { type: "success" }, { default: n(() => w2[2] || (w2[2] = [i("  已设置条件.")])), _: 1 }, 512), [[s, c(h) && c(h).length > 0]])]), d(q, { modelValue: C.value, "onUpdate:modelValue": w2[0] || (w2[0] = (e3) => C.value = e3), title: e2.title, width: "900" }, { default: n(() => [d(T3, { style: { "padding-bottom": "8px" } }, { default: n(() => [d(g2, { icon: c(b), plain: "", type: "primary", onClick: x }, { default: n(() => w2[3] || (w2[3] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(E, { border: "", "highlight-current-row": "", onCurrentChange: L, "current-row-key": "uuid", "row-key": "uuid", data: c(h), style: { width: "100%" } }, { default: n(() => [d(B2, { label: "", width: "50" }, { default: n((e3) => [u("div", v, [d(k2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
58
+ const y2 = a("el-button"), g2 = a("el-text"), T3 = a("el-row"), V2 = a("Top"), k2 = a("el-icon"), N2 = a("Bottom"), B2 = a("el-table-column"), S = a("el-option"), I = a("el-select"), E = a("el-table"), q = a("el-dialog");
59
+ return o(), t(r, null, [u("div", null, [d(y2, { type: "primary", onClick: U }, { default: n(() => w2[1] || (w2[1] = [i("编辑")])), _: 1 }), p(d(g2, { type: "success" }, { default: n(() => w2[2] || (w2[2] = [i("  已设置条件.")])), _: 1 }, 512), [[s, c(h) && c(h).length > 0]])]), d(q, { "append-to-body": "", modelValue: C.value, "onUpdate:modelValue": w2[0] || (w2[0] = (e3) => C.value = e3), title: e2.title, width: "900" }, { default: n(() => [d(T3, { style: { "padding-bottom": "8px" } }, { default: n(() => [d(y2, { icon: c(b), plain: "", type: "primary", onClick: x }, { default: n(() => w2[3] || (w2[3] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(E, { border: "", "highlight-current-row": "", onCurrentChange: L, "current-row-key": "uuid", "row-key": "uuid", data: c(h), style: { width: "100%" } }, { default: n(() => [d(B2, { label: "", width: "50" }, { default: n((e3) => [u("div", v, [d(k2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
60
60
  let l4 = j(e4);
61
61
  if (l4 < 1) return;
62
62
  const a2 = h;
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as e, computed as l, resolveComponent as a, createBlock as t, openBlock as i, withCtx as d, createElementVNode as u, createVNode as o, createCommentVNode as s, createTextVNode as m, createElementBlock as n, Fragment as p, renderList as r } from "vue";
2
- import { PageDimensions as c } from "../../../utils/interfaces/page-design-types.js";
3
- import { usePageContextStore as f } from "../../../../../stores/page-store.js";
4
- const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-attr-size", props: { size: { type: Object, required: true }, showMaxHeight: { type: Boolean, default: false }, showCalcHeight: { type: Boolean, default: false } }, setup(e2) {
5
- const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v = f(), x = v.pageContext ? v.pageContext : {}, V = l(() => {
6
- let e3 = x.dimensions;
7
- e3 || (e3 = c.PC);
2
+ import { PageDimensions as f } from "../../../utils/interfaces/page-design-types.js";
3
+ import { usePageContextStore as c } from "../../../../../stores/page-store.js";
4
+ const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-attr-size", props: { size: { type: Object, required: true }, showMaxHeight: { type: Boolean, default: false }, showCalcHeight: { type: Boolean, default: false }, isHeightOffset: { type: Boolean, default: false } }, setup(e2) {
5
+ const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v = c(), V = v.pageContext ? v.pageContext : {}, x = l(() => {
6
+ let e3 = V.dimensions;
7
+ e3 || (e3 = f.PC);
8
8
  let l2 = h2.size[e3];
9
9
  if (!l2) {
10
- if (l2 = {}, e3 !== c.PC) {
11
- const e4 = h2.size[c.PC];
10
+ if (l2 = {}, e3 !== f.PC) {
11
+ const e4 = h2.size[f.PC];
12
12
  e4 && Object.assign(l2, e4);
13
13
  }
14
14
  h2.size[e3] = l2;
15
15
  }
16
16
  return h2.size[e3];
17
17
  });
18
- return (l2, c2) => {
19
- const f2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), x2 = a("el-option"), y = a("el-select"), _ = a("el-input"), C = a("el-switch"), H = a("el-collapse-item");
20
- return i(), t(H, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: V.value.widthType, "onUpdate:modelValue": c2[0] || (c2[0] = (e3) => V.value.widthType = e3) }, { default: d(() => [o(f2, { value: "flex" }, { default: d(() => c2[6] || (c2[6] = [m("24格")])), _: 1 }), o(f2, { value: "fix" }, { default: d(() => c2[7] || (c2[7] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != V.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: V.value.flexSpan, "onUpdate:modelValue": c2[1] || (c2[1] = (e3) => V.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(x2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == e2.size.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: V.value.fixWidth, "onUpdate:modelValue": c2[2] || (c2[2] = (e3) => V.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(C, { modelValue: V.value.isCalcHeight, "onUpdate:modelValue": c2[3] || (c2[3] = (e3) => V.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, clearable: "", modelValue: V.value.fixHeight, "onUpdate:modelValue": c2[4] || (c2[4] = (e3) => V.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, clearable: "", modelValue: V.value.maxHeight, "onUpdate:modelValue": c2[5] || (c2[5] = (e3) => V.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })])]), _: 1 });
18
+ return (l2, f2) => {
19
+ const c2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), V2 = a("el-option"), y = a("el-select"), _ = a("el-input"), H = a("el-switch"), C = a("el-input-number"), w = a("el-collapse-item");
20
+ return i(), t(w, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: x.value.widthType, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => x.value.widthType = e3) }, { default: d(() => [o(c2, { value: "flex" }, { default: d(() => f2[7] || (f2[7] = [m("24格")])), _: 1 }), o(c2, { value: "fix" }, { default: d(() => f2[8] || (f2[8] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != x.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: x.value.flexSpan, "onUpdate:modelValue": f2[1] || (f2[1] = (e3) => x.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(V2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == x.value.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: x.value.fixWidth, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => x.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(H, { modelValue: x.value.isCalcHeight, "onUpdate:modelValue": f2[3] || (f2[3] = (e3) => x.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.fixHeight, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => x.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.maxHeight, "onUpdate:modelValue": f2[5] || (f2[5] = (e3) => x.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), e2.isHeightOffset ? (i(), t(v2, { key: 3, label: "高度偏移", title: "一般用于台账自适应高度偏差", class: "amb-design-attr-item" }, { default: d(() => [o(C, { modelValue: x.value.heightOffset, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => x.value.heightOffset = e3), "controls-position": "right" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 });
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,20 +1,20 @@
1
- import { defineComponent as e, ref as t, resolveComponent as l, createElementBlock as s, openBlock as a, normalizeClass as n, normalizeStyle as o, unref as d, createVNode as i, withCtx as u, createBlock as m, createCommentVNode as p } from "vue";
1
+ import { defineComponent as e, ref as t, resolveComponent as l, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as o, unref as d, createVNode as i, withCtx as u, createBlock as m, createCommentVNode as p } from "vue";
2
2
  import { usePageContextStore as r } from "../../../../../stores/page-store.js";
3
- const y = e({ __name: "common-i18n-key-input", props: { modelValue: { type: String, default: "" }, systemCode: { type: String, default: null }, disabled: { type: Boolean, default: false }, size: { type: String, default: "small" } }, emits: ["update:modelValue"], setup(e2, { emit: y2 }) {
4
- const f = e2, c = r(), g = c.enabledI18n, C = y2, v = t(f.modelValue), b = (e3) => {
3
+ const y = e({ __name: "common-i18n-key-input", props: { modelValue: { type: String, default: "" }, systemCode: { type: String, default: null }, disabled: { type: Boolean, default: false }, size: { type: String, default: "small" } }, emits: ["update:modelValue", "change"], setup(e2, { emit: y2 }) {
4
+ const c = e2, g = r(), f = g.enabledI18n, C = y2, v = t(c.modelValue), b = (e3) => {
5
5
  var _a;
6
- c.pageContext.i18nKeys.includes(e3) || ((_a = c.pageContext.i18nKeys) == null ? void 0 : _a.push(e3));
6
+ g.pageContext.i18nKeys.includes(e3) || ((_a = g.pageContext.i18nKeys) == null ? void 0 : _a.push(e3));
7
7
  };
8
- g && v.value && "" !== v.value.trim() && b(v.value);
9
- const V = t(c.pageContext.systemCode);
10
- function h(e3) {
8
+ f && v.value && "" !== v.value.trim() && b(v.value);
9
+ const h = t(g.pageContext.systemCode);
10
+ function V(e3) {
11
11
  }
12
12
  function x(e3) {
13
- C("update:modelValue", e3), b(e3);
13
+ C("update:modelValue", e3), b(e3), C("change", e3);
14
14
  }
15
- return f.systemCode && (V.value = f.systemCode), (t2, r2) => {
16
- const y3 = l("el-input"), f2 = l("i18n-setting"), c2 = l("el-tooltip");
17
- return a(), s("div", { style: o({ width: d(g) ? "80%" : "100%" }), class: n({ "amb-design-attr-item-inline": d(g) && !e2.disabled }) }, [i(y3, { modelValue: v.value, "onUpdate:modelValue": r2[0] || (r2[0] = (e3) => v.value = e3), size: e2.size, disabled: e2.disabled, placeholder: "请输入", onChange: x }, null, 8, ["modelValue", "size", "disabled"]), i(c2, { content: "国际化设置", effect: "light" }, { default: u(() => [d(g) && !e2.disabled ? (a(), m(f2, { key: 0, style: { "margin-left": "10px" }, systemCode: V.value, i18nkey: v.value, onClose: h }, null, 8, ["systemCode", "i18nkey"])) : p("", true)]), _: 1 })], 6);
15
+ return c.systemCode && (h.value = c.systemCode), (t2, r2) => {
16
+ const y3 = l("el-input"), c2 = l("i18n-setting"), g2 = l("el-tooltip");
17
+ return n(), a("div", { style: o({ width: d(f) ? "80%" : "100%" }), class: s({ "amb-design-attr-item-inline": d(f) && !e2.disabled }) }, [i(y3, { modelValue: v.value, "onUpdate:modelValue": r2[0] || (r2[0] = (e3) => v.value = e3), size: e2.size, disabled: e2.disabled, placeholder: "请输入", onChange: x }, null, 8, ["modelValue", "size", "disabled"]), i(g2, { content: "国际化设置", effect: "light" }, { default: u(() => [d(f) && !e2.disabled ? (n(), m(c2, { key: 0, style: { "margin-left": "10px" }, systemCode: h.value, i18nkey: v.value, onClose: V }, null, 8, ["systemCode", "i18nkey"])) : p("", true)]), _: 1 })], 6);
18
18
  };
19
19
  } });
20
20
  export {
@@ -1,106 +1,7 @@
1
- import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as u, resolveComponent as o, createElementBlock as n, createBlock as i, openBlock as s, toDisplayString as r, withCtx as c, createVNode as p, Fragment as v, renderList as m, normalizeClass as g, createElementVNode as d, withDirectives as f, unref as h, vShow as y, normalizeStyle as w, createTextVNode as _, createCommentVNode as b, resolveDynamicComponent as x, withModifiers as z, nextTick as k } from "vue";
2
- import { Check as C, Search as S, Plus as P, InfoFilled as V, CircleClose as I } from "@element-plus/icons-vue";
3
- import * as U from "@element-plus/icons";
4
- import O from "agilebuilder-ui/src/utils/request";
5
- const N = { key: 0 }, A = { style: { "margin-top": "4px", "margin-bottom": "8px", "font-size": "10px", display: "flex", "align-items": "center", "justify-self": "center" } }, L = ["title"], E = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: E2 }) {
6
- const T = E2, j = e2, q = [{ value: "ElementUI", label: "ElementUI" }, { value: "custom", label: "自定义" }];
7
- l(false);
8
- const M = {}, R = l({}), $ = l(j.iconType);
9
- $.value || ($.value = q[0].value);
10
- const B = l("");
11
- B.value = j.iconValue, l([]);
12
- const D = l({}), F = l(""), G = l(), H = l([]);
13
- let J;
14
- function K() {
15
- "custom" == $.value ? W() : Q();
16
- }
17
- function Q() {
18
- const e3 = D.value.elementUIOptions.filter((e4) => !F.value || e4.label.toLowerCase().includes(F.value.toLowerCase()) || e4.value.toLowerCase().includes(F.value.toLowerCase()));
19
- R.value.currentPage || (R.value.currentPage = 1), R.value.pageSize || (R.value.pageSize = 50);
20
- let l2 = R.value.currentPage;
21
- const a2 = R.value.pageSize;
22
- let t2 = (l2 - 1) * a2;
23
- t2 + 2 > e3.length && (t2 = 0, l2 = 1);
24
- const u2 = [];
25
- for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++) u2.push(e3[l3]);
26
- R.value.currentPage = l2, R.value.total = e3.length, H.value = u2;
27
- }
28
- function W() {
29
- const e3 = { query: F.value, pageSize: R.value && R.value.pageSize ? R.value.pageSize : 50, pageNo: R.value && R.value.pageNo ? R.value.pageNo : 1 };
30
- F.value, O.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", e3).then((e4) => {
31
- const l2 = e4.data ? e4.data : [], a2 = [];
32
- for (let e5 of l2) a2.push({ value: e5.iconName, label: e5.iconName });
33
- D.value.customOptions = a2, "custom" == $.value && (R.value.pageSize = e4.size, R.value.currentPage = e4.page, R.value.total = e4.total, H.value = a2);
34
- });
35
- }
36
- a(F, () => {
37
- J && clearTimeout(J), J = setTimeout(function() {
38
- "custom" == $.value ? (R.value.pageNo = 1, W()) : (R.value.pageNo = 1, Q());
39
- }, 300);
40
- }), t(() => {
41
- J && clearTimeout(J);
42
- });
43
- const X = u(() => {
44
- let e3 = 185;
45
- return "custom" == $.value && (e3 = 170), e3;
46
- }), Y = u(() => {
47
- const e3 = {};
48
- return "custom" == $.value && (e3.width = "200px"), e3;
49
- });
50
- function Z(e3) {
51
- e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), $.value = e3;
52
- let l2 = M[$.value];
53
- var a2;
54
- l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 }, M[$.value] = l2), R.value = l2, "ElementUI" === (a2 = $.value) ? Q() : "custom" === a2 && W();
55
- }
56
- function ee() {
57
- B.value = "", T("update:modelValue", "", ""), G.value.hide();
58
- }
59
- function le() {
60
- if (F.value = F.value.trim(), !F.value) return void ElMessage.warning("请输入图标名!");
61
- const e3 = D.value.customOptions || [];
62
- let l2 = false;
63
- for (let a3 of e3) if (a3.value === F.value) {
64
- l2 = true;
65
- break;
66
- }
67
- $.value = "custom", B.value = F.value;
68
- const a2 = F.value;
69
- if (F.value = "", T("update:modelValue", $.value, B.value), G.value.hide(), !l2) {
70
- const e4 = { iconName: a2 };
71
- O.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
72
- "custom" == $.value && W();
73
- }).catch((e5) => {
74
- ElMessage.warning("保存图标失败!");
75
- });
76
- }
77
- }
78
- const ae = l();
79
- function te() {
80
- k(() => {
81
- !function() {
82
- if (!D.value.elementUIOptions) {
83
- if (!window.temp_Icon_Options) {
84
- const e3 = [];
85
- for (const [l2, a2] of Object.entries(U)) e3.push({ value: l2, label: l2, component: a2 });
86
- e3.sort(function(e4, l2) {
87
- const a2 = e4.value, t2 = l2.value;
88
- return a2.localeCompare(t2);
89
- }), window.temp_Icon_Options = e3;
90
- }
91
- D.value.elementUIOptions = window.temp_Icon_Options;
92
- }
93
- }(), Z($.value);
94
- });
95
- }
96
- return (l2, a2) => {
97
- const t2 = o("el-icon"), u2 = o("el-input"), k2 = o("el-menu-item"), U2 = o("el-menu"), O2 = o("el-col"), E3 = o("el-empty"), j2 = o("el-button"), M2 = o("el-tag"), D2 = o("el-tooltip"), J2 = o("el-table-column"), Q2 = o("el-table"), W2 = o("el-pagination"), ue = o("el-row"), oe = o("el-popover");
98
- return e2.showLabel ? (s(), n("span", N, r(B.value), 1)) : (s(), i(oe, { key: 1, ref_key: "popoverRef", ref: G, trigger: "click", width: 400 }, { reference: c(() => [p(u2, { readonly: "", size: "small", onClick: te, modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), placeholder: "请选择" }, { suffix: c(() => [f(p(t2, { style: { cursor: "pointer" }, onClick: z(ee, ["stop"]) }, { default: c(() => [p(h(I))]), _: 1 }, 512), [[y, B.value]])]), _: 1 }, 8, ["modelValue"])]), default: c(() => [p(ue, null, { default: c(() => [p(O2, { span: 8 }, { default: c(() => [p(U2, null, { default: c(() => [(s(), n(v, null, m(q, (e3) => p(k2, { style: { height: "40px", "padding-left": "0px" }, class: g(e3.value == $.value ? "is-active" : ""), onClick: (l3) => Z(e3.value) }, { default: c(() => [p(t2, null, { default: c(() => [f(p(h(C), null, null, 512), [[y, e3.value == $.value]])]), _: 2 }, 1024), d("span", null, r(e3.label), 1)]), _: 2 }, 1032, ["class", "onClick"])), 64))]), _: 1 })]), _: 1 }), $.value ? (s(), i(O2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: c(() => [p(u2, { size: "small", modelValue: F.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => F.value = e3), placeholder: "搜索", "suffix-icon": h(S), style: w([{ "margin-bottom": "5px", height: "25px" }, Y.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(p(j2, { style: { float: "right" }, onClick: le, size: "small", type: "primary", icon: h(P), circle: "" }, null, 8, ["icon"]), [[y, "custom" == $.value]]), f(d("div", A, [p(t2, null, { default: c(() => [p(h(V))]), _: 1 }), a2[6] || (a2[6] = d("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), a2[7] || (a2[7] = _("   ")), p(D2, null, { content: c(() => a2[4] || (a2[4] = [_(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), d("br", null, null, -1), _(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: c(() => [p(M2, { type: "primary" }, { default: c(() => a2[5] || (a2[5] = [_("更多")])), _: 1 })]), _: 1 })], 512), [[y, "custom" == $.value]]), p(Q2, { ref_key: "tableRef", ref: ae, height: X.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: H.value }, { default: c(() => [p(J2, { width: "65" }, { default: c((e3) => [p(j2, { size: "small", onClick: (l3) => {
99
- return a3 = e3.row, B.value = a3.value, T("update:modelValue", $.value, B.value), void G.value.hide();
100
- var a3;
101
- } }, { default: c(() => a2[8] || (a2[8] = [_(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(J2, { label: "名称", prop: "value", width: "120" }, { default: c((e3) => [d("span", { style: { "text-align": "left" }, title: e3.row.value }, r(e3.row.value), 9, L)]), _: 1 }), p(J2, { label: "图标" }, { default: c((e3) => [e3.row.component ? (s(), i(x(e3.row.component), { key: 0, style: { width: "20px" } })) : b("", true)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), p(W2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": R.value.currentPage, "onUpdate:currentPage": a2[2] || (a2[2] = (e3) => R.value.currentPage = e3), "page-size": R.value.pageSize, "onUpdate:pageSize": a2[3] || (a2[3] = (e3) => R.value.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: R.value.total, onCurrentChange: K }, null, 8, ["current-page", "page-size", "size", "total"])]), _: 1 })) : (s(), i(O2, { key: 0, span: 16 }, { default: c(() => [p(E3, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
102
- };
103
- } });
1
+ import o from "./common-icon-bind.vue3.js";
2
+ /* empty css */
3
+ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const i = e(o, [["__scopeId", "data-v-2f077e08"]]);
104
5
  export {
105
- E as default
6
+ i as default
106
7
  };