slw 0.10.6 → 0.10.7
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-7bd019c5.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -8533,7 +8533,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8533
8533
|
PictureUpload.install = (H) => {
|
|
8534
8534
|
H.component(PictureUpload.name, PictureUpload);
|
|
8535
8535
|
};
|
|
8536
|
-
const
|
|
8536
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_1351f201_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-1351f201"), H = H(), popScopeId(), H), _hoisted_1$l1 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_4$ay = [
|
|
8537
8537
|
_hoisted_1$l1,
|
|
8538
8538
|
_hoisted_2$kY,
|
|
8539
8539
|
_hoisted_3$hY
|
|
@@ -8559,7 +8559,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_6b8e4acc_lang = "", _withScop
|
|
|
8559
8559
|
},
|
|
8560
8560
|
emits: ["update:gridData", "jumpDesign"],
|
|
8561
8561
|
setup(__props, { expose: __expose, emit }) {
|
|
8562
|
-
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"), $ElMessage = inject("$ElMessage"), $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"), router = inject("$router"), $externalFun = inject("$externalFun"), beginEdit = inject("$beginEdit"), route = useRoute(), $components = inject("$components"), $componentsPath = inject("$componentsPath"), executeFun = inject("$executeFun");
|
|
8562
|
+
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"), $ElMessage = inject("$ElMessage"), $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"), router = inject("$router"), $externalFun = inject("$externalFun"), beginEdit = inject("$beginEdit"), route = useRoute(), $components = inject("$components"), $componentsPath = inject("$componentsPath"), executeFun = inject("$executeFun"), isActivatedFun = inject("$isActivatedFun");
|
|
8563
8563
|
let gridData = useVModel$1(props, "gridData", emit), rowIndex = ref(0), isImport = ref(!1), importUrl = ref(`${(axios == null ? void 0 : axios.baseUrl) || ""}/window/import`), importBtnId = ref(""), uploadConfig = ref({
|
|
8564
8564
|
show: !1,
|
|
8565
8565
|
dataId: "",
|
|
@@ -10494,7 +10494,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_6b8e4acc_lang = "", _withScop
|
|
|
10494
10494
|
]);
|
|
10495
10495
|
};
|
|
10496
10496
|
}
|
|
10497
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10497
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-1351f201"]]);
|
|
10498
10498
|
WindowGrid.name = "slw-window-grid";
|
|
10499
10499
|
WindowGrid.install = (H) => {
|
|
10500
10500
|
H.component(WindowGrid.name, WindowGrid);
|
|
@@ -44458,7 +44458,7 @@ var js = js$1.exports;
|
|
|
44458
44458
|
})(H);
|
|
44459
44459
|
})(js$1);
|
|
44460
44460
|
var jsExports = js$1.exports;
|
|
44461
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
44461
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_37e55fa9_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-37e55fa9"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
44462
44462
|
key: 0,
|
|
44463
44463
|
class: "form-title"
|
|
44464
44464
|
}, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
|
|
@@ -44476,7 +44476,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
44476
44476
|
setup(__props, { expose: __expose, emit: emits }) {
|
|
44477
44477
|
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"), $ElMessage = inject("$ElMessage"), $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");
|
|
44478
44478
|
let regionMap = inject("$regionMap");
|
|
44479
|
-
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $externalFun = inject("$externalFun"), route = useRoute(), $components = inject("$components"), $componentsPath = inject("$componentsPath"), executeFun = inject("$executeFun"), $VXETableConfig = inject("$VXETableConfig");
|
|
44479
|
+
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $externalFun = inject("$externalFun"), route = useRoute(), $components = inject("$components"), $componentsPath = inject("$componentsPath"), executeFun = inject("$executeFun"), $VXETableConfig = inject("$VXETableConfig"), isActivatedFun = inject("$isActivatedFun");
|
|
44480
44480
|
let formConfig = useVModel$1(props, "formConfig", emits), gridData = ref(formConfig.value), formData = ref({}), fieldColumnMap = ref({}), formDataClone = ref({}), formLoading = ref(!1), queryTimeout = ref(null);
|
|
44481
44481
|
const $modal = $Modal;
|
|
44482
44482
|
let uploadConfig = ref({
|
|
@@ -45490,7 +45490,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
45490
45490
|
]);
|
|
45491
45491
|
};
|
|
45492
45492
|
}
|
|
45493
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
45493
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-37e55fa9"]]);
|
|
45494
45494
|
WindowForm.name = "slw-window-form";
|
|
45495
45495
|
WindowForm.install = (H) => {
|
|
45496
45496
|
H.component(WindowForm.name, WindowForm);
|
|
@@ -62634,7 +62634,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62634
62634
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62635
62635
|
setup(H, { emit: Q }) {
|
|
62636
62636
|
const Z = H, X = defineAsyncComponent(
|
|
62637
|
-
() => import("./index-
|
|
62637
|
+
() => import("./index-3db98d49.js")
|
|
62638
62638
|
);
|
|
62639
62639
|
let G = useVModel(Z, "type", Q), K = useVModel(Z, "rootLayout", Q), ee = useVModel(Z, "viewData", Q), te = useVModel(Z, "rowData", Q), ne = ref(0), re = ref(null);
|
|
62640
62640
|
re.value = createDesigner();
|
|
@@ -62719,7 +62719,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
62719
62719
|
WindowDesigner.install = (H) => {
|
|
62720
62720
|
H.component(WindowDesigner.name, WindowDesigner);
|
|
62721
62721
|
};
|
|
62722
|
-
const
|
|
62722
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_b74f4e49_lang = "", _withScopeId = (H) => (pushScopeId("data-v-b74f4e49"), H = H(), popScopeId(), H), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
62723
62723
|
__name: "window-index",
|
|
62724
62724
|
props: {
|
|
62725
62725
|
windowId: {
|
|
@@ -63655,8 +63655,10 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bd616cc3_lang = "", _withSco
|
|
|
63655
63655
|
const activatedList = [], addOnActivatedFun = (H) => {
|
|
63656
63656
|
activatedList.push(H);
|
|
63657
63657
|
};
|
|
63658
|
+
let activated = ref(!1);
|
|
63659
|
+
const isActivatedFun = () => activated.value;
|
|
63658
63660
|
return onActivated(() => {
|
|
63659
|
-
activatedList && activatedList.length > 0 && activatedList.forEach((H) => {
|
|
63661
|
+
activated.value = !0, activatedList && activatedList.length > 0 && activatedList.forEach((H) => {
|
|
63660
63662
|
if (H && typeof H == "function")
|
|
63661
63663
|
try {
|
|
63662
63664
|
H();
|
|
@@ -63664,13 +63666,15 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bd616cc3_lang = "", _withSco
|
|
|
63664
63666
|
console.error(Q);
|
|
63665
63667
|
}
|
|
63666
63668
|
});
|
|
63669
|
+
}), onDeactivated(() => {
|
|
63670
|
+
activated.value = !1;
|
|
63667
63671
|
}), onMounted(() => {
|
|
63668
63672
|
loadData(), settPageHeight(), document.addEventListener("keydown", ctrlSSave);
|
|
63669
63673
|
}), onUnmounted(() => {
|
|
63670
63674
|
document.removeEventListener("keydown", ctrlSSave);
|
|
63671
63675
|
}), watch([() => props.windowId, () => props.queryParams], () => {
|
|
63672
63676
|
loadData(), settPageHeight();
|
|
63673
|
-
}), provide("$addGridClickEvent", addGridClickEvent), provide("$callGridClickEvents", callGridClickEvents), provide("$evalDefaultValue", evalDefaultValue), 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), provide("$getInitData", getInitData), provide("$executeFun", props.executeFun), (H, Q) => {
|
|
63677
|
+
}), provide("$addGridClickEvent", addGridClickEvent), provide("$callGridClickEvents", callGridClickEvents), provide("$evalDefaultValue", evalDefaultValue), 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), provide("$getInitData", getInitData), provide("$executeFun", props.executeFun), provide("$isActivatedFun", isActivatedFun), (H, Q) => {
|
|
63674
63678
|
var he;
|
|
63675
63679
|
const Z = resolveComponent("el-tab-pane"), X = resolveComponent("el-tabs"), G = 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"), ue = resolveComponent("window-index", !0);
|
|
63676
63680
|
return openBlock(), createElementBlock("div", _hoisted_1$kR, [
|
|
@@ -63948,7 +63952,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bd616cc3_lang = "", _withSco
|
|
|
63948
63952
|
]);
|
|
63949
63953
|
};
|
|
63950
63954
|
}
|
|
63951
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
63955
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b74f4e49"]]);
|
|
63952
63956
|
WindowIndex.name = "slw-window-index";
|
|
63953
63957
|
WindowIndex.install = (H) => {
|
|
63954
63958
|
H.component(WindowIndex.name, WindowIndex);
|
|
@@ -147766,7 +147770,7 @@ function reConsole() {
|
|
|
147766
147770
|
}
|
|
147767
147771
|
}
|
|
147768
147772
|
console.info(
|
|
147769
|
-
`%cSLW %cVer 0.10.
|
|
147773
|
+
`%cSLW %cVer 0.10.07%c
|
|
147770
147774
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147771
147775
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147772
147776
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED