slw 0.5.986 → 0.5.988
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/lib/index.js +13 -10
- package/lib/index.umd.cjs +4 -4
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8511,7 +8511,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8511
8511
|
PictureUpload.install = (Q) => {
|
|
8512
8512
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8513
8513
|
};
|
|
8514
|
-
const
|
|
8514
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_f0f3f800_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-f0f3f800"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8515
8515
|
class: "slw-window-grid-container",
|
|
8516
8516
|
style: { height: "100%" }
|
|
8517
8517
|
}, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$au = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
|
|
@@ -9698,8 +9698,11 @@ const windowGrid_vue_vue_type_style_index_0_scoped_782e24fb_lang = "", _withScop
|
|
|
9698
9698
|
let G = gridData.value.formConfig.items.filter((X) => X.field == Q)[0];
|
|
9699
9699
|
G && (G.itemRender.defaultValue = H);
|
|
9700
9700
|
};
|
|
9701
|
-
return onMounted(() => {
|
|
9702
|
-
gridData.value.addListener && getCurRegion() && addListener(),
|
|
9701
|
+
return onMounted(async () => {
|
|
9702
|
+
gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
|
|
9703
|
+
body: { options: bodyMenus.value },
|
|
9704
|
+
visibleMethod
|
|
9705
|
+
}), await evalEvent(gridData.value.params.formEvents.dataInit), gridData.value.toolbarConfig.buttons.forEach((Q) => {
|
|
9703
9706
|
typeof Q.type < "u" && Q.type.toLowerCase() === "edit" && (editBtn.value = Q), typeof Q.type < "u" && Q.type.toLowerCase() === "export" && (exportButton.value = Q), Q.hasOwnProperty("buttonRender") || (Q.buttonRender = {
|
|
9704
9707
|
name: "ElButton",
|
|
9705
9708
|
props: {
|
|
@@ -9755,9 +9758,6 @@ const windowGrid_vue_vue_type_style_index_0_scoped_782e24fb_lang = "", _withScop
|
|
|
9755
9758
|
}
|
|
9756
9759
|
}), gridData.value.columns.forEach((Q) => {
|
|
9757
9760
|
Q.hasOwnProperty("field") && !Q.hasOwnProperty("treeNode") && (Q.events.change = onFieldChange, Q.events["on-change"] = onFieldChange, Q.events.keyup = onFieldEnter, Q.editRender.events = Q.events, Q.itemRender.events = Q.events), Q.itemRender && Q.itemRender.props._select_id && (formSelectMap.value[Q.id] = Q);
|
|
9758
|
-
}), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
|
|
9759
|
-
body: { options: bodyMenus.value },
|
|
9760
|
-
visibleMethod
|
|
9761
9761
|
}), searchData(), regionMap.value[gridData.value.params.code + "-" + preTag.value] = curRegion.value, regionMap.value[gridData.value.params.code] = curRegion.value, evalEvent(gridData.value.params.formEvents.regionInit), gridData.value.params.parentRegionId && addGridClickEvent(rowClickEmitFun), curRegion.value.closeModal = () => {
|
|
9762
9762
|
closeModal && closeModal();
|
|
9763
9763
|
}, curRegion.value.closePreModal = () => {
|
|
@@ -9938,7 +9938,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_782e24fb_lang = "", _withScop
|
|
|
9938
9938
|
]);
|
|
9939
9939
|
};
|
|
9940
9940
|
}
|
|
9941
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
9941
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f0f3f800"]]);
|
|
9942
9942
|
WindowGrid.name = "slw-window-grid";
|
|
9943
9943
|
WindowGrid.install = (Q) => {
|
|
9944
9944
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -105651,12 +105651,15 @@ function initVxeRenderer(Q, H, G) {
|
|
|
105651
105651
|
const {
|
|
105652
105652
|
data: le,
|
|
105653
105653
|
field: se
|
|
105654
|
-
} = ae
|
|
105654
|
+
} = ae;
|
|
105655
|
+
if (typeof le > "u")
|
|
105656
|
+
return;
|
|
105657
|
+
const {
|
|
105655
105658
|
props: ce,
|
|
105656
105659
|
attrs: de,
|
|
105657
105660
|
defaultValue: he
|
|
105658
105661
|
} = oe;
|
|
105659
|
-
return ce.startPlaceholder = ce.placeholder, ce.endPlaceholder = ce.placeholder,
|
|
105662
|
+
return ce.startPlaceholder = ce.placeholder, ce.endPlaceholder = ce.placeholder, createVNode(resolveComponent("el-date-picker"), mergeProps$1({
|
|
105660
105663
|
modelValue: [le[se], le["end_" + se]]
|
|
105661
105664
|
}, {
|
|
105662
105665
|
...de,
|
|
@@ -122219,7 +122222,7 @@ function reConsole() {
|
|
|
122219
122222
|
}
|
|
122220
122223
|
}
|
|
122221
122224
|
console.info(
|
|
122222
|
-
"%cSLW %cVer 0.5.
|
|
122225
|
+
"%cSLW %cVer 0.5.987",
|
|
122223
122226
|
"color:#409EFF;font-size: 22px;font-weight:bolder",
|
|
122224
122227
|
"color:#999;font-size: 12px"
|
|
122225
122228
|
);
|