@dialpad/dialtone-vue 3.184.2 → 3.185.1

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 (36) hide show
  1. package/dist/component-documentation.json +1 -1
  2. package/dist/dialtone-vue.cjs +1 -1
  3. package/dist/dialtone-vue.js +208 -206
  4. package/dist/dialtone-vue.js.map +1 -1
  5. package/dist/lib/list-item/list-item.cjs +1 -1
  6. package/dist/lib/list-item/list-item.cjs.map +1 -1
  7. package/dist/lib/list-item/list-item.js +35 -30
  8. package/dist/lib/list-item/list-item.js.map +1 -1
  9. package/dist/lib/loader/index.cjs +2 -0
  10. package/dist/lib/loader/index.cjs.map +1 -0
  11. package/dist/lib/loader/index.js +5 -0
  12. package/dist/lib/loader/index.js.map +1 -0
  13. package/dist/lib/loader/loader.cjs +2 -0
  14. package/dist/lib/loader/loader.cjs.map +1 -0
  15. package/dist/lib/loader/loader.js +48 -0
  16. package/dist/lib/loader/loader.js.map +1 -0
  17. package/dist/lib/message-input/message-input.cjs +1 -1
  18. package/dist/lib/message-input/message-input.cjs.map +1 -1
  19. package/dist/lib/message-input/message-input.js +90 -68
  20. package/dist/lib/message-input/message-input.js.map +1 -1
  21. package/dist/lib/rich-text-editor/rich-text-editor.cjs +8 -4
  22. package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  23. package/dist/lib/rich-text-editor/rich-text-editor.js +339 -244
  24. package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  25. package/dist/types/components/list_item/list_item.vue.d.ts +10 -2
  26. package/dist/types/components/loader/index.d.ts +2 -0
  27. package/dist/types/components/loader/index.d.ts.map +1 -0
  28. package/dist/types/components/loader/loader.vue.d.ts +26 -0
  29. package/dist/types/components/loader/loader.vue.d.ts.map +1 -0
  30. package/dist/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
  31. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +21 -1
  32. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  33. package/dist/types/components/toggle/toggle.vue.d.ts +1 -1
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  36. package/package.json +5 -5
@@ -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,
@@ -762,6 +782,7 @@ function je(t, e, i, m, n, o) {
762
782
  "allow-italic": i.richText,
763
783
  "allow-strike": i.richText,
764
784
  "allow-underline": i.richText,
785
+ "paste-rich-text": i.richText,
765
786
  editable: i.editable,
766
787
  "input-aria-label": i.inputAriaLabel,
767
788
  "input-class": i.inputClass,
@@ -779,25 +800,26 @@ function je(t, e, i, m, n, o) {
779
800
  onInput: o.onInput,
780
801
  onTextInput: o.onTextInput,
781
802
  onEnter: o.onSend,
782
- 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)),
783
805
  onEditLink: o.initLinkDialog,
784
- onFocus: e[2] || (e[2] = (s) => n.isFocused = !0),
785
- onBlur: e[3] || (e[3] = (s) => n.isFocused = !1)
786
- }), null, 16, ["modelValue", "allow-blockquote", "allow-bold", "allow-bullet-list", "allow-code", "allow-codeblock", "allow-italic", "allow-strike", "allow-underline", "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"])
806
+ onFocus: e[3] || (e[3] = (l) => n.isFocused = !0),
807
+ onBlur: e[4] || (e[4] = (l) => n.isFocused = !1)
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"])
787
809
  ], 4)), [
788
810
  [R]
789
811
  ]),
790
812
  g(t.$slots, "middle"),
791
- u("section", ve, [
792
- u("div", Oe, [
793
- c(O, {
813
+ m("section", we, [
814
+ m("div", ve, [
815
+ c(v, {
794
816
  gap: "200",
795
817
  direction: "row"
796
818
  }, {
797
819
  default: a(() => {
798
- var s;
820
+ var l;
799
821
  return [
800
- i.showImagePicker ? f((r(), d(b, {
822
+ i.showImagePicker ? f((r(), u(b, {
801
823
  key: 0,
802
824
  "data-qa": "dt-recipe-message-input-image-btn",
803
825
  size: "sm",
@@ -806,19 +828,19 @@ function je(t, e, i, m, n, o) {
806
828
  importance: "clear",
807
829
  "aria-label": i.showImagePicker.ariaLabel,
808
830
  onClick: o.onSelectImage,
809
- onMouseenter: e[4] || (e[4] = (p) => n.imagePickerFocus = !0),
810
- onMouseleave: e[5] || (e[5] = (p) => n.imagePickerFocus = !1),
811
- onFocus: e[6] || (e[6] = (p) => n.imagePickerFocus = !0),
812
- 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)
813
835
  }, {
814
836
  icon: a(() => [
815
837
  c(y, { size: "300" })
816
838
  ]),
817
839
  _: 1
818
840
  }, 8, ["aria-label", "onClick"])), [
819
- [w, (s = i.showImagePicker) == null ? void 0 : s.tooltipLabel, "top-start"]
841
+ [C, (l = i.showImagePicker) == null ? void 0 : l.tooltipLabel, "top-start"]
820
842
  ]) : h("", !0),
821
- c(P, {
843
+ c(j, {
822
844
  ref: "messageInputImageUpload",
823
845
  "data-qa": "dt-recipe-message-input-image-input",
824
846
  accept: "image/*, video/*",
@@ -828,7 +850,7 @@ function je(t, e, i, m, n, o) {
828
850
  hidden: "",
829
851
  onInput: o.onImageUpload
830
852
  }, null, 8, ["onInput"]),
831
- i.showEmojiPicker ? (r(), d(V, {
853
+ i.showEmojiPicker ? (r(), u(V, {
832
854
  key: 1,
833
855
  "open.sync": "emojiPickerOpened",
834
856
  "data-qa": "dt-recipe-message-input-emoji-picker-popover",
@@ -836,7 +858,7 @@ function je(t, e, i, m, n, o) {
836
858
  padding: "none"
837
859
  }, {
838
860
  anchor: a(({ attrs: p }) => [
839
- f((r(), d(b, _(p, {
861
+ f((r(), u(b, _(p, {
840
862
  "data-qa": "dt-recipe-message-input-emoji-picker-btn",
841
863
  size: "sm",
842
864
  class: "d-recipe-message-input__button",
@@ -844,23 +866,23 @@ function je(t, e, i, m, n, o) {
844
866
  importance: "clear",
845
867
  "aria-label": i.emojiButtonAriaLabel,
846
868
  onClick: o.toggleEmojiPicker,
847
- onMouseenter: e[8] || (e[8] = (k) => n.emojiPickerFocus = !0),
848
- onMouseleave: e[9] || (e[9] = (k) => n.emojiPickerFocus = !1),
849
- onFocus: e[10] || (e[10] = (k) => n.emojiPickerFocus = !0),
850
- 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)
851
873
  }), {
852
874
  icon: a(() => [
853
- o.emojiPickerHovered ? (r(), d(D, {
875
+ o.emojiPickerHovered ? (r(), u(D, {
854
876
  key: 0,
855
877
  size: "300"
856
- })) : (r(), d(E, {
878
+ })) : (r(), u(E, {
857
879
  key: 1,
858
880
  size: "300"
859
881
  }))
860
882
  ]),
861
883
  _: 2
862
884
  }, 1040, ["aria-label", "onClick"])), [
863
- [w, i.emojiTooltipMessage]
885
+ [C, i.emojiTooltipMessage]
864
886
  ])
865
887
  ]),
866
888
  content: a(({ close: p }) => [
@@ -878,16 +900,16 @@ function je(t, e, i, m, n, o) {
878
900
  _: 3
879
901
  })
880
902
  ]),
881
- u("div", Ie, [
882
- c(O, {
903
+ m("div", Oe, [
904
+ c(v, {
883
905
  direction: "row",
884
906
  gap: "300"
885
907
  }, {
886
908
  default: a(() => [
887
- u("div", Ce, [
909
+ m("div", Ie, [
888
910
  g(t.$slots, "smsCount")
889
911
  ]),
890
- i.showCharacterLimit ? (r(), d(F, {
912
+ i.showCharacterLimit ? (r(), u(F, {
891
913
  key: 0,
892
914
  class: "d-recipe-message-input__remaining-char-tooltip",
893
915
  placement: "top-end",
@@ -896,7 +918,7 @@ function je(t, e, i, m, n, o) {
896
918
  offset: [10, 8]
897
919
  }, {
898
920
  anchor: a(() => [
899
- f(u("p", {
921
+ f(m("p", {
900
922
  class: "d-recipe-message-input__remaining-char",
901
923
  "data-qa": "dt-recipe-message-input-character-limit"
902
924
  }, T(i.showCharacterLimit.count - o.inputLength), 513), [
@@ -905,7 +927,7 @@ function je(t, e, i, m, n, o) {
905
927
  ]),
906
928
  _: 1
907
929
  }, 8, ["enabled", "message"])) : h("", !0),
908
- i.showCancel ? (r(), d(b, {
930
+ i.showCancel ? (r(), u(b, {
909
931
  key: 1,
910
932
  "data-qa": "dt-recipe-message-input-cancel-button",
911
933
  class: "d-recipe-message-input__button d-recipe-message-input__cancel-button",
@@ -916,14 +938,14 @@ function je(t, e, i, m, n, o) {
916
938
  onClick: o.onCancel
917
939
  }, {
918
940
  default: a(() => [
919
- u("p", null, T(i.showCancel.text), 1)
941
+ m("p", null, T(i.showCancel.text), 1)
920
942
  ]),
921
943
  _: 1
922
944
  }, 8, ["aria-label", "onClick"])) : h("", !0),
923
945
  g(t.$slots, "sendButton", {}, () => {
924
- var s;
946
+ var l;
925
947
  return [
926
- i.showSend ? f((r(), d(b, {
948
+ i.showSend ? f((r(), u(b, {
927
949
  key: 0,
928
950
  "data-qa": "dt-recipe-message-input-send-btn",
929
951
  size: "sm",
@@ -941,7 +963,7 @@ function je(t, e, i, m, n, o) {
941
963
  onClick: o.onSend
942
964
  }, le({
943
965
  default: a(() => [
944
- 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)
945
967
  ]),
946
968
  _: 2
947
969
  }, [
@@ -955,7 +977,7 @@ function je(t, e, i, m, n, o) {
955
977
  key: "0"
956
978
  } : void 0
957
979
  ]), 1032, ["class", "aria-label", "aria-disabled", "onClick"])), [
958
- [w, (s = i.showSend) == null ? void 0 : s.tooltipLabel, "top-end"]
980
+ [C, (l = i.showSend) == null ? void 0 : l.tooltipLabel, "top-end"]
959
981
  ]) : h("", !0)
960
982
  ];
961
983
  })
@@ -966,7 +988,7 @@ function je(t, e, i, m, n, o) {
966
988
  ])
967
989
  ], 16);
968
990
  }
969
- const Je = /* @__PURE__ */ B(we, [["render", je]]);
991
+ const Je = /* @__PURE__ */ B(Ce, [["render", Pe]]);
970
992
  export {
971
993
  Je as default
972
994
  };