super-page-designer 2.3.18-design1 → 2.3.18-tmp1-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.
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +29 -29
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +15 -15
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +11 -11
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +16 -18
- package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
- package/dist/es/style.css +7 -4
- package/package.json +3 -3
|
@@ -12,7 +12,7 @@ const v = { style: { "margin-top": "5px" } }, y = e({ __name: "common-attr-event
|
|
|
12
12
|
alert("edit logicName:{{eventItem.selLogicCode}}");
|
|
13
13
|
}) }, { default: a(() => [d(u(f))]), _: 1 })) : p("", true), d(b2, { style: { cursor: "pointer" }, title: "选择逻辑", onClick: (e4) => function(e5) {
|
|
14
14
|
alert("eventIndex:" + e5);
|
|
15
|
-
}(t3) }, { default: a(() => [d(u(g))]), _:
|
|
15
|
+
}(t3) }, { default: a(() => [d(u(g))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 256))]);
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
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
|
|
7
|
-
const
|
|
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
|
|
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",
|
|
13
|
-
|
|
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(
|
|
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
|
-
|
|
18
|
+
y as default
|
|
19
19
|
};
|
|
@@ -51,9 +51,9 @@ const T = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
51
51
|
let i2 = V.configure.items;
|
|
52
52
|
_(i2, e3, e3.items && e3.items.length > 0, true);
|
|
53
53
|
}
|
|
54
|
-
return (
|
|
55
|
-
const
|
|
56
|
-
return l(), s(r(h), { class: c(["amb-design-item-default yx-card-box-view-main", z.value]), style: u(J.value) }, a({ default: g(() => [p("div", { ref_key: "ambDragParent", ref: E, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, B.value]) }, [(l(true), f(m, null, d(
|
|
54
|
+
return (e3, i2) => {
|
|
55
|
+
const n2 = o("SuperIcon"), t2 = o("el-link");
|
|
56
|
+
return l(), s(r(h), { class: c(["amb-design-item-default yx-card-box-view-main", z.value]), style: u(J.value) }, a({ default: g(() => [p("div", { ref_key: "ambDragParent", ref: E, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, B.value]) }, [(l(true), f(m, null, d(e3.configure.items, (i3, n3) => (l(), s(W, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: K, onOnCustomAttrWidget: L, onOnCopy: M, onOnDelete: N }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: g(() => [p("div", { class: "yx-card-box-view-title", style: u(I.value) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (l(), s(n2, { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + b(e3.configure.props.base.title), 1)], 4), A.value ? (l(), s(t2, { key: 0, underline: false, icon: F.value ? r(O) : r(C), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : y("", true)]), key: "0" } : void 0]), 1032, ["style", "class"]);
|
|
57
57
|
};
|
|
58
58
|
} });
|
|
59
59
|
export {
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js
CHANGED
|
@@ -21,7 +21,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, v = { style: { padding: "8p
|
|
|
21
21
|
if (l4 < 1) return;
|
|
22
22
|
const t2 = C.configure.items;
|
|
23
23
|
[t2[l4 - 1], t2[l4]] = [t2[l4], t2[l4 - 1]];
|
|
24
|
-
}(e3.row) }, { default: n(() => [a(c(f))]), _:
|
|
24
|
+
}(e3.row) }, { default: n(() => [a(c(f))]), _: 2 }, 1032, ["onClick"]), a(D, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
25
25
|
let l4 = -1;
|
|
26
26
|
const o2 = C.configure.items.length;
|
|
27
27
|
for (let t3 = 0; t3 < o2; t3++) if (C.configure.items[t3].index == e4.index) {
|
|
@@ -31,14 +31,14 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, v = { style: { padding: "8p
|
|
|
31
31
|
if (-1 == l4 || C.configure.items.length == l4 + 1) return;
|
|
32
32
|
const t2 = C.configure.items;
|
|
33
33
|
[t2[l4], t2[l4 + 1]] = [t2[l4 + 1], t2[l4]];
|
|
34
|
-
}(e3.row) }, { default: n(() => [a(c(g))]), _:
|
|
34
|
+
}(e3.row) }, { default: n(() => [a(c(g))]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), a(H, { prop: "label", label: "标题", width: "110" }, { default: n((e3) => [a(h, { modelValue: e3.row.label, "onUpdate:modelValue": (l3) => e3.row.label = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), a(H, { label: "图标", width: "70" }, { default: n((e3) => [a(_, { iconType: e3.row.iconType, iconValue: e3.row.iconValue, "onUpdate:modelValue": (l3, o2) => function(e4, l4, o3) {
|
|
35
35
|
e4.iconType = l4, e4.iconValue = o3;
|
|
36
36
|
}(e3.row, l3, o2) }, null, 8, ["iconType", "iconValue", "onUpdate:modelValue"])]), _: 1 }), a(H, { label: "操作", width: "90" }, { default: n((e3) => [a(D, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => function(e4) {
|
|
37
37
|
let l4 = -1, o2 = -1;
|
|
38
38
|
C.configure.items.find((t2, i2) => {
|
|
39
39
|
t2.index == e4.index && (o2 = i2), t2.index > l4 && (l4 = t2.index);
|
|
40
40
|
}), o2 > -1 && C.configure.items.splice(o2 + 1, 0, { label: "Panel", index: l4 + 1, items: [] });
|
|
41
|
-
}(e3.row) }, { default: n(() => [a(c(x))]), _:
|
|
41
|
+
}(e3.row) }, { default: n(() => [a(c(x))]), _: 2 }, 1032, ["onClick"]), a(D, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
42
42
|
if (1 == C.configure.items.length) return void alert("必须保留一个Panel!");
|
|
43
43
|
if (!confirm("确定要删除吗?")) return;
|
|
44
44
|
let l4 = -1;
|
|
@@ -47,7 +47,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, v = { style: { padding: "8p
|
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
l4 > -1 && C.configure.items.splice(l4, 1);
|
|
50
|
-
}(e3.row) }, { default: n(() => [a(c(b))]), _:
|
|
50
|
+
}(e3.row) }, { default: n(() => [a(c(b))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), a(T, { label: "手风琴", style: { "margin-top": "10px" } }, { default: n(() => [a(q, { modelValue: e2.configure.props.accordion, "onUpdate:modelValue": z3[2] || (z3[2] = (l3) => e2.configure.props.accordion = l3) }, null, 8, ["modelValue"])]), _: 1 }), a(T, { label: "默认打开", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: n(() => [a(B, { modelValue: e2.configure.props.defaultOpens, "onUpdate:modelValue": z3[3] || (z3[3] = (l3) => e2.configure.props.defaultOpens = l3), placeholder: "默认", multiple: "true", "collapse-tags": "true", clearable: "" }, { default: n(() => [(i(true), m(p, null, s(e2.configure.items, (e3) => (i(), t(A, { label: e3.label, value: e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 512)]), _: 1 }), a(V, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js
CHANGED
|
@@ -47,12 +47,12 @@ const C = e({ __name: "collapse-design", props: { pageDesign: {}, configure: {},
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
return (
|
|
51
|
-
const
|
|
52
|
-
return s(), o(
|
|
53
|
-
let
|
|
54
|
-
k(
|
|
55
|
-
}(t3,
|
|
50
|
+
return (e3, t2) => {
|
|
51
|
+
const i2 = n("el-collapse-item"), l2 = n("el-collapse");
|
|
52
|
+
return s(), o(l2, { modelValue: T.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => T.value = e4), style: a(A.value), class: u([U.value, "amb-design-item-default"]) }, { default: m(() => [(s(true), r(c, null, g(e3.configure.items, (t3, l3) => (s(), o(i2, { name: t3.index }, { title: m(() => [p("div", { style: a([E.value, { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (s(), o(f(V), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : b("", true), y(" " + v(t3.label), 1)], 4)]), default: m(() => [d(f(x), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, animation: 300, "ghost-class": "amb-item-ghost", "fallback-class": true, filter: ".el-scrollbar__bar", preventOnFilter: false }, { default: m(() => [(s(true), r(c, null, g(t3.items, (i3, l4) => (s(), o(O, { key: i3.uuid, configure: i3, pageDesign: e3.pageDesign, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: q, onOnCustomAttrWidget: z, onOnCopy: B, onOnDelete: (e4) => function(e5, t4) {
|
|
53
|
+
let i4 = e5.items;
|
|
54
|
+
k(i4, t4, t4.items && t4.items.length > 0, true);
|
|
55
|
+
}(t3, e4) }, null, 8, ["configure", "pageDesign", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "class"]);
|
|
56
56
|
};
|
|
57
57
|
} });
|
|
58
58
|
export {
|
package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js
CHANGED
|
@@ -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"),
|
|
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(
|
|
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 {
|
package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js
CHANGED
|
@@ -64,9 +64,9 @@ const j = e({ __name: "container-design", props: { pageDesign: {}, configure: {}
|
|
|
64
64
|
let i2 = D.configure.items;
|
|
65
65
|
"left" == t2 ? i2 = D.configure.leftAslides : "right" == t2 ? i2 = D.configure.rightAslides : "header" == t2 && (i2 = D.configure.headers), v(i2, e3, e3.items && e3.items.length > 0, true);
|
|
66
66
|
}
|
|
67
|
-
return (
|
|
68
|
-
const
|
|
69
|
-
return s(), o(
|
|
67
|
+
return (e3, t2) => {
|
|
68
|
+
const i2 = l("el-container");
|
|
69
|
+
return s(), o(i2, { style: { padding: "0px" } }, { default: g(() => [e3.configure.props.useLeft ? (s(), o(a(b), { key: 0, tag: "aside", class: "el-aside amb-design-item-default", style: c([{ "padding-bottom": "40px" }, k.value]), group: { name: "amb-assembly-item", put: true }, "force-fallback": true, modelValue: e3.configure.leftAslides, "onUpdate:modelValue": t2[0] || (t2[0] = (t3) => e3.configure.leftAslides = t3), sort: true, animation: 300, "ghost-class": "amb-item-ghost", "fallback-class": true }, { default: g(() => [(s(true), d(f, null, m(e3.configure.leftAslides, (t3, i3) => (s(), o(O, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: q, onOnCopy: z, onOnDelete: H }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["style", "modelValue"])) : u("", true), r(a(b), { tag: "main", class: p(["el-main amb-design-item-default", U.value]), style: c([{ padding: "0px", "padding-bottom": "40px" }, _.value]), group: { name: "amb-assembly-item", put: true }, "force-fallback": true, modelValue: e3.configure.items, "onUpdate:modelValue": t2[1] || (t2[1] = (t3) => e3.configure.items = t3), sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", "fallback-class": true, onUpdate: void 0 }, { default: g(() => [(s(true), d(f, null, m(e3.configure.items, (t3, i3) => (s(), o(O, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: q, onOnCopy: E, onOnDelete: J }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["modelValue", "style", "class", "onUpdate"]), e3.configure.props.useRight ? (s(), o(a(b), { key: 1, tag: "aside", class: "el-aside amb-design-item-default", style: c([{ "padding-bottom": "40px" }, V.value]), group: { name: "amb-assembly-item", put: true }, "force-fallback": true, modelValue: e3.configure.rightAslides, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e3.configure.rightAslides = t3), sort: true, animation: 300, "ghost-class": "amb-item-ghost", "fallback-class": true }, { default: g(() => [(s(true), d(f, null, m(e3.configure.rightAslides, (t3, i3) => (s(), o(O, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: q, onOnCopy: B, onOnDelete: I }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["style", "modelValue"])) : u("", true)]), _: 1 });
|
|
70
70
|
};
|
|
71
71
|
} });
|
|
72
72
|
export {
|
|
@@ -53,9 +53,9 @@ const O = e({ __name: "flex-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
53
53
|
let t2 = W.configure.items;
|
|
54
54
|
j(t2, e3, e3.items && e3.items.length > 0, true);
|
|
55
55
|
}
|
|
56
|
-
return (
|
|
57
|
-
const
|
|
58
|
-
return s(), l(
|
|
56
|
+
return (e3, t2) => {
|
|
57
|
+
const i2 = o("el-row");
|
|
58
|
+
return s(), l(i2, { title: "flex", ref_key: "ambDragParent", ref: k, style: r([{ "min-height": "40px", "padding-bottom": "20px" }, h.value]), justify: _.value.flexJustify, align: _.value.alignItems, class: u([D.value, "amb-design-item-default"]) }, { default: g(() => [(s(true), f(c, null, a(e3.configure.items, (t3, i3) => (s(), l(d, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: G, onOnCopy: S, onOnDelete: w }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["justify", "align", "style", "class"]);
|
|
59
59
|
};
|
|
60
60
|
} });
|
|
61
61
|
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(() =>
|
|
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 {
|
|
@@ -61,9 +61,9 @@ const D = { class: "amb-design-item-default" }, S = e({ __name: "form-design", p
|
|
|
61
61
|
const t2 = _.configure.items;
|
|
62
62
|
x(t2, e3, e3.items && e3.items.length > 0, true);
|
|
63
63
|
}
|
|
64
|
-
return (
|
|
65
|
-
const
|
|
66
|
-
return s(), l("div", D, [r(
|
|
64
|
+
return (e3, t2) => {
|
|
65
|
+
const i2 = o("el-form");
|
|
66
|
+
return s(), l("div", D, [r(i2, { ref_key: "ambDragParent", ref: P, "label-width": k.value.labelWidth, "label-position": k.value.labelPosition, size: k.value.componentSize, style: c([z.value, { "padding-bottom": "40px" }]), class: u(A.value) }, { default: g(() => [k.value.formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: c(F.value) }, f(k.value.formTitle), 5)) : a("", true), (s(true), l(m, null, p(e3.configure.items, (t3, i3) => (s(), d(y, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: E, onOnCustomAttrWidget: G, onOnCopy: H, onOnDelete: I }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
|
|
67
67
|
};
|
|
68
68
|
} });
|
|
69
69
|
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,
|
|
8
|
-
const
|
|
9
|
-
return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue":
|
|
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 {
|
|
@@ -9,7 +9,7 @@ const c = { class: "amb-design-item-default" }, o = ["src"], m = e({ __name: "if
|
|
|
9
9
|
}
|
|
10
10
|
return p(), n(f.configure.style, () => {
|
|
11
11
|
p();
|
|
12
|
-
}), (
|
|
12
|
+
}), (e3, i2) => (r(), t("div", c, [s("iframe", { src: e3.configure.props.src, class: u(["amb-widget-container-iframe", d.value]), style: a(g.value) }, null, 14, o), i2[0] || (i2[0] = s("div", { class: "amb-widget-container-iframe-mask" }, [s("label", { style: { "margin-left": "10px" } }, "iframe")], -1))]));
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
15
|
m as default
|
|
@@ -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
|
|
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";
|
|
@@ -24,7 +24,7 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
24
24
|
if (l4 < 1) return;
|
|
25
25
|
const a2 = T2.configure.items;
|
|
26
26
|
[a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
|
|
27
|
-
}(e3.row) }, { default: i(() => [n(p(g))]), _:
|
|
27
|
+
}(e3.row) }, { default: i(() => [n(p(g))]), _: 2 }, 1032, ["onClick"]), n(q, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
28
28
|
let l4 = -1;
|
|
29
29
|
const o2 = T2.configure.items.length;
|
|
30
30
|
for (let a3 = 0; a3 < o2; a3++) if (T2.configure.items[a3].index == e4.index) {
|
|
@@ -34,14 +34,14 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
34
34
|
if (-1 == l4 || T2.configure.items.length == l4 + 1) return;
|
|
35
35
|
const a2 = T2.configure.items;
|
|
36
36
|
[a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]];
|
|
37
|
-
}(e3.row) }, { default: i(() => [n(p(b))]), _:
|
|
37
|
+
}(e3.row) }, { default: i(() => [n(p(b))]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(D, { prop: "label", label: "标题", width: "110" }, { default: i((e3) => [n(U, { modelValue: e3.row.label, "onUpdate:modelValue": (l3) => e3.row.label = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "图标", width: "70" }, { default: i((e3) => [n(w, { iconType: e3.row.iconType, iconValue: e3.row.iconValue, "onUpdate:modelValue": (l3, o2) => function(e4, l4, o3) {
|
|
38
38
|
e4.iconType = l4, e4.iconValue = o3;
|
|
39
39
|
}(e3.row, l3, o2) }, null, 8, ["iconType", "iconValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "编码", width: "70" }, { default: i((e3) => [n(P, { modelValue: e3.row.code, "onUpdate:modelValue": (l3) => e3.row.code = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "操作", width: "90" }, { default: i((e3) => [n(q, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => function(e4) {
|
|
40
40
|
let l4 = -1, o2 = -1;
|
|
41
41
|
T2.configure.items.find((a2, t2) => {
|
|
42
42
|
a2.index == e4.index && (o2 = t2), a2.index > l4 && (l4 = a2.index);
|
|
43
43
|
}), o2 > -1 && T2.configure.items.splice(o2 + 1, 0, { label: "Tab" + (l4 + 1), index: l4 + 1, items: [] });
|
|
44
|
-
}(e3.row) }, { default: i(() => [n(p(V))]), _:
|
|
44
|
+
}(e3.row) }, { default: i(() => [n(p(V))]), _: 2 }, 1032, ["onClick"]), n(q, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
45
45
|
if (1 == T2.configure.items.length) return void alert("必须保留一个Tab!");
|
|
46
46
|
if (!confirm("确定要删除吗?")) return;
|
|
47
47
|
let l4 = -1;
|
|
@@ -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(
|
|
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 {
|
|
@@ -38,13 +38,13 @@ const S = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
return (
|
|
42
|
-
const
|
|
43
|
-
return o(), l(s(O), { modelValue: A.value, "onUpdate:modelValue":
|
|
44
|
-
const i5 =
|
|
41
|
+
return (e3, t2) => {
|
|
42
|
+
const i2 = n("el-button");
|
|
43
|
+
return o(), l(s(O), { modelValue: A.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => A.value = e4), type: e3.configure.props.cardType, editable: e3.configure.props.editable, closable: e3.configure.props.closable, "tab-position": e3.configure.props.tabPosition, class: u(["amb-design-item-default runtime-page-container-tabs-view", w.value]), style: a(U.value) }, { "add-icon": r(() => t2[2] || (t2[2] = [])), default: r(() => [(o(true), c(g, null, d(e3.configure.items, (t3, i3) => (o(), l(s(V), { key: i3, label: t3.label, name: "design-tab-pane-" + t3.index, lazy: !!e3.configure.props.lazy }, { label: r(() => [t3.iconType && t3.iconValue ? (o(), l(s(W), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : m("", true), f("span", { style: a(B.value) }, b(t3.label), 5)]), default: r(() => [p(s(j), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: r(() => [(o(true), c(g, null, d(t3.items, (i4, n2) => (o(), l(_, { key: i4, pageDesign: e3.pageDesign, configure: i4, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: P, onOnCustomAttrWidget: q, onOnCopy: E, onOnDelete: (e4) => function(e5, t4) {
|
|
44
|
+
const i5 = e5.items;
|
|
45
45
|
C(i5, t4, t4.items && t4.items.length > 0, true);
|
|
46
|
-
}(t3,
|
|
47
|
-
}, ["stop"])) }, { default: r(() => [v(b(
|
|
46
|
+
}(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e3.configure.props.resetable ? (o(), l(s(V), { key: 0, disabled: "", name: "-1" }, { label: r(() => [p(i2, { type: "text", circle: "", onClick: t2[0] || (t2[0] = y(() => {
|
|
47
|
+
}, ["stop"])) }, { default: r(() => [v(b(e3.configure.props.resetButtonName || "重置"), 1)]), _: 1 })]), _: 1 })) : m("", true)]), _: 1 }, 8, ["modelValue", "type", "editable", "closable", "tab-position", "style", "class"]);
|
|
48
48
|
};
|
|
49
49
|
} });
|
|
50
50
|
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" } },
|
|
5
|
-
const
|
|
6
|
-
return (l2,
|
|
7
|
-
const
|
|
8
|
-
return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue:
|
|
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
|
-
|
|
12
|
+
_ as default
|
|
13
13
|
};
|
|
@@ -69,7 +69,7 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
|
|
|
69
69
|
let t2 = C.configure.items;
|
|
70
70
|
x(t2, e3, e3.items && e3.items.length > 0, true);
|
|
71
71
|
}
|
|
72
|
-
return (
|
|
72
|
+
return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(A.value), ref_key: "thisRef", ref: _ }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(v, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
75
75
|
D as default
|
|
@@ -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
|
|
7
|
-
const
|
|
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
|
-
|
|
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
|
|
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",
|
|
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 {
|