@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
|
@@ -178,6 +178,12 @@ const _sfc_main = {
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
|
+
const _hoisted_1 = { class: "side-scroll-bar" };
|
|
182
|
+
const _hoisted_2 = { class: "panel-container" };
|
|
183
|
+
const _hoisted_3 = ["title", "onDblclick"];
|
|
184
|
+
const _hoisted_4 = ["title", "onDblclick"];
|
|
185
|
+
const _hoisted_5 = ["title", "onDblclick"];
|
|
186
|
+
const _hoisted_7 = ["title", "onDblclick"];
|
|
181
187
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
182
188
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
183
189
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -188,8 +194,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
188
194
|
resolveComponent("a-button");
|
|
189
195
|
resolveComponent("a-card");
|
|
190
196
|
const _component_a_tabs = resolveComponent("a-tabs");
|
|
191
|
-
return openBlock(), createElementBlock("div",
|
|
192
|
-
createElementVNode("div",
|
|
197
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
198
|
+
createElementVNode("div", _hoisted_2, [
|
|
193
199
|
createVNode(_component_a_tabs, {
|
|
194
200
|
activeKey: $data.firstTab,
|
|
195
201
|
"onUpdate:activeKey": _cache[1] || (_cache[1] = ($event) => $data.firstTab = $event),
|
|
@@ -242,7 +248,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
242
248
|
`extension.widgetLabel.${ctn.type}`
|
|
243
249
|
)), 1)
|
|
244
250
|
])
|
|
245
|
-
], 40,
|
|
251
|
+
], 40, _hoisted_3)
|
|
246
252
|
]),
|
|
247
253
|
_: 1
|
|
248
254
|
}, 8, ["list", "clone", "move", "onEnd"])
|
|
@@ -280,7 +286,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
280
286
|
`extension.widgetLabel.${fld.type}`
|
|
281
287
|
)), 1)
|
|
282
288
|
])
|
|
283
|
-
], 40,
|
|
289
|
+
], 40, _hoisted_4)
|
|
284
290
|
]),
|
|
285
291
|
_: 1
|
|
286
292
|
}, 8, ["list", "move", "clone"])
|
|
@@ -318,7 +324,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
318
324
|
`extension.widgetLabel.${fld.type}`
|
|
319
325
|
)), 1)
|
|
320
326
|
])
|
|
321
|
-
], 40,
|
|
327
|
+
], 40, _hoisted_5)
|
|
322
328
|
]),
|
|
323
329
|
_: 1
|
|
324
330
|
}, 8, ["list", "move", "clone"])
|
|
@@ -357,7 +363,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
357
363
|
`extension.widgetLabel.${fld.type}`
|
|
358
364
|
)), 1)
|
|
359
365
|
])
|
|
360
|
-
], 40,
|
|
366
|
+
], 40, _hoisted_7)
|
|
361
367
|
]),
|
|
362
368
|
_: 1
|
|
363
369
|
}, 8, ["list", "move", "clone"])
|
|
@@ -100,6 +100,8 @@ const _sfc_main = {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
+
const _hoisted_1 = { class: "blank-cell" };
|
|
104
|
+
const _hoisted_2 = { class: "invisible-content" };
|
|
103
105
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
104
106
|
const _component_a_col = resolveComponent("a-col");
|
|
105
107
|
return withDirectives((openBlock(), createBlock(_component_a_col, mergeProps({
|
|
@@ -152,8 +154,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
152
154
|
], 64);
|
|
153
155
|
}), 256)) : (openBlock(), createBlock(_component_a_col, { key: 1 }, {
|
|
154
156
|
default: withCtx(() => [
|
|
155
|
-
createElementVNode("div",
|
|
156
|
-
createElementVNode("span",
|
|
157
|
+
createElementVNode("div", _hoisted_1, [
|
|
158
|
+
createElementVNode("span", _hoisted_2, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
157
159
|
])
|
|
158
160
|
]),
|
|
159
161
|
_: 1
|
|
@@ -283,6 +283,10 @@ const _sfc_main = {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
|
+
const _hoisted_1 = { class: "row-no-column" };
|
|
287
|
+
const _hoisted_2 = { class: "row-number-span" };
|
|
288
|
+
const _hoisted_3 = { class: "grid-sub-form-data-row" };
|
|
289
|
+
const _hoisted_4 = { class: "header-row" };
|
|
286
290
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
287
291
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
288
292
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -330,10 +334,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
330
334
|
[vShow, !$options.isReadMode]
|
|
331
335
|
])
|
|
332
336
|
], 2),
|
|
333
|
-
createElementVNode("div",
|
|
334
|
-
createElementVNode("span",
|
|
337
|
+
createElementVNode("div", _hoisted_1, [
|
|
338
|
+
createElementVNode("span", _hoisted_2, "#" + toDisplayString(sfrIdx + 1), 1)
|
|
335
339
|
]),
|
|
336
|
-
createElementVNode("div",
|
|
340
|
+
createElementVNode("div", _hoisted_3, [
|
|
337
341
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
338
342
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.getComponentByContainer(subWidget)), {
|
|
339
343
|
key: $data.widgetSchemaData[sfrIdx][swIdx].id,
|
|
@@ -349,7 +353,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
349
353
|
])
|
|
350
354
|
]);
|
|
351
355
|
}), 128)),
|
|
352
|
-
createElementVNode("div",
|
|
356
|
+
createElementVNode("div", _hoisted_4, [
|
|
353
357
|
!$options.isReadMode ? (openBlock(), createBlock(_component_a_button, {
|
|
354
358
|
key: 0,
|
|
355
359
|
block: "",
|
|
@@ -262,6 +262,31 @@ const _sfc_main = {
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
|
+
const _hoisted_1 = { class: "action-header-column" };
|
|
266
|
+
const _hoisted_2 = { class: "action-label" };
|
|
267
|
+
const _hoisted_3 = {
|
|
268
|
+
key: 0,
|
|
269
|
+
class: "row-no-header-column"
|
|
270
|
+
};
|
|
271
|
+
const _hoisted_4 = {
|
|
272
|
+
key: 0,
|
|
273
|
+
class: "custom-label"
|
|
274
|
+
};
|
|
275
|
+
const _hoisted_5 = ["title"];
|
|
276
|
+
const _hoisted_6 = { class: "action-header-column" };
|
|
277
|
+
const _hoisted_7 = { class: "action-label" };
|
|
278
|
+
const _hoisted_8 = { class: "sub-form-action-column hide-label" };
|
|
279
|
+
const _hoisted_9 = { class: "action-button-column" };
|
|
280
|
+
const _hoisted_10 = {
|
|
281
|
+
key: 0,
|
|
282
|
+
class: "row-no-column"
|
|
283
|
+
};
|
|
284
|
+
const _hoisted_11 = {
|
|
285
|
+
key: 0,
|
|
286
|
+
class: "row-number-span"
|
|
287
|
+
};
|
|
288
|
+
const _hoisted_12 = { class: "sub-form-action-column hide-label" };
|
|
289
|
+
const _hoisted_13 = { class: "action-button-column" };
|
|
265
290
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
266
291
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
267
292
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -276,8 +301,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
276
301
|
}, [
|
|
277
302
|
createVNode(_component_a_row, { class: "header-row" }, {
|
|
278
303
|
default: withCtx(() => [
|
|
279
|
-
createElementVNode("div",
|
|
280
|
-
createElementVNode("span",
|
|
304
|
+
createElementVNode("div", _hoisted_1, [
|
|
305
|
+
createElementVNode("span", _hoisted_2, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
281
306
|
!$options.isReadMode ? (openBlock(), createBlock(_component_a_button, {
|
|
282
307
|
key: 0,
|
|
283
308
|
disabled: $data.actionDisabled || $data.insertDisabled,
|
|
@@ -295,10 +320,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
295
320
|
_: 1
|
|
296
321
|
}, 8, ["disabled", "onClick", "title"])) : createCommentVNode("", true)
|
|
297
322
|
]),
|
|
298
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div",
|
|
299
|
-
key: 0,
|
|
300
|
-
class: "row-no-header-column"
|
|
301
|
-
}, [
|
|
323
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
302
324
|
createElementVNode("span", null, toDisplayString(_ctx.i18nt("render.hint.subFormRowNo")), 1)
|
|
303
325
|
])) : createCommentVNode("", true),
|
|
304
326
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget) => {
|
|
@@ -313,10 +335,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
313
335
|
]]),
|
|
314
336
|
style: normalizeStyle({ width: subWidget.options.columnWidth })
|
|
315
337
|
}, [
|
|
316
|
-
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span",
|
|
317
|
-
key: 0,
|
|
318
|
-
class: "custom-label"
|
|
319
|
-
}, [
|
|
338
|
+
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
320
339
|
subWidget.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
321
340
|
!!subWidget.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
322
341
|
createVNode(_component_a_tooltip, {
|
|
@@ -359,12 +378,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
359
378
|
])) : (openBlock(), createElementBlock("span", {
|
|
360
379
|
key: 1,
|
|
361
380
|
title: subWidget.options.labelTooltip
|
|
362
|
-
}, toDisplayString(subWidget.options.label), 9,
|
|
381
|
+
}, toDisplayString(subWidget.options.label), 9, _hoisted_5))
|
|
363
382
|
], 6)) : createCommentVNode("", true)
|
|
364
383
|
], 64);
|
|
365
384
|
}), 128)),
|
|
366
|
-
createElementVNode("div",
|
|
367
|
-
createElementVNode("span",
|
|
385
|
+
createElementVNode("div", _hoisted_6, [
|
|
386
|
+
createElementVNode("span", _hoisted_7, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
368
387
|
!$options.isReadMode ? (openBlock(), createBlock(_component_a_button, {
|
|
369
388
|
key: 0,
|
|
370
389
|
disabled: $data.actionDisabled || $data.insertDisabled,
|
|
@@ -391,8 +410,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
391
410
|
key: subFormRowId
|
|
392
411
|
}, {
|
|
393
412
|
default: withCtx(() => [
|
|
394
|
-
createElementVNode("div",
|
|
395
|
-
createElementVNode("div",
|
|
413
|
+
createElementVNode("div", _hoisted_8, [
|
|
414
|
+
createElementVNode("div", _hoisted_9, [
|
|
396
415
|
withDirectives(createVNode(_component_a_button, {
|
|
397
416
|
disabled: $data.actionDisabled || $data.insertDisabled,
|
|
398
417
|
shape: "circle",
|
|
@@ -421,14 +440,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
421
440
|
])
|
|
422
441
|
])
|
|
423
442
|
]),
|
|
424
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div",
|
|
425
|
-
|
|
426
|
-
class: "row-no-column"
|
|
427
|
-
}, [
|
|
428
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", {
|
|
429
|
-
key: 0,
|
|
430
|
-
class: "row-number-span"
|
|
431
|
-
}, "#" + toDisplayString(sfrIdx + 1), 1)) : createCommentVNode("", true)
|
|
443
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
444
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_11, "#" + toDisplayString(sfrIdx + 1), 1)) : createCommentVNode("", true)
|
|
432
445
|
])) : createCommentVNode("", true),
|
|
433
446
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
434
447
|
return openBlock(), createElementBlock(Fragment, {
|
|
@@ -451,8 +464,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
451
464
|
], 4)) : createCommentVNode("", true)
|
|
452
465
|
], 64);
|
|
453
466
|
}), 128)),
|
|
454
|
-
createElementVNode("div",
|
|
455
|
-
createElementVNode("div",
|
|
467
|
+
createElementVNode("div", _hoisted_12, [
|
|
468
|
+
createElementVNode("div", _hoisted_13, [
|
|
456
469
|
withDirectives(createVNode(_component_a_button, {
|
|
457
470
|
disabled: $data.actionDisabled || $data.insertDisabled,
|
|
458
471
|
shape: "circle",
|
|
@@ -42,6 +42,7 @@ const _sfc_main = {
|
|
|
42
42
|
},
|
|
43
43
|
methods: {}
|
|
44
44
|
};
|
|
45
|
+
const _hoisted_1 = ["colspan", "rowspan"];
|
|
45
46
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46
47
|
return openBlock(), createElementBlock("td", {
|
|
47
48
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
@@ -93,7 +94,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
93
94
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"]))
|
|
94
95
|
], 64);
|
|
95
96
|
}), 256))
|
|
96
|
-
], 14,
|
|
97
|
+
], 14, _hoisted_1);
|
|
97
98
|
}
|
|
98
99
|
const TableCellItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ae7f3b63"]]);
|
|
99
100
|
export {
|
|
@@ -131,6 +131,8 @@ const _sfc_main = {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
+
const _hoisted_1 = { class: "tpf-collapse" };
|
|
135
|
+
const _hoisted_2 = { class: "tpf-collapse-header" };
|
|
134
136
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
137
|
const _component_TpfCollapseTitle = resolveComponent("TpfCollapseTitle");
|
|
136
138
|
const _component_SvgIcon = resolveComponent("SvgIcon");
|
|
@@ -138,8 +140,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
138
140
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
139
141
|
return withDirectives((openBlock(), createBlock(_component_container_item_wrapper, { widget: $props.widget }, {
|
|
140
142
|
default: withCtx(() => [
|
|
141
|
-
createElementVNode("div",
|
|
142
|
-
createElementVNode("div",
|
|
143
|
+
createElementVNode("div", _hoisted_1, [
|
|
144
|
+
createElementVNode("div", _hoisted_2, [
|
|
143
145
|
createVNode(_component_a_space, { size: 5 }, {
|
|
144
146
|
default: withCtx(() => [
|
|
145
147
|
createVNode(_component_TpfCollapseTitle, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, getCurrentInstance, computed, onBeforeUnmount, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, withDirectives, createElementBlock, nextTick } from "vue";
|
|
2
2
|
import { useComRef, TpfConfigProvider, TpfModal, http } from "tmgc2-share";
|
|
3
3
|
import _sfc_main$1 from "./SubmitButtonRender.vue.js";
|
|
4
|
+
const _hoisted_1 = { class: "dialog-content" };
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
...{
|
|
6
7
|
name: "dynamic-dialog"
|
|
@@ -220,7 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
221
|
}, null, 8, ["dialog-visible", "options", "ctx"])
|
|
221
222
|
]),
|
|
222
223
|
default: withCtx(() => [
|
|
223
|
-
withDirectives((openBlock(), createElementBlock("div",
|
|
224
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
224
225
|
createVNode(unref(VFormRender), {
|
|
225
226
|
isLoading: isLoading.value,
|
|
226
227
|
ref_key: "dFormRef",
|
|
@@ -144,6 +144,7 @@ const _sfc_main = {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
+
const _hoisted_1 = { style: { "float": "right" } };
|
|
147
148
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
148
149
|
const _component_VFormRender = resolveComponent("VFormRender");
|
|
149
150
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -167,7 +168,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
167
168
|
onOpened: $options.handleOpenedEvent
|
|
168
169
|
}, {
|
|
169
170
|
footer: withCtx(() => [
|
|
170
|
-
createElementVNode("div",
|
|
171
|
+
createElementVNode("div", _hoisted_1, [
|
|
171
172
|
!$props.options.cancelButtonHidden ? (openBlock(), createBlock(_component_a_button, {
|
|
172
173
|
key: 0,
|
|
173
174
|
onClick: $options.handleCancelClick
|
|
@@ -116,28 +116,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
116
116
|
}, {
|
|
117
117
|
default: withCtx(() => [
|
|
118
118
|
createVNode(_component_a_radio_button, { value: "get" }, {
|
|
119
|
-
default: withCtx(() => [
|
|
119
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
120
120
|
createTextVNode("get")
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
121
|
+
])),
|
|
122
|
+
_: 1,
|
|
123
|
+
__: [10]
|
|
123
124
|
}),
|
|
124
125
|
createVNode(_component_a_radio_button, { value: "post" }, {
|
|
125
|
-
default: withCtx(() => [
|
|
126
|
+
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
126
127
|
createTextVNode("post")
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
128
|
+
])),
|
|
129
|
+
_: 1,
|
|
130
|
+
__: [11]
|
|
129
131
|
}),
|
|
130
132
|
createVNode(_component_a_radio_button, { value: "put" }, {
|
|
131
|
-
default: withCtx(() => [
|
|
133
|
+
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
132
134
|
createTextVNode("put")
|
|
133
|
-
]),
|
|
134
|
-
_: 1
|
|
135
|
+
])),
|
|
136
|
+
_: 1,
|
|
137
|
+
__: [12]
|
|
135
138
|
}),
|
|
136
139
|
createVNode(_component_a_radio_button, { value: "delete" }, {
|
|
137
|
-
default: withCtx(() => [
|
|
140
|
+
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
138
141
|
createTextVNode("delete")
|
|
139
|
-
]),
|
|
140
|
-
_: 1
|
|
142
|
+
])),
|
|
143
|
+
_: 1,
|
|
144
|
+
__: [13]
|
|
141
145
|
})
|
|
142
146
|
]),
|
|
143
147
|
_: 1
|
|
@@ -201,10 +205,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
201
205
|
type: "primary",
|
|
202
206
|
onClick: ($event) => $options.deleteRequestParam(pIdx)
|
|
203
207
|
}, {
|
|
204
|
-
default: withCtx(() => [
|
|
208
|
+
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
205
209
|
createTextVNode(" 删除 ")
|
|
206
|
-
]),
|
|
207
|
-
_: 2
|
|
210
|
+
])),
|
|
211
|
+
_: 2,
|
|
212
|
+
__: [14]
|
|
208
213
|
}, 1032, ["onClick"])
|
|
209
214
|
]),
|
|
210
215
|
_: 2
|
|
@@ -291,10 +296,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
296
|
type: "primary",
|
|
292
297
|
onClick: ($event) => $options.deleteRequestData(dIdx)
|
|
293
298
|
}, {
|
|
294
|
-
default: withCtx(() => [
|
|
299
|
+
default: withCtx(() => _cache[15] || (_cache[15] = [
|
|
295
300
|
createTextVNode(" 删除 ")
|
|
296
|
-
]),
|
|
297
|
-
_: 2
|
|
301
|
+
])),
|
|
302
|
+
_: 2,
|
|
303
|
+
__: [15]
|
|
298
304
|
}, 1032, ["onClick"])
|
|
299
305
|
]),
|
|
300
306
|
_: 2
|
|
@@ -333,10 +339,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
333
339
|
onClick: $options.editReqDataHandlerCode,
|
|
334
340
|
class: normalizeClass([$props.optionModel.dataReqHandlerCode ? "button-text-highlight" : ""])
|
|
335
341
|
}, {
|
|
336
|
-
default: withCtx(() => [
|
|
342
|
+
default: withCtx(() => _cache[16] || (_cache[16] = [
|
|
337
343
|
createTextVNode(" 处理函数配置 ")
|
|
338
|
-
]),
|
|
339
|
-
_: 1
|
|
344
|
+
])),
|
|
345
|
+
_: 1,
|
|
346
|
+
__: [16]
|
|
340
347
|
}, 8, ["onClick", "class"])
|
|
341
348
|
]),
|
|
342
349
|
_: 1
|
|
@@ -349,10 +356,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
349
356
|
onClick: $options.editDataHandlerCode,
|
|
350
357
|
class: normalizeClass([$props.optionModel.dataHandlerCode ? "button-text-highlight" : ""])
|
|
351
358
|
}, {
|
|
352
|
-
default: withCtx(() => [
|
|
359
|
+
default: withCtx(() => _cache[17] || (_cache[17] = [
|
|
353
360
|
createTextVNode(" 处理函数配置 ")
|
|
354
|
-
]),
|
|
355
|
-
_: 1
|
|
361
|
+
])),
|
|
362
|
+
_: 1,
|
|
363
|
+
__: [17]
|
|
356
364
|
}, 8, ["onClick", "class"])
|
|
357
365
|
]),
|
|
358
366
|
_: 1
|
|
@@ -2,6 +2,7 @@ import _sfc_main from "./ActionButtonListDialog.vue2.js";
|
|
|
2
2
|
import { resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createBlock, createCommentVNode, createTextVNode, normalizeClass, toDisplayString } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _hoisted_1 = { class: "add-btn" };
|
|
5
6
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
7
|
const _component_a_input = resolveComponent("a-input");
|
|
7
8
|
const _component_a_select_option = resolveComponent("a-select-option");
|
|
@@ -35,40 +36,46 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35
36
|
}, {
|
|
36
37
|
default: withCtx(() => [
|
|
37
38
|
createVNode(_component_a_select_option, { value: "primary" }, {
|
|
38
|
-
default: withCtx(() => [
|
|
39
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
39
40
|
createTextVNode("primary")
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
41
|
+
])),
|
|
42
|
+
_: 1,
|
|
43
|
+
__: [0]
|
|
42
44
|
}),
|
|
43
45
|
createVNode(_component_a_select_option, { value: "ghost" }, {
|
|
44
|
-
default: withCtx(() => [
|
|
46
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
45
47
|
createTextVNode("ghost")
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
+
])),
|
|
49
|
+
_: 1,
|
|
50
|
+
__: [1]
|
|
48
51
|
}),
|
|
49
52
|
createVNode(_component_a_select_option, { value: "dashed" }, {
|
|
50
|
-
default: withCtx(() => [
|
|
53
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
51
54
|
createTextVNode("dashed")
|
|
52
|
-
]),
|
|
53
|
-
_: 1
|
|
55
|
+
])),
|
|
56
|
+
_: 1,
|
|
57
|
+
__: [2]
|
|
54
58
|
}),
|
|
55
59
|
createVNode(_component_a_select_option, { value: "text" }, {
|
|
56
|
-
default: withCtx(() => [
|
|
60
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
57
61
|
createTextVNode("text")
|
|
58
|
-
]),
|
|
59
|
-
_: 1
|
|
62
|
+
])),
|
|
63
|
+
_: 1,
|
|
64
|
+
__: [3]
|
|
60
65
|
}),
|
|
61
66
|
createVNode(_component_a_select_option, { value: "link" }, {
|
|
62
|
-
default: withCtx(() => [
|
|
67
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
63
68
|
createTextVNode("link")
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
69
|
+
])),
|
|
70
|
+
_: 1,
|
|
71
|
+
__: [4]
|
|
66
72
|
}),
|
|
67
73
|
createVNode(_component_a_select_option, { value: "default" }, {
|
|
68
|
-
default: withCtx(() => [
|
|
74
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
69
75
|
createTextVNode("default")
|
|
70
|
-
]),
|
|
71
|
-
_: 1
|
|
76
|
+
])),
|
|
77
|
+
_: 1,
|
|
78
|
+
__: [5]
|
|
72
79
|
})
|
|
73
80
|
]),
|
|
74
81
|
_: 2
|
|
@@ -82,22 +89,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82
89
|
}, {
|
|
83
90
|
default: withCtx(() => [
|
|
84
91
|
createVNode(_component_a_select_option, { value: "default" }, {
|
|
85
|
-
default: withCtx(() => [
|
|
92
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
86
93
|
createTextVNode("default")
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
94
|
+
])),
|
|
95
|
+
_: 1,
|
|
96
|
+
__: [6]
|
|
89
97
|
}),
|
|
90
98
|
createVNode(_component_a_select_option, { value: "small" }, {
|
|
91
|
-
default: withCtx(() => [
|
|
99
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
92
100
|
createTextVNode("small")
|
|
93
|
-
]),
|
|
94
|
-
_: 1
|
|
101
|
+
])),
|
|
102
|
+
_: 1,
|
|
103
|
+
__: [7]
|
|
95
104
|
}),
|
|
96
105
|
createVNode(_component_a_select_option, { value: "large" }, {
|
|
97
|
-
default: withCtx(() => [
|
|
106
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
98
107
|
createTextVNode("large")
|
|
99
|
-
]),
|
|
100
|
-
_: 1
|
|
108
|
+
])),
|
|
109
|
+
_: 1,
|
|
110
|
+
__: [8]
|
|
101
111
|
})
|
|
102
112
|
]),
|
|
103
113
|
_: 2
|
|
@@ -143,10 +153,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
143
153
|
onClick: ($event) => _ctx.editClickEvent("onClick", record, recordIndexs),
|
|
144
154
|
size: "small"
|
|
145
155
|
}, {
|
|
146
|
-
default: withCtx(() => [
|
|
156
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
147
157
|
createTextVNode(" 点击事件 ")
|
|
148
|
-
]),
|
|
149
|
-
_: 2
|
|
158
|
+
])),
|
|
159
|
+
_: 2,
|
|
160
|
+
__: [9]
|
|
150
161
|
}, 1032, ["class", "onClick"])) : createCommentVNode("", true),
|
|
151
162
|
column.dataIndex === "action" ? (openBlock(), createBlock(_component_a_button, {
|
|
152
163
|
key: 8,
|
|
@@ -154,15 +165,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
154
165
|
onClick: ($event) => _ctx.deleteOperationButton(index),
|
|
155
166
|
size: "small"
|
|
156
167
|
}, {
|
|
157
|
-
default: withCtx(() => [
|
|
168
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
158
169
|
createTextVNode(" 删除 ")
|
|
159
|
-
]),
|
|
160
|
-
_: 2
|
|
170
|
+
])),
|
|
171
|
+
_: 2,
|
|
172
|
+
__: [10]
|
|
161
173
|
}, 1032, ["onClick"])) : createCommentVNode("", true)
|
|
162
174
|
]),
|
|
163
175
|
_: 1
|
|
164
176
|
}, 8, ["data-source", "columns", "row-key"]),
|
|
165
|
-
createElementVNode("div",
|
|
177
|
+
createElementVNode("div", _hoisted_1, [
|
|
166
178
|
createVNode(_component_a_button, {
|
|
167
179
|
type: "primary",
|
|
168
180
|
size: "default",
|
|
@@ -140,8 +140,9 @@ const _sfc_main = {
|
|
|
140
140
|
return { editor };
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
|
+
const _hoisted_1 = { ref: "editor" };
|
|
143
144
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
144
|
-
return openBlock(), createElementBlock("section",
|
|
145
|
+
return openBlock(), createElementBlock("section", _hoisted_1, null, 512);
|
|
145
146
|
}
|
|
146
147
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
147
148
|
export {
|