slw 0.9.45 → 0.9.46
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
|
|
2
|
-
import { _ as x, d as S, a as L, u as N } from "./index-
|
|
2
|
+
import { _ as x, d as S, a as L, u as N } from "./index-dc445566.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -8525,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8525
8525
|
PictureUpload.install = (Q) => {
|
|
8526
8526
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_560a2ac3_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-560a2ac3"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
|
|
8529
8529
|
class: "slw-window-grid-container",
|
|
8530
8530
|
style: { height: "100%" }
|
|
8531
8531
|
}, _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$ay = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Y = [
|
|
@@ -9824,16 +9824,21 @@ const windowGrid_vue_vue_type_style_index_0_scoped_64a16910_lang = "", _withScop
|
|
|
9824
9824
|
X = Z.itemRender.options;
|
|
9825
9825
|
}
|
|
9826
9826
|
return X;
|
|
9827
|
-
}, footerSum = (Q, H = 2,
|
|
9828
|
-
const
|
|
9829
|
-
let
|
|
9830
|
-
return
|
|
9831
|
-
|
|
9832
|
-
}),
|
|
9833
|
-
},
|
|
9834
|
-
|
|
9827
|
+
}, footerSum = (Q, H, G = 2, X = "和值") => {
|
|
9828
|
+
const Z = (te, ne) => {
|
|
9829
|
+
let re = 0;
|
|
9830
|
+
return te.forEach((oe) => {
|
|
9831
|
+
re += Number(oe[ne]);
|
|
9832
|
+
}), re.toFixed(G);
|
|
9833
|
+
}, K = (te, ne) => {
|
|
9834
|
+
let re = 0;
|
|
9835
|
+
return te.forEach((oe) => {
|
|
9836
|
+
re += Number(oe[ne]);
|
|
9837
|
+
}), (re / te.length).toFixed(G);
|
|
9838
|
+
}, ee = ({ columns: te, data: ne }) => [
|
|
9839
|
+
te.map((re, oe) => oe === 2 ? X : Q.includes(re.field) ? Z(ne, re.field) : H.includes(re.field) ? K(ne, re.field) : "")
|
|
9835
9840
|
];
|
|
9836
|
-
gridData.value.showFooter = !0, gridData.value.footerMethod =
|
|
9841
|
+
gridData.value.showFooter = !0, gridData.value.footerMethod = ee;
|
|
9837
9842
|
}, setColumnFixed = (Q, H = "left") => {
|
|
9838
9843
|
let G = getCurRegion();
|
|
9839
9844
|
if (G) {
|
|
@@ -10177,7 +10182,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_64a16910_lang = "", _withScop
|
|
|
10177
10182
|
]);
|
|
10178
10183
|
};
|
|
10179
10184
|
}
|
|
10180
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10185
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-560a2ac3"]]);
|
|
10181
10186
|
WindowGrid.name = "slw-window-grid";
|
|
10182
10187
|
WindowGrid.install = (Q) => {
|
|
10183
10188
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -59257,7 +59262,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59257
59262
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59258
59263
|
setup(Q, { emit: H }) {
|
|
59259
59264
|
const G = Q, X = defineAsyncComponent(
|
|
59260
|
-
() => import("./index-
|
|
59265
|
+
() => import("./index-6f418ecf.js")
|
|
59261
59266
|
);
|
|
59262
59267
|
let Z = useVModel(G, "type", H), K = useVModel(G, "rootLayout", H), ee = useVModel(G, "viewData", H), te = useVModel(G, "rowData", H), ne = ref(0), re = ref(null);
|
|
59263
59268
|
re.value = createDesigner();
|
|
@@ -144255,7 +144260,7 @@ function reConsole() {
|
|
|
144255
144260
|
}
|
|
144256
144261
|
}
|
|
144257
144262
|
console.info(
|
|
144258
|
-
`%cSLW %cVer 0.9.
|
|
144263
|
+
`%cSLW %cVer 0.9.46%c
|
|
144259
144264
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144260
144265
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144261
144266
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED