@dialpad/dialtone 9.126.1 → 9.126.3
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/css/dialtone-default-theme.css +1 -1
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +1 -1
- package/dist/css/dialtone.min.css +1 -1
- package/dist/tokens/doc.json +8558 -8558
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input.js +29 -7
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +73 -44
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/select-menu/select-menu-validators.cjs +1 -1
- package/dist/vue2/lib/select-menu/select-menu-validators.cjs.map +1 -1
- package/dist/vue2/lib/select-menu/select-menu-validators.js +2 -2
- package/dist/vue2/lib/select-menu/select-menu-validators.js.map +1 -1
- package/dist/vue2/lib/select-menu/select-menu.cjs.map +1 -1
- package/dist/vue2/lib/select-menu/select-menu.js +1 -2
- package/dist/vue2/lib/select-menu/select-menu.js.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/select_menu/select_menu_validators.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input.js +88 -67
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +48 -19
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/select-menu/select-menu-validators.cjs +1 -1
- package/dist/vue3/lib/select-menu/select-menu-validators.cjs.map +1 -1
- package/dist/vue3/lib/select-menu/select-menu-validators.js +2 -2
- package/dist/vue3/lib/select-menu/select-menu-validators.js.map +1 -1
- package/dist/vue3/lib/select-menu/select-menu.cjs.map +1 -1
- package/dist/vue3/lib/select-menu/select-menu.js +1 -2
- package/dist/vue3/lib/select-menu/select-menu.js.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/select_menu/select_menu.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/select_menu/select_menu_validators.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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:
|
|
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
|
-
|
|
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" },
|
|
37
|
-
function
|
|
38
|
-
const
|
|
39
|
-
return r(),
|
|
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
|
-
|
|
47
|
-
c(
|
|
48
|
+
m("div", Te, [
|
|
49
|
+
c(S, { size: "400" })
|
|
48
50
|
])
|
|
49
51
|
]),
|
|
50
52
|
right: a(() => [
|
|
51
|
-
|
|
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(
|
|
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",
|
|
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
|
-
}),
|
|
117
|
+
}), Ce = {
|
|
104
118
|
compatConfig: { MODE: 3 },
|
|
105
119
|
name: "DtRecipeMessageInput",
|
|
106
120
|
components: {
|
|
107
|
-
DtButton:
|
|
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: [
|
|
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
|
|
623
|
-
const e = (
|
|
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,
|
|
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 = (
|
|
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
|
-
},
|
|
709
|
-
function
|
|
710
|
-
const
|
|
711
|
-
return r(),
|
|
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[
|
|
736
|
+
onDragover: e[13] || (e[13] = I(() => {
|
|
717
737
|
}, ["prevent"])),
|
|
718
|
-
onDrop: e[
|
|
719
|
-
onPaste: e[
|
|
720
|
-
onMousedown: e[
|
|
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(),
|
|
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(
|
|
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(),
|
|
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] = (
|
|
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] = (
|
|
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[
|
|
786
|
-
onBlur: e[
|
|
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
|
-
|
|
793
|
-
|
|
794
|
-
c(
|
|
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
|
|
820
|
+
var l;
|
|
800
821
|
return [
|
|
801
|
-
i.showImagePicker ? f((r(),
|
|
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[
|
|
811
|
-
onMouseleave: e[
|
|
812
|
-
onFocus: e[
|
|
813
|
-
onBlur: e[
|
|
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
|
-
[
|
|
841
|
+
[C, (l = i.showImagePicker) == null ? void 0 : l.tooltipLabel, "top-start"]
|
|
821
842
|
]) : h("", !0),
|
|
822
|
-
c(
|
|
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(),
|
|
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(),
|
|
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[
|
|
849
|
-
onMouseleave: e[
|
|
850
|
-
onFocus: e[
|
|
851
|
-
onBlur: e[
|
|
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(),
|
|
875
|
+
o.emojiPickerHovered ? (r(), u(D, {
|
|
855
876
|
key: 0,
|
|
856
877
|
size: "300"
|
|
857
|
-
})) : (r(),
|
|
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
|
-
[
|
|
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
|
-
|
|
883
|
-
c(
|
|
903
|
+
m("div", Oe, [
|
|
904
|
+
c(v, {
|
|
884
905
|
direction: "row",
|
|
885
906
|
gap: "300"
|
|
886
907
|
}, {
|
|
887
908
|
default: a(() => [
|
|
888
|
-
|
|
909
|
+
m("div", Ie, [
|
|
889
910
|
g(t.$slots, "smsCount")
|
|
890
911
|
]),
|
|
891
|
-
i.showCharacterLimit ? (r(),
|
|
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(
|
|
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(),
|
|
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
|
-
|
|
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
|
|
946
|
+
var l;
|
|
926
947
|
return [
|
|
927
|
-
i.showSend ? f((r(),
|
|
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(),
|
|
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
|
-
[
|
|
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(
|
|
991
|
+
const Je = /* @__PURE__ */ B(Ce, [["render", Pe]]);
|
|
971
992
|
export {
|
|
972
993
|
Je as default
|
|
973
994
|
};
|