super-page-designer 2.2.85 → 2.2.88

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 (118) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +2 -2
  2. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
  4. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
  5. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
  6. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
  7. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
  8. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
  9. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
  10. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  11. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
  12. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
  15. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
  16. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
  17. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
  18. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
  19. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
  20. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  21. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
  22. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
  23. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
  24. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -36
  25. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
  26. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
  27. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
  28. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
  29. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
  30. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
  31. package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
  32. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +64 -60
  33. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
  34. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
  35. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  36. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +11 -11
  37. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
  38. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
  39. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
  40. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
  41. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  42. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
  43. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
  44. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  45. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
  46. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
  47. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  48. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
  49. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +10 -10
  51. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  52. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
  53. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
  54. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  55. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
  56. package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
  57. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
  58. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
  59. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +17 -14
  60. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  61. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
  62. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  63. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +29 -9
  64. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
  65. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
  67. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
  68. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
  69. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
  70. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +3 -3
  71. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
  72. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
  73. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +9 -9
  74. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
  75. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
  76. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
  77. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
  78. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
  79. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
  80. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
  81. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  82. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  83. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
  84. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  85. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
  86. package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
  87. package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
  88. package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
  89. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  90. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
  91. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
  92. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
  93. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  94. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
  95. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
  96. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
  97. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
  98. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
  99. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
  100. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
  101. package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
  102. package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
  103. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
  104. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
  105. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
  106. package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
  107. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
  108. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
  109. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  110. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
  111. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  112. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  113. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
  114. package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
  115. package/dist/es/index.js +1 -1
  116. package/dist/es/style.css +12853 -11195
  117. package/package.json +3 -3
  118. package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
@@ -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,110 @@
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: "自定义" }];
1
+ import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as o, resolveComponent as u, createElementBlock as n, createBlock as i, openBlock as r, toDisplayString as s, withCtx as c, createVNode as p, unref as v, createElementVNode as m, Fragment as d, renderList as f, normalizeClass as g, withDirectives as y, vShow as h, normalizeStyle as w, createTextVNode as b, createCommentVNode as _, resolveDynamicComponent as z, withModifiers as x, nextTick as k } from "vue";
2
+ import { Close as C, Check as S, Search as P, Plus as V, InfoFilled as I, CircleClose as U } from "@element-plus/icons-vue";
3
+ import * as O from "@element-plus/icons";
4
+ import N from "agilebuilder-ui/src/utils/request";
5
+ const A = { key: 0 }, L = { class: "amb-component-popover-left-menu-main" }, E = ["onClick"], T = { style: { "margin-top": "4px", "margin-bottom": "8px", "font-size": "10px", display: "flex", "align-items": "center", "justify-self": "center" } }, j = ["title"], q = 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: q2 }) {
6
+ const M = q2, R = e2, $ = [{ value: "ElementUI", label: "ElementUI" }, { value: "custom", label: "自定义" }];
7
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();
8
+ const B = {}, D = l({}), F = l(R.iconType);
9
+ F.value || (F.value = $[0].value);
10
+ const G = l("");
11
+ G.value = R.iconValue, l([]);
12
+ const H = l({}), J = l(""), K = l(), Q = l([]);
13
+ let W;
14
+ function X() {
15
+ "custom" == F.value ? Z() : Y();
16
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;
17
+ function Y() {
18
+ const e3 = H.value.elementUIOptions.filter((e4) => !J.value || e4.label.toLowerCase().includes(J.value.toLowerCase()) || e4.value.toLowerCase().includes(J.value.toLowerCase()));
19
+ D.value.currentPage || (D.value.currentPage = 1), D.value.pageSize || (D.value.pageSize = 50);
20
+ let l2 = D.value.currentPage;
21
+ const a2 = D.value.pageSize;
22
22
  let t2 = (l2 - 1) * a2;
23
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;
24
+ const o2 = [];
25
+ for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++) o2.push(e3[l3]);
26
+ D.value.currentPage = l2, D.value.total = e3.length, Q.value = o2;
27
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) => {
28
+ function Z() {
29
+ const e3 = { query: J.value, pageSize: D.value && D.value.pageSize ? D.value.pageSize : 50, pageNo: D.value && D.value.pageNo ? D.value.pageNo : 1 };
30
+ J.value, N.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", e3).then((e4) => {
31
31
  const l2 = e4.data ? e4.data : [], a2 = [];
32
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);
33
+ H.value.customOptions = a2, "custom" == F.value && (D.value.pageSize = e4.size, D.value.currentPage = e4.page, D.value.total = e4.total, Q.value = a2);
34
34
  });
35
35
  }
36
- a(F, () => {
37
- J && clearTimeout(J), J = setTimeout(function() {
38
- "custom" == $.value ? (R.value.pageNo = 1, W()) : (R.value.pageNo = 1, Q());
36
+ a(J, () => {
37
+ W && clearTimeout(W), W = setTimeout(function() {
38
+ "custom" == F.value ? (D.value.pageNo = 1, Z()) : (D.value.pageNo = 1, Y());
39
39
  }, 300);
40
40
  }), t(() => {
41
- J && clearTimeout(J);
41
+ W && clearTimeout(W);
42
42
  });
43
- const X = u(() => {
43
+ const ee = o(() => {
44
44
  let e3 = 185;
45
- return "custom" == $.value && (e3 = 170), e3;
46
- }), Y = u(() => {
45
+ return "custom" == F.value && (e3 = 170), e3;
46
+ }), le = o(() => {
47
47
  const e3 = {};
48
- return "custom" == $.value && (e3.width = "200px"), e3;
48
+ return "custom" == F.value && (e3.width = "200px"), e3;
49
49
  });
50
- function Z(e3) {
51
- e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), $.value = e3;
52
- let l2 = M[$.value];
50
+ function ae(e3) {
51
+ e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), F.value = e3;
52
+ let l2 = B[F.value];
53
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();
54
+ l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 }, B[F.value] = l2), D.value = l2, "ElementUI" === (a2 = F.value) ? Y() : "custom" === a2 && Z();
55
55
  }
56
- function ee() {
57
- B.value = "", T("update:modelValue", "", ""), G.value.hide();
56
+ function te() {
57
+ var _a, _b;
58
+ (_b = (_a = K.value) == null ? void 0 : _a.hide) == null ? void 0 : _b.call(_a);
59
+ }
60
+ function oe() {
61
+ G.value = "", M("update:modelValue", "", ""), K.value.hide();
58
62
  }
59
- function le() {
60
- if (F.value = F.value.trim(), !F.value) return void ElMessage.warning("请输入图标名!");
61
- const e3 = D.value.customOptions || [];
63
+ function ue() {
64
+ if (J.value = J.value.trim(), !J.value) return void ElMessage.warning("请输入图标名!");
65
+ const e3 = H.value.customOptions || [];
62
66
  let l2 = false;
63
- for (let a3 of e3) if (a3.value === F.value) {
67
+ for (let a3 of e3) if (a3.value === J.value) {
64
68
  l2 = true;
65
69
  break;
66
70
  }
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) {
71
+ F.value = "custom", G.value = J.value;
72
+ const a2 = J.value;
73
+ if (J.value = "", M("update:modelValue", F.value, G.value), K.value.hide(), !l2) {
70
74
  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();
75
+ N.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
76
+ "custom" == F.value && Z();
73
77
  }).catch((e5) => {
74
78
  ElMessage.warning("保存图标失败!");
75
79
  });
76
80
  }
77
81
  }
78
- const ae = l();
79
- function te() {
82
+ const ne = l();
83
+ function ie() {
80
84
  k(() => {
81
85
  !function() {
82
- if (!D.value.elementUIOptions) {
86
+ if (!H.value.elementUIOptions) {
83
87
  if (!window.temp_Icon_Options) {
84
88
  const e3 = [];
85
- for (const [l2, a2] of Object.entries(U)) e3.push({ value: l2, label: l2, component: a2 });
89
+ for (const [l2, a2] of Object.entries(O)) e3.push({ value: l2, label: l2, component: a2 });
86
90
  e3.sort(function(e4, l2) {
87
91
  const a2 = e4.value, t2 = l2.value;
88
92
  return a2.localeCompare(t2);
89
93
  }), window.temp_Icon_Options = e3;
90
94
  }
91
- D.value.elementUIOptions = window.temp_Icon_Options;
95
+ H.value.elementUIOptions = window.temp_Icon_Options;
92
96
  }
93
- }(), Z($.value);
97
+ }(), ae(F.value);
94
98
  });
95
99
  }
96
100
  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();
101
+ const t2 = u("el-icon"), o2 = u("el-input"), k2 = u("el-button"), O2 = u("el-tooltip"), N2 = u("el-col"), q3 = u("el-empty"), R2 = u("el-tag"), B2 = u("el-table-column"), H2 = u("el-table"), W2 = u("el-pagination"), Y2 = u("el-row"), Z2 = u("el-popover");
102
+ return e2.showLabel ? (r(), n("span", A, s(G.value), 1)) : (r(), i(Z2, { key: 1, ref_key: "popoverRef", ref: K, "popper-class": "amb-component-popover-main", trigger: "click", width: 400 }, { reference: c(() => [p(o2, { readonly: "", size: "small", onClick: ie, modelValue: G.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => G.value = e3), placeholder: "请选择" }, { suffix: c(() => [y(p(t2, { style: { cursor: "pointer" }, onClick: x(oe, ["stop"]) }, { default: c(() => [p(v(U))]), _: 1 }, 512), [[h, G.value]])]), _: 1 }, 8, ["modelValue"])]), default: c(() => [p(Y2, null, { default: c(() => [p(O2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: c(() => [p(k2, { type: "text", class: "amb-component-popover-close-btn", icon: v(C), onClick: te }, null, 8, ["icon"])]), _: 1 }), p(N2, { span: 8 }, { default: c(() => [m("div", L, [(r(), n(d, null, f($, (e3) => m("div", { class: g(["amb-popover-menu-item", e3.value == F.value ? "is-active" : ""]), onClick: (l3) => ae(e3.value) }, [p(t2, null, { default: c(() => [y(p(v(S), null, null, 512), [[h, e3.value == F.value]])]), _: 2 }, 1024), m("span", null, s(e3.label), 1)], 10, E)), 64))])]), _: 1 }), F.value ? (r(), i(N2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: c(() => [p(o2, { size: "small", modelValue: J.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => J.value = e3), placeholder: "搜索", "suffix-icon": v(P), style: w([{ "margin-bottom": "5px", height: "25px" }, le.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), y(p(k2, { style: { float: "right" }, onClick: ue, size: "small", type: "primary", icon: v(V), circle: "" }, null, 8, ["icon"]), [[h, "custom" == F.value]]), y(m("div", T, [p(t2, null, { default: c(() => [p(v(I))]), _: 1 }), a2[6] || (a2[6] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), a2[7] || (a2[7] = b("   ")), p(O2, null, { content: c(() => a2[4] || (a2[4] = [b(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), b(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: c(() => [p(R2, { type: "primary" }, { default: c(() => a2[5] || (a2[5] = [b("更多")])), _: 1 })]), _: 1 })], 512), [[h, "custom" == F.value]]), p(H2, { ref_key: "tableRef", ref: ne, height: ee.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: Q.value }, { default: c(() => [p(B2, { width: "65" }, { default: c((e3) => [p(k2, { type: "default", size: "small", onClick: (l3) => {
103
+ return a3 = e3.row, G.value = a3.value, M("update:modelValue", F.value, G.value), void K.value.hide();
100
104
  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));
105
+ } }, { default: c(() => a2[8] || (a2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(B2, { label: "名称", prop: "value", width: "120" }, { default: c((e3) => [m("span", { style: { "text-align": "left" }, title: e3.row.value }, s(e3.row.value), 9, j)]), _: 1 }), p(B2, { label: "图标" }, { default: c((e3) => [e3.row.component ? (r(), i(z(e3.row.component), { key: 0, style: { width: "20px" } })) : _("", true)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), p(W2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": D.value.currentPage, "onUpdate:currentPage": a2[2] || (a2[2] = (e3) => D.value.currentPage = e3), "page-size": D.value.pageSize, "onUpdate:pageSize": a2[3] || (a2[3] = (e3) => D.value.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: D.value.total, onCurrentChange: X }, null, 8, ["current-page", "page-size", "size", "total"])]), _: 1 })) : (r(), i(N2, { key: 0, span: 16 }, { default: c(() => [p(q3, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
102
106
  };
103
107
  } });
104
108
  export {
105
- E as default
109
+ q as default
106
110
  };
@@ -47,7 +47,7 @@ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
47
47
  }, 100));
48
48
  } }), (e3, l2) => {
49
49
  const t2 = o("el-option"), a2 = o("el-select"), f2 = o("el-input"), V2 = o("el-button"), w3 = o("el-table-column"), z2 = o("el-table"), C2 = o("el-pagination"), j2 = o("el-dialog");
50
- return s(), n(j2, { modelValue: S.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => S.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: I.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => I.systemId = e4), placeholder: "所有应用", clearable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: I.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => I.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => l2[5] || (l2[5] = [g("确定")])), _: 1 }, 8, ["icon"]), u(V2, { style: { "margin-left": "10px" }, icon: m(b), onClick: _ }, { default: i(() => l2[6] || (l2[6] = [g("重置")])), _: 1 }, 8, ["icon"])]), u(z2, { data: A.value, stripe: "", height: x.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (P("selectPage", e4.row), void (S.value = false)) }, { default: i(() => l2[7] || (l2[7] = [g("选择")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(w3, { property: "dataView", label: "应用", width: "120" }, { default: i((e4) => [r("span", null, h(U.value[e4.row.systemId]), 1)]), _: 1 }), u(w3, { property: "code", label: "编码", width: "160", sortable: "custom" }), u(w3, { property: "name", label: "名称", width: "260", sortable: "custom" })]), _: 1 }, 8, ["data", "height"]), u(C2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": k.currentPage, "onUpdate:currentPage": l2[2] || (l2[2] = (e4) => k.currentPage = e4), "page-size": k.pageSize, "onUpdate:pageSize": l2[3] || (l2[3] = (e4) => k.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: k.total, onSizeChange: q, onCurrentChange: q }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
50
+ return s(), n(j2, { modelValue: S.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => S.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: I.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => I.systemId = e4), placeholder: "所有应用", clearable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: I.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => I.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => l2[5] || (l2[5] = [g("确定")])), _: 1 }, 8, ["icon"]), u(V2, { type: "default", style: { "margin-left": "10px" }, icon: m(b), onClick: _ }, { default: i(() => l2[6] || (l2[6] = [g("重置")])), _: 1 }, 8, ["icon"])]), u(z2, { data: A.value, stripe: "", height: x.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (P("selectPage", e4.row), void (S.value = false)) }, { default: i(() => l2[7] || (l2[7] = [g("选择")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(w3, { property: "dataView", label: "应用", width: "120" }, { default: i((e4) => [r("span", null, h(U.value[e4.row.systemId]), 1)]), _: 1 }), u(w3, { property: "code", label: "编码", width: "160", sortable: "custom" }), u(w3, { property: "name", label: "名称", width: "260", sortable: "custom" })]), _: 1 }, 8, ["data", "height"]), u(C2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": k.currentPage, "onUpdate:currentPage": l2[2] || (l2[2] = (e4) => k.currentPage = e4), "page-size": k.pageSize, "onUpdate:pageSize": l2[3] || (l2[3] = (e4) => k.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: k.total, onSizeChange: q, onCurrentChange: q }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
51
51
  };
52
52
  } });
53
53
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, reactive as a, onUnmounted as t, resolveComponent as o, createBlock as s, openBlock as n, withCtx as r, createElementVNode as i, createVNode as u, createElementBlock as p, Fragment as d, renderList as m, unref as c, createTextVNode as g, toDisplayString as y, createCommentVNode as h } from "vue";
1
+ import { defineComponent as e, ref as l, reactive as a, onUnmounted as t, resolveComponent as o, createBlock as s, openBlock as n, withCtx as r, createElementVNode as i, createVNode as u, createElementBlock as p, Fragment as d, renderList as m, unref as c, createTextVNode as y, toDisplayString as g, createCommentVNode as h } from "vue";
2
2
  import { Search as b, RefreshLeft as f } from "@element-plus/icons";
3
3
  import V from "agilebuilder-ui/src/utils/request";
4
4
  import { EnableStates as v } from "../../../utils/interfaces/page-design-types.js";
@@ -53,14 +53,14 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
53
53
  }, 100));
54
54
  } }), (e3, l2) => {
55
55
  const a2 = o("el-option"), t2 = o("el-select"), V2 = o("el-input"), v2 = o("el-button"), C2 = o("el-table-column"), T3 = o("el-text"), x2 = o("el-table"), z2 = o("el-pagination"), _2 = o("el-dialog");
56
- return n(), s(_2, { modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => l2[6] || (l2[6] = [g("确定")])), _: 1 }, 8, ["icon"]), u(v2, { style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => l2[7] || (l2[7] = [g("重置")])), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [g(y(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
56
+ return n(), s(_2, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => l2[6] || (l2[6] = [y("确定")])), _: 1 }, 8, ["icon"]), u(v2, { type: "default", style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => l2[7] || (l2[7] = [y("重置")])), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [y(g(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
57
57
  const l4 = { name: e5.row.name, alias: e5.row.alias };
58
58
  if (j.systemCode && j.systemCode != S.systemCode) {
59
59
  let e6 = j.systemCode, a3 = F.value.filter((l5) => l5.value == e6);
60
60
  l4.systemVersion = a3.length > 0 ? a3[0].version : 1, l4.systemCode = e6;
61
61
  } else j.systemCode || (e5.row.systemCode && (l4.systemCode = e5.row.systemCode), e5.row.publishVersion && (l4.systemVersion = e5.row.publishVersion));
62
62
  P("selectTable", l4), U.value = false;
63
- }(e4) }, { default: r(() => l2[8] || (l2[8] = [g("选择")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(T3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => l2[9] || (l2[9] = [g("数据表")])), _: 1 })), e4.dataView ? (n(), s(T3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => l2[10] || (l2[10] = [g("视图")])), _: 1 })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
63
+ }(e4) }, { default: r(() => l2[8] || (l2[8] = [y("选择")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(T3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => l2[9] || (l2[9] = [y("数据表")])), _: 1 })), e4.dataView ? (n(), s(T3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => l2[10] || (l2[10] = [y("视图")])), _: 1 })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
64
64
  };
65
65
  } });
66
66
  export {
@@ -1,7 +1,7 @@
1
- import e from "./common-variable-bind.vue3.js";
1
+ import o from "./common-variable-bind.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-f1126e5e"]]);
3
+ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = e(o, [["__scopeId", "data-v-3324003e"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, computed as u, watch as o, resolveComponent as n, createElementBlock as s, createBlock as i, openBlock as r, toDisplayString as p, withCtx as v, createVNode as d, createElementVNode as m, withDirectives as f, unref as c, createTextVNode as y, vShow as g, normalizeStyle as b, createCommentVNode as h, withModifiers as w, nextTick as V } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, computed as u, watch as o, resolveComponent as n, createElementBlock as s, createBlock as i, openBlock as r, toDisplayString as p, withCtx as d, createVNode as v, createElementVNode as m, withDirectives as f, unref as c, createTextVNode as y, vShow as g, normalizeStyle as b, createCommentVNode as h, withModifiers as w, nextTick as V } from "vue";
2
2
  import { Plus as x, InfoFilled as O, Search as k, CircleClose as C } from "@element-plus/icons-vue";
3
3
  import M from "agilebuilder-ui/src/utils/request";
4
4
  import { deepCopy as _, getUuidv4 as z } from "../../../utils/common-util.js";
@@ -30,10 +30,10 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
30
30
  if (Q.value && (l2 = Q.value.$el.parentNode), !e3.target || !l2) return;
31
31
  if (e3.target === re) return;
32
32
  const a2 = J.value ? J.value.input : null;
33
- a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ? re = e3.target : (Q.value.$el, G.value && de()));
33
+ a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ? re = e3.target : (Q.value.$el, G.value && ve()));
34
34
  }
35
- const ve = l([{ label: "天", value: "d" }, { label: "周", value: "w" }, { label: "月", value: "m" }, { label: "年", value: "y" }]);
36
- function de(e3) {
35
+ const de = l([{ label: "天", value: "d" }, { label: "周", value: "w" }, { label: "月", value: "m" }, { label: "年", value: "y" }]);
36
+ function ve(e3) {
37
37
  G.value = false;
38
38
  }
39
39
  const me = u(() => ae.value.filter((e3) => !ue.value || "system" == ee.value || e3.label.toLowerCase().includes(ue.value.toLowerCase()) || e3.value.toLowerCase().includes(ue.value.toLowerCase())));
@@ -66,7 +66,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
66
66
  if ("context" === e3 && l2 && l2.startsWith("currentDate") && l2.length > 11) {
67
67
  const e4 = l2.substring(11), a3 = e4.substring(0, 1);
68
68
  return e4.substring(1, e4.length - 1) + ((e5) => {
69
- const l3 = ve.value.filter((l4) => l4.value == e5);
69
+ const l3 = de.value.filter((l4) => l4.value == e5);
70
70
  return l3.length > 0 ? l3[0].label : "";
71
71
  })(e4.substring(e4.length - 1)) + ("+" === a3 ? "后" : "前");
72
72
  }
@@ -99,14 +99,14 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
99
99
  H.value = "", W("update:modelValue", H.value), oe.value.hide();
100
100
  }
101
101
  function ke() {
102
- le.value ? (H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value), de()) : ElMessage.warning("请输入参数名");
102
+ le.value ? (H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value), ve()) : ElMessage.warning("请输入参数名");
103
103
  }
104
104
  function Ce() {
105
105
  if (ue.value = ue.value.trim(), !ue.value) return void ElMessage.warning("请输入参数名");
106
106
  const e3 = te.value.pageVarOptions || [];
107
107
  for (let l3 of e3) if (l3.value === ue.value) return void ElMessage.warning("该变量已存在!");
108
108
  const l2 = { code: z(), name: ue.value, alias: ue.value, type: "string", defaultValue: "" };
109
- K.pageContext.variables || (K.pageContext.variables = []), K.pageContext.variables.push(l2), K.setPageContext(K.pageContext), te.value.pageVarOptions = K.pageContextVarOptions.pageVarOptions, ae.value = te.value.pageVarOptions || [], le.value = ue.value, H.value = "${" + ee.value + "." + ue.value + "}", ue.value = "", W("update:modelValue", H.value), de();
109
+ K.pageContext.variables || (K.pageContext.variables = []), K.pageContext.variables.push(l2), K.setPageContext(K.pageContext), te.value.pageVarOptions = K.pageContextVarOptions.pageVarOptions, ae.value = te.value.pageVarOptions || [], le.value = ue.value, H.value = "${" + ee.value + "." + ue.value + "}", ue.value = "", W("update:modelValue", H.value), ve();
110
110
  }
111
111
  const Me = l();
112
112
  function _e() {
@@ -121,17 +121,17 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
121
121
  }
122
122
  return (l2, a2) => {
123
123
  const t2 = n("el-icon"), u2 = n("el-input"), o2 = n("el-cascader-panel"), V2 = n("el-col"), M2 = n("el-empty"), _2 = n("el-button"), z2 = n("el-table-column"), j2 = n("el-option"), U2 = n("el-select"), L2 = n("el-table"), N2 = n("el-row"), A2 = n("el-popover");
124
- return e2.showLabel ? (r(), s("span", R, p(H.value), 1)) : (r(), i(A2, { key: 1, ref_key: "popoverRef", ref: oe, visible: G.value, width: 400 }, { reference: v(() => [d(u2, { readonly: "", size: e2.size, title: H.value, ref_key: "inputRef", ref: J, onClick: _e, formatter: he, modelValue: H.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => H.value = e3), placeholder: e2.placeholder }, { suffix: v(() => [f(d(t2, { style: { cursor: "pointer" }, onClick: w(Oe, ["stop"]) }, { default: v(() => [d(c(C))]), _: 1 }, 512), [[g, H.value]])]), _: 1 }, 8, ["size", "title", "modelValue", "placeholder"])]), default: v(() => [d(N2, { ref_key: "contentRef", ref: Q }, { default: v(() => [d(V2, { span: 8 }, { default: v(() => [d(o2, { modelValue: ee.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => ee.value = e3), onChange: Ve, props: { emitPath: true }, size: "small", options: X.value, style: { height: "240px", width: "100%" } }, null, 8, ["modelValue", "options"])]), _: 1 }), ee.value ? Y.value ? (r(), i(V2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { style: { width: "210px" }, size: "small", modelValue: le.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => le.value = e3), placeholder: "请手动输入" }, null, 8, ["modelValue"]), d(_2, { style: { float: "right" }, onClick: ke, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), m("div", T, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[5] || (a2[5] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), f(m("div", q, [a2[7] || (a2[7] = y(" 常用参数: ")), d(_2, { type: "primary", size: "small", onClick: a2[3] || (a2[3] = (e3) => {
124
+ return e2.showLabel ? (r(), s("span", R, p(H.value), 1)) : (r(), i(A2, { key: 1, ref_key: "popoverRef", ref: oe, visible: G.value, width: 400 }, { reference: d(() => [v(u2, { readonly: "", size: e2.size, title: H.value, ref_key: "inputRef", ref: J, onClick: _e, formatter: he, modelValue: H.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => H.value = e3), placeholder: e2.placeholder }, { suffix: d(() => [f(v(t2, { style: { cursor: "pointer" }, onClick: w(Oe, ["stop"]) }, { default: d(() => [v(c(C))]), _: 1 }, 512), [[g, H.value]])]), _: 1 }, 8, ["size", "title", "modelValue", "placeholder"])]), default: d(() => [v(N2, { ref_key: "contentRef", ref: Q }, { default: d(() => [v(V2, { span: 8 }, { default: d(() => [v(o2, { modelValue: ee.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => ee.value = e3), onChange: Ve, props: { emitPath: true }, size: "small", options: X.value, style: { height: "240px", width: "100%" } }, null, 8, ["modelValue", "options"])]), _: 1 }), ee.value ? Y.value ? (r(), i(V2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: d(() => [v(u2, { style: { width: "210px" }, size: "small", modelValue: le.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => le.value = e3), placeholder: "请手动输入" }, null, 8, ["modelValue"]), v(_2, { style: { float: "right" }, onClick: ke, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), m("div", T, [v(t2, null, { default: d(() => [v(c(O))]), _: 1 }), a2[5] || (a2[5] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), f(m("div", q, [a2[7] || (a2[7] = y(" 常用参数: ")), v(_2, { type: "primary", size: "small", onClick: a2[3] || (a2[3] = (e3) => {
125
125
  return l3 = "query", le.value = l3, void ke();
126
126
  var l3;
127
- }) }, { default: v(() => a2[6] || (a2[6] = [y("query")])), _: 1 })], 512), [[g, "request" == ee.value]])]), _: 1 })) : (r(), i(V2, { key: 2, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { size: "small", modelValue: ue.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e3) => ue.value = e3), placeholder: "搜索", "suffix-icon": c(k), style: b([{ "margin-bottom": "5px", height: "25px" }, ge.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(d(_2, { style: { float: "right" }, onClick: Ce, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), [[g, "page" == ee.value]]), f(m("div", D, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[8] || (a2[8] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[g, "page" == ee.value]]), d(L2, { ref_key: "tableRef", ref: Me, height: ye.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: me.value }, { default: v(() => [d(z2, { width: "65" }, { default: v((e3) => [d(_2, { size: "small", onClick: (l3) => function(e4) {
127
+ }) }, { default: d(() => a2[6] || (a2[6] = [y("query")])), _: 1 })], 512), [[g, "request" == ee.value]])]), _: 1 })) : (r(), i(V2, { key: 2, span: 16, style: { "padding-left": "10px" } }, { default: d(() => [v(u2, { size: "small", modelValue: ue.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e3) => ue.value = e3), placeholder: "搜索", "suffix-icon": c(k), style: b([{ "margin-bottom": "5px", height: "25px" }, ge.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(v(_2, { style: { float: "right" }, onClick: Ce, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), [[g, "page" == ee.value]]), f(m("div", D, [v(t2, null, { default: d(() => [v(c(O))]), _: 1 }), a2[8] || (a2[8] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[g, "page" == ee.value]]), v(L2, { ref_key: "tableRef", ref: Me, height: ye.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: me.value }, { default: d(() => [v(z2, { width: "65" }, { default: d((e3) => [v(_2, { type: "default", size: "small", onClick: (l3) => function(e4) {
128
128
  if ("range" == e4.type) {
129
129
  if ("" === e4.symbolNum) return void ElMessage.warning("周期不能为空!");
130
130
  if (isNaN(e4.symbolNum)) return void ElMessage.warning("周期为无效的数字!");
131
131
  "0" != e4.symbolNum ? le.value = e4.value + e4.symbol + e4.symbolNum + e4.symbolUnit : le.value = e4.value;
132
132
  } else le.value = e4.value;
133
- H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value, e4.alias), de();
134
- }(e3.row) }, { default: v(() => a2[9] || (a2[9] = [y(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", P, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value }, p(e3.row.label + " " + e3.row.value), 9, $)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
133
+ H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value, e4.alias), ve();
134
+ }(e3.row) }, { default: d(() => a2[9] || (a2[9] = [y(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), v(z2, { label: "Date", prop: "label" }, { default: d((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", P, [v(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), v(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: d(() => [v(j2, { label: "天", value: "d" }), v(j2, { label: "周", value: "w" }), v(j2, { label: "月", value: "m" }), v(j2, { label: "年", value: "y" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), v(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: d(() => [v(j2, { label: "前", value: "-" }), v(j2, { label: "后", value: "+" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value }, p(e3.row.label + " " + e3.row.value), 9, $)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: d(() => [v(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
135
135
  };
136
136
  } });
137
137
  export {