form-custom-test 3.0.74 → 3.0.76
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 +20 -18
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +20 -18
- package/dist/render.style.css +2 -2
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -12325,13 +12325,14 @@ const _hoisted_2$m = {
|
|
|
12325
12325
|
key: 0,
|
|
12326
12326
|
class: "el-upload__tip"
|
|
12327
12327
|
};
|
|
12328
|
-
const _hoisted_3$i = { class: "
|
|
12329
|
-
const _hoisted_4$g = { class: "
|
|
12330
|
-
const _hoisted_5$d =
|
|
12331
|
-
const _hoisted_6$d =
|
|
12332
|
-
const _hoisted_7$a =
|
|
12333
|
-
const _hoisted_8$7 = ["onClick"];
|
|
12328
|
+
const _hoisted_3$i = { class: "sub-tip" };
|
|
12329
|
+
const _hoisted_4$g = { class: "upload-file-list" };
|
|
12330
|
+
const _hoisted_5$d = { class: "left-wrap" };
|
|
12331
|
+
const _hoisted_6$d = ["title"];
|
|
12332
|
+
const _hoisted_7$a = { class: "right-wrap" };
|
|
12333
|
+
const _hoisted_8$7 = ["title", "onClick"];
|
|
12334
12334
|
const _hoisted_9$6 = ["onClick"];
|
|
12335
|
+
const _hoisted_10$5 = ["onClick"];
|
|
12335
12336
|
function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12336
12337
|
const _component_el_button = resolveComponent("el-button");
|
|
12337
12338
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -12375,14 +12376,14 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12375
12376
|
!!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
|
|
12376
12377
|
]),
|
|
12377
12378
|
file: withCtx(({ file }) => [
|
|
12378
|
-
createElementVNode("div",
|
|
12379
|
-
createElementVNode("div",
|
|
12379
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
12380
|
+
createElementVNode("div", _hoisted_5$d, [
|
|
12380
12381
|
createElementVNode("span", {
|
|
12381
12382
|
class: "upload-file-name",
|
|
12382
12383
|
title: file.name
|
|
12383
|
-
}, toDisplayString(file.name), 9,
|
|
12384
|
+
}, toDisplayString(file.name), 9, _hoisted_6$d)
|
|
12384
12385
|
]),
|
|
12385
|
-
createElementVNode("div",
|
|
12386
|
+
createElementVNode("div", _hoisted_7$a, [
|
|
12386
12387
|
!_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
12387
12388
|
key: 0,
|
|
12388
12389
|
class: "file-action",
|
|
@@ -12393,17 +12394,17 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12393
12394
|
src: _imports_1,
|
|
12394
12395
|
alt: ""
|
|
12395
12396
|
}, null, -1)
|
|
12396
|
-
])], 8,
|
|
12397
|
+
])], 8, _hoisted_8$7)) : createCommentVNode("", true),
|
|
12397
12398
|
_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
12398
12399
|
key: 1,
|
|
12399
12400
|
onClick: withModifiers(($event) => $options.handlePreview(file), ["stop"]),
|
|
12400
12401
|
class: "pr-8px color-primary cursor-pointer"
|
|
12401
|
-
}, " \u9884\u89C8 ", 8,
|
|
12402
|
+
}, " \u9884\u89C8 ", 8, _hoisted_9$6)) : createCommentVNode("", true),
|
|
12402
12403
|
_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
12403
12404
|
key: 2,
|
|
12404
12405
|
onClick: withModifiers(($event) => $options.handleDownload(file), ["stop"]),
|
|
12405
12406
|
class: "pr-8px color-primary cursor-pointer"
|
|
12406
|
-
}, " \u4E0B\u8F7D ", 8,
|
|
12407
|
+
}, " \u4E0B\u8F7D ", 8, _hoisted_10$5)) : createCommentVNode("", true)
|
|
12407
12408
|
])
|
|
12408
12409
|
])
|
|
12409
12410
|
]),
|
|
@@ -12417,7 +12418,8 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12417
12418
|
src: _imports_0,
|
|
12418
12419
|
alt: ""
|
|
12419
12420
|
}, null, -1)),
|
|
12420
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { class: "
|
|
12421
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "main-tip" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1)),
|
|
12422
|
+
createElementVNode("div", _hoisted_3$i, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
|
|
12421
12423
|
], 64)) : (openBlock(), createBlock(_component_el_button, {
|
|
12422
12424
|
key: 1,
|
|
12423
12425
|
type: "primary"
|
|
@@ -12443,7 +12445,7 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12443
12445
|
_: 1
|
|
12444
12446
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
12445
12447
|
}
|
|
12446
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$37, [["render", _sfc_render$37], ["__scopeId", "data-v-
|
|
12448
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$37, [["render", _sfc_render$37], ["__scopeId", "data-v-ad2b4116"]]);
|
|
12447
12449
|
var __glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12448
12450
|
__proto__: null,
|
|
12449
12451
|
"default": fileUploadWidget
|
|
@@ -68129,13 +68131,13 @@ function registerIcon(app) {
|
|
|
68129
68131
|
if (typeof window !== "undefined") {
|
|
68130
68132
|
let loadSvg = function() {
|
|
68131
68133
|
var body = document.body;
|
|
68132
|
-
var svgDom = document.getElementById("
|
|
68134
|
+
var svgDom = document.getElementById("__svg__icons__dom__1774332267004__");
|
|
68133
68135
|
if (!svgDom) {
|
|
68134
68136
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68135
68137
|
svgDom.style.position = "absolute";
|
|
68136
68138
|
svgDom.style.width = "0";
|
|
68137
68139
|
svgDom.style.height = "0";
|
|
68138
|
-
svgDom.id = "
|
|
68140
|
+
svgDom.id = "__svg__icons__dom__1774332267004__";
|
|
68139
68141
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68140
68142
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68141
68143
|
}
|
|
@@ -68618,7 +68620,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
68618
68620
|
_: 3
|
|
68619
68621
|
}, 8, ["widget"]);
|
|
68620
68622
|
}
|
|
68621
|
-
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
68623
|
+
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-2f0daae4"]]);
|
|
68622
68624
|
const cardTemplateGenerator = function(cw, formConfig2) {
|
|
68623
68625
|
const wop = cw.options;
|
|
68624
68626
|
const classAttr = buildClassAttr(cw);
|