slw 0.9.83 → 0.9.84
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-2110424f.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 = (H) => {
|
|
8526
8526
|
H.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_4e571b73_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-4e571b73"), 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 = [
|
|
8529
8529
|
_hoisted_1$l1,
|
|
8530
8530
|
_hoisted_2$kY,
|
|
8531
8531
|
_hoisted_3$hY
|
|
@@ -10096,6 +10096,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b3ad4aea_lang = "", _withScop
|
|
|
10096
10096
|
}, setColumnElement = (H, Q, Z) => {
|
|
10097
10097
|
let X = gridData.value.columns.filter((G) => G.field == H.toUpperCase())[0];
|
|
10098
10098
|
X && (X.editRender.name = Q, X.editRender.props.elementProps = {}, Z && Z instanceof Object && (X.editRender.props.elementProps = Z));
|
|
10099
|
+
}, setQueryFormItemProperty = (H, Q, Z) => {
|
|
10100
|
+
const G = getCurRegion().formConfig.items.filter((K) => K.field == H)[0];
|
|
10101
|
+
G && (G.itemRender.props[Q] = Z);
|
|
10099
10102
|
};
|
|
10100
10103
|
return onMounted(async () => {
|
|
10101
10104
|
gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
|
|
@@ -10168,7 +10171,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b3ad4aea_lang = "", _withScop
|
|
|
10168
10171
|
search(H);
|
|
10169
10172
|
}, curRegion.value.getCheckedData = () => getCheckedData(), curRegion.value.getSelectRecord = () => getSelectRecord(), curRegion.value.setChecked = (H) => {
|
|
10170
10173
|
setChecked(H);
|
|
10171
|
-
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (H) => removeRow(), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (H, Q) => setCheckboxRowColor(H, Q), curRegion.value.setFormValue = (H, Q) => setFormValue(H, Q), curRegion.value.setRowCellColor = (H, Q, Z, X) => setRowCellColor(H, Q, Z, X), curRegion.value.setFormSelectOption = (H, Q, Z) => setFormSelectOption(H, Q, Z), curRegion.value.getFormSelectOption = (H, Q) => getFormSelectOption(H, Q), curRegion.value.setColumnFixed = (H, Q) => setColumnFixed(H, Q), curRegion.value.getQueryForm = (H) => getQueryForm(H), curRegion.value.setCurrentRowByRowIndex = (H, Q) => setCurrentRowByRowIndex(H, Q), curRegion.value.setUploadData = (H) => setUploadData(H), curRegion.value.setCheckMethod = (H) => setCheckMethod(H), curRegion.value.setButtonDisplay = (H, Q) => setButtonDisplay(H, Q), curRegion.value.addColumn = (H) => addColumn(H), curRegion.value.clearCheckedReserveData = () => clearCheckedReserveData();
|
|
10174
|
+
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (H) => removeRow(), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (H, Q) => setCheckboxRowColor(H, Q), curRegion.value.setFormValue = (H, Q) => setFormValue(H, Q), curRegion.value.setRowCellColor = (H, Q, Z, X) => setRowCellColor(H, Q, Z, X), curRegion.value.setFormSelectOption = (H, Q, Z) => setFormSelectOption(H, Q, Z), curRegion.value.getFormSelectOption = (H, Q) => getFormSelectOption(H, Q), curRegion.value.setColumnFixed = (H, Q) => setColumnFixed(H, Q), curRegion.value.getQueryForm = (H) => getQueryForm(H), curRegion.value.setCurrentRowByRowIndex = (H, Q) => setCurrentRowByRowIndex(H, Q), curRegion.value.setUploadData = (H) => setUploadData(H), curRegion.value.setCheckMethod = (H) => setCheckMethod(H), curRegion.value.setButtonDisplay = (H, Q) => setButtonDisplay(H, Q), curRegion.value.addColumn = (H) => addColumn(H), curRegion.value.clearCheckedReserveData = () => clearCheckedReserveData(), curRegion.value.setQueryFormItemProperty = (H, Q, Z) => setQueryFormItemProperty(H, Q, Z);
|
|
10172
10175
|
}), onUnmounted(() => {
|
|
10173
10176
|
checkedGridVisible.value = !1, checkedGridFixed.value = !1, document.removeEventListener("mousedown", tableOutDestroyAreaBox), document.removeEventListener("mouseup", tbodymouseup), document.removeEventListener("paste", ctrlVPaste), document.removeEventListener("copy", ctrlCopyAndCut), document.removeEventListener("cut", ctrlCopyAndCut);
|
|
10174
10177
|
}), onDeactivated(() => {
|
|
@@ -10454,7 +10457,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_b3ad4aea_lang = "", _withScop
|
|
|
10454
10457
|
]);
|
|
10455
10458
|
};
|
|
10456
10459
|
}
|
|
10457
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
10460
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4e571b73"]]);
|
|
10458
10461
|
WindowGrid.name = "slw-window-grid";
|
|
10459
10462
|
WindowGrid.install = (H) => {
|
|
10460
10463
|
H.component(WindowGrid.name, WindowGrid);
|
|
@@ -62585,7 +62588,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62585
62588
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62586
62589
|
setup(H, { emit: Q }) {
|
|
62587
62590
|
const Z = H, X = defineAsyncComponent(
|
|
62588
|
-
() => import("./index-
|
|
62591
|
+
() => import("./index-048c0f21.js")
|
|
62589
62592
|
);
|
|
62590
62593
|
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);
|
|
62591
62594
|
re.value = createDesigner();
|
|
@@ -147622,7 +147625,7 @@ function reConsole() {
|
|
|
147622
147625
|
}
|
|
147623
147626
|
}
|
|
147624
147627
|
console.info(
|
|
147625
|
-
`%cSLW %cVer 0.9.
|
|
147628
|
+
`%cSLW %cVer 0.9.84%c
|
|
147626
147629
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147627
147630
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147628
147631
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED