@dialpad/dialtone 9.134.0 → 9.135.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 +60 -48
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +60 -48
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens-docs.json +1 -1
- package/dist/tokens/doc.json +40739 -40739
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/lib/avatar/utils.cjs +1 -1
- package/dist/vue2/lib/avatar/utils.cjs.map +1 -1
- package/dist/vue2/lib/avatar/utils.js +6 -5
- package/dist/vue2/lib/avatar/utils.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 +12 -10
- package/dist/vue2/lib/emoji-row/emoji-row.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 +4 -4
- 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 +25 -25
- package/dist/vue2/lib/modal/modal.js.map +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.cjs +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.cjs.map +1 -1
- package/dist/vue2/lib/tooltip-directive/tooltip.js +59 -29
- package/dist/vue2/lib/tooltip-directive/tooltip.js.map +1 -1
- package/dist/vue2/localization/en-US.cjs +14 -1
- package/dist/vue2/localization/en-US.cjs.map +1 -1
- package/dist/vue2/localization/en-US.js +14 -1
- package/dist/vue2/localization/en-US.js.map +1 -1
- package/dist/vue2/localization/es-LA.cjs +8 -1
- package/dist/vue2/localization/es-LA.cjs.map +1 -1
- package/dist/vue2/localization/es-LA.js +8 -1
- package/dist/vue2/localization/es-LA.js.map +1 -1
- package/dist/vue2/types/components/avatar/utils.d.ts +1 -1
- package/dist/vue2/types/components/avatar/utils.d.ts.map +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue2/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.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/avatar/utils.cjs +1 -1
- package/dist/vue3/lib/avatar/utils.cjs.map +1 -1
- package/dist/vue3/lib/avatar/utils.js +6 -5
- package/dist/vue3/lib/avatar/utils.js.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.js +41 -39
- package/dist/vue3/lib/emoji-row/emoji-row.js.map +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 +31 -28
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/modal/modal.cjs +1 -1
- package/dist/vue3/lib/modal/modal.cjs.map +1 -1
- package/dist/vue3/lib/modal/modal.js +39 -39
- package/dist/vue3/lib/modal/modal.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 +66 -36
- package/dist/vue3/lib/tooltip-directive/tooltip.js.map +1 -1
- package/dist/vue3/localization/en-US.cjs +14 -1
- package/dist/vue3/localization/en-US.cjs.map +1 -1
- package/dist/vue3/localization/en-US.js +14 -1
- package/dist/vue3/localization/en-US.js.map +1 -1
- package/dist/vue3/localization/es-LA.cjs +8 -1
- package/dist/vue3/localization/es-LA.cjs.map +1 -1
- package/dist/vue3/localization/es-LA.js +8 -1
- package/dist/vue3/localization/es-LA.js.map +1 -1
- package/dist/vue3/types/components/avatar/utils.d.ts +1 -1
- package/dist/vue3/types/components/avatar/utils.d.ts.map +1 -1
- package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue3/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
- 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.vue.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.js","sources":["../../../components/modal/modal.vue"],"sourcesContent":["<template>\n <dt-lazy-show\n transition=\"d-zoom\"\n :show=\"show\"\n :class=\"[\n 'd-modal',\n MODAL_KIND_MODIFIERS[kind],\n MODAL_SIZE_MODIFIERS[size],\n modalClass,\n ]\"\n data-qa=\"dt-modal\"\n :aria-hidden=\"open\"\n v-on=\"modalListeners\"\n >\n <div\n v-if=\"show && (hasSlotContent($slots.banner) || bannerTitle)\"\n data-qa=\"dt-modal-banner\"\n :class=\"[\n 'd-modal__banner',\n bannerClass,\n bannerKindClass,\n ]\"\n >\n <!-- @slot Slot for the banner, defaults to bannerTitle prop -->\n <slot name=\"banner\">\n {{ bannerTitle }}\n </slot>\n </div>\n <transition\n appear\n name=\"d-modal__dialog\"\n >\n <div\n v-show=\"show\"\n :class=\"[\n 'd-modal__dialog',\n { 'd-modal__dialog--scrollable': fixedHeaderFooter },\n dialogClass,\n ]\"\n role=\"dialog\"\n aria-modal=\"true\"\n :aria-describedby=\"describedById\"\n :aria-labelledby=\"labelledById\"\n >\n <div\n v-if=\"hasSlotContent($slots.header)\"\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n <!-- @slot Slot for dialog header section, taking the place of any \"title\" text prop -->\n <slot name=\"header\" />\n </div>\n <h2\n v-else\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n {{ title }}\n </h2>\n <div\n v-if=\"hasSlotContent($slots.default)\"\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n <!-- @slot Default slot for dialog body section, taking the place of any \"copy\" text prop -->\n <slot />\n </div>\n <p\n v-else\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n {{ copy }}\n </p>\n <footer\n v-if=\"hasFooterSlot\"\n class=\"d-modal__footer\"\n >\n <!-- @slot Slot for dialog footer content, often containing cancel and confirm buttons. -->\n <slot name=\"footer\" />\n </footer>\n <sr-only-close-button\n v-if=\"hideClose\"\n @close=\"close\"\n />\n <dt-button\n v-else\n class=\"d-modal__close\"\n data-qa=\"dt-modal-close-button\"\n circle\n size=\"lg\"\n importance=\"clear\"\n :aria-label=\"closeButtonTitle\"\n :title=\"closeButtonTitle\"\n @click=\"close\"\n >\n <template #icon>\n <dt-icon-close\n size=\"400\"\n />\n </template>\n </dt-button>\n </div>\n </transition>\n </dt-lazy-show>\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport { DtButton } from '@/components/button';\nimport { DtIconClose } from '@dialpad/dialtone-icons/vue3';\nimport Modal from '@/common/mixins/modal';\nimport {\n MODAL_BANNER_KINDS,\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n} from './modal_constants';\nimport { returnFirstEl, getUniqueString, hasSlotContent, disableRootScrolling, enableRootScrolling } from '@/common/utils';\nimport { DtLazyShow } from '@/components/lazy_show';\nimport { EVENT_KEYNAMES } from '@/common/constants';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\nimport { NOTICE_KINDS } from '@/components/notice';\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * Modals focus the user’s attention exclusively on one task or piece of information\n * via a window that sits on top of the page content.\n * @see https://dialtone.dialpad.com/components/modal.html\n */\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtModal',\n\n components: {\n DtLazyShow,\n DtButton,\n DtIconClose,\n SrOnlyCloseButton,\n },\n\n mixins: [Modal],\n\n props: {\n /**\n * Body text to display as the modal's main content.\n */\n copy: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-describedby.\n * Recommended only if the dialog content itself isn't enough to give full context,\n * as screen readers should recite the dialog contents by default before any aria-description.\n */\n describedById: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-labelledby.\n */\n labelledById: {\n type: String,\n default: function () { return getUniqueString(); },\n },\n\n /**\n * Whether the modal should be shown.\n * Parent component can sync on this value to control the modal's visibility.\n * @values true, false\n */\n show: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Title text to display in the modal header.\n */\n title: {\n type: String,\n default: '',\n },\n\n /**\n * Title text to display in the modal banner.\n */\n bannerTitle: {\n type: String,\n default: '',\n },\n\n /**\n * The theme of the modal. kind - default or danger,\n * @values default, danger\n */\n kind: {\n type: String,\n default: 'default',\n validator: (k) => Object.keys(MODAL_KIND_MODIFIERS).includes(k),\n },\n\n /**\n * The size of the modal. size - default or full,\n * @values default, full\n */\n size: {\n type: String,\n default: 'default',\n validator: (s) => Object.keys(MODAL_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * Additional class name for the root modal element.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n modalClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the dialog element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n dialogClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the content element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n contentClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Sets the color of the banner.\n * @values base, error, info, success, warning\n */\n bannerKind: {\n type: String,\n default: 'warning',\n validate (kind) {\n return NOTICE_KINDS.includes(kind);\n },\n },\n\n /**\n * Additional class name for the banner element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n bannerClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Hides the close button on the modal\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the modal will close when you click outside of the dialog on the overlay.\n * @values true, false\n */\n closeOnClick: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Scrollable modal that allows scroll the modal content keeping the header and footer fixed\n * @values true, false\n */\n fixedHeaderFooter: {\n type: Boolean,\n default: true,\n },\n\n /**\n * The element that is focused when the modal is opened. This can be an\n * HTMLElement within the modal, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: [String, HTMLElement],\n default: 'first',\n validator: initialFocusElement => {\n return initialFocusElement === 'first' ||\n (initialFocusElement instanceof HTMLElement) ||\n initialFocusElement.startsWith('#');\n },\n },\n },\n\n emits: [\n /**\n * Native button click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Native keydown event\n *\n * @event keydown\n * @type {KeyboardEvent}\n */\n 'keydown',\n\n /**\n * The modal will emit a \"false\" boolean value for this event when the user performs a modal-closing action.\n * Parent components can sync on this value to create a 2-way binding to control modal visibility.\n *\n * @event update:show\n * @type {Boolean}\n */\n 'update:show',\n ],\n\n data () {\n return {\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n MODAL_BANNER_KINDS,\n EVENT_KEYNAMES,\n hasSlotContent,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n modalListeners () {\n return {\n click: event => {\n // Handle backdrop clicks for closing modal\n if (this.closeOnClick && event.target === event.currentTarget) {\n this.close();\n } else if (this.show && event.target !== event.currentTarget) {\n // Ensure focus stays within modal when clicking inside it\n this.handleModalClick(event);\n }\n\n this.$emit('click', event);\n },\n\n keydown: event => {\n switch (event.code) {\n case EVENT_KEYNAMES.esc:\n case EVENT_KEYNAMES.escape:\n this.close();\n break;\n case EVENT_KEYNAMES.tab:\n this.trapFocus(event);\n break;\n }\n this.$emit('keydown', event);\n },\n\n 'after-enter': async () => {\n this.$emit('update:show', true);\n await this.setFocusAfterTransition();\n },\n\n focusin: event => {\n // Ensure focus stays within modal\n if (this.show && !this.$el.contains(event.target)) {\n event.preventDefault();\n this.focusFirstElement();\n }\n },\n };\n },\n\n open () {\n return `${!this.show}`;\n },\n\n hasFooterSlot () {\n return !!this.$slots.footer;\n },\n\n bannerKindClass () {\n return MODAL_BANNER_KINDS[this.bannerKind];\n },\n\n closeButtonTitle () {\n return this.i18n.$t('DIALTONE_CLOSE_BUTTON');\n },\n },\n\n watch: {\n show: {\n handler (isShowing) {\n if (isShowing) {\n // Set a reference to the previously-active element, to which we'll return focus on modal close.\n this.previousActiveElement = document.activeElement;\n disableRootScrolling(returnFirstEl(this.$el).getRootNode().host);\n } else {\n enableRootScrolling(returnFirstEl(this.$el).getRootNode().host);\n // Modal is being hidden, so return focus to the previously active element before clearing the reference.\n this.previousActiveElement?.focus();\n this.previousActiveElement = null;\n }\n },\n },\n },\n\n methods: {\n close () {\n this.$emit('update:show', false);\n },\n\n async setFocusAfterTransition () {\n if (this.initialFocusElement === 'first') {\n await this.focusFirstElement();\n } else if (this.initialFocusElement.startsWith('#')) {\n await this.focusElementById(this.initialFocusElement);\n } else if (this.initialFocusElement instanceof HTMLElement) {\n this.initialFocusElement.focus();\n }\n },\n\n trapFocus (e) {\n if (this.show) {\n this.focusTrappedTabPress(e);\n }\n },\n\n handleModalClick (event) {\n // Ensure focus stays within modal when clicking inside it\n const clickedElement = event.target;\n const focusableElements = this._getFocusableElements();\n\n // If the clicked element is not focusable, ensure focus stays in modal\n if (focusableElements.length && !focusableElements.includes(clickedElement)) {\n // Check if current active element is still within the modal\n if (!focusableElements.includes(document.activeElement)) {\n this.focusFirstElement();\n }\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtLazyShow","DtButton","DtIconClose","SrOnlyCloseButton","Modal","getUniqueString","k","MODAL_KIND_MODIFIERS","s","MODAL_SIZE_MODIFIERS","kind","NOTICE_KINDS","initialFocusElement","MODAL_BANNER_KINDS","EVENT_KEYNAMES","hasSlotContent","DialtoneLocalization","event","isShowing","disableRootScrolling","returnFirstEl","enableRootScrolling","_a","clickedElement","focusableElements","_hoisted_1","_hoisted_2","_hoisted_3","_openBlock","_createBlock","_component_dt_lazy_show","_mergeProps","$props","$data","$options","_toHandlers","_withCtx","_ctx","_createElementBlock","_normalizeClass","_renderSlot","_createTextVNode","_toDisplayString","_createCommentVNode","_createVNode","_Transition","_createElementVNode","_hoisted_4","_component_sr_only_close_button","_component_dt_button","_component_dt_icon_close"],"mappings":";;;;;;;;;;;;AAyIA,MAAKA,IAAU;AAAA,EACb,cAAc,EAAE,MAAM;EACtB,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA;EAGF,QAAQ,CAACC,CAAK;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA;;;;;;IAQX,eAAe;AAAA,MACb,MAAM;AAAA,MACN,SAAS;AAAA;;;;IAMX,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,SAAS,WAAY;AAAE,eAAOC,EAAe;AAAA,MAAI;AAAA;;;;;;IAQnD,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA;;;;IAMX,OAAO;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA;;;;IAMX,aAAa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gBA+DgEP,EAAA;AAAA;cAItD,WAAQ;AAAA;cAGRQ,EAAQH,EAAA,QAAA,SAAA;AAAA,2BAEVC,EASI,KAAA;AAAA,cAjFZ,KAAA;AAAA,cA0EW,OA1EXC,EAAA;AAAA;gBA0EgEP,EAAA;AAAA;cAItD,WAAQ;AAAA,iBAELA,EAAA,IAAI,GAAA,CAAA;AAAA,YAGDE,EAAA,iBADRN,KAAAU,EAMS,UANTS,GAMS;AAAA,cADPP,EAAsBH,EAAA,QAAA,QAAA;AAAA,kBAvFhCM,EAAA,IAAA,EAAA;AAAA,YA0FgBX,EAAA,kBADRH,EAGEmB,GAAA;AAAA,cA5FV,KAAA;AAAA,cA2FW,SAAOd,EAAA;AAAA,8CAEVL,EAgBYoB,GAAA;AAAA,cA7GpB,KAAA;AAAA,cA+FU,OAAM;AAAA,cACN,WAAQ;AAAA,cACR,QAAA;AAAA,cACA,MAAK;AAAA,cACL,YAAW;AAAA,cACV,cAAYf,EAAA;AAAA,cACZ,OAAOA,EAAA;AAAA,cACP,SAAOA,EAAA;AAAA;cAEG,QACT,MAEE;AAAA,gBAFFU,EAEEM,GAAA,EADA,MAAK,MAAK,CAAA;AAAA;cA1GxB,GAAA;AAAA;UAAA,GAAA,IAAAzB,CAAA,GAAA;AAAA,gBAiCgBO,EAAA,IAAI;AAAA;;QAjCpB,GAAA;AAAA;;IAAA,GAAA;AAAA;;;"}
|
|
1
|
+
{"version":3,"file":"modal.js","sources":["../../../components/modal/modal.vue"],"sourcesContent":["<template>\n <dt-lazy-show\n transition=\"d-zoom\"\n :show=\"show\"\n :class=\"[\n 'd-modal',\n MODAL_KIND_MODIFIERS[kind],\n MODAL_SIZE_MODIFIERS[size],\n modalClass,\n ]\"\n data-qa=\"dt-modal\"\n :aria-hidden=\"open\"\n v-on=\"modalListeners\"\n >\n <div\n v-if=\"show && (hasSlotContent($slots.banner) || bannerTitle)\"\n data-qa=\"dt-modal-banner\"\n :class=\"[\n 'd-modal__banner',\n bannerClass,\n bannerKindClass,\n ]\"\n >\n <!-- @slot Slot for the banner, defaults to bannerTitle prop -->\n <slot name=\"banner\">\n {{ bannerTitle }}\n </slot>\n </div>\n <transition\n appear\n name=\"d-modal__dialog\"\n >\n <div\n v-show=\"show\"\n :class=\"[\n 'd-modal__dialog',\n { 'd-modal__dialog--scrollable': fixedHeaderFooter },\n dialogClass,\n ]\"\n role=\"dialog\"\n aria-modal=\"true\"\n :aria-describedby=\"describedById\"\n :aria-labelledby=\"labelledById\"\n >\n <div\n v-if=\"hasSlotContent($slots.header)\"\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n <!-- @slot Slot for dialog header section, taking the place of any \"title\" text prop -->\n <slot name=\"header\" />\n </div>\n <h2\n v-else\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n {{ title }}\n </h2>\n <div\n v-if=\"hasSlotContent($slots.default)\"\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n <!-- @slot Default slot for dialog body section, taking the place of any \"copy\" text prop -->\n <slot />\n </div>\n <p\n v-else\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n {{ copy }}\n </p>\n <footer\n v-if=\"hasFooterSlot\"\n class=\"d-modal__footer\"\n >\n <!-- @slot Slot for dialog footer content, often containing cancel and confirm buttons. -->\n <slot name=\"footer\" />\n </footer>\n <sr-only-close-button\n v-if=\"hideClose\"\n @close=\"close\"\n />\n <dt-button\n v-else\n class=\"d-modal__close\"\n data-qa=\"dt-modal-close-button\"\n size=\"md\"\n kind=\"muted\"\n importance=\"clear\"\n :aria-label=\"closeButtonTitle\"\n :title=\"closeButtonTitle\"\n @click=\"close\"\n >\n <template #icon=\"{ iconSize }\">\n <dt-icon-close\n :size=\"iconSize\"\n />\n </template>\n </dt-button>\n </div>\n </transition>\n </dt-lazy-show>\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport { DtButton } from '@/components/button';\nimport { DtIconClose } from '@dialpad/dialtone-icons/vue3';\nimport Modal from '@/common/mixins/modal';\nimport {\n MODAL_BANNER_KINDS,\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n} from './modal_constants';\nimport { returnFirstEl, getUniqueString, hasSlotContent, disableRootScrolling, enableRootScrolling } from '@/common/utils';\nimport { DtLazyShow } from '@/components/lazy_show';\nimport { EVENT_KEYNAMES } from '@/common/constants';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\nimport { NOTICE_KINDS } from '@/components/notice';\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * Modals focus the user’s attention exclusively on one task or piece of information\n * via a window that sits on top of the page content.\n * @see https://dialtone.dialpad.com/components/modal.html\n */\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtModal',\n\n components: {\n DtLazyShow,\n DtButton,\n DtIconClose,\n SrOnlyCloseButton,\n },\n\n mixins: [Modal],\n\n props: {\n /**\n * Body text to display as the modal's main content.\n */\n copy: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-describedby.\n * Recommended only if the dialog content itself isn't enough to give full context,\n * as screen readers should recite the dialog contents by default before any aria-description.\n */\n describedById: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-labelledby.\n */\n labelledById: {\n type: String,\n default: function () { return getUniqueString(); },\n },\n\n /**\n * Whether the modal should be shown.\n * Parent component can sync on this value to control the modal's visibility.\n * @values true, false\n */\n show: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Title text to display in the modal header.\n */\n title: {\n type: String,\n default: '',\n },\n\n /**\n * Title text to display in the modal banner.\n */\n bannerTitle: {\n type: String,\n default: '',\n },\n\n /**\n * The theme of the modal. kind - default or danger,\n * @values default, danger\n */\n kind: {\n type: String,\n default: 'default',\n validator: (k) => Object.keys(MODAL_KIND_MODIFIERS).includes(k),\n },\n\n /**\n * The size of the modal. size - default or full,\n * @values default, full\n */\n size: {\n type: String,\n default: 'default',\n validator: (s) => Object.keys(MODAL_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * Additional class name for the root modal element.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n modalClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the dialog element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n dialogClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the content element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n contentClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Sets the color of the banner.\n * @values base, error, info, success, warning\n */\n bannerKind: {\n type: String,\n default: 'warning',\n validate (kind) {\n return NOTICE_KINDS.includes(kind);\n },\n },\n\n /**\n * Additional class name for the banner element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n bannerClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Hides the close button on the modal\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the modal will close when you click outside of the dialog on the overlay.\n * @values true, false\n */\n closeOnClick: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Scrollable modal that allows scroll the modal content keeping the header and footer fixed\n * @values true, false\n */\n fixedHeaderFooter: {\n type: Boolean,\n default: true,\n },\n\n /**\n * The element that is focused when the modal is opened. This can be an\n * HTMLElement within the modal, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: [String, HTMLElement],\n default: 'first',\n validator: initialFocusElement => {\n return initialFocusElement === 'first' ||\n (initialFocusElement instanceof HTMLElement) ||\n initialFocusElement.startsWith('#');\n },\n },\n },\n\n emits: [\n /**\n * Native button click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Native keydown event\n *\n * @event keydown\n * @type {KeyboardEvent}\n */\n 'keydown',\n\n /**\n * The modal will emit a \"false\" boolean value for this event when the user performs a modal-closing action.\n * Parent components can sync on this value to create a 2-way binding to control modal visibility.\n *\n * @event update:show\n * @type {Boolean}\n */\n 'update:show',\n ],\n\n data () {\n return {\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n MODAL_BANNER_KINDS,\n EVENT_KEYNAMES,\n hasSlotContent,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n modalListeners () {\n return {\n click: event => {\n // Handle backdrop clicks for closing modal\n if (this.closeOnClick && event.target === event.currentTarget) {\n this.close();\n } else if (this.show && event.target !== event.currentTarget) {\n // Ensure focus stays within modal when clicking inside it\n this.handleModalClick(event);\n }\n\n this.$emit('click', event);\n },\n\n keydown: event => {\n switch (event.code) {\n case EVENT_KEYNAMES.esc:\n case EVENT_KEYNAMES.escape:\n this.close();\n break;\n case EVENT_KEYNAMES.tab:\n this.trapFocus(event);\n break;\n }\n this.$emit('keydown', event);\n },\n\n 'after-enter': async () => {\n this.$emit('update:show', true);\n await this.setFocusAfterTransition();\n },\n\n focusin: event => {\n // Ensure focus stays within modal\n if (this.show && !this.$el.contains(event.target)) {\n event.preventDefault();\n this.focusFirstElement();\n }\n },\n };\n },\n\n open () {\n return `${!this.show}`;\n },\n\n hasFooterSlot () {\n return !!this.$slots.footer;\n },\n\n bannerKindClass () {\n return MODAL_BANNER_KINDS[this.bannerKind];\n },\n\n closeButtonTitle () {\n return this.i18n.$t('DIALTONE_CLOSE_BUTTON');\n },\n },\n\n watch: {\n show: {\n handler (isShowing) {\n if (isShowing) {\n // Set a reference to the previously-active element, to which we'll return focus on modal close.\n this.previousActiveElement = document.activeElement;\n disableRootScrolling(returnFirstEl(this.$el).getRootNode().host);\n } else {\n enableRootScrolling(returnFirstEl(this.$el).getRootNode().host);\n // Modal is being hidden, so return focus to the previously active element before clearing the reference.\n this.previousActiveElement?.focus();\n this.previousActiveElement = null;\n }\n },\n },\n },\n\n methods: {\n close () {\n this.$emit('update:show', false);\n },\n\n async setFocusAfterTransition () {\n if (this.initialFocusElement === 'first') {\n await this.focusFirstElement();\n } else if (this.initialFocusElement.startsWith('#')) {\n await this.focusElementById(this.initialFocusElement);\n } else if (this.initialFocusElement instanceof HTMLElement) {\n this.initialFocusElement.focus();\n }\n },\n\n trapFocus (e) {\n if (this.show) {\n this.focusTrappedTabPress(e);\n }\n },\n\n handleModalClick (event) {\n // Ensure focus stays within modal when clicking inside it\n const clickedElement = event.target;\n const focusableElements = this._getFocusableElements();\n\n // If the clicked element is not focusable, ensure focus stays in modal\n if (focusableElements.length && !focusableElements.includes(clickedElement)) {\n // Check if current active element is still within the modal\n if (!focusableElements.includes(document.activeElement)) {\n this.focusFirstElement();\n }\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtLazyShow","DtButton","DtIconClose","SrOnlyCloseButton","Modal","getUniqueString","k","MODAL_KIND_MODIFIERS","s","MODAL_SIZE_MODIFIERS","kind","NOTICE_KINDS","initialFocusElement","MODAL_BANNER_KINDS","EVENT_KEYNAMES","hasSlotContent","DialtoneLocalization","event","isShowing","disableRootScrolling","returnFirstEl","enableRootScrolling","_a","clickedElement","focusableElements","_hoisted_1","_hoisted_2","_hoisted_3","_openBlock","_createBlock","_component_dt_lazy_show","_mergeProps","$props","$data","$options","_toHandlers","_withCtx","_ctx","_createElementBlock","_normalizeClass","_renderSlot","_createTextVNode","_toDisplayString","_createCommentVNode","_createVNode","_Transition","_createElementVNode","_hoisted_4","_component_sr_only_close_button","_component_dt_button","iconSize","_component_dt_icon_close"],"mappings":";;;;;;;;;;;;AAyIA,MAAKA,IAAU;AAAA,EACb,cAAc,EAAE,MAAM;EACtB,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC;AAA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AAAA;UAAA,GAAA,IAAAzB,CAAA,GAAA;AAAA,gBAiCgBO,EAAA,IAAI;AAAA;;QAjCpB,GAAA;AAAA;;IAAA,GAAA;AAAA;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("../../common/utils/index.cjs"),l=require("vue"),c=require("../tooltip/tooltip.cjs"),m=require("../tooltip/tooltip-constants.cjs"),d={name:"dt-tooltip-directive",install(p){let a;const s=document.createElement("div");document.body.appendChild(s);const n="top";l.createApp({name:"DtTooltipDirectiveApp",components:{DtTooltip:c.default},data(){return{tooltips:[]}},created(){a=l.getCurrentInstance()},methods:{addOrUpdateTooltip(e,t){const i=this.tooltips.findIndex(o=>o.id===e);i!==-1?this.tooltips.splice(i,1,{id:e,...t}):this.tooltips.push({id:e,...t})},removeTooltip(e){this.tooltips=this.tooltips.filter(t=>t.id!==e)}},render(){return l.h("div",this.tooltips.map(({id:e,...t})=>l.h(c.default,{key:e,...t,sticky:t.sticky!==void 0?t.sticky:!0,delay:t.delay!==void 0?t.delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${e}"]`})))}}).mount(s),p.directive("dt-tooltip",{beforeMount(e,t){u(e,t)},updated(e,t){t.value!==t.oldValue&&u(e,t)},unmounted(e){a.ctx.removeTooltip(e.getAttribute("data-dt-tooltip-id"))}});function u(e,t){const i=e.getAttribute("data-dt-tooltip-id")||v.getUniqueString();let o;if(typeof t.value=="string")o={message:t.value,placement:t.arg||n};else if(typeof t.value=="object"&&t.value!==null)o={placement:t.arg||t.value.placement||n,...t.value};else{console.error("DtTooltipDirective: binding value must be a string or object");return}Object.keys(t.modifiers).forEach(r=>{switch(r){case"inverted":o.inverted=!0;break;case"no-delay":o.delay=!1;break;case"no-transition":o.transition=!1;break;default:m.TOOLTIP_DIRECTIONS.includes(r)&&(o.placement=r);break}}),e.setAttribute("data-dt-tooltip-id",i),a.ctx.addOrUpdateTooltip(i,o)}}};exports.DtTooltipDirective=d;exports.default=d;
|
|
2
2
|
//# sourceMappingURL=tooltip.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.cjs","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\nimport { createApp, getCurrentInstance, h } from 'vue';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (app) {\n let tooltipInstance;\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = createApp({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n
|
|
1
|
+
{"version":3,"file":"tooltip.cjs","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip, TOOLTIP_DIRECTIONS } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\nimport { createApp, getCurrentInstance, h } from 'vue';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (app) {\n let tooltipInstance;\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = createApp({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n created () {\n tooltipInstance = getCurrentInstance();\n },\n\n methods: {\n addOrUpdateTooltip (id, tooltipConfig) {\n const index = this.tooltips.findIndex(tooltip => tooltip.id === id);\n if (index !== -1) {\n // Update existing tooltip\n this.tooltips.splice(index, 1, { id, ...tooltipConfig });\n } else {\n // Add new tooltip\n this.tooltips.push({ id, ...tooltipConfig });\n }\n },\n\n removeTooltip (id) {\n this.tooltips = this.tooltips.filter(tooltip => tooltip.id !== id);\n },\n },\n\n render () {\n return h('div',\n this.tooltips.map(({ id, ...tooltipProps }) => {\n return h(DtTooltip, {\n key: id,\n ...tooltipProps,\n sticky: tooltipProps.sticky !== undefined ? tooltipProps.sticky : true,\n /**\n * Set the delay to false when running tests only.\n */\n delay: tooltipProps.delay !== undefined ? tooltipProps.delay : (process.env.NODE_ENV !== 'test'),\n externalAnchor: `[data-dt-tooltip-id=\"${id}\"]`,\n });\n }),\n );\n },\n });\n\n DtTooltipDirectiveApp.mount(mountPoint);\n\n app.directive('dt-tooltip', {\n beforeMount (anchor, binding) {\n // Initial tooltip setup\n setupTooltip(anchor, binding);\n },\n updated (anchor, binding) {\n // Update tooltip on binding value change\n if (binding.value !== binding.oldValue) {\n setupTooltip(anchor, binding);\n }\n },\n unmounted (anchor) {\n tooltipInstance.ctx.removeTooltip(anchor.getAttribute('data-dt-tooltip-id'));\n },\n });\n\n function setupTooltip (anchor, binding) {\n const tooltipId = anchor.getAttribute('data-dt-tooltip-id') || getUniqueString();\n\n let tooltipConfig;\n if (typeof binding.value === 'string') {\n tooltipConfig = {\n message: binding.value,\n placement: binding.arg || DEFAULT_PLACEMENT,\n };\n } else if (typeof binding.value === 'object' && binding.value !== null) {\n tooltipConfig = {\n placement: binding.arg || binding.value.placement || DEFAULT_PLACEMENT,\n ...binding.value,\n };\n } else {\n console.error('DtTooltipDirective: binding value must be a string or object');\n return;\n }\n\n Object.keys(binding.modifiers).forEach(modifier => {\n switch (modifier) {\n case 'inverted':\n tooltipConfig.inverted = true;\n break;\n case 'no-delay':\n tooltipConfig.delay = false;\n break;\n case 'no-transition':\n tooltipConfig.transition = false;\n break;\n default:\n if (TOOLTIP_DIRECTIONS.includes(modifier)) {\n tooltipConfig.placement = modifier;\n }\n break;\n }\n });\n\n anchor.setAttribute('data-dt-tooltip-id', tooltipId);\n tooltipInstance.ctx.addOrUpdateTooltip(tooltipId, tooltipConfig);\n }\n },\n};\n\nexport default DtTooltipDirective;\n"],"names":["DtTooltipDirective","app","tooltipInstance","mountPoint","DEFAULT_PLACEMENT","createApp","DtTooltip","getCurrentInstance","id","tooltipConfig","index","tooltip","h","tooltipProps","anchor","binding","setupTooltip","tooltipId","getUniqueString","modifier","TOOLTIP_DIRECTIONS"],"mappings":"+PAIaA,EAAqB,CAChC,KAAM,uBACN,QAASC,EAAK,CACZ,IAAIC,EACJ,MAAMC,EAAa,SAAS,cAAc,KAAK,EAC/C,SAAS,KAAK,YAAYA,CAAU,EAEpC,MAAMC,EAAoB,MACIC,EAAAA,UAAU,CACtC,KAAM,wBACN,WAAY,CAAA,UAAEC,EAAAA,OAAS,EACvB,MAAQ,CACN,MAAO,CACL,SAAU,CAAA,CACpB,CACM,EAEA,SAAW,CACTJ,EAAkBK,EAAAA,mBAAkB,CACtC,EAEA,QAAS,CACP,mBAAoBC,EAAIC,EAAe,CACrC,MAAMC,EAAQ,KAAK,SAAS,UAAUC,GAAWA,EAAQ,KAAOH,CAAE,EAC9DE,IAAU,GAEZ,KAAK,SAAS,OAAOA,EAAO,EAAG,CAAE,GAAAF,EAAI,GAAGC,EAAe,EAGvD,KAAK,SAAS,KAAK,CAAE,GAAAD,EAAI,GAAGC,CAAa,CAAE,CAE/C,EAEA,cAAeD,EAAI,CACjB,KAAK,SAAW,KAAK,SAAS,OAAOG,GAAWA,EAAQ,KAAOH,CAAE,CACnE,CACR,EAEM,QAAU,CACR,OAAOI,EAAAA,EAAE,MACP,KAAK,SAAS,IAAI,CAAC,CAAE,GAAAJ,EAAI,GAAGK,KACnBD,EAAAA,EAAEN,EAAAA,QAAW,CAClB,IAAKE,EACL,GAAGK,EACH,OAAQA,EAAa,SAAW,OAAYA,EAAa,OAAS,GAIlE,MAAOA,EAAa,QAAU,OAAYA,EAAa,MAAS,QAAQ,IAAI,WAAa,OACzF,eAAgB,wBAAwBL,CAAE,IACxD,CAAa,CACF,CACX,CACM,CACN,CAAK,EAEqB,MAAML,CAAU,EAEtCF,EAAI,UAAU,aAAc,CAC1B,YAAaa,EAAQC,EAAS,CAE5BC,EAAaF,EAAQC,CAAO,CAC9B,EACA,QAASD,EAAQC,EAAS,CAEpBA,EAAQ,QAAUA,EAAQ,UAC5BC,EAAaF,EAAQC,CAAO,CAEhC,EACA,UAAWD,EAAQ,CACjBZ,EAAgB,IAAI,cAAcY,EAAO,aAAa,oBAAoB,CAAC,CAC7E,CACN,CAAK,EAED,SAASE,EAAcF,EAAQC,EAAS,CACtC,MAAME,EAAYH,EAAO,aAAa,oBAAoB,GAAKI,EAAAA,gBAAe,EAE9E,IAAIT,EACJ,GAAI,OAAOM,EAAQ,OAAU,SAC3BN,EAAgB,CACd,QAASM,EAAQ,MACjB,UAAWA,EAAQ,KAAOX,CACpC,UACiB,OAAOW,EAAQ,OAAU,UAAYA,EAAQ,QAAU,KAChEN,EAAgB,CACd,UAAWM,EAAQ,KAAOA,EAAQ,MAAM,WAAaX,EACrD,GAAGW,EAAQ,KACrB,MACa,CACL,QAAQ,MAAM,8DAA8D,EAC5E,MACF,CAEA,OAAO,KAAKA,EAAQ,SAAS,EAAE,QAAQI,GAAY,CACjD,OAAQA,EAAQ,CACd,IAAK,WACHV,EAAc,SAAW,GACzB,MACF,IAAK,WACHA,EAAc,MAAQ,GACtB,MACF,IAAK,gBACHA,EAAc,WAAa,GAC3B,MACF,QACMW,EAAAA,mBAAmB,SAASD,CAAQ,IACtCV,EAAc,UAAYU,GAE5B,KACZ,CACM,CAAC,EAEDL,EAAO,aAAa,qBAAsBG,CAAS,EACnDf,EAAgB,IAAI,mBAAmBe,EAAWR,CAAa,CACjE,CACF,CACF"}
|
|
@@ -1,68 +1,98 @@
|
|
|
1
1
|
import { getUniqueString as u } from "../../common/utils/index.js";
|
|
2
|
-
import { createApp as m, h as
|
|
3
|
-
import
|
|
4
|
-
|
|
2
|
+
import { createApp as m, h as d, getCurrentInstance as v } from "vue";
|
|
3
|
+
import c from "../tooltip/tooltip.js";
|
|
4
|
+
import { TOOLTIP_DIRECTIONS as f } from "../tooltip/tooltip-constants.js";
|
|
5
|
+
const k = {
|
|
5
6
|
name: "dt-tooltip-directive",
|
|
6
|
-
install(
|
|
7
|
-
let
|
|
8
|
-
const
|
|
9
|
-
document.body.appendChild(
|
|
10
|
-
const
|
|
7
|
+
install(n) {
|
|
8
|
+
let a;
|
|
9
|
+
const r = document.createElement("div");
|
|
10
|
+
document.body.appendChild(r);
|
|
11
|
+
const s = "top";
|
|
11
12
|
m({
|
|
12
13
|
name: "DtTooltipDirectiveApp",
|
|
13
|
-
components: { DtTooltip:
|
|
14
|
+
components: { DtTooltip: c },
|
|
14
15
|
data() {
|
|
15
16
|
return {
|
|
16
17
|
tooltips: []
|
|
17
18
|
};
|
|
18
19
|
},
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
created() {
|
|
21
|
+
a = v();
|
|
21
22
|
},
|
|
22
23
|
methods: {
|
|
23
|
-
addOrUpdateTooltip(
|
|
24
|
-
const i = this.tooltips.findIndex((
|
|
25
|
-
i !== -1 ?
|
|
24
|
+
addOrUpdateTooltip(e, t) {
|
|
25
|
+
const i = this.tooltips.findIndex((o) => o.id === e);
|
|
26
|
+
i !== -1 ? this.tooltips.splice(i, 1, { id: e, ...t }) : this.tooltips.push({ id: e, ...t });
|
|
26
27
|
},
|
|
27
|
-
removeTooltip(
|
|
28
|
-
this.tooltips = this.tooltips.filter((
|
|
28
|
+
removeTooltip(e) {
|
|
29
|
+
this.tooltips = this.tooltips.filter((t) => t.id !== e);
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
32
|
render() {
|
|
32
|
-
return
|
|
33
|
+
return d(
|
|
33
34
|
"div",
|
|
34
|
-
this.tooltips.map(({ id:
|
|
35
|
-
key:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
sticky: !0,
|
|
35
|
+
this.tooltips.map(({ id: e, ...t }) => d(c, {
|
|
36
|
+
key: e,
|
|
37
|
+
...t,
|
|
38
|
+
sticky: t.sticky !== void 0 ? t.sticky : !0,
|
|
39
39
|
/**
|
|
40
40
|
* Set the delay to false when running tests only.
|
|
41
41
|
*/
|
|
42
|
-
delay: process.env.NODE_ENV !== "test",
|
|
43
|
-
externalAnchor: `[data-dt-tooltip-id="${
|
|
42
|
+
delay: t.delay !== void 0 ? t.delay : process.env.NODE_ENV !== "test",
|
|
43
|
+
externalAnchor: `[data-dt-tooltip-id="${e}"]`
|
|
44
44
|
}))
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
|
-
}).mount(
|
|
48
|
-
beforeMount(
|
|
49
|
-
|
|
47
|
+
}).mount(r), n.directive("dt-tooltip", {
|
|
48
|
+
beforeMount(e, t) {
|
|
49
|
+
p(e, t);
|
|
50
50
|
},
|
|
51
|
-
updated(
|
|
52
|
-
|
|
51
|
+
updated(e, t) {
|
|
52
|
+
t.value !== t.oldValue && p(e, t);
|
|
53
53
|
},
|
|
54
|
-
unmounted(
|
|
55
|
-
|
|
54
|
+
unmounted(e) {
|
|
55
|
+
a.ctx.removeTooltip(e.getAttribute("data-dt-tooltip-id"));
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
function
|
|
59
|
-
const
|
|
60
|
-
|
|
58
|
+
function p(e, t) {
|
|
59
|
+
const i = e.getAttribute("data-dt-tooltip-id") || u();
|
|
60
|
+
let o;
|
|
61
|
+
if (typeof t.value == "string")
|
|
62
|
+
o = {
|
|
63
|
+
message: t.value,
|
|
64
|
+
placement: t.arg || s
|
|
65
|
+
};
|
|
66
|
+
else if (typeof t.value == "object" && t.value !== null)
|
|
67
|
+
o = {
|
|
68
|
+
placement: t.arg || t.value.placement || s,
|
|
69
|
+
...t.value
|
|
70
|
+
};
|
|
71
|
+
else {
|
|
72
|
+
console.error("DtTooltipDirective: binding value must be a string or object");
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
Object.keys(t.modifiers).forEach((l) => {
|
|
76
|
+
switch (l) {
|
|
77
|
+
case "inverted":
|
|
78
|
+
o.inverted = !0;
|
|
79
|
+
break;
|
|
80
|
+
case "no-delay":
|
|
81
|
+
o.delay = !1;
|
|
82
|
+
break;
|
|
83
|
+
case "no-transition":
|
|
84
|
+
o.transition = !1;
|
|
85
|
+
break;
|
|
86
|
+
default:
|
|
87
|
+
f.includes(l) && (o.placement = l);
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
}), e.setAttribute("data-dt-tooltip-id", i), a.ctx.addOrUpdateTooltip(i, o);
|
|
61
91
|
}
|
|
62
92
|
}
|
|
63
93
|
};
|
|
64
94
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
95
|
+
k as DtTooltipDirective,
|
|
96
|
+
k as default
|
|
67
97
|
};
|
|
68
98
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\nimport { createApp, getCurrentInstance, h } from 'vue';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (app) {\n let tooltipInstance;\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = createApp({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n
|
|
1
|
+
{"version":3,"file":"tooltip.js","sources":["../../../directives/tooltip_directive/tooltip.js"],"sourcesContent":["import { DtTooltip, TOOLTIP_DIRECTIONS } from '@/components/tooltip';\nimport { getUniqueString } from '@/common/utils';\nimport { createApp, getCurrentInstance, h } from 'vue';\n\nexport const DtTooltipDirective = {\n name: 'dt-tooltip-directive',\n install (app) {\n let tooltipInstance;\n const mountPoint = document.createElement('div');\n document.body.appendChild(mountPoint);\n\n const DEFAULT_PLACEMENT = 'top';\n const DtTooltipDirectiveApp = createApp({\n name: 'DtTooltipDirectiveApp',\n components: { DtTooltip },\n data () {\n return {\n tooltips: [],\n };\n },\n\n created () {\n tooltipInstance = getCurrentInstance();\n },\n\n methods: {\n addOrUpdateTooltip (id, tooltipConfig) {\n const index = this.tooltips.findIndex(tooltip => tooltip.id === id);\n if (index !== -1) {\n // Update existing tooltip\n this.tooltips.splice(index, 1, { id, ...tooltipConfig });\n } else {\n // Add new tooltip\n this.tooltips.push({ id, ...tooltipConfig });\n }\n },\n\n removeTooltip (id) {\n this.tooltips = this.tooltips.filter(tooltip => tooltip.id !== id);\n },\n },\n\n render () {\n return h('div',\n this.tooltips.map(({ id, ...tooltipProps }) => {\n return h(DtTooltip, {\n key: id,\n ...tooltipProps,\n sticky: tooltipProps.sticky !== undefined ? tooltipProps.sticky : true,\n /**\n * Set the delay to false when running tests only.\n */\n delay: tooltipProps.delay !== undefined ? tooltipProps.delay : (process.env.NODE_ENV !== 'test'),\n externalAnchor: `[data-dt-tooltip-id=\"${id}\"]`,\n });\n }),\n );\n },\n });\n\n DtTooltipDirectiveApp.mount(mountPoint);\n\n app.directive('dt-tooltip', {\n beforeMount (anchor, binding) {\n // Initial tooltip setup\n setupTooltip(anchor, binding);\n },\n updated (anchor, binding) {\n // Update tooltip on binding value change\n if (binding.value !== binding.oldValue) {\n setupTooltip(anchor, binding);\n }\n },\n unmounted (anchor) {\n tooltipInstance.ctx.removeTooltip(anchor.getAttribute('data-dt-tooltip-id'));\n },\n });\n\n function setupTooltip (anchor, binding) {\n const tooltipId = anchor.getAttribute('data-dt-tooltip-id') || getUniqueString();\n\n let tooltipConfig;\n if (typeof binding.value === 'string') {\n tooltipConfig = {\n message: binding.value,\n placement: binding.arg || DEFAULT_PLACEMENT,\n };\n } else if (typeof binding.value === 'object' && binding.value !== null) {\n tooltipConfig = {\n placement: binding.arg || binding.value.placement || DEFAULT_PLACEMENT,\n ...binding.value,\n };\n } else {\n console.error('DtTooltipDirective: binding value must be a string or object');\n return;\n }\n\n Object.keys(binding.modifiers).forEach(modifier => {\n switch (modifier) {\n case 'inverted':\n tooltipConfig.inverted = true;\n break;\n case 'no-delay':\n tooltipConfig.delay = false;\n break;\n case 'no-transition':\n tooltipConfig.transition = false;\n break;\n default:\n if (TOOLTIP_DIRECTIONS.includes(modifier)) {\n tooltipConfig.placement = modifier;\n }\n break;\n }\n });\n\n anchor.setAttribute('data-dt-tooltip-id', tooltipId);\n tooltipInstance.ctx.addOrUpdateTooltip(tooltipId, tooltipConfig);\n }\n },\n};\n\nexport default DtTooltipDirective;\n"],"names":["DtTooltipDirective","app","tooltipInstance","mountPoint","DEFAULT_PLACEMENT","createApp","DtTooltip","getCurrentInstance","id","tooltipConfig","index","tooltip","h","tooltipProps","anchor","binding","setupTooltip","tooltipId","getUniqueString","modifier","TOOLTIP_DIRECTIONS"],"mappings":";;;;AAIY,MAACA,IAAqB;AAAA,EAChC,MAAM;AAAA,EACN,QAASC,GAAK;AACZ,QAAIC;AACJ,UAAMC,IAAa,SAAS,cAAc,KAAK;AAC/C,aAAS,KAAK,YAAYA,CAAU;AAEpC,UAAMC,IAAoB;AAiD1B,IAhD8BC,EAAU;AAAA,MACtC,MAAM;AAAA,MACN,YAAY,EAAE,WAAAC,EAAS;AAAA,MACvB,OAAQ;AACN,eAAO;AAAA,UACL,UAAU,CAAA;AAAA,QACpB;AAAA,MACM;AAAA,MAEA,UAAW;AACT,QAAAJ,IAAkBK,EAAkB;AAAA,MACtC;AAAA,MAEA,SAAS;AAAA,QACP,mBAAoBC,GAAIC,GAAe;AACrC,gBAAMC,IAAQ,KAAK,SAAS,UAAU,CAAAC,MAAWA,EAAQ,OAAOH,CAAE;AAClE,UAAIE,MAAU,KAEZ,KAAK,SAAS,OAAOA,GAAO,GAAG,EAAE,IAAAF,GAAI,GAAGC,GAAe,IAGvD,KAAK,SAAS,KAAK,EAAE,IAAAD,GAAI,GAAGC,EAAa,CAAE;AAAA,QAE/C;AAAA,QAEA,cAAeD,GAAI;AACjB,eAAK,WAAW,KAAK,SAAS,OAAO,CAAAG,MAAWA,EAAQ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AAEA,aAAO,KAAKA,EAAQ,SAAS,EAAE,QAAQ,CAAAI,MAAY;AACjD,gBAAQA,GAAQ;AAAA,UACd,KAAK;AACH,YAAAV,EAAc,WAAW;AACzB;AAAA,UACF,KAAK;AACH,YAAAA,EAAc,QAAQ;AACtB;AAAA,UACF,KAAK;AACH,YAAAA,EAAc,aAAa;AAC3B;AAAA,UACF;AACE,YAAIW,EAAmB,SAASD,CAAQ,MACtCV,EAAc,YAAYU;AAE5B;AAAA,QACZ;AAAA,MACM,CAAC,GAEDL,EAAO,aAAa,sBAAsBG,CAAS,GACnDf,EAAgB,IAAI,mBAAmBe,GAAWR,CAAa;AAAA,IACjE;AAAA,EACF;AACF;"}
|
|
@@ -62,7 +62,17 @@ DIALTONE_EDITOR_ADD_LINK_BUTTON =
|
|
|
62
62
|
.title = Add Link
|
|
63
63
|
.aria-label = Input field to add link
|
|
64
64
|
|
|
65
|
-
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
65
|
+
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
66
|
+
{ $personCount ->
|
|
67
|
+
*[other] { $youIncluded ->
|
|
68
|
+
*[true] reacted with { $reaction }
|
|
69
|
+
[false] reacted with { $reaction }
|
|
70
|
+
}
|
|
71
|
+
[one] { $youIncluded ->
|
|
72
|
+
*[true] reacted with { $reaction }
|
|
73
|
+
[false] reacted with { $reaction }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
66
76
|
|
|
67
77
|
DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Add emoji
|
|
68
78
|
DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No results
|
|
@@ -171,5 +181,8 @@ STORYBOOK_LANGUAGE_PORTUGUESE = Portuguese
|
|
|
171
181
|
STORYBOOK_LANGUAGE_RUSSIAN = Russian
|
|
172
182
|
STORYBOOK_LANGUAGE_SPANISH = Spanish
|
|
173
183
|
STORYBOOK_SET_LANGUAGE = Set language
|
|
184
|
+
STORYBOOK_YOU = You
|
|
185
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim & Isabella Garcia
|
|
186
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chen & { STORYBOOK_YOU }
|
|
174
187
|
`;exports.default=_;
|
|
175
188
|
//# sourceMappingURL=en-US.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.cjs","sources":["../../../dialtone-vue2/localization/en-US.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Click to close\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = breadcrumbs\\nDIALTONE_LOADING = loading\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread messages\\n [1] 1 unread message\\n *[other] {$unreadCount} unread messages\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread mentions\\n [1] 1 unread mention\\n *[other] {$unreadCount} unread mentions\\n }\\nDIALTONE_TYPING_TEXT = Typing\\n\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Click to open\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Uploading\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Previous\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Next\\n\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Open dropdown\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Open popover\\n\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Open menu\\n\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Previous month\\nDIALTONE_DATEPICKER_NEXT_MONTH = Next month\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Previous year\\nDIALTONE_DATEPICKER_NEXT_YEAR = Next year\\nDIALTONE_DATEPICKER_SELECT_DAY = Select day\\nDIALTONE_DATEPICKER_CHANGE_TO = Change to\\n\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirm\\n .aria-label = Confirm set link\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Remove\\n .aria-label = Remove link\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = Cancel\\n .aria-label = Cancel set link\\n\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Template\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Bold\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Italics\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Underline\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Strike\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Align Left\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Align Center\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Align Right\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Align Justify\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Bullet List\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Ordered List\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Quote\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Code\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Image\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Link\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Add Link\\n .aria-label = Input field to add link\\n\\nDIALTONE_EMOJI_ROW_REACTION_LABEL
|
|
1
|
+
{"version":3,"file":"en-US.cjs","sources":["../../../dialtone-vue2/localization/en-US.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Click to close\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = breadcrumbs\\nDIALTONE_LOADING = loading\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread messages\\n [1] 1 unread message\\n *[other] {$unreadCount} unread messages\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread mentions\\n [1] 1 unread mention\\n *[other] {$unreadCount} unread mentions\\n }\\nDIALTONE_TYPING_TEXT = Typing\\n\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Click to open\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Uploading\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Previous\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Next\\n\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Open dropdown\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Open popover\\n\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Open menu\\n\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Previous month\\nDIALTONE_DATEPICKER_NEXT_MONTH = Next month\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Previous year\\nDIALTONE_DATEPICKER_NEXT_YEAR = Next year\\nDIALTONE_DATEPICKER_SELECT_DAY = Select day\\nDIALTONE_DATEPICKER_CHANGE_TO = Change to\\n\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirm\\n .aria-label = Confirm set link\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Remove\\n .aria-label = Remove link\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = Cancel\\n .aria-label = Cancel set link\\n\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Template\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Bold\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Italics\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Underline\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Strike\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Align Left\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Align Center\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Align Right\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Align Justify\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Bullet List\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Ordered List\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Quote\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Code\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Image\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Link\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Add Link\\n .aria-label = Input field to add link\\n\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] { $youIncluded ->\\n *[true] reacted with { $reaction }\\n [false] reacted with { $reaction }\\n }\\n [one] { $youIncluded ->\\n *[true] reacted with { $reaction }\\n [false] reacted with { $reaction }\\n }\\n }\\n\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Add emoji\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No results\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = Search results\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = Search...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = Change default skin tone\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = Most recently used\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = Smileys and people\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = Nature\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = Food\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = Activity\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = Travel\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = Objects\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = Symbols\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = Flags\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = Custom\\n\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = Click to expand\\n\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = Active voice chat\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = Call\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = Do not disturb\\n\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1 user\\n *[other] {$count} users\\n }\\n\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = Open menu\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = prompt menu node\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = prompt collect node\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = prompt play node\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = go to expert node\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = branch node\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = go to node\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = assign node\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = customer data node\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = transfer node\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = hangup node\\n\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = Send\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = Attach Image\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = Select Emoji\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = Cancel\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = Toggle bold on selected text\\n .tooltip-text = Bold\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = Toggle italic on selected text\\n .tooltip-text = Italic\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = Toggle strikethrough on selected text\\n .tooltip-text = Strikethrough\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = Create or edit bullet list on selected text\\n .tooltip-text = Bullet list\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = Create or edit ordered list on selected text\\n .tooltip-text = Ordered list\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = Create or edit block quote on selected text\\n .tooltip-text = Block quote\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = Create or edit code on selected text\\n .tooltip-text = Code\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = Create or edit code block on selected text\\n .tooltip-text = Code block\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = Create or edit link on selected text\\n .tooltip-text = Link\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = Add a link\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = Text to display (optional)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = Link\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = e.g. https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = Remove\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = Cancel\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = Done\\n\\nDIALTONE_PAGINATION_FIRST_PAGE = First page\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = Previous page\\nDIALTONE_PAGINATION_NEXT_PAGE = Next page\\nDIALTONE_PAGINATION_LAST_PAGE = Last page\\nDIALTONE_PAGINATION_PAGE_NUMBER = Page number {$page}\\n\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = Edit\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = Open link\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = Remove\\n\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = Settings\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = Update\\n\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = Unread mentions\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = Unread messages\\n\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = English\\nSTORYBOOK_LANGUAGE_CHINESE = Chinese\\nSTORYBOOK_LANGUAGE_DUTCH = Dutch\\nSTORYBOOK_LANGUAGE_FRENCH = French\\nSTORYBOOK_LANGUAGE_GERMAN = German\\nSTORYBOOK_LANGUAGE_ITALIAN = Italian\\nSTORYBOOK_LANGUAGE_JAPANESE = Japanese\\nSTORYBOOK_LANGUAGE_PORTUGUESE = Portuguese\\nSTORYBOOK_LANGUAGE_RUSSIAN = Russian\\nSTORYBOOK_LANGUAGE_SPANISH = Spanish\\nSTORYBOOK_SET_LANGUAGE = Set language\\nSTORYBOOK_YOU = You\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim & Isabella Garcia\\nSTORYBOOK_REACTION_NAMES_3 = Olivia Chen & { STORYBOOK_YOU }\\n\""],"names":["enUS"],"mappings":"4GAAA,MAAAA,EAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
@@ -62,7 +62,17 @@ DIALTONE_EDITOR_ADD_LINK_BUTTON =
|
|
|
62
62
|
.title = Add Link
|
|
63
63
|
.aria-label = Input field to add link
|
|
64
64
|
|
|
65
|
-
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
65
|
+
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
66
|
+
{ $personCount ->
|
|
67
|
+
*[other] { $youIncluded ->
|
|
68
|
+
*[true] reacted with { $reaction }
|
|
69
|
+
[false] reacted with { $reaction }
|
|
70
|
+
}
|
|
71
|
+
[one] { $youIncluded ->
|
|
72
|
+
*[true] reacted with { $reaction }
|
|
73
|
+
[false] reacted with { $reaction }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
66
76
|
|
|
67
77
|
DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Add emoji
|
|
68
78
|
DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No results
|
|
@@ -171,6 +181,9 @@ STORYBOOK_LANGUAGE_PORTUGUESE = Portuguese
|
|
|
171
181
|
STORYBOOK_LANGUAGE_RUSSIAN = Russian
|
|
172
182
|
STORYBOOK_LANGUAGE_SPANISH = Spanish
|
|
173
183
|
STORYBOOK_SET_LANGUAGE = Set language
|
|
184
|
+
STORYBOOK_YOU = You
|
|
185
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim & Isabella Garcia
|
|
186
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chen & { STORYBOOK_YOU }
|
|
174
187
|
`;
|
|
175
188
|
export {
|
|
176
189
|
_ as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.js","sources":["../../../dialtone-vue2/localization/en-US.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Click to close\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = breadcrumbs\\nDIALTONE_LOADING = loading\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread messages\\n [1] 1 unread message\\n *[other] {$unreadCount} unread messages\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread mentions\\n [1] 1 unread mention\\n *[other] {$unreadCount} unread mentions\\n }\\nDIALTONE_TYPING_TEXT = Typing\\n\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Click to open\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Uploading\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Previous\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Next\\n\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Open dropdown\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Open popover\\n\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Open menu\\n\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Previous month\\nDIALTONE_DATEPICKER_NEXT_MONTH = Next month\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Previous year\\nDIALTONE_DATEPICKER_NEXT_YEAR = Next year\\nDIALTONE_DATEPICKER_SELECT_DAY = Select day\\nDIALTONE_DATEPICKER_CHANGE_TO = Change to\\n\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirm\\n .aria-label = Confirm set link\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Remove\\n .aria-label = Remove link\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = Cancel\\n .aria-label = Cancel set link\\n\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Template\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Bold\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Italics\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Underline\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Strike\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Align Left\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Align Center\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Align Right\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Align Justify\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Bullet List\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Ordered List\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Quote\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Code\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Image\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Link\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Add Link\\n .aria-label = Input field to add link\\n\\nDIALTONE_EMOJI_ROW_REACTION_LABEL
|
|
1
|
+
{"version":3,"file":"en-US.js","sources":["../../../dialtone-vue2/localization/en-US.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Click to close\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = breadcrumbs\\nDIALTONE_LOADING = loading\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread messages\\n [1] 1 unread message\\n *[other] {$unreadCount} unread messages\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No unread mentions\\n [1] 1 unread mention\\n *[other] {$unreadCount} unread mentions\\n }\\nDIALTONE_TYPING_TEXT = Typing\\n\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Click to open\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Uploading\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Previous\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Next\\n\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Open dropdown\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Open popover\\n\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Open menu\\n\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Previous month\\nDIALTONE_DATEPICKER_NEXT_MONTH = Next month\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Previous year\\nDIALTONE_DATEPICKER_NEXT_YEAR = Next year\\nDIALTONE_DATEPICKER_SELECT_DAY = Select day\\nDIALTONE_DATEPICKER_CHANGE_TO = Change to\\n\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirm\\n .aria-label = Confirm set link\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Remove\\n .aria-label = Remove link\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = Cancel\\n .aria-label = Cancel set link\\n\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Template\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Bold\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Italics\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Underline\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Strike\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Align Left\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Align Center\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Align Right\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Align Justify\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Bullet List\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Ordered List\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Quote\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Code\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Image\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Link\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Add Link\\n .aria-label = Input field to add link\\n\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] { $youIncluded ->\\n *[true] reacted with { $reaction }\\n [false] reacted with { $reaction }\\n }\\n [one] { $youIncluded ->\\n *[true] reacted with { $reaction }\\n [false] reacted with { $reaction }\\n }\\n }\\n\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Add emoji\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No results\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = Search results\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = Search...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = Change default skin tone\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = Most recently used\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = Smileys and people\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = Nature\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = Food\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = Activity\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = Travel\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = Objects\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = Symbols\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = Flags\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = Custom\\n\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = Click to expand\\n\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = Active voice chat\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = Call\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = Do not disturb\\n\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1 user\\n *[other] {$count} users\\n }\\n\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = Open menu\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = prompt menu node\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = prompt collect node\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = prompt play node\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = go to expert node\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = branch node\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = go to node\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = assign node\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = customer data node\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = transfer node\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = hangup node\\n\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = Send\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = Attach Image\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = Select Emoji\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = Cancel\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = Toggle bold on selected text\\n .tooltip-text = Bold\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = Toggle italic on selected text\\n .tooltip-text = Italic\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = Toggle strikethrough on selected text\\n .tooltip-text = Strikethrough\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = Create or edit bullet list on selected text\\n .tooltip-text = Bullet list\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = Create or edit ordered list on selected text\\n .tooltip-text = Ordered list\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = Create or edit block quote on selected text\\n .tooltip-text = Block quote\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = Create or edit code on selected text\\n .tooltip-text = Code\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = Create or edit code block on selected text\\n .tooltip-text = Code block\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = Create or edit link on selected text\\n .tooltip-text = Link\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = Add a link\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = Text to display (optional)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = Link\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = e.g. https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = Remove\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = Cancel\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = Done\\n\\nDIALTONE_PAGINATION_FIRST_PAGE = First page\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = Previous page\\nDIALTONE_PAGINATION_NEXT_PAGE = Next page\\nDIALTONE_PAGINATION_LAST_PAGE = Last page\\nDIALTONE_PAGINATION_PAGE_NUMBER = Page number {$page}\\n\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = Edit\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = Open link\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = Remove\\n\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = Settings\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = Update\\n\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = Unread mentions\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = Unread messages\\n\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = English\\nSTORYBOOK_LANGUAGE_CHINESE = Chinese\\nSTORYBOOK_LANGUAGE_DUTCH = Dutch\\nSTORYBOOK_LANGUAGE_FRENCH = French\\nSTORYBOOK_LANGUAGE_GERMAN = German\\nSTORYBOOK_LANGUAGE_ITALIAN = Italian\\nSTORYBOOK_LANGUAGE_JAPANESE = Japanese\\nSTORYBOOK_LANGUAGE_PORTUGUESE = Portuguese\\nSTORYBOOK_LANGUAGE_RUSSIAN = Russian\\nSTORYBOOK_LANGUAGE_SPANISH = Spanish\\nSTORYBOOK_SET_LANGUAGE = Set language\\nSTORYBOOK_YOU = You\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim & Isabella Garcia\\nSTORYBOOK_REACTION_NAMES_3 = Olivia Chen & { STORYBOOK_YOU }\\n\""],"names":["enUS"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAA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title = Agregar enlace
|
|
57
57
|
.aria-label = Campo de entrada para agregar enlace
|
|
58
|
-
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
58
|
+
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
59
|
+
{ $personCount ->
|
|
60
|
+
*[other] reaccionaron con { $reaction }
|
|
61
|
+
[one] reaccionó con { $reaction }
|
|
62
|
+
}
|
|
59
63
|
DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Agregar emoji
|
|
60
64
|
DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No hay resultados
|
|
61
65
|
DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = resultados de búsqueda
|
|
@@ -153,5 +157,8 @@ STORYBOOK_LANGUAGE_PORTUGUESE = Portugués
|
|
|
153
157
|
STORYBOOK_LANGUAGE_RUSSIAN = Ruso
|
|
154
158
|
STORYBOOK_LANGUAGE_SPANISH = Español
|
|
155
159
|
STORYBOOK_SET_LANGUAGE = Establecer idioma
|
|
160
|
+
STORYBOOK_YOU = Usted
|
|
161
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim e Isabella Garcia
|
|
162
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chen y { STORYBOOK_YOU }
|
|
156
163
|
`;exports.default=_;
|
|
157
164
|
//# sourceMappingURL=es-LA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-LA.cjs","sources":["../../../dialtone-vue2/localization/es-LA.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Haga clic para cerrar\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = Breadcrumbs\\nDIALTONE_LOADING = Cargando\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay mensajes sin leer\\n [1] 1 mensaje sin leer\\n *[other] { $unreadCount } mensajes sin leer\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay menciones sin leer\\n [1] 1 mención sin leer\\n *[other] { $unreadCount } menciones sin leer\\n }\\nDIALTONE_TYPING_TEXT = Está escribiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Haga clic para abrir\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Subiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Anterior\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Siguiente\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Abrir menú desplegable\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Abrir ventana emergente\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Abrir menú\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Mes anterior\\nDIALTONE_DATEPICKER_NEXT_MONTH = el próximo mes\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Año anterior\\nDIALTONE_DATEPICKER_NEXT_YEAR = el próximo año\\nDIALTONE_DATEPICKER_SELECT_DAY = Seleccionar día\\nDIALTONE_DATEPICKER_CHANGE_TO = Cambiar a\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirmar\\n .aria-label = Confirmar enlace establecido\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Eliminar\\n .aria-label = Eliminar enlace\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = cancelar\\n .aria-label = Cancelar enlace establecido\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Plantilla\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Negrita\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Cursiva\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Subrayado\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Tachado\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Alinear a la izquierda\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Alinear al centro\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Alinear a la derecha\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Alinear y justificar\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Lista de viñetas\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Lista ordenada\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Cita\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Código\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Imagen\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Enlace\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Agregar enlace\\n .aria-label = Campo de entrada para agregar enlace\\nDIALTONE_EMOJI_ROW_REACTION_LABEL
|
|
1
|
+
{"version":3,"file":"es-LA.cjs","sources":["../../../dialtone-vue2/localization/es-LA.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Haga clic para cerrar\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = Breadcrumbs\\nDIALTONE_LOADING = Cargando\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay mensajes sin leer\\n [1] 1 mensaje sin leer\\n *[other] { $unreadCount } mensajes sin leer\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay menciones sin leer\\n [1] 1 mención sin leer\\n *[other] { $unreadCount } menciones sin leer\\n }\\nDIALTONE_TYPING_TEXT = Está escribiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Haga clic para abrir\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Subiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Anterior\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Siguiente\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Abrir menú desplegable\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Abrir ventana emergente\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Abrir menú\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Mes anterior\\nDIALTONE_DATEPICKER_NEXT_MONTH = el próximo mes\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Año anterior\\nDIALTONE_DATEPICKER_NEXT_YEAR = el próximo año\\nDIALTONE_DATEPICKER_SELECT_DAY = Seleccionar día\\nDIALTONE_DATEPICKER_CHANGE_TO = Cambiar a\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirmar\\n .aria-label = Confirmar enlace establecido\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Eliminar\\n .aria-label = Eliminar enlace\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = cancelar\\n .aria-label = Cancelar enlace establecido\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Plantilla\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Negrita\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Cursiva\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Subrayado\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Tachado\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Alinear a la izquierda\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Alinear al centro\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Alinear a la derecha\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Alinear y justificar\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Lista de viñetas\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Lista ordenada\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Cita\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Código\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Imagen\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Enlace\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Agregar enlace\\n .aria-label = Campo de entrada para agregar enlace\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] reaccionaron con { $reaction }\\n [one] reaccionó con { $reaction }\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Agregar emoji\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No hay resultados\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = resultados de búsqueda\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = Buscar...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = Cambiar el tono de piel predeterminado\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = Usado más recientemente\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = Emoticonos y personas\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = naturaleza\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = alimento\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = Actividad\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = viaje\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = Objetos\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = Símbolos\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = Banderas\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = personalizado\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = Haga clic para ampliar\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = Chat de voz activo\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = Llamar\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = No molestar\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1 usuario\\n *[other] { $count } usuarios\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = Abrir menú\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = nodo de menú de indicación\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = nodo de recopilación rápida\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = nodo de reproducción rápida\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = ir al nodo experto\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = nodo de rama\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ir al nodo\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = asignar nodo\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = nodo de datos del cliente\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = nodo de transferencia\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = nodo de la función de colgar\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = enviar\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = Anexar imagen\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = Seleccionar emoji\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = cancelar\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = Active la negrita en el texto seleccionado\\n .tooltip-text = Negrita\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = Active la cursiva en el texto seleccionado\\n .tooltip-text = Cursiva\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = Active el tachado del texto seleccionado\\n .tooltip-text = Tachado\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = Cree o edite una lista de viñetas en el texto seleccionado\\n .tooltip-text = Lista de viñetas\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = Cree o edite una lista ordenada en el texto seleccionado\\n .tooltip-text = Lista ordenada\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = Cree o edite una cita en bloque en el texto seleccionado\\n .tooltip-text = Cita en bloque\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = Cree o edite un código en el texto seleccionado\\n .tooltip-text = Código\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = Cree o edite un bloque de código en el texto seleccionado\\n .tooltip-text = Bloque de código\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = Cree o edite un enlace en el texto seleccionado\\n .tooltip-text = Enlace\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = Agregar un enlace\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = Texto para mostrar (opcional)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = Enlace\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = por ejemplo, https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = Eliminar\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = cancelar\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = Listo\\nDIALTONE_PAGINATION_FIRST_PAGE = Nombre\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = Página anterior\\nDIALTONE_PAGINATION_NEXT_PAGE = Página siguiente\\nDIALTONE_PAGINATION_LAST_PAGE = Última página\\nDIALTONE_PAGINATION_PAGE_NUMBER = Número de página { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = Editar\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = Abrir enlace\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = Eliminar\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = configuración\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = Actualizar\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = Menciones sin leer\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = Mensajes sin leer\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = Inglés\\nSTORYBOOK_LANGUAGE_CHINESE = Chino\\nSTORYBOOK_LANGUAGE_DUTCH = Holandés\\nSTORYBOOK_LANGUAGE_FRENCH = Francés\\nSTORYBOOK_LANGUAGE_GERMAN = Alemán\\nSTORYBOOK_LANGUAGE_ITALIAN = Italiano\\nSTORYBOOK_LANGUAGE_JAPANESE = Japonés\\nSTORYBOOK_LANGUAGE_PORTUGUESE = Portugués\\nSTORYBOOK_LANGUAGE_RUSSIAN = Ruso\\nSTORYBOOK_LANGUAGE_SPANISH = Español\\nSTORYBOOK_SET_LANGUAGE = Establecer idioma\\nSTORYBOOK_YOU = Usted\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benj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
56
|
.title = Agregar enlace
|
|
57
57
|
.aria-label = Campo de entrada para agregar enlace
|
|
58
|
-
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
58
|
+
DIALTONE_EMOJI_ROW_REACTION_LABEL =
|
|
59
|
+
{ $personCount ->
|
|
60
|
+
*[other] reaccionaron con { $reaction }
|
|
61
|
+
[one] reaccionó con { $reaction }
|
|
62
|
+
}
|
|
59
63
|
DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Agregar emoji
|
|
60
64
|
DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No hay resultados
|
|
61
65
|
DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = resultados de búsqueda
|
|
@@ -153,6 +157,9 @@ STORYBOOK_LANGUAGE_PORTUGUESE = Portugués
|
|
|
153
157
|
STORYBOOK_LANGUAGE_RUSSIAN = Ruso
|
|
154
158
|
STORYBOOK_LANGUAGE_SPANISH = Español
|
|
155
159
|
STORYBOOK_SET_LANGUAGE = Establecer idioma
|
|
160
|
+
STORYBOOK_YOU = Usted
|
|
161
|
+
STORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim e Isabella Garcia
|
|
162
|
+
STORYBOOK_REACTION_NAMES_3 = Olivia Chen y { STORYBOOK_YOU }
|
|
156
163
|
`;
|
|
157
164
|
export {
|
|
158
165
|
_ as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-LA.js","sources":["../../../dialtone-vue2/localization/es-LA.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Haga clic para cerrar\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = Breadcrumbs\\nDIALTONE_LOADING = Cargando\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay mensajes sin leer\\n [1] 1 mensaje sin leer\\n *[other] { $unreadCount } mensajes sin leer\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay menciones sin leer\\n [1] 1 mención sin leer\\n *[other] { $unreadCount } menciones sin leer\\n }\\nDIALTONE_TYPING_TEXT = Está escribiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Haga clic para abrir\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Subiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Anterior\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Siguiente\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Abrir menú desplegable\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Abrir ventana emergente\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Abrir menú\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Mes anterior\\nDIALTONE_DATEPICKER_NEXT_MONTH = el próximo mes\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Año anterior\\nDIALTONE_DATEPICKER_NEXT_YEAR = el próximo año\\nDIALTONE_DATEPICKER_SELECT_DAY = Seleccionar día\\nDIALTONE_DATEPICKER_CHANGE_TO = Cambiar a\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirmar\\n .aria-label = Confirmar enlace establecido\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Eliminar\\n .aria-label = Eliminar enlace\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = cancelar\\n .aria-label = Cancelar enlace establecido\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Plantilla\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Negrita\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Cursiva\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Subrayado\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Tachado\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Alinear a la izquierda\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Alinear al centro\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Alinear a la derecha\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Alinear y justificar\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Lista de viñetas\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Lista ordenada\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Cita\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Código\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Imagen\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Enlace\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Agregar enlace\\n .aria-label = Campo de entrada para agregar enlace\\nDIALTONE_EMOJI_ROW_REACTION_LABEL
|
|
1
|
+
{"version":3,"file":"es-LA.js","sources":["../../../dialtone-vue2/localization/es-LA.ftl?raw"],"sourcesContent":["export default \"# Dialtone\\nDIALTONE_CLOSE_BUTTON = Haga clic para cerrar\\nDIALTONE_BREADCRUMBS_ARIA_LABEL = Breadcrumbs\\nDIALTONE_LOADING = Cargando\\nDIALTONE_UNREAD_MESSAGE_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay mensajes sin leer\\n [1] 1 mensaje sin leer\\n *[other] { $unreadCount } mensajes sin leer\\n }\\nDIALTONE_UNREAD_MENTION_COUNT_TEXT =\\n { $unreadCount ->\\n [0] No hay menciones sin leer\\n [1] 1 mención sin leer\\n *[other] { $unreadCount } menciones sin leer\\n }\\nDIALTONE_TYPING_TEXT = Está escribiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_CLICK_TO_OPEN_ARIA_LABEL = Haga clic para abrir\\nDIALTONE_ATTACHMENT_CAROUSEL_PROGRESS_BAR_ARIA_LABEL = Subiendo\\nDIALTONE_ATTACHMENT_CAROUSEL_LEFT_ARROW_ARIA_LABEL = Anterior\\nDIALTONE_ATTACHMENT_CAROUSEL_RIGHT_ARROW_ARIA_LABEL = Siguiente\\nDIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL = Abrir menú desplegable\\nDIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL = Abrir ventana emergente\\nDIALTONE_CONTACT_CENTERS_ROW_MENU_BUTTON_LABEL = Abrir menú\\nDIALTONE_DATEPICKER_PREVIOUS_MONTH = Mes anterior\\nDIALTONE_DATEPICKER_NEXT_MONTH = el próximo mes\\nDIALTONE_DATEPICKER_PREVIOUS_YEAR = Año anterior\\nDIALTONE_DATEPICKER_NEXT_YEAR = el próximo año\\nDIALTONE_DATEPICKER_SELECT_DAY = Seleccionar día\\nDIALTONE_DATEPICKER_CHANGE_TO = Cambiar a\\nDIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON =\\n .title = Confirmar\\n .aria-label = Confirmar enlace establecido\\nDIALTONE_EDITOR_REMOVE_LINK_BUTTON =\\n .title = Eliminar\\n .aria-label = Eliminar enlace\\nDIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON =\\n .title = cancelar\\n .aria-label = Cancelar enlace establecido\\nDIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL = Plantilla\\nDIALTONE_EDITOR_BOLD_BUTTON_LABEL = Negrita\\nDIALTONE_EDITOR_ITALICS_BUTTON_LABEL = Cursiva\\nDIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL = Subrayado\\nDIALTONE_EDITOR_STRIKE_BUTTON_LABEL = Tachado\\nDIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL = Alinear a la izquierda\\nDIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL = Alinear al centro\\nDIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL = Alinear a la derecha\\nDIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL = Alinear y justificar\\nDIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL = Lista de viñetas\\nDIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL = Lista ordenada\\nDIALTONE_EDITOR_QUOTE_BUTTON_LABEL = Cita\\nDIALTONE_EDITOR_CODE_BUTTON_LABEL = Código\\nDIALTONE_EDITOR_IMAGE_BUTTON_LABEL = Imagen\\nDIALTONE_EDITOR_LINK_BUTTON_LABEL = Enlace\\nDIALTONE_EDITOR_ADD_LINK_BUTTON =\\n .title = Agregar enlace\\n .aria-label = Campo de entrada para agregar enlace\\nDIALTONE_EMOJI_ROW_REACTION_LABEL =\\n { $personCount ->\\n *[other] reaccionaron con { $reaction }\\n [one] reaccionó con { $reaction }\\n }\\nDIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL = Agregar emoji\\nDIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL = No hay resultados\\nDIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL = resultados de búsqueda\\nDIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL = Buscar...\\nDIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL = Cambiar el tono de piel predeterminado\\nDIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL = Usado más recientemente\\nDIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL = Emoticonos y personas\\nDIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL = naturaleza\\nDIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL = alimento\\nDIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL = Actividad\\nDIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL = viaje\\nDIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL = Objetos\\nDIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL = Símbolos\\nDIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL = Banderas\\nDIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL = personalizado\\nDIALTONE_FEED_ITEM_PILL_ARIA_LABEL = Haga clic para ampliar\\nDIALTONE_GENERAL_ROW_ACTIVE_VOICE_CHAT_TEXT = Chat de voz activo\\nDIALTONE_GENERAL_ROW_CALL_BUTTON_TOOLTIP = Llamar\\nDIALTONE_GENERAL_ROW_DND_TEXT_TOOLTIP = No molestar\\nDIALTONE_GROUP_ROW_GROUP_COUNT_TEXT =\\n { $count ->\\n [1] 1 usuario\\n *[other] { $count } usuarios\\n }\\nDIALTONE_IVR_NODE_MENU_BUTTON_ARIA_LABEL = Abrir menú\\nDIALTONE_IVR_NODE_PROMPTMENU_ARIA_LABEL = nodo de menú de indicación\\nDIALTONE_IVR_NODE_PROMPTCOLLECT_ARIA_LABEL = nodo de recopilación rápida\\nDIALTONE_IVR_NODE_PROMPTPLAY_ARIA_LABEL = nodo de reproducción rápida\\nDIALTONE_IVR_NODE_GOTOEXPERT_ARIA_LABEL = ir al nodo experto\\nDIALTONE_IVR_NODE_BRANCH_ARIA_LABEL = nodo de rama\\nDIALTONE_IVR_NODE_GOTO_ARIA_LABEL = ir al nodo\\nDIALTONE_IVR_NODE_ASSIGN_ARIA_LABEL = asignar nodo\\nDIALTONE_IVR_NODE_CUSTOMERDATA_ARIA_LABEL = nodo de datos del cliente\\nDIALTONE_IVR_NODE_TRANSFER_ARIA_LABEL = nodo de transferencia\\nDIALTONE_IVR_NODE_HANGUP_ARIA_LABEL = nodo de la función de colgar\\nDIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL = enviar\\nDIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL = Anexar imagen\\nDIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL = Seleccionar emoji\\nDIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL = cancelar\\nDIALTONE_MESSAGE_INPUT_BOLD_BUTTON_LABEL =\\n .aria-label = Active la negrita en el texto seleccionado\\n .tooltip-text = Negrita\\nDIALTONE_MESSAGE_INPUT_ITALIC_BUTTON_LABEL =\\n .aria-label = Active la cursiva en el texto seleccionado\\n .tooltip-text = Cursiva\\nDIALTONE_MESSAGE_INPUT_STRIKETHROUGH_BUTTON_LABEL =\\n .aria-label = Active el tachado del texto seleccionado\\n .tooltip-text = Tachado\\nDIALTONE_MESSAGE_INPUT_BULLET_LIST_BUTTON_LABEL =\\n .aria-label = Cree o edite una lista de viñetas en el texto seleccionado\\n .tooltip-text = Lista de viñetas\\nDIALTONE_MESSAGE_INPUT_ORDERED_LIST_BUTTON_LABEL =\\n .aria-label = Cree o edite una lista ordenada en el texto seleccionado\\n .tooltip-text = Lista ordenada\\nDIALTONE_MESSAGE_INPUT_BLOCK_QUOTE_BUTTON_LABEL =\\n .aria-label = Cree o edite una cita en bloque en el texto seleccionado\\n .tooltip-text = Cita en bloque\\nDIALTONE_MESSAGE_INPUT_CODE_BUTTON_LABEL =\\n .aria-label = Cree o edite un código en el texto seleccionado\\n .tooltip-text = Código\\nDIALTONE_MESSAGE_INPUT_CODE_BLOCK_BUTTON_LABEL =\\n .aria-label = Cree o edite un bloque de código en el texto seleccionado\\n .tooltip-text = Bloque de código\\nDIALTONE_MESSAGE_INPUT_LINK_BUTTON_LABEL =\\n .aria-label = Cree o edite un enlace en el texto seleccionado\\n .tooltip-text = Enlace\\nDIALTONE_MESSAGE_INPUT_LINK_DIALOG_TITLE = Agregar un enlace\\nDIALTONE_MESSAGE_INPUT_LINK_TEXT_LABEL = Texto para mostrar (opcional)\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_LABEL = Enlace\\nDIALTONE_MESSAGE_INPUT_LINK_LINK_PLACEHOLDER = por ejemplo, https://www.dialpad.com\\nDIALTONE_MESSAGE_INPUT_LINK_REMOVE_LABEL = Eliminar\\nDIALTONE_MESSAGE_INPUT_LINK_CANCEL_LABEL = cancelar\\nDIALTONE_MESSAGE_INPUT_LINK_CONFIRM_LABEL = Listo\\nDIALTONE_PAGINATION_FIRST_PAGE = Nombre\\nDIALTONE_PAGINATION_PREVIOUS_PAGE = Página anterior\\nDIALTONE_PAGINATION_NEXT_PAGE = Página siguiente\\nDIALTONE_PAGINATION_LAST_PAGE = Última página\\nDIALTONE_PAGINATION_PAGE_NUMBER = Número de página { $page }\\nDIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL = Editar\\nDIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL = Abrir enlace\\nDIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL = Eliminar\\nDIALTONE_SETTINGS_MENU_DEFAULT_BUTTON_LABEL = configuración\\nDIALTONE_SETTINGS_MENU_UPDATE_BUTTON_LABEL = Actualizar\\nDIALTONE_UNREAD_PILL_MENTIONS_TEXT = Menciones sin leer\\nDIALTONE_UNREAD_PILL_MESSAGES_TEXT = Mensajes sin leer\\n# Storybook only\\nSTORYBOOK_LANGUAGE_ENGLISH = Inglés\\nSTORYBOOK_LANGUAGE_CHINESE = Chino\\nSTORYBOOK_LANGUAGE_DUTCH = Holandés\\nSTORYBOOK_LANGUAGE_FRENCH = Francés\\nSTORYBOOK_LANGUAGE_GERMAN = Alemán\\nSTORYBOOK_LANGUAGE_ITALIAN = Italiano\\nSTORYBOOK_LANGUAGE_JAPANESE = Japonés\\nSTORYBOOK_LANGUAGE_PORTUGUESE = Portugués\\nSTORYBOOK_LANGUAGE_RUSSIAN = Ruso\\nSTORYBOOK_LANGUAGE_SPANISH = Español\\nSTORYBOOK_SET_LANGUAGE = Establecer idioma\\nSTORYBOOK_YOU = Usted\\nSTORYBOOK_REACTION_NAMES_2 = Olivia Chen, Benjamin Carter, Sophia Rodriguez, William Kim e Isabella Garcia\\nSTORYBOOK_REACTION_NAMES_3 = Olivia Chen y { STORYBOOK_YOU }\\n\""],"names":["esLA"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function extractInitialsFromName(fullName: any):
|
|
1
|
+
export function extractInitialsFromName(fullName: any): any;
|
|
2
2
|
//# sourceMappingURL=utils.d.ts.map
|