dfs-page-config 0.5.95 → 0.5.97
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/dfs-page-config.js +13 -16
- package/dist/dfs-page-config.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
@@ -30104,9 +30104,7 @@ const _sfc_main$o = defineComponent({
|
|
30104
30104
|
const DAe = (qAe) => {
|
30105
30105
|
var rme, WAe;
|
30106
30106
|
if (Ff.autoUpload) {
|
30107
|
-
let JAe = ((WAe = (rme = qAe.response) == null ? void 0 : rme.data) == null ? void 0 : WAe.url) || qAe.url;
|
30108
|
-
console.log(JAe);
|
30109
|
-
let XAe = toRaw$1(_Ae.value).filter((ZAe) => ZAe.url != JAe);
|
30107
|
+
let JAe = ((WAe = (rme = qAe.response) == null ? void 0 : rme.data) == null ? void 0 : WAe.url) || qAe.url, XAe = toRaw$1(_Ae.value).filter((ZAe) => ZAe.url != JAe);
|
30110
30108
|
kh.emit("fileUrlInfo", XAe);
|
30111
30109
|
} else
|
30112
30110
|
kh.emit("remove", qAe);
|
@@ -30154,7 +30152,7 @@ const _sfc_main$o = defineComponent({
|
|
30154
30152
|
handleChange: IAe
|
30155
30153
|
};
|
30156
30154
|
}
|
30157
|
-
}),
|
30155
|
+
}), UploadComp_vue_vue_type_style_index_0_scoped_a117e01e_lang = "", UploadComp_vue_vue_type_style_index_1_lang = "", _export_sfc$1 = (Ff, kh) => {
|
30158
30156
|
const tAe = Ff.__vccOpts || Ff;
|
30159
30157
|
for (const [iAe, uAe] of kh)
|
30160
30158
|
tAe[iAe] = uAe;
|
@@ -30222,7 +30220,7 @@ function _sfc_render$l(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
30222
30220
|
} : void 0
|
30223
30221
|
]), 1032, ["class", "name", "multiple", "drag", "list-type", "data", "action", "file-list", "limit", "accept", "auto-upload", "on-exceed", "on-success", "before-upload", "on-preview", "on-remove", "headers", "disabled", "on-change"]);
|
30224
30222
|
}
|
30225
|
-
const UploadComp = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
30223
|
+
const UploadComp = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$l], ["__scopeId", "data-v-a117e01e"]]), elSwitch = "", elTimeSelect = "", elScrollbar = "", elPopper = "", elTag = "", elOption = "", elOptionGroup = "", elSelect = "", elDatePicker = "", elCheckboxGroup = "", elCheckbox = "", elRadioButton = "", elRadioGroup = "", elRadio = "", elCascader = "", elCascaderPanel = "", style = "";
|
30226
30224
|
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
30227
30225
|
function t(Ff) {
|
30228
30226
|
return Ff && Ff.__esModule && Object.prototype.hasOwnProperty.call(Ff, "default") ? Ff.default : Ff;
|
@@ -53213,7 +53211,7 @@ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["
|
|
53213
53211
|
}
|
53214
53212
|
function EAe() {
|
53215
53213
|
pAe.elementGroup.forEach((OAe) => {
|
53216
|
-
OAe.type === "Tab" || OAe.type === "TabStep" || (hAe.formData[OAe.prop] = OAe.value), OAe.reset && OAe.reset();
|
53214
|
+
OAe.type === "Tab" || OAe.type === "TabStep" || OAe.prop && (hAe.formData[OAe.prop] = OAe.value), OAe.reset && OAe.reset();
|
53217
53215
|
}), pAe.validate && setTimeout(() => {
|
53218
53216
|
uAe.value.clearValidate();
|
53219
53217
|
});
|
@@ -53277,7 +53275,7 @@ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["
|
|
53277
53275
|
fileUrlInfo: CAe
|
53278
53276
|
};
|
53279
53277
|
}
|
53280
|
-
}),
|
53278
|
+
}), Form_vue_vue_type_style_index_0_scoped_ead5ce51_lang = "", Form_vue_vue_type_style_index_1_lang = "", _hoisted_1$m = {
|
53281
53279
|
key: 0,
|
53282
53280
|
class: "mask"
|
53283
53281
|
}, _hoisted_2$g = ["innerHTML"];
|
@@ -53618,10 +53616,9 @@ function _sfc_render$i(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
53618
53616
|
key: 22,
|
53619
53617
|
src: Ff.formData[WAe.prop],
|
53620
53618
|
"preview-src-list": [Ff.formData[WAe.prop]],
|
53621
|
-
width: WAe.
|
53622
|
-
height: WAe.height,
|
53619
|
+
style: normalizeStyle({ width: WAe.imageWidth, height: WAe.imageHeight }),
|
53623
53620
|
fit: WAe.fit || "contain"
|
53624
|
-
}, null, 8, ["src", "preview-src-list", "
|
53621
|
+
}, null, 8, ["src", "preview-src-list", "style", "fit"])) : createCommentVNode("", !0),
|
53625
53622
|
WAe.slot && !WAe.labelSlot ? renderSlot(Ff.$slots, WAe.slot, {
|
53626
53623
|
key: 23,
|
53627
53624
|
data: Ff.formData
|
@@ -53660,7 +53657,7 @@ function _sfc_render$i(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
53660
53657
|
_: 3
|
53661
53658
|
}, 8, ["class", "model", "size", "inline", "label-width", "style"]);
|
53662
53659
|
}
|
53663
|
-
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
53660
|
+
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-ead5ce51"]]), _hoisted_1$l = {
|
53664
53661
|
viewBox: "0 0 1024 1024",
|
53665
53662
|
width: "1.2em",
|
53666
53663
|
height: "1.2em"
|
@@ -125770,7 +125767,7 @@ function _sfc_render$c(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
125770
125767
|
]),
|
125771
125768
|
_: 2
|
125772
125769
|
}, 1032, ["link", "style", "type", "disabled", "onClick"])), [
|
125773
|
-
[vShow, wAe.isShow === void 0 || wAe.isShow === !0 || typeof wAe.isShow == "function" && wAe.isShow(Ff.row, CAe)
|
125770
|
+
[vShow, wAe.isShow === void 0 || wAe.isShow === !0 || typeof wAe.isShow == "function" && wAe.isShow(Ff.row, CAe)]
|
125774
125771
|
])), 128))
|
125775
125772
|
], 2))), 256)) : (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(Ff.elementGroup, (vAe) => (openBlock(), createElementBlock(Fragment, {
|
125776
125773
|
key: vAe.label
|
@@ -125811,7 +125808,7 @@ function _sfc_render$c(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
125811
125808
|
]),
|
125812
125809
|
_: 2
|
125813
125810
|
}, 1032, ["type", "disabled", "onClick"])), [
|
125814
|
-
[vShow, CAe.isShow === void 0 || CAe.isShow === !0 || typeof CAe.isShow == "function" && CAe.isShow(Ff.row)
|
125811
|
+
[vShow, CAe.isShow === void 0 || CAe.isShow === !0 || typeof CAe.isShow == "function" && CAe.isShow(Ff.row)]
|
125815
125812
|
])), 128))
|
125816
125813
|
])
|
125817
125814
|
]),
|
@@ -125819,12 +125816,12 @@ function _sfc_render$c(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
125819
125816
|
}, 1032, ["trigger", "width", "popper-style"])) : vAe.type === "text" ? withDirectives((openBlock(), createElementBlock("span", {
|
125820
125817
|
key: 1,
|
125821
125818
|
class: normalizeClass(["dfs-text-btn", vAe.class]),
|
125822
|
-
style: normalizeStyle(vAe.style),
|
125819
|
+
style: normalizeStyle(typeof vAe.style == "function" ? vAe.style({ option: vAe, row: Ff.row ? Ff.row : Ff.groupRow, gridOption: Ff.params }) : vAe.style),
|
125823
125820
|
type: vAe.buttonType || "primary",
|
125824
125821
|
disabled: typeof vAe.disabled == "function" ? vAe.disabled(Ff.row) : vAe.disabled,
|
125825
125822
|
onClick: (CAe) => Ff.handleClick({ option: vAe, row: Ff.row ? Ff.row : Ff.groupRow, gridOption: Ff.params })
|
125826
125823
|
}, toDisplayString(Ff.getButtonText(vAe)), 15, _hoisted_3$a)), [
|
125827
|
-
[vShow, vAe.isShow === void 0 || vAe.isShow === !0 || typeof vAe.isShow == "function" && vAe.isShow(Ff.row)
|
125824
|
+
[vShow, vAe.isShow === void 0 || vAe.isShow === !0 || typeof vAe.isShow == "function" && vAe.isShow(Ff.row)]
|
125828
125825
|
]) : withDirectives((openBlock(), createBlock(hAe, {
|
125829
125826
|
key: 2,
|
125830
125827
|
type: vAe.buttonType || "primary",
|
@@ -125837,7 +125834,7 @@ function _sfc_render$c(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
125837
125834
|
]),
|
125838
125835
|
_: 2
|
125839
125836
|
}, 1032, ["type", "disabled", "onClick"])), [
|
125840
|
-
[vShow, vAe.isShow === void 0 || vAe.isShow === !0 || typeof vAe.isShow == "function" && vAe.isShow(Ff.row)
|
125837
|
+
[vShow, vAe.isShow === void 0 || vAe.isShow === !0 || typeof vAe.isShow == "function" && vAe.isShow(Ff.row)]
|
125841
125838
|
])
|
125842
125839
|
], 64))), 128))
|
125843
125840
|
])) : createCommentVNode("", !0);
|