super-page-designer 2.1.25 → 2.1.26
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/utils/assemblys-config.js +3 -0
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +4 -0
- package/dist/es/components/design/utils/page-i18n-util.d.ts +6 -0
- package/dist/es/components/design/utils/page-i18n-util.js +29 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +15 -14
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +28 -3
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +8 -1
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +84 -0
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +10 -2
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +12 -7
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +13 -5
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +19 -8
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +15 -9
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +3 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +3 -16
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +23 -13
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +32 -38
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +19 -11
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +113 -42
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +16 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +16 -18
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -15
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +16 -17
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +20 -21
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +2 -2
- package/dist/es/components/design/views/design/page-design.vue.js +13 -2
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/attr-container.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/attr-container.vue.js +4 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +249 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +7 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +488 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue3.js +1 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.d.ts +23 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +100 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.d.ts +17 -9
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +6 -4
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +40 -14
- package/dist/es/components/design/views/design/view/view-design.vue.d.ts +2 -1
- package/dist/es/components/design/views/design/view/view-design.vue.js +4 -2
- package/dist/es/stores/page-store.d.ts +8 -2
- package/dist/es/stores/page-store.js +7 -1
- package/dist/es/style.css +97 -93
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue.js +0 -45
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue2.js +0 -4
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
|
3
3
|
import _sfc_main$4 from "../../common/common-icon-bind.vue.js";
|
|
4
4
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
5
5
|
import _sfc_main$3 from "./print-template-select.vue.js";
|
|
6
|
-
import _sfc_main$2 from "../../common/common-
|
|
6
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
7
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
8
8
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
9
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
default: withCtx(() => [
|
|
49
49
|
createVNode(_component_el_collapse, {
|
|
50
50
|
modelValue: openCollapseItems.value,
|
|
51
|
-
"onUpdate:modelValue": _cache[
|
|
51
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => openCollapseItems.value = $event),
|
|
52
52
|
style: { "margin-top": "6px" }
|
|
53
53
|
}, {
|
|
54
54
|
default: withCtx(() => [
|
|
@@ -128,9 +128,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
128
|
}, {
|
|
129
129
|
default: withCtx(() => [
|
|
130
130
|
createVNode(_sfc_main$2, {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}, null, 8, ["
|
|
131
|
+
modelValue: __props.configure.props.base.title,
|
|
132
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.title = $event)
|
|
133
|
+
}, null, 8, ["modelValue"])
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}),
|
|
@@ -141,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
141
|
default: withCtx(() => [
|
|
142
142
|
createVNode(_component_el_radio_group, {
|
|
143
143
|
modelValue: __props.configure.props.base.size,
|
|
144
|
-
"onUpdate:modelValue": _cache[
|
|
144
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.size = $event),
|
|
145
145
|
class: "ml-4"
|
|
146
146
|
}, {
|
|
147
147
|
default: withCtx(() => [
|
|
@@ -176,7 +176,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
176
176
|
default: withCtx(() => [
|
|
177
177
|
createVNode(_component_el_radio_group, {
|
|
178
178
|
modelValue: __props.configure.props.base.state,
|
|
179
|
-
"onUpdate:modelValue": _cache[
|
|
179
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.state = $event),
|
|
180
180
|
class: "ml-4"
|
|
181
181
|
}, {
|
|
182
182
|
default: withCtx(() => [
|
|
@@ -217,7 +217,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
217
217
|
default: withCtx(() => [
|
|
218
218
|
createVNode(_component_el_select, {
|
|
219
219
|
modelValue: __props.configure.props.base.type,
|
|
220
|
-
"onUpdate:modelValue": _cache[
|
|
220
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.type = $event),
|
|
221
221
|
class: "ml-4",
|
|
222
222
|
clearable: ""
|
|
223
223
|
}, {
|
|
@@ -257,7 +257,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
257
|
key: __props.configure.uuid,
|
|
258
258
|
iconType: __props.configure.props.base.iconType,
|
|
259
259
|
iconValue: __props.configure.props.base.iconValue,
|
|
260
|
-
"onUpdate:modelValue": _cache[
|
|
260
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
261
261
|
}, null, 8, ["iconType", "iconValue"]))
|
|
262
262
|
]),
|
|
263
263
|
_: 1
|
|
@@ -269,7 +269,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
269
|
default: withCtx(() => [
|
|
270
270
|
createVNode(_component_el_radio_group, {
|
|
271
271
|
modelValue: __props.configure.props.base.iconPosition,
|
|
272
|
-
"onUpdate:modelValue": _cache[
|
|
272
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.iconPosition = $event),
|
|
273
273
|
class: "ml-4"
|
|
274
274
|
}, {
|
|
275
275
|
default: withCtx(() => [
|
|
@@ -300,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
300
300
|
default: withCtx(() => [
|
|
301
301
|
createVNode(_component_el_radio_group, {
|
|
302
302
|
modelValue: __props.configure.props.base.text,
|
|
303
|
-
"onUpdate:modelValue": _cache[
|
|
303
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.text = $event),
|
|
304
304
|
class: "ml-4"
|
|
305
305
|
}, {
|
|
306
306
|
default: withCtx(() => [
|
|
@@ -329,7 +329,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
329
329
|
default: withCtx(() => [
|
|
330
330
|
createVNode(_component_el_radio_group, {
|
|
331
331
|
modelValue: __props.configure.props.base.plain,
|
|
332
|
-
"onUpdate:modelValue": _cache[
|
|
332
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.plain = $event),
|
|
333
333
|
class: "ml-4"
|
|
334
334
|
}, {
|
|
335
335
|
default: withCtx(() => [
|
|
@@ -358,7 +358,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
358
358
|
default: withCtx(() => [
|
|
359
359
|
createVNode(_component_el_radio_group, {
|
|
360
360
|
modelValue: __props.configure.props.base.round,
|
|
361
|
-
"onUpdate:modelValue": _cache[
|
|
361
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.round = $event),
|
|
362
362
|
class: "ml-4"
|
|
363
363
|
}, {
|
|
364
364
|
default: withCtx(() => [
|
|
@@ -387,7 +387,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
387
387
|
default: withCtx(() => [
|
|
388
388
|
createVNode(_component_el_radio_group, {
|
|
389
389
|
modelValue: __props.configure.props.base.loading,
|
|
390
|
-
"onUpdate:modelValue": _cache[
|
|
390
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.loading = $event),
|
|
391
391
|
class: "ml-4"
|
|
392
392
|
}, {
|
|
393
393
|
default: withCtx(() => [
|
|
@@ -416,7 +416,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
416
416
|
default: withCtx(() => [
|
|
417
417
|
createVNode(_component_el_radio_group, {
|
|
418
418
|
modelValue: __props.configure.props.base.focus,
|
|
419
|
-
"onUpdate:modelValue": _cache[
|
|
419
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.focus = $event),
|
|
420
420
|
class: "ml-4"
|
|
421
421
|
}, {
|
|
422
422
|
default: withCtx(() => [
|
|
@@ -445,7 +445,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
445
|
default: withCtx(() => [
|
|
446
446
|
createVNode(_component_el_radio_group, {
|
|
447
447
|
modelValue: __props.configure.props.base.originalType,
|
|
448
|
-
"onUpdate:modelValue": _cache[
|
|
448
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.base.originalType = $event),
|
|
449
449
|
class: "ml-4"
|
|
450
450
|
}, {
|
|
451
451
|
default: withCtx(() => [
|
|
@@ -491,7 +491,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
491
491
|
default: withCtx(() => [
|
|
492
492
|
createVNode(_component_el_radio_group, {
|
|
493
493
|
modelValue: __props.configure.props.dropdown.trigger,
|
|
494
|
-
"onUpdate:modelValue": _cache[
|
|
494
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.dropdown.trigger = $event),
|
|
495
495
|
class: "ml-4"
|
|
496
496
|
}, {
|
|
497
497
|
default: withCtx(() => [
|
|
@@ -520,7 +520,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
520
520
|
default: withCtx(() => [
|
|
521
521
|
createVNode(_component_el_radio_group, {
|
|
522
522
|
modelValue: __props.configure.props.dropdown.triggerElement,
|
|
523
|
-
"onUpdate:modelValue": _cache[
|
|
523
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.dropdown.triggerElement = $event),
|
|
524
524
|
class: "ml-4"
|
|
525
525
|
}, {
|
|
526
526
|
default: withCtx(() => [
|
|
@@ -550,7 +550,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
550
550
|
default: withCtx(() => [
|
|
551
551
|
createVNode(_component_el_select, {
|
|
552
552
|
modelValue: __props.configure.props.dropdown.buttonType,
|
|
553
|
-
"onUpdate:modelValue": _cache[
|
|
553
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.dropdown.buttonType = $event),
|
|
554
554
|
class: "ml-4"
|
|
555
555
|
}, {
|
|
556
556
|
default: withCtx(() => [
|
|
@@ -588,7 +588,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
588
588
|
default: withCtx(() => [
|
|
589
589
|
createVNode(_component_el_radio_group, {
|
|
590
590
|
modelValue: __props.configure.props.dropdown.splitButton,
|
|
591
|
-
"onUpdate:modelValue": _cache[
|
|
591
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.dropdown.splitButton = $event),
|
|
592
592
|
class: "ml-4"
|
|
593
593
|
}, {
|
|
594
594
|
default: withCtx(() => [
|
|
@@ -617,7 +617,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
617
617
|
default: withCtx(() => [
|
|
618
618
|
createVNode(_component_el_select, {
|
|
619
619
|
modelValue: __props.configure.props.dropdown.placement,
|
|
620
|
-
"onUpdate:modelValue": _cache[
|
|
620
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => __props.configure.props.dropdown.placement = $event),
|
|
621
621
|
clearable: "",
|
|
622
622
|
class: "ml-4"
|
|
623
623
|
}, {
|
|
@@ -682,7 +682,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
682
682
|
default: withCtx(() => [
|
|
683
683
|
createVNode(_component_el_switch, {
|
|
684
684
|
modelValue: __props.configure.props.base.isPermission,
|
|
685
|
-
"onUpdate:modelValue": _cache[
|
|
685
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => __props.configure.props.base.isPermission = $event),
|
|
686
686
|
size: "default"
|
|
687
687
|
}, null, 8, ["modelValue"])
|
|
688
688
|
]),
|
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, withDirectives, vShow, createTextVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../common-series/common-attr-dataset-columnline.vue.js";
|
|
3
3
|
import _sfc_main$2 from "../../common-series/common-attr-dynamic.vue.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$4 from "../../common-series/common-attr-testdatas.vue.js";
|
|
5
|
+
import _sfc_main$3 from "../../../form/common/suffixmodule.vue.js";
|
|
5
6
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
7
|
+
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
9
|
__name: "column-line-series-attr-base",
|
|
8
10
|
props: {
|
|
9
11
|
configure: {
|
|
10
12
|
type: Object,
|
|
11
13
|
required: true
|
|
14
|
+
},
|
|
15
|
+
pageDesign: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => ({ props: {} })
|
|
12
18
|
}
|
|
13
19
|
},
|
|
14
20
|
setup(__props) {
|
|
15
|
-
const
|
|
21
|
+
const props = __props;
|
|
22
|
+
console.log("props.pageDesign", props.pageDesign);
|
|
23
|
+
const openCollapseItems = ref(["1", "dataList", "propsDynamic", "clicklinkage", "propsTestDatas"]);
|
|
16
24
|
return (_ctx, _cache) => {
|
|
17
25
|
const _component_el_option = resolveComponent("el-option");
|
|
18
26
|
const _component_el_select = resolveComponent("el-select");
|
|
@@ -129,7 +137,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
137
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
130
138
|
[vShow, !__props.configure.props.yaxisSource || __props.configure.props.yaxisSource === "variable"]
|
|
131
139
|
]),
|
|
132
|
-
createVNode(
|
|
140
|
+
createVNode(_component_el_collapse_item, {
|
|
141
|
+
title: "Click跳转配置",
|
|
142
|
+
name: "clicklinkage",
|
|
143
|
+
class: "amb-design-attr-group-header"
|
|
144
|
+
}, {
|
|
145
|
+
default: withCtx(() => [
|
|
146
|
+
createElementVNode("div", _hoisted_2, [
|
|
147
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
148
|
+
key: __props.configure.uuid,
|
|
149
|
+
configure: __props.configure,
|
|
150
|
+
pageDesign: __props.pageDesign,
|
|
151
|
+
isButton: false
|
|
152
|
+
}, null, 8, ["configure", "pageDesign"]))
|
|
153
|
+
])
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}),
|
|
157
|
+
createVNode(_sfc_main$4, { configure: __props.configure }, null, 8, ["configure"])
|
|
133
158
|
]),
|
|
134
159
|
_: 1
|
|
135
160
|
}, 8, ["modelValue"])
|
|
@@ -12,6 +12,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
configure: {
|
|
13
13
|
type: Object,
|
|
14
14
|
required: true
|
|
15
|
+
},
|
|
16
|
+
pageDesign: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: () => ({ props: {} })
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
21
|
emits: [],
|
|
@@ -90,7 +94,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
94
|
])
|
|
91
95
|
]),
|
|
92
96
|
createElementVNode("div", _hoisted_4, [
|
|
93
|
-
withDirectives(createVNode(_sfc_main$1, {
|
|
97
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
98
|
+
configure: __props.configure,
|
|
99
|
+
"page-design": __props.pageDesign
|
|
100
|
+
}, null, 8, ["configure", "page-design"]), [
|
|
94
101
|
[vShow, typeBaseClass.value]
|
|
95
102
|
]),
|
|
96
103
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "common-i18n-key-input",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
9
|
+
},
|
|
10
|
+
systemCode: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "small"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["update:modelValue"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const pageDesignUtil = usePageContextStore();
|
|
27
|
+
const enableI18n = pageDesignUtil.enabledI18n;
|
|
28
|
+
const emits = __emit;
|
|
29
|
+
const localI18nKey = ref(props.modelValue);
|
|
30
|
+
const setI18nKey = (value) => {
|
|
31
|
+
var _a;
|
|
32
|
+
if (!pageDesignUtil.pageContext.i18nKeys.includes(value)) {
|
|
33
|
+
(_a = pageDesignUtil.pageContext.i18nKeys) == null ? void 0 : _a.push(value);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
setI18nKey(localI18nKey.value);
|
|
37
|
+
const systemCode = ref(pageDesignUtil.pageContext.systemCode);
|
|
38
|
+
if (props.systemCode) {
|
|
39
|
+
systemCode.value = props.systemCode;
|
|
40
|
+
}
|
|
41
|
+
function closeSetting(parmas) {
|
|
42
|
+
debugger;
|
|
43
|
+
}
|
|
44
|
+
function changeTitle(value) {
|
|
45
|
+
emits("update:modelValue", value);
|
|
46
|
+
setI18nKey(value);
|
|
47
|
+
}
|
|
48
|
+
return (_ctx, _cache) => {
|
|
49
|
+
const _component_el_input = resolveComponent("el-input");
|
|
50
|
+
const _component_i18n_setting = resolveComponent("i18n-setting");
|
|
51
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
52
|
+
return openBlock(), createElementBlock("div", {
|
|
53
|
+
class: normalizeClass({ "amb-design-attr-item-inline": unref(enableI18n) && !__props.disabled })
|
|
54
|
+
}, [
|
|
55
|
+
createVNode(_component_el_input, {
|
|
56
|
+
modelValue: localI18nKey.value,
|
|
57
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localI18nKey.value = $event),
|
|
58
|
+
size: __props.size,
|
|
59
|
+
disabled: __props.disabled,
|
|
60
|
+
placeholder: "请输入",
|
|
61
|
+
onChange: changeTitle
|
|
62
|
+
}, null, 8, ["modelValue", "size", "disabled"]),
|
|
63
|
+
createVNode(_component_el_tooltip, {
|
|
64
|
+
content: "国际化设置",
|
|
65
|
+
effect: "light"
|
|
66
|
+
}, {
|
|
67
|
+
default: withCtx(() => [
|
|
68
|
+
unref(enableI18n) && !__props.disabled ? (openBlock(), createBlock(_component_i18n_setting, {
|
|
69
|
+
key: 0,
|
|
70
|
+
style: { "margin-left": "10px" },
|
|
71
|
+
systemCode: systemCode.value,
|
|
72
|
+
i18nkey: localI18nKey.value,
|
|
73
|
+
onClose: closeSetting
|
|
74
|
+
}, null, 8, ["systemCode", "i18nkey"])) : createCommentVNode("", true)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
})
|
|
78
|
+
], 2);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
_sfc_main as default
|
|
84
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./common-variable-bind.vue2.js";
|
|
2
2
|
import "./common-variable-bind.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7d59803a"]]);
|
|
5
5
|
export {
|
|
6
6
|
BindVariable as default
|
|
7
7
|
};
|
|
@@ -5,7 +5,7 @@ import { deepCopy, getUuidv4 } from "../../../utils/common-util.js";
|
|
|
5
5
|
import { getTypeOptions, taskVarOptions, contextVarOptions } from "./common-variable-bind-option.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
7
7
|
import { tableField } from "../../../../../stores/table-store.js";
|
|
8
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
8
|
+
const _withScopeId = (n) => (pushScopeId("data-v-7d59803a"), n = n(), popScopeId(), n);
|
|
9
9
|
const _hoisted_1 = { key: 0 };
|
|
10
10
|
const _hoisted_2 = { style: { "margin-top": "10px", "font-size": "10px", "display": "flex", "align-items": "center", "justify-self": "center" } };
|
|
11
11
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1));
|
|
@@ -440,7 +440,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
440
440
|
nextTick(() => {
|
|
441
441
|
setSelectOptions();
|
|
442
442
|
if (paramType.value) {
|
|
443
|
-
|
|
443
|
+
if (selectInputType.includes(paramType.value)) {
|
|
444
|
+
showInput.value = false;
|
|
445
|
+
setValueOptions(paramType.value);
|
|
446
|
+
} else {
|
|
447
|
+
showInput.value = true;
|
|
448
|
+
}
|
|
449
|
+
if (paramType.value == "system") {
|
|
450
|
+
querySystemParams();
|
|
451
|
+
}
|
|
444
452
|
}
|
|
445
453
|
handSelectRow();
|
|
446
454
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString, withDirectives, vShow, createCommentVNode } from "vue";
|
|
2
|
-
import _sfc_main$
|
|
2
|
+
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$3 from "../../common/common-icon-bind.vue.js";
|
|
5
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
5
6
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "card-attr-base",
|
|
@@ -9,6 +10,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
10
|
configure: {
|
|
10
11
|
type: Object,
|
|
11
12
|
default: {}
|
|
13
|
+
},
|
|
14
|
+
pageDesign: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => {
|
|
17
|
+
}
|
|
12
18
|
}
|
|
13
19
|
},
|
|
14
20
|
setup(__props) {
|
|
@@ -129,10 +135,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
135
|
style: { "margin-top": "-10px" }
|
|
130
136
|
}, {
|
|
131
137
|
default: withCtx(() => [
|
|
132
|
-
createVNode(
|
|
138
|
+
createVNode(_sfc_main$2, {
|
|
133
139
|
modelValue: __props.configure.props.base.title,
|
|
134
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.title = $event)
|
|
135
|
-
placeholder: "请输入"
|
|
140
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.title = $event)
|
|
136
141
|
}, null, 8, ["modelValue"])
|
|
137
142
|
]),
|
|
138
143
|
_: 1
|
|
@@ -144,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
144
149
|
style: { "margin-top": "-10px" }
|
|
145
150
|
}, {
|
|
146
151
|
default: withCtx(() => [
|
|
147
|
-
createVNode(_sfc_main$
|
|
152
|
+
createVNode(_sfc_main$3, {
|
|
148
153
|
iconType: __props.configure.props.iconType,
|
|
149
154
|
iconValue: __props.configure.props.iconValue,
|
|
150
155
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
@@ -203,7 +208,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
208
|
]),
|
|
204
209
|
_: 1
|
|
205
210
|
}),
|
|
206
|
-
createVNode(_sfc_main$
|
|
211
|
+
createVNode(_sfc_main$4, {
|
|
207
212
|
size: __props.configure.props.size,
|
|
208
213
|
showCalcHeight: true
|
|
209
214
|
}, null, 8, ["size"])
|
|
@@ -13,6 +13,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
configure: {
|
|
14
14
|
type: Object,
|
|
15
15
|
default: {}
|
|
16
|
+
},
|
|
17
|
+
pageDesign: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: () => {
|
|
20
|
+
}
|
|
16
21
|
}
|
|
17
22
|
},
|
|
18
23
|
emits: [],
|
|
@@ -47,15 +52,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
52
|
createElementVNode("div", _hoisted_2, [
|
|
48
53
|
createElementVNode("div", _hoisted_3, [
|
|
49
54
|
createElementVNode("label", {
|
|
50
|
-
class: normalizeClass({
|
|
55
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "base" }),
|
|
51
56
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "base" : selAsselbyType = "base")
|
|
52
57
|
}, "属性", 2),
|
|
53
58
|
createElementVNode("label", {
|
|
54
|
-
class: normalizeClass({
|
|
59
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "style" }),
|
|
55
60
|
onClick: _cache[1] || (_cache[1] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "style" : selAsselbyType = "style")
|
|
56
61
|
}, "样式", 2),
|
|
57
62
|
createElementVNode("label", {
|
|
58
|
-
class: normalizeClass({
|
|
63
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "event" }),
|
|
59
64
|
onClick: _cache[2] || (_cache[2] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "event" : selAsselbyType = "event")
|
|
60
65
|
}, [
|
|
61
66
|
createTextVNode(" 事件 "),
|
|
@@ -65,13 +70,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
70
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
66
71
|
], 2),
|
|
67
72
|
createElementVNode("label", {
|
|
68
|
-
class: normalizeClass({
|
|
73
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "advanced" }),
|
|
69
74
|
onClick: _cache[3] || (_cache[3] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "advanced" : selAsselbyType = "advanced")
|
|
70
75
|
}, "高级", 2)
|
|
71
76
|
])
|
|
72
77
|
]),
|
|
73
78
|
createElementVNode("div", _hoisted_4, [
|
|
74
|
-
withDirectives(createVNode(_sfc_main$1, {
|
|
79
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
80
|
+
configure: __props.configure,
|
|
81
|
+
pageDesign: __props.pageDesign
|
|
82
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
75
83
|
[vShow, unref(selAsselbyType) == "base"]
|
|
76
84
|
]),
|
|
77
85
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString, unref, createElementBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import { Top, Bottom, Plus, Delete } from "@element-plus/icons-vue";
|
|
3
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
4
|
+
import _sfc_main$3 from "../../common/common-icon-bind.vue.js";
|
|
4
5
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
6
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
5
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
8
|
const _hoisted_2 = {
|
|
7
9
|
style: { "padding": "8px 0px 0px 0px" },
|
|
@@ -14,6 +16,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
16
|
configure: {
|
|
15
17
|
type: Object,
|
|
16
18
|
default: {}
|
|
19
|
+
},
|
|
20
|
+
// 页面设计对象
|
|
21
|
+
pageDesign: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default: () => {
|
|
24
|
+
}
|
|
17
25
|
}
|
|
18
26
|
},
|
|
19
27
|
emits: [],
|
|
@@ -89,6 +97,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
97
|
props.configure.items.splice(delIdnex, 1);
|
|
90
98
|
}
|
|
91
99
|
}
|
|
100
|
+
function afterBindIcon(row, iconType, iconValue) {
|
|
101
|
+
row.iconType = iconType;
|
|
102
|
+
row.iconValue = iconValue;
|
|
103
|
+
}
|
|
92
104
|
return (_ctx, _cache) => {
|
|
93
105
|
const _component_el_text = resolveComponent("el-text");
|
|
94
106
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -96,7 +108,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
108
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
97
109
|
const _component_el_icon = resolveComponent("el-icon");
|
|
98
110
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
99
|
-
const _component_CommonIconBind = resolveComponent("CommonIconBind");
|
|
100
111
|
const _component_el_table = resolveComponent("el-table");
|
|
101
112
|
const _component_el_switch = resolveComponent("el-switch");
|
|
102
113
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -181,6 +192,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
181
192
|
createElementVNode("div", _hoisted_2, [
|
|
182
193
|
createVNode(_component_el_table, {
|
|
183
194
|
data: __props.configure.items,
|
|
195
|
+
border: "",
|
|
184
196
|
style: { "width": "100%" },
|
|
185
197
|
class: "panelTable"
|
|
186
198
|
}, {
|
|
@@ -221,10 +233,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
221
233
|
width: "110"
|
|
222
234
|
}, {
|
|
223
235
|
default: withCtx((scope) => [
|
|
224
|
-
createVNode(
|
|
236
|
+
createVNode(_sfc_main$2, {
|
|
225
237
|
modelValue: scope.row.label,
|
|
226
|
-
"onUpdate:modelValue": ($event) => scope.row.label = $event
|
|
227
|
-
size: "small"
|
|
238
|
+
"onUpdate:modelValue": ($event) => scope.row.label = $event
|
|
228
239
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
229
240
|
]),
|
|
230
241
|
_: 1
|
|
@@ -234,10 +245,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
245
|
width: "70"
|
|
235
246
|
}, {
|
|
236
247
|
default: withCtx((scope) => [
|
|
237
|
-
createVNode(
|
|
248
|
+
createVNode(_sfc_main$3, {
|
|
238
249
|
iconType: scope.row.iconType,
|
|
239
250
|
iconValue: scope.row.iconValue,
|
|
240
|
-
"onUpdate:modelValue": (iconType, iconValue) =>
|
|
251
|
+
"onUpdate:modelValue": (iconType, iconValue) => afterBindIcon(scope.row, iconType, iconValue)
|
|
241
252
|
}, null, 8, ["iconType", "iconValue", "onUpdate:modelValue"])
|
|
242
253
|
]),
|
|
243
254
|
_: 1
|
|
@@ -315,7 +326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
315
326
|
]),
|
|
316
327
|
_: 1
|
|
317
328
|
}),
|
|
318
|
-
createVNode(_sfc_main$
|
|
329
|
+
createVNode(_sfc_main$4, {
|
|
319
330
|
size: __props.configure.props.size,
|
|
320
331
|
showCalcHeight: true
|
|
321
332
|
}, null, 8, ["size"])
|
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
configure: {
|
|
14
14
|
type: Object,
|
|
15
15
|
default: {}
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
emits: [],
|
|
@@ -41,15 +47,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
47
|
createElementVNode("div", _hoisted_2, [
|
|
42
48
|
createElementVNode("div", _hoisted_3, [
|
|
43
49
|
createElementVNode("label", {
|
|
44
|
-
class: normalizeClass({
|
|
50
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "base" }),
|
|
45
51
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "base" : selAsselbyType = "base")
|
|
46
52
|
}, "属性", 2),
|
|
47
53
|
createElementVNode("label", {
|
|
48
|
-
class: normalizeClass({
|
|
54
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "style" }),
|
|
49
55
|
onClick: _cache[1] || (_cache[1] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "style" : selAsselbyType = "style")
|
|
50
56
|
}, "样式", 2),
|
|
51
57
|
createElementVNode("label", {
|
|
52
|
-
class: normalizeClass({
|
|
58
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "event" }),
|
|
53
59
|
onClick: _cache[2] || (_cache[2] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "event" : selAsselbyType = "event")
|
|
54
60
|
}, [
|
|
55
61
|
createTextVNode(" 事件 "),
|
|
@@ -59,13 +65,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
65
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
60
66
|
], 2),
|
|
61
67
|
createElementVNode("label", {
|
|
62
|
-
class: normalizeClass({
|
|
68
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "advanced" }),
|
|
63
69
|
onClick: _cache[3] || (_cache[3] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "advanced" : selAsselbyType = "advanced")
|
|
64
70
|
}, "高级", 2)
|
|
65
71
|
])
|
|
66
72
|
]),
|
|
67
73
|
createElementVNode("div", _hoisted_4, [
|
|
68
|
-
withDirectives(createVNode(_sfc_main$1, {
|
|
74
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
75
|
+
configure: __props.configure,
|
|
76
|
+
pageDesign: __props.pageDesign
|
|
77
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
69
78
|
[vShow, unref(selAsselbyType) == "base"]
|
|
70
79
|
]),
|
|
71
80
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|