@dialpad/dialtone 9.166.0 → 9.167.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.
- package/dist/css/dialtone-default-theme.css +88 -32
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +88 -32
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens-docs.json +1 -1
- package/dist/tokens/doc.json +110841 -110841
- package/dist/vue3/common/mixins/keyboard-list-navigation.cjs +1 -1
- package/dist/vue3/common/mixins/keyboard-list-navigation.cjs.map +1 -1
- package/dist/vue3/common/mixins/keyboard-list-navigation.js +7 -7
- package/dist/vue3/common/mixins/keyboard-list-navigation.js.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +244 -237
- package/dist/vue3/dialtone-vue.js.map +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +64 -117
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue3/lib/editor/editor.cjs +1 -1
- package/dist/vue3/lib/editor/editor.cjs.map +1 -1
- package/dist/vue3/lib/editor/editor.js +52 -36
- package/dist/vue3/lib/editor/editor.js.map +1 -1
- package/dist/vue3/lib/loader/loader.cjs +13 -1
- package/dist/vue3/lib/loader/loader.cjs.map +1 -1
- package/dist/vue3/lib/loader/loader.js +31 -20
- package/dist/vue3/lib/loader/loader.js.map +1 -1
- package/dist/vue3/lib/progress-circle/index.cjs +2 -0
- package/dist/vue3/lib/progress-circle/index.cjs.map +1 -0
- package/dist/vue3/lib/progress-circle/index.js +10 -0
- package/dist/vue3/lib/progress-circle/index.js.map +1 -0
- package/dist/vue3/lib/progress-circle/progress-circle-constants.cjs +2 -0
- package/dist/vue3/lib/progress-circle/progress-circle-constants.cjs.map +1 -0
- package/dist/vue3/lib/progress-circle/progress-circle-constants.js +25 -0
- package/dist/vue3/lib/progress-circle/progress-circle-constants.js.map +1 -0
- package/dist/vue3/lib/progress-circle/progress-circle.cjs +2 -0
- package/dist/vue3/lib/progress-circle/progress-circle.cjs.map +1 -0
- package/dist/vue3/lib/progress-circle/progress-circle.js +151 -0
- package/dist/vue3/lib/progress-circle/progress-circle.js.map +1 -0
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
- 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 +17 -3
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/tooltip/tooltip.cjs +2 -2
- package/dist/vue3/lib/tooltip/tooltip.cjs.map +1 -1
- package/dist/vue3/lib/tooltip/tooltip.js +28 -19
- package/dist/vue3/lib/tooltip/tooltip.js.map +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.cjs +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.cjs.map +1 -1
- package/dist/vue3/lib/tooltip-directive/tooltip.js +45 -45
- package/dist/vue3/lib/tooltip-directive/tooltip.js.map +1 -1
- package/dist/vue3/localization/es-LA.cjs +1 -1
- package/dist/vue3/localization/es-LA.cjs.map +1 -1
- package/dist/vue3/localization/es-LA.js +1 -1
- package/dist/vue3/localization/es-LA.js.map +1 -1
- package/dist/vue3/localization/it-IT.cjs +3 -3
- package/dist/vue3/localization/it-IT.cjs.map +1 -1
- package/dist/vue3/localization/it-IT.js +3 -3
- package/dist/vue3/localization/it-IT.js.map +1 -1
- package/dist/vue3/localization/nl-NL.cjs +2 -2
- package/dist/vue3/localization/nl-NL.cjs.map +1 -1
- package/dist/vue3/localization/nl-NL.js +2 -2
- package/dist/vue3/localization/nl-NL.js.map +1 -1
- package/dist/vue3/localization/ru-RU.cjs +1 -1
- package/dist/vue3/localization/ru-RU.cjs.map +1 -1
- package/dist/vue3/localization/ru-RU.js +1 -1
- package/dist/vue3/localization/ru-RU.js.map +1 -1
- package/dist/vue3/localization/zh-CN.cjs +1 -1
- package/dist/vue3/localization/zh-CN.cjs.map +1 -1
- package/dist/vue3/localization/zh-CN.js +1 -1
- package/dist/vue3/localization/zh-CN.js.map +1 -1
- package/dist/vue3/types/common/mixins/keyboard_list_navigation.d.ts.map +1 -1
- package/dist/vue3/types/components/loader/loader.vue.d.ts +1 -32
- package/dist/vue3/types/components/loader/loader.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/progress_circle/index.d.ts +3 -0
- package/dist/vue3/types/components/progress_circle/index.d.ts.map +1 -0
- package/dist/vue3/types/components/progress_circle/progress_circle.vue.d.ts +70 -0
- package/dist/vue3/types/components/progress_circle/progress_circle.vue.d.ts.map +1 -0
- package/dist/vue3/types/components/progress_circle/progress_circle_constants.d.ts +23 -0
- package/dist/vue3/types/components/progress_circle/progress_circle_constants.d.ts.map +1 -0
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +15 -0
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue3/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +44 -4
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +44 -4
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +15 -0
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +0 -30
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EDITOR_DEFAULT_FONT_COLOR as K, EDITOR_SUPPORTED_LINK_PROTOCOLS as
|
|
1
|
+
import { EDITOR_DEFAULT_FONT_COLOR as K, EDITOR_SUPPORTED_LINK_PROTOCOLS as kt, EDITOR_DEFAULT_LINK_PREFIX as _t } from "./editor-constants.js";
|
|
2
2
|
import { addClassStyleAttrs as It, removeClassStyleAttrs as Lt } from "../../common/utils/index.js";
|
|
3
3
|
import At from "./EditorToolbarButton.js";
|
|
4
4
|
import yt from "./EditorToolbarDropdownButton.js";
|
|
5
5
|
import Et from "./EditorToolbarPopoverButton.js";
|
|
6
6
|
import { DtIconStopFilled as H, DtIconFontSize as J, DtIconChevronDown as wt, DtIconBraces as Y, DtIconType as j, DtIconSearch as bt, DtIconImage as G, DtIconLink2 as X, DtIconCodeBlock as Z, DtIconQuote as W, DtIconAlignJustify as $, DtIconAlignRight as tt, DtIconAlignCenter as et, DtIconAlignLeft as ot, DtIconListOrdered as it, DtIconListBullet as nt, DtIconStrikethrough as rt, DtIconUnderline as lt, DtIconItalic as st, DtIconBold as at, DtIconQuickReply as ut } from "@dialpad/dialtone-icons/vue3";
|
|
7
7
|
import { DialtoneLocalization as Ct } from "../../localization/index.js";
|
|
8
|
-
import { resolveComponent as p, resolveDirective as Ot, openBlock as u, createElementBlock as T, mergeProps as B, createVNode as d, withCtx as a, Fragment as
|
|
8
|
+
import { resolveComponent as p, resolveDirective as Ot, openBlock as u, createElementBlock as T, mergeProps as B, createVNode as d, withCtx as a, Fragment as k, renderList as y, createBlock as f, createElementVNode as _, normalizeStyle as O, createTextVNode as w, toDisplayString as I, withDirectives as Rt, withKeys as b, withModifiers as L, resolveDynamicComponent as ct, createCommentVNode as D, normalizeClass as xt } from "vue";
|
|
9
9
|
import { _ as Ft } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import Dt from "../combobox/combobox.js";
|
|
11
11
|
import St from "../tooltip/tooltip.js";
|
|
@@ -297,6 +297,20 @@ const Ht = {
|
|
|
297
297
|
{ name: "Huge", value: "36px" }
|
|
298
298
|
]
|
|
299
299
|
},
|
|
300
|
+
/**
|
|
301
|
+
* Whether the input allows background color to be introduced in the text.
|
|
302
|
+
*/
|
|
303
|
+
allowBackgroundColor: {
|
|
304
|
+
type: Boolean,
|
|
305
|
+
default: !1
|
|
306
|
+
},
|
|
307
|
+
/**
|
|
308
|
+
* Whether the input allows line height to be introduced in the text.
|
|
309
|
+
*/
|
|
310
|
+
allowLineHeight: {
|
|
311
|
+
type: Boolean,
|
|
312
|
+
default: !1
|
|
313
|
+
},
|
|
300
314
|
/**
|
|
301
315
|
* Use div tags instead of paragraph tags to show text
|
|
302
316
|
*/
|
|
@@ -662,14 +676,14 @@ const Ht = {
|
|
|
662
676
|
(r = (l = (i = (o = (t = this.$refs.richTextEditor) == null ? void 0 : t.editor) == null ? void 0 : o.chain()) == null ? void 0 : i.focus()) == null ? void 0 : l.unsetLink()) == null || r.run(), this.closeLinkInput();
|
|
663
677
|
},
|
|
664
678
|
setLink(t) {
|
|
665
|
-
var r, e,
|
|
679
|
+
var r, e, g;
|
|
666
680
|
const o = (r = this.$refs.richTextEditor) == null ? void 0 : r.editor;
|
|
667
681
|
if (t == null || t.preventDefault(), t == null || t.stopPropagation(), !this.linkInput) {
|
|
668
682
|
this.removeLink();
|
|
669
683
|
return;
|
|
670
684
|
}
|
|
671
|
-
|
|
672
|
-
const l = (
|
|
685
|
+
kt.find((A) => A.test(this.linkInput)) || (this.linkInput = `${_t}${this.linkInput}`);
|
|
686
|
+
const l = (g = (e = o == null ? void 0 : o.view) == null ? void 0 : e.state) == null ? void 0 : g.selection;
|
|
673
687
|
l.anchor === l.head ? o.chain().focus().insertContentAt(
|
|
674
688
|
l.anchor,
|
|
675
689
|
`<a class="${this.linkOptions.class}" href=${this.linkInput}>${this.linkInput}</a>`
|
|
@@ -795,8 +809,8 @@ const Ht = {
|
|
|
795
809
|
o.$el.blur(), l.$el.focus();
|
|
796
810
|
},
|
|
797
811
|
onFontStyleSelect(t) {
|
|
798
|
-
var o, i, l, r, e,
|
|
799
|
-
t ? (i = (o = this.$refs.richTextEditor) == null ? void 0 : o.editor) == null || i.chain().focus().setFontFamily(t).run() : (r = (l = this.$refs.richTextEditor) == null ? void 0 : l.editor) == null || r.chain().focus().unsetFontFamily().run(), (
|
|
812
|
+
var o, i, l, r, e, g;
|
|
813
|
+
t ? (i = (o = this.$refs.richTextEditor) == null ? void 0 : o.editor) == null || i.chain().focus().setFontFamily(t).run() : (r = (l = this.$refs.richTextEditor) == null ? void 0 : l.editor) == null || r.chain().focus().unsetFontFamily().run(), (g = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null || g.commands.focus();
|
|
800
814
|
},
|
|
801
815
|
isCurrentFontFamily(t) {
|
|
802
816
|
var o, i, l, r, e;
|
|
@@ -831,7 +845,7 @@ const Ht = {
|
|
|
831
845
|
}
|
|
832
846
|
}, Jt = { class: "d-recipe-editor__popover-content" };
|
|
833
847
|
function Yt(t, o, i, l, r, e) {
|
|
834
|
-
const
|
|
848
|
+
const g = p("dt-icon-search"), A = p("dt-input"), R = p("dt-list-item"), S = p("dt-combobox"), v = p("editor-toolbar-popover-button"), dt = p("editor-toolbar-dropdown-button"), E = p("dt-button"), ht = p("dt-dropdown-separator"), ft = p("dt-list-item-group"), pt = p("editor-toolbar-button"), C = p("dt-stack"), Bt = p("dt-tooltip"), gt = p("dt-popover"), mt = p("dt-rich-text-editor"), Tt = Ot("dt-tooltip");
|
|
835
849
|
return u(), T("div", B({ class: "d-recipe-editor" }, e.addClassStyleAttrs(t.$attrs), {
|
|
836
850
|
"data-qa": "dt-recipe-editor",
|
|
837
851
|
role: "presentation",
|
|
@@ -843,15 +857,15 @@ function Yt(t, o, i, l, r, e) {
|
|
|
843
857
|
gap: "450"
|
|
844
858
|
}, {
|
|
845
859
|
default: a(() => [
|
|
846
|
-
(u(!0), T(
|
|
860
|
+
(u(!0), T(k, null, y(e.buttonGroups, (s) => (u(), f(C, {
|
|
847
861
|
key: s.key,
|
|
848
862
|
direction: "row",
|
|
849
863
|
gap: "300"
|
|
850
864
|
}, {
|
|
851
865
|
default: a(() => [
|
|
852
|
-
(u(!0), T(
|
|
866
|
+
(u(!0), T(k, null, y(s.buttonGroup, (n) => {
|
|
853
867
|
var x, N, U, V, z, Q, M, q;
|
|
854
|
-
return u(), T(
|
|
868
|
+
return u(), T(k, null, [
|
|
855
869
|
n.buttonType === "popover" && n.selector === "fontStyle" ? (u(), f(v, {
|
|
856
870
|
key: e.getButtonKey(s.key, n.selector),
|
|
857
871
|
ref_for: !0,
|
|
@@ -865,13 +879,13 @@ function Yt(t, o, i, l, r, e) {
|
|
|
865
879
|
onShiftFocusRight: e.shiftActionBarFocusRight,
|
|
866
880
|
onShiftFocusLeft: e.shiftActionBarFocusLeft
|
|
867
881
|
}, {
|
|
868
|
-
content: a(({ close:
|
|
882
|
+
content: a(({ close: m }) => [
|
|
869
883
|
d(S, {
|
|
870
884
|
label: "",
|
|
871
885
|
"label-visible": !1,
|
|
872
886
|
"show-list": !0,
|
|
873
887
|
"click-on-select": !0,
|
|
874
|
-
onEscape: (h) =>
|
|
888
|
+
onEscape: (h) => m()
|
|
875
889
|
}, {
|
|
876
890
|
input: a(({ inputProps: h }) => [
|
|
877
891
|
d(A, B({ ref_for: !0 }, h, {
|
|
@@ -884,21 +898,21 @@ function Yt(t, o, i, l, r, e) {
|
|
|
884
898
|
role: "menuitem"
|
|
885
899
|
}), {
|
|
886
900
|
leftIcon: a(({ iconSize: c }) => [
|
|
887
|
-
d(
|
|
901
|
+
d(g, { size: c }, null, 8, ["size"])
|
|
888
902
|
]),
|
|
889
903
|
_: 1
|
|
890
904
|
}, 16, ["modelValue", "placeholder"])
|
|
891
905
|
]),
|
|
892
906
|
list: a(({ listProps: h }) => [
|
|
893
|
-
|
|
894
|
-
(u(!0), T(
|
|
907
|
+
_("ul", B({ ref_for: !0 }, h), [
|
|
908
|
+
(u(!0), T(k, null, y(e.filteredFontStyles, (c) => (u(), f(R, {
|
|
895
909
|
key: c.name,
|
|
896
910
|
selected: e.isCurrentFontFamily(c.value),
|
|
897
911
|
style: O({ fontFamily: c.value || "inherit" }),
|
|
898
912
|
role: "option",
|
|
899
913
|
"navigation-type": "arrow-keys",
|
|
900
914
|
onClick: (P) => {
|
|
901
|
-
|
|
915
|
+
m(), e.onFontStyleSelect(c.value);
|
|
902
916
|
}
|
|
903
917
|
}, {
|
|
904
918
|
default: a(() => [
|
|
@@ -925,18 +939,18 @@ function Yt(t, o, i, l, r, e) {
|
|
|
925
939
|
onShiftFocusRight: e.shiftActionBarFocusRight,
|
|
926
940
|
onShiftFocusLeft: e.shiftActionBarFocusLeft
|
|
927
941
|
}, {
|
|
928
|
-
list: a(({ close:
|
|
929
|
-
(u(!0), T(
|
|
942
|
+
list: a(({ close: m }) => [
|
|
943
|
+
(u(!0), T(k, null, y(i.fontSizes, (h) => (u(), f(R, {
|
|
930
944
|
key: h.name,
|
|
931
945
|
selected: e.isCurrentFontSize(h.value),
|
|
932
946
|
role: "menuitem",
|
|
933
947
|
"navigation-type": "arrow-keys",
|
|
934
948
|
onClick: (c) => {
|
|
935
|
-
|
|
949
|
+
m(), e.onFontSizeSelect(h.value, c);
|
|
936
950
|
}
|
|
937
951
|
}, {
|
|
938
952
|
default: a(() => [
|
|
939
|
-
|
|
953
|
+
_("span", {
|
|
940
954
|
style: O({ fontSize: h.value })
|
|
941
955
|
}, I(h.name), 5)
|
|
942
956
|
]),
|
|
@@ -959,7 +973,7 @@ function Yt(t, o, i, l, r, e) {
|
|
|
959
973
|
b(L(e.shiftActionBarFocusRight, ["stop"]), ["right"]),
|
|
960
974
|
b(L(e.shiftActionBarFocusLeft, ["stop"]), ["left"])
|
|
961
975
|
],
|
|
962
|
-
onClick: (
|
|
976
|
+
onClick: (m) => n.onClick()
|
|
963
977
|
}, {
|
|
964
978
|
icon: a(() => [
|
|
965
979
|
(u(), f(ct(n.icon), {
|
|
@@ -994,13 +1008,13 @@ function Yt(t, o, i, l, r, e) {
|
|
|
994
1008
|
onShiftFocusRight: e.shiftActionBarFocusRight,
|
|
995
1009
|
onShiftFocusLeft: e.shiftActionBarFocusLeft
|
|
996
1010
|
}, {
|
|
997
|
-
content: a(({ close:
|
|
1011
|
+
content: a(({ close: m }) => [
|
|
998
1012
|
d(S, {
|
|
999
1013
|
label: "",
|
|
1000
1014
|
"label-visible": !1,
|
|
1001
1015
|
"show-list": !0,
|
|
1002
1016
|
"click-on-select": !0,
|
|
1003
|
-
onEscape: (h) =>
|
|
1017
|
+
onEscape: (h) => m()
|
|
1004
1018
|
}, {
|
|
1005
1019
|
input: a(({ inputProps: h }) => [
|
|
1006
1020
|
d(A, B({ ref_for: !0 }, h, {
|
|
@@ -1013,25 +1027,25 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1013
1027
|
role: "menuitem"
|
|
1014
1028
|
}), {
|
|
1015
1029
|
leftIcon: a(({ iconSize: c }) => [
|
|
1016
|
-
d(
|
|
1030
|
+
d(g, { size: c }, null, 8, ["size"])
|
|
1017
1031
|
]),
|
|
1018
1032
|
_: 1
|
|
1019
1033
|
}, 16, ["modelValue", "placeholder"])
|
|
1020
1034
|
]),
|
|
1021
1035
|
list: a(({ listProps: h }) => [
|
|
1022
|
-
|
|
1023
|
-
(u(!0), T(
|
|
1036
|
+
_("div", B({ ref_for: !0 }, h), [
|
|
1037
|
+
(u(!0), T(k, null, y(e.filteredCategories, (c, P) => (u(), f(ft, {
|
|
1024
1038
|
key: c.name,
|
|
1025
1039
|
heading: c.name,
|
|
1026
1040
|
"heading-class": "d-headline--sm-compact d-p8"
|
|
1027
1041
|
}, {
|
|
1028
1042
|
default: a(() => [
|
|
1029
|
-
(u(!0), T(
|
|
1043
|
+
(u(!0), T(k, null, y(e.getFilteredItemsForCategory(c), (F) => (u(), f(R, {
|
|
1030
1044
|
key: c.name + F.name,
|
|
1031
1045
|
role: "option",
|
|
1032
1046
|
"navigation-type": "arrow-keys",
|
|
1033
1047
|
onClick: (jt) => {
|
|
1034
|
-
e.insertVariable(c.name, F),
|
|
1048
|
+
e.insertVariable(c.name, F), m();
|
|
1035
1049
|
}
|
|
1036
1050
|
}, {
|
|
1037
1051
|
default: a(() => [
|
|
@@ -1065,7 +1079,7 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1065
1079
|
}, null, 8, ["is-active", "tooltip-message", "data-qa", "tabindex", "icon", "label", "on-click", "onShiftFocusRight", "onShiftFocusLeft"])) : D("", !0)
|
|
1066
1080
|
], 64);
|
|
1067
1081
|
}), 256)),
|
|
1068
|
-
o[8] || (o[8] =
|
|
1082
|
+
o[8] || (o[8] = _("div", { class: "d-recipe-editor__button-group-divider" }, null, -1))
|
|
1069
1083
|
]),
|
|
1070
1084
|
_: 2
|
|
1071
1085
|
}, 1024))), 128)),
|
|
@@ -1075,7 +1089,7 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1075
1089
|
gap: "300"
|
|
1076
1090
|
}, {
|
|
1077
1091
|
default: a(() => [
|
|
1078
|
-
d(
|
|
1092
|
+
d(gt, {
|
|
1079
1093
|
open: r.showLinkInput,
|
|
1080
1094
|
"show-close-button": !1,
|
|
1081
1095
|
"data-qa": "dt-recipe-editor-link-input-popover",
|
|
@@ -1122,8 +1136,8 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1122
1136
|
}, 8, ["message"]))
|
|
1123
1137
|
]),
|
|
1124
1138
|
content: a(() => [
|
|
1125
|
-
|
|
1126
|
-
|
|
1139
|
+
_("div", Jt, [
|
|
1140
|
+
_("span", null, I(e.showAddLinkButtonLabels.title), 1),
|
|
1127
1141
|
d(A, {
|
|
1128
1142
|
modelValue: r.linkInput,
|
|
1129
1143
|
"onUpdate:modelValue": o[4] || (o[4] = (s) => r.linkInput = s),
|
|
@@ -1190,11 +1204,11 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1190
1204
|
]),
|
|
1191
1205
|
_: 1
|
|
1192
1206
|
}),
|
|
1193
|
-
|
|
1207
|
+
_("div", {
|
|
1194
1208
|
style: O({ "max-height": i.maxHeight }),
|
|
1195
1209
|
class: xt(["d-recipe-editor__content", { "d-recipe-editor__content-image-resize": i.allowImageResize }])
|
|
1196
1210
|
}, [
|
|
1197
|
-
d(
|
|
1211
|
+
d(mt, B({
|
|
1198
1212
|
ref: "richTextEditor",
|
|
1199
1213
|
modelValue: r.internalInputValue,
|
|
1200
1214
|
"onUpdate:modelValue": o[5] || (o[5] = (s) => r.internalInputValue = s),
|
|
@@ -1204,6 +1218,8 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1204
1218
|
"allow-line-breaks": !0,
|
|
1205
1219
|
"allow-variable": !0,
|
|
1206
1220
|
"allow-font-size": i.showFontSizeButton,
|
|
1221
|
+
"allow-background-color": i.allowBackgroundColor,
|
|
1222
|
+
"allow-line-height": i.allowLineHeight,
|
|
1207
1223
|
"variable-items": e.flattenedVariableItems,
|
|
1208
1224
|
"hide-link-bubble-menu": !0,
|
|
1209
1225
|
"auto-focus": i.autoFocus,
|
|
@@ -1223,7 +1239,7 @@ function Yt(t, o, i, l, r, e) {
|
|
|
1223
1239
|
onFocus: e.onFocus,
|
|
1224
1240
|
onInput: o[6] || (o[6] = (s) => e.onInput(s)),
|
|
1225
1241
|
onSelected: e.onSelected
|
|
1226
|
-
}), null, 16, ["modelValue", "allow-font-size", "variable-items", "auto-focus", "editable", "input-aria-label", "input-class", "output-format", "placeholder", "use-div-tags", "allow-tables", "allow-image-resize", "onTextInput", "onBlur", "onFocus", "onSelected"])
|
|
1242
|
+
}), null, 16, ["modelValue", "allow-font-size", "allow-background-color", "allow-line-height", "variable-items", "auto-focus", "editable", "input-aria-label", "input-class", "output-format", "placeholder", "use-div-tags", "allow-tables", "allow-image-resize", "onTextInput", "onBlur", "onFocus", "onSelected"])
|
|
1227
1243
|
], 6)
|
|
1228
1244
|
], 16);
|
|
1229
1245
|
}
|