slw 1.0.0-alpha.2 → 1.0.0-alpha.3
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-656e59c3.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_f42eb57c_lang = "", _withScopeId$9 = (Q) => (pushScopeId("data-v-f42eb57c"), Q = Q(), popScopeId(), Q), _hoisted_1$l2 = {
|
|
8529
8529
|
class: "slw-window-grid-container",
|
|
8530
8530
|
style: { height: "100%" }
|
|
8531
8531
|
}, _hoisted_2$kY = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$ay = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Y = [
|
|
@@ -8679,8 +8679,8 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
8679
8679
|
};
|
|
8680
8680
|
}
|
|
8681
8681
|
let ee = getParentRegion(), te = null;
|
|
8682
|
-
ee && ee.params && (te = ee.params.subtableSearchExParams);
|
|
8683
|
-
const ne = Object.assign({}, queryFormData.value, Z, te);
|
|
8682
|
+
ee != null && ee.params && (te = ee.params.subtableSearchExParams);
|
|
8683
|
+
const ne = Object.assign({}, gridData.value.params.queryParams, queryFormData.value, Z, te);
|
|
8684
8684
|
Object.entries(ne).forEach(([ce, ue]) => {
|
|
8685
8685
|
var he;
|
|
8686
8686
|
if (ue == null && (queryFormData.value[ce] = null), ne[ce] instanceof Array) {
|
|
@@ -8701,10 +8701,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
8701
8701
|
}
|
|
8702
8702
|
ne[ce.toLowerCase()] = he;
|
|
8703
8703
|
}
|
|
8704
|
-
if (ne.page = H.currentPage, ne.limit = H.pageSize, ne._region_id = gridData.value.params._region_id, gridData.value.params.parentRowId && (ne[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue),
|
|
8705
|
-
const ue = ce.toLowerCase();
|
|
8706
|
-
ne.hasOwnProperty(ue) && (queryFormData.value[ue] = gridData.value.params.queryParams[ce], ne[ue] = gridData.value.params.queryParams[ce]);
|
|
8707
|
-
}), Object.keys(ne).forEach((ce) => {
|
|
8704
|
+
if (ne.page = H.currentPage, ne.limit = H.pageSize, ne._region_id = gridData.value.params._region_id, gridData.value.params.parentRowId && (ne[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), Object.keys(ne).forEach((ce) => {
|
|
8708
8705
|
ne[ce] instanceof Object && (ne[ce] = Object.values(ne[ce]).join());
|
|
8709
8706
|
}), Q ? Object.keys(Q).forEach((ce) => {
|
|
8710
8707
|
const ue = ce.toLowerCase();
|
|
@@ -8794,7 +8791,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
8794
8791
|
}
|
|
8795
8792
|
}, gridData.value.params.parentRegionId && (gridData.value.proxyConfig.autoLoad = !1);
|
|
8796
8793
|
}, rowClick = (Q) => {
|
|
8797
|
-
gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE" || Q.rowIndex !== rowIndex.value ? rowClickCommon(Q.row, Q.rowIndex) :
|
|
8794
|
+
gridData.value.type === "TREE" || gridData.value.type === "TREE_STRUCTURE" || Q.rowIndex !== rowIndex.value ? rowClickCommon(Q.row, Q.rowIndex) : rowIndex.value = Q.rowIndex;
|
|
8798
8795
|
}, rowClickCommon = (Q, H) => {
|
|
8799
8796
|
var Z;
|
|
8800
8797
|
const X = {
|
|
@@ -9164,7 +9161,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
9164
9161
|
(Q = getCurRegion()) == null || Q.commitProxy("query");
|
|
9165
9162
|
}, getCheckedData = () => {
|
|
9166
9163
|
const Q = getCurRegion();
|
|
9167
|
-
return Q ? Q.getCheckboxRecords() : null;
|
|
9164
|
+
return Q ? Q.getCheckboxRecords().concat(Q.getCheckboxReserveRecords()) : null;
|
|
9168
9165
|
}, headerCheckboxChange = ({ checked: Q, row: H, rowIndex: X }) => {
|
|
9169
9166
|
let G = getCheckedData();
|
|
9170
9167
|
if (G.length > 0)
|
|
@@ -9239,7 +9236,8 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
9239
9236
|
});
|
|
9240
9237
|
}, search = (Q) => {
|
|
9241
9238
|
clearTimeout(queryTimeout.value), Q && (gridData.value.params.queryParams = Q), queryTimeout.value = setTimeout(function() {
|
|
9242
|
-
|
|
9239
|
+
var H;
|
|
9240
|
+
(H = getCurRegion()) == null || H.commitProxy("query");
|
|
9243
9241
|
}, 500);
|
|
9244
9242
|
}, importFormatError = (Q) => {
|
|
9245
9243
|
$vxeMessage({
|
|
@@ -9711,6 +9709,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
9711
9709
|
}, setQueryFieldChangeFun = (Q, H) => {
|
|
9712
9710
|
const G = getCurRegion().formConfig.items.filter((K) => K.field == Q)[0];
|
|
9713
9711
|
G && (G.itemRender.props.changeFunction = H);
|
|
9712
|
+
}, setQueryFormItemDisplay = (Q, H) => {
|
|
9713
|
+
const G = getCurRegion().formConfig.items.filter((K) => K.field == Q)[0];
|
|
9714
|
+
G && (G.visible = H);
|
|
9714
9715
|
}, footerSum = (Q, H, X = 2, G = "和值") => {
|
|
9715
9716
|
const K = (te, ne) => {
|
|
9716
9717
|
let oe = 0;
|
|
@@ -9856,21 +9857,21 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
9856
9857
|
events: { click: toolBarButtonClick }
|
|
9857
9858
|
});
|
|
9858
9859
|
}), gridData.value.formConfig.items.forEach((Q) => {
|
|
9859
|
-
var H, X, G;
|
|
9860
|
-
if (queryFormData.value[Q.field] = null, (
|
|
9861
|
-
const
|
|
9860
|
+
var H, X, G, K;
|
|
9861
|
+
if (queryFormData.value[Q.field] = null, (H = Q == null ? void 0 : Q.itemRender) != null && H.defaultValue && (queryFormData.value[Q.field] = Q.itemRender.defaultValue), (G = (X = Q == null ? void 0 : Q.itemRender) == null ? void 0 : X.events) != null && G.hasOwnProperty("change") && (Q.itemRender.events.change = onQueryFieldChange), Q.querys && getSelectorData({ _region_id: gridData.value.params._region_id }, Q.querys.id, Q.querys.selectorId).then((Z) => {
|
|
9862
|
+
const ee = Z.map((te) => Object.assign(
|
|
9862
9863
|
{
|
|
9863
|
-
value:
|
|
9864
|
-
label:
|
|
9864
|
+
value: te.VALUE,
|
|
9865
|
+
label: te.NAME
|
|
9865
9866
|
},
|
|
9866
|
-
|
|
9867
|
+
te
|
|
9867
9868
|
));
|
|
9868
|
-
Q.itemRender.options =
|
|
9869
|
-
}), ["ElDateRangePicker", "ElDateTimeRangePicker"].includes((
|
|
9870
|
-
let
|
|
9871
|
-
|
|
9872
|
-
let
|
|
9873
|
-
return
|
|
9869
|
+
Q.itemRender.options = ee;
|
|
9870
|
+
}), ["ElDateRangePicker", "ElDateTimeRangePicker"].includes((K = Q == null ? void 0 : Q.itemRender) == null ? void 0 : K.name)) {
|
|
9871
|
+
let Z = Q.itemRender.props;
|
|
9872
|
+
Z.unlinkPanels = !0, Z.disabledDate = (ee) => {
|
|
9873
|
+
let te = /* @__PURE__ */ new Date();
|
|
9874
|
+
return te.setHours(23), te.setMinutes(59), te.setSeconds(59), ee.valueOf() > te.valueOf();
|
|
9874
9875
|
};
|
|
9875
9876
|
}
|
|
9876
9877
|
}), gridData.value.params.queryFormData = queryFormData.value, gridData.value.columns.forEach((Q) => {
|
|
@@ -9885,7 +9886,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
9885
9886
|
search(Q);
|
|
9886
9887
|
}, curRegion.value.getCheckedData = () => getCheckedData(), curRegion.value.getSelectRecord = () => getSelectRecord(), curRegion.value.setChecked = (Q) => {
|
|
9887
9888
|
setChecked(Q);
|
|
9888
|
-
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (Q) => removeRow(), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H);
|
|
9889
|
+
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (Q) => removeRow(), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H), curRegion.value.setQueryFormItemDisplay = (Q, H) => setQueryFormItemDisplay(Q, H);
|
|
9889
9890
|
}), onUnmounted(() => {
|
|
9890
9891
|
document.removeEventListener("mousedown", tableOutDestroyAreaBox), document.removeEventListener("mouseup", tbodymouseup), document.removeEventListener("paste", ctrlVPaste), document.removeEventListener("copy", ctrlCopyAndCut), document.removeEventListener("cut", ctrlCopyAndCut);
|
|
9891
9892
|
}), __expose({ gridReload, reload }), (Q, H) => {
|
|
@@ -10149,7 +10150,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_db255132_lang = "", _withScop
|
|
|
10149
10150
|
]);
|
|
10150
10151
|
};
|
|
10151
10152
|
}
|
|
10152
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
10153
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-f42eb57c"]]);
|
|
10153
10154
|
WindowGrid.name = "slw-window-grid";
|
|
10154
10155
|
WindowGrid.install = (Q) => {
|
|
10155
10156
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -42461,7 +42462,7 @@ var js = js$1.exports;
|
|
|
42461
42462
|
})(Q);
|
|
42462
42463
|
})(js$1);
|
|
42463
42464
|
var jsExports = js$1.exports;
|
|
42464
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
42465
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_3b9acef8_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-3b9acef8"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
42465
42466
|
key: 0,
|
|
42466
42467
|
class: "form-title"
|
|
42467
42468
|
}, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$d = {
|
|
@@ -42552,6 +42553,10 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42552
42553
|
for (let X = 0; X < H.length; X++) {
|
|
42553
42554
|
let G = formConfig.value.editRules[H[X]], K = formConfig.value.columns.filter((Z) => Z.field == H[X])[0];
|
|
42554
42555
|
if (K) {
|
|
42556
|
+
(K.dataType == "TABLE" || K.dataType == "LIST") && (G[0].validator = ({ itemValue: ee, rule: te, rules: ne, data: oe, field: re }) => {
|
|
42557
|
+
if (!oe[re] || oe[re].length == 0)
|
|
42558
|
+
return new Error(te.message);
|
|
42559
|
+
});
|
|
42555
42560
|
let Z = K.editRender.props.displayLogic;
|
|
42556
42561
|
Z ? displayLogic(Z, { ...formData.value, ...assembleParentData() }) && (Q[H[X]] = G) : Q[H[X]] = G;
|
|
42557
42562
|
}
|
|
@@ -42623,7 +42628,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42623
42628
|
if (formConfig.value.formData) {
|
|
42624
42629
|
formData.value = formConfig.value.formData, Q = formConfig.value.openType === "new", formConfig.value.openType === "view" && (formConfig.value.columns = XEUtils$4.clone(formConfig.value.columns, !0));
|
|
42625
42630
|
for (const Z of formConfig.value.columns)
|
|
42626
|
-
formConfig.value.openType === "view" && ((H = Z.itemRender) == null ? void 0 : H.name) == "ElInput" && (Z.itemRender.props.readonly = !0), Z.dataType === "EDITOR" ? formData.value[Z.field] == null ? formData.value[Z.field] = "" : Z.language == "javascript" && (formData.value[Z.field] = jsExports.js_beautify(formData.value[Z.field], codeBeautifyConfig)) : (((X = Z.itemRender) == null ? void 0 : X.name) == "ElSelect" || ((G = Z.itemRender) == null ? void 0 : G.name) == "VxeSelect") && Z.itemRender.props.multiple && (formData.value[Z.field] = (K = formData.value[Z.field]) == null ? void 0 : K.split(","));
|
|
42631
|
+
formConfig.value.openType === "view" && ((H = Z.itemRender) == null ? void 0 : H.name) == "ElInput" && (Z.itemRender.props.readonly = !0), Z.dataType === "EDITOR" ? formData.value[Z.field] == null ? formData.value[Z.field] = "" : Z.language == "javascript" && (formData.value[Z.field] = jsExports.js_beautify(formData.value[Z.field], codeBeautifyConfig)) : (((X = Z.itemRender) == null ? void 0 : X.name) == "ElSelect" || ((G = Z.itemRender) == null ? void 0 : G.name) == "VxeSelect") && Z.itemRender.props.multiple && (formData.value[Z.field] = formData.value[Z.field] == "" ? [] : (K = formData.value[Z.field]) == null ? void 0 : K.split(","));
|
|
42627
42632
|
} else
|
|
42628
42633
|
for (const Z in formConfig.value.columns)
|
|
42629
42634
|
formConfig.value.columns[Z].type !== "seq" && formConfig.value.columns[Z].type !== "checkbox" && (formData.value[formConfig.value.columns[Z].field] = "");
|
|
@@ -43057,7 +43062,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43057
43062
|
formData.value[Q.toUpperCase()] = [];
|
|
43058
43063
|
}));
|
|
43059
43064
|
}, throwFunction = (Q) => {
|
|
43060
|
-
Q.getData = () => getData(), Q.submitData = () => submitData(), Q.getValue = (H) => getValue(H), Q.setValue = (H, X) => setValue(H, X), Q.checkSubmitData = () => checkSubmitData(), Q.searchData = (H) => searchData(H), Q.displayFormItem = (H, X) => displayFormItem(H, X), Q.reset = () => reset(), Q.clearData = () => clearData();
|
|
43065
|
+
Q.getData = () => getData(), Q.submitData = () => submitData(), Q.getValue = (H) => getValue(H), Q.setValue = (H, X) => setValue(H, X), Q.checkSubmitData = () => checkSubmitData(), Q.searchData = (H) => searchData(H), Q.displayFormItem = (H, X) => displayFormItem(H, X), Q.reset = () => reset(), Q.clearData = () => clearData(), Q.setFieldName = (H, X) => setFieldName(H, X), Q.setFormItemProperty = (H, X, G) => setFormItemProperty(H, X, G), Q.getTableFieldSelectData = (H) => getTableFieldSelectData(H), Q.setFormSelectOption = (H, X) => setFormSelectOption(H, X);
|
|
43061
43066
|
};
|
|
43062
43067
|
return __expose({ submitData, validateDataChg, getValue, getRegion, getData }), (Q, H) => {
|
|
43063
43068
|
const X = resolveComponent("el-icon"), G = resolveComponent("el-button"), K = resolveComponent("el-input"), Z = resolveComponent("vxe-form-item"), ee = resolveComponent("vxe-form"), te = resolveComponent("el-dialog");
|
|
@@ -43304,7 +43309,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43304
43309
|
]);
|
|
43305
43310
|
};
|
|
43306
43311
|
}
|
|
43307
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
43312
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-3b9acef8"]]);
|
|
43308
43313
|
WindowForm.name = "slw-window-form";
|
|
43309
43314
|
WindowForm.install = (Q) => {
|
|
43310
43315
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -59080,7 +59085,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59080
59085
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59081
59086
|
setup(Q, { emit: H }) {
|
|
59082
59087
|
const X = Q, G = defineAsyncComponent(
|
|
59083
|
-
() => import("./index-
|
|
59088
|
+
() => import("./index-5418c07e.js")
|
|
59084
59089
|
);
|
|
59085
59090
|
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);
|
|
59086
59091
|
oe.value = createDesigner();
|
|
@@ -59165,7 +59170,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
59165
59170
|
WindowDesigner.install = (Q) => {
|
|
59166
59171
|
Q.component(WindowDesigner.name, WindowDesigner);
|
|
59167
59172
|
};
|
|
59168
|
-
const
|
|
59173
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_40d321d5_lang = "", _withScopeId$1 = (Q) => (pushScopeId("data-v-40d321d5"), Q = Q(), popScopeId(), Q), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$2 = {
|
|
59169
59174
|
__name: "window-index",
|
|
59170
59175
|
props: {
|
|
59171
59176
|
windowId: {
|
|
@@ -59406,7 +59411,8 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
59406
59411
|
},
|
|
59407
59412
|
checkboxConfig: {
|
|
59408
59413
|
trigger: "column",
|
|
59409
|
-
range: !0
|
|
59414
|
+
range: !0,
|
|
59415
|
+
reserve: !0
|
|
59410
59416
|
},
|
|
59411
59417
|
printConfig: {
|
|
59412
59418
|
modes: ["current", "selected", "all"]
|
|
@@ -59513,7 +59519,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
59513
59519
|
)));
|
|
59514
59520
|
break;
|
|
59515
59521
|
case "TABLE":
|
|
59516
|
-
de.itemRender.name = "VxeSelect", de.itemRender.props.filterable = !
|
|
59522
|
+
de.itemRender.name = "VxeSelect", de.itemRender.props.filterable = !0, Z[se].type === "IN" && (de.itemRender.props.multiple = !0), de.querys = Z[se], Z[se].remoteSearch && (de.remoteSearch = Z[se].remoteSearch, de.itemRender.props.loading = !1);
|
|
59517
59523
|
break;
|
|
59518
59524
|
case "BOOL":
|
|
59519
59525
|
de.itemRender.name = "ElSwitch";
|
|
@@ -59769,7 +59775,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
59769
59775
|
de.name = "ElInput";
|
|
59770
59776
|
break;
|
|
59771
59777
|
case "LIST":
|
|
59772
|
-
de.name = "
|
|
59778
|
+
de.name = "VxeSelect", de.attrs.style = "width: 100%;min-width: 80px;", de.props.filterable = !0, de.props.transfer = !0, de.props.disabled = re[se].notUpdate || re[se].readOnly, re[se].selector && re[se].selector.data && (de.options = re[se].selector.data.map((ve) => Object.assign(
|
|
59773
59779
|
{
|
|
59774
59780
|
value: ve.VALUE,
|
|
59775
59781
|
label: ve.NAME
|
|
@@ -59786,7 +59792,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
59786
59792
|
};
|
|
59787
59793
|
break;
|
|
59788
59794
|
case "TABLE":
|
|
59789
|
-
de.name = "VxeSelect", de.attrs.style = "width: 100%;min-width: 80px;", de.props.disabled = re[se].notUpdate || re[se].readOnly, pe.selectorId = re[se].selectorId, pe.formatter = ({ row: ve, column: me }) => (!ve["_" + me.property + "_NAME"] && me.editRender.options && me.editRender.options.forEach((_e) => {
|
|
59795
|
+
de.name = "VxeSelect", de.attrs.style = "width: 100%;min-width: 80px;", de.props.disabled = re[se].notUpdate || re[se].readOnly, de.props.filterable = !0, de.props.transfer = !0, pe.selectorId = re[se].selectorId, pe.formatter = ({ row: ve, column: me }) => (!ve["_" + me.property + "_NAME"] && me.editRender.options && me.editRender.options.forEach((_e) => {
|
|
59790
59796
|
if (_e.VALUE == ve[me.property]) {
|
|
59791
59797
|
ve["_" + me.property + "_NAME"] = _e.NAME;
|
|
59792
59798
|
return;
|
|
@@ -59795,7 +59801,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
59795
59801
|
cellValue: ve["_" + me.property + "_NAME"] || ve[me.property],
|
|
59796
59802
|
row: ve,
|
|
59797
59803
|
column: me
|
|
59798
|
-
}) : ve["_" + me.property + "_NAME"] || ve[me.property]),
|
|
59804
|
+
}) : ve["_" + me.property + "_NAME"] || ve[me.property]), de.props.dropdownStyle = {
|
|
59799
59805
|
"z-index": 5e3
|
|
59800
59806
|
};
|
|
59801
59807
|
break;
|
|
@@ -60264,7 +60270,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_c312ddce_lang = "", _withSco
|
|
|
60264
60270
|
]);
|
|
60265
60271
|
};
|
|
60266
60272
|
}
|
|
60267
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
60273
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-40d321d5"]]);
|
|
60268
60274
|
WindowIndex.name = "slw-window-index";
|
|
60269
60275
|
WindowIndex.install = (Q) => {
|
|
60270
60276
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -165450,7 +165456,7 @@ function reConsole() {
|
|
|
165450
165456
|
}
|
|
165451
165457
|
}
|
|
165452
165458
|
console.info(
|
|
165453
|
-
`%cSLW %cVer 1.0.0-alpha.
|
|
165459
|
+
`%cSLW %cVer 1.0.0-alpha.3%c
|
|
165454
165460
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
165455
165461
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
165456
165462
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED