@kp-ui/lowcode 1.0.81 → 1.0.83
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/_virtual/virtual_svg-icons-register.js +3 -3
- package/index.js +0 -2
- package/package.json +1 -2
- package/src/components/CustomRender/components/AttachmentRender.vue2.js +13 -8
- package/src/components/TpfCollapse/TpfCollapseTitle.vue2.js +4 -3
- package/src/components/code-editor/code-modal-editor.vue.js +1 -1
- package/src/components/code-editor/index.vue2.js +4 -3
- package/src/components/form-designer/form-widget/container-widget/container-wrapper.vue.js +28 -17
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue.js +22 -14
- package/src/components/form-designer/form-widget/container-widget/grid-sub-form-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/sub-form-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/tab-widget.vue.js +4 -4
- package/src/components/form-designer/form-widget/container-widget/table-cell-widget.vue.js +18 -12
- package/src/components/form-designer/form-widget/container-widget/table-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/vf-box-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue.js +8 -4
- package/src/components/form-designer/form-widget/container-widget/vf-dialog-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/container-widget/vf-drawer-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/attachment-render-widget.vue.js +7 -5
- package/src/components/form-designer/form-widget/field-widget/bpmn-editor-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/cascader-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/checkbox-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/color-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/date-range-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/date-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/diy-compontent-widget.vue.js +6 -4
- package/src/components/form-designer/form-widget/field-widget/dropdown-widget.vue.js +4 -3
- package/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue.js +13 -8
- package/src/components/form-designer/form-widget/field-widget/form-item-wrapper.vue.js +39 -24
- package/src/components/form-designer/form-widget/field-widget/html-text-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/input-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/number-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/picture-upload-widget.vue.js +9 -6
- package/src/components/form-designer/form-widget/field-widget/radio-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/select-widget.vue.js +4 -2
- package/src/components/form-designer/form-widget/field-widget/slider-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/slot-widget.vue.js +6 -4
- package/src/components/form-designer/form-widget/field-widget/static-content-wrapper.vue.js +22 -14
- package/src/components/form-designer/form-widget/field-widget/textarea-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/field-widget/time-range-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/time-widget.vue.js +5 -4
- package/src/components/form-designer/form-widget/field-widget/treeSelect-widget.vue.js +2 -1
- package/src/components/form-designer/form-widget/index.vue.js +9 -6
- package/src/components/form-designer/index.vue.js +2 -1
- package/src/components/form-designer/setting-panel/form-crud-setting.vue.js +4 -2
- package/src/components/form-designer/setting-panel/form-setting.vue.js +23 -17
- package/src/components/form-designer/setting-panel/option-items-setting.vue.js +34 -23
- package/src/components/form-designer/setting-panel/property-editor/button-list-editor.vue2.js +4 -3
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-pagination-editor.vue.js +4 -3
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-selections-editor.vue.js +4 -3
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showButtonsColumn-editor.vue.js +10 -7
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableColumns-editor.vue2.js +25 -18
- package/src/components/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue.js +8 -5
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue.js +7 -5
- package/src/components/form-designer/setting-panel/property-editor/container-vf-dialog/bodyStyle-editor.vue.js +6 -4
- package/src/components/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-direction-editor.vue.js +16 -12
- package/src/components/form-designer/setting-panel/property-editor/disabled-editor.vue.js +4 -3
- package/src/components/form-designer/setting-panel/property-editor/field-button/shape-editor.vue.js +12 -9
- package/src/components/form-designer/setting-panel/property-editor/field-button/type-editor.vue.js +24 -18
- package/src/components/form-designer/setting-panel/property-editor/field-cascader/cascader-defaultValue-editor.vue.js +2 -1
- package/src/components/form-designer/setting-panel/property-editor/field-checkbox/checkbox-defaultValue-editor.vue.js +2 -1
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue.js +16 -12
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-type-editor.vue.js +20 -15
- package/src/components/form-designer/setting-panel/property-editor/field-date/date-valueFormat-editor.vue.js +16 -12
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue.js +20 -15
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-type-editor.vue.js +12 -9
- package/src/components/form-designer/setting-panel/property-editor/field-date-range/date-range-valueFormat-editor.vue.js +16 -12
- package/src/components/form-designer/setting-panel/property-editor/field-divider/contentPosition-editor.vue.js +12 -9
- package/src/components/form-designer/setting-panel/property-editor/field-divider/divider-direction-editor.vue.js +8 -6
- package/src/components/form-designer/setting-panel/property-editor/field-number/controlsPosition-editor.vue.js +8 -6
- package/src/components/form-designer/setting-panel/property-editor/field-radio/radio-defaultValue-editor.vue.js +2 -1
- package/src/components/form-designer/setting-panel/property-editor/field-select/select-defaultValue-editor.vue.js +2 -1
- package/src/components/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue.js +8 -6
- package/src/components/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue.js +8 -6
- package/src/components/form-designer/setting-panel/property-editor/hidden-editor.vue.js +4 -3
- package/src/components/form-designer/setting-panel/property-editor/type-editor.vue.js +8 -6
- package/src/components/form-designer/toolbar-panel/index.vue2.js +22 -13
- package/src/components/form-designer/toolbar-panel/widgetList.js +1 -777
- package/src/components/form-designer/widget-panel/index.vue.js +12 -6
- package/src/components/form-render/container-item/grid-col-item.vue.js +4 -2
- package/src/components/form-render/container-item/grid-sub-form-item.vue.js +8 -4
- package/src/components/form-render/container-item/sub-form-item.vue.js +38 -25
- package/src/components/form-render/container-item/table-cell-item.vue.js +2 -1
- package/src/components/form-render/container-item/vf-collapse-item.vue.js +4 -2
- package/src/components/form-render/dynamic-dialog.vue.js +2 -1
- package/src/components/form-render/dynamic-drawer.vue.js +2 -1
- package/src/components/http-editor/index.vue.js +32 -24
- package/src/components/public/ActionButtonListDialog.vue.js +46 -34
- package/src/components/public/QuillEditor/index.vue.js +2 -1
- package/src/components/public/methoad-item.vue.js +14 -62
- package/src/components/svg-icon/index.vue.js +4 -2
- package/stats.html +1 -1
- package/styles/style.css +1 -1
- package/types/install.d.ts.map +1 -1
- package/types/src/components/form-designer/toolbar-panel/widgetList.d.ts +1 -555
- package/types/src/components/form-designer/toolbar-panel/widgetList.d.ts.map +1 -1
- package/src/utils/el-icons.js +0 -24
|
@@ -27,28 +27,31 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27
27
|
label: "daterange",
|
|
28
28
|
value: "daterange"
|
|
29
29
|
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
30
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
31
31
|
createTextVNode("daterange")
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [1]
|
|
34
35
|
}),
|
|
35
36
|
createVNode(_component_a_select_option, {
|
|
36
37
|
label: "datetimerange",
|
|
37
38
|
value: "datetimerange"
|
|
38
39
|
}, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("datetimerange")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
}),
|
|
44
46
|
createVNode(_component_a_select_option, {
|
|
45
47
|
label: "monthrange",
|
|
46
48
|
value: "monthrange"
|
|
47
49
|
}, {
|
|
48
|
-
default: withCtx(() => [
|
|
50
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
49
51
|
createTextVNode("monthrange")
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
+
])),
|
|
53
|
+
_: 1,
|
|
54
|
+
__: [3]
|
|
52
55
|
})
|
|
53
56
|
]),
|
|
54
57
|
_: 1
|
|
@@ -28,37 +28,41 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
28
|
label: "YYYY-MM-DD",
|
|
29
29
|
value: "YYYY-MM-DD"
|
|
30
30
|
}, {
|
|
31
|
-
default: withCtx(() => [
|
|
31
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
32
32
|
createTextVNode("YYYY-MM-DD")
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
33
|
+
])),
|
|
34
|
+
_: 1,
|
|
35
|
+
__: [1]
|
|
35
36
|
}),
|
|
36
37
|
createVNode(_component_a_select_option, {
|
|
37
38
|
label: "YYYY-MM-DD HH:mm:ss",
|
|
38
39
|
value: "YYYY-MM-DD HH:mm:ss"
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
42
|
createTextVNode(" YYYY-MM-DD HH:mm:ss ")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [2]
|
|
44
46
|
}),
|
|
45
47
|
createVNode(_component_a_select_option, {
|
|
46
48
|
label: "YYYY:MM",
|
|
47
49
|
value: "YYYY:MM"
|
|
48
50
|
}, {
|
|
49
|
-
default: withCtx(() => [
|
|
51
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
50
52
|
createTextVNode("YYYY:MM")
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
+
])),
|
|
54
|
+
_: 1,
|
|
55
|
+
__: [3]
|
|
53
56
|
}),
|
|
54
57
|
createVNode(_component_a_select_option, {
|
|
55
58
|
label: "YYYY",
|
|
56
59
|
value: "YYYY"
|
|
57
60
|
}, {
|
|
58
|
-
default: withCtx(() => [
|
|
61
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
59
62
|
createTextVNode("YYYY")
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
63
|
+
])),
|
|
64
|
+
_: 1,
|
|
65
|
+
__: [4]
|
|
62
66
|
})
|
|
63
67
|
]),
|
|
64
68
|
_: 1
|
|
@@ -27,28 +27,31 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27
27
|
label: "center",
|
|
28
28
|
value: "center"
|
|
29
29
|
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
30
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
31
31
|
createTextVNode("center")
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [1]
|
|
34
35
|
}),
|
|
35
36
|
createVNode(_component_a_select_option, {
|
|
36
37
|
label: "left",
|
|
37
38
|
value: "left"
|
|
38
39
|
}, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("left")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
}),
|
|
44
46
|
createVNode(_component_a_select_option, {
|
|
45
47
|
label: "right",
|
|
46
48
|
value: "right"
|
|
47
49
|
}, {
|
|
48
|
-
default: withCtx(() => [
|
|
50
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
49
51
|
createTextVNode("right")
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
+
])),
|
|
53
|
+
_: 1,
|
|
54
|
+
__: [3]
|
|
52
55
|
})
|
|
53
56
|
]),
|
|
54
57
|
_: 1
|
|
@@ -27,19 +27,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27
27
|
label: "horizontal",
|
|
28
28
|
value: "horizontal"
|
|
29
29
|
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
30
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
31
31
|
createTextVNode("horizontal")
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [1]
|
|
34
35
|
}),
|
|
35
36
|
createVNode(_component_a_select_option, {
|
|
36
37
|
label: "vertical",
|
|
37
38
|
value: "vertical"
|
|
38
39
|
}, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("vertical")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
})
|
|
44
46
|
]),
|
|
45
47
|
_: 1
|
|
@@ -27,19 +27,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27
27
|
label: "default",
|
|
28
28
|
value: ""
|
|
29
29
|
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
30
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
31
31
|
createTextVNode("default")
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [1]
|
|
34
35
|
}),
|
|
35
36
|
createVNode(_component_a_select_option, {
|
|
36
37
|
label: "right",
|
|
37
38
|
value: "right"
|
|
38
39
|
}, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("right")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
})
|
|
44
46
|
]),
|
|
45
47
|
_: 1
|
|
@@ -8,8 +8,9 @@ const _sfc_main = {
|
|
|
8
8
|
optionModel: Object
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
const _hoisted_1 = { style: { "display": "none" } };
|
|
11
12
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12
|
-
return openBlock(), createElementBlock("div",
|
|
13
|
+
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
13
14
|
}
|
|
14
15
|
const radioDefaultValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
15
16
|
export {
|
|
@@ -8,8 +8,9 @@ const _sfc_main = {
|
|
|
8
8
|
optionModel: Object
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
const _hoisted_1 = { style: { "display": "none" } };
|
|
11
12
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12
|
-
return openBlock(), createElementBlock("div",
|
|
13
|
+
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
13
14
|
}
|
|
14
15
|
const selectDefaultValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
15
16
|
export {
|
|
@@ -28,19 +28,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
28
|
label: "HH:mm:ss",
|
|
29
29
|
value: "HH:mm:ss"
|
|
30
30
|
}, {
|
|
31
|
-
default: withCtx(() => [
|
|
31
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
32
32
|
createTextVNode("HH:mm:ss")
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
33
|
+
])),
|
|
34
|
+
_: 1,
|
|
35
|
+
__: [1]
|
|
35
36
|
}),
|
|
36
37
|
createVNode(_component_a_select_option, {
|
|
37
38
|
label: "HH时mm分ss秒",
|
|
38
39
|
value: "HH时mm分ss秒"
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
42
|
createTextVNode("HH时mm分ss秒")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [2]
|
|
44
46
|
})
|
|
45
47
|
]),
|
|
46
48
|
_: 1
|
|
@@ -28,19 +28,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
28
|
label: "HH:mm:ss",
|
|
29
29
|
value: "HH:mm:ss"
|
|
30
30
|
}, {
|
|
31
|
-
default: withCtx(() => [
|
|
31
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
32
32
|
createTextVNode("HH:mm:ss")
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
33
|
+
])),
|
|
34
|
+
_: 1,
|
|
35
|
+
__: [1]
|
|
35
36
|
}),
|
|
36
37
|
createVNode(_component_a_select_option, {
|
|
37
38
|
label: "HH时mm分ss秒",
|
|
38
39
|
value: "HH时mm分ss秒"
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
42
|
createTextVNode("HH时mm分ss秒")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [2]
|
|
44
46
|
})
|
|
45
47
|
]),
|
|
46
48
|
_: 1
|
|
@@ -38,10 +38,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38
38
|
class: normalizeClass([!!$props.optionModel.onHidden ? "button-text-highlight" : ""]),
|
|
39
39
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.editEventHandler("onHidden", $data.eventParams))
|
|
40
40
|
}, {
|
|
41
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
42
42
|
createTextVNode(" 编辑函数 ")
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [3]
|
|
45
46
|
}, 8, ["class"])
|
|
46
47
|
]),
|
|
47
48
|
_: 1
|
|
@@ -26,16 +26,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26
26
|
}, {
|
|
27
27
|
default: withCtx(() => [
|
|
28
28
|
createVNode(_component_a_select_option, { value: "text" }, {
|
|
29
|
-
default: withCtx(() => [
|
|
29
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
30
30
|
createTextVNode("text")
|
|
31
|
-
]),
|
|
32
|
-
_: 1
|
|
31
|
+
])),
|
|
32
|
+
_: 1,
|
|
33
|
+
__: [1]
|
|
33
34
|
}),
|
|
34
35
|
createVNode(_component_a_select_option, { value: "password" }, {
|
|
35
|
-
default: withCtx(() => [
|
|
36
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
36
37
|
createTextVNode(" password ")
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
38
|
+
])),
|
|
39
|
+
_: 1,
|
|
40
|
+
__: [2]
|
|
39
41
|
})
|
|
40
42
|
]),
|
|
41
43
|
_: 1
|
|
@@ -10,6 +10,13 @@ import { getLocat } from "@kp-ui/tool";
|
|
|
10
10
|
import { cloneDeep } from "lodash-es";
|
|
11
11
|
import { TpfModal, CodeEditor } from "tmgc2-share";
|
|
12
12
|
import { message } from "ant-design-vue";
|
|
13
|
+
const _hoisted_1 = { class: "toolbar-container" };
|
|
14
|
+
const _hoisted_2 = { class: "left-toolbar" };
|
|
15
|
+
const _hoisted_3 = { class: "right-toolbar" };
|
|
16
|
+
const _hoisted_4 = { class: "right-toolbar-con" };
|
|
17
|
+
const _hoisted_5 = { class: "dialog-footer" };
|
|
18
|
+
const _hoisted_6 = { class: "dialog-footer" };
|
|
19
|
+
const _hoisted_7 = { class: "dialog-footer" };
|
|
13
20
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
21
|
__name: "index",
|
|
15
22
|
props: {
|
|
@@ -528,8 +535,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
528
535
|
const _component_a_modal = resolveComponent("a-modal");
|
|
529
536
|
const _component_a_tab_pane = resolveComponent("a-tab-pane");
|
|
530
537
|
const _component_a_tabs = resolveComponent("a-tabs");
|
|
531
|
-
return openBlock(), createElementBlock("div",
|
|
532
|
-
createElementVNode("div",
|
|
538
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
539
|
+
createElementVNode("div", _hoisted_2, [
|
|
533
540
|
createVNode(_component_a_button, {
|
|
534
541
|
type: "link",
|
|
535
542
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.changeLeftWidth())
|
|
@@ -626,8 +633,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
626
633
|
]),
|
|
627
634
|
_: 1
|
|
628
635
|
}, 8, ["title", "visible"]),
|
|
629
|
-
createElementVNode("div",
|
|
630
|
-
createElementVNode("div",
|
|
636
|
+
createElementVNode("div", _hoisted_3, [
|
|
637
|
+
createElementVNode("div", _hoisted_4, [
|
|
631
638
|
showToolButton("clearDesignerButton") ? (openBlock(), createBlock(_component_a_button, {
|
|
632
639
|
key: 0,
|
|
633
640
|
type: "link",
|
|
@@ -675,10 +682,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
675
682
|
type: "link",
|
|
676
683
|
onClick: saveJson
|
|
677
684
|
}, {
|
|
678
|
-
default: withCtx(() => [
|
|
685
|
+
default: withCtx(() => _cache[23] || (_cache[23] = [
|
|
679
686
|
createTextVNode(" 保存 ")
|
|
680
|
-
]),
|
|
681
|
-
_: 1
|
|
687
|
+
])),
|
|
688
|
+
_: 1,
|
|
689
|
+
__: [23]
|
|
682
690
|
})) : createCommentVNode("", true),
|
|
683
691
|
createVNode(_component_a_button, {
|
|
684
692
|
type: "link",
|
|
@@ -711,10 +719,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
711
719
|
}, {
|
|
712
720
|
footerRight: withCtx(() => [
|
|
713
721
|
createVNode(_component_a_button, { onClick: showData }, {
|
|
714
|
-
default: withCtx(() => [
|
|
722
|
+
default: withCtx(() => _cache[24] || (_cache[24] = [
|
|
715
723
|
createTextVNode("数据回显")
|
|
716
|
-
]),
|
|
717
|
-
_: 1
|
|
724
|
+
])),
|
|
725
|
+
_: 1,
|
|
726
|
+
__: [24]
|
|
718
727
|
}),
|
|
719
728
|
createVNode(_component_a_button, {
|
|
720
729
|
type: "primary",
|
|
@@ -801,7 +810,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
801
810
|
"destroy-on-close": true
|
|
802
811
|
}, {
|
|
803
812
|
footer: withCtx(() => [
|
|
804
|
-
createElementVNode("div",
|
|
813
|
+
createElementVNode("div", _hoisted_5, [
|
|
805
814
|
createVNode(_component_a_button, {
|
|
806
815
|
type: "primary",
|
|
807
816
|
onClick: doJsonImport
|
|
@@ -851,7 +860,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
851
860
|
"destroy-on-close": true
|
|
852
861
|
}, {
|
|
853
862
|
footer: withCtx(() => [
|
|
854
|
-
createElementVNode("div",
|
|
863
|
+
createElementVNode("div", _hoisted_6, [
|
|
855
864
|
createVNode(_component_a_button, {
|
|
856
865
|
type: "primary",
|
|
857
866
|
class: "copy-json-btn",
|
|
@@ -947,7 +956,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
947
956
|
"destroy-on-close": true
|
|
948
957
|
}, {
|
|
949
958
|
footer: withCtx(() => [
|
|
950
|
-
createElementVNode("div",
|
|
959
|
+
createElementVNode("div", _hoisted_7, [
|
|
951
960
|
createVNode(_component_a_button, {
|
|
952
961
|
type: "primary",
|
|
953
962
|
class: "copy-vue2-sfc-btn",
|