slw 0.10.6 → 0.10.8
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.
|
@@ -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);
|
|
@@ -46003,7 +46003,7 @@ const _hoisted_1$k_ = ["src"], _sfc_main$a = {
|
|
|
46003
46003
|
);
|
|
46004
46004
|
const fe = computed(() => {
|
|
46005
46005
|
let me = se.value ? se.value + "vh" : "75vh";
|
|
46006
|
-
return re.value && (me = "calc(100vh - 75px)"), { height: me };
|
|
46006
|
+
return re.value && (me = "calc(100vh - 75px)"), { height: me, overflow: "auto" };
|
|
46007
46007
|
});
|
|
46008
46008
|
function pe() {
|
|
46009
46009
|
se.value = 75, le.value = "88%", Q("close");
|
|
@@ -46039,11 +46039,11 @@ const _hoisted_1$k_ = ["src"], _sfc_main$a = {
|
|
|
46039
46039
|
height: "100%",
|
|
46040
46040
|
scrolling: "auto",
|
|
46041
46041
|
style: { "background-color": "#fff" }
|
|
46042
|
-
}, null, 8, _hoisted_1$k_)) : (openBlock(), createBlock(resolveDynamicComponent(unref(ne)), {
|
|
46042
|
+
}, null, 8, _hoisted_1$k_)) : unref(ne) ? (openBlock(), createBlock(resolveDynamicComponent(unref(ne)), {
|
|
46043
46043
|
key: 1,
|
|
46044
46044
|
componentData: unref(ae),
|
|
46045
46045
|
onClose: de
|
|
46046
|
-
}, null, 40, ["componentData"]))
|
|
46046
|
+
}, null, 40, ["componentData"])) : createCommentVNode("", !0)
|
|
46047
46047
|
], 4)
|
|
46048
46048
|
]),
|
|
46049
46049
|
_: 1
|
|
@@ -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-3612c096.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);
|
|
@@ -131060,7 +131064,7 @@ function initVxeRenderer(H, Q, Z) {
|
|
|
131060
131064
|
return "on" + ve.substring(0, 1).toLocaleUpperCase() + ve.substring(1);
|
|
131061
131065
|
}
|
|
131062
131066
|
function ce(ve, xe, _e, Oe) {
|
|
131063
|
-
return
|
|
131067
|
+
return XEUtils$1.assign({}, Oe, ve.props, {
|
|
131064
131068
|
[oe(ve)]: _e
|
|
131065
131069
|
});
|
|
131066
131070
|
}
|
|
@@ -131113,7 +131117,9 @@ function initVxeRenderer(H, Q, Z) {
|
|
|
131113
131117
|
} = ve, {
|
|
131114
131118
|
data: Oe,
|
|
131115
131119
|
field: ke
|
|
131116
|
-
} = xe, be = XEUtils$1.get(Oe, ke), Ce = ce(ve, xe, be)
|
|
131120
|
+
} = xe, be = XEUtils$1.get(Oe, ke), Ce = ce(ve, xe, be);
|
|
131121
|
+
Ce.options = ve.options || [];
|
|
131122
|
+
const Se = he(ve, xe);
|
|
131117
131123
|
return [h$3(resolveComponent("el-select-v2"), {
|
|
131118
131124
|
..._e,
|
|
131119
131125
|
...Ce,
|
|
@@ -131125,7 +131131,9 @@ function initVxeRenderer(H, Q, Z) {
|
|
|
131125
131131
|
} = ve, {
|
|
131126
131132
|
row: Oe,
|
|
131127
131133
|
column: ke
|
|
131128
|
-
} = xe, be = XEUtils$1.get(Oe, ke.field), Ce = ce(ve, xe, be)
|
|
131134
|
+
} = xe, be = XEUtils$1.get(Oe, ke.field), Ce = ce(ve, xe, be);
|
|
131135
|
+
Ce.options = ve.options || [];
|
|
131136
|
+
const Se = de(ve, xe);
|
|
131129
131137
|
return [h$3(resolveComponent("el-select-v2"), {
|
|
131130
131138
|
..._e,
|
|
131131
131139
|
...Ce,
|
|
@@ -147766,7 +147774,7 @@ function reConsole() {
|
|
|
147766
147774
|
}
|
|
147767
147775
|
}
|
|
147768
147776
|
console.info(
|
|
147769
|
-
`%cSLW %cVer 0.10.
|
|
147777
|
+
`%cSLW %cVer 0.10.08%c
|
|
147770
147778
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147771
147779
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147772
147780
|
"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-1a483783.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED