slw 0.8.94 → 0.8.96
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.
- package/lib/index.js +90 -80
- package/lib/index.umd.cjs +7 -7
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8524,7 +8524,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8524
8524
|
PictureUpload.install = (Q) => {
|
|
8525
8525
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8526
8526
|
};
|
|
8527
|
-
const
|
|
8527
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_72ee1fc2_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-72ee1fc2"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8528
8528
|
class: "slw-window-grid-container",
|
|
8529
8529
|
style: { height: "100%" }
|
|
8530
8530
|
}, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$av = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4V = [
|
|
@@ -8534,7 +8534,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
8534
8534
|
], _hoisted_6$1$ = ["onClick"], _hoisted_7$13 = {
|
|
8535
8535
|
key: 0,
|
|
8536
8536
|
style: { verticalAlign: "middle" }
|
|
8537
|
-
}, _hoisted_8$
|
|
8537
|
+
}, _hoisted_8$G = { style: { padding: "20px 0" } }, _sfc_main$6 = {
|
|
8538
8538
|
__name: "window-grid",
|
|
8539
8539
|
props: {
|
|
8540
8540
|
gridData: {
|
|
@@ -8787,8 +8787,8 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
8787
8787
|
gridData.value.toolbarConfig.buttons.forEach((G) => {
|
|
8788
8788
|
G.displayLogic && (G.showInGrid || (G.visible = displayLogic(G.displayLogic, Q)), G.btnShowInGrid[H] = G.showInGrid && displayLogic(G.displayLogic, Q), G.btnShow[H] = !G.showInGrid && G.showInGrid);
|
|
8789
8789
|
});
|
|
8790
|
-
}, onRowDbClick = (Q) => {
|
|
8791
|
-
gridData.value.addListener && Q.column.type == "seq" && Q.column.fixed == "left" && headerSeqCellDbClick(Q), gridData.value.type !== "EDIT_GRID" && commonEditData(Q.row, Q.rowIndex);
|
|
8790
|
+
}, onRowDbClick = async (Q) => {
|
|
8791
|
+
gridData.value.addListener && Q.column.type == "seq" && Q.column.fixed == "left" && headerSeqCellDbClick(Q), gridData.value.params.formEvents.rowDbclickFunction ? await evalEvent(gridData.value.params.formEvents.rowDbclickFunction, Q.row) : gridData.value.type !== "EDIT_GRID" && commonEditData(Q.row, Q.rowIndex);
|
|
8792
8792
|
}, toolBarButtonClick = async (Q, H, G) => {
|
|
8793
8793
|
if (Q.hasOwnProperty("button") && (Q = Q.button), gridData.value.type == "TREE_STRUCTURE") {
|
|
8794
8794
|
if (Q.type == "OPEN") {
|
|
@@ -8919,8 +8919,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
8919
8919
|
const ne = getGrid();
|
|
8920
8920
|
K._region_id = gridData.value.params._region_id;
|
|
8921
8921
|
const { row: re } = await getGrid().insertAt(K, -1);
|
|
8922
|
-
await editGridSetDefaultValue(re), isEditGridInitData.value || await editGridInitData(re);
|
|
8923
|
-
const oe = await ne.validate(re).catch((ae) => ae);
|
|
8922
|
+
await editGridSetDefaultValue(re), isEditGridInitData.value || await editGridInitData(re), ne.setEditRow(re);
|
|
8924
8923
|
} else {
|
|
8925
8924
|
if (gridData.value.params.parentRowId && !gridData.value.params.parentRowIdValue) {
|
|
8926
8925
|
$vxeMessage({
|
|
@@ -9851,7 +9850,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
9851
9850
|
if (G)
|
|
9852
9851
|
return !0;
|
|
9853
9852
|
if (H == null)
|
|
9854
|
-
return oldInsertRecords = XEUtils$1.clone(Q, !0),
|
|
9853
|
+
return oldInsertRecords = XEUtils$1.clone(Q, !0), Q.insertRecords.length > 0;
|
|
9855
9854
|
for (let X in Q) {
|
|
9856
9855
|
if (Q[X].length != H[X].length)
|
|
9857
9856
|
return !1;
|
|
@@ -9891,7 +9890,8 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
9891
9890
|
size: "default",
|
|
9892
9891
|
type: Q.viewType,
|
|
9893
9892
|
style: Q.css,
|
|
9894
|
-
loading: Q.btnLoad[rowIndex.value]
|
|
9893
|
+
loading: Q.btnLoad[rowIndex.value],
|
|
9894
|
+
plain: Q.plain
|
|
9895
9895
|
},
|
|
9896
9896
|
events: { click: toolBarButtonClick }
|
|
9897
9897
|
});
|
|
@@ -10088,7 +10088,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
10088
10088
|
"on-success": importSuccess
|
|
10089
10089
|
}, {
|
|
10090
10090
|
default: withCtx(() => [
|
|
10091
|
-
createElementVNode("div", _hoisted_8$
|
|
10091
|
+
createElementVNode("div", _hoisted_8$G, [
|
|
10092
10092
|
createVNode(te, { width: 50 }),
|
|
10093
10093
|
createElementVNode("p", null, toDisplayString(unref($T)("点击或拖文件到此处上传")), 1)
|
|
10094
10094
|
])
|
|
@@ -10119,7 +10119,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b21fa00b_lang = "", _withScop
|
|
|
10119
10119
|
]);
|
|
10120
10120
|
};
|
|
10121
10121
|
}
|
|
10122
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
10122
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-72ee1fc2"]]);
|
|
10123
10123
|
WindowGrid.name = "slw-window-grid";
|
|
10124
10124
|
WindowGrid.install = (Q) => {
|
|
10125
10125
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -38956,10 +38956,16 @@ var js = js$1.exports;
|
|
|
38956
38956
|
})(Q);
|
|
38957
38957
|
})(js$1);
|
|
38958
38958
|
var jsExports = js$1.exports;
|
|
38959
|
-
const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
38959
|
+
const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_d6c22c63_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-d6c22c63"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
|
|
38960
38960
|
key: 0,
|
|
38961
|
-
|
|
38962
|
-
}, _hoisted_3$hS =
|
|
38961
|
+
class: "form-header-box"
|
|
38962
|
+
}, _hoisted_3$hS = {
|
|
38963
|
+
key: 0,
|
|
38964
|
+
class: "form-title"
|
|
38965
|
+
}, _hoisted_4$au = {
|
|
38966
|
+
key: 1,
|
|
38967
|
+
class: "form-buttons"
|
|
38968
|
+
}, _hoisted_5$4U = ["onClick"], _hoisted_6$1_ = ["onClick"], _hoisted_7$12 = ["onClick"], _hoisted_8$F = ["onClick"], _hoisted_9$m = ["onClick"], _sfc_main$5 = {
|
|
38963
38969
|
__name: "window-form",
|
|
38964
38970
|
props: {
|
|
38965
38971
|
formConfig: {
|
|
@@ -39134,19 +39140,26 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39134
39140
|
H.hasOwnProperty(X) && (H[X] = formConfig.value.params.queryParams[G]);
|
|
39135
39141
|
}), axios.post("/window/data/" + formConfig.value.params.datasourceCode, H).then(async (G) => {
|
|
39136
39142
|
if (G && G.data && G.data.result && G.data.data) {
|
|
39137
|
-
if (G.data.data[0]
|
|
39138
|
-
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
|
|
39142
|
-
|
|
39143
|
-
|
|
39144
|
-
formData.value[ee.field],
|
|
39145
|
-
|
|
39146
|
-
|
|
39147
|
-
|
|
39148
|
-
|
|
39149
|
-
|
|
39143
|
+
if (G.data.data[0]) {
|
|
39144
|
+
if (formData.value = {
|
|
39145
|
+
...formData.value,
|
|
39146
|
+
...G.data.data[0]
|
|
39147
|
+
}, Object.keys(formSelectMap.value).length > 0)
|
|
39148
|
+
for (const K of Object.keys(formSelectMap.value)) {
|
|
39149
|
+
let ee = formSelectMap.value[K];
|
|
39150
|
+
ee.itemRender.props.multiple && (formData.value[ee.field] = formData.value[ee.field].split(","));
|
|
39151
|
+
}
|
|
39152
|
+
if (Object.keys(formRemoteSearchMap.value).length > 0)
|
|
39153
|
+
for (const K of Object.keys(formRemoteSearchMap.value)) {
|
|
39154
|
+
let ee = formRemoteSearchMap.value[K];
|
|
39155
|
+
ee.itemRender.options = await remoteMethod(
|
|
39156
|
+
formData.value[ee.field],
|
|
39157
|
+
ee.id,
|
|
39158
|
+
ee.selectorId,
|
|
39159
|
+
"$_value"
|
|
39160
|
+
), ee.itemRender.options.length > 0 && (formData.value[ee.field] = ee.itemRender.options[0].VALUE);
|
|
39161
|
+
}
|
|
39162
|
+
}
|
|
39150
39163
|
let X = formData.value, Z = {
|
|
39151
39164
|
rowId: formConfig.value.rowId,
|
|
39152
39165
|
// eslint-disable-next-line no-prototype-builtins
|
|
@@ -39663,9 +39676,42 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39663
39676
|
Q.getData = () => getData(), Q.submitData = () => submitData(), Q.getValue = (H) => getValue(H), Q.setValue = (H, G) => setValue(H, G);
|
|
39664
39677
|
};
|
|
39665
39678
|
return __expose({ submitData, validateDataChg, getValue, getRegion, getData }), (Q, H) => {
|
|
39666
|
-
const G = resolveComponent("el-
|
|
39679
|
+
const G = resolveComponent("el-icon"), X = resolveComponent("el-button"), Z = resolveComponent("el-input"), K = resolveComponent("vxe-form-item"), ee = resolveComponent("vxe-form"), te = resolveComponent("el-dialog");
|
|
39667
39680
|
return openBlock(), createElementBlock("div", _hoisted_1$kV, [
|
|
39668
|
-
unref(formConfig).
|
|
39681
|
+
unref(formConfig).type === "FORM" ? (openBlock(), createElementBlock("div", _hoisted_2$kR, [
|
|
39682
|
+
unref(formConfig).params.showTitle ? (openBlock(), createElementBlock("span", _hoisted_3$hS, toDisplayString(unref($T)(unref(formConfig).params.windowTitle)), 1)) : createCommentVNode("", !0),
|
|
39683
|
+
buttons.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$au, [
|
|
39684
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(buttons.value, (ne) => (openBlock(), createBlock(X, {
|
|
39685
|
+
key: ne.id,
|
|
39686
|
+
"auto-insert-space": "",
|
|
39687
|
+
style: normalizeStyle("margin: 2px 2px 2px 2px;" + ne.css),
|
|
39688
|
+
type: "primary",
|
|
39689
|
+
loading: ne.loading,
|
|
39690
|
+
onClick: (re) => btnClickFun(ne)
|
|
39691
|
+
}, createSlots({
|
|
39692
|
+
default: withCtx(() => [
|
|
39693
|
+
createTextVNode(" " + toDisplayString(unref($T)(ne.name)), 1)
|
|
39694
|
+
]),
|
|
39695
|
+
_: 2
|
|
39696
|
+
}, [
|
|
39697
|
+
ne.iconComponent ? {
|
|
39698
|
+
name: "icon",
|
|
39699
|
+
fn: withCtx(() => [
|
|
39700
|
+
createVNode(G, {
|
|
39701
|
+
size: "15",
|
|
39702
|
+
style: { verticalAlign: "middle" }
|
|
39703
|
+
}, {
|
|
39704
|
+
default: withCtx(() => [
|
|
39705
|
+
(openBlock(), createBlock(resolveDynamicComponent(ne.iconComponent)))
|
|
39706
|
+
]),
|
|
39707
|
+
_: 2
|
|
39708
|
+
}, 1024)
|
|
39709
|
+
]),
|
|
39710
|
+
key: "0"
|
|
39711
|
+
} : void 0
|
|
39712
|
+
]), 1032, ["style", "loading", "onClick"]))), 128))
|
|
39713
|
+
])) : createCommentVNode("", !0)
|
|
39714
|
+
])) : createCommentVNode("", !0),
|
|
39669
39715
|
createVNode(ee, {
|
|
39670
39716
|
ref_key: "form",
|
|
39671
39717
|
ref: form,
|
|
@@ -39680,7 +39726,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39680
39726
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(formConfig).columns, (ne) => (openBlock(), createElementBlock(Fragment, {
|
|
39681
39727
|
key: ne.title
|
|
39682
39728
|
}, [
|
|
39683
|
-
ne.colType !== "showInGrid" ? (openBlock(), createBlock(
|
|
39729
|
+
ne.colType !== "showInGrid" ? (openBlock(), createBlock(K, {
|
|
39684
39730
|
key: 0,
|
|
39685
39731
|
field: ne.field,
|
|
39686
39732
|
title: computeItemTitle.value(ne.title),
|
|
@@ -39716,35 +39762,35 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39716
39762
|
title: "美化",
|
|
39717
39763
|
class: "iconfont icon-magic-stick",
|
|
39718
39764
|
onClick: (re) => onEditorBtnClick(ne, "beautify")
|
|
39719
|
-
}, null, 8,
|
|
39765
|
+
}, null, 8, _hoisted_5$4U)) : createCommentVNode("", !0),
|
|
39720
39766
|
createElementVNode("i", {
|
|
39721
39767
|
title: "全选",
|
|
39722
39768
|
class: "iconfont icon-check-square",
|
|
39723
39769
|
onClick: (re) => onEditorBtnClick(ne, "checkAll")
|
|
39724
|
-
}, null, 8,
|
|
39770
|
+
}, null, 8, _hoisted_6$1_),
|
|
39725
39771
|
createElementVNode("i", {
|
|
39726
39772
|
title: "复制",
|
|
39727
39773
|
class: "iconfont icon-document-copy",
|
|
39728
39774
|
onClick: (re) => onEditorBtnClick(ne, "copy")
|
|
39729
|
-
}, null, 8,
|
|
39775
|
+
}, null, 8, _hoisted_7$12),
|
|
39730
39776
|
createElementVNode("i", {
|
|
39731
39777
|
title: "清空",
|
|
39732
39778
|
class: "iconfont icon-clear",
|
|
39733
39779
|
onClick: (re) => onEditorBtnClick(ne, "clear")
|
|
39734
|
-
}, null, 8,
|
|
39780
|
+
}, null, 8, _hoisted_8$F),
|
|
39735
39781
|
ne.language == "javascript" ? (openBlock(), createElementBlock("i", {
|
|
39736
39782
|
key: 1,
|
|
39737
39783
|
title: "组合式API转换",
|
|
39738
39784
|
class: "iconfont icon-swap",
|
|
39739
39785
|
onClick: (re) => onEditorBtnClick(ne, "swap")
|
|
39740
|
-
}, null, 8,
|
|
39786
|
+
}, null, 8, _hoisted_9$m)) : createCommentVNode("", !0)
|
|
39741
39787
|
], 4)
|
|
39742
39788
|
]),
|
|
39743
39789
|
key: "0"
|
|
39744
39790
|
} : ne.dataType === "STRING" && ne.canScan === !0 ? {
|
|
39745
39791
|
name: "default",
|
|
39746
39792
|
fn: withCtx(() => [
|
|
39747
|
-
createVNode(
|
|
39793
|
+
createVNode(Z, {
|
|
39748
39794
|
modelValue: unref(formData)[ne.field],
|
|
39749
39795
|
"onUpdate:modelValue": (re) => unref(formData)[ne.field] = re,
|
|
39750
39796
|
onKeyup: (re) => onIconInputEnter(ne, re),
|
|
@@ -39764,7 +39810,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39764
39810
|
} : ne.itemRender.props.suffixIconfont || ne.itemRender.props.prefixIconfont ? {
|
|
39765
39811
|
name: "default",
|
|
39766
39812
|
fn: withCtx(() => [
|
|
39767
|
-
createVNode(
|
|
39813
|
+
createVNode(Z, {
|
|
39768
39814
|
modelValue: unref(formData)[ne.field],
|
|
39769
39815
|
"onUpdate:modelValue": (re) => unref(formData)[ne.field] = re,
|
|
39770
39816
|
onKeyup: (re) => onIconInputEnter(ne, re),
|
|
@@ -39810,45 +39856,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39810
39856
|
key: "3"
|
|
39811
39857
|
} : void 0
|
|
39812
39858
|
]), 1032, ["field", "title", "span", "item-render", "title-prefix", "visible", "style", "class-name", "visible-method"])) : createCommentVNode("", !0)
|
|
39813
|
-
], 64))), 128))
|
|
39814
|
-
unref(formConfig).type === "FORM" && buttons.value.length > 0 ? (openBlock(), createBlock(X, {
|
|
39815
|
-
key: 0,
|
|
39816
|
-
align: "center",
|
|
39817
|
-
span: "24"
|
|
39818
|
-
}, {
|
|
39819
|
-
default: withCtx(() => [
|
|
39820
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(buttons.value, (ne) => (openBlock(), createBlock(K, {
|
|
39821
|
-
key: ne.id,
|
|
39822
|
-
"auto-insert-space": "",
|
|
39823
|
-
style: normalizeStyle("margin: 2px 2px 2px 2px;" + ne.css),
|
|
39824
|
-
type: "primary",
|
|
39825
|
-
loading: ne.loading,
|
|
39826
|
-
onClick: (re) => btnClickFun(ne)
|
|
39827
|
-
}, createSlots({
|
|
39828
|
-
default: withCtx(() => [
|
|
39829
|
-
createTextVNode(" " + toDisplayString(unref($T)(ne.name)), 1)
|
|
39830
|
-
]),
|
|
39831
|
-
_: 2
|
|
39832
|
-
}, [
|
|
39833
|
-
ne.iconComponent ? {
|
|
39834
|
-
name: "icon",
|
|
39835
|
-
fn: withCtx(() => [
|
|
39836
|
-
createVNode(Z, {
|
|
39837
|
-
size: "15",
|
|
39838
|
-
style: { verticalAlign: "middle" }
|
|
39839
|
-
}, {
|
|
39840
|
-
default: withCtx(() => [
|
|
39841
|
-
(openBlock(), createBlock(resolveDynamicComponent(ne.iconComponent)))
|
|
39842
|
-
]),
|
|
39843
|
-
_: 2
|
|
39844
|
-
}, 1024)
|
|
39845
|
-
]),
|
|
39846
|
-
key: "0"
|
|
39847
|
-
} : void 0
|
|
39848
|
-
]), 1032, ["style", "loading", "onClick"]))), 128))
|
|
39849
|
-
]),
|
|
39850
|
-
_: 1
|
|
39851
|
-
})) : createCommentVNode("", !0)
|
|
39859
|
+
], 64))), 128))
|
|
39852
39860
|
]),
|
|
39853
39861
|
_: 1
|
|
39854
39862
|
}, 8, ["data", "rules", "loading", "class"]),
|
|
@@ -39876,7 +39884,7 @@ const index$n = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
39876
39884
|
]);
|
|
39877
39885
|
};
|
|
39878
39886
|
}
|
|
39879
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
39887
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d6c22c63"]]);
|
|
39880
39888
|
WindowForm.name = "slw-window-form";
|
|
39881
39889
|
WindowForm.install = (Q) => {
|
|
39882
39890
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -40499,7 +40507,7 @@ _sfc_main$2.name = "slw-preview-modal";
|
|
|
40499
40507
|
_sfc_main$2.install = (Q) => {
|
|
40500
40508
|
Q.component(_sfc_main$2.name, _sfc_main$2);
|
|
40501
40509
|
};
|
|
40502
|
-
const
|
|
40510
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_f8592607_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-f8592607"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
40503
40511
|
__name: "window-index",
|
|
40504
40512
|
props: {
|
|
40505
40513
|
windowId: {
|
|
@@ -40792,6 +40800,8 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2cfc8538_lang = "", _withSco
|
|
|
40792
40800
|
formEvents: {
|
|
40793
40801
|
rowClickFunction: Z.rowClickFunction,
|
|
40794
40802
|
// 行点击事件
|
|
40803
|
+
rowDbclickFunction: Z.rowDbclickFunction,
|
|
40804
|
+
// 行双击事件
|
|
40795
40805
|
afterSubmit: Z.afterSubmit,
|
|
40796
40806
|
// 提交后事件
|
|
40797
40807
|
beginSubmit: Z.beginSubmit,
|
|
@@ -41027,7 +41037,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2cfc8538_lang = "", _withSco
|
|
|
41027
41037
|
ne = !0;
|
|
41028
41038
|
le.visible = !ee[ae].showInGrid;
|
|
41029
41039
|
let se = ee[ae].type.toLowerCase();
|
|
41030
|
-
se.indexOf("delete") > -1 ? (le.iconComponent = "TrashOutline", le.viewType = "
|
|
41040
|
+
se.indexOf("delete") > -1 ? (le.iconComponent = "TrashOutline", le.viewType = "danger", le.plain = !0, !ee[ae].css && le.iconComponent && le.showInGrid && (le.css = "color: #f56c6c;"), X.params.delete_button_id = ee[ae].id, X.params.delRequestPath = ee[ae].requestPath, X.params.deleteBtn = le) : se.indexOf("new") > -1 ? (le.iconComponent = "Add", le.viewType = "primary", ee[ae].css, ee[ae].showInGrid = !1, X.params.new_button_id = ee[ae].id, X.params.newRequestPath = ee[ae].requestPath, X.params.newWidth = ee[ae].openWidth, X.params.newHeight = ee[ae].openHeight) : se.indexOf("edit") > -1 ? (le.iconComponent = "Pencil", le.viewType = "primary", ee[ae].css, X.params.edit_button_id = ee[ae].id, X.params.editRequestPath = ee[ae].requestPath, X.params.isEdit = !0, X.params.editWidth = ee[ae].openWidth, X.params.editHeight = ee[ae].openHeight) : se === "export" ? le.iconComponent = "CloudDownload" : se === "import" ? (le.code = "import_", le.iconComponent = "CloudUpload", le.viewType = "info") : se === "pic_upload" ? (le.iconComponent = "Image", le.viewType = "info", X.params.isHavePicUploadBtn = !0) : le.viewType = "primary", X.toolbarConfig.buttons.push(le);
|
|
41031
41041
|
}
|
|
41032
41042
|
if (Z.type === "TREE_STRUCTURE") {
|
|
41033
41043
|
let ae = [
|
|
@@ -41663,7 +41673,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_2cfc8538_lang = "", _withSco
|
|
|
41663
41673
|
]);
|
|
41664
41674
|
};
|
|
41665
41675
|
}
|
|
41666
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
41676
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f8592607"]]);
|
|
41667
41677
|
WindowIndex.name = "slw-window-index";
|
|
41668
41678
|
WindowIndex.install = (Q) => {
|
|
41669
41679
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -125273,7 +125283,7 @@ function reConsole() {
|
|
|
125273
125283
|
}
|
|
125274
125284
|
}
|
|
125275
125285
|
console.info(
|
|
125276
|
-
`%cSLW %cVer 0.8.
|
|
125286
|
+
`%cSLW %cVer 0.8.96%c
|
|
125277
125287
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
125278
125288
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/files/6`,
|
|
125279
125289
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|