form-custom-test 3.0.224 → 3.0.225
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 +22 -20
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +22 -20
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26648,13 +26648,13 @@ function registerIcon(app) {
|
|
|
26648
26648
|
if (typeof window !== "undefined") {
|
|
26649
26649
|
let loadSvg = function() {
|
|
26650
26650
|
var body = document.body;
|
|
26651
|
-
var svgDom = document.getElementById("
|
|
26651
|
+
var svgDom = document.getElementById("__svg__icons__dom__1783071142558__");
|
|
26652
26652
|
if (!svgDom) {
|
|
26653
26653
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26654
26654
|
svgDom.style.position = "absolute";
|
|
26655
26655
|
svgDom.style.width = "0";
|
|
26656
26656
|
svgDom.style.height = "0";
|
|
26657
|
-
svgDom.id = "
|
|
26657
|
+
svgDom.id = "__svg__icons__dom__1783071142558__";
|
|
26658
26658
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26659
26659
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26660
26660
|
}
|
|
@@ -64194,17 +64194,17 @@ const _sfc_main$e = {
|
|
|
64194
64194
|
};
|
|
64195
64195
|
const _hoisted_1$8 = {
|
|
64196
64196
|
key: 0,
|
|
64197
|
-
class: "document-selected-list"
|
|
64198
|
-
};
|
|
64199
|
-
const _hoisted_2$6 = ["onClick"];
|
|
64200
|
-
const _hoisted_3$4 = {
|
|
64201
|
-
key: 1,
|
|
64202
64197
|
class: "document-selected-empty"
|
|
64203
64198
|
};
|
|
64204
|
-
const
|
|
64199
|
+
const _hoisted_2$6 = {
|
|
64205
64200
|
key: 1,
|
|
64206
64201
|
class: "document-select-widget__trigger"
|
|
64207
64202
|
};
|
|
64203
|
+
const _hoisted_3$4 = {
|
|
64204
|
+
key: 2,
|
|
64205
|
+
class: "document-selected-list"
|
|
64206
|
+
};
|
|
64207
|
+
const _hoisted_4$3 = ["onClick"];
|
|
64208
64208
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64209
64209
|
const _component_el_button = resolveComponent("el-button");
|
|
64210
64210
|
const _component_document_dialog = resolveComponent("document-dialog");
|
|
@@ -64228,17 +64228,10 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64228
64228
|
style: normalizeStyle($options.widgetStyle)
|
|
64229
64229
|
}, [
|
|
64230
64230
|
$options.isDisabled ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64231
|
-
|
|
64232
|
-
|
|
64233
|
-
|
|
64234
|
-
|
|
64235
|
-
class: "document-selected-item",
|
|
64236
|
-
onClick: ($event) => $options.handleViewDetail(item)
|
|
64237
|
-
}, toDisplayString($options.getDocumentTitle(item)), 9, _hoisted_2$6);
|
|
64238
|
-
}), 128))
|
|
64239
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$4, "\u6682\u65E0\u5173\u8054\u516C\u6587"))
|
|
64240
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
64241
|
-
createVNode(_component_el_button, {
|
|
64231
|
+
!$options.selectedList.length ? (openBlock(), createElementBlock("div", _hoisted_1$8, "\u6682\u65E0\u5173\u8054\u516C\u6587")) : createCommentVNode("", true)
|
|
64232
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
64233
|
+
!$options.selectedList.length ? (openBlock(), createBlock(_component_el_button, {
|
|
64234
|
+
key: 0,
|
|
64242
64235
|
type: "primary",
|
|
64243
64236
|
class: "document-select-widget__button",
|
|
64244
64237
|
plain: "",
|
|
@@ -64250,8 +64243,17 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64250
64243
|
createTextVNode(toDisplayString($props.field.options.buttonText || "\u9009\u62E9\u6587\u6863"), 1)
|
|
64251
64244
|
]),
|
|
64252
64245
|
_: 1
|
|
64253
|
-
}, 8, ["onClick"])
|
|
64246
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
64254
64247
|
])),
|
|
64248
|
+
$options.selectedList.length ? (openBlock(), createElementBlock("ul", _hoisted_3$4, [
|
|
64249
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectedList, (item) => {
|
|
64250
|
+
return openBlock(), createElementBlock("li", {
|
|
64251
|
+
key: $options.getDocumentKey(item),
|
|
64252
|
+
class: "document-selected-item",
|
|
64253
|
+
onClick: ($event) => $options.handleViewDetail(item)
|
|
64254
|
+
}, toDisplayString($options.getDocumentTitle(item)), 9, _hoisted_4$3);
|
|
64255
|
+
}), 128))
|
|
64256
|
+
])) : createCommentVNode("", true),
|
|
64255
64257
|
createVNode(_component_document_dialog, {
|
|
64256
64258
|
"dialog-visible": $data.dialogVisible,
|
|
64257
64259
|
onClose: $options.handleClose,
|