form-custom-test 3.0.117 → 3.0.119
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/designer.es.js +16 -13
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +74 -74
- package/dist/render.es.js +16 -13
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +63 -63
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26185,13 +26185,13 @@ function registerIcon(app) {
|
|
|
26185
26185
|
if (typeof window !== "undefined") {
|
|
26186
26186
|
let loadSvg = function() {
|
|
26187
26187
|
var body = document.body;
|
|
26188
|
-
var svgDom = document.getElementById("
|
|
26188
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777534622242__");
|
|
26189
26189
|
if (!svgDom) {
|
|
26190
26190
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26191
26191
|
svgDom.style.position = "absolute";
|
|
26192
26192
|
svgDom.style.width = "0";
|
|
26193
26193
|
svgDom.style.height = "0";
|
|
26194
|
-
svgDom.id = "
|
|
26194
|
+
svgDom.id = "__svg__icons__dom__1777534622242__";
|
|
26195
26195
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26196
26196
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26197
26197
|
}
|
|
@@ -35869,7 +35869,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35869
35869
|
_: 1
|
|
35870
35870
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35871
35871
|
}
|
|
35872
|
-
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
35872
|
+
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1fb729c8"]]);
|
|
35873
35873
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35874
35874
|
const _sfc_main$8 = {
|
|
35875
35875
|
name: "sub-table-item",
|
|
@@ -36248,7 +36248,6 @@ const _hoisted_2$5 = {
|
|
|
36248
36248
|
const _hoisted_3$3 = { class: "table-toolbar" };
|
|
36249
36249
|
const _hoisted_4$2 = { class: "dialog-footer" };
|
|
36250
36250
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36251
|
-
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36252
36251
|
const _component_el_button = resolveComponent("el-button");
|
|
36253
36252
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
36254
36253
|
const _component_el_table = resolveComponent("el-table");
|
|
@@ -36280,12 +36279,12 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36280
36279
|
type: "primary",
|
|
36281
36280
|
size: "small",
|
|
36282
36281
|
disabled: $props.widget.options.disabled,
|
|
36283
|
-
onClick: $options.handleAddRow
|
|
36282
|
+
onClick: $options.handleAddRow,
|
|
36283
|
+
icon: "el-icon-plus"
|
|
36284
36284
|
}, {
|
|
36285
|
-
default: withCtx(() => [
|
|
36286
|
-
|
|
36287
|
-
|
|
36288
|
-
]),
|
|
36285
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
36286
|
+
createTextVNode(" \u65B0\u589E ", -1)
|
|
36287
|
+
])]),
|
|
36289
36288
|
_: 1
|
|
36290
36289
|
}, 8, ["disabled", "onClick"])) : createCommentVNode("", true)
|
|
36291
36290
|
]),
|
|
@@ -36503,7 +36502,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36503
36502
|
_: 1
|
|
36504
36503
|
}, 8, ["widget"]);
|
|
36505
36504
|
}
|
|
36506
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
36505
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-21c20fec"]]);
|
|
36507
36506
|
var ace$2 = { exports: {} };
|
|
36508
36507
|
(function(module, exports) {
|
|
36509
36508
|
(function() {
|
|
@@ -62929,6 +62928,9 @@ const _sfc_main$1 = {
|
|
|
62929
62928
|
this.unregisterFromRefList();
|
|
62930
62929
|
},
|
|
62931
62930
|
methods: {
|
|
62931
|
+
handleShowIsUpdate() {
|
|
62932
|
+
return !(this.field.options.disabled || !this.field.options.clickRow);
|
|
62933
|
+
},
|
|
62932
62934
|
handleClose() {
|
|
62933
62935
|
this.dialogVisible = false;
|
|
62934
62936
|
this.triggerEvent("onClose");
|
|
@@ -63092,17 +63094,18 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63092
63094
|
]),
|
|
63093
63095
|
_: 1
|
|
63094
63096
|
}),
|
|
63095
|
-
|
|
63097
|
+
$options.handleShowIsUpdate() ? (openBlock(), createBlock(_component_el_table_column, {
|
|
63098
|
+
key: 0,
|
|
63096
63099
|
prop: "isUpdate",
|
|
63097
63100
|
align: "center",
|
|
63098
63101
|
"header-align": "center",
|
|
63099
63102
|
label: "\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"
|
|
63100
63103
|
}, {
|
|
63101
63104
|
default: withCtx(({ row }) => [
|
|
63102
|
-
createTextVNode(toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
|
|
63105
|
+
createTextVNode(toDisplayString($props.field.options.clickRow) + " " + toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
|
|
63103
63106
|
]),
|
|
63104
63107
|
_: 1
|
|
63105
|
-
})
|
|
63108
|
+
})) : createCommentVNode("", true)
|
|
63106
63109
|
]),
|
|
63107
63110
|
_: 1
|
|
63108
63111
|
}, 8, ["data"])
|