@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
|
@@ -3,6 +3,12 @@ import { useI18n } from "../../../../../utils/i18n.js";
|
|
|
3
3
|
import _sfc_main$1 from "../../../../code-editor/code-modal-editor.vue.js";
|
|
4
4
|
import { cloneDeep } from "lodash-es";
|
|
5
5
|
import { TpfModal } from "tmgc2-share";
|
|
6
|
+
const _hoisted_1 = { class: "table-wrap" };
|
|
7
|
+
const _hoisted_2 = {
|
|
8
|
+
key: 2,
|
|
9
|
+
style: { "text-align": "center" }
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_3 = { class: "add-btn" };
|
|
6
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
13
|
...{
|
|
8
14
|
name: "tableColumns-editor"
|
|
@@ -204,7 +210,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
210
|
})
|
|
205
211
|
]),
|
|
206
212
|
default: withCtx(() => [
|
|
207
|
-
createElementVNode("div",
|
|
213
|
+
createElementVNode("div", _hoisted_1, [
|
|
208
214
|
createVNode(_component_s_table, {
|
|
209
215
|
class: "tpf-surely-table",
|
|
210
216
|
"aria-hidden": "false",
|
|
@@ -232,10 +238,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
232
238
|
value: tableColumns.value[recordIndexs[0]].title,
|
|
233
239
|
"onUpdate:value": ($event) => tableColumns.value[recordIndexs[0]].title = $event
|
|
234
240
|
}, null, 8, ["value", "onUpdate:value"])) : createCommentVNode("", true),
|
|
235
|
-
column.dataIndex === "width" ? (openBlock(), createElementBlock("div",
|
|
236
|
-
key: 2,
|
|
237
|
-
style: { "text-align": "center" }
|
|
238
|
-
}, [
|
|
241
|
+
column.dataIndex === "width" ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
239
242
|
createVNode(_component_a_switch, {
|
|
240
243
|
"checked-children": "自动宽度",
|
|
241
244
|
checked: tableColumns.value[recordIndexs[0]].isAutoWidth,
|
|
@@ -276,16 +279,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
276
279
|
}, {
|
|
277
280
|
default: withCtx(() => [
|
|
278
281
|
createVNode(_component_a_select_option, { value: "left" }, {
|
|
279
|
-
default: withCtx(() => [
|
|
282
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
280
283
|
createTextVNode("左固定")
|
|
281
|
-
]),
|
|
282
|
-
_: 1
|
|
284
|
+
])),
|
|
285
|
+
_: 1,
|
|
286
|
+
__: [3]
|
|
283
287
|
}),
|
|
284
288
|
createVNode(_component_a_select_option, { value: "right" }, {
|
|
285
|
-
default: withCtx(() => [
|
|
289
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
286
290
|
createTextVNode("右固定")
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
291
|
+
])),
|
|
292
|
+
_: 1,
|
|
293
|
+
__: [4]
|
|
289
294
|
})
|
|
290
295
|
]),
|
|
291
296
|
_: 2
|
|
@@ -304,10 +309,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
304
309
|
size: "small",
|
|
305
310
|
shape: "round"
|
|
306
311
|
}, {
|
|
307
|
-
default: withCtx(() => [
|
|
312
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
308
313
|
createTextVNode(" edit ")
|
|
309
|
-
]),
|
|
310
|
-
_: 2
|
|
314
|
+
])),
|
|
315
|
+
_: 2,
|
|
316
|
+
__: [5]
|
|
311
317
|
}, 1032, ["onClick", "class"])) : createCommentVNode("", true),
|
|
312
318
|
column.dataIndex === "action" ? (openBlock(), createBlock(_component_a_space, { key: 10 }, {
|
|
313
319
|
default: withCtx(() => [
|
|
@@ -317,10 +323,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
317
323
|
onClick: ($event) => handleDelete(index),
|
|
318
324
|
type: "text"
|
|
319
325
|
}, {
|
|
320
|
-
default: withCtx(() => [
|
|
326
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
321
327
|
createTextVNode(" 删除 ")
|
|
322
|
-
]),
|
|
323
|
-
_: 2
|
|
328
|
+
])),
|
|
329
|
+
_: 2,
|
|
330
|
+
__: [6]
|
|
324
331
|
}, 1032, ["title", "onClick"])
|
|
325
332
|
]),
|
|
326
333
|
_: 2
|
|
@@ -328,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
328
335
|
]),
|
|
329
336
|
_: 1
|
|
330
337
|
}, 8, ["dataSource", "row-key"]),
|
|
331
|
-
createElementVNode("div",
|
|
338
|
+
createElementVNode("div", _hoisted_3, [
|
|
332
339
|
createVNode(_component_a_button, {
|
|
333
340
|
title: unref(i18nt)("designer.setting.addTableColumn"),
|
|
334
341
|
type: "primary",
|
|
@@ -34,6 +34,8 @@ const _sfc_main = {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
+
const _hoisted_1 = { class: "col-item" };
|
|
38
|
+
const _hoisted_2 = { class: "col-span-title" };
|
|
37
39
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38
40
|
const _component_a_divider = resolveComponent("a-divider");
|
|
39
41
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
@@ -79,8 +81,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79
81
|
handle: ".drag-handler"
|
|
80
82
|
}), {
|
|
81
83
|
item: withCtx(({ element: colItem, index: colIdx }) => [
|
|
82
|
-
createElementVNode("li",
|
|
83
|
-
createElementVNode("span",
|
|
84
|
+
createElementVNode("li", _hoisted_1, [
|
|
85
|
+
createElementVNode("span", _hoisted_2, toDisplayString(_ctx.i18nt("designer.setting.colSpanTitle")) + toDisplayString(colIdx + 1), 1),
|
|
84
86
|
createVNode(_component_a_input_number, {
|
|
85
87
|
value: colItem.options.span,
|
|
86
88
|
"onUpdate:value": ($event) => colItem.options.span = $event,
|
|
@@ -97,10 +99,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
97
99
|
onClick: ($event) => $options.deleteCol($props.selectedWidget, colIdx),
|
|
98
100
|
class: "col-delete-button"
|
|
99
101
|
}, {
|
|
100
|
-
default: withCtx(() => [
|
|
102
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
101
103
|
createTextVNode(" 删除 ")
|
|
102
|
-
]),
|
|
103
|
-
_: 2
|
|
104
|
+
])),
|
|
105
|
+
_: 2,
|
|
106
|
+
__: [2]
|
|
104
107
|
}, 1032, ["onClick"]),
|
|
105
108
|
createVNode(_component_a_button, {
|
|
106
109
|
circle: "",
|
|
@@ -48,6 +48,7 @@ const _sfc_main = {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
+
const _hoisted_1 = { class: "col-item" };
|
|
51
52
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
53
|
const _component_a_select = resolveComponent("a-select");
|
|
53
54
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
@@ -90,7 +91,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90
91
|
"item-key": "id"
|
|
91
92
|
}, { group: "panesGroup", ghostClass: "ghost", handle: ".drag-option" }), {
|
|
92
93
|
item: withCtx(({ element: tpItem, index: tpIdx }) => [
|
|
93
|
-
createElementVNode("li",
|
|
94
|
+
createElementVNode("li", _hoisted_1, [
|
|
94
95
|
createVNode(_component_a_radio, {
|
|
95
96
|
value: tpItem.options.label,
|
|
96
97
|
style: { "margin-right": "8px" }
|
|
@@ -106,17 +107,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106
107
|
"onUpdate:value": ($event) => tpItem.options.label = $event,
|
|
107
108
|
style: { "width": "120px" }
|
|
108
109
|
}, null, 8, ["value", "onUpdate:value"]),
|
|
109
|
-
createElementVNode("i", { class: "iconfont icon-drag drag-option" }),
|
|
110
|
+
_cache[4] || (_cache[4] = createElementVNode("i", { class: "iconfont icon-drag drag-option" }, null, -1)),
|
|
110
111
|
createVNode(_component_a_button, {
|
|
111
112
|
size: "small",
|
|
112
113
|
type: "danger",
|
|
113
114
|
onClick: ($event) => $options.deleteTabPane($props.selectedWidget, tpIdx, tpItem),
|
|
114
115
|
class: "col-delete-button"
|
|
115
116
|
}, {
|
|
116
|
-
default: withCtx(() => [
|
|
117
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
117
118
|
createTextVNode(" 删除 ")
|
|
118
|
-
]),
|
|
119
|
-
_: 2
|
|
119
|
+
])),
|
|
120
|
+
_: 2,
|
|
121
|
+
__: [3]
|
|
120
122
|
}, 1032, ["onClick"])
|
|
121
123
|
])
|
|
122
124
|
]),
|
|
@@ -29,6 +29,7 @@ const _sfc_main = {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
32
33
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33
34
|
const _component_a_button = resolveComponent("a-button");
|
|
34
35
|
const _component_a_form_item = resolveComponent("a-form-item");
|
|
@@ -38,10 +39,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38
39
|
createVNode(_component_a_form_item, { label: "窗体样式" }, {
|
|
39
40
|
default: withCtx(() => [
|
|
40
41
|
createVNode(_component_a_button, { onClick: $options.editFormCss }, {
|
|
41
|
-
default: withCtx(() => [
|
|
42
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
42
43
|
createTextVNode("编写样式")
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
44
|
+
])),
|
|
45
|
+
_: 1,
|
|
46
|
+
__: [3]
|
|
45
47
|
}, 8, ["onClick"])
|
|
46
48
|
]),
|
|
47
49
|
_: 1
|
|
@@ -58,7 +60,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
58
60
|
"destroy-on-close": true
|
|
59
61
|
}, {
|
|
60
62
|
footer: withCtx(() => [
|
|
61
|
-
createElementVNode("div",
|
|
63
|
+
createElementVNode("div", _hoisted_1, [
|
|
62
64
|
createVNode(_component_a_button, {
|
|
63
65
|
onClick: _cache[1] || (_cache[1] = ($event) => $data.showEditFormCssDialogFlag = false)
|
|
64
66
|
}, {
|
|
@@ -30,28 +30,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30
30
|
}, {
|
|
31
31
|
default: withCtx(() => [
|
|
32
32
|
createVNode(_component_a_radio_button, { value: "rtl" }, {
|
|
33
|
-
default: withCtx(() => [
|
|
33
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
34
34
|
createTextVNode("左")
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
35
|
+
])),
|
|
36
|
+
_: 1,
|
|
37
|
+
__: [1]
|
|
37
38
|
}),
|
|
38
39
|
createVNode(_component_a_radio_button, { value: "ltr" }, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("右")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
}),
|
|
44
46
|
createVNode(_component_a_radio_button, { value: "ttb" }, {
|
|
45
|
-
default: withCtx(() => [
|
|
47
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
46
48
|
createTextVNode("下")
|
|
47
|
-
]),
|
|
48
|
-
_: 1
|
|
49
|
+
])),
|
|
50
|
+
_: 1,
|
|
51
|
+
__: [3]
|
|
49
52
|
}),
|
|
50
53
|
createVNode(_component_a_radio_button, { value: "btt" }, {
|
|
51
|
-
default: withCtx(() => [
|
|
54
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
52
55
|
createTextVNode("上")
|
|
53
|
-
]),
|
|
54
|
-
_: 1
|
|
56
|
+
])),
|
|
57
|
+
_: 1,
|
|
58
|
+
__: [4]
|
|
55
59
|
})
|
|
56
60
|
]),
|
|
57
61
|
_: 1
|
|
@@ -37,10 +37,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37
37
|
class: normalizeClass([!!$props.optionModel.onDisabled ? "button-text-highlight" : ""]),
|
|
38
38
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.editEventHandler("onDisabled", $data.eventParams))
|
|
39
39
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
41
|
createTextVNode(" 编辑函数 ")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
44
45
|
}, 8, ["class"])
|
|
45
46
|
]),
|
|
46
47
|
_: 1
|
package/src/components/form-designer/setting-panel/property-editor/field-button/shape-editor.vue.js
CHANGED
|
@@ -23,22 +23,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23
23
|
}, {
|
|
24
24
|
default: withCtx(() => [
|
|
25
25
|
createVNode(_component_a_select_option, { value: "default" }, {
|
|
26
|
-
default: withCtx(() => [
|
|
26
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
27
27
|
createTextVNode("default")
|
|
28
|
-
]),
|
|
29
|
-
_: 1
|
|
28
|
+
])),
|
|
29
|
+
_: 1,
|
|
30
|
+
__: [1]
|
|
30
31
|
}),
|
|
31
32
|
createVNode(_component_a_select_option, { value: "circle" }, {
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
33
34
|
createTextVNode("circle")
|
|
34
|
-
]),
|
|
35
|
-
_: 1
|
|
35
|
+
])),
|
|
36
|
+
_: 1,
|
|
37
|
+
__: [2]
|
|
36
38
|
}),
|
|
37
39
|
createVNode(_component_a_select_option, { value: "round" }, {
|
|
38
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
39
41
|
createTextVNode("round")
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [3]
|
|
42
45
|
})
|
|
43
46
|
]),
|
|
44
47
|
_: 1
|
package/src/components/form-designer/setting-panel/property-editor/field-button/type-editor.vue.js
CHANGED
|
@@ -28,55 +28,61 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
28
|
label: "primary",
|
|
29
29
|
value: "primary"
|
|
30
30
|
}, {
|
|
31
|
-
default: withCtx(() => [
|
|
31
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
32
32
|
createTextVNode("primary")
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
33
|
+
])),
|
|
34
|
+
_: 1,
|
|
35
|
+
__: [1]
|
|
35
36
|
}),
|
|
36
37
|
createVNode(_component_a_select_option, {
|
|
37
38
|
label: "warning",
|
|
38
39
|
value: "ghost"
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
42
|
createTextVNode("ghost")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [2]
|
|
44
46
|
}),
|
|
45
47
|
createVNode(_component_a_select_option, {
|
|
46
48
|
label: "success",
|
|
47
49
|
value: "dashed"
|
|
48
50
|
}, {
|
|
49
|
-
default: withCtx(() => [
|
|
51
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
50
52
|
createTextVNode("dashed")
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
+
])),
|
|
54
|
+
_: 1,
|
|
55
|
+
__: [3]
|
|
53
56
|
}),
|
|
54
57
|
createVNode(_component_a_select_option, {
|
|
55
58
|
label: "danger",
|
|
56
59
|
value: "link"
|
|
57
60
|
}, {
|
|
58
|
-
default: withCtx(() => [
|
|
61
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
59
62
|
createTextVNode("link")
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
63
|
+
])),
|
|
64
|
+
_: 1,
|
|
65
|
+
__: [4]
|
|
62
66
|
}),
|
|
63
67
|
createVNode(_component_a_select_option, {
|
|
64
68
|
label: "text",
|
|
65
69
|
value: "text"
|
|
66
70
|
}, {
|
|
67
|
-
default: withCtx(() => [
|
|
71
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
68
72
|
createTextVNode("text")
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
73
|
+
])),
|
|
74
|
+
_: 1,
|
|
75
|
+
__: [5]
|
|
71
76
|
}),
|
|
72
77
|
createVNode(_component_a_select_option, {
|
|
73
78
|
label: "default",
|
|
74
79
|
value: "default"
|
|
75
80
|
}, {
|
|
76
|
-
default: withCtx(() => [
|
|
81
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
77
82
|
createTextVNode("default ")
|
|
78
|
-
]),
|
|
79
|
-
_: 1
|
|
83
|
+
])),
|
|
84
|
+
_: 1,
|
|
85
|
+
__: [6]
|
|
80
86
|
})
|
|
81
87
|
]),
|
|
82
88
|
_: 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 cascaderDefaultValueEditor = /* @__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 checkboxDefaultValueEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
15
16
|
export {
|
|
@@ -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,46 +27,51 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27
27
|
label: "date",
|
|
28
28
|
value: "date"
|
|
29
29
|
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
30
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
31
31
|
createTextVNode("日")
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [1]
|
|
34
35
|
}),
|
|
35
36
|
createVNode(_component_a_select_option, {
|
|
36
37
|
label: "week",
|
|
37
38
|
value: "week"
|
|
38
39
|
}, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
41
|
createTextVNode("周")
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [2]
|
|
43
45
|
}),
|
|
44
46
|
createVNode(_component_a_select_option, {
|
|
45
47
|
label: "month",
|
|
46
48
|
value: "month"
|
|
47
49
|
}, {
|
|
48
|
-
default: withCtx(() => [
|
|
50
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
49
51
|
createTextVNode("月")
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
+
])),
|
|
53
|
+
_: 1,
|
|
54
|
+
__: [3]
|
|
52
55
|
}),
|
|
53
56
|
createVNode(_component_a_select_option, {
|
|
54
57
|
label: "quarter",
|
|
55
58
|
value: "quarter"
|
|
56
59
|
}, {
|
|
57
|
-
default: withCtx(() => [
|
|
60
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
58
61
|
createTextVNode("季")
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
62
|
+
])),
|
|
63
|
+
_: 1,
|
|
64
|
+
__: [4]
|
|
61
65
|
}),
|
|
62
66
|
createVNode(_component_a_select_option, {
|
|
63
67
|
label: "year",
|
|
64
68
|
value: "year"
|
|
65
69
|
}, {
|
|
66
|
-
default: withCtx(() => [
|
|
70
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
67
71
|
createTextVNode("年")
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
72
|
+
])),
|
|
73
|
+
_: 1,
|
|
74
|
+
__: [5]
|
|
70
75
|
})
|
|
71
76
|
]),
|
|
72
77
|
_: 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
|
|
@@ -28,46 +28,51 @@ 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日",
|
|
38
39
|
value: "YYYY年MM月DD日"
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
41
42
|
createTextVNode(" YYYY年MM月DD日 ")
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
43
|
+
])),
|
|
44
|
+
_: 1,
|
|
45
|
+
__: [2]
|
|
44
46
|
}),
|
|
45
47
|
createVNode(_component_a_select_option, {
|
|
46
48
|
label: "YYYY-MM-DD HH:mm:ss",
|
|
47
49
|
value: "YYYY-MM-DD HH:mm:ss"
|
|
48
50
|
}, {
|
|
49
|
-
default: withCtx(() => [
|
|
51
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
50
52
|
createTextVNode(" YYYY-MM-DD HH:mm:ss ")
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
+
])),
|
|
54
|
+
_: 1,
|
|
55
|
+
__: [3]
|
|
53
56
|
}),
|
|
54
57
|
createVNode(_component_a_select_option, {
|
|
55
58
|
label: "YYYY:MM",
|
|
56
59
|
value: "YYYY:MM"
|
|
57
60
|
}, {
|
|
58
|
-
default: withCtx(() => [
|
|
61
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
59
62
|
createTextVNode("YYYY:MM")
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
63
|
+
])),
|
|
64
|
+
_: 1,
|
|
65
|
+
__: [4]
|
|
62
66
|
}),
|
|
63
67
|
createVNode(_component_a_select_option, {
|
|
64
68
|
label: "YYYY",
|
|
65
69
|
value: "YYYY"
|
|
66
70
|
}, {
|
|
67
|
-
default: withCtx(() => [
|
|
71
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
68
72
|
createTextVNode("YYYY")
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
73
|
+
])),
|
|
74
|
+
_: 1,
|
|
75
|
+
__: [5]
|
|
71
76
|
})
|
|
72
77
|
]),
|
|
73
78
|
_: 1
|