@dialpad/dialtone 9.127.0 → 9.127.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.
- package/dist/tokens/doc.json +18304 -18304
- package/dist/vue2/common/mixins/index.cjs +1 -1
- package/dist/vue2/common/mixins/index.js +2 -4
- package/dist/vue2/common/mixins/index.js.map +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +345 -347
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +16 -12
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +6 -6
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue2/lib/button/button.cjs +1 -1
- package/dist/vue2/lib/button/button.cjs.map +1 -1
- package/dist/vue2/lib/button/button.js +6 -6
- package/dist/vue2/lib/button/button.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +13 -13
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +9 -9
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/chip/chip.cjs +1 -1
- package/dist/vue2/lib/chip/chip.cjs.map +1 -1
- package/dist/vue2/lib/chip/chip.js +7 -7
- package/dist/vue2/lib/chip/chip.js.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +13 -13
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.js +19 -19
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue2/lib/datepicker/formatUtils.js.map +1 -1
- package/dist/vue2/lib/editor/editor.cjs +1 -1
- package/dist/vue2/lib/editor/editor.cjs.map +1 -1
- package/dist/vue2/lib/editor/editor.js +17 -17
- package/dist/vue2/lib/editor/editor.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +6 -6
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js +24 -20
- package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +8 -8
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row/general-row.js +17 -17
- package/dist/vue2/lib/general-row/general-row.js.map +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue2/lib/group-row/group-row.js +11 -7
- package/dist/vue2/lib/group-row/group-row.js.map +1 -1
- package/dist/vue2/lib/icon/icon.cjs +1 -1
- package/dist/vue2/lib/icon/icon.cjs.map +1 -1
- package/dist/vue2/lib/icon/icon.js +10 -6
- package/dist/vue2/lib/icon/icon.js.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.js +8 -7
- package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.js +17 -17
- package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue2/lib/loader/loader.cjs +1 -1
- package/dist/vue2/lib/loader/loader.cjs.map +1 -1
- package/dist/vue2/lib/loader/loader.js +12 -8
- package/dist/vue2/lib/loader/loader.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.js +15 -15
- package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.js +14 -10
- package/dist/vue2/lib/message-input/message-input-topbar.js.map +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 +14 -10
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/modal/modal.cjs +1 -1
- package/dist/vue2/lib/modal/modal.cjs.map +1 -1
- package/dist/vue2/lib/modal/modal.js +12 -11
- package/dist/vue2/lib/modal/modal.js.map +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue2/lib/notice/notice-action.js +10 -6
- package/dist/vue2/lib/notice/notice-action.js.map +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue2/lib/pagination/pagination.js +7 -7
- package/dist/vue2/lib/pagination/pagination.js.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.js +13 -9
- package/dist/vue2/lib/popover/popover-header-footer.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 +35 -35
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.js +15 -11
- package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue2/localization/en-US.cjs +1 -1
- package/dist/vue2/localization/en-US.cjs.map +1 -1
- package/dist/vue2/localization/en-US.js +1 -1
- package/dist/vue2/localization/en-US.js.map +1 -1
- package/dist/vue2/localization/index.cjs +1 -1
- package/dist/vue2/localization/index.cjs.map +1 -1
- package/dist/vue2/localization/index.js +59 -53
- package/dist/vue2/localization/index.js.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.js +14 -10
- package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue2/types/common/mixins/index.d.ts +0 -1
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +5 -8
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +3 -5
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/button/button.vue.d.ts +4 -6
- package/dist/vue2/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/chip/chip.vue.d.ts +6 -8
- package/dist/vue2/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts +1 -5
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +2 -4
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/loader/loader.vue.d.ts +5 -6
- package/dist/vue2/types/components/loader/loader.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts +2 -4
- package/dist/vue2/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts +5 -6
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts +4 -6
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +5 -6
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +5 -7
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +4 -6
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +4 -6
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -6
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -5
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +14 -16
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +6 -8
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +3 -5
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +17 -19
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts +8 -9
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/dist/vue3/lib/icon/icon.cjs +1 -1
- package/dist/vue3/lib/icon/icon.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon.js +4 -5
- package/dist/vue3/lib/icon/icon.js.map +1 -1
- package/dist/vue3/localization/en-US.cjs +1 -1
- package/dist/vue3/localization/en-US.cjs.map +1 -1
- package/dist/vue3/localization/en-US.js +1 -1
- package/dist/vue3/localization/en-US.js.map +1 -1
- package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -3
- package/package.json +5 -6
- package/dist/css/fonts/SeasonMix-Bold.woff2 +0 -0
- package/dist/css/fonts/SeasonMix-Regular.woff2 +0 -0
- package/dist/css/fonts/SeasonMix-SemiBold.woff2 +0 -0
- package/dist/css/js/dialtone_health_check/deprecated_icons.cjs +0 -105
- package/dist/css/js/dialtone_health_check/index.cjs +0 -82
- package/dist/css/js/dialtone_health_check/non_dialtone_properties.cjs +0 -44
- package/dist/css/js/dialtone_migration_helper/configs/box-shadows.mjs +0 -19
- package/dist/css/js/dialtone_migration_helper/configs/colors.mjs +0 -69
- package/dist/css/js/dialtone_migration_helper/configs/fonts.mjs +0 -49
- package/dist/css/js/dialtone_migration_helper/configs/size-and-space.mjs +0 -124
- package/dist/css/js/dialtone_migration_helper/helpers.mjs +0 -212
- package/dist/css/js/dialtone_migration_helper/index.mjs +0 -135
- package/dist/css/svg/spot/blank-space.svg +0 -1
- package/dist/css/svg/spot/browser-list-callout.svg +0 -1
- package/dist/css/svg/spot/browser-table-graph.svg +0 -1
- package/dist/css/svg/spot/female-laptop-typing.svg +0 -1
- package/dist/css/svg/spot/file-upload.svg +0 -1
- package/dist/css/svg/spot/male-laptop-typing.svg +0 -1
- package/dist/css/svg/spot/mind.svg +0 -1
- package/dist/css/svg/spot/playlist.svg +0 -1
- package/dist/css/svg/spot/publish.svg +0 -1
- package/dist/css/svg/spot/vector-vortex.svg +0 -1
- package/dist/css/svg/spot/wireless-screenshare.svg +0 -1
- package/dist/css/tokens/tokens-base-dark.css +0 -1802
- package/dist/css/tokens/tokens-base-deca-dark.css +0 -1802
- package/dist/css/tokens/tokens-base-deca-light.css +0 -1562
- package/dist/css/tokens/tokens-base-light.css +0 -1562
- package/dist/css/tokens/tokens-debug-base.css +0 -1562
- package/dist/css/tokens/tokens-debug-dp.css +0 -2496
- package/dist/css/tokens/tokens-deca-dark.css +0 -2496
- package/dist/css/tokens/tokens-deca-light.css +0 -2496
- package/dist/css/tokens/tokens-dp-dark.css +0 -2496
- package/dist/css/tokens/tokens-dp-light.css +0 -2496
- package/dist/css/tokens/tokens-expressive-dark.css +0 -2457
- package/dist/css/tokens/tokens-expressive-light.css +0 -2457
- package/dist/css/tokens/tokens-expressive-sm-dark.css +0 -2457
- package/dist/css/tokens/tokens-expressive-sm-light.css +0 -2457
- package/dist/css/tokens/tokens-tmo-dark.css +0 -2496
- package/dist/css/tokens/tokens-tmo-light.css +0 -2496
- package/dist/tokens/less/tokens-base-dark.less +0 -604
- package/dist/tokens/less/tokens-base-deca-dark.less +0 -604
- package/dist/tokens/less/tokens-base-deca-light.less +0 -484
- package/dist/tokens/less/tokens-base-light.less +0 -484
- package/dist/tokens/less/tokens-deca-dark.less +0 -574
- package/dist/tokens/less/tokens-deca-light.less +0 -574
- package/dist/tokens/less/tokens-dp-dark.less +0 -574
- package/dist/tokens/less/tokens-dp-light.less +0 -574
- package/dist/tokens/less/tokens-expressive-dark.less +0 -540
- package/dist/tokens/less/tokens-expressive-light.less +0 -540
- package/dist/tokens/less/tokens-expressive-sm-dark.less +0 -540
- package/dist/tokens/less/tokens-expressive-sm-light.less +0 -540
- package/dist/tokens/less/tokens-tmo-dark.less +0 -574
- package/dist/tokens/less/tokens-tmo-light.less +0 -574
- package/dist/vue2/common/mixins/localization.cjs +0 -2
- package/dist/vue2/common/mixins/localization.cjs.map +0 -1
- package/dist/vue2/common/mixins/localization.js +0 -10
- package/dist/vue2/common/mixins/localization.js.map +0 -1
- package/dist/vue2/types/common/mixins/localization.d.ts +0 -8
- package/dist/vue2/types/common/mixins/localization.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeViewWrapper as _, nodeViewProps as y, VueRenderer as w, VueNodeViewRenderer as
|
|
1
|
+
import { NodeViewWrapper as _, nodeViewProps as y, VueRenderer as w, VueNodeViewRenderer as v, EditorContent as H, BubbleMenu as j, Editor as F } from "../../node_modules/@tiptap/vue-2.js";
|
|
2
2
|
import { Node as N, mergeAttributes as m, InputRule as K, nodePasteRule as E, getMarksBetween as q, combineTransactionSteps as U, getChangedRanges as W, findChildrenInRange as V, Mark as z, nodeInputRule as X, Extension as J } from "@tiptap/core";
|
|
3
3
|
import Y from "@tiptap/extension-blockquote";
|
|
4
4
|
import G from "@tiptap/extension-code-block";
|
|
@@ -26,22 +26,22 @@ import _e from "@tiptap/suggestion";
|
|
|
26
26
|
import { emojiPattern as O } from "regex-combined-emojis";
|
|
27
27
|
import { n as c } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
|
|
28
28
|
import P from "../emoji/emoji.js";
|
|
29
|
-
import { stringToUnicode as ye, codeToEmojiData as L, emojiRegex as we, emojiShortCodeRegex as
|
|
30
|
-
import { emojisIndexed as
|
|
29
|
+
import { stringToUnicode as ye, codeToEmojiData as L, emojiRegex as we, emojiShortCodeRegex as ve } from "../../common/emoji/index.js";
|
|
30
|
+
import { emojisIndexed as xe } from "@dialpad/dialtone-emojis";
|
|
31
31
|
import be from "../list-item/list-item.js";
|
|
32
|
-
import
|
|
32
|
+
import x from "../stack/stack.js";
|
|
33
33
|
import b from "tippy.js";
|
|
34
34
|
import { linkRegex as ke, getPhoneNumberRegex as Ce, warnIfUnmounted as Te } from "../../common/utils/index.js";
|
|
35
35
|
import Ee from "@tiptap/extension-image";
|
|
36
36
|
import R from "@tiptap/extension-mention";
|
|
37
|
-
import
|
|
37
|
+
import D from "../link/link.js";
|
|
38
38
|
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as Se, RICH_TEXT_EDITOR_OUTPUT_FORMATS as Le, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as $ } from "./rich-text-editor-constants.js";
|
|
39
39
|
import Re from "../avatar/avatar.js";
|
|
40
40
|
import $e from "@dialpad/dialtone-icons/vue2/hash";
|
|
41
41
|
import Ie from "@dialpad/dialtone-icons/vue2/lock";
|
|
42
42
|
import Ae from "deep-equal";
|
|
43
|
-
import Be from "
|
|
44
|
-
import Oe from "
|
|
43
|
+
import { DialtoneLocalization as Be } from "../../localization/index.js";
|
|
44
|
+
import Oe from "../button/button.js";
|
|
45
45
|
const Pe = {
|
|
46
46
|
name: "EmojiComponent",
|
|
47
47
|
components: {
|
|
@@ -50,13 +50,13 @@ const Pe = {
|
|
|
50
50
|
},
|
|
51
51
|
props: y
|
|
52
52
|
};
|
|
53
|
-
var
|
|
53
|
+
var De = function() {
|
|
54
54
|
var t = this, n = t._self._c;
|
|
55
55
|
return n("node-view-wrapper", { staticClass: "d-d-inline-block d-va-bottom d-lh0" }, [n("dt-emoji", { attrs: { size: "500", code: t.node.attrs.code } })], 1);
|
|
56
|
-
},
|
|
56
|
+
}, Me = [], He = /* @__PURE__ */ c(
|
|
57
57
|
Pe,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
De,
|
|
59
|
+
Me
|
|
60
60
|
);
|
|
61
61
|
const je = He.exports, Fe = {
|
|
62
62
|
name: "SuggestionList",
|
|
@@ -152,7 +152,7 @@ const k = qe.exports, Ue = {
|
|
|
152
152
|
name: "EmojiSuggestion",
|
|
153
153
|
components: {
|
|
154
154
|
DtEmoji: P,
|
|
155
|
-
DtStack:
|
|
155
|
+
DtStack: x
|
|
156
156
|
},
|
|
157
157
|
props: {
|
|
158
158
|
item: {
|
|
@@ -189,7 +189,7 @@ const Xe = ze.exports, C = {
|
|
|
189
189
|
items: ({ query: e }) => {
|
|
190
190
|
if (e.length < 2)
|
|
191
191
|
return [];
|
|
192
|
-
const t = Object.values(
|
|
192
|
+
const t = Object.values(xe);
|
|
193
193
|
return e = e.toLowerCase(), t.filter(
|
|
194
194
|
(r) => [
|
|
195
195
|
r.name,
|
|
@@ -256,7 +256,7 @@ const Xe = ze.exports, C = {
|
|
|
256
256
|
}, Ge = /(:\w+:)$/, Qe = new RegExp(O + "$"), Ze = (e) => {
|
|
257
257
|
if (e && L(e[0]))
|
|
258
258
|
return { text: e[2] || e[0] };
|
|
259
|
-
}, et = (e) => [...e.matchAll(
|
|
259
|
+
}, et = (e) => [...e.matchAll(ve)].filter((n) => L(n[0])).map((n) => ({
|
|
260
260
|
index: n.index,
|
|
261
261
|
text: n[0],
|
|
262
262
|
match: n
|
|
@@ -272,7 +272,7 @@ const Xe = ze.exports, C = {
|
|
|
272
272
|
selectable: !1,
|
|
273
273
|
atom: !0,
|
|
274
274
|
addNodeView() {
|
|
275
|
-
return
|
|
275
|
+
return v(je);
|
|
276
276
|
},
|
|
277
277
|
addAttributes() {
|
|
278
278
|
return {
|
|
@@ -422,8 +422,8 @@ function A(e, t, n, r, s, o) {
|
|
|
422
422
|
I
|
|
423
423
|
), u = e.slice(l.from, d.to);
|
|
424
424
|
nt(u, ke, rt).forEach((T) => {
|
|
425
|
-
const h = st(T[0]), g = t + l.from + T.index + 1,
|
|
426
|
-
s.addMark(g,
|
|
425
|
+
const h = st(T[0]), g = t + l.from + T.index + 1, M = g + h.length;
|
|
426
|
+
s.addMark(g, M, o.create());
|
|
427
427
|
});
|
|
428
428
|
}
|
|
429
429
|
function at(e) {
|
|
@@ -517,7 +517,7 @@ const lt = {
|
|
|
517
517
|
name: "MentionComponent",
|
|
518
518
|
components: {
|
|
519
519
|
NodeViewWrapper: _,
|
|
520
|
-
DtLink:
|
|
520
|
+
DtLink: D
|
|
521
521
|
},
|
|
522
522
|
props: y,
|
|
523
523
|
computed: {
|
|
@@ -536,7 +536,7 @@ var ht = function() {
|
|
|
536
536
|
);
|
|
537
537
|
const gt = pt.exports, _t = R.extend({
|
|
538
538
|
addNodeView() {
|
|
539
|
-
return
|
|
539
|
+
return v(gt);
|
|
540
540
|
},
|
|
541
541
|
parseHTML() {
|
|
542
542
|
return [
|
|
@@ -573,7 +573,7 @@ const gt = pt.exports, _t = R.extend({
|
|
|
573
573
|
name: "ChannelComponent",
|
|
574
574
|
components: {
|
|
575
575
|
NodeViewWrapper: _,
|
|
576
|
-
DtLink:
|
|
576
|
+
DtLink: D
|
|
577
577
|
},
|
|
578
578
|
props: y,
|
|
579
579
|
computed: {
|
|
@@ -585,15 +585,15 @@ const gt = pt.exports, _t = R.extend({
|
|
|
585
585
|
var wt = function() {
|
|
586
586
|
var t = this, n = t._self._c;
|
|
587
587
|
return n("node-view-wrapper", { staticClass: "d-d-inline-block" }, [n("dt-link", { attrs: { kind: "mention" } }, [t._v(" " + t._s(t.text) + " ")])], 1);
|
|
588
|
-
},
|
|
588
|
+
}, vt = [], xt = /* @__PURE__ */ c(
|
|
589
589
|
yt,
|
|
590
590
|
wt,
|
|
591
|
-
|
|
591
|
+
vt
|
|
592
592
|
);
|
|
593
|
-
const bt =
|
|
593
|
+
const bt = xt.exports, kt = R.extend({
|
|
594
594
|
name: "channel",
|
|
595
595
|
addNodeView() {
|
|
596
|
-
return
|
|
596
|
+
return v(bt);
|
|
597
597
|
},
|
|
598
598
|
parseHTML() {
|
|
599
599
|
return [
|
|
@@ -680,7 +680,7 @@ const Lt = St.exports, Rt = (e, t) => [...e.matchAll(t)].map((r) => {
|
|
|
680
680
|
};
|
|
681
681
|
},
|
|
682
682
|
addNodeView() {
|
|
683
|
-
return
|
|
683
|
+
return v(Lt);
|
|
684
684
|
},
|
|
685
685
|
parseHTML() {
|
|
686
686
|
return [
|
|
@@ -743,7 +743,7 @@ const Lt = St.exports, Rt = (e, t) => [...e.matchAll(t)].map((r) => {
|
|
|
743
743
|
name: "MentionSuggestion",
|
|
744
744
|
components: {
|
|
745
745
|
DtAvatar: Re,
|
|
746
|
-
DtStack:
|
|
746
|
+
DtStack: x
|
|
747
747
|
},
|
|
748
748
|
props: {
|
|
749
749
|
item: {
|
|
@@ -788,7 +788,7 @@ var At = function() {
|
|
|
788
788
|
At,
|
|
789
789
|
Bt
|
|
790
790
|
);
|
|
791
|
-
const Pt = Ot.exports,
|
|
791
|
+
const Pt = Ot.exports, Dt = {
|
|
792
792
|
// This function comes from the user and passed to the editor directly.
|
|
793
793
|
// This will also activate the mention plugin on the editor
|
|
794
794
|
// items: ({ query }) => { return [] },
|
|
@@ -838,10 +838,10 @@ const Pt = Ot.exports, Mt = {
|
|
|
838
838
|
}
|
|
839
839
|
};
|
|
840
840
|
}
|
|
841
|
-
},
|
|
841
|
+
}, Mt = {
|
|
842
842
|
name: "ChannelSuggestion",
|
|
843
843
|
components: {
|
|
844
|
-
DtStack:
|
|
844
|
+
DtStack: x,
|
|
845
845
|
DtIconHash: $e,
|
|
846
846
|
DtIconLock: Ie
|
|
847
847
|
},
|
|
@@ -861,7 +861,7 @@ var Ht = function() {
|
|
|
861
861
|
var t = this, n = t._self._c;
|
|
862
862
|
return n("dt-stack", { attrs: { direction: "row", gap: "400" } }, [t.item.locked ? n("dt-icon-lock", { attrs: { size: "300" } }) : n("dt-icon-hash", { attrs: { size: "300" } }), n("span", [t._v(t._s(t.name))])], 1);
|
|
863
863
|
}, jt = [], Ft = /* @__PURE__ */ c(
|
|
864
|
-
|
|
864
|
+
Mt,
|
|
865
865
|
Ht,
|
|
866
866
|
jt
|
|
867
867
|
);
|
|
@@ -999,10 +999,9 @@ const zt = Vt.exports, Xt = {
|
|
|
999
999
|
components: {
|
|
1000
1000
|
EditorContent: H,
|
|
1001
1001
|
BubbleMenu: j,
|
|
1002
|
-
DtButton:
|
|
1003
|
-
DtStack:
|
|
1002
|
+
DtButton: Oe,
|
|
1003
|
+
DtStack: x
|
|
1004
1004
|
},
|
|
1005
|
-
mixins: [Oe],
|
|
1006
1005
|
props: {
|
|
1007
1006
|
/**
|
|
1008
1007
|
* Value of the input. The object format should match TipTap's JSON
|
|
@@ -1348,7 +1347,8 @@ const zt = Vt.exports, Xt = {
|
|
|
1348
1347
|
return (e = this.$refs.editor.$el.getRootNode()) == null ? void 0 : e.querySelector("body");
|
|
1349
1348
|
},
|
|
1350
1349
|
placement: "top-start"
|
|
1351
|
-
}
|
|
1350
|
+
},
|
|
1351
|
+
i18n: new Be()
|
|
1352
1352
|
};
|
|
1353
1353
|
},
|
|
1354
1354
|
computed: {
|
|
@@ -1395,7 +1395,7 @@ const zt = Vt.exports, Xt = {
|
|
|
1395
1395
|
autolink: !0,
|
|
1396
1396
|
protocols: $
|
|
1397
1397
|
})), this.customLink && e.push(this.getExtension(ct, this.customLink)), this.mentionSuggestion) {
|
|
1398
|
-
const r = { ...this.mentionSuggestion, ...
|
|
1398
|
+
const r = { ...this.mentionSuggestion, ...Dt };
|
|
1399
1399
|
e.push(_t.configure({ suggestion: r }));
|
|
1400
1400
|
}
|
|
1401
1401
|
if (this.channelSuggestion) {
|