smarteye-e-components 0.0.40 → 0.0.41
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/dist/smarteye-e-components.js +1 -1
- package/dist/smarteye-e-components.js.map +1 -1
- package/dist/smarteye-e-components.mjs +18 -9
- package/dist/smarteye-e-components.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/multi-video-area-layout-switch/index.vue.d.ts +1 -1
- package/lib/components/multi-video-area-layout-switch/model/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3011,13 +3011,22 @@ const Ue = {
|
|
|
3011
3011
|
},
|
|
3012
3012
|
mounted() {
|
|
3013
3013
|
const e = this.layoutInfos.find((t) => t.select);
|
|
3014
|
-
e && this.$emit("onselect",
|
|
3014
|
+
e && this.$emit("onselect", {
|
|
3015
|
+
layout: e.layout,
|
|
3016
|
+
cancel: !1
|
|
3017
|
+
}, e.svg);
|
|
3015
3018
|
},
|
|
3016
3019
|
methods: {
|
|
3017
3020
|
selectClick(e) {
|
|
3018
|
-
e.select == !1
|
|
3019
|
-
t
|
|
3020
|
-
|
|
3021
|
+
if (e.select == !1) {
|
|
3022
|
+
const t = {
|
|
3023
|
+
layout: e.layout,
|
|
3024
|
+
cancel: !1
|
|
3025
|
+
};
|
|
3026
|
+
this.$emit("onselect", t, e.svg), t.cancel || (this.layoutInfos.forEach((n) => {
|
|
3027
|
+
n.select = !1;
|
|
3028
|
+
}), e.select = !0);
|
|
3029
|
+
}
|
|
3021
3030
|
}
|
|
3022
3031
|
}
|
|
3023
3032
|
});
|
|
@@ -3038,7 +3047,7 @@ function Ga(e, t, n, r, o, a) {
|
|
|
3038
3047
|
], 10, Ma))), 256))
|
|
3039
3048
|
]);
|
|
3040
3049
|
}
|
|
3041
|
-
const Wa = /* @__PURE__ */ me($a, [["render", Ga], ["__scopeId", "data-v-
|
|
3050
|
+
const Wa = /* @__PURE__ */ me($a, [["render", Ga], ["__scopeId", "data-v-dd409189"]]), ja = _e({
|
|
3042
3051
|
emits: {
|
|
3043
3052
|
LayoutChange(e) {
|
|
3044
3053
|
return !0;
|
|
@@ -3068,10 +3077,10 @@ const Wa = /* @__PURE__ */ me($a, [["render", Ga], ["__scopeId", "data-v-b01255c
|
|
|
3068
3077
|
let r = Ue.StorageDefaultLayout.get();
|
|
3069
3078
|
const o = r || n[0];
|
|
3070
3079
|
function a(i, c) {
|
|
3071
|
-
|
|
3080
|
+
return t.emit("LayoutChange", i), i.cancel || (l.value = c), !i.cancel;
|
|
3072
3081
|
}
|
|
3073
3082
|
const s = function(i, c) {
|
|
3074
|
-
JSON.stringify(r) != JSON.stringify(i) && (r = i, Ue.StorageDefaultLayout.set(i)
|
|
3083
|
+
JSON.stringify(r) != JSON.stringify(i) && a(i, c) && (r = i.layout, Ue.StorageDefaultLayout.set(i.layout)), l.value.length == 0 && a(i, c);
|
|
3075
3084
|
}, l = G("");
|
|
3076
3085
|
return {
|
|
3077
3086
|
onselect: s,
|
|
@@ -3082,7 +3091,7 @@ const Wa = /* @__PURE__ */ me($a, [["render", Ga], ["__scopeId", "data-v-b01255c
|
|
|
3082
3091
|
},
|
|
3083
3092
|
expose: []
|
|
3084
3093
|
});
|
|
3085
|
-
const Xn = (e) => (Co("data-v-
|
|
3094
|
+
const Xn = (e) => (Co("data-v-ff93817a"), e = e(), Ao(), e), Ha = ["innerHTML"], Ba = { class: "switch-panel" }, Ya = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
|
|
3086
3095
|
/* @__PURE__ */ C("span", null, "\u8BF7\u9009\u62E9\u5E03\u5C40\u6837\u5F0F")
|
|
3087
3096
|
], -1)), za = { style: { "margin-left": "10px", padding: "10px" } }, Ka = { style: { "margin-left": "10px" } }, Xa = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
|
|
3088
3097
|
function Qa(e, t, n, r, o, a) {
|
|
@@ -3111,7 +3120,7 @@ function Qa(e, t, n, r, o, a) {
|
|
|
3111
3120
|
])
|
|
3112
3121
|
], 64);
|
|
3113
3122
|
}
|
|
3114
|
-
const Ja = /* @__PURE__ */ me(ja, [["render", Qa], ["__scopeId", "data-v-
|
|
3123
|
+
const Ja = /* @__PURE__ */ me(ja, [["render", Qa], ["__scopeId", "data-v-ff93817a"]]), qa = _e({
|
|
3115
3124
|
props: {
|
|
3116
3125
|
layout: {
|
|
3117
3126
|
type: Object
|