slw 0.8.79 → 0.8.80
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 +25 -7
- package/lib/index.umd.cjs +5 -5
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8511,7 +8511,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8511
8511
|
PictureUpload.install = (Q) => {
|
|
8512
8512
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8513
8513
|
};
|
|
8514
|
-
const
|
|
8514
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_7237020f_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-7237020f"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8515
8515
|
class: "slw-window-grid-container",
|
|
8516
8516
|
style: { height: "100%" }
|
|
8517
8517
|
}, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hU = /* @__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 = [
|
|
@@ -10062,7 +10062,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_ff4e6993_lang = "", _withScop
|
|
|
10062
10062
|
]);
|
|
10063
10063
|
};
|
|
10064
10064
|
}
|
|
10065
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
10065
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7237020f"]]);
|
|
10066
10066
|
WindowGrid.name = "slw-window-grid";
|
|
10067
10067
|
WindowGrid.install = (Q) => {
|
|
10068
10068
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -40454,7 +40454,11 @@ _sfc_main$2.name = "slw-preview-modal";
|
|
|
40454
40454
|
_sfc_main$2.install = (Q) => {
|
|
40455
40455
|
Q.component(_sfc_main$2.name, _sfc_main$2);
|
|
40456
40456
|
};
|
|
40457
|
-
const
|
|
40457
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_5709e274_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-5709e274"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { style: {
|
|
40458
|
+
fontSize: "16px",
|
|
40459
|
+
fontWeight: "bold",
|
|
40460
|
+
letterSpacing: "1px"
|
|
40461
|
+
} }, _hoisted_3$hS = { class: "child-table-p" }, _sfc_main$1 = {
|
|
40458
40462
|
__name: "window-index",
|
|
40459
40463
|
props: {
|
|
40460
40464
|
windowId: {
|
|
@@ -40622,7 +40626,14 @@ const windowIndex_vue_vue_type_style_index_0_scoped_fb5e7ce8_lang = "", _withSco
|
|
|
40622
40626
|
});
|
|
40623
40627
|
}
|
|
40624
40628
|
return Q;
|
|
40625
|
-
}, getParentRegion = (Q) => layoutIdRegionMap.value[Q] ? regionIdRegionMap.value[layoutIdRegionMap.value[Q].parentRegionId] : null,
|
|
40629
|
+
}, getParentRegion = (Q) => layoutIdRegionMap.value[Q] ? regionIdRegionMap.value[layoutIdRegionMap.value[Q].parentRegionId] : null, getQueryFormDefaultValue = async (Q) => {
|
|
40630
|
+
const H = await axios.post(
|
|
40631
|
+
"window/paramsDefaultValue",
|
|
40632
|
+
$qs.stringify({ _region_id: Q })
|
|
40633
|
+
);
|
|
40634
|
+
if (H != null && H.data.result && H.data.data)
|
|
40635
|
+
return H.data.data;
|
|
40636
|
+
}, joinFieldInfo = async (Q, H, X) => {
|
|
40626
40637
|
let G = {
|
|
40627
40638
|
border: "inner",
|
|
40628
40639
|
stripe: !0,
|
|
@@ -40852,7 +40863,14 @@ const windowIndex_vue_vue_type_style_index_0_scoped_fb5e7ce8_lang = "", _withSco
|
|
|
40852
40863
|
});
|
|
40853
40864
|
break;
|
|
40854
40865
|
case "DATETIME":
|
|
40855
|
-
ue.itemRender.attrs.style = "width: 100%;", K[se].
|
|
40866
|
+
if (ue.itemRender.attrs.style = "width: 100%;", K[se].defaultValue) {
|
|
40867
|
+
const fe = await getQueryFormDefaultValue(Z.id);
|
|
40868
|
+
fe[K[se].columnName.toUpperCase()] && (ue.itemRender.defaultValue = [
|
|
40869
|
+
fe[K[se].columnName.toUpperCase()],
|
|
40870
|
+
fe["END_" + K[se].columnName.toUpperCase()]
|
|
40871
|
+
]);
|
|
40872
|
+
}
|
|
40873
|
+
K[se].type === "LT_GT_EQ" ? (ue.itemRender.name = "ElDateRangePicker", ue.itemRender.props = {
|
|
40856
40874
|
...ue.itemRender.props,
|
|
40857
40875
|
type: "datetimerange",
|
|
40858
40876
|
isRange: !0,
|
|
@@ -41608,7 +41626,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_fb5e7ce8_lang = "", _withSco
|
|
|
41608
41626
|
]);
|
|
41609
41627
|
};
|
|
41610
41628
|
}
|
|
41611
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
41629
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5709e274"]]);
|
|
41612
41630
|
WindowIndex.name = "slw-window-index";
|
|
41613
41631
|
WindowIndex.install = (Q) => {
|
|
41614
41632
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -124416,7 +124434,7 @@ function reConsole() {
|
|
|
124416
124434
|
}
|
|
124417
124435
|
}
|
|
124418
124436
|
console.info(
|
|
124419
|
-
`%cSLW %cVer 0.8.
|
|
124437
|
+
`%cSLW %cVer 0.8.80%c
|
|
124420
124438
|
%c文档地址:%chttp://slwdoc.js.sforcecon.com:5900/`,
|
|
124421
124439
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
124422
124440
|
"color:#fff;font-size: 12px;background-color:#409EFF;padding:2px 4px;border-radius:3px;",
|