@mtngtools/frame-vue 0.0.24-experimental.0 → 0.0.25-experimental.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.
|
@@ -846,19 +846,22 @@ var _hoisted_1$4 = ["disabled"], SidePanelControlButton_default = /* @__PURE__ *
|
|
|
846
846
|
}
|
|
847
847
|
}), VanillaIf_default = /* @__PURE__ */ defineComponent({
|
|
848
848
|
__name: "VanillaIf",
|
|
849
|
-
props: {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
849
|
+
props: {
|
|
850
|
+
show: { type: [
|
|
851
|
+
Boolean,
|
|
852
|
+
Function,
|
|
853
|
+
Object
|
|
854
|
+
] },
|
|
855
|
+
showWindowFn: {}
|
|
856
|
+
},
|
|
854
857
|
setup(e) {
|
|
855
858
|
let t = e, n = ref(!1), r = ref(!1), i = null;
|
|
856
859
|
function o() {
|
|
857
860
|
i &&= (clearInterval(i), null);
|
|
858
861
|
}
|
|
859
862
|
function s() {
|
|
860
|
-
let e
|
|
861
|
-
if (typeof e == "function") try {
|
|
863
|
+
let e;
|
|
864
|
+
if (e = typeof window < "u" && t.showWindowFn ? window[t.showWindowFn] : unref(t.show), typeof e == "function") try {
|
|
862
865
|
let t = e();
|
|
863
866
|
return typeof t == "boolean" ? {
|
|
864
867
|
ready: !0,
|
|
@@ -874,7 +877,10 @@ var _hoisted_1$4 = ["disabled"], SidePanelControlButton_default = /* @__PURE__ *
|
|
|
874
877
|
};
|
|
875
878
|
throw e;
|
|
876
879
|
}
|
|
877
|
-
return
|
|
880
|
+
return t.showWindowFn ? {
|
|
881
|
+
ready: !1,
|
|
882
|
+
value: !1
|
|
883
|
+
} : typeof e == "boolean" ? {
|
|
878
884
|
ready: !0,
|
|
879
885
|
value: e
|
|
880
886
|
} : e == null ? {
|
|
@@ -893,7 +899,7 @@ var _hoisted_1$4 = ["disabled"], SidePanelControlButton_default = /* @__PURE__ *
|
|
|
893
899
|
}, 50);
|
|
894
900
|
}
|
|
895
901
|
let l = s();
|
|
896
|
-
return l.ready && (n.value = !0, r.value = l.value), watch(() => t.show, () => {
|
|
902
|
+
return l.ready && (n.value = !0, r.value = l.value), watch(() => [t.show, t.showWindowFn], () => {
|
|
897
903
|
n.value = !1, o(), c();
|
|
898
904
|
}, { deep: !0 }), onMounted(() => {
|
|
899
905
|
n.value || c();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VanillaIf.vue.d.ts","sourceRoot":"","sources":["../../../src/components/VanillaIf/VanillaIf.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VanillaIf.vue.d.ts","sourceRoot":"","sources":["../../../src/components/VanillaIf/VanillaIf.vue"],"names":[],"mappings":"AAyHA,OAAO,EAAsC,KAAK,GAAG,EAAS,MAAM,KAAK,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,CAAA;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;AA6GF,iBAAS,cAAc;WA6BT,OAAO,IAA6B;;yBAXrB,GAAG;sBACN,GAAG;;;;EAe5B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as IconPanelRight_default, n as IconPanelFull_default, r as IconPanelBottom_default, t as IconClose_default } from "./IconClose-7R37a2Ma.js";
|
|
2
2
|
import "./icons.js";
|
|
3
|
-
import { a as SidePanelHeader_default, i as SidePanelFrame_default, n as LoggedInOut_default, o as SidePanelButtonGroup_default, r as LiveFrame_default, s as SidePanelControlButton_default, t as VanillaIf_default } from "./VanillaIf-
|
|
3
|
+
import { a as SidePanelHeader_default, i as SidePanelFrame_default, n as LoggedInOut_default, o as SidePanelButtonGroup_default, r as LiveFrame_default, s as SidePanelControlButton_default, t as VanillaIf_default } from "./VanillaIf-D12LoeQO.js";
|
|
4
4
|
import "./useSimpleLoggedIn-DT4aMAWu.js";
|
|
5
5
|
export { IconClose_default as IconClose, IconPanelBottom_default as IconPanelBottom, IconPanelFull_default as IconPanelFull, IconPanelRight_default as IconPanelRight, LiveFrame_default as LiveFrame, LoggedInOut_default as LoggedInOut, SidePanelButtonGroup_default as SidePanelButtonGroup, SidePanelControlButton_default as SidePanelControlButton, SidePanelFrame_default as SidePanelFrame, SidePanelHeader_default as SidePanelHeader, VanillaIf_default as VanillaIf };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as IconPanelRight_default, n as IconPanelFull_default, r as IconPanelBottom_default, t as IconClose_default } from "./IconClose-7R37a2Ma.js";
|
|
2
|
-
import { a as SidePanelHeader_default, i as SidePanelFrame_default, n as LoggedInOut_default, o as SidePanelButtonGroup_default, r as LiveFrame_default, s as SidePanelControlButton_default, t as VanillaIf_default } from "./VanillaIf-
|
|
2
|
+
import { a as SidePanelHeader_default, i as SidePanelFrame_default, n as LoggedInOut_default, o as SidePanelButtonGroup_default, r as LiveFrame_default, s as SidePanelControlButton_default, t as VanillaIf_default } from "./VanillaIf-D12LoeQO.js";
|
|
3
3
|
import { n as useSimpleLoggedIn, t as __resetStateForTesting } from "./useSimpleLoggedIn-DT4aMAWu.js";
|
|
4
4
|
import "./components.js";
|
|
5
5
|
import "./composables.js";
|
package/package.json
CHANGED