super-page-designer 2.2.73 → 2.2.77-sit3

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 (120) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +6 -6
  2. package/dist/es/components/design/utils/common-util.js +18 -7
  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 +1 -1
  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 +53 -53
  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.vue2.js +11 -11
  37. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +59 -59
  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-attr-base.vue.js +31 -31
  42. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +10 -10
  43. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  44. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +19 -19
  45. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
  46. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
  47. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  48. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
  49. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
  50. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  51. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
  52. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +10 -10
  54. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
  56. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
  57. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  58. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
  59. package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
  60. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
  61. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +9 -9
  62. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
  63. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  64. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
  65. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +29 -9
  67. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
  68. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
  69. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
  70. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
  71. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
  72. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
  73. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +3 -3
  74. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
  75. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
  76. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +9 -9
  77. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +12 -12
  78. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
  79. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
  80. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
  81. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
  82. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
  83. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
  84. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  85. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  86. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
  87. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  88. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
  89. package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
  90. package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
  91. package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
  92. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  93. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
  94. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
  95. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
  96. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  97. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -20
  98. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
  99. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
  100. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
  101. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
  102. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
  103. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
  104. package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
  105. package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
  106. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
  107. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
  108. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
  109. package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
  110. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
  111. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
  112. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  113. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
  114. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  115. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  116. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
  117. package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
  118. package/dist/es/style.css +1834 -737
  119. package/package.json +4 -4
  120. package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
@@ -1,32 +1,33 @@
1
- import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as s, createVNode as d, createElementVNode as i, createElementBlock as n, Fragment as r, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as b } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as i, createVNode as s, createElementVNode as n, createElementBlock as d, Fragment as p, renderList as r, unref as m, createTextVNode as c, withDirectives as f, vShow as b } from "vue";
2
2
  import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
3
- import _ from "../../common/common-icon-bind.vue.js";
4
- import V from "../../common/common-function-code.vue.js";
5
- import v from "agilebuilder-ui/src/utils/request";
3
+ import V from "../../common/common-icon-bind.vue.js";
4
+ import v from "../../common/common-function-code.vue.js";
5
+ import _ from "agilebuilder-ui/src/utils/request";
6
6
  import y from "../../common/common-i18n-key-input.vue.js";
7
- const U = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
- const P2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]), k = l([]), w = l([]);
9
- function F() {
10
- w.value.length > 0 ? (P2.configure.props.base.templateFiles || (P2.configure.props.base.templateFiles = []), k.value.filter((e3) => w.value.includes(e3.uuid)).forEach((e3) => {
11
- P2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
12
- })) : P2.configure.props.base.templateFiles = [];
7
+ import { Close as x, Check as U } from "@element-plus/icons-vue";
8
+ const h = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
9
+ const k2 = e2, w = l(["base", "appearance", "otherSettings", "linkPage"]), F = l([]), T = l([]);
10
+ function z() {
11
+ T.value.length > 0 ? (k2.configure.props.base.templateFiles || (k2.configure.props.base.templateFiles = []), F.value.filter((e3) => T.value.includes(e3.uuid)).forEach((e3) => {
12
+ k2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
13
+ })) : k2.configure.props.base.templateFiles = [];
13
14
  }
14
15
  return a(() => {
15
- P2.configure.props.base.templateFiles && P2.configure.props.base.templateFiles.forEach((e3) => {
16
- w.value.push(e3.templateUuid);
16
+ k2.configure.props.base.templateFiles && k2.configure.props.base.templateFiles.forEach((e3) => {
17
+ T.value.push(e3.templateUuid);
17
18
  }), function() {
18
19
  let e3 = {};
19
- v.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${P2.pageDesign.systemCode}`, e3).then((e4) => {
20
- k.value = e4.data;
20
+ _.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${k2.pageDesign.systemCode}`, e3).then((e4) => {
21
+ F.value = e4.data;
21
22
  });
22
23
  }();
23
24
  }), (l2, a2) => {
24
- const v2 = u("el-option"), T = u("el-select"), z = u("el-form-item"), N = u("el-input"), A = u("el-radio"), C = u("el-radio-group"), D = u("el-collapse-item"), E = u("el-radio-button"), O = u("el-switch"), S = u("el-collapse"), $ = u("el-form");
25
- return o(), t($, { "label-width": "80px", size: "small" }, { default: s(() => [d(S, { modelValue: j.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [d(D, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", U, [d(z, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: s(() => [(o(true), n(r, null, p(m(g)(), (e3) => (o(), t(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(z, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(V, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), d(z, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [d(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "large" }, { default: s(() => a2[18] || (a2[18] = [f("大")])), _: 1 }), d(A, { value: "default" }, { default: s(() => a2[19] || (a2[19] = [f("中")])), _: 1 }), d(A, { value: "small" }, { default: s(() => a2[20] || (a2[20] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "default" }, { default: s(() => a2[21] || (a2[21] = [f("普通")])), _: 1 }), d(A, { value: "disabled" }, { default: s(() => a2[22] || (a2[22] = [f("禁用")])), _: 1 }), d(A, { value: "hidden" }, { default: s(() => a2[23] || (a2[23] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "模板", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: w.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => w.value = e3), multiple: "", onChange: F }, { default: s(() => [(o(true), n(r, null, p(k.value, (e3) => (o(), t(v2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", h, [d(z, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: s(() => [d(v2, { label: "primary", value: "primary" }), d(v2, { label: "success", value: "success" }), d(v2, { label: "warning", value: "warning" }), d(v2, { label: "danger", value: "danger" }), d(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(_, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
26
- P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
27
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(d(z, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: s(() => [d(E, { value: "left" }, { default: s(() => a2[24] || (a2[24] = [f("标题前")])), _: 1 }), d(E, { value: "right" }, { default: s(() => a2[25] || (a2[25] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), d(z, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[26] || (a2[26] = [f("")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[27] || (a2[27] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[28] || (a2[28] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[29] || (a2[29] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[31] || (a2[31] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "button" }, { default: s(() => a2[36] || (a2[36] = [f("button")])), _: 1 }), d(A, { value: "submit" }, { default: s(() => a2[37] || (a2[37] = [f("submit")])), _: 1 }), d(A, { value: "reset" }, { default: s(() => a2[38] || (a2[38] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", x, [d(z, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [d(O, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
25
+ const _2 = o("el-option"), N = o("el-select"), A = o("el-form-item"), C = o("el-input"), D = o("el-radio"), E = o("el-radio-group"), O = o("el-collapse-item"), S = o("el-radio-button"), $ = o("el-switch"), q = o("el-collapse"), I = o("el-form");
26
+ return t(), u(I, { "label-width": "80px", size: "small" }, { default: i(() => [s(q, { modelValue: w.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", h, [s(A, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(t(true), d(p, null, r(m(g)(), (e3) => (t(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(A, { label: "自定义编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(A, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "尺寸", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "large" }, { default: i(() => a2[18] || (a2[18] = [c("大")])), _: 1 }), s(D, { value: "default" }, { default: i(() => a2[19] || (a2[19] = [c("中")])), _: 1 }), s(D, { value: "small" }, { default: i(() => a2[20] || (a2[20] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "default" }, { default: i(() => a2[21] || (a2[21] = [c("普通")])), _: 1 }), s(D, { value: "disabled" }, { default: i(() => a2[22] || (a2[22] = [c("禁用")])), _: 1 }), s(D, { value: "hidden" }, { default: i(() => a2[23] || (a2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "模板", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: T.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => T.value = e3), multiple: "", onChange: z }, { default: i(() => [(t(true), d(p, null, r(F.value, (e3) => (t(), u(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", P, [s(A, { label: "按钮类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: i(() => [s(_2, { label: "primary", value: "primary" }), s(_2, { label: "success", value: "success" }), s(_2, { label: "warning", value: "warning" }), s(_2, { label: "danger", value: "danger" }), s(_2, { label: "info", value: "info" }), s(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "图标", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
27
+ k2.configure.props.base.iconType = e4, k2.configure.props.base.iconValue = l4;
28
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(A, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: i(() => [s(S, { value: "left" }, { default: i(() => a2[24] || (a2[24] = [c("标题前")])), _: 1 }), s(S, { value: "right" }, { default: i(() => a2[25] || (a2[25] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), s(A, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[26] || (a2[26] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[27] || (a2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[28] || (a2[28] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[29] || (a2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "button" }, { default: i(() => a2[30] || (a2[30] = [c("button")])), _: 1 }), s(D, { value: "submit" }, { default: i(() => a2[31] || (a2[31] = [c("submit")])), _: 1 }), s(D, { value: "reset" }, { default: i(() => a2[32] || (a2[32] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", j, [s(A, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
29
  };
29
30
  } });
30
31
  export {
31
- P as default
32
+ k as default
32
33
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as i, watch as u, resolveComponent as t, createBlock as o, openBlock as l, normalizeStyle as n, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
1
+ import { defineComponent as e, ref as i, watch as l, resolveComponent as u, createBlock as a, openBlock as t, normalizeStyle as o, normalizeClass as n, withCtx as s, createElementBlock as r, createCommentVNode as c, Fragment as p, createTextVNode as v, toDisplayString as g, unref as y } from "vue";
2
2
  import { SuperIcon as d } from "agilebuilder-ui";
3
- import { caculateDetailComponentStyle as m, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
3
+ import { caculateDetailComponentStyle as f, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
4
4
  import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
5
- const V = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
- const V2 = e2;
7
- V2.configure.runtime || (V2.configure.runtime = {});
8
- const k = i({}), x = i(""), j = i({}), T = i({});
9
- u(V2.configure.style, () => {
10
- m(V2.configure, k, x, j), V2.configure.runtime.style = k.value, V2.configure.runtime.class = x.value, V2.configure.runtime.headerStyle = j.value;
5
+ const k = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const k2 = e2;
7
+ k2.configure.runtime || (k2.configure.runtime = {});
8
+ const V = i({}), T = i(""), z = i({}), h = i({});
9
+ l(k2.configure.style, () => {
10
+ f(k2.configure, V, T, z), k2.configure.runtime.style = V.value, k2.configure.runtime.class = T.value, k2.configure.runtime.headerStyle = z.value;
11
11
  }, { immediate: true });
12
- const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
13
- let z = h.title;
14
- return u(V2.configure.props, (e3, i2) => {
15
- y(V2.configure, T), function() {
16
- let e4 = V2.configure.props ? V2.configure.props : {};
17
- const i3 = e4.base ? e4.base : {}, u2 = e4.dropdown ? e4.dropdown : {};
18
- Object.assign(T.value, u2), Object.assign(T.value, i3);
19
- }(), h.title !== z && V2.pageDesign && (b(V2.configure, V2.pageDesign), z = h.title), V2.configure.runtime.props = T.value;
12
+ const j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
+ let P = j.title;
14
+ return l(k2.configure.props, (e3, i2) => {
15
+ m(k2.configure, h), function() {
16
+ let e4 = k2.configure.props ? k2.configure.props : {};
17
+ const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
18
+ Object.assign(h.value, l2), Object.assign(h.value, i3);
19
+ }(), j.title !== P && k2.pageDesign && (b(k2.configure, k2.pageDesign), P = j.title), k2.configure.runtime.props = h.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
- const u2 = t("el-button");
22
- return l(), o(u2, { disabled: "disabled" === T.value.state, class: a(x.value), style: n(k.value), type: T.value.type, size: T.value.size, text: T.value.text, round: T.value.round, plain: T.value.plain }, { default: r(() => [T.value.title && "right" == T.value.iconPosition ? (l(), s(p, { key: 0 }, [g(v(T.value.title) + " ", 1), T.value.iconValue ? (l(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true)], 64)) : c("", true), T.value.iconType && T.value.iconValue ? (l(), o(f(d), { key: 1, iconType: T.value.iconType, iconValue: T.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), T.value.title && "right" != T.value.iconPosition ? (l(), s(p, { key: 2 }, [T.value.iconValue ? (l(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true), g(" " + v(T.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
21
+ const l2 = u("el-link"), f2 = u("el-button");
22
+ return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (t(), a(f2, { key: 1, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size, round: h.value.round, plain: h.value.plain }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
23
23
  };
24
24
  } });
25
25
  export {
26
- V as default
26
+ k as default
27
27
  };
@@ -1,19 +1,20 @@
1
- import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as s, createElementVNode as n, createElementBlock as r, Fragment as i, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as g, createCommentVNode as b } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as n, createElementVNode as i, createElementBlock as s, Fragment as r, renderList as p, unref as m, createTextVNode as c, withDirectives as f, vShow as b, createCommentVNode as g } from "vue";
2
2
  import { getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
3
3
  import V from "../../common/common-icon-bind.vue.js";
4
4
  import v from "../../common/common-function-code.vue.js";
5
5
  import y from "./print-template-select.vue.js";
6
6
  import x from "../../common/common-i18n-key-input.vue.js";
7
- const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "printlabel-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
- const T2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]);
7
+ import { Close as U, Check as w } from "@element-plus/icons-vue";
8
+ const h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "printlabel-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
9
+ const P2 = e2, z = l(["base", "appearance", "otherSettings", "linkPage"]);
9
10
  return a(() => {
10
11
  }), (l2, a2) => {
11
- const P = o("el-option"), z = o("el-select"), E = o("el-form-item"), B = o("el-input"), O = o("el-radio"), S = o("el-radio-group"), A = o("el-collapse-item"), D = o("el-radio-button"), q = o("el-switch"), C = o("el-collapse"), F = o("el-form");
12
- return u(), t(F, { "label-width": "80px", size: "small" }, { default: d(() => [s(C, { modelValue: j.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", U, [s(E, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), r(i, null, p(m(_)(), (e3) => (u(), t(P, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(E, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(E, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [s(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [f("大")])), _: 1 }), s(O, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [f("中")])), _: 1 }), s(O, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [f("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [f("禁用")])), _: 1 }), s(O, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), s(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", w, [s(E, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
13
- T2.configure.props.base.iconType = e4, T2.configure.props.base.iconValue = l4;
14
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(s(E, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [s(D, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [f("标题前")])), _: 1 }), s(D, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(E, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[30] || (a2[30] = [f("")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[31] || (a2[31] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[33] || (a2[33] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[35] || (a2[35] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[36] || (a2[36] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[37] || (a2[37] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[38] || (a2[38] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[39] || (a2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[40] || (a2[40] = [f("button")])), _: 1 }), s(O, { value: "submit" }, { default: d(() => a2[41] || (a2[41] = [f("submit")])), _: 1 }), s(O, { value: "reset" }, { default: d(() => a2[42] || (a2[42] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", h, [s(E, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "hover" }, { default: d(() => a2[43] || (a2[43] = [f("鼠标移动")])), _: 1 }), s(O, { value: "click" }, { default: d(() => a2[44] || (a2[44] = [f("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[45] || (a2[45] = [f("按钮")])), _: 1 }), s(O, { value: "text" }, { default: d(() => a2[46] || (a2[46] = [f("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[47] || (a2[47] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[48] || (a2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), s(E, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [s(P, { value: "bottom" }, { default: d(() => a2[49] || (a2[49] = [f("bottom")])), _: 1 }), s(P, { value: "top" }, { default: d(() => a2[50] || (a2[50] = [f("top")])), _: 1 }), s(P, { value: "top-start" }, { default: d(() => a2[51] || (a2[51] = [f("top-start")])), _: 1 }), s(P, { value: "top-end" }, { default: d(() => a2[52] || (a2[52] = [f("top-end")])), _: 1 }), s(P, { value: "bottom-start" }, { default: d(() => a2[53] || (a2[53] = [f("bottom-start")])), _: 1 }), s(P, { value: "bottom-end" }, { default: d(() => a2[54] || (a2[54] = [f("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", k, [s(E, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [s(q, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
12
+ const E = o("el-option"), B = o("el-select"), O = o("el-form-item"), S = o("el-input"), A = o("el-radio"), D = o("el-radio-group"), q = o("el-collapse-item"), C = o("el-radio-button"), F = o("el-switch"), G = o("el-collapse"), H = o("el-form");
13
+ return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大")])), _: 1 }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中")])), _: 1 }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通")])), _: 1 }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用")])), _: 1 }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
14
+ P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
15
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前")])), _: 1 }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button")])), _: 1 }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit")])), _: 1 }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动")])), _: 1 }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮")])), _: 1 }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom")])), _: 1 }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top")])), _: 1 }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start")])), _: 1 }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end")])), _: 1 }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start")])), _: 1 }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
15
16
  };
16
17
  } });
17
18
  export {
18
- T as default
19
+ P as default
19
20
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as i, watch as u, resolveComponent as t, createBlock as l, openBlock as n, normalizeStyle as o, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
1
+ import { defineComponent as e, ref as i, watch as l, resolveComponent as u, createBlock as a, openBlock as t, normalizeStyle as n, normalizeClass as o, withCtx as s, createElementBlock as r, createCommentVNode as c, Fragment as p, createTextVNode as v, toDisplayString as g, unref as y } from "vue";
2
2
  import { SuperIcon as d } from "agilebuilder-ui";
3
- import { caculateDetailComponentStyle as m, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
3
+ import { caculateDetailComponentStyle as f, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
4
4
  import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
5
- const V = e({ __name: "printlabel-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
- const V2 = e2;
7
- V2.configure.runtime || (V2.configure.runtime = {});
8
- const k = i({}), j = i(""), x = i({}), T = i({});
9
- u(V2.configure.style, () => {
10
- m(V2.configure, k, j, x), V2.configure.runtime.style = k.value, V2.configure.runtime.class = j.value, V2.configure.runtime.headerStyle = x.value;
5
+ const k = e({ __name: "printlabel-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const k2 = e2;
7
+ k2.configure.runtime || (k2.configure.runtime = {});
8
+ const V = i({}), T = i(""), z = i({}), h = i({});
9
+ l(k2.configure.style, () => {
10
+ f(k2.configure, V, T, z), k2.configure.runtime.style = V.value, k2.configure.runtime.class = T.value, k2.configure.runtime.headerStyle = z.value;
11
11
  }, { immediate: true });
12
- const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
13
- let z = h.title;
14
- return u(V2.configure.props, (e3, i2) => {
15
- y(V2.configure, T), function() {
16
- let e4 = V2.configure.props ? V2.configure.props : {};
17
- const i3 = e4.base ? e4.base : {}, u2 = e4.dropdown ? e4.dropdown : {};
18
- Object.assign(T.value, u2), Object.assign(T.value, i3);
19
- }(), h.title !== z && V2.pageDesign && (b(V2.configure, V2.pageDesign), z = h.title), V2.configure.runtime.props = T.value;
12
+ const j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
+ let P = j.title;
14
+ return l(k2.configure.props, (e3, i2) => {
15
+ m(k2.configure, h), function() {
16
+ let e4 = k2.configure.props ? k2.configure.props : {};
17
+ const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
18
+ Object.assign(h.value, l2), Object.assign(h.value, i3);
19
+ }(), j.title !== P && k2.pageDesign && (b(k2.configure, k2.pageDesign), P = j.title), k2.configure.runtime.props = h.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
- const u2 = t("el-button");
22
- return n(), l(u2, { disabled: "disabled" === T.value.state, class: a(j.value), style: o(k.value), type: T.value.type, size: T.value.size, text: T.value.text, round: T.value.round, plain: T.value.plain }, { default: r(() => [T.value.title && "right" == T.value.iconPosition ? (n(), s(p, { key: 0 }, [g(v(T.value.title) + " ", 1), T.value.iconValue ? (n(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true)], 64)) : c("", true), T.value.iconType && T.value.iconValue ? (n(), l(f(d), { key: 1, iconType: T.value.iconType, iconValue: T.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), T.value.title && "right" != T.value.iconPosition ? (n(), s(p, { key: 2 }, [T.value.iconValue ? (n(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true), g(" " + v(T.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
21
+ const l2 = u("el-link"), f2 = u("el-button");
22
+ return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: o(T.value), style: n(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (t(), a(f2, { key: 1, disabled: "disabled" === h.value.state, class: o(T.value), style: n(V.value), type: h.value.type, size: h.value.size, round: h.value.round, plain: h.value.plain }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
23
23
  };
24
24
  } });
25
25
  export {
26
- V as default
26
+ k as default
27
27
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
2
2
  import { getUuidv4 as h } from "../../../../utils/common-util.js";
3
3
  import { caculateComponentStyle as b } from "../../../../utils/container-design-util.js";
4
- import { removComponentDataConfig as W, generateChartHeader as x, generateChartOption as j, updateDynamicSeriesField as y, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
5
- import { getCustomTheme as I } from "super-page-runtime";
4
+ import { removComponentDataConfig as W, generateChartHeader as j, generateChartOption as C, updateDynamicSeriesField as I, initComponentDataConfig as x } from "../../../../utils/chart-design-util.js";
5
+ import { getCustomTheme as y } from "super-page-runtime";
6
6
  import k from "./series/column-line-series-attr.vue.js";
7
7
  import D from "../common/common-chart-header.vue.js";
8
8
  import { use as F } from "echarts/core";
@@ -13,17 +13,17 @@ import H from "vue-echarts";
13
13
  import "element-plus";
14
14
  import "agilebuilder-ui/src/utils/request";
15
15
  import "../../../../utils/eventBus.js";
16
- const S = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, E = ["onClick"], G = e({ __name: "column-line-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: G2 }) {
16
+ const S = { class: "amb-design-item-title" }, E = ["onClick"], G = e({ __name: "column-line-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: G2 }) {
17
17
  F([T, w, O, R, _, q, A, z, B]);
18
18
  const J = e2;
19
19
  J.configure.props || (J.configure.props = {}), J.configure.items || (J.configure.items = []), 0 == J.configure.items.length && J.configure.items.push({ uuid: h(), index: 1, name: "", type: "bar", label: "柱状图", props: { title: "系列1" }, style: {} }), J.configure.runtime || (J.configure.runtime = {});
20
20
  const K = t({}), L = t(""), M = t({}), N = t({}), P = t(null);
21
21
  function Q() {
22
- const e3 = C(J.configure, N.value);
22
+ const e3 = x(J.configure, N.value);
23
23
  J.configure.runtime.dataConfig = e3;
24
24
  }
25
25
  i(J.configure.style, () => {
26
- b(J.configure, K, L, null), J.configure.runtime.style = K.value, J.configure.runtime.class = L.value, N.value = x(J.configure), J.configure.runtime.headerInfo = N.value, V();
26
+ b(J.configure, K, L, null), J.configure.runtime.style = K.value, J.configure.runtime.class = L.value, N.value = j(J.configure), J.configure.runtime.headerInfo = N.value, V();
27
27
  }, { immediate: true }), i(J.configure.props, () => {
28
28
  V(), Q();
29
29
  }), i(J.configure.items, () => {
@@ -33,7 +33,7 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
33
33
  Q();
34
34
  }, 100);
35
35
  function V() {
36
- j(J.configure, M), N.value = x(J.configure), P.value = I(J.configure.props.customTheme), J.configure.runtime.chartOption = M.value, J.configure.runtime.headerInfo = N.value, y(J.configure, N.value);
36
+ C(J.configure, M), N.value = j(J.configure), P.value = y(J.configure.props.customTheme), J.configure.runtime.chartOption = M.value, J.configure.runtime.headerInfo = N.value, I(J.configure, N.value);
37
37
  }
38
38
  function X() {
39
39
  if (J.configure.items) for (let e3 of J.configure.items) e3.selected = false;
@@ -41,13 +41,13 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
41
41
  function Y(e3) {
42
42
  X();
43
43
  }
44
- o(() => {
44
+ r(() => {
45
45
  W(J.configure), U && clearTimeout(U);
46
46
  }), J.selectWidget && i(J.selectWidget, () => {
47
47
  null != J.selectWidget && J.selectWidget.value != J.configure.componentIndex && X();
48
48
  }), t(null);
49
49
  const Z = G2;
50
- return (e3, t2) => (n(), r("div", { style: c([K.value, { position: "relative" }]), class: u([L.value, "amb-widget-chart"]), onClick: s(Y, ["stop"]), ref: "thisRef" }, [l(m(D, { headerInfo: N.value }, null, 8, ["headerInfo"]), [[f, N.value.showHeader]]), m(a(H), { ref: "chartRef", theme: P.value, option: M.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), r(p, null, d(e3.configure.items, (e4, t3) => (n(), r("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
50
+ return (e3, t2) => (n(), o("div", { style: c([K.value, { position: "relative" }]), class: u([L.value, "amb-widget-chart"]), onClick: s(Y, ["stop"]), ref: "thisRef" }, [l(m(D, { headerInfo: N.value }, null, 8, ["headerInfo"]), [[f, N.value.showHeader]]), m(a(H), { ref: "chartRef", theme: P.value, option: M.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), o(p, null, d(e3.configure.items, (e4, t3) => (n(), o("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
51
51
  e6 && e6.preventDefault();
52
52
  const i2 = J.configure.items[t4];
53
53
  if (!i2.selected) {
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as u, normalizeClass as s, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as h } from "vue";
2
2
  import { caculateComponentStyle as v } from "../../../../utils/container-design-util.js";
3
- import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as x, initComponentDataConfig as j } from "../../../../utils/chart-design-util.js";
4
- import { getUuidv4 as y } from "../../../../utils/common-util.js";
5
- import { getCustomTheme as C } from "super-page-runtime";
6
- import I from "./series/gauge-series-attr.vue.js";
3
+ import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as j, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
4
+ import { getUuidv4 as I } from "../../../../utils/common-util.js";
5
+ import { getCustomTheme as x } from "super-page-runtime";
6
+ import y from "./series/gauge-series-attr.vue.js";
7
7
  import k from "../common/common-chart-header.vue.js";
8
8
  import { use as T } from "echarts/core";
9
9
  import { CanvasRenderer as w } from "echarts/renderers";
10
10
  import { GaugeChart as A } from "echarts/charts";
11
11
  import { GridComponent as D, TitleComponent as O, TooltipComponent as R, ToolboxComponent as _ } from "echarts/components";
12
12
  import z from "vue-echarts";
13
- const H = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, S = ["onClick"], q = e({ __name: "gauge-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
13
+ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "gauge-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
14
14
  T([w, A, D, O, R, _]);
15
15
  const B = e2;
16
- B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: y(), name: "", index: 1, type: "gauge", label: "系列", props: { title: "系列1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
16
+ B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: I(), name: "", index: 1, type: "gauge", label: "系列", props: { title: "系列1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
17
17
  const E = t({}), F = t(""), G = t(null), J = t({}), K = t({});
18
18
  function L() {
19
- const e3 = j(B.configure, K.value);
19
+ const e3 = C(B.configure, K.value);
20
20
  B.configure.runtime.dataConfig = e3;
21
21
  }
22
22
  i(B.configure.style, () => {
@@ -30,7 +30,7 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
30
30
  L();
31
31
  }, 100);
32
32
  function N() {
33
- x(B.configure, J), K.value = b(B.configure), G.value = C(B.configure.props.customTheme), B.configure.runtime.chartOption = J.value, B.configure.runtime.headerInfo = K.value;
33
+ j(B.configure, J), K.value = b(B.configure), G.value = x(B.configure.props.customTheme), B.configure.runtime.chartOption = J.value, B.configure.runtime.headerInfo = K.value;
34
34
  }
35
35
  function P() {
36
36
  if (B.configure.items) for (let e3 of B.configure.items) e3.selected = false;
@@ -52,7 +52,7 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
52
52
  e7.selected = false;
53
53
  break;
54
54
  }
55
- i2.selected = true, U("onCustomAttrWidget", i2, I);
55
+ i2.selected = true, U("onCustomAttrWidget", i2, y);
56
56
  }
57
57
  }(e5, t3), ["stop"]) }, h(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
58
58
  } });
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as h } from "vue";
2
2
  import { caculateComponentStyle as v } from "../../../../utils/container-design-util.js";
3
3
  import { getUuidv4 as W } from "../../../../utils/common-util.js";
4
- import { removComponentDataConfig as b, generateChartHeader as x, generateChartOption as j, initComponentDataConfig as y } from "../../../../utils/chart-design-util.js";
5
- import { getCustomTheme as C } from "super-page-runtime";
6
- import I from "./series/pie-series-attr.vue.js";
4
+ import { removComponentDataConfig as b, generateChartHeader as j, generateChartOption as C, initComponentDataConfig as I } from "../../../../utils/chart-design-util.js";
5
+ import { getCustomTheme as x } from "super-page-runtime";
6
+ import y from "./series/pie-series-attr.vue.js";
7
7
  import k from "../common/common-chart-header.vue.js";
8
8
  import { use as T } from "echarts/core";
9
9
  import { CanvasRenderer as w } from "echarts/renderers";
10
10
  import { PieChart as A } from "echarts/charts";
11
11
  import { GridComponent as D, LegendComponent as O, TitleComponent as R, TooltipComponent as _, ToolboxComponent as z } from "echarts/components";
12
12
  import H from "vue-echarts";
13
- const S = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, q = ["onClick"], B = e({ __name: "pie-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: B2 }) {
13
+ const S = { class: "amb-design-item-title" }, q = ["onClick"], B = e({ __name: "pie-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: B2 }) {
14
14
  T([w, A, D, O, R, _, z]);
15
15
  const E = e2;
16
16
  E.configure.props || (E.configure.props = {}), E.configure.items || (E.configure.items = []), 0 == E.configure.items.length && E.configure.items.push({ uuid: W(), name: "", index: 1, type: "pie", label: "系列", props: { title: "系列1" }, style: {} }), E.configure.runtime || (E.configure.runtime = {});
17
17
  const F = t({}), G = t(""), J = t(null), K = t({}), L = t({});
18
18
  function M() {
19
- const e3 = y(E.configure, L.value);
19
+ const e3 = I(E.configure, L.value);
20
20
  E.configure.runtime.dataConfig = e3;
21
21
  }
22
22
  i(E.configure.style, () => {
23
- v(E.configure, F, G, null), E.configure.runtime.style = F.value, E.configure.runtime.class = G.value, L.value = x(E.configure), E.configure.runtime.headerInfo = L.value, P();
23
+ v(E.configure, F, G, null), E.configure.runtime.style = F.value, E.configure.runtime.class = G.value, L.value = j(E.configure), E.configure.runtime.headerInfo = L.value, P();
24
24
  }, { immediate: true }), i(E.configure.props, () => {
25
25
  P(), M();
26
26
  }), i(E.configure.items, () => {
@@ -30,7 +30,7 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
30
30
  M();
31
31
  }, 100);
32
32
  function P() {
33
- j(E.configure, K), L.value = x(E.configure), J.value = C(E.configure.props.customTheme), E.configure.runtime.chartOption = K.value, E.configure.runtime.headerInfo = L.value;
33
+ C(E.configure, K), L.value = j(E.configure), J.value = x(E.configure.props.customTheme), E.configure.runtime.chartOption = K.value, E.configure.runtime.headerInfo = L.value;
34
34
  }
35
35
  function Q() {
36
36
  if (E.configure.items) for (let e3 of E.configure.items) e3.selected = false;
@@ -52,7 +52,7 @@ const S = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
52
52
  e7.selected = false;
53
53
  break;
54
54
  }
55
- i2.selected = true, V("onCustomAttrWidget", i2, I);
55
+ i2.selected = true, V("onCustomAttrWidget", i2, y);
56
56
  }
57
57
  }(e5, t3), ["stop"]) }, h(e4.props.title), 11, q))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
58
58
  } });
@@ -1,22 +1,22 @@
1
- import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as a, vShow as f, unref as m, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as a, unref as f, createElementVNode as g, Fragment as d, renderList as p, toDisplayString as v } from "vue";
2
2
  import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
3
- import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as x, initComponentDataConfig as j } from "../../../../utils/chart-design-util.js";
4
- import { getUuidv4 as y } from "../../../../utils/common-util.js";
5
- import { getCustomTheme as C } from "super-page-runtime";
6
- import I from "./series/series-attr.vue.js";
3
+ import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as j, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
4
+ import { getUuidv4 as I } from "../../../../utils/common-util.js";
5
+ import { getCustomTheme as x } from "super-page-runtime";
6
+ import y from "./series/series-attr.vue.js";
7
7
  import k from "../common/common-chart-header.vue.js";
8
8
  import { use as D } from "echarts/core";
9
9
  import { CanvasRenderer as F } from "echarts/renderers";
10
10
  import { RadarChart as T } from "echarts/charts";
11
11
  import { GridComponent as w, TitleComponent as A, TooltipComponent as O, ToolboxComponent as R, LegendComponent as _ } from "echarts/components";
12
12
  import z from "vue-echarts";
13
- const H = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, S = ["onClick"], q = e({ __name: "radar-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
13
+ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "radar-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
14
14
  D([F, T, w, A, O, R, _]);
15
15
  const B = e2;
16
- B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: y(), name: "", index: 1, type: "radar", label: "数据1", props: { title: "数据1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
16
+ B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: I(), name: "", index: 1, type: "radar", label: "数据1", props: { title: "数据1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
17
17
  const E = t({}), G = t(""), J = t(null), K = t({}), L = t({});
18
18
  function M() {
19
- const e3 = j(B.configure, L.value);
19
+ const e3 = C(B.configure, L.value);
20
20
  B.configure.runtime.dataConfig = e3;
21
21
  }
22
22
  i(B.configure.style, () => {
@@ -30,7 +30,7 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
30
30
  M();
31
31
  }, 100);
32
32
  function P() {
33
- x(B.configure, K), L.value = b(B.configure), J.value = C(B.configure.props.customTheme), B.configure.runtime.chartOption = K.value, B.configure.runtime.headerInfo = L.value;
33
+ j(B.configure, K), L.value = b(B.configure), J.value = x(B.configure.props.customTheme), B.configure.runtime.chartOption = K.value, B.configure.runtime.headerInfo = L.value;
34
34
  }
35
35
  function Q() {
36
36
  if (B.configure.items) for (let e3 of B.configure.items) e3.selected = false;
@@ -44,7 +44,7 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
44
44
  B.selectWidget && B.selectWidget.value != B.configure.componentIndex && Q();
45
45
  });
46
46
  const V = q2;
47
- return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(a(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[f, L.value.showHeader]]), a(m(z), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), o(p, null, d(e3.configure.items, (e4, t3) => (n(), o("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
47
+ return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(m(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[a, L.value.showHeader]]), m(f(z), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), o(d, null, p(e3.configure.items, (e4, t3) => (n(), o("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
48
48
  e6 && e6.preventDefault();
49
49
  const i2 = B.configure.items[t4];
50
50
  if (!i2.selected) {
@@ -52,9 +52,9 @@ const H = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
52
52
  e7.selected = false;
53
53
  break;
54
54
  }
55
- i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true, V("onCustomAttrWidget", i2, I);
55
+ i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true, V("onCustomAttrWidget", i2, y);
56
56
  }
57
- }(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
57
+ }(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[a, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
58
58
  } });
59
59
  export {
60
60
  q as default