@byteluck-fe/runtime-desktop-controls 3.0.44 → 7.0.0-beta.0
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.
|
@@ -20671,16 +20671,16 @@ function Ek(t, e) {
|
|
|
20671
20671
|
), l = V(
|
|
20672
20672
|
() => ["text", "iconText"].includes(i.value.showType)
|
|
20673
20673
|
), u = as(async (g) => {
|
|
20674
|
-
if (!t.noClickEvent && (t?.preventEngineEvent === void 0 || t?.preventEngineEvent === !1)) {
|
|
20674
|
+
if (console.log("🍍 --useButton--clickHandle--- props:", t), !t.noClickEvent && (t?.preventEngineEvent === void 0 || t?.preventEngineEvent === !1)) {
|
|
20675
20675
|
const f = await n?.value.emit("click", {
|
|
20676
20676
|
instance: t.instance,
|
|
20677
20677
|
value: "",
|
|
20678
20678
|
rowIndex: t.rowIndex
|
|
20679
20679
|
});
|
|
20680
|
-
if (f && f.includes(!1))
|
|
20680
|
+
if (console.log("🍍 ----- result:", f), f && f.includes(!1))
|
|
20681
20681
|
return;
|
|
20682
20682
|
}
|
|
20683
|
-
e && e("click", g);
|
|
20683
|
+
console.log("🍍 ----- emit:"), e && e("click", g);
|
|
20684
20684
|
}, 300), d = i?.value?.content, p = z(!1), h = V(() => {
|
|
20685
20685
|
const g = z(!1);
|
|
20686
20686
|
return i?.value?.content.length > 20 ? (g.value = !0, i?.value?.content.substring(0, 20) + "...") : i?.value?.content;
|
|
@@ -34373,7 +34373,7 @@ const kbe = /* @__PURE__ */ Ue(Mbe, [["render", xbe]]), Nbe = /* @__PURE__ */ Ob
|
|
|
34373
34373
|
setup(t, { emit: e }) {
|
|
34374
34374
|
return {
|
|
34375
34375
|
handlerClick: (i) => {
|
|
34376
|
-
t.loading || t.disabled
|
|
34376
|
+
console.log("🍍 --handlerClick--- event:", i), console.log("🍍 ---handlerClick-- props:", t), !(t.loading || t.disabled) && e("click", i);
|
|
34377
34377
|
}
|
|
34378
34378
|
};
|
|
34379
34379
|
}
|
|
@@ -34407,7 +34407,7 @@ function Gbe(t, e, n, i, s, o) {
|
|
|
34407
34407
|
on(t.$slots, "default", {}, void 0, !0)
|
|
34408
34408
|
], 10, Vbe);
|
|
34409
34409
|
}
|
|
34410
|
-
const T1 = /* @__PURE__ */ Ue(Fbe, [["render", Gbe], ["__scopeId", "data-v-
|
|
34410
|
+
const T1 = /* @__PURE__ */ Ue(Fbe, [["render", Gbe], ["__scopeId", "data-v-6708a5d3"]]), Bbe = {
|
|
34411
34411
|
name: "rok-control"
|
|
34412
34412
|
}, Hbe = Ce({
|
|
34413
34413
|
name: "RokButton"
|
|
@@ -46227,6 +46227,7 @@ function _Oe() {
|
|
|
46227
46227
|
};
|
|
46228
46228
|
}
|
|
46229
46229
|
const EOe = async (t, e) => {
|
|
46230
|
+
console.log("🍍 ---handleCallback-- payload:", e), console.log("🍍 --handleCallback--- params:", t);
|
|
46230
46231
|
const n = Ke.config.globalProperties.$route, i = Ke.config.globalProperties.$router, s = e.options?.store, { setStoreMultipleTab: o, replaceStoreMultipleTab: r } = gp(
|
|
46231
46232
|
s,
|
|
46232
46233
|
i
|
|
@@ -46672,6 +46673,7 @@ const MOe = async (t) => {
|
|
|
46672
46673
|
}, 3), !1;
|
|
46673
46674
|
};
|
|
46674
46675
|
async function xOe(t) {
|
|
46676
|
+
console.log("🍍 --ActionOperateHandler--- payload:", t);
|
|
46675
46677
|
const e = t.engine;
|
|
46676
46678
|
let n;
|
|
46677
46679
|
const i = t.engine.getAction().actionUtils;
|
|
@@ -46694,6 +46696,7 @@ async function xOe(t) {
|
|
|
46694
46696
|
};
|
|
46695
46697
|
}
|
|
46696
46698
|
async function kOe(t) {
|
|
46699
|
+
console.log("🍍 --runActionOperate--- payload:", t);
|
|
46697
46700
|
const e = t.options?.instance, n = t.engine, i = n.externalParams.formType === Rf.FORM_PAGE, s = +/* @__PURE__ */ new Date();
|
|
46698
46701
|
i && n?.emit("globalLock:start", {
|
|
46699
46702
|
value: s
|
|
@@ -48740,7 +48743,7 @@ class cV {
|
|
|
48740
48743
|
}
|
|
48741
48744
|
engineAddEventListener(e, n) {
|
|
48742
48745
|
this.engine.on(e, async (i) => {
|
|
48743
|
-
if (!(((e === "change" || e === "list-change") && !this.engine.isMounted && !i.options?.isTriggerInstanceChange && e !== "did_mount" || !Qi(this.config[i.instance.id])) && i?.options?.parentEventName !== "did_mount") && !(e === "change" && i.options?.isSubtableImport && i.options?.triggerInstanceId !== i.instance?.id) && i.instance !== void 0)
|
|
48746
|
+
if (console.log("🍍 --engineAddEventListener--- payload:", i), console.log("🍍 ---engineAddEventListener-- eventKey:", e), !(((e === "change" || e === "list-change") && !this.engine.isMounted && !i.options?.isTriggerInstanceChange && e !== "did_mount" || !Qi(this.config[i.instance.id])) && i?.options?.parentEventName !== "did_mount") && !(e === "change" && i.options?.isSubtableImport && i.options?.triggerInstanceId !== i.instance?.id) && i.instance !== void 0)
|
|
48744
48747
|
if (this.checkIsNeedSaveActionBarClickPayload(i, e))
|
|
48745
48748
|
this.waitRunClickPayloadOfActionBar = i, setTimeout(async () => {
|
|
48746
48749
|
this.checkToRunClickPayloadOfActionBar();
|