super-page-designer 2.3.5-design1 → 2.3.5-rc1-design1

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 (169) hide show
  1. package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +1 -0
  2. package/dist/es/components/design/utils/page-table-util.js +4 -4
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +4 -4
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +5 -52
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +48 -2
  6. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  7. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  9. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +5 -5
  10. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  11. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  12. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +7 -7
  13. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  14. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  15. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  16. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  17. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
  18. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
  19. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  23. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  24. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  25. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  26. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  27. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  29. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
  30. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
  31. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  32. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  33. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  34. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  35. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  36. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  37. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +1 -1
  38. package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
  39. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  40. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  41. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  42. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  43. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  44. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
  48. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  49. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  50. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +1 -1
  51. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  52. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  54. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  56. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  57. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  58. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  59. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
  61. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  63. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  64. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  65. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  67. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +11 -11
  68. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +10 -10
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +1 -1
  70. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
  71. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  72. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  73. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -1
  74. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
  75. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  76. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  77. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  78. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  79. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  80. package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +46 -0
  81. package/dist/es/components/design/views/assemblys/common/common-template-select.vue2.js +4 -0
  82. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
  83. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  84. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +13 -13
  85. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
  86. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  87. package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
  88. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
  89. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  90. package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
  91. package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
  92. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  93. package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
  94. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  95. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
  96. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  97. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +1 -1
  98. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  99. package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
  100. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  101. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  102. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
  103. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +3 -3
  104. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  105. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  106. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +4 -4
  107. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  108. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +3 -3
  109. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  110. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  111. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +6 -6
  112. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
  113. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +1 -1
  114. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  115. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  116. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
  117. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  118. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +6 -6
  119. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  120. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  121. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
  122. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
  123. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
  124. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  125. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
  126. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +9 -9
  127. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
  128. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
  129. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  130. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
  131. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  132. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  133. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
  134. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  135. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  136. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  137. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  138. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  139. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
  140. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
  141. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  142. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +6 -6
  143. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  144. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  145. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
  146. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  147. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  148. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  149. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
  150. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  151. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  152. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  153. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
  154. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  155. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
  156. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  157. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  158. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
  159. package/dist/es/components/design/views/design/page-event/config.vue3.js +1 -1
  160. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  161. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  162. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  163. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  164. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
  165. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
  166. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  167. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  168. package/dist/es/style.css +4 -0
  169. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
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";
2
- import { Plus as x, InfoFilled as O, Search as k, CircleClose as C } from "@element-plus/icons-vue";
3
- import M from "agilebuilder-ui/src/utils/request";
4
- import { deepCopy as _, getUuidv4 as z } from "../../../utils/common-util.js";
2
+ import { Plus as x, InfoFilled as O, Search as k, CircleClose as _ } from "@element-plus/icons-vue";
3
+ import C from "agilebuilder-ui/src/utils/request";
4
+ import { deepCopy as M, getUuidv4 as z } from "../../../utils/common-util.js";
5
5
  import { getTypeOptions as j, contextVarOptions as U, taskVarOptions as L } from "./common-variable-bind-option.js";
6
6
  import { usePageContextStore as N } from "../../../../../stores/page-store.js";
7
7
  import { tableField as A } from "../../../../../stores/table-store.js";
@@ -44,7 +44,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
44
44
  function ce() {
45
45
  if (fe == ue.value) return;
46
46
  const e3 = { query: ue.value };
47
- fe = ue.value, M.post(window.$vueApp.config.globalProperties.baseAPI + "/component/system-params/query", e3).then((e4) => {
47
+ fe = ue.value, C.post(window.$vueApp.config.globalProperties.baseAPI + "/component/system-params/query", e3).then((e4) => {
48
48
  const l2 = [];
49
49
  for (let a2 of e4) l2.push({ value: a2.propKey, label: a2.propKey + " (" + a2.propValue + ")" });
50
50
  te.value.systemVarOptions = l2, "system" == ee.value && xe(ee.value);
@@ -84,7 +84,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
84
84
  if ("context" === e3) {
85
85
  let e4 = U;
86
86
  if (F.isRange) {
87
- e4 = _(e4);
87
+ e4 = M(e4);
88
88
  for (let l2 = 0; l2 < e4.length; l2++) {
89
89
  if ("currentDate" == e4[l2].value) {
90
90
  e4.splice(l2 + 1, 0, { value: "currentDate", symbolUnit: "d", symbol: "-", type: "range" });
@@ -101,37 +101,37 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
101
101
  function ke() {
102
102
  le.value ? (H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value), de()) : ElMessage.warning("请输入参数名");
103
103
  }
104
- function Ce() {
104
+ function _e() {
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
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();
110
110
  }
111
- const Me = l();
112
- function _e() {
111
+ const Ce = l();
112
+ function Me() {
113
113
  G.value = true, V(() => {
114
114
  be(), ee.value && (ne.includes(ee.value) ? (Y.value = false, xe(ee.value)) : Y.value = true, "system" == ee.value && ce()), function() {
115
115
  if (!F.showLabel && !Y.value) {
116
116
  const e3 = me.value.findIndex((e4) => e4.value === le.value);
117
- e3 > -1 && Me.value.setCurrentRow(me.value[e3]);
117
+ e3 > -1 && Ce.value.setCurrentRow(me.value[e3]);
118
118
  }
119
119
  }();
120
120
  });
121
121
  }
122
122
  return (l2, a2) => {
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", $, [a2[7] || (a2[7] = y(" 常用参数: ")), d(_2, { type: "primary", size: "small", onClick: a2[3] || (a2[3] = (e3) => {
123
+ const t2 = n("el-icon"), u2 = n("el-input"), o2 = n("el-cascader-panel"), V2 = n("el-col"), C2 = n("el-empty"), M2 = 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: Me, 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(_))]), _: 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(M2, { 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", $, [a2[7] || (a2[7] = y(" 常用参数: ", -1)), d(M2, { 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", q, [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, { type: "default", size: "small", onClick: (l3) => function(e4) {
127
+ }) }, { default: v(() => a2[6] || (a2[6] = [y("query", -1)])), _: 1, __: [6] })], 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(M2, { style: { float: "right" }, onClick: _e, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), [[g, "page" == ee.value]]), f(m("div", q, [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: Ce, 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(M2, { 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
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", D, [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, P)) : (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"]));
134
+ }(e3.row) }, { default: v(() => a2[9] || (a2[9] = [y(" 选择 ", -1)])), _: 2, __: [9] }, 1032, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", D, [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, P)) : (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(C2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
135
135
  };
136
136
  } });
137
137
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as k, withModifiers as _, nextTick as z } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as _, withModifiers as k, nextTick as z } from "vue";
2
2
  import { ElMessage as x } from "element-plus";
3
3
  import { Close as S, Check as j, Search as O, Plus as P, CircleClose as T } from "@element-plus/icons-vue";
4
4
  import { EnableStates as A } from "../../../utils/interfaces/page-design-types.js";
@@ -99,10 +99,10 @@ const D = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, $ =
99
99
  }
100
100
  return F.value, F.type, (l2, a2) => {
101
101
  const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-button"), u2 = r("el-tooltip"), z2 = r("el-col"), x2 = r("el-empty"), A2 = r("el-option"), N2 = r("el-select"), R3 = r("el-row"), F2 = r("el-text"), Q2 = r("el-table-column"), W2 = r("el-table"), re2 = r("el-pagination"), ie2 = r("el-popover");
102
- return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: _(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, $)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", E, [m(F2, { type: "primary" }, { default: d(() => a2[7] || (a2[7] = [k("请输入自定义Controller中Permission注解中的code后点击添加图标.")])), _: 1 })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
102
+ return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: k(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, $)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", E, [m(F2, { type: "primary" }, { default: d(() => a2[7] || (a2[7] = [_("请输入自定义Controller中Permission注解中的code后点击添加图标.", -1)])), _: 1, __: [7] })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
103
103
  return a3 = e3.row, ae.value = a3.code, B("update:modelValue", le.value, ae.value, a3.name, a3.id), void Y();
104
104
  var a3;
105
- } }, { default: d(() => a2[8] || (a2[8] = [k(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
105
+ } }, { default: d(() => a2[8] || (a2[8] = [_(" 选择 ", -1)])), _: 2, __: [8] }, 1032, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
106
106
  };
107
107
  } });
108
108
  export {
@@ -3,17 +3,17 @@ import f from "../../common/common-attr-size.vue.js";
3
3
  import g from "../../common/common-function-code.vue.js";
4
4
  import b from "../../common/common-icon-bind.vue.js";
5
5
  import V from "../../common/common-i18n-key-input.vue.js";
6
- import { Close as v, Check as x } from "@element-plus/icons-vue";
7
- const y = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
6
+ import { Close as _, Check as v } from "@element-plus/icons-vue";
7
+ const x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
8
8
  } } }, setup(e2) {
9
- const _2 = e2, h = l(["1", "attrSize"]);
9
+ const y2 = e2, h = l(["1", "attrSize"]);
10
10
  return (l2, w) => {
11
11
  const U = o("el-text"), C = o("el-form-item"), j = o("el-input"), z = o("el-radio"), S = o("el-radio-group"), F = o("el-switch"), T = o("el-option"), k = o("el-select"), J = o("el-collapse-item"), O = o("el-collapse"), D = o("el-form");
12
- return u(), a(D, { "label-width": "80px", size: "small" }, { default: i(() => [t(O, { modelValue: h.value, "onUpdate:modelValue": w[9] || (w[9] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [t(J, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", y, [t(C, { label: "组件类型" }, { default: i(() => [t(U, null, { default: i(() => [c(s(e2.configure.label) + "(" + s(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(C, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.uuid, "onUpdate:modelValue": w[0] || (w[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(C, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.code, "onUpdate:modelValue": w[1] || (w[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(C, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: i(() => [t(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), t(C, { label: "标题显示", style: { "margin-top": "-10px" } }, { default: i(() => [t(S, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": w[2] || (w[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: i(() => [t(z, { value: true }, { default: i(() => w[10] || (w[10] = [c("显示")])), _: 1 }), t(z, { value: false }, { default: i(() => w[11] || (w[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(t(C, { label: "标题", style: { "margin-top": "-10px" } }, { default: i(() => [t(V, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": w[3] || (w[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d, e2.configure.props.base.tittleShow]]), t(C, { label: "标题图标", style: { "margin-top": "-10px" } }, { default: i(() => [t(b, { iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, "onUpdate:modelValue": w[4] || (w[4] = (e3, l3) => function(e4, l4) {
13
- _2.configure.props.iconType = e4, _2.configure.props.iconValue = l4;
14
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), t(C, { label: "折叠面板" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapse, "onUpdate:modelValue": w[5] || (w[5] = (l3) => e2.configure.props.isCollapse = l3), "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isCollapse ? (u(), a(C, { key: 0, label: "面板展开" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapseShow, "onUpdate:modelValue": w[6] || (w[6] = (l3) => e2.configure.props.isCollapseShow = l3), disabled: !e2.configure.props.isCollapse, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), t(C, { label: "Flex布局" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isFlex, "onUpdate:modelValue": w[7] || (w[7] = (l3) => e2.configure.props.isFlex = l3) }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.isFlex ? (u(), a(C, { key: 1, label: "水平对齐", style: { "margin-bottom": "-10px", "margin-top": "18px" } }, { default: i(() => [t(k, { modelValue: e2.configure.props.flexJustify, "onUpdate:modelValue": w[8] || (w[8] = (l3) => e2.configure.props.flexJustify = l3), placeholder: "默认", clearable: "" }, { default: i(() => [t(T, { label: "start", value: "start" }), t(T, { label: "center", value: "center" }), t(T, { label: "space-between", value: "space-between" }), t(T, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), t(f, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
12
+ return u(), a(D, { "label-width": "80px", size: "small" }, { default: i(() => [t(O, { modelValue: h.value, "onUpdate:modelValue": w[9] || (w[9] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [t(J, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", x, [t(C, { label: "组件类型" }, { default: i(() => [t(U, null, { default: i(() => [c(s(e2.configure.label) + "(" + s(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(C, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.uuid, "onUpdate:modelValue": w[0] || (w[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(C, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.code, "onUpdate:modelValue": w[1] || (w[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(C, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: i(() => [t(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), t(C, { label: "标题显示", style: { "margin-top": "-10px" } }, { default: i(() => [t(S, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": w[2] || (w[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: i(() => [t(z, { value: true }, { default: i(() => w[10] || (w[10] = [c("显示", -1)])), _: 1, __: [10] }), t(z, { value: false }, { default: i(() => w[11] || (w[11] = [c("隐藏", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(t(C, { label: "标题", style: { "margin-top": "-10px" } }, { default: i(() => [t(V, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": w[3] || (w[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d, e2.configure.props.base.tittleShow]]), t(C, { label: "标题图标", style: { "margin-top": "-10px" } }, { default: i(() => [t(b, { iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, "onUpdate:modelValue": w[4] || (w[4] = (e3, l3) => function(e4, l4) {
13
+ y2.configure.props.iconType = e4, y2.configure.props.iconValue = l4;
14
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), t(C, { label: "折叠面板" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapse, "onUpdate:modelValue": w[5] || (w[5] = (l3) => e2.configure.props.isCollapse = l3), "inline-prompt": "", "active-icon": m(v), "inactive-icon": m(_) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isCollapse ? (u(), a(C, { key: 0, label: "面板展开" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapseShow, "onUpdate:modelValue": w[6] || (w[6] = (l3) => e2.configure.props.isCollapseShow = l3), disabled: !e2.configure.props.isCollapse, "inline-prompt": "", "active-icon": m(v), "inactive-icon": m(_) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), t(C, { label: "Flex布局" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isFlex, "onUpdate:modelValue": w[7] || (w[7] = (l3) => e2.configure.props.isFlex = l3) }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.isFlex ? (u(), a(C, { key: 1, label: "水平对齐", style: { "margin-bottom": "-10px", "margin-top": "18px" } }, { default: i(() => [t(k, { modelValue: e2.configure.props.flexJustify, "onUpdate:modelValue": w[8] || (w[8] = (l3) => e2.configure.props.flexJustify = l3), placeholder: "默认", clearable: "" }, { default: i(() => [t(T, { label: "start", value: "start" }), t(T, { label: "center", value: "center" }), t(T, { label: "space-between", value: "space-between" }), t(T, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), t(f, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
15
15
  };
16
16
  } });
17
17
  export {
18
- _ as default
18
+ y as default
19
19
  };
@@ -18,7 +18,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
18
18
  q();
19
19
  }), (t2, n2) => {
20
20
  const O3 = a("el-badge");
21
- return s(), l("div", k, [r("div", C, [r("div", D, [r("label", { class: c({ selected: "base" == u(x) }), onClick: n2[0] || (n2[0] = (e3) => o(x) ? x.value = "base" : x = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == u(x) }), onClick: n2[1] || (n2[1] = (e3) => o(x) ? x.value = "style" : x = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == u(x) }), onClick: n2[2] || (n2[2] = (e3) => o(x) ? x.value = "event" : x = "event") }, [n2[4] || (n2[4] = i(" 事件 ")), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), r("label", { class: c({ selected: "advanced" == u(x) }), onClick: n2[3] || (n2[3] = (e3) => o(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), r("div", h, [d(f(m, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), d(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), d(f(y, { configure: e2.configure, events: e2.configure.events }, null, 8, ["configure", "events"]), [[p, "event" == u(x)]]), d(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
21
+ return s(), l("div", k, [r("div", C, [r("div", D, [r("label", { class: c({ selected: "base" == u(x) }), onClick: n2[0] || (n2[0] = (e3) => o(x) ? x.value = "base" : x = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == u(x) }), onClick: n2[1] || (n2[1] = (e3) => o(x) ? x.value = "style" : x = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == u(x) }), onClick: n2[2] || (n2[2] = (e3) => o(x) ? x.value = "event" : x = "event") }, [n2[4] || (n2[4] = i(" 事件 ", -1)), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), r("label", { class: c({ selected: "advanced" == u(x) }), onClick: n2[3] || (n2[3] = (e3) => o(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), r("div", h, [d(f(m, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), d(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), d(f(y, { configure: e2.configure, events: e2.configure.events }, null, 8, ["configure", "events"]), [[p, "event" == u(x)]]), d(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
22
22
  };
23
23
  } });
24
24
  export {
@@ -17,7 +17,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
17
17
  q();
18
18
  }), (l2, t2) => {
19
19
  const O3 = a("el-badge");
20
- return s(), n("div", k, [c("div", C, [c("div", D, [c("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => r(x) ? x.value = "base" : x = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => r(x) ? x.value = "style" : x = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => r(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ")), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), c("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => r(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), c("div", h, [d(f(m, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), d(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), d(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[p, "event" == u(x)]]), d(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
20
+ return s(), n("div", k, [c("div", C, [c("div", D, [c("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => r(x) ? x.value = "base" : x = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => r(x) ? x.value = "style" : x = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => r(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ", -1)), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), c("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => r(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), c("div", h, [d(f(m, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), d(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), d(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[p, "event" == u(x)]]), d(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -4,8 +4,8 @@ import m from "../../common/common-function-code.vue.js";
4
4
  const s = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "container-attr-base", props: { configure: { type: Object, default: {} } }, emits: [], setup(e2, { emit: f2 }) {
5
5
  const c = l(["1", "attrSize"]);
6
6
  return (l2, f3) => {
7
- const g = o("el-text"), V = o("el-form-item"), x = o("el-input"), b = o("el-checkbox"), _ = o("el-collapse-item"), h = o("el-collapse"), y = o("el-form");
8
- return t(), u(y, { "label-width": "80px", size: "small" }, { default: a(() => [i(h, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: a(() => [i(_, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: a(() => [d("div", s, [i(V, { label: "组件类型" }, { default: a(() => [i(g, null, { default: a(() => [r(p(e2.configure.label) + "(" + p(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), i(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.code, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: a(() => [i(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: a(() => [i(b, { modelValue: e2.configure.props.useLeft, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.useLeft = l3), value: "true" }, { default: a(() => f3[7] || (f3[7] = [r("左边宽度")])), _: 1 }, 8, ["modelValue"])]), default: a(() => [i(x, { modelValue: e2.configure.props.leftWidth, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.leftWidth = l3), disabled: !e2.configure.props.useLeft }, { suffix: a(() => f3[8] || (f3[8] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }), i(V, { style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { label: a(() => [i(b, { modelValue: e2.configure.props.useRight, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.useRight = l3), value: "true" }, { default: a(() => f3[9] || (f3[9] = [r("右边宽度")])), _: 1 }, 8, ["modelValue"])]), default: a(() => [i(x, { modelValue: e2.configure.props.rightWidth, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.rightWidth = l3), disabled: !e2.configure.props.useRight }, { suffix: a(() => f3[10] || (f3[10] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), i(n, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
7
+ const g = o("el-text"), V = o("el-form-item"), _ = o("el-input"), x = o("el-checkbox"), b = o("el-collapse-item"), h = o("el-collapse"), y = o("el-form");
8
+ return t(), u(y, { "label-width": "80px", size: "small" }, { default: a(() => [i(h, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: a(() => [i(b, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: a(() => [d("div", s, [i(V, { label: "组件类型" }, { default: a(() => [i(g, null, { default: a(() => [r(p(e2.configure.label) + "(" + p(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), i(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(_, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(_, { modelValue: e2.configure.code, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: a(() => [i(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: a(() => [i(x, { modelValue: e2.configure.props.useLeft, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.useLeft = l3), value: "true" }, { default: a(() => f3[7] || (f3[7] = [r("左边宽度", -1)])), _: 1, __: [7] }, 8, ["modelValue"])]), default: a(() => [i(_, { modelValue: e2.configure.props.leftWidth, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.leftWidth = l3), disabled: !e2.configure.props.useLeft }, { suffix: a(() => f3[8] || (f3[8] = [r(" px ", -1)])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }), i(V, { style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { label: a(() => [i(x, { modelValue: e2.configure.props.useRight, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.useRight = l3), value: "true" }, { default: a(() => f3[9] || (f3[9] = [r("右边宽度", -1)])), _: 1, __: [9] }, 8, ["modelValue"])]), default: a(() => [i(_, { modelValue: e2.configure.props.rightWidth, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.rightWidth = l3), disabled: !e2.configure.props.useRight }, { suffix: a(() => f3[10] || (f3[10] = [r(" px ", -1)])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), i(n, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
@@ -17,7 +17,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
17
17
  q();
18
18
  }), (n2, t2) => {
19
19
  const x3 = a("el-badge");
20
- return s(), l("div", k, [c("div", C, [c("div", h, [c("label", { class: o({ selected: "base" == u(L) }), onClick: t2[0] || (t2[0] = (e3) => r(L) ? L.value = "base" : L = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(L) }), onClick: t2[1] || (t2[1] = (e3) => r(L) ? L.value = "style" : L = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(L) }), onClick: t2[2] || (t2[2] = (e3) => r(L) ? L.value = "event" : L = "event") }, [t2[4] || (t2[4] = i(" 事件 ")), O.value > 0 ? (s(), v(x3, { key: 0, value: O.value }, null, 8, ["value"])) : d("", true)], 2), c("label", { class: o({ selected: "advanced" == u(L) }), onClick: t2[3] || (t2[3] = (e3) => r(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), c("div", _, [f(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), f(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), f(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), f(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
20
+ return s(), l("div", k, [c("div", C, [c("div", h, [c("label", { class: o({ selected: "base" == u(L) }), onClick: t2[0] || (t2[0] = (e3) => r(L) ? L.value = "base" : L = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(L) }), onClick: t2[1] || (t2[1] = (e3) => r(L) ? L.value = "style" : L = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(L) }), onClick: t2[2] || (t2[2] = (e3) => r(L) ? L.value = "event" : L = "event") }, [t2[4] || (t2[4] = i(" 事件 ", -1)), O.value > 0 ? (s(), v(x3, { key: 0, value: O.value }, null, 8, ["value"])) : d("", true)], 2), c("label", { class: o({ selected: "advanced" == u(L) }), onClick: t2[3] || (t2[3] = (e3) => r(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), c("div", _, [f(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), f(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), f(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), f(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -16,7 +16,7 @@ const k = { class: "amb-design-attr-content" }, x = { class: "amb-design-attr-he
16
16
  w();
17
17
  }), (t2, l2) => {
18
18
  const _3 = n("el-badge");
19
- return s(), a("div", k, [c("div", x, [c("div", C, [c("label", { class: o({ selected: "base" == u(O) }), onClick: l2[0] || (l2[0] = (e3) => r(O) ? O.value = "base" : O = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(O) }), onClick: l2[1] || (l2[1] = (e3) => r(O) ? O.value = "style" : O = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(O) }), onClick: l2[2] || (l2[2] = (e3) => r(O) ? O.value = "event" : O = "event") }, [l2[4] || (l2[4] = i(" 事件 ")), q.value > 0 ? (s(), v(_3, { key: 0, value: q.value }, null, 8, ["value"])) : f("", true)], 2), c("label", { class: o({ selected: "advanced" == u(O) }), onClick: l2[3] || (l2[3] = (e3) => r(O) ? O.value = "advanced" : O = "advanced") }, "高级", 2)])]), c("div", h, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(O)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(O)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(O)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(O)]])])]);
19
+ return s(), a("div", k, [c("div", x, [c("div", C, [c("label", { class: o({ selected: "base" == u(O) }), onClick: l2[0] || (l2[0] = (e3) => r(O) ? O.value = "base" : O = "base") }, "属性", 2), c("label", { class: o({ selected: "style" == u(O) }), onClick: l2[1] || (l2[1] = (e3) => r(O) ? O.value = "style" : O = "style") }, "样式", 2), c("label", { class: o({ selected: "event" == u(O) }), onClick: l2[2] || (l2[2] = (e3) => r(O) ? O.value = "event" : O = "event") }, [l2[4] || (l2[4] = i(" 事件 ", -1)), q.value > 0 ? (s(), v(_3, { key: 0, value: q.value }, null, 8, ["value"])) : f("", true)], 2), c("label", { class: o({ selected: "advanced" == u(O) }), onClick: l2[3] || (l2[3] = (e3) => r(O) ? O.value = "advanced" : O = "advanced") }, "高级", 2)])]), c("div", h, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(O)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(O)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(O)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(O)]])])]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -5,7 +5,7 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "form-attr-
5
5
  const s2 = l(["1", "attrSize"]);
6
6
  return (l2, c) => {
7
7
  const g = o("el-text"), _ = o("el-form-item"), V = o("el-input"), b = o("el-radio-button"), x = o("el-radio-group"), v = o("el-collapse-item"), y = o("el-collapse"), h = o("el-form");
8
- return u(), a(h, { "label-width": "80px", size: "small" }, { default: t(() => [r(y, { modelValue: s2.value, "onUpdate:modelValue": c[6] || (c[6] = (e3) => s2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", f, [r(_, { label: "组件类型" }, { default: t(() => [r(g, null, { default: t(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.uuid, "onUpdate:modelValue": c[0] || (c[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.code, "onUpdate:modelValue": c[1] || (c[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: t(() => [r(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": c[2] || (c[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: t(() => [r(b, { value: "left" }, { default: t(() => c[7] || (c[7] = [i("左边")])), _: 1 }), r(b, { value: "right" }, { default: t(() => c[8] || (c[8] = [i("右边")])), _: 1 }), r(b, { value: "top" }, { default: t(() => c[9] || (c[9] = [i("顶部")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": c[3] || (c[3] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: t(() => c[10] || (c[10] = [i(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": c[4] || (c[4] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": c[5] || (c[5] = (l3) => e2.configure.props.componentSize = l3) }, { default: t(() => [r(b, { value: "large" }, { default: t(() => c[11] || (c[11] = [i("大")])), _: 1 }), r(b, { value: "default" }, { default: t(() => c[12] || (c[12] = [i("适中")])), _: 1 }), r(b, { value: "small" }, { default: t(() => c[13] || (c[13] = [i("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(p, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
+ return u(), a(h, { "label-width": "80px", size: "small" }, { default: t(() => [r(y, { modelValue: s2.value, "onUpdate:modelValue": c[6] || (c[6] = (e3) => s2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", f, [r(_, { label: "组件类型" }, { default: t(() => [r(g, null, { default: t(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.uuid, "onUpdate:modelValue": c[0] || (c[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.code, "onUpdate:modelValue": c[1] || (c[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: t(() => [r(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": c[2] || (c[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: t(() => [r(b, { value: "left" }, { default: t(() => c[7] || (c[7] = [i("左边", -1)])), _: 1, __: [7] }), r(b, { value: "right" }, { default: t(() => c[8] || (c[8] = [i("右边", -1)])), _: 1, __: [8] }), r(b, { value: "top" }, { default: t(() => c[9] || (c[9] = [i("顶部", -1)])), _: 1, __: [9] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": c[3] || (c[3] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: t(() => c[10] || (c[10] = [i(" px ", -1)])), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": c[4] || (c[4] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": c[5] || (c[5] = (l3) => e2.configure.props.componentSize = l3) }, { default: t(() => [r(b, { value: "large" }, { default: t(() => c[11] || (c[11] = [i("大", -1)])), _: 1, __: [11] }), r(b, { value: "default" }, { default: t(() => c[12] || (c[12] = [i("适中", -1)])), _: 1, __: [12] }), r(b, { value: "small" }, { default: t(() => c[13] || (c[13] = [i("小", -1)])), _: 1, __: [13] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(p, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
@@ -16,7 +16,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
16
16
  w();
17
17
  }), (t2, n2) => {
18
18
  const q3 = l("el-badge");
19
- return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ")), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
19
+ return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ", -1)), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -4,9 +4,9 @@ import s from "../../common/common-attr-size.vue.js";
4
4
  import f from "../../common/common-function-code.vue.js";
5
5
  const c = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "iframe-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
6
6
  const b2 = l(["1", "2", "attrSize"]);
7
- return (l2, x) => {
8
- const V = o("el-text"), _ = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
9
- return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
7
+ return (l2, _) => {
8
+ const x = o("el-text"), V = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
9
+ return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": _[5] || (_[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(V, { label: "组件类型" }, { default: t(() => [d(x, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _[0] || (_[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": _[1] || (_[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(V, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": _[4] || (_[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(V, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => _[6] || (_[6] = [r("地址", -1)])), _: 1, __: [6] })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": _[2] || (_[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(V, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => _[7] || (_[7] = [r("页面", -1)])), _: 1, __: [7] })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": _[3] || (_[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
10
10
  };
11
11
  } });
12
12
  export {
@@ -17,7 +17,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
17
17
  O();
18
18
  }), (n2, t2) => {
19
19
  const q3 = l("el-badge");
20
- return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ")), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
20
+ return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ", -1)), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as t, withCtx as i, createVNode as n, createElementVNode as u, createTextVNode as r, toDisplayString as d, createCommentVNode as c, unref as p, createElementBlock as m, Fragment as f, renderList as s } from "vue";
2
- import { Top as g, Bottom as b, Plus as V, Delete as x, Close as v, Check as _ } from "@element-plus/icons-vue";
2
+ import { Top as g, Bottom as b, Plus as V, Delete as _, Close as x, Check as v } from "@element-plus/icons-vue";
3
3
  import y from "../../common/common-attr-size.vue.js";
4
4
  import h from "../../common/common-function-code.vue.js";
5
5
  import w from "../../common/common-icon-bind.vue.js";
@@ -50,7 +50,7 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
50
50
  break;
51
51
  }
52
52
  l4 > -1 && T2.configure.items.splice(l4, 1);
53
- }(e3.row) }, { default: i(() => [n(p(x))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(N, { label: "默认打开", style: { "margin-top": "10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": B[2] || (B[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(t(true), m(f, null, s(e2.configure.items, (e3) => (t(), a(S, { label: e3.label, value: e3.code || e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": B[3] || (B[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: i(() => [n(G, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": B[4] || (B[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: i(() => [n(E, { value: "top" }, { default: i(() => B[11] || (B[11] = [r("上")])), _: 1 }), n(E, { value: "right" }, { default: i(() => B[12] || (B[12] = [r("右")])), _: 1 }), n(E, { value: "bottom" }, { default: i(() => B[13] || (B[13] = [r("下")])), _: 1 }), n(E, { value: "left" }, { default: i(() => B[14] || (B[14] = [r("左")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": B[5] || (B[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": B[6] || (B[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "页签可重置", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.resetable, "onUpdate:modelValue": B[7] || (B[7] = (l3) => e2.configure.props.resetable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v), onChange: O }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.resetable ? (t(), a(N, { key: 0, label: "", style: { "margin-top": "-10px" } }, { default: i(() => [n(P, { modelValue: e2.configure.props.resetButtonName, "onUpdate:modelValue": B[8] || (B[8] = (l3) => e2.configure.props.resetButtonName = l3), placeholder: "重置按钮名称" }, null, 8, ["modelValue"])]), _: 1 })) : c("", true), n(N, { label: "页签可关闭", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.closable, "onUpdate:modelValue": B[9] || (B[9] = (l3) => e2.configure.props.closable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 })], 512)]), _: 1 }), n(y, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
53
+ }(e3.row) }, { default: i(() => [n(p(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(N, { label: "默认打开", style: { "margin-top": "10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": B[2] || (B[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(t(true), m(f, null, s(e2.configure.items, (e3) => (t(), a(S, { label: e3.label, value: e3.code || e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": B[3] || (B[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: i(() => [n(G, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": B[4] || (B[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: i(() => [n(E, { value: "top" }, { default: i(() => B[11] || (B[11] = [r("上", -1)])), _: 1, __: [11] }), n(E, { value: "right" }, { default: i(() => B[12] || (B[12] = [r("右", -1)])), _: 1, __: [12] }), n(E, { value: "bottom" }, { default: i(() => B[13] || (B[13] = [r("下", -1)])), _: 1, __: [13] }), n(E, { value: "left" }, { default: i(() => B[14] || (B[14] = [r("左", -1)])), _: 1, __: [14] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": B[5] || (B[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": B[6] || (B[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "页签可重置", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.resetable, "onUpdate:modelValue": B[7] || (B[7] = (l3) => e2.configure.props.resetable = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x), onChange: O }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.resetable ? (t(), a(N, { key: 0, label: "", style: { "margin-top": "-10px" } }, { default: i(() => [n(P, { modelValue: e2.configure.props.resetButtonName, "onUpdate:modelValue": B[8] || (B[8] = (l3) => e2.configure.props.resetButtonName = l3), placeholder: "重置按钮名称" }, null, 8, ["modelValue"])]), _: 1 })) : c("", true), n(N, { label: "页签可关闭", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.closable, "onUpdate:modelValue": B[9] || (B[9] = (l3) => e2.configure.props.closable = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 })], 512)]), _: 1 }), n(y, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
54
54
  };
55
55
  } });
56
56
  export {
@@ -18,7 +18,7 @@ const C = { class: "amb-design-attr-content" }, k = { class: "amb-design-attr-he
18
18
  E();
19
19
  }), (t2, n2) => {
20
20
  const O3 = s("el-badge");
21
- return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ")), x.value > 0 ? (l(), g(O3, { key: 0, value: x.value }, null, 8, ["value"])) : d("", true)], 2), r("label", { class: c({ selected: "advanced" == o(q) }), onClick: n2[3] || (n2[3] = (e3) => i(q) ? q.value = "advanced" : q = "advanced") }, "高级", 2)])]), r("div", h, [v(f(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[b, "base" == o(q)]]), v(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[b, "style" == o(q)]]), v(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, "event" == o(q)]]), v(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[b, "advanced" == o(q)]])])]);
21
+ return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ", -1)), x.value > 0 ? (l(), g(O3, { key: 0, value: x.value }, null, 8, ["value"])) : d("", true)], 2), r("label", { class: c({ selected: "advanced" == o(q) }), onClick: n2[3] || (n2[3] = (e3) => i(q) ? q.value = "advanced" : q = "advanced") }, "高级", 2)])]), r("div", h, [v(f(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[b, "base" == o(q)]]), v(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[b, "style" == o(q)]]), v(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, "event" == o(q)]]), v(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[b, "advanced" == o(q)]])])]);
22
22
  };
23
23
  } });
24
24
  export {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as o, createBlock as i, openBlock as a, withCtx as u, createVNode as t, createElementVNode as d, createCommentVNode as n, createTextVNode as p, toDisplayString as r, unref as f } from "vue";
2
2
  import s from "../../common/common-attr-size.vue.js";
3
3
  import { Close as c, Check as m } from "@element-plus/icons-vue";
4
- const g = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
- const x2 = l(["1", "attrSize"]);
6
- return (l2, V) => {
7
- const b = o("el-text"), _ = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
- return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => V[9] || (V[9] = [p("居左")])), _: 1 }), t(y, { value: "center" }, { default: u(() => V[10] || (V[10] = [p("居中")])), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => V[11] || (V[11] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => V[12] || (V[12] = [p("默认")])), _: 1 }), t(y, { value: "top" }, { default: u(() => V[13] || (V[13] = [p("顶部")])), _: 1 }), t(y, { value: "bottom" }, { default: u(() => V[14] || (V[14] = [p("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
4
+ const g = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
+ const _2 = l(["1", "attrSize"]);
6
+ return (l2, x) => {
7
+ const V = o("el-text"), b = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
+ return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: _2.value, "onUpdate:modelValue": x[8] || (x[8] = (e3) => _2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(b, { label: "组件类型" }, { default: u(() => [t(V, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(b, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(b, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(b, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => x[9] || (x[9] = [p("居左", -1)])), _: 1, __: [9] }), t(y, { value: "center" }, { default: u(() => x[10] || (x[10] = [p("居中", -1)])), _: 1, __: [10] }), t(y, { value: "flex-end" }, { default: u(() => x[11] || (x[11] = [p("居右", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(b, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(b, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(b, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": x[5] || (x[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(b, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": x[6] || (x[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => x[12] || (x[12] = [p("默认", -1)])), _: 1, __: [12] }), t(y, { value: "top" }, { default: u(() => x[13] || (x[13] = [p("顶部", -1)])), _: 1, __: [13] }), t(y, { value: "bottom" }, { default: u(() => x[14] || (x[14] = [p("底部", -1)])), _: 1, __: [14] })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(b, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": x[7] || (x[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
12
- x as default
12
+ _ as default
13
13
  };
@@ -19,7 +19,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
19
19
  w();
20
20
  }), (l2, u2) => {
21
21
  const j3 = t("el-badge");
22
- return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ")), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
22
+ return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ", -1)), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
23
23
  };
24
24
  } });
25
25
  export {
@@ -3,8 +3,8 @@ import { getFormComponentOptions as f } from "../../../../utils/assemblys-config
3
3
  import g from "../../common/common-attr-size.vue.js";
4
4
  import "@element-plus/icons-vue";
5
5
  import v from "../../common/common-variable-bind.vue.js";
6
- import V from "agilebuilder-ui/src/utils/request";
7
- const _ = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
6
+ import _ from "agilebuilder-ui/src/utils/request";
7
+ const V = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
8
8
  const y2 = e2, C = l([]);
9
9
  l([]);
10
10
  const E = l([]);
@@ -18,12 +18,12 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-at
18
18
  y2.configure.props.base.generateRule = "";
19
19
  }
20
20
  return a(() => {
21
- V.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-model/select-options").then((e3) => {
21
+ _.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-model/select-options").then((e3) => {
22
22
  E.value = e3;
23
23
  });
24
24
  }), (l2, a2) => {
25
- const V2 = o("el-option"), y3 = o("el-select"), h = o("el-form-item"), O = o("el-input"), x = o("el-radio"), D = o("el-radio-group"), M = o("el-collapse-item"), S = o("el-collapse"), R = o("el-form");
26
- return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", _, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { 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(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => a2[10] || (a2[10] = [c("条形码")])), _: 1 }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(V2, { label: "默认", value: "CODE128" }), s(V2, { label: "CODE128A", value: "CODE128A" }), s(V2, { label: "CODE128B", value: "CODE128B" }), s(V2, { label: "CODE128C", value: "CODE128C" }), s(V2, { label: "CODE39", value: "CODE39" }), s(V2, { label: "EAN-13", value: "EAN-13" }), s(V2, { label: "EAN-8", value: "EAN-8" }), s(V2, { label: "EAN-5", value: "EAN-5" }), s(V2, { label: "EAN-2", value: "EAN-2" }), s(V2, { label: "UPC(A)", value: "UPC(A)" }), s(V2, { label: "ITF", value: "ITF" }), s(V2, { label: "ITF-14", value: "ITF-14" }), s(V2, { label: "MSI", value: "MSI" }), s(V2, { label: "MSI10", value: "MSI10" }), s(V2, { label: "MSI11", value: "MSI11" }), s(V2, { label: "MSI1010", value: "MSI1010" }), s(V2, { label: "MSI1110", value: "MSI1110" }), s(V2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => a2[12] || (a2[12] = [c("固定")])), _: 1 }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(V2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => a2[14] || (a2[14] = [c("普通")])), _: 1 }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
25
+ const _2 = o("el-option"), y3 = o("el-select"), h = o("el-form-item"), O = o("el-input"), x = o("el-radio"), D = o("el-radio-group"), M = o("el-collapse-item"), S = o("el-collapse"), R = o("el-form");
26
+ return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", V, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { 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(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => a2[10] || (a2[10] = [c("条形码", -1)])), _: 1, __: [10] }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(_2, { label: "默认", value: "CODE128" }), s(_2, { label: "CODE128A", value: "CODE128A" }), s(_2, { label: "CODE128B", value: "CODE128B" }), s(_2, { label: "CODE128C", value: "CODE128C" }), s(_2, { label: "CODE39", value: "CODE39" }), s(_2, { label: "EAN-13", value: "EAN-13" }), s(_2, { label: "EAN-8", value: "EAN-8" }), s(_2, { label: "EAN-5", value: "EAN-5" }), s(_2, { label: "EAN-2", value: "EAN-2" }), s(_2, { label: "UPC(A)", value: "UPC(A)" }), s(_2, { label: "ITF", value: "ITF" }), s(_2, { label: "ITF-14", value: "ITF-14" }), s(_2, { label: "MSI", value: "MSI" }), s(_2, { label: "MSI10", value: "MSI10" }), s(_2, { label: "MSI11", value: "MSI11" }), s(_2, { label: "MSI1010", value: "MSI1010" }), s(_2, { label: "MSI1110", value: "MSI1110" }), s(_2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => a2[12] || (a2[12] = [c("固定", -1)])), _: 1, __: [12] }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则", -1)])), _: 1, __: [13] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => a2[14] || (a2[14] = [c("普通", -1)])), _: 1, __: [14] }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏", -1)])), _: 1, __: [15] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
27
27
  };
28
28
  } });
29
29
  export {