slw 0.9.46 → 0.9.47
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-bcd546c4.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_9251a03a_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-9251a03a"), 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 = [
|
|
@@ -9831,10 +9831,10 @@ const windowGrid_vue_vue_type_style_index_0_scoped_560a2ac3_lang = "", _withScop
|
|
|
9831
9831
|
re += Number(oe[ne]);
|
|
9832
9832
|
}), re.toFixed(G);
|
|
9833
9833
|
}, K = (te, ne) => {
|
|
9834
|
-
let re = 0;
|
|
9835
|
-
return te.forEach((
|
|
9836
|
-
re += Number(
|
|
9837
|
-
}), (re / te.length).toFixed(G);
|
|
9834
|
+
let re = 0, oe = "";
|
|
9835
|
+
return te.forEach((ae) => {
|
|
9836
|
+
typeof ae[ne] == "string" && ae[ne].includes("%") ? (re += parseFloat(ae[ne]), oe = "%") : re += Number(ae[ne]);
|
|
9837
|
+
}), (re / te.length).toFixed(G) + oe;
|
|
9838
9838
|
}, ee = ({ columns: te, data: ne }) => [
|
|
9839
9839
|
te.map((re, oe) => oe === 2 ? X : Q.includes(re.field) ? Z(ne, re.field) : H.includes(re.field) ? K(ne, re.field) : "")
|
|
9840
9840
|
];
|
|
@@ -10182,7 +10182,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_560a2ac3_lang = "", _withScop
|
|
|
10182
10182
|
]);
|
|
10183
10183
|
};
|
|
10184
10184
|
}
|
|
10185
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10185
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9251a03a"]]);
|
|
10186
10186
|
WindowGrid.name = "slw-window-grid";
|
|
10187
10187
|
WindowGrid.install = (Q) => {
|
|
10188
10188
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -59262,7 +59262,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59262
59262
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59263
59263
|
setup(Q, { emit: H }) {
|
|
59264
59264
|
const G = Q, X = defineAsyncComponent(
|
|
59265
|
-
() => import("./index-
|
|
59265
|
+
() => import("./index-30b8714e.js")
|
|
59266
59266
|
);
|
|
59267
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);
|
|
59268
59268
|
re.value = createDesigner();
|
|
@@ -144260,7 +144260,7 @@ function reConsole() {
|
|
|
144260
144260
|
}
|
|
144261
144261
|
}
|
|
144262
144262
|
console.info(
|
|
144263
|
-
`%cSLW %cVer 0.9.
|
|
144263
|
+
`%cSLW %cVer 0.9.47%c
|
|
144264
144264
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144265
144265
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144266
144266
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED