slw 0.8.96 → 0.8.98
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 +20 -19
- package/lib/index.umd.cjs +6 -6
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -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_4c07c40a_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-4c07c40a"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8528
8528
|
class: "slw-window-grid-container",
|
|
8529
8529
|
style: { height: "100%" }
|
|
8530
8530
|
}, _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$av = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4V = [
|
|
@@ -9143,27 +9143,28 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72ee1fc2_lang = "", _withScop
|
|
|
9143
9143
|
}, getCheckedData = () => {
|
|
9144
9144
|
const Q = getCurRegion();
|
|
9145
9145
|
return Q ? Q.getCheckboxRecords() : null;
|
|
9146
|
-
}, headerCheckboxChange = ({ checked: Q, row: H }) => {
|
|
9147
|
-
let
|
|
9148
|
-
if (
|
|
9149
|
-
gridData.value.toolbarConfig.buttons.forEach((
|
|
9150
|
-
|
|
9151
|
-
if (
|
|
9152
|
-
...
|
|
9146
|
+
}, headerCheckboxChange = ({ checked: Q, row: H, rowIndex: G }) => {
|
|
9147
|
+
let X = getCheckedData();
|
|
9148
|
+
if (X.length > 0)
|
|
9149
|
+
gridData.value.toolbarConfig.buttons.forEach((Z) => {
|
|
9150
|
+
Z.displayLogic && !Z.showInGrid && X.some((K) => {
|
|
9151
|
+
if (Z.visible = Z.displayLogic ? displayLogic(Z.displayLogic, {
|
|
9152
|
+
...K,
|
|
9153
9153
|
...assembleParentData(gridData.value.params.parentData)
|
|
9154
|
-
}) : !0, !
|
|
9154
|
+
}) : !0, !Z.visible)
|
|
9155
9155
|
return !0;
|
|
9156
9156
|
});
|
|
9157
|
-
})
|
|
9157
|
+
});
|
|
9158
9158
|
else {
|
|
9159
|
-
const
|
|
9160
|
-
gridData.value.toolbarConfig.buttons.forEach((
|
|
9161
|
-
|
|
9162
|
-
...
|
|
9159
|
+
const Z = getSelectRecord();
|
|
9160
|
+
gridData.value.toolbarConfig.buttons.forEach((K) => {
|
|
9161
|
+
K.displayLogic && !K.showInGrid && (K.visible = displayLogic(K.displayLogic, {
|
|
9162
|
+
...Z,
|
|
9163
9163
|
...assembleParentData(gridData.value.params.parentData)
|
|
9164
9164
|
}));
|
|
9165
9165
|
});
|
|
9166
9166
|
}
|
|
9167
|
+
H && rowClickCommon(H, G);
|
|
9167
9168
|
}, getSelectRecord = () => {
|
|
9168
9169
|
const Q = getCurRegion();
|
|
9169
9170
|
return Q ? Q.getCurrentRecord() : null;
|
|
@@ -10119,7 +10120,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72ee1fc2_lang = "", _withScop
|
|
|
10119
10120
|
]);
|
|
10120
10121
|
};
|
|
10121
10122
|
}
|
|
10122
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
10123
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4c07c40a"]]);
|
|
10123
10124
|
WindowGrid.name = "slw-window-grid";
|
|
10124
10125
|
WindowGrid.install = (Q) => {
|
|
10125
10126
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -40507,7 +40508,7 @@ _sfc_main$2.name = "slw-preview-modal";
|
|
|
40507
40508
|
_sfc_main$2.install = (Q) => {
|
|
40508
40509
|
Q.component(_sfc_main$2.name, _sfc_main$2);
|
|
40509
40510
|
};
|
|
40510
|
-
const
|
|
40511
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_6b79eda7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-6b79eda7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
40511
40512
|
__name: "window-index",
|
|
40512
40513
|
props: {
|
|
40513
40514
|
windowId: {
|
|
@@ -41037,7 +41038,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f8592607_lang = "", _withSco
|
|
|
41037
41038
|
ne = !0;
|
|
41038
41039
|
le.visible = !ee[ae].showInGrid;
|
|
41039
41040
|
let se = ee[ae].type.toLowerCase();
|
|
41040
|
-
se.indexOf("delete") > -1 ? (le.iconComponent = "TrashOutline", le.viewType = "danger", le.plain = !0, !ee[ae].css && le.iconComponent && le.showInGrid && (le.css = "color: #f56c6c;"), X.params.delete_button_id = ee[ae].id, X.params.delRequestPath = ee[ae].requestPath, X.params.deleteBtn = le) : se.indexOf("new") > -1 ? (le.iconComponent = "Add", le.viewType = "primary", ee[ae].css, ee[ae].showInGrid = !1, X.params.new_button_id = ee[ae].id, X.params.newRequestPath = ee[ae].requestPath, X.params.newWidth = ee[ae].openWidth, X.params.newHeight = ee[ae].openHeight) : se.indexOf("edit") > -1 ? (le.iconComponent = "Pencil", le.viewType = "primary", ee[ae].css, X.params.edit_button_id = ee[ae].id, X.params.editRequestPath = ee[ae].requestPath, X.params.isEdit = !0, X.params.editWidth = ee[ae].openWidth, X.params.editHeight = ee[ae].openHeight) : se === "export" ? le.iconComponent = "
|
|
41041
|
+
se.indexOf("delete") > -1 ? (le.iconComponent = "TrashOutline", le.viewType = "danger", le.plain = !0, !ee[ae].css && le.iconComponent && le.showInGrid && (le.css = "color: #f56c6c;"), X.params.delete_button_id = ee[ae].id, X.params.delRequestPath = ee[ae].requestPath, X.params.deleteBtn = le) : se.indexOf("new") > -1 ? (le.iconComponent = "Add", le.viewType = "primary", ee[ae].css, ee[ae].showInGrid = !1, X.params.new_button_id = ee[ae].id, X.params.newRequestPath = ee[ae].requestPath, X.params.newWidth = ee[ae].openWidth, X.params.newHeight = ee[ae].openHeight) : se.indexOf("edit") > -1 ? (le.iconComponent = "Pencil", le.viewType = "primary", ee[ae].css, X.params.edit_button_id = ee[ae].id, X.params.editRequestPath = ee[ae].requestPath, X.params.isEdit = !0, X.params.editWidth = ee[ae].openWidth, X.params.editHeight = ee[ae].openHeight) : se === "export" ? (le.icon = "cloud-download-outline", le.iconComponent = "cloud-download-outline") : se === "import" ? (le.code = "import_", le.icon = "cloud-upload-outline", le.iconComponent = "cloud-upload-outline", le.viewType = "info") : se === "pic_upload" ? (le.iconComponent = "Image", le.viewType = "info", X.params.isHavePicUploadBtn = !0) : le.viewType = "primary", X.toolbarConfig.buttons.push(le);
|
|
41041
41042
|
}
|
|
41042
41043
|
if (Z.type === "TREE_STRUCTURE") {
|
|
41043
41044
|
let ae = [
|
|
@@ -41673,7 +41674,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f8592607_lang = "", _withSco
|
|
|
41673
41674
|
]);
|
|
41674
41675
|
};
|
|
41675
41676
|
}
|
|
41676
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
41677
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6b79eda7"]]);
|
|
41677
41678
|
WindowIndex.name = "slw-window-index";
|
|
41678
41679
|
WindowIndex.install = (Q) => {
|
|
41679
41680
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -125283,7 +125284,7 @@ function reConsole() {
|
|
|
125283
125284
|
}
|
|
125284
125285
|
}
|
|
125285
125286
|
console.info(
|
|
125286
|
-
`%cSLW %cVer 0.8.
|
|
125287
|
+
`%cSLW %cVer 0.8.98%c
|
|
125287
125288
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
125288
125289
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/files/6`,
|
|
125289
125290
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|