slw 0.9.84 → 0.9.86
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.
|
@@ -44421,7 +44421,7 @@ var js = js$1.exports;
|
|
|
44421
44421
|
})(H);
|
|
44422
44422
|
})(js$1);
|
|
44423
44423
|
var jsExports = js$1.exports;
|
|
44424
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
44424
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_3ed803e7_lang = "", _withScopeId$7 = (H) => (pushScopeId("data-v-3ed803e7"), H = H(), popScopeId(), H), _hoisted_1$l0 = { class: "slw-window-form" }, _hoisted_2$kX = {
|
|
44425
44425
|
key: 0,
|
|
44426
44426
|
class: "form-title"
|
|
44427
44427
|
}, _hoisted_3$hX = ["onClick"], _hoisted_4$ax = ["onClick"], _hoisted_5$4X = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _sfc_main$c = {
|
|
@@ -44557,8 +44557,11 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
44557
44557
|
if (formConfig.value.openType === "view" && ((Q = H.itemRender) == null ? void 0 : Q.name) !== "ElInput")
|
|
44558
44558
|
return "item-readonly";
|
|
44559
44559
|
}), computeItemTitle = computed(() => (H) => {
|
|
44560
|
-
|
|
44561
|
-
|
|
44560
|
+
if (H.itemRender.props.unitName) {
|
|
44561
|
+
const Q = H.title.match(/([^()]+)\(/);
|
|
44562
|
+
return $T(Q ? Q[1] : H.title);
|
|
44563
|
+
} else
|
|
44564
|
+
return $T(H.title);
|
|
44562
44565
|
}), computeEditorBtnStyle = computed(() => (H) => editorFocusField.value == H ? "background: rgba(64, 158, 255, 0.5)" : ""), computeOptBtnStyle = computed(() => (H) => {
|
|
44563
44566
|
let Q = "";
|
|
44564
44567
|
if (H == "top")
|
|
@@ -45242,7 +45245,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
45242
45245
|
ne.colType !== "showInGrid" ? (openBlock(), createBlock(K, {
|
|
45243
45246
|
key: 0,
|
|
45244
45247
|
field: ne.field,
|
|
45245
|
-
title: computeItemTitle.value(ne
|
|
45248
|
+
title: computeItemTitle.value(ne),
|
|
45246
45249
|
"title-overflow": "tooltip",
|
|
45247
45250
|
span: computeSpan.value(ne),
|
|
45248
45251
|
"item-render": ne.itemRender,
|
|
@@ -45444,7 +45447,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
45444
45447
|
]);
|
|
45445
45448
|
};
|
|
45446
45449
|
}
|
|
45447
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
45450
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-3ed803e7"]]);
|
|
45448
45451
|
WindowForm.name = "slw-window-form";
|
|
45449
45452
|
WindowForm.install = (H) => {
|
|
45450
45453
|
H.component(WindowForm.name, WindowForm);
|
|
@@ -62588,7 +62591,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
62588
62591
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
62589
62592
|
setup(H, { emit: Q }) {
|
|
62590
62593
|
const Z = H, X = defineAsyncComponent(
|
|
62591
|
-
() => import("./index-
|
|
62594
|
+
() => import("./index-f0b1c08a.js")
|
|
62592
62595
|
);
|
|
62593
62596
|
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);
|
|
62594
62597
|
re.value = createDesigner();
|
|
@@ -131123,7 +131126,9 @@ function initVxeRenderer(H, Q, Z) {
|
|
|
131123
131126
|
modelValue: $e[_e],
|
|
131124
131127
|
"onUpdate:modelValue": (be) => $e[_e] = be
|
|
131125
131128
|
}, we, {
|
|
131126
|
-
onChange: Oe.change ?
|
|
131129
|
+
onChange: Oe.change ? () => {
|
|
131130
|
+
Oe.change(ke);
|
|
131131
|
+
} : () => {
|
|
131127
131132
|
}
|
|
131128
131133
|
}), {
|
|
131129
131134
|
default: () => [createTextVNode("~")]
|
|
@@ -131133,7 +131138,9 @@ function initVxeRenderer(H, Q, Z) {
|
|
|
131133
131138
|
modelValue: $e[_e],
|
|
131134
131139
|
"onUpdate:modelValue": (be) => $e[_e] = be
|
|
131135
131140
|
}, we, {
|
|
131136
|
-
onChange: Oe.change ?
|
|
131141
|
+
onChange: Oe.change ? () => {
|
|
131142
|
+
Oe.change(ke);
|
|
131143
|
+
} : () => {
|
|
131137
131144
|
},
|
|
131138
131145
|
style: "width:80%;padding-right: 4px;"
|
|
131139
131146
|
}), {
|
|
@@ -147625,7 +147632,7 @@ function reConsole() {
|
|
|
147625
147632
|
}
|
|
147626
147633
|
}
|
|
147627
147634
|
console.info(
|
|
147628
|
-
`%cSLW %cVer 0.9.
|
|
147635
|
+
`%cSLW %cVer 0.9.86%c
|
|
147629
147636
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
147630
147637
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
147631
147638
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
@@ -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-0b86055b.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED