tuikit-atomicx-vue3 5.1.0 → 5.1.2

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.
Files changed (39) hide show
  1. package/dist/{PopoverPortal-Dl-gP1Kw.js → PopoverPortal-B7N-pGov.js} +46 -30
  2. package/dist/{PopoverTrigger-DYVb7gZK.js → PopoverTrigger-DzlaAqA8.js} +4 -4
  3. package/dist/{PopperContent-ClogPqSI.js → PopperContent--eLQxkob.js} +498 -487
  4. package/dist/Teleport-BhkMBOa1.js +884 -0
  5. package/dist/baseComp/Modal/Modal.js +5 -5
  6. package/dist/components/ASRTools/RealtimeMessageList.js +26 -24
  7. package/dist/components/ASRTools/Subtitle.js +7 -7
  8. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  9. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  10. package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
  11. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  12. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  13. package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
  14. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
  15. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  16. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
  17. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
  18. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  19. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
  20. package/dist/components/MessageInput/TextEditor/index.js +1 -1
  21. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +227 -203
  22. package/dist/components/UIKitModal/UIKitModal.js +13 -13
  23. package/dist/index-BJxsL7SE.js +44 -0
  24. package/dist/{index-YbHvjtXO.js → index-BJzB8Znv.js} +132 -132
  25. package/dist/{index-DiEAFirT.js → index-Bkrmsrz8.js} +1 -1
  26. package/dist/{index-Gf2pbvPq.js → index-CfMkDUeC.js} +1 -1
  27. package/dist/{index-DrcR7ySA.js → index-DTVv0sBs.js} +1 -1
  28. package/dist/states/LiveMonitorState/api/http.js +673 -629
  29. package/dist/styles/index.css +1 -1
  30. package/dist/{useId-UXWjAXys.js → useId-xVC9kPCb.js} +1 -1
  31. package/dist/utils/env.js +1 -1
  32. package/dist/utils/environment.js +1 -1
  33. package/dist/utils/riseInput.js +3 -3
  34. package/dist/{utils-MBqU7RJu.js → utils-BNhwmGRs.js} +1 -1
  35. package/package.json +2 -2
  36. package/src/components/ASRTools/RealtimeMessageList.vue +6 -6
  37. package/src/components/ASRTools/Subtitle.vue +0 -1
  38. package/dist/Teleport-DwE4058f.js +0 -923
  39. package/dist/index-CeQ4nl87.js +0 -44
@@ -1,8 +1,8 @@
1
- import { a as D, c as k, r as N, u as B, F as E, D as A, b as R, d as I, e as M, T as $ } from "./Teleport-DwE4058f.js";
2
- import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-ClogPqSI.js";
3
- import { u as T } from "./useId-UXWjAXys.js";
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 q, createVNode as C, mergeProps as _, withModifiers as F, normalizeProps as x, guardReactiveProps as W } from "vue";
5
- const [b, V] = k("PopoverRoot");
1
+ import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-BhkMBOa1.js";
2
+ import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent--eLQxkob.js";
3
+ import { u as T } from "./useId-xVC9kPCb.js";
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
+ const [B, V] = D("PopoverRoot");
6
6
  var G = /* @__PURE__ */ m({
7
7
  __name: "PopoverRoot",
8
8
  props: {
@@ -24,7 +24,7 @@ var G = /* @__PURE__ */ m({
24
24
  },
25
25
  emits: ["update:open"],
26
26
  setup(d, { emit: p }) {
27
- const n = d, r = p, { modal: i } = U(n), a = D(n, "open", r, {
27
+ const n = d, r = p, { modal: i } = U(n), a = k(n, "open", r, {
28
28
  defaultValue: n.defaultOpen,
29
29
  passive: n.open === void 0
30
30
  }), l = P(), u = P(!1);
@@ -42,7 +42,7 @@ var G = /* @__PURE__ */ m({
42
42
  triggerElement: l,
43
43
  hasCustomAnchor: u
44
44
  }), (t, o) => (c(), v(e(K), null, {
45
- default: f(() => [q(t.$slots, "default", {
45
+ default: f(() => [g(t.$slots, "default", {
46
46
  open: e(a),
47
47
  close: () => a.value = !1
48
48
  })]),
@@ -96,6 +96,10 @@ var G = /* @__PURE__ */ m({
96
96
  type: Number,
97
97
  required: !1
98
98
  },
99
+ hideShiftedArrow: {
100
+ type: Boolean,
101
+ required: !1
102
+ },
99
103
  sticky: {
100
104
  type: String,
101
105
  required: !1
@@ -146,15 +150,15 @@ var G = /* @__PURE__ */ m({
146
150
  "closeAutoFocus"
147
151
  ],
148
152
  setup(d, { emit: p }) {
149
- const n = d, r = p, i = L(N(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = B(), l = b();
150
- return j(), (u, t) => (c(), v(e(E), {
153
+ const n = d, r = p, i = L(A(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = b(), l = B();
154
+ return j(), (u, t) => (c(), v(e(N), {
151
155
  "as-child": "",
152
156
  loop: "",
153
157
  trapped: u.trapFocus,
154
158
  onMountAutoFocus: t[5] || (t[5] = (o) => r("openAutoFocus", o)),
155
159
  onUnmountAutoFocus: t[6] || (t[6] = (o) => r("closeAutoFocus", o))
156
160
  }, {
157
- default: f(() => [C(e(A), {
161
+ default: f(() => [h(e(E), {
158
162
  "as-child": "",
159
163
  "disable-outside-pointer-events": u.disableOutsidePointerEvents,
160
164
  onPointerDownOutside: t[0] || (t[0] = (o) => r("pointerDownOutside", o)),
@@ -163,7 +167,7 @@ var G = /* @__PURE__ */ m({
163
167
  onFocusOutside: t[3] || (t[3] = (o) => r("focusOutside", o)),
164
168
  onDismiss: t[4] || (t[4] = (o) => e(l).onOpenChange(!1))
165
169
  }, {
166
- default: f(() => [C(e(z), _(e(i), {
170
+ default: f(() => [h(e(z), _(e(i), {
167
171
  id: e(l).contentId,
168
172
  ref: e(a),
169
173
  "data-state": e(l).open.value ? "open" : "closed",
@@ -177,7 +181,7 @@ var G = /* @__PURE__ */ m({
177
181
  },
178
182
  role: "dialog"
179
183
  }), {
180
- default: f(() => [q(u.$slots, "default")]),
184
+ default: f(() => [g(u.$slots, "default")]),
181
185
  _: 3
182
186
  }, 16, [
183
187
  "id",
@@ -189,7 +193,7 @@ var G = /* @__PURE__ */ m({
189
193
  _: 3
190
194
  }, 8, ["trapped"]));
191
195
  }
192
- }), h = H, J = /* @__PURE__ */ m({
196
+ }), F = H, J = /* @__PURE__ */ m({
193
197
  __name: "PopoverContentModal",
194
198
  props: {
195
199
  side: {
@@ -232,6 +236,10 @@ var G = /* @__PURE__ */ m({
232
236
  type: Number,
233
237
  required: !1
234
238
  },
239
+ hideShiftedArrow: {
240
+ type: Boolean,
241
+ required: !1
242
+ },
235
243
  sticky: {
236
244
  type: String,
237
245
  required: !1
@@ -282,26 +290,26 @@ var G = /* @__PURE__ */ m({
282
290
  "closeAutoFocus"
283
291
  ],
284
292
  setup(d, { emit: p }) {
285
- const n = d, r = p, i = b(), a = P(!1);
293
+ const n = d, r = p, i = B(), a = P(!1);
286
294
  R(!0);
287
- const l = w(n, r), { forwardRef: u, currentElement: t } = B();
288
- return I(t), (o, s) => (c(), v(h, _(e(l), {
295
+ const l = w(n, r), { forwardRef: u, currentElement: t } = b();
296
+ return I(t), (o, s) => (c(), v(F, _(e(l), {
289
297
  ref: e(u),
290
298
  "trap-focus": e(i).open.value,
291
299
  "disable-outside-pointer-events": "",
292
- onCloseAutoFocus: s[0] || (s[0] = F((y) => {
293
- var g;
294
- r("closeAutoFocus", y), a.value || (g = e(i).triggerElement.value) == null || g.focus();
300
+ onCloseAutoFocus: s[0] || (s[0] = C((y) => {
301
+ var q;
302
+ r("closeAutoFocus", y), a.value || (q = e(i).triggerElement.value) == null || q.focus();
295
303
  }, ["prevent"])),
296
304
  onPointerDownOutside: s[1] || (s[1] = (y) => {
297
305
  r("pointerDownOutside", y);
298
- const g = y.detail.originalEvent, O = g.button === 0 && g.ctrlKey === !0, S = g.button === 2 || O;
306
+ const q = y.detail.originalEvent, O = q.button === 0 && q.ctrlKey === !0, S = q.button === 2 || O;
299
307
  a.value = S;
300
308
  }),
301
- onFocusOutside: s[2] || (s[2] = F(() => {
309
+ onFocusOutside: s[2] || (s[2] = C(() => {
302
310
  }, ["prevent"]))
303
311
  }), {
304
- default: f(() => [q(o.$slots, "default")]),
312
+ default: f(() => [g(o.$slots, "default")]),
305
313
  _: 3
306
314
  }, 16, ["trap-focus"]));
307
315
  }
@@ -348,6 +356,10 @@ var G = /* @__PURE__ */ m({
348
356
  type: Number,
349
357
  required: !1
350
358
  },
359
+ hideShiftedArrow: {
360
+ type: Boolean,
361
+ required: !1
362
+ },
351
363
  sticky: {
352
364
  type: String,
353
365
  required: !1
@@ -398,8 +410,8 @@ var G = /* @__PURE__ */ m({
398
410
  "closeAutoFocus"
399
411
  ],
400
412
  setup(d, { emit: p }) {
401
- const n = d, r = p, i = b(), a = P(!1), l = P(!1), u = w(n, r);
402
- return (t, o) => (c(), v(h, _(e(u), {
413
+ const n = d, r = p, i = B(), a = P(!1), l = P(!1), u = w(n, r);
414
+ return (t, o) => (c(), v(F, _(e(u), {
403
415
  "trap-focus": !1,
404
416
  "disable-outside-pointer-events": !1,
405
417
  onCloseAutoFocus: o[0] || (o[0] = (s) => {
@@ -413,7 +425,7 @@ var G = /* @__PURE__ */ m({
413
425
  ((O = e(i).triggerElement.value) == null ? void 0 : O.contains(y)) && s.preventDefault(), s.detail.originalEvent.type === "focusin" && l.value && s.preventDefault();
414
426
  })
415
427
  }), {
416
- default: f(() => [q(t.$slots, "default")]),
428
+ default: f(() => [g(t.$slots, "default")]),
417
429
  _: 3
418
430
  }, 16));
419
431
  }
@@ -464,6 +476,10 @@ var G = /* @__PURE__ */ m({
464
476
  type: Number,
465
477
  required: !1
466
478
  },
479
+ hideShiftedArrow: {
480
+ type: Boolean,
481
+ required: !1
482
+ },
467
483
  sticky: {
468
484
  type: String,
469
485
  required: !1
@@ -514,13 +530,13 @@ var G = /* @__PURE__ */ m({
514
530
  "closeAutoFocus"
515
531
  ],
516
532
  setup(d, { emit: p }) {
517
- const n = d, r = p, i = b(), a = w(n, r), { forwardRef: l } = B();
533
+ const n = d, r = p, i = B(), a = w(n, r), { forwardRef: l } = b();
518
534
  return i.contentId || (i.contentId = T(void 0, "reka-popover-content")), (u, t) => (c(), v(e(M), { present: u.forceMount || e(i).open.value }, {
519
535
  default: f(() => [e(i).modal.value ? (c(), v(Q, _({ key: 0 }, e(a), { ref: e(l) }), {
520
- default: f(() => [q(u.$slots, "default")]),
536
+ default: f(() => [g(u.$slots, "default")]),
521
537
  _: 3
522
538
  }, 16)) : (c(), v(Y, _({ key: 1 }, e(a), { ref: e(l) }), {
523
- default: f(() => [q(u.$slots, "default")]),
539
+ default: f(() => [g(u.$slots, "default")]),
524
540
  _: 3
525
541
  }, 16))]),
526
542
  _: 3
@@ -549,7 +565,7 @@ var G = /* @__PURE__ */ m({
549
565
  setup(d) {
550
566
  const p = d;
551
567
  return (n, r) => (c(), v(e($), x(W(p)), {
552
- default: f(() => [q(n.$slots, "default")]),
568
+ default: f(() => [g(n.$slots, "default")]),
553
569
  _: 3
554
570
  }, 16));
555
571
  }
@@ -558,5 +574,5 @@ export {
558
574
  se as P,
559
575
  le as a,
560
576
  ie as b,
561
- b as i
577
+ B as i
562
578
  };
@@ -1,7 +1,7 @@
1
- import { u as l, P as a } from "./Teleport-DwE4058f.js";
2
- import { u as d } from "./useId-UXWjAXys.js";
3
- import { P as u } from "./PopperContent-ClogPqSI.js";
4
- import { i as c } from "./PopoverPortal-Dl-gP1Kw.js";
1
+ import { u as l, P as a } from "./Teleport-BhkMBOa1.js";
2
+ import { u as d } from "./useId-xVC9kPCb.js";
3
+ import { P as u } from "./PopperContent--eLQxkob.js";
4
+ import { i as c } from "./PopoverPortal-B7N-pGov.js";
5
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 P } from "vue";
6
6
  var C = /* @__PURE__ */ g({
7
7
  __name: "PopoverTrigger",