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/designer.es.js
CHANGED
|
@@ -69322,13 +69322,13 @@ function registerIcon(app) {
|
|
|
69322
69322
|
if (typeof window !== "undefined") {
|
|
69323
69323
|
let loadSvg = function() {
|
|
69324
69324
|
var body = document.body;
|
|
69325
|
-
var svgDom = document.getElementById("
|
|
69325
|
+
var svgDom = document.getElementById("__svg__icons__dom__1783071130603__");
|
|
69326
69326
|
if (!svgDom) {
|
|
69327
69327
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69328
69328
|
svgDom.style.position = "absolute";
|
|
69329
69329
|
svgDom.style.width = "0";
|
|
69330
69330
|
svgDom.style.height = "0";
|
|
69331
|
-
svgDom.id = "
|
|
69331
|
+
svgDom.id = "__svg__icons__dom__1783071130603__";
|
|
69332
69332
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69333
69333
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69334
69334
|
}
|
|
@@ -81322,17 +81322,17 @@ const _sfc_main$e = {
|
|
|
81322
81322
|
};
|
|
81323
81323
|
const _hoisted_1$8 = {
|
|
81324
81324
|
key: 0,
|
|
81325
|
-
class: "document-selected-list"
|
|
81326
|
-
};
|
|
81327
|
-
const _hoisted_2$6 = ["onClick"];
|
|
81328
|
-
const _hoisted_3$4 = {
|
|
81329
|
-
key: 1,
|
|
81330
81325
|
class: "document-selected-empty"
|
|
81331
81326
|
};
|
|
81332
|
-
const
|
|
81327
|
+
const _hoisted_2$6 = {
|
|
81333
81328
|
key: 1,
|
|
81334
81329
|
class: "document-select-widget__trigger"
|
|
81335
81330
|
};
|
|
81331
|
+
const _hoisted_3$4 = {
|
|
81332
|
+
key: 2,
|
|
81333
|
+
class: "document-selected-list"
|
|
81334
|
+
};
|
|
81335
|
+
const _hoisted_4$3 = ["onClick"];
|
|
81336
81336
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81337
81337
|
const _component_el_button = resolveComponent("el-button");
|
|
81338
81338
|
const _component_document_dialog = resolveComponent("document-dialog");
|
|
@@ -81356,17 +81356,10 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81356
81356
|
style: normalizeStyle($options.widgetStyle)
|
|
81357
81357
|
}, [
|
|
81358
81358
|
$options.isDisabled ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
81359
|
-
|
|
81360
|
-
|
|
81361
|
-
|
|
81362
|
-
|
|
81363
|
-
class: "document-selected-item",
|
|
81364
|
-
onClick: ($event) => $options.handleViewDetail(item)
|
|
81365
|
-
}, toDisplayString($options.getDocumentTitle(item)), 9, _hoisted_2$6);
|
|
81366
|
-
}), 128))
|
|
81367
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$4, "\u6682\u65E0\u5173\u8054\u516C\u6587"))
|
|
81368
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
81369
|
-
createVNode(_component_el_button, {
|
|
81359
|
+
!$options.selectedList.length ? (openBlock(), createElementBlock("div", _hoisted_1$8, "\u6682\u65E0\u5173\u8054\u516C\u6587")) : createCommentVNode("", true)
|
|
81360
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
81361
|
+
!$options.selectedList.length ? (openBlock(), createBlock(_component_el_button, {
|
|
81362
|
+
key: 0,
|
|
81370
81363
|
type: "primary",
|
|
81371
81364
|
class: "document-select-widget__button",
|
|
81372
81365
|
plain: "",
|
|
@@ -81378,8 +81371,17 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81378
81371
|
createTextVNode(toDisplayString($props.field.options.buttonText || "\u9009\u62E9\u6587\u6863"), 1)
|
|
81379
81372
|
]),
|
|
81380
81373
|
_: 1
|
|
81381
|
-
}, 8, ["onClick"])
|
|
81374
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
81382
81375
|
])),
|
|
81376
|
+
$options.selectedList.length ? (openBlock(), createElementBlock("ul", _hoisted_3$4, [
|
|
81377
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectedList, (item) => {
|
|
81378
|
+
return openBlock(), createElementBlock("li", {
|
|
81379
|
+
key: $options.getDocumentKey(item),
|
|
81380
|
+
class: "document-selected-item",
|
|
81381
|
+
onClick: ($event) => $options.handleViewDetail(item)
|
|
81382
|
+
}, toDisplayString($options.getDocumentTitle(item)), 9, _hoisted_4$3);
|
|
81383
|
+
}), 128))
|
|
81384
|
+
])) : createCommentVNode("", true),
|
|
81383
81385
|
createVNode(_component_document_dialog, {
|
|
81384
81386
|
"dialog-visible": $data.dialogVisible,
|
|
81385
81387
|
onClose: $options.handleClose,
|