slw 0.7.2 → 0.7.4
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 +18 -5
- package/lib/index.umd.cjs +4 -4
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -40280,7 +40280,7 @@ _sfc_main$2.name = "slw-preview-modal";
|
|
|
40280
40280
|
_sfc_main$2.install = (Q) => {
|
|
40281
40281
|
Q.component(_sfc_main$2.name, _sfc_main$2);
|
|
40282
40282
|
};
|
|
40283
|
-
const
|
|
40283
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_365c2430_lang = "", _withScopeId = (Q) => (pushScopeId("data-v-365c2430"), Q = Q(), popScopeId(), Q), _hoisted_1$kR = { class: "slw-config-window-container" }, _hoisted_2$kQ = { class: "child-table-p" }, _sfc_main$1 = {
|
|
40284
40284
|
__name: "window-index",
|
|
40285
40285
|
props: {
|
|
40286
40286
|
windowId: {
|
|
@@ -40978,7 +40978,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_7519b116_lang = "", _withSco
|
|
|
40978
40978
|
ue.name = "ElInput";
|
|
40979
40979
|
break;
|
|
40980
40980
|
}
|
|
40981
|
-
oe[se].placeholder && (ue.props.placeholder = oe[se].placeholder);
|
|
40981
|
+
oe[se].placeholder && (ue.props.placeholder = oe[se].placeholder), ue.props.unitName && (fe.title = de + "(" + ue.props.unitName + ")");
|
|
40982
40982
|
let me = {
|
|
40983
40983
|
name: ue.props.unitName ? "unitInput" : ue.name,
|
|
40984
40984
|
props: ue.props,
|
|
@@ -41399,7 +41399,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_7519b116_lang = "", _withSco
|
|
|
41399
41399
|
]);
|
|
41400
41400
|
};
|
|
41401
41401
|
}
|
|
41402
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
41402
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-365c2430"]]);
|
|
41403
41403
|
WindowIndex.name = "slw-window-index";
|
|
41404
41404
|
WindowIndex.install = (Q) => {
|
|
41405
41405
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -107694,7 +107694,14 @@ function initVxeRenderer(Q, H, G) {
|
|
|
107694
107694
|
data: le,
|
|
107695
107695
|
field: se
|
|
107696
107696
|
} = ae, ce = oe.props || {};
|
|
107697
|
-
return [createVNode(resolveComponent("
|
|
107697
|
+
return ce.dataType == "DOUBLE" ? [createVNode(resolveComponent("ElInputNumber"), mergeProps$1({
|
|
107698
|
+
modelValue: le[se],
|
|
107699
|
+
"onUpdate:modelValue": (de) => le[se] = de
|
|
107700
|
+
}, ce, {
|
|
107701
|
+
style: ""
|
|
107702
|
+
}), {
|
|
107703
|
+
default: () => [createTextVNode("~")]
|
|
107704
|
+
}), createVNode("span", null, [G(ce.unitName)])] : [createVNode(resolveComponent("vxe-input"), mergeProps$1({
|
|
107698
107705
|
modelValue: le[se],
|
|
107699
107706
|
"onUpdate:modelValue": (de) => le[se] = de
|
|
107700
107707
|
}, ce, {
|
|
@@ -107703,6 +107710,12 @@ function initVxeRenderer(Q, H, G) {
|
|
|
107703
107710
|
default: () => [createTextVNode("~")]
|
|
107704
107711
|
}), createVNode("span", null, [G(ce.unitName)])];
|
|
107705
107712
|
}
|
|
107713
|
+
// renderCell(renderOpts, params) {
|
|
107714
|
+
// if (params.row[params.column.field]) {
|
|
107715
|
+
// return [<span>{params.row[params.column.field]}</span>,
|
|
107716
|
+
// <span style="font-size: 11px;padding-left: 2px;">({ct(renderOpts.props.unitName)})</span>]
|
|
107717
|
+
// }
|
|
107718
|
+
// },
|
|
107706
107719
|
},
|
|
107707
107720
|
...H.isAntd() ? {
|
|
107708
107721
|
AButtons: {
|
|
@@ -124166,7 +124179,7 @@ function reConsole() {
|
|
|
124166
124179
|
}
|
|
124167
124180
|
}
|
|
124168
124181
|
console.info(
|
|
124169
|
-
"%cSLW %cVer 0.7.
|
|
124182
|
+
"%cSLW %cVer 0.7.4",
|
|
124170
124183
|
"color:#409EFF;font-size: 22px;font-weight:bolder",
|
|
124171
124184
|
"color:#999;font-size: 12px"
|
|
124172
124185
|
);
|