slw 0.9.40 → 0.9.42
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.
|
@@ -2,6 +2,7 @@ var pi = Object.defineProperty;
|
|
|
2
2
|
var mi = (Q, H, G) => H in Q ? pi(Q, H, { enumerable: !0, configurable: !0, writable: !0, value: G }) : Q[H] = G;
|
|
3
3
|
var Ho = (Q, H, G) => (mi(Q, typeof H != "symbol" ? H + "" : H, G), G);
|
|
4
4
|
import { shallowRef, watchEffect, readonly, ref, watch, customRef, getCurrentScope, onScopeDispose, effectScope, provide, inject, version as version$1, isRef, unref, computed, reactive, toRefs as toRefs$2, toRef as toRef$2, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive, defineComponent, shallowReactive, h as h$3, Fragment, TransitionGroup, onUpdated, markRaw, isReadonly, onBeforeUpdate, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderList, createBlock, toRaw, mergeProps as mergeProps$1, normalizeStyle, createSlots, toDisplayString, resolveDynamicComponent, createTextVNode, renderSlot, withModifiers, defineAsyncComponent, onActivated, isVNode, Comment, Text as Text$2, Transition, Teleport, render as render$1, cloneVNode, withDirectives, resolveDirective, vShow, camelize as camelize$2, createStaticVNode, createApp, onDeactivated } from "vue";
|
|
5
|
+
import { useRoute } from "vue-router";
|
|
5
6
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
7
|
function getDefaultExportFromCjs(Q) {
|
|
7
8
|
return Q && Q.__esModule && Object.prototype.hasOwnProperty.call(Q, "default") ? Q.default : Q;
|
|
@@ -8524,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8524
8525
|
PictureUpload.install = (Q) => {
|
|
8525
8526
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8526
8527
|
};
|
|
8527
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_8b22b7ee_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-8b22b7ee"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = {
|
|
8528
8529
|
class: "slw-window-grid-container",
|
|
8529
8530
|
style: { height: "100%" }
|
|
8530
8531
|
}, _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$ay = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Y = [
|
|
@@ -8547,7 +8548,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_84f8fc32_lang = "", _withScop
|
|
|
8547
8548
|
},
|
|
8548
8549
|
emits: ["update:gridData", "jumpDesign"],
|
|
8549
8550
|
setup(__props, { expose: __expose, emit }) {
|
|
8550
|
-
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"), router = inject("$router");
|
|
8551
|
+
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"), router = inject("$router"), route = useRoute();
|
|
8551
8552
|
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({
|
|
8552
8553
|
show: !1,
|
|
8553
8554
|
dataId: "",
|
|
@@ -10173,7 +10174,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_84f8fc32_lang = "", _withScop
|
|
|
10173
10174
|
]);
|
|
10174
10175
|
};
|
|
10175
10176
|
}
|
|
10176
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10177
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-8b22b7ee"]]);
|
|
10177
10178
|
WindowGrid.name = "slw-window-grid";
|
|
10178
10179
|
WindowGrid.install = (Q) => {
|
|
10179
10180
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -42487,7 +42488,7 @@ var js = js$1.exports;
|
|
|
42487
42488
|
})(Q);
|
|
42488
42489
|
})(js$1);
|
|
42489
42490
|
var jsExports = js$1.exports;
|
|
42490
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
42491
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_cf319331_lang = "", _withScopeId$7 = (Q) => (pushScopeId("data-v-cf319331"), Q = Q(), popScopeId(), Q), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
42491
42492
|
key: 0,
|
|
42492
42493
|
class: "form-header-box"
|
|
42493
42494
|
}, _hoisted_3$hX = {
|
|
@@ -42508,7 +42509,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42508
42509
|
setup(__props, { expose: __expose, emit: emits }) {
|
|
42509
42510
|
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");
|
|
42510
42511
|
let regionMap = inject("$regionMap");
|
|
42511
|
-
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router");
|
|
42512
|
+
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), route = useRoute();
|
|
42512
42513
|
let formConfig = useVModel$1(props, "formConfig", emits), gridData = ref(formConfig.value), formData = ref({}), fieldColumnMap = ref({}), formDataClone = ref({}), formLoading = ref(!1), queryTimeout = ref(null);
|
|
42513
42514
|
const $modal = $Modal;
|
|
42514
42515
|
let uploadConfig = ref({
|
|
@@ -43485,7 +43486,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43485
43486
|
]);
|
|
43486
43487
|
};
|
|
43487
43488
|
}
|
|
43488
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
43489
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-cf319331"]]);
|
|
43489
43490
|
WindowForm.name = "slw-window-form";
|
|
43490
43491
|
WindowForm.install = (Q) => {
|
|
43491
43492
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -59253,7 +59254,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59253
59254
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59254
59255
|
setup(Q, { emit: H }) {
|
|
59255
59256
|
const G = Q, X = defineAsyncComponent(
|
|
59256
|
-
() => import("./index-
|
|
59257
|
+
() => import("./index-c537657b.js")
|
|
59257
59258
|
);
|
|
59258
59259
|
let Z = useVModel(G, "type", H), K = useVModel(G, "rootLayout", H), ee = useVModel(G, "viewData", H), te = useVModel(G, "rowData", H), ne = ref(0), re = ref(null);
|
|
59259
59260
|
re.value = createDesigner();
|
|
@@ -144251,7 +144252,7 @@ function reConsole() {
|
|
|
144251
144252
|
}
|
|
144252
144253
|
}
|
|
144253
144254
|
console.info(
|
|
144254
|
-
`%cSLW %cVer 0.9.
|
|
144255
|
+
`%cSLW %cVer 0.9.42%c
|
|
144255
144256
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
144256
144257
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
144257
144258
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
@@ -1,5 +1,6 @@
|
|
|
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-bdaea8f8.js";
|
|
3
|
+
import "vue-router";
|
|
3
4
|
const I = {
|
|
4
5
|
computed: {},
|
|
5
6
|
methods: {
|
package/lib/index.js
CHANGED