slw 0.5.967 → 0.5.969
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 +5 -5
- package/lib/index.umd.cjs +4 -4
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8281,12 +8281,12 @@ assign$1(XEUtils, {
|
|
|
8281
8281
|
cookie
|
|
8282
8282
|
});
|
|
8283
8283
|
var xeUtils = XEUtils;
|
|
8284
|
-
const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils),
|
|
8284
|
+
const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_vue_vue_type_style_index_0_scoped_31b2468e_lang = "", _export_sfc = (Q, H) => {
|
|
8285
8285
|
const G = Q.__vccOpts || Q;
|
|
8286
8286
|
for (const [X, Z] of H)
|
|
8287
8287
|
G[X] = Z;
|
|
8288
8288
|
return G;
|
|
8289
|
-
}, _withScopeId$2 = (Q) => (pushScopeId("data-v-
|
|
8289
|
+
}, _withScopeId$2 = (Q) => (pushScopeId("data-v-31b2468e"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8290
8290
|
class: "slw-window-grid-container",
|
|
8291
8291
|
style: { height: "100%" }
|
|
8292
8292
|
}, _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 = [
|
|
@@ -8936,7 +8936,7 @@ const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_v
|
|
|
8936
8936
|
},
|
|
8937
8937
|
(Q = gridData.value.params.queryParams) == null ? void 0 : Q.data
|
|
8938
8938
|
);
|
|
8939
|
-
await axios.export(
|
|
8939
|
+
gridData.value.params.parentRowId && (H[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), await axios.export(
|
|
8940
8940
|
"/window/export?data=" + base64Encode(JSON.stringify(H)),
|
|
8941
8941
|
{}
|
|
8942
8942
|
), exportButton.value.loading = !1;
|
|
@@ -9665,7 +9665,7 @@ const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_v
|
|
|
9665
9665
|
]);
|
|
9666
9666
|
};
|
|
9667
9667
|
}
|
|
9668
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
9668
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-31b2468e"]]);
|
|
9669
9669
|
WindowGrid.name = "slw-window-grid";
|
|
9670
9670
|
WindowGrid.install = (Q) => {
|
|
9671
9671
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -37216,7 +37216,7 @@ const windowForm_vue_vue_type_style_index_0_lang = "", _hoisted_1$kV = { class:
|
|
|
37216
37216
|
(G) => G.type !== "seq" && G.type !== "checkbox" && G.fixed !== "left"
|
|
37217
37217
|
);
|
|
37218
37218
|
for (let [G, X] of H.entries())
|
|
37219
|
-
if (X.visible && X.displayForm) {
|
|
37219
|
+
if (X.visible && X.displayForm && G > 0) {
|
|
37220
37220
|
X.fwidth = X.fwidth ? X.fwidth : 12;
|
|
37221
37221
|
let Z = H[G - 1];
|
|
37222
37222
|
Number(X.fwidth) > 24 ? (X.aLine = !0, X.residue = 0) : (X.aLine = !1, X.residue = 24 - Number(X.fwidth), Z && (Z.aLine || Z.residue - Number(X.fwidth) < 0) || G == 0 ? X.residue = 24 - Number(X.fwidth) : Z.residue - Number(X.fwidth) >= 0 && (X.residue = Z.residue - Number(X.fwidth))), (X.itemRender.props.newLine === !0 || X.itemRender.props.newLine === "Y") && (Z.fwidth = Number(Z.fwidth) + Number(Z.residue), Z.residue = 0, X.residue = 24 - Number(X.fwidth));
|