tuikit-atomicx-vue3-electron 5.8.2 → 5.10.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.
- package/dist/{PopoverPortal-NF24jm90.js → PopoverPortal-B5nQO1jH.js} +5 -5
- package/dist/{PopoverTrigger-Q8GAhbK6.js → PopoverTrigger-LW6v3-7z.js} +10 -10
- package/dist/{PopperContent-C7Uuo_Y2.js → PopperContent-C9GDUX84.js} +7 -7
- package/dist/{Teleport-C3oxnewF.js → Teleport-DaOf7Aoo.js} +30 -30
- package/dist/baseComp/Modal/Modal.js +10 -10
- package/dist/{components/StreamMixer → baseComp}/icons/CameraMirror.js +12 -15
- package/dist/{components/LiveScenePanel → baseComp}/icons/CameraUnmirror.js +12 -13
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +7 -7
- package/dist/components/LiveAudienceList/LiveAudienceList.js +2 -2
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +2 -2
- package/dist/components/LiveAudienceList/index.js +1 -1
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +105 -88
- package/dist/components/LiveScenePanel/LiveSceneSelect.js +56 -53
- package/dist/components/LiveScenePanel/LocalVideoDialog.js +107 -0
- package/dist/components/LiveScenePanel/LocalVideoDialog.vue.d.ts +35 -0
- package/dist/components/LiveScenePanel/MaterialDialog.js +3 -3
- package/dist/components/LiveScenePanel/MaterialItem.js +123 -107
- package/dist/components/LiveScenePanel/MaterialItem.vue.d.ts +4 -2
- package/dist/components/LiveScenePanel/OnlineVideoDialog.js +126 -0
- package/dist/components/LiveScenePanel/OnlineVideoDialog.vue.d.ts +48 -0
- package/dist/components/LiveScenePanel/i18n/en-US/index.d.ts +23 -0
- package/dist/components/LiveScenePanel/i18n/en-US/index.js +31 -3
- package/dist/components/LiveScenePanel/i18n/zh-CN/index.d.ts +23 -0
- package/dist/components/LiveScenePanel/i18n/zh-CN/index.js +31 -3
- package/dist/components/LiveScenePanel/icons/VideoIcon.js +23 -0
- package/dist/components/LiveScenePanel/index.js +262 -150
- package/dist/components/LiveView/DefaultStreamViewUI.js +72 -70
- package/dist/components/LiveView/index.js +120 -111
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +8 -8
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +10 -10
- package/dist/components/MessageInput/TextEditor/index.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +228 -228
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +128 -120
- package/dist/components/StreamMixer/LocalMixer/index.js +45 -43
- package/dist/i18n/assembly/live-en-US.d.ts +22 -0
- package/dist/i18n/assembly/live-zh-CN.d.ts +22 -0
- package/dist/i18n/manifest.json +178 -2
- package/dist/{index-DHJCZZ1o.js → index-BC_rsj8Y.js} +2 -2
- package/dist/{index-ljqIpw2N.js → index-B_4JqmDM.js} +3 -3
- package/dist/{index-I6gZUWuE.js → index-BejtWwxH.js} +58 -58
- package/dist/{index-Dw7nlTSW.js → index-Bx7tbGhD.js} +1 -1
- package/dist/{index-DSsh0Axu.js → index-Du3phCj7.js} +215 -212
- package/dist/index.js +172 -165
- package/dist/report/MetricsKey.d.ts +27 -15
- package/dist/report/MetricsKey.js +1 -1
- package/dist/states/AITranscriberState/AITranscriberState.d.ts +2 -111
- package/dist/states/BarrageState/BarrageState.d.ts +1 -58
- package/dist/states/BattleState/BattleState.d.ts +2 -44
- package/dist/states/CoGuestState.d.ts +1 -36
- package/dist/states/CoHostState/CoHostState.d.ts +2 -28
- package/dist/states/DeviceState/DeviceState.d.ts +2 -194
- package/dist/states/DeviceState/DeviceState.js +109 -108
- package/dist/states/FreeBeautyState/FreeBeautyState.d.ts +2 -35
- package/dist/states/LiveAudienceState.d.ts +2 -21
- package/dist/states/LiveGiftState/LiveGiftState.d.ts +2 -55
- package/dist/states/LiveGiftState/players/SVGAPlayer.js +2 -2
- package/dist/states/LiveListState/LiveListState.d.ts +2 -124
- package/dist/states/LiveListState/LiveListState.js +208 -170
- package/dist/states/LiveMonitorState/api/http.js +1146 -909
- package/dist/states/LiveMonitorState/index.d.ts +2 -39
- package/dist/states/LiveSeatState/index.d.ts +1 -70
- package/dist/states/LoginState.d.ts +2 -65
- package/dist/states/MusicState/MusicState.d.ts +32 -0
- package/dist/states/MusicState/MusicState.js +248 -0
- package/dist/states/MusicState/index.d.ts +1 -0
- package/dist/states/MusicState/index.js +4 -0
- package/dist/states/SearchState.d.ts +2 -264
- package/dist/states/SeatStore.d.ts +104 -0
- package/dist/states/UIKitModalState/UIKitModalState.d.ts +5 -6
- package/dist/states/VideoMixerState/VideoMixerState.d.ts +4 -165
- package/dist/states/VideoMixerState/VideoMixerState.js +327 -227
- package/dist/states/VideoMixerState/index.d.ts +1 -0
- package/dist/states/VideoMixerState/index.js +4 -3
- package/dist/states/VirtualBackgroundState/VirtualBackgroundState.d.ts +2 -115
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/live/index.js +124 -117
- package/dist/subEntry/live/live.d.ts +1 -0
- package/dist/subEntry/live/live.js +12 -10
- package/dist/subEntry/room/index.js +118 -113
- package/dist/types/asr.d.ts +15 -0
- package/dist/types/audience.d.ts +21 -0
- package/dist/types/barrage.d.ts +13 -0
- package/dist/types/battle.d.ts +26 -0
- package/dist/types/beauty.d.ts +6 -0
- package/dist/types/coGuest.d.ts +36 -0
- package/dist/types/coHost.d.ts +28 -0
- package/dist/types/device.d.ts +76 -0
- package/dist/types/gift.d.ts +12 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +75 -70
- package/dist/types/live.d.ts +49 -1
- package/dist/types/live.js +5 -4
- package/dist/types/login.d.ts +7 -0
- package/dist/types/monitor.d.ts +10 -0
- package/dist/types/music.d.ts +216 -0
- package/dist/types/music.js +6 -0
- package/dist/types/search.d.ts +15 -1
- package/dist/types/seat.d.ts +49 -1
- package/dist/types/videoMixer.d.ts +32 -14
- package/dist/types/virtualBackground.d.ts +12 -0
- package/dist/{useId-DNAhmykH.js → useId-CYH_IsNz.js} +1 -1
- package/dist/utils/seatLayoutMapper.d.ts +22 -0
- package/dist/utils/seatLayoutMapper.js +45 -0
- package/dist/utils/utils.d.ts +1 -1
- package/dist/utils/utils.js +37 -30
- package/dist/{utils-mTO3-yuL.js → utils-ClBQ9q32.js} +3 -3
- package/package.json +5 -5
- package/src/{components/LiveScenePanel → baseComp}/icons/CameraMirror.vue +13 -5
- package/src/{components/LiveScenePanel → baseComp}/icons/CameraUnmirror.vue +12 -3
- package/src/components/LiveScenePanel/CameraSettingDialog.vue +66 -37
- package/src/components/LiveScenePanel/LiveSceneSelect.vue +3 -0
- package/src/components/LiveScenePanel/LocalVideoDialog.vue +254 -0
- package/src/components/LiveScenePanel/MaterialDialog.vue +6 -1
- package/src/components/LiveScenePanel/MaterialItem.vue +47 -14
- package/src/components/LiveScenePanel/OnlineVideoDialog.vue +297 -0
- package/src/components/LiveScenePanel/i18n/en-US/index.ts +35 -2
- package/src/components/LiveScenePanel/i18n/zh-CN/index.ts +35 -2
- package/src/components/LiveScenePanel/icons/VideoIcon.vue +10 -0
- package/src/components/LiveScenePanel/index.vue +233 -72
- package/src/components/LiveView/DefaultStreamViewUI.vue +9 -4
- package/src/components/LiveView/index.vue +13 -2
- package/src/components/StreamMixer/LocalMixer/MixerControl.vue +10 -2
- package/src/components/StreamMixer/LocalMixer/index.vue +3 -1
- package/src/report/MetricsKey.ts +26 -14
- package/src/subEntry/live/live.ts +1 -0
- package/src/types/asr.ts +11 -0
- package/src/types/audience.ts +13 -0
- package/src/types/barrage.ts +8 -0
- package/src/types/battle.ts +14 -0
- package/src/types/beauty.ts +8 -0
- package/src/types/coGuest.ts +20 -0
- package/src/types/coHost.ts +18 -0
- package/src/types/device.ts +57 -0
- package/src/types/gift.ts +10 -1
- package/src/types/index.ts +1 -0
- package/src/types/live.ts +44 -1
- package/src/types/login.ts +9 -0
- package/src/types/monitor.ts +12 -0
- package/src/types/music.ts +239 -0
- package/src/types/search.ts +17 -0
- package/src/types/seat.ts +26 -0
- package/src/types/videoMixer.ts +35 -14
- package/src/types/virtualBackground.ts +12 -0
- package/src/utils/seatLayoutMapper.ts +76 -0
- package/src/utils/utils.ts +24 -6
- package/dist/components/LiveScenePanel/icons/CameraMirror.js +0 -35
- package/src/components/StreamMixer/icons/CameraMirror.vue +0 -17
- /package/dist/{components/LiveScenePanel → baseComp}/icons/CameraMirror.vue.d.ts +0 -0
- /package/dist/{components/LiveScenePanel → baseComp}/icons/CameraUnmirror.vue.d.ts +0 -0
- /package/dist/components/{StreamMixer/icons/CameraMirror.vue.d.ts → LiveScenePanel/icons/VideoIcon.vue.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { u as T } from "./useId-
|
|
1
|
+
import { b as D, n as k, r as A, l as b, F as N, D as E, h as R, m as I, P as M, T as $ } from "./Teleport-DaOf7Aoo.js";
|
|
2
|
+
import { c as K, d as L, u as j, b as z, e as w } from "./PopperContent-C9GDUX84.js";
|
|
3
|
+
import { u as T } from "./useId-CYH_IsNz.js";
|
|
4
4
|
import { defineComponent as m, toRefs as U, ref as P, openBlock as c, createBlock as v, unref as e, withCtx as f, renderSlot as g, createVNode as h, mergeProps as _, withModifiers as C, normalizeProps as x, guardReactiveProps as W } from "vue";
|
|
5
5
|
const [B, V] = /* @__PURE__ */ D("PopoverRoot");
|
|
6
6
|
var G = /* @__PURE__ */ m({
|
|
@@ -571,8 +571,8 @@ var G = /* @__PURE__ */ m({
|
|
|
571
571
|
}
|
|
572
572
|
}), le = ee;
|
|
573
573
|
export {
|
|
574
|
-
|
|
574
|
+
ie as P,
|
|
575
575
|
le as a,
|
|
576
|
-
|
|
576
|
+
se as b,
|
|
577
577
|
B as i
|
|
578
578
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as d } from "./useId-
|
|
3
|
-
import { P as u } from "./PopperContent-
|
|
4
|
-
import { i as c } from "./PopoverPortal-
|
|
5
|
-
import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as
|
|
6
|
-
var
|
|
1
|
+
import { l as p, a } from "./Teleport-DaOf7Aoo.js";
|
|
2
|
+
import { u as d } from "./useId-CYH_IsNz.js";
|
|
3
|
+
import { P as u } from "./PopperContent-C9GDUX84.js";
|
|
4
|
+
import { i as c } from "./PopoverPortal-B5nQO1jH.js";
|
|
5
|
+
import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as C } from "vue";
|
|
6
|
+
var P = /* @__PURE__ */ g({
|
|
7
7
|
__name: "PopoverTrigger",
|
|
8
8
|
props: {
|
|
9
9
|
asChild: {
|
|
@@ -17,9 +17,9 @@ var C = /* @__PURE__ */ g({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(n) {
|
|
20
|
-
const i = n, e = c(), { forwardRef: s, currentElement:
|
|
20
|
+
const i = n, e = c(), { forwardRef: s, currentElement: l } = p();
|
|
21
21
|
return e.triggerId || (e.triggerId = d(void 0, "reka-popover-trigger")), f(() => {
|
|
22
|
-
e.triggerElement.value =
|
|
22
|
+
e.triggerElement.value = l.value;
|
|
23
23
|
}), (o, y) => (m(), v(_(r(e).hasCustomAnchor.value ? r(a) : r(u)), { "as-child": "" }, {
|
|
24
24
|
default: t(() => [h(r(a), {
|
|
25
25
|
id: r(e).triggerId,
|
|
@@ -33,7 +33,7 @@ var C = /* @__PURE__ */ g({
|
|
|
33
33
|
"as-child": i.asChild,
|
|
34
34
|
onClick: r(e).onOpenToggle
|
|
35
35
|
}, {
|
|
36
|
-
default: t(() => [
|
|
36
|
+
default: t(() => [C(o.$slots, "default")]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 8, [
|
|
39
39
|
"id",
|
|
@@ -48,7 +48,7 @@ var C = /* @__PURE__ */ g({
|
|
|
48
48
|
_: 3
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
|
-
}), w =
|
|
51
|
+
}), w = P;
|
|
52
52
|
export {
|
|
53
53
|
w as P
|
|
54
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watchEffect as It, getCurrentInstance as fe, toRef as ue, computed as P, camelize as de, ref as V, onMounted as pe, defineComponent as Ct, renderSlot as Pt, watchPostEffect as Xt, openBlock as Yt, createBlock as he, unref as M, withCtx as Ut, shallowRef as me, watch as mt, getCurrentScope as ge, onScopeDispose as we, shallowReadonly as tt, createElementBlock as ye, normalizeStyle as ve, createVNode as xe, mergeProps as be, mergeDefaults as Ae } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { e as Oe, j as Ce, u as Pe, b as Gt, l as Kt, a as Zt, c as Re } from "./Teleport-DaOf7Aoo.js";
|
|
3
3
|
let gt = 0;
|
|
4
4
|
function Fn() {
|
|
5
5
|
It((t) => {
|
|
@@ -1604,10 +1604,10 @@ var kn = /* @__PURE__ */ Ct({
|
|
|
1604
1604
|
}), Vn = kn;
|
|
1605
1605
|
export {
|
|
1606
1606
|
zn as P,
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1607
|
+
Ln as a,
|
|
1608
|
+
Vn as b,
|
|
1609
|
+
Wn as c,
|
|
1610
|
+
Se as d,
|
|
1611
|
+
Mn as e,
|
|
1612
|
+
Fn as u
|
|
1613
1613
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as L, readonly as we, getCurrentScope as Se, onScopeDispose as Pe, isRef as K, reactive as R, unref as A, customRef as Ae, toValue as b, watch as _, toRefs as G, ref as E, nextTick as M, onMounted as Ce, Fragment as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as
|
|
2
|
-
function
|
|
1
|
+
import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as L, readonly as we, getCurrentScope as Se, onScopeDispose as Pe, isRef as K, reactive as R, unref as A, customRef as Ae, toValue as b, watch as _, toRefs as G, ref as E, nextTick as M, onMounted as Ce, Fragment as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as $, Comment as Ne, mergeProps as Fe, cloneVNode as Ie, openBlock as X, createBlock as Q, normalizeStyle as xe, withCtx as le, renderSlot as Z, Teleport as Be, createCommentVNode as ke } from "vue";
|
|
2
|
+
function je(e, t) {
|
|
3
3
|
const n = typeof e == "string" && !t ? `${e}Context` : t, r = Symbol(n);
|
|
4
4
|
return [(a) => {
|
|
5
5
|
const u = Ee(r, a);
|
|
@@ -21,7 +21,7 @@ function ce(e, t, n) {
|
|
|
21
21
|
});
|
|
22
22
|
t && r.addEventListener(e, t, { once: !0 }), r.dispatchEvent(i);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function $e(e) {
|
|
25
25
|
return e == null;
|
|
26
26
|
}
|
|
27
27
|
function Tt(e, t) {
|
|
@@ -199,7 +199,7 @@ function Nt(e, t, n, r = {}) {
|
|
|
199
199
|
function te(e) {
|
|
200
200
|
return e ? e.flatMap((t) => t.type === _e ? te(t.children) : [t]) : [];
|
|
201
201
|
}
|
|
202
|
-
const [tt] = /* @__PURE__ */
|
|
202
|
+
const [tt] = /* @__PURE__ */ je("ConfigProvider");
|
|
203
203
|
function H(e) {
|
|
204
204
|
if (e === null || typeof e != "object")
|
|
205
205
|
return !1;
|
|
@@ -440,12 +440,12 @@ function dt(e, t) {
|
|
|
440
440
|
var P;
|
|
441
441
|
const S = p !== m;
|
|
442
442
|
if (await M(), S) {
|
|
443
|
-
const W = r.value, T =
|
|
443
|
+
const W = r.value, T = j(t.value);
|
|
444
444
|
m ? (v("MOUNT"), l("enter"), T === "none" && l("after-enter")) : T === "none" || T === "undefined" || ((P = n.value) == null ? void 0 : P.display) === "none" ? (v("UNMOUNT"), l("leave"), l("after-leave")) : p && W !== T ? (v("ANIMATION_OUT"), l("leave")) : (v("UNMOUNT"), l("after-leave"));
|
|
445
445
|
}
|
|
446
446
|
}, { immediate: !0 });
|
|
447
447
|
const s = (m) => {
|
|
448
|
-
const p =
|
|
448
|
+
const p = j(t.value), S = p.includes(CSS.escape(m.animationName)), P = f.value === "mounted" ? "enter" : "leave";
|
|
449
449
|
if (m.target === t.value && S && (l(`after-${P}`), v("ANIMATION_END"), !i.value)) {
|
|
450
450
|
const W = t.value.style.animationFillMode;
|
|
451
451
|
t.value.style.animationFillMode = "forwards", a = u == null ? void 0 : u.setTimeout(() => {
|
|
@@ -455,18 +455,18 @@ function dt(e, t) {
|
|
|
455
455
|
}
|
|
456
456
|
m.target === t.value && p === "none" && v("ANIMATION_END");
|
|
457
457
|
}, c = (m) => {
|
|
458
|
-
m.target === t.value && (r.value =
|
|
458
|
+
m.target === t.value && (r.value = j(t.value));
|
|
459
459
|
}, d = _(t, (m, p) => {
|
|
460
460
|
m ? (n.value = getComputedStyle(m), m.addEventListener("animationstart", c), m.addEventListener("animationcancel", s), m.addEventListener("animationend", s)) : (v("ANIMATION_END"), a !== void 0 && (u == null || u.clearTimeout(a)), p == null || p.removeEventListener("animationstart", c), p == null || p.removeEventListener("animationcancel", s), p == null || p.removeEventListener("animationend", s));
|
|
461
461
|
}, { immediate: !0 }), y = _(f, () => {
|
|
462
|
-
const m =
|
|
462
|
+
const m = j(t.value);
|
|
463
463
|
r.value = f.value === "mounted" ? m : "none";
|
|
464
464
|
});
|
|
465
465
|
return ae(() => {
|
|
466
466
|
d(), y();
|
|
467
467
|
}), { isPresent: w(() => ["mounted", "unmountSuspended"].includes(f.value)) };
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function j(e) {
|
|
470
470
|
return e && getComputedStyle(e).animationName || "none";
|
|
471
471
|
}
|
|
472
472
|
var Bt = /* @__PURE__ */ x({
|
|
@@ -498,7 +498,7 @@ var Bt = /* @__PURE__ */ x({
|
|
|
498
498
|
].join(`
|
|
499
499
|
`));
|
|
500
500
|
}
|
|
501
|
-
return () => i.value || r.value || a.value ?
|
|
501
|
+
return () => i.value || r.value || a.value ? $(t.default({ present: a.value })[0], { ref: (l) => {
|
|
502
502
|
const s = U(l);
|
|
503
503
|
return typeof (s == null ? void 0 : s.hasAttribute) > "u" || (s != null && s.hasAttribute("data-reka-popper-content-wrapper") ? o.value = s.firstElementChild : o.value = s), s;
|
|
504
504
|
} }) : null;
|
|
@@ -541,7 +541,7 @@ const ft = /* @__PURE__ */ x({
|
|
|
541
541
|
},
|
|
542
542
|
setup(e, { attrs: t, slots: n }) {
|
|
543
543
|
const r = e.asChild ? "template" : e.as;
|
|
544
|
-
return typeof r == "string" && vt.includes(r) ? () =>
|
|
544
|
+
return typeof r == "string" && vt.includes(r) ? () => $(r, t) : r !== "template" ? () => $(e.as, t, { default: n.default }) : () => $(ft, t, { default: n.default });
|
|
545
545
|
}
|
|
546
546
|
}), pt = "dismissableLayer.pointerDownOutside", mt = "dismissableLayer.focusOutside";
|
|
547
547
|
function he(e, t) {
|
|
@@ -649,7 +649,7 @@ var gt = /* @__PURE__ */ x({
|
|
|
649
649
|
f.value === u.value.size - 1 && (r("escapeKeyDown", d), d.defaultPrevented || r("dismiss"));
|
|
650
650
|
}), L((d) => {
|
|
651
651
|
o.value && (n.disableOutsidePointerEvents && (O.layersWithOutsidePointerEventsDisabled.size === 0 && (O.originalBodyPointerEvents = a.value.body.style.pointerEvents, a.value.body.style.pointerEvents = "none"), O.layersWithOutsidePointerEventsDisabled.add(o.value)), u.value.add(o.value), d(() => {
|
|
652
|
-
n.disableOutsidePointerEvents && O.layersWithOutsidePointerEventsDisabled.size === 1 &&
|
|
652
|
+
n.disableOutsidePointerEvents && O.layersWithOutsidePointerEventsDisabled.size === 1 && !$e(O.originalBodyPointerEvents) && (a.value.body.style.pointerEvents = O.originalBodyPointerEvents);
|
|
653
653
|
}));
|
|
654
654
|
}), L((d) => {
|
|
655
655
|
d(() => {
|
|
@@ -836,7 +836,7 @@ var At = /* @__PURE__ */ x({
|
|
|
836
836
|
_: 3
|
|
837
837
|
}, 8, ["as-child", "as"]));
|
|
838
838
|
}
|
|
839
|
-
}),
|
|
839
|
+
}), jt = At, Ct = /* @__PURE__ */ x({
|
|
840
840
|
__name: "Teleport",
|
|
841
841
|
props: {
|
|
842
842
|
to: {
|
|
@@ -870,27 +870,27 @@ var At = /* @__PURE__ */ x({
|
|
|
870
870
|
"defer"
|
|
871
871
|
])) : ke("v-if", !0);
|
|
872
872
|
}
|
|
873
|
-
}),
|
|
873
|
+
}), $t = Ct;
|
|
874
874
|
export {
|
|
875
875
|
kt as D,
|
|
876
|
-
|
|
877
|
-
|
|
876
|
+
jt as F,
|
|
877
|
+
Bt as P,
|
|
878
878
|
ft as S,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
879
|
+
$t as T,
|
|
880
|
+
ye as a,
|
|
881
|
+
je as b,
|
|
882
|
+
Tt as c,
|
|
883
|
+
Ve as d,
|
|
884
|
+
D as e,
|
|
885
|
+
Mt as f,
|
|
886
886
|
F as g,
|
|
887
|
-
|
|
887
|
+
Ft as h,
|
|
888
888
|
tt as i,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
889
|
+
It as j,
|
|
890
|
+
fe as k,
|
|
891
|
+
pe as l,
|
|
892
|
+
xt as m,
|
|
893
|
+
Nt as n,
|
|
894
894
|
Lt as r,
|
|
895
|
-
|
|
895
|
+
U as u
|
|
896
896
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as g, ref as E, toRefs as P, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, createCommentVNode as h, normalizeProps as $, guardReactiveProps as T, normalizeClass as R } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as w } from "../../useId-
|
|
4
|
-
import { g as
|
|
5
|
-
import { _ as
|
|
6
|
-
const [O,
|
|
7
|
-
var
|
|
2
|
+
import { b as k, n as N, l as D, g as I, F as S, D as L, j as q, m as K, P as F, h as V, a as U, T as W } from "../../Teleport-DaOf7Aoo.js";
|
|
3
|
+
import { u as w } from "../../useId-CYH_IsNz.js";
|
|
4
|
+
import { g as j } from "../../utils-ClBQ9q32.js";
|
|
5
|
+
import { _ as z } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const [O, G] = /* @__PURE__ */ k("DialogRoot");
|
|
7
|
+
var H = /* @__PURE__ */ g({
|
|
8
8
|
inheritAttrs: !1,
|
|
9
9
|
__name: "DialogRoot",
|
|
10
10
|
props: {
|
|
@@ -30,7 +30,7 @@ var j = /* @__PURE__ */ g({
|
|
|
30
30
|
defaultValue: s.defaultOpen,
|
|
31
31
|
passive: s.open === void 0
|
|
32
32
|
}), l = E(), p = E(), { modal: r } = P(s);
|
|
33
|
-
return
|
|
33
|
+
return G({
|
|
34
34
|
open: e,
|
|
35
35
|
modal: r,
|
|
36
36
|
openModal: () => {
|
|
@@ -52,7 +52,7 @@ var j = /* @__PURE__ */ g({
|
|
|
52
52
|
close: () => e.value = !1
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
}), J =
|
|
55
|
+
}), J = H;
|
|
56
56
|
const Q = "DialogTitle", X = "DialogContent";
|
|
57
57
|
function Y({ titleName: u = Q, contentName: i = X, componentLink: s = "dialog.html#title", titleId: a, descriptionId: e, contentElement: l }) {
|
|
58
58
|
const p = `Warning: \`${i}\` requires a \`${u}\` for the component to be accessible for screen reader users.
|
|
@@ -126,7 +126,7 @@ var Z = /* @__PURE__ */ g({
|
|
|
126
126
|
role: "dialog",
|
|
127
127
|
"aria-describedby": t(e).descriptionId,
|
|
128
128
|
"aria-labelledby": t(e).titleId,
|
|
129
|
-
"data-state": t(
|
|
129
|
+
"data-state": t(j)(t(e).open.value)
|
|
130
130
|
}, r.$attrs, {
|
|
131
131
|
onDismiss: n[0] || (n[0] = (o) => t(e).onOpenChange(!1)),
|
|
132
132
|
onEscapeKeyDown: n[1] || (n[1] = (o) => a("escapeKeyDown", o)),
|
|
@@ -449,7 +449,7 @@ const pe = /* @__PURE__ */ g({
|
|
|
449
449
|
_: 3
|
|
450
450
|
}, 8, ["open"]));
|
|
451
451
|
}
|
|
452
|
-
}), ge = /* @__PURE__ */
|
|
452
|
+
}), ge = /* @__PURE__ */ z(pe, [["__scopeId", "data-v-1d8533fb"]]);
|
|
453
453
|
export {
|
|
454
454
|
ge as default
|
|
455
455
|
};
|
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as o, createElementBlock as r, createElementVNode as l } from "vue";
|
|
2
|
+
import { _ as e } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const C = {}, n = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
width: "16",
|
|
6
6
|
height: "16",
|
|
7
7
|
viewBox: "0 0 16 16",
|
|
8
8
|
fill: "none"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return
|
|
10
|
+
function i(c, t) {
|
|
11
|
+
return o(), r("svg", n, [...t[0] || (t[0] = [
|
|
12
12
|
l("path", {
|
|
13
13
|
d: "M7.5 1H8.5V15H7.5V1Z",
|
|
14
|
-
fill: "
|
|
15
|
-
"fill-opacity": "0.9"
|
|
16
|
-
style: { fill: "black", "fill-opacity": "0.9" }
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
"fill-opacity": "0.9"
|
|
17
16
|
}, null, -1),
|
|
18
17
|
l("path", {
|
|
19
18
|
d: "M14.7193 12.4367C14.7501 12.6777 14.6031 12.906 14.3709 12.9777C14.2988 13 14.196 13 13.9904 13H10.6499C10.5104 13 10.4407 13 10.3831 12.9862C10.2003 12.9423 10.0576 12.7995 10.0137 12.6167C9.99986 12.5592 9.99986 12.4895 9.99986 12.35V5.0008C9.99986 4.47031 9.99986 4.20506 10.0408 4.11027C10.1766 3.79537 10.5819 3.70757 10.8359 3.93804C10.9123 4.00742 11.0221 4.24889 11.2416 4.73183L14.5821 12.081C14.6672 12.2682 14.7098 12.3618 14.7193 12.4367ZM10.9999 12H13.4469L10.9999 6.61661V12Z",
|
|
20
|
-
fill: "
|
|
21
|
-
"fill-opacity": "0.9"
|
|
22
|
-
style: { fill: "black", "fill-opacity": "0.9" }
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
"fill-opacity": "0.9"
|
|
23
21
|
}, null, -1),
|
|
24
22
|
l("path", {
|
|
25
23
|
d: "M1.62882 12.9777C1.70093 13 1.80374 13 2.00935 13H5.3499C5.48935 13 5.55908 13 5.61662 12.9862C5.79944 12.9423 5.94219 12.7995 5.98608 12.6167C5.9999 12.5592 5.9999 12.4895 5.9999 12.35V5.0008C5.9999 4.47031 5.9999 4.20506 5.95901 4.11027C5.82317 3.79537 5.41786 3.70757 5.16389 3.93804C5.08744 4.00742 4.97768 4.24889 4.75816 4.73183L1.41761 12.081C1.33253 12.2682 1.28999 12.3618 1.28043 12.4367C1.24964 12.6777 1.39664 12.906 1.62882 12.9777ZM4.9999 6.61661V12H2.5529L4.9999 6.61661Z",
|
|
26
|
-
fill: "
|
|
27
|
-
"fill-opacity": "0.9"
|
|
28
|
-
style: { fill: "black", "fill-opacity": "0.9" }
|
|
24
|
+
fill: "currentColor",
|
|
25
|
+
"fill-opacity": "0.9"
|
|
29
26
|
}, null, -1)
|
|
30
27
|
])]);
|
|
31
28
|
}
|
|
32
|
-
const p = /* @__PURE__ */
|
|
29
|
+
const p = /* @__PURE__ */ e(C, [["render", i]]);
|
|
33
30
|
export {
|
|
34
31
|
p as default
|
|
35
32
|
};
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as r, createElementBlock as e, createElementVNode as o } from "vue";
|
|
2
|
+
import { _ as n } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const l = {}, C = {
|
|
4
4
|
width: "16",
|
|
5
5
|
height: "16",
|
|
6
6
|
viewBox: "0 0 16 16",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function i
|
|
11
|
-
return
|
|
12
|
-
|
|
10
|
+
function c(i, t) {
|
|
11
|
+
return r(), e("svg", C, [...t[0] || (t[0] = [
|
|
12
|
+
o("path", {
|
|
13
13
|
d: "M3.15332 3L14.4715 14.322",
|
|
14
|
-
stroke: "
|
|
15
|
-
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-opacity": "1"
|
|
16
16
|
}, null, -1),
|
|
17
|
-
|
|
17
|
+
o("path", {
|
|
18
18
|
d: "M8.50015 7.65332V15H7.50015V6.65332L8.50015 7.65332ZM6.00015 5.15332V12.3496C6.00015 12.4891 6.00029 12.5596 5.98647 12.6172C5.94249 12.7997 5.79984 12.9424 5.61733 12.9863C5.55979 13.0001 5.48921 13 5.34976 13H2.00991C1.8043 13 1.70116 12.9998 1.62905 12.9775C1.39693 12.9058 1.24964 12.6775 1.28042 12.4365C1.29 12.3617 1.33307 12.2682 1.41811 12.0811L4.75893 4.73145C4.87082 4.48529 4.95373 4.30169 5.0187 4.17188L6.00015 5.15332ZM11.0001 10.1533V12H12.8468L13.8468 13H10.6505C10.5111 13 10.4405 13.0001 10.383 12.9863C10.2005 12.9424 10.0578 12.7997 10.0138 12.6172C10 12.5596 10.0001 12.4891 10.0001 12.3496V9.15332L11.0001 10.1533ZM10.0412 4.11035C10.177 3.79545 10.5821 3.70801 10.8361 3.93848C10.9125 4.00806 11.023 4.24898 11.2423 4.73145L14.5822 12.0811C14.6672 12.2681 14.7103 12.3617 14.7199 12.4365C14.7208 12.4439 14.7193 12.4516 14.7199 12.459L12.7687 10.5078L11.0001 6.61621V8.73926L10.0001 7.73926V5.00098C10.0001 4.47054 10.0003 4.20518 10.0412 4.11035ZM2.55288 12H5.00015V6.61621L2.55288 12ZM8.50015 6.23926L7.50015 5.23926V1H8.50015V6.23926Z",
|
|
19
|
-
fill: "
|
|
20
|
-
"fill-opacity": "0.9"
|
|
21
|
-
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
"fill-opacity": "0.9"
|
|
22
21
|
}, null, -1)
|
|
23
22
|
])]);
|
|
24
23
|
}
|
|
25
|
-
const a = /* @__PURE__ */ l
|
|
24
|
+
const a = /* @__PURE__ */ n(l, [["render", c]]);
|
|
26
25
|
export {
|
|
27
26
|
a as default
|
|
28
27
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, computed as h, onMounted as v, openBlock as c, createElementBlock as _, createVNode as o, unref as e, withCtx as r, normalizeClass as l, normalizeStyle as d, createElementVNode as p, Fragment as y, renderList as E } from "vue";
|
|
2
2
|
import { useUIKit as P, IconEmoji as C } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
-
import {
|
|
4
|
-
import { P as w } from "../../../PopoverTrigger-
|
|
3
|
+
import { b as M, a as I, P as S } from "../../../PopoverPortal-B5nQO1jH.js";
|
|
4
|
+
import { P as w } from "../../../PopoverTrigger-LW6v3-7z.js";
|
|
5
5
|
import { emojiUrlMap as n, emojiBaseUrl as m } from "../../../constants/emoji.js";
|
|
6
6
|
import { transformTextWithEmojiKeyToName as z } from "../../../utils/emoji.js";
|
|
7
7
|
import { useMessageInputState as B } from "../MessageInputState.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as u } from "../../../index-
|
|
2
|
-
import { S as d, P as g } from "../../../index-
|
|
3
|
-
import { E as x } from "../../../index-
|
|
1
|
+
import { I as u } from "../../../index-B_4JqmDM.js";
|
|
2
|
+
import { S as d, P as g } from "../../../index-BejtWwxH.js";
|
|
3
|
+
import { E as x } from "../../../index-Bx7tbGhD.js";
|
|
4
4
|
import { isMobile as y } from "../../../utils/environment.js";
|
|
5
5
|
import { CharacterCount as M } from "./CharacterCountExtension.js";
|
|
6
|
-
import {
|
|
6
|
+
import { b } from "../../../index-Du3phCj7.js";
|
|
7
7
|
import { MessageContentType as n } from "../../../states/MessageInputState/type.js";
|
|
8
8
|
import "../../../states/MessageInputState/MessageInputState.js";
|
|
9
|
-
function
|
|
9
|
+
function T() {
|
|
10
10
|
return u.extend({
|
|
11
11
|
name: n.EMOJI,
|
|
12
12
|
inline: !0,
|
|
@@ -50,7 +50,7 @@ function C() {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
function I(t) {
|
|
53
|
-
return
|
|
53
|
+
return b.create({
|
|
54
54
|
addKeyboardShortcuts() {
|
|
55
55
|
return {
|
|
56
56
|
Enter: ({ editor: e }) => {
|
|
@@ -125,7 +125,7 @@ function J({
|
|
|
125
125
|
limit: o
|
|
126
126
|
}),
|
|
127
127
|
I(s ? { onEnter: s } : void 0),
|
|
128
|
-
|
|
128
|
+
T(),
|
|
129
129
|
C(),
|
|
130
130
|
g.configure({
|
|
131
131
|
emptyEditorClass: "is-editor-empty",
|