slw 0.9.48 → 0.9.50
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.
|
@@ -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_8c23864e_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-8c23864e"), 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 = [
|
|
@@ -8565,6 +8565,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_1ff1f1ab_lang = "", _withScop
|
|
|
8565
8565
|
const preTag = computed(() => gridData.value.params.preTag || ""), computeExcelUrl = computed(() => {
|
|
8566
8566
|
let Q = getCurRegion();
|
|
8567
8567
|
return Q.params.newImportUrl ? Q.params.newImportUrl : importUrl.value;
|
|
8568
|
+
}), computeGridClass = computed(() => {
|
|
8569
|
+
let Q = "";
|
|
8570
|
+
return gridData.value.addListener && (Q = "cell--area"), (gridData.value.type == "TREE" || gridData.value.type == "TREE_STRUCTURE") && (Q += " vxe-grid-tree"), Q;
|
|
8568
8571
|
}), showButtons = (Q, H) => gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE" ? gridData.value.toolbarConfig.buttons.filter(
|
|
8569
8572
|
(G) => G.showInGrid && G.btnShowInGrid[H._INDEX]
|
|
8570
8573
|
) : gridData.value.toolbarConfig.buttons.filter(
|
|
@@ -9931,12 +9934,25 @@ const windowGrid_vue_vue_type_style_index_0_scoped_1ff1f1ab_lang = "", _withScop
|
|
|
9931
9934
|
});
|
|
9932
9935
|
}, headerCustomClick = ({ type: Q, $event: H }) => {
|
|
9933
9936
|
if (Q == "confirm" || Q == "reset") {
|
|
9934
|
-
let
|
|
9937
|
+
let X = getCurRegion().getColumns().filter((K) => K.field).map((K) => K.field), Z = {
|
|
9935
9938
|
_region_id: gridData.value.params._region_id,
|
|
9936
|
-
cols:
|
|
9939
|
+
cols: X
|
|
9937
9940
|
};
|
|
9938
|
-
axios.
|
|
9939
|
-
|
|
9941
|
+
axios.request({
|
|
9942
|
+
headers: {
|
|
9943
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
9944
|
+
...httpHeaders()
|
|
9945
|
+
},
|
|
9946
|
+
method: "post",
|
|
9947
|
+
url: "/window/selfGridColumn",
|
|
9948
|
+
type: "json",
|
|
9949
|
+
data: Z
|
|
9950
|
+
}).then((K) => {
|
|
9951
|
+
K.data.result || $vxeMessage({
|
|
9952
|
+
content: K.data.msg,
|
|
9953
|
+
status: "error",
|
|
9954
|
+
zIndex: 3e3
|
|
9955
|
+
});
|
|
9940
9956
|
}).catch((K) => {
|
|
9941
9957
|
console.error(K);
|
|
9942
9958
|
});
|
|
@@ -10027,7 +10043,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_1ff1f1ab_lang = "", _withScop
|
|
|
10027
10043
|
createVNode(ee, mergeProps$1({
|
|
10028
10044
|
ref_key: "curRegion",
|
|
10029
10045
|
ref: curRegion,
|
|
10030
|
-
class:
|
|
10046
|
+
class: computeGridClass.value,
|
|
10031
10047
|
"keep-source": ""
|
|
10032
10048
|
}, unref(gridData), {
|
|
10033
10049
|
onEditActived: editActived,
|
|
@@ -10185,7 +10201,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_1ff1f1ab_lang = "", _withScop
|
|
|
10185
10201
|
]);
|
|
10186
10202
|
};
|
|
10187
10203
|
}
|
|
10188
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10204
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-8c23864e"]]);
|
|
10189
10205
|
WindowGrid.name = "slw-window-grid";
|
|
10190
10206
|
WindowGrid.install = (Q) => {
|
|
10191
10207
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -42499,7 +42515,7 @@ var js = js$1.exports;
|
|
|
42499
42515
|
})(Q);
|
|
42500
42516
|
})(js$1);
|
|
42501
42517
|
var jsExports = js$1.exports;
|
|
42502
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
42518
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_5c78fbcc_lang = "", _withScopeId$7 = (Q) => (pushScopeId("data-v-5c78fbcc"), Q = Q(), popScopeId(), Q), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
42503
42519
|
key: 0,
|
|
42504
42520
|
class: "form-header-box"
|
|
42505
42521
|
}, _hoisted_3$hX = {
|
|
@@ -43497,7 +43513,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43497
43513
|
]);
|
|
43498
43514
|
};
|
|
43499
43515
|
}
|
|
43500
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
43516
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5c78fbcc"]]);
|
|
43501
43517
|
WindowForm.name = "slw-window-form";
|
|
43502
43518
|
WindowForm.install = (Q) => {
|
|
43503
43519
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -59265,7 +59281,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59265
59281
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59266
59282
|
setup(Q, { emit: H }) {
|
|
59267
59283
|
const G = Q, X = defineAsyncComponent(
|
|
59268
|
-
() => import("./index-
|
|
59284
|
+
() => import("./index-3e0354ab.js")
|
|
59269
59285
|
);
|
|
59270
59286
|
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);
|
|
59271
59287
|
re.value = createDesigner();
|
|
@@ -59350,7 +59366,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
59350
59366
|
WindowDesigner.install = (Q) => {
|
|
59351
59367
|
Q.component(WindowDesigner.name, WindowDesigner);
|
|
59352
59368
|
};
|
|
59353
|
-
const
|
|
59369
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_e74c82c7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-e74c82c7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
59354
59370
|
__name: "window-index",
|
|
59355
59371
|
props: {
|
|
59356
59372
|
windowId: {
|
|
@@ -60140,7 +60156,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60140
60156
|
X.stripe = !1, X.treeConfig = {
|
|
60141
60157
|
children: "_CHILDS",
|
|
60142
60158
|
accordion: !0,
|
|
60143
|
-
line: !
|
|
60159
|
+
line: !1,
|
|
60144
60160
|
iconOpen: "vxe-icon--caret-right rotate45",
|
|
60145
60161
|
iconClose: "vxe-icon--caret-right"
|
|
60146
60162
|
};
|
|
@@ -60152,7 +60168,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60152
60168
|
props: {
|
|
60153
60169
|
format: se[0].format
|
|
60154
60170
|
}
|
|
60155
|
-
})), Z.type === "TREE_STRUCTURE" && (X.showHeader = !1, X.treeConfig.iconOpen = "vxe-icon-
|
|
60171
|
+
})), Z.type === "TREE_STRUCTURE" && (X.showHeader = !1, X.treeConfig.iconOpen = "vxe-icon-caret-right rotate90", X.treeConfig.iconClose = "vxe-icon-caret-right", X.toolbarConfig.custom = !1, X.treeConfig.accordion = !1, ae = ae.map((ce) => (ce.visible === !0 && (ce.visible = !1), ce)));
|
|
60156
60172
|
}
|
|
60157
60173
|
X.columns = ae, X.editRules = le;
|
|
60158
60174
|
}
|
|
@@ -60550,7 +60566,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_b44d3d43_lang = "", _withSco
|
|
|
60550
60566
|
]);
|
|
60551
60567
|
};
|
|
60552
60568
|
}
|
|
60553
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
60569
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e74c82c7"]]);
|
|
60554
60570
|
WindowIndex.name = "slw-window-index";
|
|
60555
60571
|
WindowIndex.install = (Q) => {
|
|
60556
60572
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -144263,7 +144279,7 @@ function reConsole() {
|
|
|
144263
144279
|
}
|
|
144264
144280
|
}
|
|
144265
144281
|
console.info(
|
|
144266
|
-
`%cSLW %cVer 0.9.
|
|
144282
|
+
`%cSLW %cVer 0.9.50%c
|
|
144267
144283
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144268
144284
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144269
144285
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
@@ -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-0bb382de.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED