dfs-page-config 0.5.88 → 0.5.90
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 +16 -16
- package/dist/dfs-page-config.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
@@ -53176,7 +53176,7 @@ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["
|
|
53176
53176
|
showCloseButton: pAe.showCloseButton || !1,
|
53177
53177
|
elementGroup: [],
|
53178
53178
|
inline: pAe.inline !== !1,
|
53179
|
-
allDisabled: !1,
|
53179
|
+
allDisabled: pAe.allDisabled || !1,
|
53180
53180
|
formData: pAe.formData,
|
53181
53181
|
row: {},
|
53182
53182
|
loading: !1,
|
@@ -53275,14 +53275,14 @@ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["
|
|
53275
53275
|
fileUrlInfo: CAe
|
53276
53276
|
};
|
53277
53277
|
}
|
53278
|
-
}),
|
53278
|
+
}), Form_vue_vue_type_style_index_0_scoped_8b5b20f9_lang = "", Form_vue_vue_type_style_index_1_lang = "", _hoisted_1$m = {
|
53279
53279
|
key: 0,
|
53280
53280
|
class: "mask"
|
53281
53281
|
}, _hoisted_2$g = { key: 21 };
|
53282
53282
|
function _sfc_render$i(Ff, kh, tAe, iAe, uAe, pAe) {
|
53283
53283
|
const hAe = __unplugin_components_0$3, AAe = ElInput, vAe = ElInputNumber, CAe = __unplugin_components_3, wAe = ElOption, EAe = ElSelect, _Ae = ElCascader, xAe = ElRadio, DAe = ElRadioGroup, PAe = ElRadioButton, OAe = ElCheckbox, TAe = ElCheckboxGroup$1, BAe = ElDatePicker, FAe = ElTimeSelect, IAe = ElSwitch, LAe = UploadComp, VAe = ElImage, jAe = ElFormItem, UAe = __unplugin_components_18, YAe = __unplugin_components_19, XAe = ElIcon, rme = ElForm;
|
53284
53284
|
return openBlock(), createBlock(rme, {
|
53285
|
-
class: normalizeClass(["form-group", Ff.componentOption.class || ""]),
|
53285
|
+
class: normalizeClass(["form-group", Ff.componentOption.class || "", Ff.allDisabled ? "all-disabled" : ""]),
|
53286
53286
|
ref: "formRef",
|
53287
53287
|
model: Ff.formData,
|
53288
53288
|
size: Ff.size,
|
@@ -53648,7 +53648,7 @@ function _sfc_render$i(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
53648
53648
|
_: 3
|
53649
53649
|
}, 8, ["class", "model", "size", "inline", "label-width", "style"]);
|
53650
53650
|
}
|
53651
|
-
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
53651
|
+
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-8b5b20f9"]]), _hoisted_1$l = {
|
53652
53652
|
viewBox: "0 0 1024 1024",
|
53653
53653
|
width: "1.2em",
|
53654
53654
|
height: "1.2em"
|
@@ -53921,11 +53921,6 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
|
|
53921
53921
|
TAe.gridApi.exportDataAsCsv(BAe);
|
53922
53922
|
}
|
53923
53923
|
function wAe(OAe) {
|
53924
|
-
if (OAe.beforeExport) {
|
53925
|
-
let IAe = {};
|
53926
|
-
if (OAe.relation && (IAe = getRelationComp(store, Ff.pageKey, OAe.relation)), OAe.beforeExport(IAe) === !1)
|
53927
|
-
return;
|
53928
|
-
}
|
53929
53924
|
const TAe = getTargetComp(store, Ff.pageKey, OAe.target);
|
53930
53925
|
if (!TAe.data.totalNum)
|
53931
53926
|
return ElMessage.warning(kh("无可导出数据,请查询后导出"));
|
@@ -53934,6 +53929,11 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
|
|
53934
53929
|
const IAe = TAe.exportBySelectionData(TAe.selectedRows);
|
53935
53930
|
Array.isArray(IAe) ? FAe = IAe : IAe && (FAe = { ...FAe, ...IAe });
|
53936
53931
|
}
|
53932
|
+
if (OAe.beforeExport) {
|
53933
|
+
let IAe = {};
|
53934
|
+
if (OAe.relation && (IAe = getRelationComp(store, Ff.pageKey, OAe.relation)), IAe.exportParams = FAe, OAe.beforeExport(IAe) === !1)
|
53935
|
+
return;
|
53936
|
+
}
|
53937
53937
|
if (OAe.openDownloadCenter) {
|
53938
53938
|
let IAe = (OAe.method || "post").toUpperCase(), LAe = IAe == "GET" ? "params" : "data";
|
53939
53939
|
store.commit("setLoading", !0), service({
|
@@ -53996,11 +53996,11 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
|
|
53996
53996
|
// exportData
|
53997
53997
|
};
|
53998
53998
|
}
|
53999
|
-
}),
|
53999
|
+
}), ButtonGroup_vue_vue_type_style_index_0_scoped_20f4fa47_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$j = ["onClick"];
|
54000
54000
|
function _sfc_render$g(Ff, kh, tAe, iAe, uAe, pAe) {
|
54001
54001
|
const hAe = Upload, AAe = ElIcon, vAe = __unplugin_components_2$3, CAe = ElButton;
|
54002
54002
|
return openBlock(), createElementBlock("div", {
|
54003
|
-
class: "button-group",
|
54003
|
+
class: normalizeClass(["button-group", Ff.componentOption.class]),
|
54004
54004
|
style: normalizeStyle(Ff.componentOption.style)
|
54005
54005
|
}, [
|
54006
54006
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(Ff.buttonGroup, (wAe) => (openBlock(), createElementBlock(Fragment, {
|
@@ -54056,9 +54056,9 @@ function _sfc_render$g(Ff, kh, tAe, iAe, uAe, pAe) {
|
|
54056
54056
|
], 64))
|
54057
54057
|
], 64))), 128)),
|
54058
54058
|
renderSlot(Ff.$slots, "default", {}, void 0, !0)
|
54059
|
-
],
|
54059
|
+
], 6);
|
54060
54060
|
}
|
54061
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
54061
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-20f4fa47"]]), _sfc_main$h = defineComponent({
|
54062
54062
|
props: {
|
54063
54063
|
gridApi: {
|
54064
54064
|
type: Object,
|
@@ -125428,11 +125428,11 @@ const _sfc_main$g = defineComponent({
|
|
125428
125428
|
}, 500);
|
125429
125429
|
} else
|
125430
125430
|
XAe.innerText = "", XAe.style.display = "none", clearTimeout(zAe);
|
125431
|
-
}), rme
|
125431
|
+
}), rme.addEventListener("mouseout", (sme) => {
|
125432
125432
|
(!sme.relatedTarget || !sme.relatedTarget.classList.contains("cell-text-popover")) && (XAe.innerText = "", XAe.style.display = "none", clearTimeout(zAe));
|
125433
|
-
}), XAe == null || XAe.addEventListener("mouseleave", () => {
|
125433
|
+
})), XAe == null || XAe.addEventListener("mouseleave", () => {
|
125434
125434
|
XAe.innerText = "", XAe.style.display = "none";
|
125435
|
-
})
|
125435
|
+
});
|
125436
125436
|
}), onUnmounted(() => {
|
125437
125437
|
rme == null || rme.removeEventListener("mouseover", () => {
|
125438
125438
|
}), rme == null || rme.removeEventListener("mouseout", () => {
|