@dialpad/dialtone 9.126.0 → 9.126.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 (72) hide show
  1. package/dist/css/dialtone-default-theme.css +1 -1
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone.css +1 -1
  4. package/dist/css/dialtone.min.css +1 -1
  5. package/dist/tokens/doc.json +30622 -30622
  6. package/dist/vue2/component-documentation.json +1 -1
  7. package/dist/vue2/lib/message-input/message-input.cjs +1 -1
  8. package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
  9. package/dist/vue2/lib/message-input/message-input.js +29 -7
  10. package/dist/vue2/lib/message-input/message-input.js.map +1 -1
  11. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +1 -1
  12. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  13. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +73 -44
  14. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  15. package/dist/vue2/localization/de-DE.cjs +169 -0
  16. package/dist/vue2/localization/de-DE.cjs.map +1 -0
  17. package/dist/vue2/localization/de-DE.js +172 -0
  18. package/dist/vue2/localization/de-DE.js.map +1 -0
  19. package/dist/vue2/localization/es-LA.cjs +1 -1
  20. package/dist/vue2/localization/es-LA.cjs.map +1 -1
  21. package/dist/vue2/localization/es-LA.js +1 -1
  22. package/dist/vue2/localization/es-LA.js.map +1 -1
  23. package/dist/vue2/localization/fr-FR.cjs +169 -0
  24. package/dist/vue2/localization/fr-FR.cjs.map +1 -0
  25. package/dist/vue2/localization/fr-FR.js +172 -0
  26. package/dist/vue2/localization/fr-FR.js.map +1 -0
  27. package/dist/vue2/localization/index.cjs +1 -1321
  28. package/dist/vue2/localization/index.cjs.map +1 -1
  29. package/dist/vue2/localization/index.js +46 -1357
  30. package/dist/vue2/localization/index.js.map +1 -1
  31. package/dist/vue2/localization/it-IT.cjs +169 -0
  32. package/dist/vue2/localization/it-IT.cjs.map +1 -0
  33. package/dist/vue2/localization/it-IT.js +172 -0
  34. package/dist/vue2/localization/it-IT.js.map +1 -0
  35. package/dist/vue2/localization/ja-JP.cjs +148 -0
  36. package/dist/vue2/localization/ja-JP.cjs.map +1 -0
  37. package/dist/vue2/localization/ja-JP.js +151 -0
  38. package/dist/vue2/localization/ja-JP.js.map +1 -0
  39. package/dist/vue2/localization/nl-NL.cjs +169 -0
  40. package/dist/vue2/localization/nl-NL.cjs.map +1 -0
  41. package/dist/vue2/localization/nl-NL.js +172 -0
  42. package/dist/vue2/localization/nl-NL.js.map +1 -0
  43. package/dist/vue2/localization/pt-BR.cjs +169 -0
  44. package/dist/vue2/localization/pt-BR.cjs.map +1 -0
  45. package/dist/vue2/localization/pt-BR.js +172 -0
  46. package/dist/vue2/localization/pt-BR.js.map +1 -0
  47. package/dist/vue2/localization/ru-RU.cjs +179 -0
  48. package/dist/vue2/localization/ru-RU.cjs.map +1 -0
  49. package/dist/vue2/localization/ru-RU.js +182 -0
  50. package/dist/vue2/localization/ru-RU.js.map +1 -0
  51. package/dist/vue2/localization/zh-CN.cjs +164 -0
  52. package/dist/vue2/localization/zh-CN.cjs.map +1 -0
  53. package/dist/vue2/localization/zh-CN.js +167 -0
  54. package/dist/vue2/localization/zh-CN.js.map +1 -0
  55. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
  56. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
  57. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  58. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  59. package/dist/vue3/component-documentation.json +1 -1
  60. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  61. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  62. package/dist/vue3/lib/message-input/message-input.js +88 -67
  63. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  64. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +1 -1
  65. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  66. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +48 -19
  67. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  68. package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
  69. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -1
  70. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  71. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  72. package/package.json +3 -3
@@ -3,10 +3,10 @@ import { removeClassStyleAttrs as z, addClassStyleAttrs as N, returnFirstEl as U
3
3
  import { Node as H, mergeAttributes as W } from "@tiptap/core";
4
4
  import { NodeViewWrapper as K, nodeViewProps as X, VueNodeViewRenderer as Q } from "../../node_modules/@tiptap/vue-3.js";
5
5
  import { DtIconClose as G, DtIconVideo as Y, DtIconImage as J, DtIconVerySatisfied as Z, DtIconSatisfied as $, DtIconSend as ee } from "@dialpad/dialtone-icons/vue3";
6
- import { resolveComponent as l, openBlock as r, createBlock as d, withCtx as a, createVNode as c, createElementVNode as u, createTextVNode as te, toDisplayString as T, resolveDirective as I, createElementBlock as v, mergeProps as _, withModifiers as C, renderSlot as g, createCommentVNode as h, withDirectives as f, normalizeStyle as ie, vShow as oe, normalizeClass as ne, createSlots as le } from "vue";
6
+ import { resolveComponent as s, openBlock as r, createBlock as u, withCtx as a, createVNode as c, createElementVNode as m, createTextVNode as te, toDisplayString as T, resolveDirective as O, createElementBlock as w, mergeProps as _, withModifiers as I, renderSlot as g, createCommentVNode as h, withDirectives as f, normalizeStyle as ie, vShow as oe, normalizeClass as ne, createSlots as le } from "vue";
7
7
  import { _ as B } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  import se from "../item-layout/item-layout.js";
9
- import j from "../button/button.js";
9
+ import P from "../button/button.js";
10
10
  import ae from "./message-input-topbar.js";
11
11
  import re from "./message-input-link.js";
12
12
  import { EDITOR_SUPPORTED_LINK_PROTOCOLS as ce, EDITOR_DEFAULT_LINK_PREFIX as de } from "../editor/editor-constants.js";
@@ -23,32 +23,34 @@ const _e = {
23
23
  NodeViewWrapper: K,
24
24
  DtItemLayout: se,
25
25
  DtIconClose: G,
26
- DtButton: j,
26
+ DtButton: P,
27
27
  DtIconVideo: Y
28
28
  },
29
29
  props: X,
30
30
  emits: ["meeting-pill-close"],
31
31
  methods: {
32
32
  close(t) {
33
- this.$parent.$emit("meeting-pill-close", t);
33
+ var i, d, n;
34
+ const e = (n = (d = (i = this.editor) == null ? void 0 : i.storage) == null ? void 0 : d.meetingPill) == null ? void 0 : n.onClose;
35
+ e && typeof e == "function" && e(t);
34
36
  }
35
37
  }
36
- }, Te = { class: "d-recipe-message-input-meeting-pill__icon" }, Le = { class: "d-recipe-message-input-meeting-pill__close" };
37
- function Se(t, e, i, m, n, o) {
38
- const L = l("dt-icon-video"), S = l("dt-icon-close"), x = l("dt-button"), y = l("dt-item-layout"), b = l("node-view-wrapper");
39
- return r(), d(b, { class: "d-recipe-message-input-meeting-pill" }, {
38
+ }, Te = { class: "d-recipe-message-input-meeting-pill__icon" }, Se = { class: "d-recipe-message-input-meeting-pill__close" };
39
+ function Le(t, e, i, d, n, o) {
40
+ const S = s("dt-icon-video"), L = s("dt-icon-close"), x = s("dt-button"), y = s("dt-item-layout"), b = s("node-view-wrapper");
41
+ return r(), u(b, { class: "d-recipe-message-input-meeting-pill" }, {
40
42
  default: a(() => [
41
43
  c(y, {
42
44
  class: "d-recipe-message-input-meeting-pill__layout",
43
45
  unstyled: ""
44
46
  }, {
45
47
  left: a(() => [
46
- u("div", Te, [
47
- c(L, { size: "400" })
48
+ m("div", Te, [
49
+ c(S, { size: "400" })
48
50
  ])
49
51
  ]),
50
52
  right: a(() => [
51
- u("div", Le, [
53
+ m("div", Se, [
52
54
  c(x, {
53
55
  circle: "",
54
56
  "aria-label": t.node.attrs["close-button-aria-label"],
@@ -57,7 +59,7 @@ function Se(t, e, i, m, n, o) {
57
59
  onClick: o.close
58
60
  }, {
59
61
  icon: a(() => [
60
- c(S, { size: "300" })
62
+ c(L, { size: "300" })
61
63
  ]),
62
64
  _: 1
63
65
  }, 8, ["aria-label", "onClick"])
@@ -72,10 +74,22 @@ function Se(t, e, i, m, n, o) {
72
74
  _: 1
73
75
  });
74
76
  }
75
- const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
77
+ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
78
+ name: "meetingPill",
76
79
  atom: !0,
77
80
  group: "inline",
78
81
  inline: !0,
82
+ addOptions() {
83
+ return {
84
+ onClose: () => {
85
+ }
86
+ };
87
+ },
88
+ addStorage() {
89
+ return {
90
+ onClose: this.options.onClose
91
+ };
92
+ },
79
93
  addNodeView() {
80
94
  return Q(xe);
81
95
  },
@@ -100,11 +114,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
100
114
  renderHTML({ HTMLAttributes: t }) {
101
115
  return ["meeting-pill", W(t)];
102
116
  }
103
- }), we = {
117
+ }), Ce = {
104
118
  compatConfig: { MODE: 3 },
105
119
  name: "DtRecipeMessageInput",
106
120
  components: {
107
- DtButton: j,
121
+ DtButton: P,
108
122
  DtEmojiPicker: ue,
109
123
  DtInput: me,
110
124
  DtPopover: pe,
@@ -554,7 +568,13 @@ const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
554
568
  // If an ordered list is nested within an unordered list, we only want to show the currently selected list as
555
569
  // active. This function performs the logic to determine the farthest active node from the root.
556
570
  lastActiveNodes: q,
557
- additionalExtensions: [ye],
571
+ additionalExtensions: [
572
+ ye.configure({
573
+ onClose: (t) => {
574
+ this.$emit("meeting-pill-close", t);
575
+ }
576
+ })
577
+ ],
558
578
  internalInputValue: this.modelValue,
559
579
  // internal input content
560
580
  imagePickerFocus: !1,
@@ -619,8 +639,8 @@ const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
619
639
  },
620
640
  // eslint-disable-next-line complexity
621
641
  handleTopbarClick(t) {
622
- var m;
623
- const e = (m = this.$refs.richTextEditor) == null ? void 0 : m.editor, i = {
642
+ var d;
643
+ const e = (d = this.$refs.richTextEditor) == null ? void 0 : d.editor, i = {
624
644
  bold: () => e == null ? void 0 : e.chain().focus().toggleBold().run(),
625
645
  italic: () => e == null ? void 0 : e.chain().focus().toggleItalic().run(),
626
646
  strike: () => e == null ? void 0 : e.chain().focus().toggleStrike().run(),
@@ -634,8 +654,8 @@ const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
634
654
  },
635
655
  // Checks if the node currently selected is active ex/ the bold button is active if the selected text is bold
636
656
  isSelectionActive(t) {
637
- var e, i, m, n;
638
- return ["bulletList", "orderedList"].includes(t) ? this.lastActiveNodes((i = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : i.state, [{ type: "bulletList" }, { type: "orderedList" }]).includes(t) && this.isFocused : ((n = (m = this.$refs.richTextEditor) == null ? void 0 : m.editor) == null ? void 0 : n.isActive(t)) && this.isFocused;
657
+ var e, i, d, n;
658
+ return ["bulletList", "orderedList"].includes(t) ? this.lastActiveNodes((i = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : i.state, [{ type: "bulletList" }, { type: "orderedList" }]).includes(t) && this.isFocused : ((n = (d = this.$refs.richTextEditor) == null ? void 0 : d.editor) == null ? void 0 : n.isActive(t)) && this.isFocused;
639
659
  },
640
660
  initLinkDialog() {
641
661
  var t, e, i;
@@ -705,22 +725,22 @@ const xe = /* @__PURE__ */ B(_e, [["render", Se]]), ye = H.create({
705
725
  this.text = t, this.$emit("text-input", t);
706
726
  }
707
727
  }
708
- }, ve = { class: "d-recipe-message-input__bottom-section" }, Oe = { class: "d-recipe-message-input__bottom-section-left" }, Ie = { class: "d-recipe-message-input__bottom-section-right" }, Ce = { class: "d-recipe-message-input__sms-count" }, Be = { key: 0 };
709
- function je(t, e, i, m, n, o) {
710
- const L = l("dt-recipe-message-input-link"), S = l("dt-recipe-message-input-topbar"), x = l("dt-rich-text-editor"), y = l("dt-icon-image"), b = l("dt-button"), P = l("dt-input"), D = l("dt-icon-very-satisfied"), E = l("dt-icon-satisfied"), M = l("dt-emoji-picker"), V = l("dt-popover"), O = l("dt-stack"), F = l("dt-tooltip"), A = l("dt-icon-send"), R = I("dt-scrollbar"), w = I("dt-tooltip");
711
- return r(), v("div", _({
728
+ }, we = { class: "d-recipe-message-input__bottom-section" }, ve = { class: "d-recipe-message-input__bottom-section-left" }, Oe = { class: "d-recipe-message-input__bottom-section-right" }, Ie = { class: "d-recipe-message-input__sms-count" }, Be = { key: 0 };
729
+ function Pe(t, e, i, d, n, o) {
730
+ const S = s("dt-recipe-message-input-link"), L = s("dt-recipe-message-input-topbar"), x = s("dt-rich-text-editor"), y = s("dt-icon-image"), b = s("dt-button"), j = s("dt-input"), D = s("dt-icon-very-satisfied"), E = s("dt-icon-satisfied"), M = s("dt-emoji-picker"), V = s("dt-popover"), v = s("dt-stack"), F = s("dt-tooltip"), A = s("dt-icon-send"), R = O("dt-scrollbar"), C = O("dt-tooltip");
731
+ return r(), w("div", _({
712
732
  "data-qa": "dt-recipe-message-input",
713
733
  role: "presentation",
714
734
  class: "d-recipe-message-input"
715
735
  }, o.addClassStyleAttrs(t.$attrs), {
716
- onDragover: e[12] || (e[12] = C(() => {
736
+ onDragover: e[13] || (e[13] = I(() => {
717
737
  }, ["prevent"])),
718
- onDrop: e[13] || (e[13] = C((...s) => o.onDrop && o.onDrop(...s), ["prevent"])),
719
- onPaste: e[14] || (e[14] = (...s) => o.onPaste && o.onPaste(...s)),
720
- onMousedown: e[15] || (e[15] = (...s) => o.onMousedown && o.onMousedown(...s))
738
+ onDrop: e[14] || (e[14] = I((...l) => o.onDrop && o.onDrop(...l), ["prevent"])),
739
+ onPaste: e[15] || (e[15] = (...l) => o.onPaste && o.onPaste(...l)),
740
+ onMousedown: e[16] || (e[16] = (...l) => o.onMousedown && o.onMousedown(...l))
721
741
  }), [
722
742
  g(t.$slots, "top"),
723
- i.richText ? (r(), d(S, {
743
+ i.richText ? (r(), u(L, {
724
744
  key: n.selectedText,
725
745
  "bold-button-options": i.boldButtonOptions,
726
746
  "italic-button-options": i.italicButtonOptions,
@@ -734,7 +754,7 @@ function je(t, e, i, m, n, o) {
734
754
  onClick: o.handleTopbarClick
735
755
  }, {
736
756
  link: a(() => [
737
- c(L, {
757
+ c(S, {
738
758
  ref: "link",
739
759
  open: n.linkDialogOpen,
740
760
  "link-button-options": i.linkButtonOptions,
@@ -746,14 +766,14 @@ function je(t, e, i, m, n, o) {
746
766
  ]),
747
767
  _: 1
748
768
  }, 8, ["bold-button-options", "italic-button-options", "strike-button-options", "bullet-list-button-options", "ordered-list-button-options", "block-quote-button-options", "code-button-options", "code-block-button-options", "is-selection-active", "onClick"])) : h("", !0),
749
- f((r(), v("div", {
769
+ f((r(), w("div", {
750
770
  class: "d-recipe-message-input__editor-wrapper",
751
771
  style: ie({ "max-height": i.maxHeight })
752
772
  }, [
753
773
  c(x, _({
754
774
  ref: "richTextEditor",
755
775
  modelValue: n.internalInputValue,
756
- "onUpdate:modelValue": e[0] || (e[0] = (s) => n.internalInputValue = s),
776
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => n.internalInputValue = l),
757
777
  "allow-blockquote": i.richText,
758
778
  "allow-bold": i.richText,
759
779
  "allow-bullet-list": i.richText,
@@ -780,25 +800,26 @@ function je(t, e, i, m, n, o) {
780
800
  onInput: o.onInput,
781
801
  onTextInput: o.onTextInput,
782
802
  onEnter: o.onSend,
783
- onSelected: e[1] || (e[1] = (s) => n.selectedText = s),
803
+ onSelected: e[1] || (e[1] = (l) => n.selectedText = l),
804
+ onSelectedCommand: e[2] || (e[2] = (l) => t.$emit("selected-command", l)),
784
805
  onEditLink: o.initLinkDialog,
785
- onFocus: e[2] || (e[2] = (s) => n.isFocused = !0),
786
- onBlur: e[3] || (e[3] = (s) => n.isFocused = !1)
806
+ onFocus: e[3] || (e[3] = (l) => n.isFocused = !0),
807
+ onBlur: e[4] || (e[4] = (l) => n.isFocused = !1)
787
808
  }), null, 16, ["modelValue", "allow-blockquote", "allow-bold", "allow-bullet-list", "allow-code", "allow-codeblock", "allow-italic", "allow-strike", "allow-underline", "paste-rich-text", "editable", "input-aria-label", "input-class", "output-format", "auto-focus", "link", "placeholder", "prevent-typing", "mention-suggestion", "channel-suggestion", "slash-command-suggestion", "additional-extensions", "hide-link-bubble-menu", "onInput", "onTextInput", "onEnter", "onEditLink"])
788
809
  ], 4)), [
789
810
  [R]
790
811
  ]),
791
812
  g(t.$slots, "middle"),
792
- u("section", ve, [
793
- u("div", Oe, [
794
- c(O, {
813
+ m("section", we, [
814
+ m("div", ve, [
815
+ c(v, {
795
816
  gap: "200",
796
817
  direction: "row"
797
818
  }, {
798
819
  default: a(() => {
799
- var s;
820
+ var l;
800
821
  return [
801
- i.showImagePicker ? f((r(), d(b, {
822
+ i.showImagePicker ? f((r(), u(b, {
802
823
  key: 0,
803
824
  "data-qa": "dt-recipe-message-input-image-btn",
804
825
  size: "sm",
@@ -807,19 +828,19 @@ function je(t, e, i, m, n, o) {
807
828
  importance: "clear",
808
829
  "aria-label": i.showImagePicker.ariaLabel,
809
830
  onClick: o.onSelectImage,
810
- onMouseenter: e[4] || (e[4] = (p) => n.imagePickerFocus = !0),
811
- onMouseleave: e[5] || (e[5] = (p) => n.imagePickerFocus = !1),
812
- onFocus: e[6] || (e[6] = (p) => n.imagePickerFocus = !0),
813
- onBlur: e[7] || (e[7] = (p) => n.imagePickerFocus = !1)
831
+ onMouseenter: e[5] || (e[5] = (p) => n.imagePickerFocus = !0),
832
+ onMouseleave: e[6] || (e[6] = (p) => n.imagePickerFocus = !1),
833
+ onFocus: e[7] || (e[7] = (p) => n.imagePickerFocus = !0),
834
+ onBlur: e[8] || (e[8] = (p) => n.imagePickerFocus = !1)
814
835
  }, {
815
836
  icon: a(() => [
816
837
  c(y, { size: "300" })
817
838
  ]),
818
839
  _: 1
819
840
  }, 8, ["aria-label", "onClick"])), [
820
- [w, (s = i.showImagePicker) == null ? void 0 : s.tooltipLabel, "top-start"]
841
+ [C, (l = i.showImagePicker) == null ? void 0 : l.tooltipLabel, "top-start"]
821
842
  ]) : h("", !0),
822
- c(P, {
843
+ c(j, {
823
844
  ref: "messageInputImageUpload",
824
845
  "data-qa": "dt-recipe-message-input-image-input",
825
846
  accept: "image/*, video/*",
@@ -829,7 +850,7 @@ function je(t, e, i, m, n, o) {
829
850
  hidden: "",
830
851
  onInput: o.onImageUpload
831
852
  }, null, 8, ["onInput"]),
832
- i.showEmojiPicker ? (r(), d(V, {
853
+ i.showEmojiPicker ? (r(), u(V, {
833
854
  key: 1,
834
855
  "open.sync": "emojiPickerOpened",
835
856
  "data-qa": "dt-recipe-message-input-emoji-picker-popover",
@@ -837,7 +858,7 @@ function je(t, e, i, m, n, o) {
837
858
  padding: "none"
838
859
  }, {
839
860
  anchor: a(({ attrs: p }) => [
840
- f((r(), d(b, _(p, {
861
+ f((r(), u(b, _(p, {
841
862
  "data-qa": "dt-recipe-message-input-emoji-picker-btn",
842
863
  size: "sm",
843
864
  class: "d-recipe-message-input__button",
@@ -845,23 +866,23 @@ function je(t, e, i, m, n, o) {
845
866
  importance: "clear",
846
867
  "aria-label": i.emojiButtonAriaLabel,
847
868
  onClick: o.toggleEmojiPicker,
848
- onMouseenter: e[8] || (e[8] = (k) => n.emojiPickerFocus = !0),
849
- onMouseleave: e[9] || (e[9] = (k) => n.emojiPickerFocus = !1),
850
- onFocus: e[10] || (e[10] = (k) => n.emojiPickerFocus = !0),
851
- onBlur: e[11] || (e[11] = (k) => n.emojiPickerFocus = !1)
869
+ onMouseenter: e[9] || (e[9] = (k) => n.emojiPickerFocus = !0),
870
+ onMouseleave: e[10] || (e[10] = (k) => n.emojiPickerFocus = !1),
871
+ onFocus: e[11] || (e[11] = (k) => n.emojiPickerFocus = !0),
872
+ onBlur: e[12] || (e[12] = (k) => n.emojiPickerFocus = !1)
852
873
  }), {
853
874
  icon: a(() => [
854
- o.emojiPickerHovered ? (r(), d(D, {
875
+ o.emojiPickerHovered ? (r(), u(D, {
855
876
  key: 0,
856
877
  size: "300"
857
- })) : (r(), d(E, {
878
+ })) : (r(), u(E, {
858
879
  key: 1,
859
880
  size: "300"
860
881
  }))
861
882
  ]),
862
883
  _: 2
863
884
  }, 1040, ["aria-label", "onClick"])), [
864
- [w, i.emojiTooltipMessage]
885
+ [C, i.emojiTooltipMessage]
865
886
  ])
866
887
  ]),
867
888
  content: a(({ close: p }) => [
@@ -879,16 +900,16 @@ function je(t, e, i, m, n, o) {
879
900
  _: 3
880
901
  })
881
902
  ]),
882
- u("div", Ie, [
883
- c(O, {
903
+ m("div", Oe, [
904
+ c(v, {
884
905
  direction: "row",
885
906
  gap: "300"
886
907
  }, {
887
908
  default: a(() => [
888
- u("div", Ce, [
909
+ m("div", Ie, [
889
910
  g(t.$slots, "smsCount")
890
911
  ]),
891
- i.showCharacterLimit ? (r(), d(F, {
912
+ i.showCharacterLimit ? (r(), u(F, {
892
913
  key: 0,
893
914
  class: "d-recipe-message-input__remaining-char-tooltip",
894
915
  placement: "top-end",
@@ -897,7 +918,7 @@ function je(t, e, i, m, n, o) {
897
918
  offset: [10, 8]
898
919
  }, {
899
920
  anchor: a(() => [
900
- f(u("p", {
921
+ f(m("p", {
901
922
  class: "d-recipe-message-input__remaining-char",
902
923
  "data-qa": "dt-recipe-message-input-character-limit"
903
924
  }, T(i.showCharacterLimit.count - o.inputLength), 513), [
@@ -906,7 +927,7 @@ function je(t, e, i, m, n, o) {
906
927
  ]),
907
928
  _: 1
908
929
  }, 8, ["enabled", "message"])) : h("", !0),
909
- i.showCancel ? (r(), d(b, {
930
+ i.showCancel ? (r(), u(b, {
910
931
  key: 1,
911
932
  "data-qa": "dt-recipe-message-input-cancel-button",
912
933
  class: "d-recipe-message-input__button d-recipe-message-input__cancel-button",
@@ -917,14 +938,14 @@ function je(t, e, i, m, n, o) {
917
938
  onClick: o.onCancel
918
939
  }, {
919
940
  default: a(() => [
920
- u("p", null, T(i.showCancel.text), 1)
941
+ m("p", null, T(i.showCancel.text), 1)
921
942
  ]),
922
943
  _: 1
923
944
  }, 8, ["aria-label", "onClick"])) : h("", !0),
924
945
  g(t.$slots, "sendButton", {}, () => {
925
- var s;
946
+ var l;
926
947
  return [
927
- i.showSend ? f((r(), d(b, {
948
+ i.showSend ? f((r(), u(b, {
928
949
  key: 0,
929
950
  "data-qa": "dt-recipe-message-input-send-btn",
930
951
  size: "sm",
@@ -942,7 +963,7 @@ function je(t, e, i, m, n, o) {
942
963
  onClick: o.onSend
943
964
  }, le({
944
965
  default: a(() => [
945
- i.showSend.text ? (r(), v("p", Be, T(i.showSend.text), 1)) : h("", !0)
966
+ i.showSend.text ? (r(), w("p", Be, T(i.showSend.text), 1)) : h("", !0)
946
967
  ]),
947
968
  _: 2
948
969
  }, [
@@ -956,7 +977,7 @@ function je(t, e, i, m, n, o) {
956
977
  key: "0"
957
978
  } : void 0
958
979
  ]), 1032, ["class", "aria-label", "aria-disabled", "onClick"])), [
959
- [w, (s = i.showSend) == null ? void 0 : s.tooltipLabel, "top-end"]
980
+ [C, (l = i.showSend) == null ? void 0 : l.tooltipLabel, "top-end"]
960
981
  ]) : h("", !0)
961
982
  ];
962
983
  })
@@ -967,7 +988,7 @@ function je(t, e, i, m, n, o) {
967
988
  ])
968
989
  ], 16);
969
990
  }
970
- const Je = /* @__PURE__ */ B(we, [["render", je]]);
991
+ const Je = /* @__PURE__ */ B(Ce, [["render", Pe]]);
971
992
  export {
972
993
  Je as default
973
994
  };