slw 0.9.82 → 0.9.83
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-c3313dac.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -8525,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8525
8525
|
PictureUpload.install = (H) => {
|
|
8526
8526
|
H.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_b3ad4aea_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-b3ad4aea"), 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 = [
|
|
8529
8529
|
_hoisted_1$l1,
|
|
8530
8530
|
_hoisted_2$kY,
|
|
8531
8531
|
_hoisted_3$hY
|
|
@@ -8551,7 +8551,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_7c222a98_lang = "", _withScop
|
|
|
8551
8551
|
},
|
|
8552
8552
|
emits: ["update:gridData", "jumpDesign"],
|
|
8553
8553
|
setup(__props, { expose: __expose, emit }) {
|
|
8554
|
-
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");
|
|
8554
|
+
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");
|
|
8555
8555
|
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({
|
|
8556
8556
|
show: !1,
|
|
8557
8557
|
dataId: "",
|
|
@@ -10095,7 +10095,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_7c222a98_lang = "", _withScop
|
|
|
10095
10095
|
checkedGridFixed.value || (checkedGridVisible.value = !1);
|
|
10096
10096
|
}, setColumnElement = (H, Q, Z) => {
|
|
10097
10097
|
let X = gridData.value.columns.filter((G) => G.field == H.toUpperCase())[0];
|
|
10098
|
-
X && (X.editRender.name = Q, Z && Z instanceof Object && (X.editRender.props.elementProps = Z));
|
|
10098
|
+
X && (X.editRender.name = Q, X.editRender.props.elementProps = {}, Z && Z instanceof Object && (X.editRender.props.elementProps = Z));
|
|
10099
10099
|
};
|
|
10100
10100
|
return onMounted(async () => {
|
|
10101
10101
|
gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
|
|
@@ -10454,7 +10454,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_7c222a98_lang = "", _withScop
|
|
|
10454
10454
|
]);
|
|
10455
10455
|
};
|
|
10456
10456
|
}
|
|
10457
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10457
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-b3ad4aea"]]);
|
|
10458
10458
|
WindowGrid.name = "slw-window-grid";
|
|
10459
10459
|
WindowGrid.install = (H) => {
|
|
10460
10460
|
H.component(WindowGrid.name, WindowGrid);
|
|
@@ -44418,7 +44418,7 @@ var js = js$1.exports;
|
|
|
44418
44418
|
})(H);
|
|
44419
44419
|
})(js$1);
|
|
44420
44420
|
var jsExports = js$1.exports;
|
|
44421
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
44421
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_7881c813_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-7881c813"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
44422
44422
|
key: 0,
|
|
44423
44423
|
class: "form-title"
|
|
44424
44424
|
}, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
|
|
@@ -44436,7 +44436,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
44436
44436
|
setup(__props, { expose: __expose, emit: emits }) {
|
|
44437
44437
|
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");
|
|
44438
44438
|
let regionMap = inject("$regionMap");
|
|
44439
|
-
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $externalFun = inject("$externalFun"), route = useRoute(), $components = inject("$components"), $componentsPath = inject("$componentsPath");
|
|
44439
|
+
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");
|
|
44440
44440
|
let formConfig = useVModel$1(props, "formConfig", emits), gridData = ref(formConfig.value), formData = ref({}), fieldColumnMap = ref({}), formDataClone = ref({}), formLoading = ref(!1), queryTimeout = ref(null);
|
|
44441
44441
|
const $modal = $Modal;
|
|
44442
44442
|
let uploadConfig = ref({
|
|
@@ -45441,7 +45441,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
45441
45441
|
]);
|
|
45442
45442
|
};
|
|
45443
45443
|
}
|
|
45444
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
45444
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7881c813"]]);
|
|
45445
45445
|
WindowForm.name = "slw-window-form";
|
|
45446
45446
|
WindowForm.install = (H) => {
|
|
45447
45447
|
H.component(WindowForm.name, WindowForm);
|
|
@@ -62585,7 +62585,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62585
62585
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62586
62586
|
setup(H, { emit: Q }) {
|
|
62587
62587
|
const Z = H, X = defineAsyncComponent(
|
|
62588
|
-
() => import("./index-
|
|
62588
|
+
() => import("./index-5a12c6e4.js")
|
|
62589
62589
|
);
|
|
62590
62590
|
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);
|
|
62591
62591
|
re.value = createDesigner();
|
|
@@ -62670,7 +62670,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
62670
62670
|
WindowDesigner.install = (H) => {
|
|
62671
62671
|
H.component(WindowDesigner.name, WindowDesigner);
|
|
62672
62672
|
};
|
|
62673
|
-
const
|
|
62673
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_0a50772a_lang = "", _withScopeId = (H) => (pushScopeId("data-v-0a50772a"), H = H(), popScopeId(), H), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
62674
62674
|
__name: "window-index",
|
|
62675
62675
|
props: {
|
|
62676
62676
|
windowId: {
|
|
@@ -62682,6 +62682,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bcc7dd4b_lang = "", _withSco
|
|
|
62682
62682
|
},
|
|
62683
62683
|
height: {
|
|
62684
62684
|
type: [String, Number]
|
|
62685
|
+
},
|
|
62686
|
+
executeFun: {
|
|
62687
|
+
type: Object
|
|
62685
62688
|
}
|
|
62686
62689
|
},
|
|
62687
62690
|
emits: ["update:queryParams", "on-load-success", "close"],
|
|
@@ -63615,7 +63618,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bcc7dd4b_lang = "", _withSco
|
|
|
63615
63618
|
document.removeEventListener("keydown", ctrlSSave);
|
|
63616
63619
|
}), watch([() => props.windowId, () => props.queryParams], () => {
|
|
63617
63620
|
loadData(), settPageHeight();
|
|
63618
|
-
}), 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), (H, Q) => {
|
|
63621
|
+
}), 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) => {
|
|
63619
63622
|
var he;
|
|
63620
63623
|
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"), de = resolveComponent("window-index", !0);
|
|
63621
63624
|
return openBlock(), createElementBlock("div", _hoisted_1$kR, [
|
|
@@ -63893,7 +63896,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bcc7dd4b_lang = "", _withSco
|
|
|
63893
63896
|
]);
|
|
63894
63897
|
};
|
|
63895
63898
|
}
|
|
63896
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
63899
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0a50772a"]]);
|
|
63897
63900
|
WindowIndex.name = "slw-window-index";
|
|
63898
63901
|
WindowIndex.install = (H) => {
|
|
63899
63902
|
H.component(WindowIndex.name, WindowIndex);
|
|
@@ -147619,7 +147622,7 @@ function reConsole() {
|
|
|
147619
147622
|
}
|
|
147620
147623
|
}
|
|
147621
147624
|
console.info(
|
|
147622
|
-
`%cSLW %cVer 0.9.
|
|
147625
|
+
`%cSLW %cVer 0.9.83%c
|
|
147623
147626
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147624
147627
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147625
147628
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED