slw 0.6.9 → 0.7.1
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 -13
- package/lib/index.umd.cjs +3 -3
- 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_01a38616_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-01a38616"), 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$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$au = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
|
|
@@ -9763,16 +9763,16 @@ const windowGrid_vue_vue_type_style_index_0_scoped_588d3ee7_lang = "", _withScop
|
|
|
9763
9763
|
X = Z.itemRender.options;
|
|
9764
9764
|
}
|
|
9765
9765
|
return X;
|
|
9766
|
-
}, footerSum = (Q) => {
|
|
9767
|
-
const
|
|
9768
|
-
let
|
|
9769
|
-
return
|
|
9770
|
-
|
|
9771
|
-
}),
|
|
9772
|
-
},
|
|
9773
|
-
|
|
9766
|
+
}, footerSum = (Q, H = 2) => {
|
|
9767
|
+
const G = (Z, K) => {
|
|
9768
|
+
let ee = 0;
|
|
9769
|
+
return Z.forEach((te) => {
|
|
9770
|
+
ee += Number(te[K]);
|
|
9771
|
+
}), ee.toFixed(H);
|
|
9772
|
+
}, X = ({ columns: Z, data: K }) => [
|
|
9773
|
+
Z.map((ee, te) => te === 2 ? "和值" : Q.includes(ee.field) ? G(K, ee.field) : "")
|
|
9774
9774
|
];
|
|
9775
|
-
gridData.value.showFooter = !0, gridData.value.footerMethod =
|
|
9775
|
+
gridData.value.showFooter = !0, gridData.value.footerMethod = X;
|
|
9776
9776
|
}, setColumnFixed = (Q, H = "left") => {
|
|
9777
9777
|
let G = getCurRegion();
|
|
9778
9778
|
if (G) {
|
|
@@ -9900,7 +9900,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_588d3ee7_lang = "", _withScop
|
|
|
9900
9900
|
iconComponent: se.iconComponent,
|
|
9901
9901
|
"auto-insert-space": "",
|
|
9902
9902
|
size: "small",
|
|
9903
|
-
style: normalizeStyle(
|
|
9903
|
+
style: normalizeStyle(se.css + "marginLeft: 0px; padding: 5px"),
|
|
9904
9904
|
type: "primary",
|
|
9905
9905
|
text: "",
|
|
9906
9906
|
onClick: (ce) => toolBarButtonClick(se, ae, le)
|
|
@@ -10022,7 +10022,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_588d3ee7_lang = "", _withScop
|
|
|
10022
10022
|
]);
|
|
10023
10023
|
};
|
|
10024
10024
|
}
|
|
10025
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
10025
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-01a38616"]]);
|
|
10026
10026
|
WindowGrid.name = "slw-window-grid";
|
|
10027
10027
|
WindowGrid.install = (Q) => {
|
|
10028
10028
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -124166,7 +124166,7 @@ function reConsole() {
|
|
|
124166
124166
|
}
|
|
124167
124167
|
}
|
|
124168
124168
|
console.info(
|
|
124169
|
-
"%cSLW %cVer 0.
|
|
124169
|
+
"%cSLW %cVer 0.7.1",
|
|
124170
124170
|
"color:#409EFF;font-size: 22px;font-weight:bolder",
|
|
124171
124171
|
"color:#999;font-size: 12px"
|
|
124172
124172
|
);
|