slw 0.9.36 → 0.9.38
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-803f13a9.js";
|
|
3
3
|
const I = {
|
|
4
4
|
computed: {},
|
|
5
5
|
methods: {
|
|
@@ -8524,7 +8524,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8524
8524
|
PictureUpload.install = (Q) => {
|
|
8525
8525
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8526
8526
|
};
|
|
8527
|
-
const
|
|
8527
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_deefae39_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-deefae39"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
|
|
8528
8528
|
class: "slw-window-grid-container",
|
|
8529
8529
|
style: { height: "100%" }
|
|
8530
8530
|
}, _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 = [
|
|
@@ -8753,7 +8753,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_ed3c80b9_lang = "", _withScop
|
|
|
8753
8753
|
let he = !1;
|
|
8754
8754
|
gridData.value.columns.forEach((fe) => {
|
|
8755
8755
|
if (fe.colId == "_operation_" && fe.title == "操作") {
|
|
8756
|
-
fe.width != de * 60 && de * 60 >= 60 && (he = !0, fe.width = de * 60);
|
|
8756
|
+
fe.width != de * 60 && de * 60 >= 60 && (he = !0, fe.width = de.toFixed(1) * 60);
|
|
8757
8757
|
return;
|
|
8758
8758
|
}
|
|
8759
8759
|
}), he && getCurRegion().loadColumn(gridData.value.columns), gridData.value.params.rowIndex != null && (rowIndex.value = gridData.value.params.rowIndex), le.data.data.length > rowIndex.value ? se = le.data.data[rowIndex.value] : se = le.data.data[0];
|
|
@@ -10155,7 +10155,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_ed3c80b9_lang = "", _withScop
|
|
|
10155
10155
|
]);
|
|
10156
10156
|
};
|
|
10157
10157
|
}
|
|
10158
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10158
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-deefae39"]]);
|
|
10159
10159
|
WindowGrid.name = "slw-window-grid";
|
|
10160
10160
|
WindowGrid.install = (Q) => {
|
|
10161
10161
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -42469,7 +42469,7 @@ var js = js$1.exports;
|
|
|
42469
42469
|
})(Q);
|
|
42470
42470
|
})(js$1);
|
|
42471
42471
|
var jsExports = js$1.exports;
|
|
42472
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
42472
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_dc530c5b_lang = "", _withScopeId$7 = (Q) => (pushScopeId("data-v-dc530c5b"), Q = Q(), popScopeId(), Q), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
42473
42473
|
key: 0,
|
|
42474
42474
|
class: "form-header-box"
|
|
42475
42475
|
}, _hoisted_3$hX = {
|
|
@@ -42816,7 +42816,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42816
42816
|
form.value.reset();
|
|
42817
42817
|
}, clearData = () => {
|
|
42818
42818
|
for (let Q in formData.value)
|
|
42819
|
-
formData.value[Q] = "";
|
|
42819
|
+
typeof formData.value[Q] == "number" ? formData.value[Q] = 0 : formData.value[Q] = "";
|
|
42820
42820
|
}, validateDataChg = () => !XEUtils$1.isEqual(toRaw(formData.value), toRaw(formDataClone.value)), getRegion = (Q) => {
|
|
42821
42821
|
let H = regionMap.value[Q + "-" + preTag.value];
|
|
42822
42822
|
return H || regionMap.value[Q];
|
|
@@ -43463,7 +43463,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43463
43463
|
]);
|
|
43464
43464
|
};
|
|
43465
43465
|
}
|
|
43466
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
43466
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-dc530c5b"]]);
|
|
43467
43467
|
WindowForm.name = "slw-window-form";
|
|
43468
43468
|
WindowForm.install = (Q) => {
|
|
43469
43469
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -59231,7 +59231,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59231
59231
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59232
59232
|
setup(Q, { emit: H }) {
|
|
59233
59233
|
const G = Q, X = defineAsyncComponent(
|
|
59234
|
-
() => import("./index-
|
|
59234
|
+
() => import("./index-0fc1d4d6.js")
|
|
59235
59235
|
);
|
|
59236
59236
|
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);
|
|
59237
59237
|
re.value = createDesigner();
|
|
@@ -144229,7 +144229,7 @@ function reConsole() {
|
|
|
144229
144229
|
}
|
|
144230
144230
|
}
|
|
144231
144231
|
console.info(
|
|
144232
|
-
`%cSLW %cVer 0.9.
|
|
144232
|
+
`%cSLW %cVer 0.9.38%c
|
|
144233
144233
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144234
144234
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144235
144235
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED