@dialpad/dialtone-vue 3.89.0 → 3.91.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.
Files changed (27) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/dist/dialtone-vue.cjs +5 -5
  4. package/dist/dialtone-vue.js +1528 -1211
  5. package/dist/{emoji-e5c98301.js → emoji-131e3eda.js} +83 -83
  6. package/dist/emoji.js +23 -23
  7. package/dist/message_input-0c6b468f.cjs +93 -0
  8. package/dist/message_input-4bede2c7.js +15844 -0
  9. package/dist/message_input.cjs +1 -92
  10. package/dist/message_input.js +4 -13670
  11. package/dist/style.css +1 -1
  12. package/dist/types/index.d.ts +2 -0
  13. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +82 -0
  14. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -0
  15. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts +6 -0
  16. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts.map +1 -0
  17. package/dist/types/recipes/conversation_view/attachment_carousel/index.d.ts +2 -0
  18. package/dist/types/recipes/conversation_view/attachment_carousel/index.d.ts.map +1 -0
  19. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +49 -0
  20. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -0
  21. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +30 -0
  22. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts.map +1 -0
  23. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts +5 -4
  24. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  25. package/package.json +3 -3
  26. package/dist/stack-5e05e7f3.js +0 -2177
  27. package/dist/stack-96a00d5c.cjs +0 -2
@@ -104537,96 +104537,96 @@ function f3e(e, t, o, n, c, r) {
104537
104537
  }
104538
104538
  const F3e = /* @__PURE__ */ se(d3e, [["render", f3e], ["__scopeId", "data-v-6ad3e149"]]);
104539
104539
  export {
104540
- Epe as $,
104541
- To as A,
104542
- ro as B,
104543
- Ja as C,
104540
+ Ht as $,
104541
+ Npe as A,
104542
+ Bpe as B,
104543
+ b3e as C,
104544
104544
  st as D,
104545
104545
  p3e as E,
104546
- k3e as F,
104547
- b3e as G,
104548
- v3e as H,
104549
- Na as I,
104550
- vpe as J,
104551
- _3e as K,
104552
- w3e as L,
104546
+ Epe as F,
104547
+ v3e as G,
104548
+ Lpe as H,
104549
+ t5e as I,
104550
+ Upe as J,
104551
+ Gpe as K,
104552
+ _3e as L,
104553
104553
  a5e as M,
104554
- h3e as N,
104555
- Hn as O,
104556
- fn as P,
104557
- mn as Q,
104558
- co as R,
104559
- Ta as S,
104560
- fpe as T,
104561
- ma as U,
104554
+ Kpe as N,
104555
+ Wpe as O,
104556
+ D3e as P,
104557
+ w5e as Q,
104558
+ yo as R,
104559
+ go as S,
104560
+ qpe as T,
104561
+ wo as U,
104562
104562
  ke as V,
104563
- Ppe as W,
104564
- Npe as X,
104565
- qpe as Y,
104566
- Bpe as Z,
104563
+ i5e as W,
104564
+ ut as X,
104565
+ s5e as Y,
104566
+ u5e as Z,
104567
104567
  se as _,
104568
- gn as a,
104569
- Lpe as a0,
104570
- Upe as a1,
104571
- Gpe as a2,
104572
- Kpe as a3,
104573
- Wpe as a4,
104574
- D3e as a5,
104575
- w5e as a6,
104576
- yo as a7,
104577
- go as a8,
104578
- wo as a9,
104579
- i3e as aA,
104580
- u3e as aB,
104581
- i5e as aa,
104582
- ut as ab,
104583
- s5e as ac,
104584
- u5e as ad,
104585
- Ht as ae,
104586
- Da as af,
104587
- te as ag,
104588
- Xe as ah,
104589
- Me as ai,
104590
- A3e as aj,
104591
- I3e as ak,
104592
- o3e as al,
104593
- Po as am,
104594
- $o as an,
104595
- Ro as ao,
104596
- No as ap,
104597
- Uo as aq,
104598
- Go as ar,
104599
- ga as as,
104600
- n3e as at,
104601
- x3e as au,
104602
- j3e as av,
104603
- C3e as aw,
104604
- M3e as ax,
104605
- r3e as ay,
104606
- c3e as az,
104568
+ D5e as a,
104569
+ Na as a0,
104570
+ Z3e as a1,
104571
+ Da as a2,
104572
+ te as a3,
104573
+ Xe as a4,
104574
+ Me as a5,
104575
+ A3e as a6,
104576
+ I3e as a7,
104577
+ o3e as a8,
104578
+ Po as a9,
104579
+ ho as aA,
104580
+ Mn as aB,
104581
+ $o as aa,
104582
+ Ro as ab,
104583
+ No as ac,
104584
+ Uo as ad,
104585
+ Go as ae,
104586
+ ga as af,
104587
+ n3e as ag,
104588
+ x3e as ah,
104589
+ j3e as ai,
104590
+ C3e as aj,
104591
+ M3e as ak,
104592
+ r3e as al,
104593
+ Ko as am,
104594
+ c3e as an,
104595
+ i3e as ao,
104596
+ s3e as ap,
104597
+ u3e as aq,
104598
+ U_e as ar,
104599
+ g3e as as,
104600
+ gn as at,
104601
+ fpe as au,
104602
+ Dn as av,
104603
+ hpe as aw,
104604
+ mpe as ax,
104605
+ ja as ay,
104606
+ Mge as az,
104607
104607
  c5e as b,
104608
- Ft as c,
104609
- U_e as d,
104610
- j5e as e,
104611
- hpe as f,
104608
+ j5e as c,
104609
+ bpe as d,
104610
+ bn as e,
104611
+ ro as f,
104612
104612
  Wa as g,
104613
104613
  gt as h,
104614
- Dn as i,
104615
- mpe as j,
104616
- F3e as k,
104617
- Mge as l,
104618
- s3e as m,
104619
- ho as n,
104620
- Mn as o,
104621
- g3e as p,
104622
- Z3e as q,
104623
- Hpe as r,
104624
- Ko as s,
104625
- ja as t,
104614
+ Ja as i,
104615
+ k3e as j,
104616
+ vpe as k,
104617
+ h3e as l,
104618
+ Hpe as m,
104619
+ Qpe as n,
104620
+ F3e as o,
104621
+ fn as p,
104622
+ mn as q,
104623
+ co as r,
104624
+ Hn as s,
104625
+ Ta as t,
104626
104626
  y3e as u,
104627
- Qpe as v,
104628
- t5e as w,
104629
- D5e as x,
104630
- bn as y,
104631
- bpe as z
104627
+ To as v,
104628
+ ma as w,
104629
+ w3e as x,
104630
+ Ft as y,
104631
+ Ppe as z
104632
104632
  };
package/dist/emoji.js CHANGED
@@ -1,10 +1,10 @@
1
- import { k as o, I as n, aj as l, ak as m } from "./emoji-e5c98301.js";
2
- import { af as j, q as u, ag as f, ai as g, ah as S, m as y, an as I, am as D, ar as T, ap as C, aq as _, ao as O, as as A, al as J, aB as U, at as x, ax as M, aw as R, av as L, au as k, s as $, aA as v, az as z, ay as F } from "./emoji-e5c98301.js";
3
- import { h as r } from "vue";
1
+ import { o as r, a0 as n, a6 as l, a7 as m } from "./emoji-131e3eda.js";
2
+ import { a2 as j, a1 as u, a3 as f, a5 as g, a4 as S, ap as y, aa as I, a9 as D, ae as T, ac as C, ad as _, ab as O, af as J, a8 as U, aq as A, ag as x, ak as M, aj as R, ai as L, ah as $, am as b, ao as k, an as F, al as v } from "./emoji-131e3eda.js";
3
+ import { h as o } from "vue";
4
4
  const d = {
5
5
  name: "DtEmojiTextWrapper",
6
6
  components: {
7
- DtEmoji: o
7
+ DtEmoji: r
8
8
  },
9
9
  inheritAttrs: !1,
10
10
  props: {
@@ -37,9 +37,9 @@ const d = {
37
37
  * Replaces the valid codes from the text content with a DtEmoji component.
38
38
  * @returns {Array<VNode|string>}
39
39
  */
40
- replaceDtEmojis(s, e) {
41
- const a = new RegExp(`(${s.join("|")})`, "g");
42
- return e.split(a).map((i) => s.includes(i) ? r(o, { ...this.$attrs, class: "d-mx4 d-d-inline-block", size: this.size, code: i }) : i);
40
+ replaceDtEmojis(s, a) {
41
+ const e = new RegExp(`(${s.join("|")})`, "g");
42
+ return a.split(e).map((i) => s.includes(i) ? o(r, { ...this.$attrs, class: "d-mx4 d-d-inline-block", size: this.size, code: i }) : i);
43
43
  },
44
44
  /**
45
45
  * Recursively search the Vue virtual DOM to find text
@@ -47,15 +47,15 @@ const d = {
47
47
  * @returns {VNode|*}
48
48
  */
49
49
  searchVNodes(s) {
50
- var a;
50
+ var e;
51
51
  if (typeof s == "string")
52
52
  return this.searchCodes(s);
53
53
  if (typeof s.type == "symbol")
54
54
  return this.searchCodes(s.children);
55
- if ((a = s.props) != null && a.innerHTML)
55
+ if ((e = s.props) != null && e.innerHTML)
56
56
  return this.searchVNodes(s.props.innerHTML);
57
- const e = Array.isArray(s.children) ? s.children : [s.children];
58
- return r(s.type, s.props, e.map((t) => this.searchVNodes(t)));
57
+ const a = Array.isArray(s.children) ? s.children : [s.children];
58
+ return o(s.type, s.props, a.map((t) => this.searchVNodes(t)));
59
59
  },
60
60
  // TODO: Find a way to crawl vue components
61
61
  replaceVueComponentVNodeContent(s) {
@@ -66,25 +66,25 @@ const d = {
66
66
  * @returns {Array<VNode|string>|string}
67
67
  */
68
68
  searchCodes(s) {
69
- const e = l(s), a = m(s), t = [...e, ...a];
69
+ const a = l(s), e = m(s), t = [...a, ...e];
70
70
  return t.length === 0 ? s : this.replaceDtEmojis(t, s);
71
71
  }
72
72
  },
73
73
  render() {
74
74
  const s = this.$slots.default ? this.$slots.default() : [];
75
- return r(
75
+ return o(
76
76
  this.elementType,
77
77
  {
78
78
  "data-qa": "emoji-text-wrapper",
79
79
  class: this.$attrs.class
80
80
  },
81
- this.loadingEmojiJson ? s : s.map((e) => this.searchVNodes(e))
81
+ this.loadingEmojiJson ? s : s.map((a) => this.searchVNodes(a))
82
82
  );
83
83
  }
84
84
  };
85
85
  export {
86
86
  j as CDN_URL,
87
- o as DtEmoji,
87
+ r as DtEmoji,
88
88
  u as DtEmojiPicker,
89
89
  d as DtEmojiTextWrapper,
90
90
  f as EMOJIS_PER_ROW,
@@ -97,18 +97,18 @@ export {
97
97
  C as emojiFileExtensionSmall,
98
98
  _ as emojiImageUrlLarge,
99
99
  O as emojiImageUrlSmall,
100
- A as emojiJson,
101
- J as emojiVersion,
102
- U as filterValidShortCodes,
100
+ J as emojiJson,
101
+ U as emojiVersion,
102
+ A as filterValidShortCodes,
103
103
  m as findEmojis,
104
104
  l as findShortCodes,
105
105
  x as getEmojiData,
106
106
  M as setCustomEmojiJson,
107
107
  R as setCustomEmojiUrl,
108
108
  L as setEmojiAssetUrlLarge,
109
- k as setEmojiAssetUrlSmall,
110
- $ as shortcodeToEmojiData,
111
- v as stringToUnicode,
112
- z as unicodeToString,
113
- F as validateCustomEmojiJson
109
+ $ as setEmojiAssetUrlSmall,
110
+ b as shortcodeToEmojiData,
111
+ k as stringToUnicode,
112
+ F as unicodeToString,
113
+ v as validateCustomEmojiJson
114
114
  };