slw 1.0.0-beta.14.1 → 1.0.0-beta.14.2
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-d3b7e0d8.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 = (Q) => {
|
|
8526
8526
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_5f4ec841_lang = "", _withScopeId$9 = (Q) => (pushScopeId("data-v-5f4ec841"), Q = Q(), popScopeId(), Q), _hoisted_1$l2 = {
|
|
8529
8529
|
class: "slw-window-grid-container",
|
|
8530
8530
|
style: { height: "100%" }
|
|
8531
8531
|
}, _hoisted_2$kZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$az = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Z = [
|
|
@@ -8576,12 +8576,18 @@ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScop
|
|
|
8576
8576
|
let X = gridData.value.formConfig.items.filter((G) => G.folding).map((G) => G.field);
|
|
8577
8577
|
if (X.length > 0) {
|
|
8578
8578
|
let G = !1;
|
|
8579
|
-
|
|
8580
|
-
if (
|
|
8579
|
+
for (let K of X)
|
|
8580
|
+
if (form[K] instanceof Array)
|
|
8581
|
+
if (form[K].length > 0) {
|
|
8582
|
+
G = !0;
|
|
8583
|
+
break;
|
|
8584
|
+
} else
|
|
8585
|
+
continue;
|
|
8586
|
+
else if (form[K]) {
|
|
8581
8587
|
G = !0;
|
|
8582
|
-
|
|
8588
|
+
break;
|
|
8583
8589
|
}
|
|
8584
|
-
|
|
8590
|
+
G && (Q += " form-folding");
|
|
8585
8591
|
}
|
|
8586
8592
|
}
|
|
8587
8593
|
return Q;
|
|
@@ -9283,15 +9289,10 @@ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScop
|
|
|
9283
9289
|
getCurRegion().remove(Q);
|
|
9284
9290
|
}, exportCurrentData = async () => {
|
|
9285
9291
|
exportButton.value ? getCurRegion().exportData() : $message.error($T("您没有导出数据权限!"));
|
|
9286
|
-
}, exportData = async () => {
|
|
9292
|
+
}, exportData = async (Q) => {
|
|
9287
9293
|
if (exportButton.value) {
|
|
9288
|
-
const
|
|
9289
|
-
|
|
9290
|
-
_button_id: exportButton.value._button_id
|
|
9291
|
-
},
|
|
9292
|
-
gridData.value.params.queryFormData
|
|
9293
|
-
);
|
|
9294
|
-
gridData.value.params.parentRowId && (Q[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), await axios.export("/window/export?data=" + base64Encode(JSON.stringify(Q)), {}), exportButton.value.loading = !1;
|
|
9294
|
+
const H = Object.assign({ _button_id: exportButton.value._button_id }, gridData.value.params.queryFormData);
|
|
9295
|
+
gridData.value.params.parentRowId && (H[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), Q && (H._file_name = Q), await axios.export("/window/export?data=" + base64Encode(JSON.stringify(H)), {}), exportButton.value.loading = !1;
|
|
9295
9296
|
} else
|
|
9296
9297
|
$message.error($T("您没有导出数据权限!"));
|
|
9297
9298
|
}, search = (Q) => {
|
|
@@ -10087,18 +10088,21 @@ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScop
|
|
|
10087
10088
|
} : void 0
|
|
10088
10089
|
]), 1032, ["iconComponent", "style", "onClick"]))), 128))
|
|
10089
10090
|
]),
|
|
10090
|
-
top: withCtx(() =>
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10091
|
+
top: withCtx(() => {
|
|
10092
|
+
var ue;
|
|
10093
|
+
return [
|
|
10094
|
+
createElementVNode("div", {
|
|
10095
|
+
class: "table_top_wrapper",
|
|
10096
|
+
id: "table_top_" + unref(gridData).params.code
|
|
10097
|
+
}, [
|
|
10098
|
+
(ue = unref(gridData).params.slotsVuePath) != null && ue.table_top ? (openBlock(), createBlock(resolveDynamicComponent(unref(tableTopComponent)), {
|
|
10099
|
+
key: 0,
|
|
10100
|
+
ref_key: "tableTop",
|
|
10101
|
+
ref: tableTop
|
|
10102
|
+
}, null, 512)) : createCommentVNode("", !0)
|
|
10103
|
+
], 8, _hoisted_7$14)
|
|
10104
|
+
];
|
|
10105
|
+
}),
|
|
10102
10106
|
form: withCtx(() => [
|
|
10103
10107
|
createElementVNode("div", _hoisted_8$H, [
|
|
10104
10108
|
createVNode(te, {
|
|
@@ -10201,18 +10205,21 @@ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScop
|
|
|
10201
10205
|
_: 1
|
|
10202
10206
|
}, 8, ["collapseNode"])) : createCommentVNode("", !0),
|
|
10203
10207
|
createVNode(ee, { span: "24" }, {
|
|
10204
|
-
default: withCtx(() =>
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10208
|
+
default: withCtx(() => {
|
|
10209
|
+
var ue;
|
|
10210
|
+
return [
|
|
10211
|
+
createElementVNode("div", {
|
|
10212
|
+
class: "other_item",
|
|
10213
|
+
id: "other_item_" + unref(gridData).params.code
|
|
10214
|
+
}, [
|
|
10215
|
+
(ue = unref(gridData).params.slotsVuePath) != null && ue.other_item ? (openBlock(), createBlock(resolveDynamicComponent(unref(otherItemComponent)), {
|
|
10216
|
+
key: 0,
|
|
10217
|
+
ref_key: "otherItem",
|
|
10218
|
+
ref: otherItem
|
|
10219
|
+
}, null, 512)) : createCommentVNode("", !0)
|
|
10220
|
+
], 8, _hoisted_14$1)
|
|
10221
|
+
];
|
|
10222
|
+
}),
|
|
10216
10223
|
_: 1
|
|
10217
10224
|
})
|
|
10218
10225
|
]),
|
|
@@ -10353,7 +10360,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_81900fbc_lang = "", _withScop
|
|
|
10353
10360
|
]);
|
|
10354
10361
|
};
|
|
10355
10362
|
}
|
|
10356
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
10363
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5f4ec841"]]);
|
|
10357
10364
|
WindowGrid.name = "slw-window-grid";
|
|
10358
10365
|
WindowGrid.install = (Q) => {
|
|
10359
10366
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -59401,7 +59408,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59401
59408
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59402
59409
|
setup(Q, { emit: H }) {
|
|
59403
59410
|
const X = Q, G = defineAsyncComponent(
|
|
59404
|
-
() => import("./index-
|
|
59411
|
+
() => import("./index-c91fc1bc.js")
|
|
59405
59412
|
);
|
|
59406
59413
|
let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref(0), oe = ref(null);
|
|
59407
59414
|
oe.value = createDesigner();
|
|
@@ -165901,7 +165908,7 @@ function reConsole() {
|
|
|
165901
165908
|
}
|
|
165902
165909
|
}
|
|
165903
165910
|
console.info(
|
|
165904
|
-
`%cSLW %cVer 1.0.0-beta.14.
|
|
165911
|
+
`%cSLW %cVer 1.0.0-beta.14.2%c
|
|
165905
165912
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
165906
165913
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
165907
165914
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED