slw 0.8.83 → 0.8.84
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 +24 -20
- package/lib/index.umd.cjs +7 -7
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8511,7 +8511,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8511
8511
|
PictureUpload.install = (Q) => {
|
|
8512
8512
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8513
8513
|
};
|
|
8514
|
-
const
|
|
8514
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_358e48ca_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-358e48ca"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8515
8515
|
class: "slw-window-grid-container",
|
|
8516
8516
|
style: { height: "100%" }
|
|
8517
8517
|
}, _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 = [
|
|
@@ -8534,7 +8534,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_c00356bd_lang = "", _withScop
|
|
|
8534
8534
|
},
|
|
8535
8535
|
emits: ["update:gridData", "jumpDesign"],
|
|
8536
8536
|
setup(__props, { expose: __expose, emit }) {
|
|
8537
|
-
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), regionMap = inject("$regionMap"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), httpHeaders = inject("$httpHeaders"), addGridClickEvent = inject("$addGridClickEvent"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), closePreModal = inject("$closePreModal"), rowDbClick = inject("$rowDbClick"), $Modal = inject("$modal"), $qs = inject("$qs"), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $vxeOpen = inject("$vxeOpen"), $vxeReadFile = inject("$vxeReadFile"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), evalDefaultValue = inject("$evalDefaultValue"), callGridClickEvents = inject("$callGridClickEvents"), ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce");
|
|
8537
|
+
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), regionMap = inject("$regionMap"), focusInput = inject("$focusInput"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), httpHeaders = inject("$httpHeaders"), addGridClickEvent = inject("$addGridClickEvent"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), closePreModal = inject("$closePreModal"), rowDbClick = inject("$rowDbClick"), $Modal = inject("$modal"), $qs = inject("$qs"), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $vxeOpen = inject("$vxeOpen"), $vxeReadFile = inject("$vxeReadFile"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), evalDefaultValue = inject("$evalDefaultValue"), callGridClickEvents = inject("$callGridClickEvents"), ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce");
|
|
8538
8538
|
let gridData = useVModel(props, "gridData", emit), rowIndex = ref(0), isImport = ref(!1), importUrl = ref(`${(axios == null ? void 0 : axios.baseUrl) || ""}/window/import`), importBtnId = ref(""), uploadConfig = ref({
|
|
8539
8539
|
show: !1,
|
|
8540
8540
|
dataId: "",
|
|
@@ -8698,7 +8698,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_c00356bd_lang = "", _withScop
|
|
|
8698
8698
|
}) : localStorage.setItem(
|
|
8699
8699
|
gridData.value.params._region_id + preTag.value,
|
|
8700
8700
|
JSON.stringify(Z)
|
|
8701
|
-
);
|
|
8701
|
+
), gridData.value.params.queryForm = XEUtils$1.clone(ne, !0);
|
|
8702
8702
|
const oe = axios.post(
|
|
8703
8703
|
"/window/data/" + gridData.value.params.datasourceCode,
|
|
8704
8704
|
ne
|
|
@@ -9181,18 +9181,15 @@ const windowGrid_vue_vue_type_style_index_0_scoped_c00356bd_lang = "", _withScop
|
|
|
9181
9181
|
zIndex: 3e3
|
|
9182
9182
|
});
|
|
9183
9183
|
}, exportData = async () => {
|
|
9184
|
-
var Q;
|
|
9185
9184
|
if (exportButton.value) {
|
|
9186
|
-
const
|
|
9185
|
+
const Q = Object.assign(
|
|
9187
9186
|
{
|
|
9188
|
-
_button_id: exportButton.value._button_id
|
|
9189
|
-
_region_id: gridData.value.params._region_id
|
|
9187
|
+
_button_id: exportButton.value._button_id
|
|
9190
9188
|
},
|
|
9191
|
-
|
|
9192
|
-
getCurRegion().getProxyInfo().form
|
|
9189
|
+
gridData.value.params.queryForm
|
|
9193
9190
|
);
|
|
9194
|
-
gridData.value.params.parentRowId && (
|
|
9195
|
-
"/window/export?data=" + base64Encode(JSON.stringify(
|
|
9191
|
+
gridData.value.params.parentRowId && (Q[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), await axios.export(
|
|
9192
|
+
"/window/export?data=" + base64Encode(JSON.stringify(Q)),
|
|
9196
9193
|
{}
|
|
9197
9194
|
), exportButton.value.loading = !1;
|
|
9198
9195
|
} else
|
|
@@ -10062,7 +10059,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_c00356bd_lang = "", _withScop
|
|
|
10062
10059
|
]);
|
|
10063
10060
|
};
|
|
10064
10061
|
}
|
|
10065
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
10062
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-358e48ca"]]);
|
|
10066
10063
|
WindowGrid.name = "slw-window-grid";
|
|
10067
10064
|
WindowGrid.install = (Q) => {
|
|
10068
10065
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -38899,7 +38896,7 @@ var js = js$1.exports;
|
|
|
38899
38896
|
})(Q);
|
|
38900
38897
|
})(js$1);
|
|
38901
38898
|
var jsExports = js$1.exports;
|
|
38902
|
-
const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
38899
|
+
const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_451f628f_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-451f628f"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
|
|
38903
38900
|
key: 0,
|
|
38904
38901
|
style: { "text-align": "left", "font-size": "18px", "line-height": "30px", "font-weight": "bold", padding: "5px 30px 0 15px" }
|
|
38905
38902
|
}, _hoisted_3$hS = ["onClick"], _hoisted_4$au = ["onClick"], _hoisted_5$4U = ["onClick"], _hoisted_6$1_ = ["onClick"], _hoisted_7$12 = ["onClick"], _sfc_main$5 = {
|
|
@@ -38915,7 +38912,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
38915
38912
|
"update:formConfig"
|
|
38916
38913
|
],
|
|
38917
38914
|
setup(__props, { expose: __expose, emit: emits }) {
|
|
38918
|
-
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), $Modal = inject("$modal"), $qs = inject("$qs"), $vxeMessage = inject("$vxeMessage"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $vxeConfirm = inject("$vxeConfirm"), $T = inject("$t"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), evalDefaultValue = inject("$evalDefaultValue");
|
|
38915
|
+
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), $Modal = inject("$modal"), $qs = inject("$qs"), $vxeMessage = inject("$vxeMessage"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $vxeConfirm = inject("$vxeConfirm"), $T = inject("$t"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), focusInput = inject("$focusInput"), evalDefaultValue = inject("$evalDefaultValue");
|
|
38919
38916
|
let regionMap = inject("$regionMap");
|
|
38920
38917
|
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce");
|
|
38921
38918
|
let formConfig = useVModel(props, "formConfig", emits), gridData = ref(formConfig.value), formData = ref({}), fieldColumnMap = ref({}), formDataClone = ref({}), formLoading = ref(!1), queryTimeout = ref(null);
|
|
@@ -39819,7 +39816,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39819
39816
|
]);
|
|
39820
39817
|
};
|
|
39821
39818
|
}
|
|
39822
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
39819
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-451f628f"]]);
|
|
39823
39820
|
WindowForm.name = "slw-window-form";
|
|
39824
39821
|
WindowForm.install = (Q) => {
|
|
39825
39822
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -40442,7 +40439,7 @@ _sfc_main$2.name = "slw-preview-modal";
|
|
|
40442
40439
|
_sfc_main$2.install = (Q) => {
|
|
40443
40440
|
Q.component(_sfc_main$2.name, _sfc_main$2);
|
|
40444
40441
|
};
|
|
40445
|
-
const
|
|
40442
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_265e04f7_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-265e04f7"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
40446
40443
|
__name: "window-index",
|
|
40447
40444
|
props: {
|
|
40448
40445
|
windowId: {
|
|
@@ -41301,7 +41298,14 @@ const windowIndex_vue_vue_type_style_index_0_scoped_e8e2a92d_lang = "", _withSco
|
|
|
41301
41298
|
}, getRegion = (Q) => {
|
|
41302
41299
|
let H = regionMap.value[Q + "-" + preTag.value];
|
|
41303
41300
|
return H || regionMap.value[Q];
|
|
41304
|
-
}
|
|
41301
|
+
};
|
|
41302
|
+
function focusInput(Q, H = !1) {
|
|
41303
|
+
let X = document.querySelector(`input[_field_id="${Q}"]`);
|
|
41304
|
+
X ? (X.focus(), H && X.select()) : setTimeout(() => {
|
|
41305
|
+
focusInput(Q, H);
|
|
41306
|
+
}, 3 * 1e3);
|
|
41307
|
+
}
|
|
41308
|
+
const activatedList = [], addOnActivatedFun = (Q) => {
|
|
41305
41309
|
activatedList.push(Q);
|
|
41306
41310
|
};
|
|
41307
41311
|
return onActivated(() => {
|
|
@@ -41319,7 +41323,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_e8e2a92d_lang = "", _withSco
|
|
|
41319
41323
|
document.removeEventListener("keydown", ctrlSSave);
|
|
41320
41324
|
}), watch([() => props.windowId, () => props.queryParams], () => {
|
|
41321
41325
|
loadData(), settPageHeight();
|
|
41322
|
-
}), provide("$showPreView", showPreView), provide("$showPreViewClose", showPreViewClose), provide("$preViewCloseCallback", preViewCloseCallback), provide("$openModal", openModal), provide("$closeModal", closeModal), provide("$closePreModal", closePreModal), provide("$rowDbClick", openEditWin), provide("$regionMap", regionMap), provide("$getRegion", getRegion), provide("$hiprint", hiprint), provide("$serverPrint", serverPrint), provide("$addOnActivatedFun", addOnActivatedFun), provide("$debounce", debounce), (Q, H) => {
|
|
41326
|
+
}), provide("$showPreView", showPreView), provide("$showPreViewClose", showPreViewClose), provide("$preViewCloseCallback", preViewCloseCallback), provide("$openModal", openModal), provide("$closeModal", closeModal), provide("$closePreModal", closePreModal), provide("$rowDbClick", openEditWin), provide("$regionMap", regionMap), provide("$getRegion", getRegion), provide("$hiprint", hiprint), provide("$serverPrint", serverPrint), provide("$focusInput", focusInput), provide("$addOnActivatedFun", addOnActivatedFun), provide("$debounce", debounce), (Q, H) => {
|
|
41323
41327
|
const X = resolveComponent("el-tab-pane"), G = resolveComponent("el-tabs"), Z = resolveComponent("el-scrollbar"), K = resolveComponent("el-checkbox"), ee = resolveComponent("arrow-back"), te = resolveComponent("el-icon"), ne = resolveComponent("el-button"), re = resolveComponent("arrow-forward"), oe = resolveComponent("el-button-group"), ae = resolveComponent("save"), le = resolveComponent("close"), se = resolveComponent("el-space"), ce = resolveComponent("el-dialog"), de = resolveComponent("window-index", !0);
|
|
41324
41328
|
return openBlock(), createElementBlock("div", _hoisted_1$kR, [
|
|
41325
41329
|
(openBlock(), createBlock(unref(WindowLayout), {
|
|
@@ -41573,7 +41577,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_e8e2a92d_lang = "", _withSco
|
|
|
41573
41577
|
]);
|
|
41574
41578
|
};
|
|
41575
41579
|
}
|
|
41576
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
41580
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-265e04f7"]]);
|
|
41577
41581
|
WindowIndex.name = "slw-window-index";
|
|
41578
41582
|
WindowIndex.install = (Q) => {
|
|
41579
41583
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -124387,7 +124391,7 @@ function reConsole() {
|
|
|
124387
124391
|
}
|
|
124388
124392
|
}
|
|
124389
124393
|
console.info(
|
|
124390
|
-
`%cSLW %cVer 0.8.
|
|
124394
|
+
`%cSLW %cVer 0.8.84%c
|
|
124391
124395
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
124392
124396
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/files/6`,
|
|
124393
124397
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|