@dialpad/dialtone 9.49.2 → 9.51.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.css +2 -2
- package/dist/tokens/css/variables-dark.css +1 -1
- package/dist/tokens/css/variables-expressive-dark.css +1 -1
- package/dist/tokens/css/variables-expressive-light.css +1 -1
- package/dist/tokens/css/variables-expressive-sm-dark.css +1 -1
- package/dist/tokens/css/variables-expressive-sm-light.css +1 -1
- package/dist/tokens/css/variables-light.css +1 -1
- package/dist/tokens/css/variables-tmo-dark.css +1 -1
- package/dist/tokens/css/variables-tmo-light.css +1 -1
- package/dist/tokens/less/variables-dark.less +1 -1
- package/dist/tokens/less/variables-expressive-dark.less +1 -1
- package/dist/tokens/less/variables-expressive-light.less +1 -1
- package/dist/tokens/less/variables-expressive-sm-dark.less +1 -1
- package/dist/tokens/less/variables-expressive-sm-light.less +1 -1
- package/dist/tokens/less/variables-light.less +1 -1
- package/dist/tokens/less/variables-tmo-dark.less +1 -1
- package/dist/tokens/less/variables-tmo-light.less +1 -1
- package/dist/vue2/chunks/{dropdown-8L_PePwv.js → dropdown-6UoczdUY.js} +2 -2
- package/dist/vue2/chunks/{dropdown-8L_PePwv.js.map → dropdown-6UoczdUY.js.map} +1 -1
- package/dist/vue2/chunks/{dropdown-2D4i6Qkg.js → dropdown-pHxnQPzT.js} +2 -2
- package/dist/vue2/chunks/{dropdown-2D4i6Qkg.js.map → dropdown-pHxnQPzT.js.map} +1 -1
- package/dist/vue2/chunks/{popover_constants-kQaX7G4a.js → popover_constants-WsOUIY-m.js} +2 -2
- package/dist/vue2/chunks/{popover_constants-kQaX7G4a.js.map → popover_constants-WsOUIY-m.js.map} +1 -1
- package/dist/vue2/chunks/{popover_constants-qUYTzsS3.js → popover_constants-XnGWXaxX.js} +2 -2
- package/dist/vue2/chunks/{popover_constants-qUYTzsS3.js.map → popover_constants-XnGWXaxX.js.map} +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +2 -2
- package/dist/vue2/dialtone-vue.js +2 -2
- package/dist/vue2/lib/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover.js +1 -1
- package/dist/vue2/lib/callbar-button.cjs +1 -1
- package/dist/vue2/lib/callbar-button.js +1 -1
- package/dist/vue2/lib/combobox-multi-select.cjs +1 -1
- package/dist/vue2/lib/combobox-multi-select.js +1 -1
- package/dist/vue2/lib/combobox-with-popover.cjs +1 -1
- package/dist/vue2/lib/combobox-with-popover.js +1 -1
- package/dist/vue2/lib/contact-row.cjs +1 -1
- package/dist/vue2/lib/contact-row.js +1 -1
- package/dist/vue2/lib/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker.js +1 -1
- package/dist/vue2/lib/dropdown.cjs +2 -2
- package/dist/vue2/lib/dropdown.js +2 -2
- package/dist/vue2/lib/editor.cjs +1 -1
- package/dist/vue2/lib/editor.js +1 -1
- package/dist/vue2/lib/emoji-picker.cjs +24 -12
- package/dist/vue2/lib/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker.js +24 -12
- package/dist/vue2/lib/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row.js +1 -1
- package/dist/vue2/lib/general-row.cjs +21 -4
- package/dist/vue2/lib/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row.js +21 -4
- package/dist/vue2/lib/general-row.js.map +1 -1
- package/dist/vue2/lib/group-row.cjs +1 -1
- package/dist/vue2/lib/group-row.js +1 -1
- package/dist/vue2/lib/hovercard.cjs +1 -1
- package/dist/vue2/lib/hovercard.js +1 -1
- package/dist/vue2/lib/input.cjs +5 -3
- package/dist/vue2/lib/input.cjs.map +1 -1
- package/dist/vue2/lib/input.js +5 -3
- package/dist/vue2/lib/input.js.map +1 -1
- package/dist/vue2/lib/ivr-node.cjs +2 -2
- package/dist/vue2/lib/ivr-node.js +2 -2
- package/dist/vue2/lib/message-input.cjs +1 -1
- package/dist/vue2/lib/message-input.js +1 -1
- package/dist/vue2/lib/popover.cjs +50 -3
- package/dist/vue2/lib/popover.cjs.map +1 -1
- package/dist/vue2/lib/popover.js +51 -4
- package/dist/vue2/lib/popover.js.map +1 -1
- package/dist/vue2/lib/tooltip-directive.cjs +1 -1
- package/dist/vue2/lib/tooltip-directive.js +1 -1
- package/dist/vue2/lib/tooltip.cjs +1 -1
- package/dist/vue2/lib/tooltip.js +2 -2
- package/dist/vue2/style.css +64 -56
- package/dist/vue2/types/components/input/input.vue.d.ts +6 -4
- package/dist/vue2/types/components/input/input.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/input/input_constants.d.ts +1 -0
- package/dist/vue2/types/components/popover/popover_constants.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +23 -0
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue3/chunks/{dropdown-tVfEPEl1.js → dropdown-oA-_Gotg.js} +2 -2
- package/dist/vue3/chunks/{dropdown-tVfEPEl1.js.map → dropdown-oA-_Gotg.js.map} +1 -1
- package/dist/vue3/chunks/{dropdown-XFYig-ys.js → dropdown-p-Azgwov.js} +2 -2
- package/dist/vue3/chunks/{dropdown-XFYig-ys.js.map → dropdown-p-Azgwov.js.map} +1 -1
- package/dist/vue3/chunks/{popover_constants-kQaX7G4a.js → popover_constants-WsOUIY-m.js} +2 -2
- package/dist/vue3/chunks/{popover_constants-kQaX7G4a.js.map → popover_constants-WsOUIY-m.js.map} +1 -1
- package/dist/vue3/chunks/{popover_constants-qUYTzsS3.js → popover_constants-XnGWXaxX.js} +2 -2
- package/dist/vue3/chunks/{popover_constants-qUYTzsS3.js.map → popover_constants-XnGWXaxX.js.map} +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +2 -2
- package/dist/vue3/dialtone-vue.js +2 -2
- package/dist/vue3/lib/callbar-button-with-popover.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-popover.js +1 -1
- package/dist/vue3/lib/callbar-button.cjs +1 -1
- package/dist/vue3/lib/callbar-button.js +1 -1
- package/dist/vue3/lib/combobox-multi-select.cjs +1 -1
- package/dist/vue3/lib/combobox-multi-select.js +1 -1
- package/dist/vue3/lib/combobox-with-popover.cjs +1 -1
- package/dist/vue3/lib/combobox-with-popover.js +1 -1
- package/dist/vue3/lib/contact-row.cjs +1 -1
- package/dist/vue3/lib/contact-row.js +1 -1
- package/dist/vue3/lib/datepicker.cjs +1 -1
- package/dist/vue3/lib/datepicker.js +1 -1
- package/dist/vue3/lib/dropdown.cjs +2 -2
- package/dist/vue3/lib/dropdown.js +2 -2
- package/dist/vue3/lib/editor.cjs +1 -1
- package/dist/vue3/lib/editor.js +1 -1
- package/dist/vue3/lib/emoji-picker.cjs +50 -28
- package/dist/vue3/lib/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker.js +50 -28
- package/dist/vue3/lib/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row.js +1 -1
- package/dist/vue3/lib/general-row.cjs +21 -4
- package/dist/vue3/lib/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row.js +21 -4
- package/dist/vue3/lib/general-row.js.map +1 -1
- package/dist/vue3/lib/group-row.cjs +1 -1
- package/dist/vue3/lib/group-row.js +1 -1
- package/dist/vue3/lib/hovercard.cjs +1 -1
- package/dist/vue3/lib/hovercard.js +1 -1
- package/dist/vue3/lib/input.cjs +5 -3
- package/dist/vue3/lib/input.cjs.map +1 -1
- package/dist/vue3/lib/input.js +5 -3
- package/dist/vue3/lib/input.js.map +1 -1
- package/dist/vue3/lib/ivr-node.cjs +2 -2
- package/dist/vue3/lib/ivr-node.js +2 -2
- package/dist/vue3/lib/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input.js +1 -1
- package/dist/vue3/lib/popover.cjs +50 -3
- package/dist/vue3/lib/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover.js +51 -4
- package/dist/vue3/lib/popover.js.map +1 -1
- package/dist/vue3/lib/tooltip-directive.cjs +1 -1
- package/dist/vue3/lib/tooltip-directive.js +1 -1
- package/dist/vue3/lib/tooltip.cjs +1 -1
- package/dist/vue3/lib/tooltip.js +2 -2
- package/dist/vue3/style.css +64 -56
- package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts +1 -1
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/input/input.vue.d.ts +6 -4
- package/dist/vue3/types/components/input/input.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/input/input_constants.d.ts +1 -0
- package/dist/vue3/types/components/popover/popover_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +23 -0
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.js","sources":["../../components/popover/popover_header_footer.vue","../../components/popover/popover.vue"],"sourcesContent":["<template>\n <div\n data-qa=\"dt-popover-header-footer\"\n :class=\"{\n 'd-popover__header': type === 'header',\n 'd-popover__footer': type === 'footer',\n }\"\n >\n <div\n v-if=\"hasSlotContent($slots.content)\"\n data-qa=\"dt-popover-header-footer-content\"\n :class=\"[{\n 'd-popover__header__content': type === 'header',\n 'd-popover__footer__content': type === 'footer',\n }, contentClass]\"\n >\n <!-- @slot Slot for main content -->\n <slot name=\"content\" />\n </div>\n <dt-button\n v-if=\"showCloseButton\"\n ref=\"popover__close-button\"\n data-qa=\"dt-popover-close\"\n :class=\"{\n 'd-popover__header__close-button': type === 'header',\n 'd-popover__footer__close-button': type === 'footer',\n }\"\n importance=\"outlined\"\n kind=\"muted\"\n circle\n v-bind=\"closeButtonProps\"\n @click=\"$emit('close')\"\n >\n <template #icon>\n <dt-icon\n name=\"close\"\n size=\"300\"\n />\n </template>\n </dt-button>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtIcon } from '@/components/icon';\nimport { hasSlotContent } from '@/common/utils';\n\nexport default {\n name: 'PopoverHeaderFooter',\n components: {\n DtButton,\n DtIcon,\n },\n\n props: {\n // eslint-disable-next-line vue/require-default-prop\n type: {\n type: String,\n validator: function (value) {\n return ['header', 'footer'].includes(value);\n },\n },\n\n /**\n * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Determines visibility for close button\n * @values true, false\n */\n showCloseButton: {\n type: Boolean,\n default: false,\n },\n\n /**\n * A set of props to be passed into the popover's header close button.\n * Requires an 'ariaLabel' property.\n */\n closeButtonProps: {\n type: Object,\n default: () => {},\n },\n },\n\n emits: [\n /**\n * Emitted when popover is closed\n *\n * @event close\n * @type { Boolean }\n */\n 'close',\n ],\n\n data () {\n return {\n hasSlotContent,\n };\n },\n\n methods: {\n focusCloseButton () {\n const closeButton = this.$refs['popover__close-button']?.$el;\n closeButton?.focus();\n },\n },\n};\n</script>\n","<!-- eslint-disable vuejs-accessibility/mouse-events-have-key-events -->\n<template>\n <div>\n <Teleport\n v-if=\"modal && isOpen\"\n to=\"body\"\n >\n <div\n class=\"d-modal--transparent\"\n :aria-hidden=\"modal && isOpen ? 'false' : 'true'\"\n @click.prevent.stop\n />\n </Teleport>\n <component\n :is=\"elementType\"\n ref=\"popover\"\n :class=\"['d-popover', { 'd-popover__anchor--opened': isOpen }]\"\n data-qa=\"dt-popover-container\"\n >\n <!-- eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -->\n <div\n :id=\"!ariaLabelledby && labelledBy\"\n ref=\"anchor\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}-anchor` : 'dt-popover-anchor'\"\n :tabindex=\"openOnContext ? 0 : undefined\"\n @click.capture=\"defaultToggleOpen\"\n @contextmenu=\"onContext\"\n @keydown.up.prevent=\"onArrowKeyPress\"\n @keydown.down.prevent=\"onArrowKeyPress\"\n @keydown.escape.capture=\"closePopover\"\n @keydown.enter=\"$emit('keydown', $event)\"\n @keydown.space=\"$emit('keydown', $event)\"\n @mouseenter=\"onEnterAnchor\"\n @mouseleave=\"onLeaveAnchor\"\n >\n <!-- @slot Anchor element that activates the popover. Usually a button. -->\n <slot\n name=\"anchor\"\n :attrs=\"{\n 'aria-expanded': isOpen.toString(),\n 'aria-controls': id,\n 'aria-haspopup': role,\n }\"\n />\n </div>\n <dt-lazy-show\n :id=\"id\"\n ref=\"content\"\n :role=\"role\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}__dialog` : 'dt-popover'\"\n :aria-hidden=\"`${!isOpen}`\"\n :aria-labelledby=\"labelledBy\"\n :aria-label=\"ariaLabel\"\n :aria-modal=\"`${!modal}`\"\n :transition=\"transition\"\n :show=\"isOpen\"\n :appear=\"toAppear\"\n :class=\"['d-popover__dialog', { 'd-popover__dialog--modal': modal }, dialogClass]\"\n :style=\"{\n 'max-height': calculatedMaxHeight,\n 'max-width': maxWidth,\n }\"\n :css=\"$attrs.css\"\n :tabindex=\"contentTabindex\"\n v-on=\"popoverListeners\"\n @mouseenter=\"onEnterContent\"\n @mouseleave=\"onLeaveContent\"\n >\n <popover-header-footer\n v-if=\"hasSlotContent($slots.headerContent) || showCloseButton\"\n ref=\"popover__header\"\n :class=\"POPOVER_HEADER_FOOTER_PADDING_CLASSES[padding]\"\n :content-class=\"headerClass\"\n type=\"header\"\n :show-close-button=\"showCloseButton\"\n :close-button-props=\"closeButtonProps\"\n @close=\"closePopover\"\n >\n <template #content>\n <!-- @slot Slot for popover header content -->\n <slot\n name=\"headerContent\"\n :close=\"closePopover\"\n />\n </template>\n </popover-header-footer>\n <div\n ref=\"popover__content\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}-content` : 'dt-popover-content'\"\n :class=\"[\n 'd-popover__content',\n POPOVER_PADDING_CLASSES[padding],\n contentClass,\n ]\"\n >\n <!-- @slot Slot for the content that is displayed in the popover when it is open. -->\n <slot\n name=\"content\"\n :close=\"closePopover\"\n />\n </div>\n <popover-header-footer\n v-if=\"hasSlotContent($slots.footerContent)\"\n ref=\"popover__footer\"\n type=\"footer\"\n :class=\"POPOVER_HEADER_FOOTER_PADDING_CLASSES[padding]\"\n :content-class=\"footerClass\"\n >\n <template #content>\n <!-- @slot Slot for the footer content. -->\n <slot\n name=\"footerContent\"\n :close=\"closePopover\"\n />\n </template>\n </popover-header-footer>\n <sr-only-close-button\n v-if=\"showVisuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n @close=\"closePopover\"\n />\n </dt-lazy-show>\n </component>\n </div>\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport {\n POPOVER_APPEND_TO_VALUES,\n POPOVER_CONTENT_WIDTHS,\n POPOVER_HEADER_FOOTER_PADDING_CLASSES,\n POPOVER_INITIAL_FOCUS_STRINGS,\n POPOVER_PADDING_CLASSES,\n POPOVER_ROLES,\n POPOVER_STICKY_VALUES,\n} from './popover_constants';\nimport { getUniqueString, hasSlotContent, isOutOfViewPort } from '@/common/utils';\nimport { DtLazyShow } from '@/components/lazy_show';\nimport ModalMixin from '@/common/mixins/modal';\nimport { createTippyPopover, getPopperOptions } from './tippy_utils';\nimport PopoverHeaderFooter from './popover_header_footer.vue';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\nimport { TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\n\n/**\n * A Popover displays a content overlay when its anchor element is activated.\n * @see https://dialtone.dialpad.com/components/popover.html\n */\nexport default {\n name: 'DtPopover',\n\n /********************\n * CHILD COMPONENTS *\n ********************/\n components: {\n SrOnlyCloseButton,\n DtLazyShow,\n PopoverHeaderFooter,\n },\n\n mixins: [ModalMixin, SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.\n * If you set this value, the default trigger behavior will be disabled, and you can control it as you need.\n * Supports v-model\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Opens the popover on right click (context menu). If you set this value to `true`,\n * the default trigger behavior will be disabled.\n * @values true, false\n */\n openOnContext: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Element type (tag name) of the root element of the component.\n */\n elementType: {\n type: String,\n default: 'div',\n },\n\n /**\n * Named transition when the content display is toggled.\n * @see DtLazyShow\n */\n transition: {\n type: String,\n default: 'fade',\n },\n\n /**\n * ARIA role for the content of the popover. Defaults to \"dialog\".\n * <a class=\"d-link\" href=\"https://www.w3.org/TR/wai-aria/#aria-haspopup\" target=\"_blank\">aria-haspopup</a>\n */\n role: {\n type: String,\n default: 'dialog',\n validator: (role) => {\n return POPOVER_ROLES.includes(role);\n },\n },\n\n /**\n * ID of the element that serves as the label for the popover content.\n * Defaults to the \"anchor\" element; this exists to provide a different\n * ID of the label element if, for example, the anchor slot contains\n * other items that do not serve as a label. You should provide this\n * or ariaLabel, but not both.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Descriptive label for the popover content. You should provide this\n * or ariaLabelledby, but not both.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * A set of props to be passed into the popover's header close button.\n * Requires an 'ariaLabel' property, when the header popover is visible\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Padding size class for the popover content.\n * @values none, small, medium, large\n */\n padding: {\n type: String,\n default: 'large',\n validator: (padding) => {\n return Object.keys(POPOVER_PADDING_CLASSES).some((item) => item === padding);\n },\n },\n\n /**\n * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Width configuration for the popover content. When its value is 'anchor',\n * the popover content will have the same width as the anchor.\n * @values null, anchor\n */\n contentWidth: {\n type: String,\n default: '',\n validator: contentWidth => POPOVER_CONTENT_WIDTHS.includes(contentWidth),\n },\n\n /**\n * Whether to apply transition on initial render in the content lazy show component.\n */\n contentAppear: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Tabindex value for the content. Passing null, no tabindex attribute will be set.\n */\n contentTabindex: {\n type: Number || null,\n default: -1,\n },\n\n /**\n * External anchor id to use in those cases the anchor can't be provided via the slot.\n * For instance, using the combobox's input as the anchor for the popover.\n */\n externalAnchor: {\n type: String,\n default: '',\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 4],\n },\n\n /**\n * Determines if the popover hides upon clicking the\n * anchor or outside the content box.\n * @values true, false\n */\n hideOnClick: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines modal state. If enabled popover has a modal overlay\n * preventing interaction with elements below it, but it is invisible.\n * @values true, false\n */\n modal: {\n type: Boolean,\n default: true,\n },\n\n /**\n * If the popover does not fit in the direction described by \"placement\",\n * it will attempt to change its direction to the \"fallbackPlacements\".\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n */\n placement: {\n type: String,\n default: 'bottom-end',\n },\n\n /**\n * If set to false the dialog will display over top of the anchor when there is insufficient space.\n * If set to true it will never move from its position relative to the anchor and will clip instead.\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/prevent-overflow/#tether\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * @values true, false\n */\n tether: {\n type: Boolean,\n default: true,\n },\n\n /**\n * If the popover sticks to the anchor. This is usually not needed, but can be needed\n * if the reference element's position is animating, or to automatically update the popover\n * position in those cases the DOM layout changes the reference element's position.\n * `true` enables it, `reference` only checks the \"reference\" rect for changes and `popper` only\n * checks the \"popper\" rect for changes.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#sticky\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values true, false, reference, popper\n */\n sticky: {\n type: [Boolean, String],\n default: false,\n validator: (sticky) => {\n return POPOVER_STICKY_VALUES.includes(sticky);\n },\n },\n\n /**\n * Determines maximum height for the popover before overflow.\n * Possible units rem|px|em\n */\n maxHeight: {\n type: String,\n default: '',\n },\n\n /**\n * Determines maximum width for the popover before overflow.\n * Possible units rem|px|%|em\n */\n maxWidth: {\n type: String,\n default: '',\n },\n\n /**\n * Determines visibility for close button\n * @values true, false\n */\n showCloseButton: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Additional class name for the header content wrapper element.\n */\n headerClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the footer content wrapper element.\n */\n footerClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the dialog element.\n */\n dialogClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, 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 * @values none, dialog, first\n */\n initialFocusElement: {\n type: [String, HTMLElement],\n default: 'first',\n validator: initialFocusElement => {\n return POPOVER_INITIAL_FOCUS_STRINGS.includes(initialFocusElement) ||\n (initialFocusElement instanceof HTMLElement) ||\n initialFocusElement.startsWith('#');\n },\n },\n\n /**\n * If the popover should open pressing up or down arrow key on the anchor element.\n * This can be set when not passing open prop.\n * @values true, false\n */\n openWithArrowKeys: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the element to which the popover is going to append to.\n * 'body' will append to the nearest body (supports shadow DOM).\n * @values 'body', 'parent', HTMLElement,\n */\n appendTo: {\n type: [HTMLElement, String],\n default: 'body',\n validator: appendTo => {\n return POPOVER_APPEND_TO_VALUES.includes(appendTo) ||\n (appendTo instanceof HTMLElement);\n },\n },\n\n /**\n * Set this prop to true and popover component will support hovercard behaviour\n * It will open on mouseenter and close on mouseleave with timer delay of 300ms\n */\n hovercard: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The timer is used only when the hovercard prop is true.\n * It defines the delays when opening several hovercards.\n * It must have the keys: enter, leave and current.\n * If null, the default delay of 300ms will be used.\n */\n timer: {\n type: [Object, null],\n default: null,\n validator: timer => {\n return timer === null || (timer.enter && timer.leave && Object.keys(timer).includes('current'));\n },\n },\n },\n\n emits: [\n /**\n * Native keydown event\n *\n * @event keydown\n * @type {KeyboardEvent}\n */\n 'keydown',\n\n /**\n * Event fired to sync the open prop with the parent component\n * @event update:open\n */\n 'update:open',\n\n /**\n * Emitted when popover is shown or hidden\n *\n * @event opened\n * @type {Boolean | Array}\n */\n 'opened',\n ],\n\n data () {\n return {\n POPOVER_PADDING_CLASSES,\n POPOVER_HEADER_FOOTER_PADDING_CLASSES,\n intersectionObserver: null,\n isOutsideViewport: false,\n isOpen: false,\n toAppear: false,\n anchorEl: null,\n popoverContentEl: null,\n hasSlotContent,\n inTimer: null,\n outTimer: null,\n };\n },\n\n computed: {\n popoverListeners () {\n return {\n keydown: event => {\n this.onKeydown(event);\n },\n\n 'after-leave': event => {\n this.onLeaveTransitionComplete();\n },\n\n 'after-enter': event => {\n this.onEnterTransitionComplete();\n },\n };\n },\n\n calculatedMaxHeight () {\n if (this.isOutsideViewport && this.modal) {\n return `calc(100vh - var(--dt-space-300))`;\n }\n return this.maxHeight;\n },\n\n labelledBy () {\n // aria-labelledby should be set only if aria-labelledby is passed as a prop, or if\n // there is no aria-label and the labelledby should point to the anchor.\n return this.ariaLabelledby || (!this.ariaLabel && getUniqueString('DtPopover__anchor'));\n },\n\n currentHovercard () {\n return this.timer?.current;\n },\n },\n\n watch: {\n $props: {\n immediate: true,\n deep: true,\n handler () {\n this.validateProps();\n },\n },\n\n modal (modal) {\n this.tip?.setProps({\n zIndex: modal ? 650 : this.calculateAnchorZindex(),\n });\n },\n\n offset (offset) {\n this.tip?.setProps({\n offset,\n });\n },\n\n sticky (sticky) {\n this.tip?.setProps({\n sticky,\n });\n },\n\n fallbackPlacements () {\n this.tip?.setProps({\n popperOptions: this.popperOptions(),\n });\n },\n\n tether () {\n this.tip?.setProps({\n popperOptions: this.popperOptions(),\n });\n },\n\n placement (placement) {\n this.tip?.setProps({\n placement,\n });\n },\n\n open: {\n handler: function (open) {\n if (open !== null) {\n this.isOpen = open;\n }\n if (open === true) {\n this.toAppear = true;\n }\n },\n\n immediate: true,\n },\n\n contentAppear: {\n handler: function (contentAppear) {\n if (contentAppear !== null) {\n this.toAppear = contentAppear;\n }\n },\n },\n\n isOpen (isOpen, isPrev) {\n if (isOpen) {\n this.initTippyInstance();\n this.tip.show();\n } else if (!isOpen && isPrev !== isOpen) {\n this.removeEventListeners();\n this.tip.hide();\n }\n },\n\n currentHovercard () {\n if (this.hovercard && this.timer) {\n if (this.currentHovercard === this.id) {\n this.isOpen = true;\n } else {\n this.isOpen = false;\n }\n }\n },\n },\n\n mounted () {\n const externalAnchorEl = this.externalAnchor\n ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`)\n : null;\n this.anchorEl = externalAnchorEl ?? this.$refs.anchor.children[0];\n this.popoverContentEl = this.$refs.content?.$el;\n\n if (this.isOpen) {\n this.initTippyInstance();\n this.tip.show();\n }\n\n // rootMargin here must be greater than the margin of the height we are setting in calculatedMaxHeight which\n // currently is var(--dt-space-300) (4px). If not the intersectionObserver will continually trigger in an infinite\n // loop.\n // threshold 1.0 makes this trigger every time the dialog \"touches\" the edge of the viewport.\n this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport);\n this.intersectionObserver.observe(this.popoverContentEl);\n },\n\n beforeUnmount () {\n this.tip?.destroy();\n this.intersectionObserver.disconnect();\n this.removeReferences();\n this.removeEventListeners();\n },\n\n /******************\n * METHODS *\n ******************/\n methods: {\n\n hasIntersectedViewport (entries) {\n const dialog = entries?.[0]?.target;\n if (!dialog) return;\n const isOut = isOutOfViewPort(dialog);\n this.isOutsideViewport = isOut.bottom || isOut.top;\n },\n\n popperOptions () {\n return getPopperOptions({\n fallbackPlacements: this.fallbackPlacements,\n tether: this.tether,\n hasHideModifierEnabled: true,\n });\n },\n\n validateProps () {\n if (this.modal && this.initialFocusElement === 'none') {\n console.error('If the popover is modal you must set the ' +\n 'initialFocusElement prop. Possible values: \"dialog\", \"first\", HTMLElement');\n }\n },\n\n calculateAnchorZindex () {\n // if a modal is currently active render at modal-element z-index, otherwise at popover z-index\n if (this.$el.getRootNode()\n .querySelector('.d-modal[aria-hidden=\"false\"], .d-modal--transparent[aria-hidden=\"false\"]') ||\n // Special case because we don't have any dialtone drawer component yet. Render at 650 when\n // anchor of popover is within a drawer.\n this.anchorEl?.closest('.d-zi-drawer')) {\n return 650;\n } else {\n return 300;\n }\n },\n\n defaultToggleOpen (e) {\n if (this.hovercard) { return; }\n if (this.openOnContext) { return; }\n\n // Only use default toggle behaviour if the user has not set the open prop.\n // Check that the anchor element specifically was clicked.\n if (this.open === null || this.open === undefined) {\n if ((!this.anchorEl?.contains(e.target) && !this.anchorEl?.isEqualNode(e.target)) || this.anchorEl?.disabled) {\n return;\n }\n\n this.toggleOpen();\n }\n },\n\n async onContext (event) {\n if (!this.openOnContext) { return; }\n\n event.preventDefault();\n\n this.isOpen = true;\n await this.$nextTick();\n this.tip.setProps({\n placement: 'right-start',\n getReferenceClientRect: () => ({\n width: 0,\n height: 0,\n top: event.clientY,\n bottom: event.clientY,\n left: event.clientX,\n right: event.clientX,\n }),\n });\n },\n\n toggleOpen () {\n this.isOpen = !this.isOpen;\n },\n\n onArrowKeyPress (e) {\n if (this.open !== null) { return; }\n if (this.openWithArrowKeys && this.anchorEl?.contains(e.target)) {\n if (!this.isOpen) {\n this.isOpen = true;\n }\n }\n\n this.$emit('keydown', e);\n },\n\n addEventListeners () {\n window.addEventListener('dt-popover-close', this.closePopover);\n // align popover content width when contentWidth is 'anchor'\n if (this.contentWidth === 'anchor') {\n window.addEventListener('resize', this.onResize);\n }\n },\n\n removeEventListeners () {\n window.removeEventListener('dt-popover-close', this.closePopover);\n if (this.contentWidth === 'anchor') {\n window.removeEventListener('resize', this.onResize);\n }\n },\n\n closePopover () {\n this.isOpen = false;\n },\n\n /*\n * Prevents scrolling outside of the currently opened modal popover by:\n * - when anchor is not within another popover: setting the body to overflow: hidden\n * - when anchor is within another popover: set the popover dialog container to it's non-modal z-index\n * since it is no longer the active modal. This puts it underneath the overlay and prevents scrolling.\n **/\n preventScrolling () {\n if (this.modal) {\n const element = this.anchorEl?.closest('body, .tippy-box');\n if (!element) return;\n if (element.tagName?.toLowerCase() === 'body') {\n element.classList.add('d-of-hidden');\n this.tip.setProps({ offset: this.offset });\n } else {\n element.classList.add('d-zi-popover');\n }\n }\n },\n\n /*\n * Resets the prevent scrolling properties set in preventScrolling() back to normal.\n **/\n enableScrolling () {\n const element = this.anchorEl?.closest('body, .tippy-box');\n if (!element) return;\n if (element.tagName?.toLowerCase() === 'body') {\n element.classList.remove('d-of-hidden');\n this.tip.setProps({ offset: this.offset });\n } else {\n element.classList.remove('d-zi-popover');\n }\n },\n\n removeReferences () {\n this.anchorEl = null;\n this.popoverContentEl = null;\n this.tip = null;\n },\n\n async onShow () {\n if (this.contentWidth === 'anchor') {\n await this.setPopoverContentAnchorWidth();\n }\n\n if (this.contentWidth === null) {\n this.popoverContentEl.style.width = 'auto';\n }\n\n this.addEventListeners();\n },\n\n async onLeaveTransitionComplete () {\n if (this.modal) {\n await this.focusFirstElement(this.$refs.anchor);\n // await next tick in case the user wants to change focus themselves.\n await this.$nextTick();\n this.enableScrolling();\n }\n this.tip?.unmount();\n this.$emit('opened', false);\n if (this.open !== null) {\n this.$emit('update:open', false);\n }\n },\n\n async onEnterTransitionComplete () {\n this.focusInitialElement();\n // await next tick in case the user wants to change focus themselves.\n await this.$nextTick();\n this.preventScrolling();\n this.$emit('opened', true, this.$refs.popover__content);\n if (this.open !== null) {\n this.$emit('update:open', true);\n }\n },\n\n focusInitialElement () {\n if (this.initialFocusElement === 'dialog') {\n this.$refs.content?.$el?.focus();\n }\n // find by ID\n if (this.initialFocusElement.startsWith('#')) {\n this.focusInitialElementById();\n }\n if (this.initialFocusElement === 'first') {\n this.focusFirstElementIfNeeded(this.$refs.popover__content);\n }\n if (this.initialFocusElement instanceof HTMLElement) {\n this.initialFocusElement.focus();\n }\n },\n\n focusInitialElementById () {\n const result = this.$refs.content?.$el?.querySelector(this.initialFocusElement);\n if (result) {\n result.focus();\n } else {\n console.warn('Could not find the element specified in dt-popover prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the dialog.');\n }\n result ? result.focus() : this.$refs.content?.$el.focus();\n },\n\n onResize () {\n this.closePopover();\n },\n\n onClickOutside () {\n if (!this.hideOnClick) return;\n // If a popover is opened inside of this one, do not hide on click out\n const innerModals = this.popoverContentEl?.querySelector('.d-popover__anchor--opened');\n if (!innerModals) {\n this.closePopover();\n }\n },\n\n onKeydown (e) {\n if (e.key === 'Tab') {\n if (this.modal) {\n this.focusTrappedTabPress(e, this.popoverContentEl);\n }\n }\n if (e.key === 'Escape') {\n this.closePopover();\n }\n\n this.$emit('keydown', e);\n },\n\n async setPopoverContentAnchorWidth () {\n await this.$nextTick();\n this.popoverContentEl.style.width = `${this.anchorEl?.clientWidth}px`;\n },\n\n focusFirstElementIfNeeded (domEl) {\n const focusableElements = this._getFocusableElements(domEl, true);\n if (focusableElements.length !== 0) {\n this.focusFirstElement(domEl);\n } else if (this.showCloseButton) {\n this.$refs.popover__header?.focusCloseButton();\n } else {\n // if there are no focusable elements at all focus the dialog itself\n this.$refs.content?.$el.focus();\n }\n },\n\n initTippyInstance () {\n this.tip = createTippyPopover(this.anchorEl, {\n popperOptions: this.popperOptions(),\n contentElement: this.popoverContentEl,\n placement: this.placement,\n offset: this.offset,\n sticky: this.sticky,\n appendTo: this.appendTo === 'body' ? this.anchorEl?.getRootNode()?.querySelector('body') : this.appendTo,\n interactive: true,\n trigger: 'manual',\n // We have to manage hideOnClick functionality manually to handle\n // popover within popover situations.\n hideOnClick: false,\n zIndex: this.modal ? 650 : this.calculateAnchorZindex(),\n onClickOutside: this.onClickOutside,\n onShow: this.onShow,\n });\n },\n\n // ============================================================================\n // $ HOVERCARD\n // ----------------------------------------------------------------------------\n\n setInTimer () {\n this.inTimer = setTimeout(() => {\n this.isOpen = true;\n }, TOOLTIP_DELAY_MS);\n },\n\n setOutTimer () {\n this.outTimer = setTimeout(() => {\n this.isOpen = false;\n }, TOOLTIP_DELAY_MS);\n },\n\n onEnterAnchor () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.enter(this.id);\n else {\n clearTimeout(this.outTimer);\n this.setInTimer();\n }\n },\n\n onLeaveAnchor () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.leave();\n else {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n\n onEnterContent () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.enter(this.id);\n else clearTimeout(this.outTimer);\n },\n\n onLeaveContent () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.leave();\n else this.setOutTimer();\n },\n\n // ============================================================================\n // $ HOVERCARD\n // ----------------------------------------------------------------------------\n },\n};\n</script>\n"],"names":["_sfc_main","_createElementBlock","_normalizeClass","_renderSlot","_openBlock","_createBlock","_mergeProps","_createVNode","ModalMixin","_Teleport","_createElementVNode","_resolveDynamicComponent","_withKeys","_toHandlers"],"mappings":";;;;;;;;;;;;;;;;AAgDA,MAAKA,cAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV;AAAA,IACA;AAAA,EACD;AAAA,EAED,OAAO;AAAA;AAAA,IAEL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,WAAW,SAAU,OAAO;AAC1B,eAAO,CAAC,UAAU,QAAQ,EAAE,SAAS,KAAK;AAAA,MAC3C;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,cAAc;AAAA,MACZ,MAAM,CAAC,QAAQ,OAAO,MAAM;AAAA,MAC5B,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,MAAE;AAAA,IAClB;AAAA,EACF;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOL;AAAA,EACD;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL;AAAA;EAEH;AAAA,EAED,SAAS;AAAA,IACP,mBAAoB;;AAClB,YAAM,eAAc,UAAK,MAAM,uBAAuB,MAAlC,mBAAqC;AACzD,iDAAa;AAAA,IACd;AAAA,EACF;AACH;;;;sBAhHEC,mBAuCM,OAAA;AAAA,IAtCJ,WAAQ;AAAA,IACP,OAAKC,eAAA;AAAA,2BAA+B,OAAI,SAAA;AAAA,2BAA0C,OAAI,SAAA;AAAA;;IAM/E,MAAc,eAAC,KAAM,OAAC,OAAO,kBADrCD,mBAUM,OAAA;AAAA;MARJ,WAAQ;AAAA,MACP,OAAKC,eAAA,CAAA;AA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,QAC1B,GAAAO,WAAM,SAAgB,gBAAA,GAAA;AAAA,UACrB,cAAY,SAAc;AAAA,UAC1B,cAAY,SAAc;AAAA;2BAE3B,MAiBwB;AAAA,YAhBhB,MAAA,eAAe,KAAA,OAAO,aAAa,KAAK,OAAe,gCAD/DR,YAiBwB,kCAAA;AAAA;cAftB,KAAI;AAAA,cACH,OAAKH,eAAE,MAAqC,sCAAC,OAAO,OAAA,CAAA;AAAA,cACpD,iBAAe,OAAW;AAAA,cAC3B,MAAK;AAAA,cACJ,qBAAmB,OAAe;AAAA,cAClC,sBAAoB,OAAgB;AAAA,cACpC,SAAO,SAAY;AAAA;cAET,iBAET,MAGE;AAAA,gBAHFC,WAGE,KAAA,QAAA,iBAAA,EADC,OAAO,SAAY,cAAA;AAAA;;;YAI1BO,mBAcM,OAAA;AAAA,cAbJ,KAAI;AAAA,cACH,WAAS,KAAM,OAAA,SAAA,IAAA,GAAiB,KAAM,OAAA,SAAA,CAAA,aAAA;AAAA,cACtC,OAAKR,eAAA;AAAA;gBAAkD,MAAA,wBAAwB,OAAO,OAAA;AAAA,gBAAe,OAAY;AAAA;;cAOlHC,WAGE,KAAA,QAAA,WAAA,EADC,OAAO,SAAY,cAAA;AAAA;YAIhB,MAAc,eAAC,KAAM,OAAC,aAAa,kBAD3CE,YAcwB,kCAAA;AAAA;cAZtB,KAAI;AAAA,cACJ,MAAK;AAAA,cACJ,OAAKH,eAAE,MAAqC,sCAAC,OAAO,OAAA,CAAA;AAAA,cACpD,iBAAe,OAAW;AAAA;cAEhB,iBAET,MAGE;AAAA,gBAHFC,WAGE,KAAA,QAAA,iBAAA,EADC,OAAO,SAAY,cAAA;AAAA;;;YAKlB,KAAuB,wCAD/BE,YAIE,iCAAA;AAAA;cAFC,+BAA6B,KAAwB;AAAA,cACrD,SAAO,SAAY;AAAA;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../components/popover/popover_header_footer.vue","../../components/popover/popover.vue"],"sourcesContent":["<template>\n <div\n data-qa=\"dt-popover-header-footer\"\n :class=\"{\n 'd-popover__header': type === 'header',\n 'd-popover__footer': type === 'footer',\n }\"\n >\n <div\n v-if=\"hasSlotContent($slots.content)\"\n data-qa=\"dt-popover-header-footer-content\"\n :class=\"[{\n 'd-popover__header__content': type === 'header',\n 'd-popover__footer__content': type === 'footer',\n }, contentClass]\"\n >\n <!-- @slot Slot for main content -->\n <slot name=\"content\" />\n </div>\n <dt-button\n v-if=\"showCloseButton\"\n ref=\"popover__close-button\"\n data-qa=\"dt-popover-close\"\n :class=\"{\n 'd-popover__header__close-button': type === 'header',\n 'd-popover__footer__close-button': type === 'footer',\n }\"\n importance=\"outlined\"\n kind=\"muted\"\n circle\n v-bind=\"closeButtonProps\"\n @click=\"$emit('close')\"\n >\n <template #icon>\n <dt-icon\n name=\"close\"\n size=\"300\"\n />\n </template>\n </dt-button>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtIcon } from '@/components/icon';\nimport { hasSlotContent } from '@/common/utils';\n\nexport default {\n name: 'PopoverHeaderFooter',\n components: {\n DtButton,\n DtIcon,\n },\n\n props: {\n // eslint-disable-next-line vue/require-default-prop\n type: {\n type: String,\n validator: function (value) {\n return ['header', 'footer'].includes(value);\n },\n },\n\n /**\n * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Determines visibility for close button\n * @values true, false\n */\n showCloseButton: {\n type: Boolean,\n default: false,\n },\n\n /**\n * A set of props to be passed into the popover's header close button.\n * Requires an 'ariaLabel' property.\n */\n closeButtonProps: {\n type: Object,\n default: () => {},\n },\n },\n\n emits: [\n /**\n * Emitted when popover is closed\n *\n * @event close\n * @type { Boolean }\n */\n 'close',\n ],\n\n data () {\n return {\n hasSlotContent,\n };\n },\n\n methods: {\n focusCloseButton () {\n const closeButton = this.$refs['popover__close-button']?.$el;\n closeButton?.focus();\n },\n },\n};\n</script>\n","<!-- eslint-disable vuejs-accessibility/mouse-events-have-key-events -->\n<template>\n <div>\n <Teleport\n v-if=\"modal && isOpen\"\n to=\"body\"\n >\n <div\n class=\"d-modal--transparent\"\n :aria-hidden=\"modal && isOpen ? 'false' : 'true'\"\n @click.prevent.stop\n />\n </Teleport>\n <component\n :is=\"elementType\"\n ref=\"popover\"\n :class=\"['d-popover', { 'd-popover__anchor--opened': isOpen }]\"\n data-qa=\"dt-popover-container\"\n >\n <!-- eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -->\n <div\n :id=\"!ariaLabelledby && labelledBy\"\n ref=\"anchor\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}-anchor` : 'dt-popover-anchor'\"\n :tabindex=\"openOnContext ? 0 : undefined\"\n @click.capture=\"defaultToggleOpen\"\n @contextmenu=\"onContext\"\n @keydown.up.prevent=\"onArrowKeyPress\"\n @keydown.down.prevent=\"onArrowKeyPress\"\n @keydown.escape.capture=\"closePopover\"\n @keydown.enter=\"$emit('keydown', $event)\"\n @keydown.space=\"$emit('keydown', $event)\"\n @mouseenter=\"onEnterAnchor\"\n @mouseleave=\"onLeaveAnchor\"\n >\n <!-- @slot Anchor element that activates the popover. Usually a button. -->\n <slot\n name=\"anchor\"\n :attrs=\"{\n 'aria-expanded': isOpen.toString(),\n 'aria-controls': id,\n 'aria-haspopup': role,\n }\"\n />\n </div>\n <dt-lazy-show\n :id=\"id\"\n ref=\"content\"\n :role=\"role\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}__dialog` : 'dt-popover'\"\n :aria-hidden=\"`${!isOpen}`\"\n :aria-labelledby=\"labelledBy\"\n :aria-label=\"ariaLabel\"\n :aria-modal=\"`${!modal}`\"\n :transition=\"transition\"\n :show=\"isOpen\"\n :appear=\"toAppear\"\n :class=\"['d-popover__dialog', { 'd-popover__dialog--modal': modal }, dialogClass]\"\n :style=\"{\n 'max-height': calculatedMaxHeight,\n 'max-width': maxWidth,\n }\"\n :css=\"$attrs.css\"\n :tabindex=\"contentTabindex\"\n v-on=\"popoverListeners\"\n @mouseenter=\"onEnterContent\"\n @mouseleave=\"onLeaveContent\"\n >\n <popover-header-footer\n v-if=\"hasSlotContent($slots.headerContent) || showCloseButton\"\n ref=\"popover__header\"\n :class=\"POPOVER_HEADER_FOOTER_PADDING_CLASSES[padding]\"\n :content-class=\"headerClass\"\n type=\"header\"\n :show-close-button=\"showCloseButton\"\n :close-button-props=\"closeButtonProps\"\n @close=\"closePopover\"\n >\n <template #content>\n <!-- @slot Slot for popover header content -->\n <slot\n name=\"headerContent\"\n :close=\"closePopover\"\n />\n </template>\n </popover-header-footer>\n <div\n ref=\"popover__content\"\n :data-qa=\"$attrs['data-qa'] ? `${$attrs['data-qa']}-content` : 'dt-popover-content'\"\n :class=\"[\n 'd-popover__content',\n POPOVER_PADDING_CLASSES[padding],\n contentClass,\n ]\"\n >\n <!-- @slot Slot for the content that is displayed in the popover when it is open. -->\n <slot\n name=\"content\"\n :close=\"closePopover\"\n />\n </div>\n <popover-header-footer\n v-if=\"hasSlotContent($slots.footerContent)\"\n ref=\"popover__footer\"\n type=\"footer\"\n :class=\"POPOVER_HEADER_FOOTER_PADDING_CLASSES[padding]\"\n :content-class=\"footerClass\"\n >\n <template #content>\n <!-- @slot Slot for the footer content. -->\n <slot\n name=\"footerContent\"\n :close=\"closePopover\"\n />\n </template>\n </popover-header-footer>\n <sr-only-close-button\n v-if=\"showVisuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n @close=\"closePopover\"\n />\n </dt-lazy-show>\n </component>\n </div>\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport {\n POPOVER_APPEND_TO_VALUES,\n POPOVER_CONTENT_WIDTHS,\n POPOVER_HEADER_FOOTER_PADDING_CLASSES,\n POPOVER_INITIAL_FOCUS_STRINGS,\n POPOVER_PADDING_CLASSES,\n POPOVER_ROLES,\n POPOVER_STICKY_VALUES,\n} from './popover_constants';\nimport { getUniqueString, hasSlotContent, isOutOfViewPort } from '@/common/utils';\nimport { DtLazyShow } from '@/components/lazy_show';\nimport ModalMixin from '@/common/mixins/modal';\nimport { createTippyPopover, getPopperOptions } from './tippy_utils';\nimport PopoverHeaderFooter from './popover_header_footer.vue';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\nimport { TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\n\n/**\n * A Popover displays a content overlay when its anchor element is activated.\n * @see https://dialtone.dialpad.com/components/popover.html\n */\nexport default {\n name: 'DtPopover',\n\n /********************\n * CHILD COMPONENTS *\n ********************/\n components: {\n SrOnlyCloseButton,\n DtLazyShow,\n PopoverHeaderFooter,\n },\n\n mixins: [ModalMixin, SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.\n * If you set this value, the default trigger behavior will be disabled, and you can control it as you need.\n * Supports v-model\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Opens the popover on right click (context menu). If you set this value to `true`,\n * the default trigger behavior will be disabled.\n * @values true, false\n */\n openOnContext: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Element type (tag name) of the root element of the component.\n */\n elementType: {\n type: String,\n default: 'div',\n },\n\n /**\n * Named transition when the content display is toggled.\n * @see DtLazyShow\n */\n transition: {\n type: String,\n default: 'fade',\n },\n\n /**\n * ARIA role for the content of the popover. Defaults to \"dialog\".\n * <a class=\"d-link\" href=\"https://www.w3.org/TR/wai-aria/#aria-haspopup\" target=\"_blank\">aria-haspopup</a>\n */\n role: {\n type: String,\n default: 'dialog',\n validator: (role) => {\n return POPOVER_ROLES.includes(role);\n },\n },\n\n /**\n * ID of the element that serves as the label for the popover content.\n * Defaults to the \"anchor\" element; this exists to provide a different\n * ID of the label element if, for example, the anchor slot contains\n * other items that do not serve as a label. You should provide this\n * or ariaLabel, but not both.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Descriptive label for the popover content. You should provide this\n * or ariaLabelledby, but not both.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * A set of props to be passed into the popover's header close button.\n * Requires an 'ariaLabel' property, when the header popover is visible\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Padding size class for the popover content.\n * @values none, small, medium, large\n */\n padding: {\n type: String,\n default: 'large',\n validator: (padding) => {\n return Object.keys(POPOVER_PADDING_CLASSES).some((item) => item === padding);\n },\n },\n\n /**\n * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Width configuration for the popover content. When its value is 'anchor',\n * the popover content will have the same width as the anchor.\n * @values null, anchor\n */\n contentWidth: {\n type: String,\n default: '',\n validator: contentWidth => POPOVER_CONTENT_WIDTHS.includes(contentWidth),\n },\n\n /**\n * Whether to apply transition on initial render in the content lazy show component.\n */\n contentAppear: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Tabindex value for the content. Passing null, no tabindex attribute will be set.\n */\n contentTabindex: {\n type: Number || null,\n default: -1,\n },\n\n /**\n * External anchor id to use in those cases the anchor can't be provided via the slot.\n * For instance, using the combobox's input as the anchor for the popover.\n */\n externalAnchor: {\n type: String,\n default: '',\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 4],\n },\n\n /**\n * Determines if the popover hides upon clicking the\n * anchor or outside the content box.\n * @values true, false\n */\n hideOnClick: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines modal state. If enabled popover has a modal overlay\n * preventing interaction with elements below it, but it is invisible.\n * @values true, false\n */\n modal: {\n type: Boolean,\n default: true,\n },\n\n /**\n * If the popover does not fit in the direction described by \"placement\",\n * it will attempt to change its direction to the \"fallbackPlacements\".\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n */\n placement: {\n type: String,\n default: 'bottom-end',\n },\n\n /**\n * If set to false the dialog will display over top of the anchor when there is insufficient space.\n * If set to true it will never move from its position relative to the anchor and will clip instead.\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/prevent-overflow/#tether\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * @values true, false\n */\n tether: {\n type: Boolean,\n default: true,\n },\n\n /**\n * If the popover sticks to the anchor. This is usually not needed, but can be needed\n * if the reference element's position is animating, or to automatically update the popover\n * position in those cases the DOM layout changes the reference element's position.\n * `true` enables it, `reference` only checks the \"reference\" rect for changes and `popper` only\n * checks the \"popper\" rect for changes.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#sticky\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values true, false, reference, popper\n */\n sticky: {\n type: [Boolean, String],\n default: false,\n validator: (sticky) => {\n return POPOVER_STICKY_VALUES.includes(sticky);\n },\n },\n\n /**\n * Determines maximum height for the popover before overflow.\n * Possible units rem|px|em\n */\n maxHeight: {\n type: String,\n default: '',\n },\n\n /**\n * Determines maximum width for the popover before overflow.\n * Possible units rem|px|%|em\n */\n maxWidth: {\n type: String,\n default: '',\n },\n\n /**\n * Determines visibility for close button\n * @values true, false\n */\n showCloseButton: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Additional class name for the header content wrapper element.\n */\n headerClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the footer content wrapper element.\n */\n footerClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the dialog element.\n */\n dialogClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, 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 * @values none, dialog, first\n */\n initialFocusElement: {\n type: [String, HTMLElement],\n default: 'first',\n validator: initialFocusElement => {\n return POPOVER_INITIAL_FOCUS_STRINGS.includes(initialFocusElement) ||\n (initialFocusElement instanceof HTMLElement) ||\n initialFocusElement.startsWith('#');\n },\n },\n\n /**\n * If the popover should open pressing up or down arrow key on the anchor element.\n * This can be set when not passing open prop.\n * @values true, false\n */\n openWithArrowKeys: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the element to which the popover is going to append to.\n * 'body' will append to the nearest body (supports shadow DOM).\n * 'root' will try append to the iFrame's parent body if it is contained in an iFrame\n * and has permissions to access it, else, it'd default to 'parent'.\n * @values 'body', 'parent', 'root', HTMLElement\n */\n appendTo: {\n type: [HTMLElement, String],\n default: 'body',\n validator: appendTo => {\n return POPOVER_APPEND_TO_VALUES.includes(appendTo) ||\n (appendTo instanceof HTMLElement);\n },\n },\n\n /**\n * Set this prop to true and popover component will support hovercard behaviour\n * It will open on mouseenter and close on mouseleave with timer delay of 300ms\n */\n hovercard: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The timer is used only when the hovercard prop is true.\n * It defines the delays when opening several hovercards.\n * It must have the keys: enter, leave and current.\n * If null, the default delay of 300ms will be used.\n */\n timer: {\n type: [Object, null],\n default: null,\n validator: timer => {\n return timer === null || (timer.enter && timer.leave && Object.keys(timer).includes('current'));\n },\n },\n },\n\n emits: [\n /**\n * Native keydown event\n *\n * @event keydown\n * @type {KeyboardEvent}\n */\n 'keydown',\n\n /**\n * Event fired to sync the open prop with the parent component\n * @event update:open\n */\n 'update:open',\n\n /**\n * Emitted when popover is shown or hidden\n *\n * @event opened\n * @type {Boolean | Array}\n */\n 'opened',\n ],\n\n data () {\n return {\n POPOVER_PADDING_CLASSES,\n POPOVER_HEADER_FOOTER_PADDING_CLASSES,\n intersectionObserver: null,\n isOutsideViewport: false,\n isOpen: false,\n toAppear: false,\n anchorEl: null,\n popoverContentEl: null,\n hasSlotContent,\n inTimer: null,\n outTimer: null,\n };\n },\n\n computed: {\n popoverListeners () {\n return {\n keydown: event => {\n this.onKeydown(event);\n },\n\n 'after-leave': event => {\n this.onLeaveTransitionComplete();\n },\n\n 'after-enter': event => {\n this.onEnterTransitionComplete();\n },\n };\n },\n\n calculatedMaxHeight () {\n if (this.isOutsideViewport && this.modal) {\n return `calc(100vh - var(--dt-space-300))`;\n }\n return this.maxHeight;\n },\n\n labelledBy () {\n // aria-labelledby should be set only if aria-labelledby is passed as a prop, or if\n // there is no aria-label and the labelledby should point to the anchor.\n return this.ariaLabelledby || (!this.ariaLabel && getUniqueString('DtPopover__anchor'));\n },\n\n currentHovercard () {\n return this.timer?.current;\n },\n },\n\n watch: {\n $props: {\n immediate: true,\n deep: true,\n handler () {\n this.validateProps();\n },\n },\n\n modal (modal) {\n this.tip?.setProps({\n zIndex: modal ? 650 : this.calculateAnchorZindex(),\n });\n },\n\n offset (offset) {\n this.tip?.setProps({\n offset,\n });\n },\n\n sticky (sticky) {\n this.tip?.setProps({\n sticky,\n });\n },\n\n fallbackPlacements () {\n this.tip?.setProps({\n popperOptions: this.popperOptions(),\n });\n },\n\n tether () {\n this.tip?.setProps({\n popperOptions: this.popperOptions(),\n });\n },\n\n placement (placement) {\n this.tip?.setProps({\n placement,\n });\n },\n\n open: {\n handler: function (open) {\n if (open !== null) {\n this.isOpen = open;\n }\n if (open === true) {\n this.toAppear = true;\n }\n },\n\n immediate: true,\n },\n\n contentAppear: {\n handler: function (contentAppear) {\n if (contentAppear !== null) {\n this.toAppear = contentAppear;\n }\n },\n },\n\n isOpen (isOpen, isPrev) {\n if (isOpen) {\n this.initTippyInstance();\n this.tip.show();\n } else if (!isOpen && isPrev !== isOpen) {\n this.removeEventListeners();\n this.tip.hide();\n }\n },\n\n currentHovercard () {\n if (this.hovercard && this.timer) {\n if (this.currentHovercard === this.id) {\n this.isOpen = true;\n } else {\n this.isOpen = false;\n }\n }\n },\n },\n\n mounted () {\n const externalAnchorEl = this.externalAnchor\n ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`)\n : null;\n this.anchorEl = externalAnchorEl ?? this.$refs.anchor.children[0];\n this.popoverContentEl = this.$refs.content?.$el;\n\n if (this.isOpen) {\n this.initTippyInstance();\n this.tip.show();\n }\n\n // rootMargin here must be greater than the margin of the height we are setting in calculatedMaxHeight which\n // currently is var(--dt-space-300) (4px). If not the intersectionObserver will continually trigger in an infinite\n // loop.\n // threshold 1.0 makes this trigger every time the dialog \"touches\" the edge of the viewport.\n this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport);\n this.intersectionObserver.observe(this.popoverContentEl);\n },\n\n beforeUnmount () {\n this.tip?.destroy();\n this.intersectionObserver.disconnect();\n this.removeReferences();\n this.removeEventListeners();\n },\n\n /******************\n * METHODS *\n ******************/\n methods: {\n\n hasIntersectedViewport (entries) {\n const dialog = entries?.[0]?.target;\n if (!dialog) return;\n const isOut = isOutOfViewPort(dialog);\n this.isOutsideViewport = isOut.bottom || isOut.top;\n },\n\n popperOptions () {\n return getPopperOptions({\n fallbackPlacements: this.fallbackPlacements,\n tether: this.tether,\n hasHideModifierEnabled: true,\n });\n },\n\n validateProps () {\n if (this.modal && this.initialFocusElement === 'none') {\n console.error('If the popover is modal you must set the ' +\n 'initialFocusElement prop. Possible values: \"dialog\", \"first\", HTMLElement');\n }\n },\n\n calculateAnchorZindex () {\n // if a modal is currently active render at modal-element z-index, otherwise at popover z-index\n if (this.$el.getRootNode()\n .querySelector('.d-modal[aria-hidden=\"false\"], .d-modal--transparent[aria-hidden=\"false\"]') ||\n // Special case because we don't have any dialtone drawer component yet. Render at 650 when\n // anchor of popover is within a drawer.\n this.anchorEl?.closest('.d-zi-drawer')) {\n return 650;\n } else {\n return 300;\n }\n },\n\n defaultToggleOpen (e) {\n if (this.hovercard) { return; }\n if (this.openOnContext) { return; }\n\n // Only use default toggle behaviour if the user has not set the open prop.\n // Check that the anchor element specifically was clicked.\n if (this.open === null || this.open === undefined) {\n if ((!this.anchorEl?.contains(e.target) && !this.anchorEl?.isEqualNode(e.target)) || this.anchorEl?.disabled) {\n return;\n }\n\n this.toggleOpen();\n }\n },\n\n async onContext (event) {\n if (!this.openOnContext) { return; }\n\n event.preventDefault();\n\n this.isOpen = true;\n await this.$nextTick();\n this.tip.setProps({\n placement: 'right-start',\n getReferenceClientRect: () => ({\n width: 0,\n height: 0,\n top: event.clientY,\n bottom: event.clientY,\n left: event.clientX,\n right: event.clientX,\n }),\n });\n },\n\n toggleOpen () {\n this.isOpen = !this.isOpen;\n },\n\n onArrowKeyPress (e) {\n if (this.open !== null) { return; }\n if (this.openWithArrowKeys && this.anchorEl?.contains(e.target)) {\n if (!this.isOpen) {\n this.isOpen = true;\n }\n }\n\n this.$emit('keydown', e);\n },\n\n addEventListeners () {\n window.addEventListener('dt-popover-close', this.closePopover);\n // align popover content width when contentWidth is 'anchor'\n if (this.contentWidth === 'anchor') {\n window.addEventListener('resize', this.onResize);\n }\n },\n\n removeEventListeners () {\n window.removeEventListener('dt-popover-close', this.closePopover);\n if (this.contentWidth === 'anchor') {\n window.removeEventListener('resize', this.onResize);\n }\n },\n\n closePopover () {\n this.isOpen = false;\n },\n\n /*\n * Prevents scrolling outside of the currently opened modal popover by:\n * - when anchor is not within another popover: setting the body to overflow: hidden\n * - when anchor is within another popover: set the popover dialog container to it's non-modal z-index\n * since it is no longer the active modal. This puts it underneath the overlay and prevents scrolling.\n **/\n preventScrolling () {\n if (this.modal) {\n const element = this.anchorEl?.closest('body, .tippy-box');\n if (!element) return;\n if (element.tagName?.toLowerCase() === 'body') {\n element.classList.add('d-of-hidden');\n this.tip.setProps({ offset: this.offset });\n } else {\n element.classList.add('d-zi-popover');\n }\n }\n },\n\n /*\n * Resets the prevent scrolling properties set in preventScrolling() back to normal.\n **/\n enableScrolling () {\n const element = this.anchorEl?.closest('body, .tippy-box');\n if (!element) return;\n if (element.tagName?.toLowerCase() === 'body') {\n element.classList.remove('d-of-hidden');\n this.tip.setProps({ offset: this.offset });\n } else {\n element.classList.remove('d-zi-popover');\n }\n },\n\n removeReferences () {\n this.anchorEl = null;\n this.popoverContentEl = null;\n this.tip = null;\n },\n\n async onShow () {\n if (this.contentWidth === 'anchor') {\n await this.setPopoverContentAnchorWidth();\n }\n\n if (this.contentWidth === null) {\n this.popoverContentEl.style.width = 'auto';\n }\n\n this.addEventListeners();\n },\n\n async onLeaveTransitionComplete () {\n if (this.modal) {\n await this.focusFirstElement(this.$refs.anchor);\n // await next tick in case the user wants to change focus themselves.\n await this.$nextTick();\n this.enableScrolling();\n }\n this.tip?.unmount();\n this.$emit('opened', false);\n if (this.open !== null) {\n this.$emit('update:open', false);\n }\n },\n\n async onEnterTransitionComplete () {\n this.focusInitialElement();\n // await next tick in case the user wants to change focus themselves.\n await this.$nextTick();\n this.preventScrolling();\n this.$emit('opened', true, this.$refs.popover__content);\n if (this.open !== null) {\n this.$emit('update:open', true);\n }\n },\n\n focusInitialElement () {\n if (this.initialFocusElement === 'dialog') {\n this.$refs.content?.$el?.focus();\n }\n // find by ID\n if (this.initialFocusElement.startsWith('#')) {\n this.focusInitialElementById();\n }\n if (this.initialFocusElement === 'first') {\n this.focusFirstElementIfNeeded(this.$refs.popover__content);\n }\n if (this.initialFocusElement instanceof HTMLElement) {\n this.initialFocusElement.focus();\n }\n },\n\n focusInitialElementById () {\n const result = this.$refs.content?.$el?.querySelector(this.initialFocusElement);\n if (result) {\n result.focus();\n } else {\n console.warn('Could not find the element specified in dt-popover prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the dialog.');\n }\n result ? result.focus() : this.$refs.content?.$el.focus();\n },\n\n onResize () {\n this.closePopover();\n },\n\n onClickOutside () {\n if (!this.hideOnClick) return;\n // If a popover is opened inside of this one, do not hide on click out\n const innerModals = this.popoverContentEl?.querySelector('.d-popover__anchor--opened');\n if (!innerModals) {\n this.closePopover();\n }\n },\n\n onKeydown (e) {\n if (e.key === 'Tab') {\n if (this.modal) {\n this.focusTrappedTabPress(e, this.popoverContentEl);\n }\n }\n if (e.key === 'Escape') {\n this.closePopover();\n }\n\n this.$emit('keydown', e);\n },\n\n async setPopoverContentAnchorWidth () {\n await this.$nextTick();\n this.popoverContentEl.style.width = `${this.anchorEl?.clientWidth}px`;\n },\n\n focusFirstElementIfNeeded (domEl) {\n const focusableElements = this._getFocusableElements(domEl, true);\n if (focusableElements.length !== 0) {\n this.focusFirstElement(domEl);\n } else if (this.showCloseButton) {\n this.$refs.popover__header?.focusCloseButton();\n } else {\n // if there are no focusable elements at all focus the dialog itself\n this.$refs.content?.$el.focus();\n }\n },\n\n /**\n * Return's the anchor ClientRect object relative to the window.\n * Refer to: https://atomiks.github.io/tippyjs/v6/all-props/#getreferenceclientrect for more information\n * @param error\n */\n getReferenceClientRect (error) {\n const anchorReferenceRect = this.anchorEl?.getBoundingClientRect();\n\n if (this.appendTo !== 'root' || error) return anchorReferenceRect;\n\n const anchorOwnerDocument = this.anchorEl?.ownerDocument;\n const anchorParentWindow = anchorOwnerDocument?.defaultView || anchorOwnerDocument?.parentWindow;\n const anchorIframe = anchorParentWindow?.frameElement;\n\n if (!anchorIframe) return anchorReferenceRect;\n\n const iframeReferenceRect = anchorIframe.getBoundingClientRect();\n\n return {\n width: anchorReferenceRect?.width,\n height: anchorReferenceRect?.height,\n top: iframeReferenceRect?.top + anchorReferenceRect?.top,\n left: iframeReferenceRect?.left + anchorReferenceRect?.left,\n right: iframeReferenceRect?.right + anchorReferenceRect?.right,\n bottom: iframeReferenceRect?.bottom + anchorReferenceRect?.bottom,\n };\n },\n\n initTippyInstance () {\n let internalAppendTo = null;\n let iFrameError = false;\n\n switch (this.appendTo) {\n case 'body':\n internalAppendTo = this.anchorEl?.getRootNode()?.querySelector('body');\n break;\n\n case 'root':\n // Try to attach the popover to root document, fallback to parent is fail\n try {\n internalAppendTo = window.parent.document.body;\n } catch (err) {\n console.error('Could not attach the popover to iframe parent window: ', err);\n internalAppendTo = 'parent';\n iFrameError = true;\n }\n break;\n\n default:\n internalAppendTo = this.appendTo;\n break;\n }\n\n this.tip = createTippyPopover(this.anchorEl, {\n popperOptions: this.popperOptions(),\n contentElement: this.popoverContentEl,\n placement: this.placement,\n offset: this.offset,\n sticky: this.sticky,\n appendTo: internalAppendTo,\n interactive: true,\n trigger: 'manual',\n getReferenceClientRect: () => this.getReferenceClientRect(iFrameError),\n // We have to manage hideOnClick functionality manually to handle\n // popover within popover situations.\n hideOnClick: false,\n zIndex: this.modal ? 650 : this.calculateAnchorZindex(),\n onClickOutside: this.onClickOutside,\n onShow: this.onShow,\n });\n },\n\n // ============================================================================\n // $ HOVERCARD\n // ----------------------------------------------------------------------------\n\n setInTimer () {\n this.inTimer = setTimeout(() => {\n this.isOpen = true;\n }, TOOLTIP_DELAY_MS);\n },\n\n setOutTimer () {\n this.outTimer = setTimeout(() => {\n this.isOpen = false;\n }, TOOLTIP_DELAY_MS);\n },\n\n onEnterAnchor () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.enter(this.id);\n else {\n clearTimeout(this.outTimer);\n this.setInTimer();\n }\n },\n\n onLeaveAnchor () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.leave();\n else {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n\n onEnterContent () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.enter(this.id);\n else clearTimeout(this.outTimer);\n },\n\n onLeaveContent () {\n if (!this.hovercard) return;\n if (this.timer) this.timer.leave();\n else this.setOutTimer();\n },\n\n // ============================================================================\n // $ HOVERCARD\n // ----------------------------------------------------------------------------\n },\n};\n</script>\n"],"names":["_sfc_main","_createElementBlock","_normalizeClass","_renderSlot","_openBlock","_createBlock","_mergeProps","_createVNode","ModalMixin","_Teleport","_createElementVNode","_resolveDynamicComponent","_withKeys","_toHandlers"],"mappings":";;;;;;;;;;;;;;;;AAgDA,MAAKA,cAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV;AAAA,IACA;AAAA,EACD;AAAA,EAED,OAAO;AAAA;AAAA,IAEL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,WAAW,SAAU,OAAO;AAC1B,eAAO,CAAC,UAAU,QAAQ,EAAE,SAAS,KAAK;AAAA,MAC3C;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,cAAc;AAAA,MACZ,MAAM,CAAC,QAAQ,OAAO,MAAM;AAAA,MAC5B,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,MAAE;AAAA,IAClB;AAAA,EACF;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOL;AAAA,EACD;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL;AAAA;EAEH;AAAA,EAED,SAAS;AAAA,IACP,mBAAoB;;AAClB,YAAM,eAAc,UAAK,MAAM,uBAAuB,MAAlC,mBAAqC;AACzD,iDAAa;AAAA,IACd;AAAA,EACF;AACH;;;;sBAhHEC,mBAuCM,OAAA;AAAA,IAtCJ,WAAQ;AAAA,IACP,OAAKC,eAAA;AAAA,2BAA+B,OAAI,SAAA;AAA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BwB,kCAAA;AAAA;cAftB,KAAI;AAAA,cACH,OAAKH,eAAE,MAAqC,sCAAC,OAAO,OAAA,CAAA;AAAA,cACpD,iBAAe,OAAW;AAAA,cAC3B,MAAK;AAAA,cACJ,qBAAmB,OAAe;AAAA,cAClC,sBAAoB,OAAgB;AAAA,cACpC,SAAO,SAAY;AAAA;cAET,iBAET,MAGE;AAAA,gBAHFC,WAGE,KAAA,QAAA,iBAAA,EADC,OAAO,SAAY,cAAA;AAAA;;;YAI1BO,mBAcM,OAAA;AAAA,cAbJ,KAAI;AAAA,cACH,WAAS,KAAM,OAAA,SAAA,IAAA,GAAiB,KAAM,OAAA,SAAA,CAAA,aAAA;AAAA,cACtC,OAAKR,eAAA;AAAA;gBAAkD,MAAA,wBAAwB,OAAO,OAAA;AAAA,gBAAe,OAAY;AAAA;;cAOlHC,WAGE,KAAA,QAAA,WAAA,EADC,OAAO,SAAY,cAAA;AAAA;YAIhB,MAAc,eAAC,KAAM,OAAC,aAAa,kBAD3CE,YAcwB,kCAAA;AAAA;cAZtB,KAAI;AAAA,cACJ,MAAK;AAAA,cACJ,OAAKH,eAAE,MAAqC,sCAAC,OAAO,OAAA,CAAA;AAAA,cACpD,iBAAe,OAAW;AAAA;cAEhB,iBAET,MAGE;AAAA,gBAHFC,WAGE,KAAA,QAAA,iBAAA,EADC,OAAO,SAAY,cAAA;AAAA;;;YAKlB,KAAuB,wCAD/BE,YAIE,iCAAA;AAAA;cAFC,+BAA6B,KAAwB;AAAA,cACrD,SAAO,SAAY;AAAA;;;;;;;;;;"}
|
|
@@ -4,7 +4,7 @@ const common_utils = require("../common/utils.cjs");
|
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
const lib_tooltip = require("./tooltip.cjs");
|
|
6
6
|
require("../common/constants.cjs");
|
|
7
|
-
require("../chunks/popover_constants-
|
|
7
|
+
require("../chunks/popover_constants-XnGWXaxX.js");
|
|
8
8
|
require("tippy.js");
|
|
9
9
|
require("../chunks/_plugin-vue_export-helper-fhnQq0tA.js");
|
|
10
10
|
const DtTooltipDirective = {
|
|
@@ -2,7 +2,7 @@ import { getUniqueString } from "../common/utils.js";
|
|
|
2
2
|
import { createApp, getCurrentInstance, h } from "vue";
|
|
3
3
|
import { DtTooltip } from "./tooltip.js";
|
|
4
4
|
import "../common/constants.js";
|
|
5
|
-
import "../chunks/popover_constants-
|
|
5
|
+
import "../chunks/popover_constants-WsOUIY-m.js";
|
|
6
6
|
import "tippy.js";
|
|
7
7
|
import "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
|
|
8
8
|
const DtTooltipDirective = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const popover_constants = require("../chunks/popover_constants-
|
|
3
|
+
const popover_constants = require("../chunks/popover_constants-XnGWXaxX.js");
|
|
4
4
|
const common_utils = require("../common/utils.cjs");
|
|
5
5
|
const vue = require("vue");
|
|
6
6
|
const _pluginVue_exportHelper = require("../chunks/_plugin-vue_export-helper-fhnQq0tA.js");
|
package/dist/vue3/lib/tooltip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TOOLTIP_DIRECTIONS, TOOLTIP_STICKY_VALUES, POPOVER_APPEND_TO_VALUES, TOOLTIP_KIND_MODIFIERS, TOOLTIP_DELAY_MS, getPopperOptions, getAnchor, createTippy } from "../chunks/popover_constants-
|
|
2
|
-
import { TOOLTIP_HIDE_ON_CLICK_VARIANTS } from "../chunks/popover_constants-
|
|
1
|
+
import { TOOLTIP_DIRECTIONS, TOOLTIP_STICKY_VALUES, POPOVER_APPEND_TO_VALUES, TOOLTIP_KIND_MODIFIERS, TOOLTIP_DELAY_MS, getPopperOptions, getAnchor, createTippy } from "../chunks/popover_constants-WsOUIY-m.js";
|
|
2
|
+
import { TOOLTIP_HIDE_ON_CLICK_VARIANTS } from "../chunks/popover_constants-WsOUIY-m.js";
|
|
3
3
|
import { getUniqueString, hasSlotContent } from "../common/utils.js";
|
|
4
4
|
import { openBlock, createElementBlock, withKeys, renderSlot, createCommentVNode, createElementVNode, normalizeClass, createTextVNode, toDisplayString } from "vue";
|
|
5
5
|
import { _export_sfc } from "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
|
package/dist/vue3/style.css
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
background-color: var(--dt-color-surface-contrast);
|
|
314
314
|
color: var(--dt-color-foreground-secondary-inverted);
|
|
315
315
|
}
|
|
316
|
-
.dt-leftbar-row[data-v-
|
|
316
|
+
.dt-leftbar-row[data-v-4793665c] {
|
|
317
317
|
--leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);
|
|
318
318
|
--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);
|
|
319
319
|
--leftbar-row-radius: var(--dt-size-radius-pill);
|
|
@@ -344,61 +344,65 @@
|
|
|
344
344
|
transition-timing-function: var(--ttf-out-quint);
|
|
345
345
|
cursor: pointer;
|
|
346
346
|
}
|
|
347
|
-
.dt-leftbar-row[data-v-
|
|
348
|
-
.dt-leftbar-row[data-v-
|
|
347
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):hover,
|
|
348
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):focus-within {
|
|
349
349
|
--leftbar-row-unread-badge-display: none;
|
|
350
350
|
}
|
|
351
|
-
.dt-leftbar-row[data-v-
|
|
352
|
-
.dt-leftbar-row[data-v-
|
|
351
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
|
|
352
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
|
|
353
353
|
display: inline-flex;
|
|
354
354
|
}
|
|
355
|
-
.dt-leftbar-row[data-v-
|
|
356
|
-
.dt-leftbar-row[data-v-
|
|
355
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
|
|
356
|
+
.dt-leftbar-row[data-v-4793665c]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
|
|
357
357
|
opacity: 1;
|
|
358
358
|
}
|
|
359
|
-
.dt-leftbar-row[data-v-
|
|
360
|
-
.dt-leftbar-row[data-v-
|
|
359
|
+
.dt-leftbar-row[data-v-4793665c]:hover,
|
|
360
|
+
.dt-leftbar-row[data-v-4793665c]:focus-within {
|
|
361
361
|
--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover);
|
|
362
362
|
}
|
|
363
|
-
.dt-leftbar-row[data-v-
|
|
364
|
-
.dt-leftbar-row[data-v-
|
|
363
|
+
.dt-leftbar-row[data-v-4793665c]:hover .d-presence,
|
|
364
|
+
.dt-leftbar-row[data-v-4793665c]:focus-within .d-presence {
|
|
365
365
|
--presence-color-border-base: var(--dt-color-black-200);
|
|
366
366
|
}
|
|
367
|
-
.dt-leftbar-row[data-v-
|
|
368
|
-
.dt-leftbar-row[data-v-
|
|
367
|
+
.dt-leftbar-row[data-v-4793665c]:hover .d-avatar__count,
|
|
368
|
+
.dt-leftbar-row[data-v-4793665c]:focus-within .d-avatar__count {
|
|
369
369
|
--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
|
|
370
370
|
}
|
|
371
|
-
.dt-leftbar-row--has-unread[data-v-
|
|
371
|
+
.dt-leftbar-row--has-unread[data-v-4793665c] {
|
|
372
372
|
--leftbar-row-description-font-weight: var(--dt-font-weight-bold);
|
|
373
373
|
--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
|
|
374
374
|
--leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
|
|
375
375
|
}
|
|
376
|
-
.dt-leftbar-row--unread-count[data-v-
|
|
376
|
+
.dt-leftbar-row--unread-count[data-v-4793665c] .dt-leftbar-row__action {
|
|
377
377
|
display: none;
|
|
378
378
|
}
|
|
379
|
-
.dt-leftbar-row__unread-count-badge[data-v-
|
|
379
|
+
.dt-leftbar-row__unread-count-badge[data-v-4793665c] {
|
|
380
380
|
border-top-right-radius: var(--dt-size-radius-0);
|
|
381
381
|
border-bottom-right-radius: var(--dt-size-radius-0);
|
|
382
382
|
}
|
|
383
|
-
.dt-leftbar-row__unread-mention-count-badge[data-v-
|
|
383
|
+
.dt-leftbar-row__unread-mention-count-badge[data-v-4793665c] {
|
|
384
384
|
border-top-left-radius: var(--dt-size-radius-0);
|
|
385
385
|
border-bottom-left-radius: var(--dt-size-radius-0);
|
|
386
386
|
background-color: var(--dt-color-purple-500);
|
|
387
387
|
}
|
|
388
|
-
.dt-leftbar-
|
|
388
|
+
.dt-leftbar-row__unread-mention-only-count-badge[data-v-4793665c] {
|
|
389
|
+
background-color: var(--dt-color-purple-500);
|
|
390
|
+
color: var(--dt-color-foreground-primary-inverted);
|
|
391
|
+
}
|
|
392
|
+
.dt-leftbar-row--muted[data-v-4793665c] {
|
|
389
393
|
--leftbar-row-opacity: 60%;
|
|
390
394
|
}
|
|
391
|
-
.dt-leftbar-row--selected[data-v-
|
|
395
|
+
.dt-leftbar-row--selected[data-v-4793665c] {
|
|
392
396
|
--leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);
|
|
393
397
|
--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground);
|
|
394
398
|
}
|
|
395
|
-
.dt-leftbar-row--selected[data-v-
|
|
399
|
+
.dt-leftbar-row--selected[data-v-4793665c] .d-presence {
|
|
396
400
|
--presence-color-border-base: var(--dt-color-black-200);
|
|
397
401
|
}
|
|
398
|
-
.dt-leftbar-row--selected[data-v-
|
|
402
|
+
.dt-leftbar-row--selected[data-v-4793665c] .d-avatar__count {
|
|
399
403
|
--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
|
|
400
404
|
}
|
|
401
|
-
.dt-leftbar-row__is-typing[data-v-
|
|
405
|
+
.dt-leftbar-row__is-typing[data-v-4793665c] {
|
|
402
406
|
--is-typing-size-shape: var(--dt-size-550);
|
|
403
407
|
height: var(--is-typing-size-shape);
|
|
404
408
|
width: var(--is-typing-size-shape);
|
|
@@ -410,7 +414,7 @@
|
|
|
410
414
|
border-radius: var(--dt-size-radius-pill);
|
|
411
415
|
opacity: 0.75;
|
|
412
416
|
}
|
|
413
|
-
.dt-leftbar-row__is-typing span[data-v-
|
|
417
|
+
.dt-leftbar-row__is-typing span[data-v-4793665c] {
|
|
414
418
|
transition: all 500ms ease;
|
|
415
419
|
background: var(--dt-color-surface-strong);
|
|
416
420
|
height: 4px;
|
|
@@ -419,18 +423,18 @@
|
|
|
419
423
|
padding: 0;
|
|
420
424
|
opacity: 0.3;
|
|
421
425
|
border-radius: var(--dt-size-radius-pill);
|
|
422
|
-
animation: wave-
|
|
426
|
+
animation: wave-4793665c 1.5s ease infinite;
|
|
423
427
|
}
|
|
424
|
-
.dt-leftbar-row__is-typing span[data-v-
|
|
428
|
+
.dt-leftbar-row__is-typing span[data-v-4793665c]:nth-child(1) {
|
|
425
429
|
animation-delay: 0ms;
|
|
426
430
|
}
|
|
427
|
-
.dt-leftbar-row__is-typing span[data-v-
|
|
431
|
+
.dt-leftbar-row__is-typing span[data-v-4793665c]:nth-child(2) {
|
|
428
432
|
animation-delay: var(--td100);
|
|
429
433
|
}
|
|
430
|
-
.dt-leftbar-row__is-typing span[data-v-
|
|
434
|
+
.dt-leftbar-row__is-typing span[data-v-4793665c]:nth-child(3) {
|
|
431
435
|
animation-delay: var(--td200);
|
|
432
436
|
}
|
|
433
|
-
.dt-leftbar-row__primary[data-v-
|
|
437
|
+
.dt-leftbar-row__primary[data-v-4793665c] {
|
|
434
438
|
display: flex;
|
|
435
439
|
align-items: center;
|
|
436
440
|
flex: 1;
|
|
@@ -447,18 +451,18 @@
|
|
|
447
451
|
padding: 0;
|
|
448
452
|
border-radius: var(--leftbar-row-radius);
|
|
449
453
|
}
|
|
450
|
-
.dt-leftbar-row__primary[data-v-
|
|
454
|
+
.dt-leftbar-row__primary[data-v-4793665c]:active {
|
|
451
455
|
--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active);
|
|
452
456
|
}
|
|
453
|
-
.dt-leftbar-row__primary[data-v-
|
|
457
|
+
.dt-leftbar-row__primary[data-v-4793665c]:focus-visible {
|
|
454
458
|
box-shadow: var(--dt-shadow-focus-inset);
|
|
455
459
|
}
|
|
456
|
-
.dt-leftbar-row__action-button[data-v-
|
|
460
|
+
.dt-leftbar-row__action-button[data-v-4793665c] {
|
|
457
461
|
opacity: 0;
|
|
458
462
|
width: var(--leftbar-row-action-width);
|
|
459
463
|
height: var(--leftbar-row-action-height);
|
|
460
464
|
}
|
|
461
|
-
.dt-leftbar-row__alpha[data-v-
|
|
465
|
+
.dt-leftbar-row__alpha[data-v-4793665c] {
|
|
462
466
|
color: var(--leftbar-row-alpha-color-foreground);
|
|
463
467
|
display: flex;
|
|
464
468
|
box-sizing: border-box;
|
|
@@ -470,11 +474,11 @@
|
|
|
470
474
|
height: var(--leftbar-row-alpha-height);
|
|
471
475
|
border-radius: var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius);
|
|
472
476
|
}
|
|
473
|
-
.dt-leftbar-row__label[data-v-
|
|
477
|
+
.dt-leftbar-row__label[data-v-4793665c] {
|
|
474
478
|
flex: 0 1;
|
|
475
479
|
min-width: 0;
|
|
476
480
|
}
|
|
477
|
-
.dt-leftbar-row__omega[data-v-
|
|
481
|
+
.dt-leftbar-row__omega[data-v-4793665c] {
|
|
478
482
|
position: absolute;
|
|
479
483
|
display: flex;
|
|
480
484
|
right: var(--leftbar-row-action-position-right);
|
|
@@ -486,26 +490,26 @@
|
|
|
486
490
|
box-sizing: border-box;
|
|
487
491
|
border-radius: var(--leftbar-row-radius);
|
|
488
492
|
}
|
|
489
|
-
.dt-leftbar-row__unread-badge[data-v-
|
|
493
|
+
.dt-leftbar-row__unread-badge[data-v-4793665c] {
|
|
490
494
|
display: var(--leftbar-row-unread-badge-display);
|
|
491
495
|
}
|
|
492
|
-
.dt-leftbar-row__active-voice[data-v-
|
|
496
|
+
.dt-leftbar-row__active-voice[data-v-4793665c] {
|
|
493
497
|
color: var(--dt-color-purple-400);
|
|
494
498
|
display: inline-flex;
|
|
495
|
-
-webkit-animation-name: opacity-pulsate-
|
|
499
|
+
-webkit-animation-name: opacity-pulsate-4793665c;
|
|
496
500
|
-webkit-animation-duration: 1s;
|
|
497
501
|
-webkit-animation-iteration-count: infinite;
|
|
498
502
|
-webkit-animation-fill-mode: both;
|
|
499
|
-
-moz-animation-name: opacity-pulsate-
|
|
503
|
+
-moz-animation-name: opacity-pulsate-4793665c;
|
|
500
504
|
-moz-animation-duration: 1s;
|
|
501
505
|
-moz-animation-iteration-count: infinite;
|
|
502
506
|
-moz-animation-fill-mode: both;
|
|
503
|
-
animation-name: opacity-pulsate-
|
|
507
|
+
animation-name: opacity-pulsate-4793665c;
|
|
504
508
|
animation-duration: 1s;
|
|
505
509
|
animation-iteration-count: infinite;
|
|
506
510
|
animation-fill-mode: both;
|
|
507
511
|
}
|
|
508
|
-
.dt-leftbar-row__dnd[data-v-
|
|
512
|
+
.dt-leftbar-row__dnd[data-v-4793665c] {
|
|
509
513
|
padding-top: var(--dt-space-200);
|
|
510
514
|
padding-right: var(--dt-space-300);
|
|
511
515
|
color: var(--dt-color-foreground-tertiary);
|
|
@@ -513,26 +517,26 @@
|
|
|
513
517
|
line-height: var(--dt-font-line-height-400);
|
|
514
518
|
font-weight: var(--dt-font-weight-medium);
|
|
515
519
|
}
|
|
516
|
-
.dt-leftbar-row__container--off-duty[data-v-
|
|
520
|
+
.dt-leftbar-row__container--off-duty[data-v-4793665c] {
|
|
517
521
|
border-radius: var(--dt-size-radius-500);
|
|
518
522
|
background-color: var(--dt-badge-color-background-critical);
|
|
519
523
|
border: var(--dt-size-100) solid var(--dt-color-border-subtle);
|
|
520
524
|
}
|
|
521
|
-
.dt-leftbar-row__container--off-duty[data-v-
|
|
525
|
+
.dt-leftbar-row__container--off-duty[data-v-4793665c] .dt-leftbar-row__primary {
|
|
522
526
|
margin: calc(var(--dt-size-100) * -1);
|
|
523
527
|
}
|
|
524
|
-
.dt-leftbar-row--contact-centers[data-v-
|
|
528
|
+
.dt-leftbar-row--contact-centers[data-v-4793665c] .dt-leftbar-row__alpha {
|
|
525
529
|
padding-right: var(--dt-space-450);
|
|
526
530
|
padding-left: var(--dt-space-450);
|
|
527
531
|
}
|
|
528
|
-
.dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-
|
|
532
|
+
.dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-4793665c] {
|
|
529
533
|
display: inline-flex;
|
|
530
534
|
align-items: center;
|
|
531
535
|
justify-content: flex-end;
|
|
532
536
|
min-width: var(--dt-size-600);
|
|
533
537
|
height: var(--dt-size-500);
|
|
534
538
|
}
|
|
535
|
-
.dt-leftbar-row[data-v-
|
|
539
|
+
.dt-leftbar-row[data-v-4793665c] .dt-leftbar-row__description {
|
|
536
540
|
display: block;
|
|
537
541
|
font-weight: var(--leftbar-row-description-font-weight);
|
|
538
542
|
font-size: var(--leftbar-row-description-font-size);
|
|
@@ -542,7 +546,7 @@
|
|
|
542
546
|
text-overflow: ellipsis;
|
|
543
547
|
white-space: nowrap;
|
|
544
548
|
}
|
|
545
|
-
.dt-leftbar-row[data-v-
|
|
549
|
+
.dt-leftbar-row[data-v-4793665c] .dt-leftbar-row__status {
|
|
546
550
|
display: block;
|
|
547
551
|
color: var(--leftbar-row-status-color-foreground);
|
|
548
552
|
font-size: var(--leftbar-row-status-font-size);
|
|
@@ -552,30 +556,30 @@
|
|
|
552
556
|
text-overflow: ellipsis;
|
|
553
557
|
white-space: nowrap;
|
|
554
558
|
}
|
|
555
|
-
.dt-leftbar-row[data-v-
|
|
559
|
+
.dt-leftbar-row[data-v-4793665c] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty):before {
|
|
556
560
|
content: ' • ';
|
|
557
561
|
color: var(--dt-theme-sidebar-status-color-foreground);
|
|
558
562
|
}
|
|
559
|
-
.dt-leftbar-row__icon-cc[data-v-
|
|
563
|
+
.dt-leftbar-row__icon-cc[data-v-4793665c] {
|
|
560
564
|
border-radius: var(--dt-size-200);
|
|
561
565
|
width: calc(var(--dt-size-300) * 3.5);
|
|
562
566
|
height: calc(var(--dt-size-300) * 3.5);
|
|
563
567
|
}
|
|
564
|
-
.opacity-pulsate[data-v-
|
|
565
|
-
-webkit-animation-name: opacity-pulsate-
|
|
568
|
+
.opacity-pulsate[data-v-4793665c] {
|
|
569
|
+
-webkit-animation-name: opacity-pulsate-4793665c;
|
|
566
570
|
-webkit-animation-duration: 1s;
|
|
567
571
|
-webkit-animation-iteration-count: infinite;
|
|
568
572
|
-webkit-animation-fill-mode: both;
|
|
569
|
-
-moz-animation-name: opacity-pulsate-
|
|
573
|
+
-moz-animation-name: opacity-pulsate-4793665c;
|
|
570
574
|
-moz-animation-duration: 1s;
|
|
571
575
|
-moz-animation-iteration-count: infinite;
|
|
572
576
|
-moz-animation-fill-mode: both;
|
|
573
|
-
animation-name: opacity-pulsate-
|
|
577
|
+
animation-name: opacity-pulsate-4793665c;
|
|
574
578
|
animation-duration: 1s;
|
|
575
579
|
animation-iteration-count: infinite;
|
|
576
580
|
animation-fill-mode: both;
|
|
577
581
|
}
|
|
578
|
-
@-webkit-keyframes opacity-pulsate-
|
|
582
|
+
@-webkit-keyframes opacity-pulsate-4793665c {
|
|
579
583
|
0%,
|
|
580
584
|
100% {
|
|
581
585
|
opacity: 0.2;
|
|
@@ -584,7 +588,7 @@
|
|
|
584
588
|
opacity: 1;
|
|
585
589
|
}
|
|
586
590
|
}
|
|
587
|
-
@-moz-keyframes opacity-pulsate-
|
|
591
|
+
@-moz-keyframes opacity-pulsate-4793665c {
|
|
588
592
|
0%,
|
|
589
593
|
100% {
|
|
590
594
|
opacity: 0.2;
|
|
@@ -593,7 +597,7 @@
|
|
|
593
597
|
opacity: 1;
|
|
594
598
|
}
|
|
595
599
|
}
|
|
596
|
-
@keyframes opacity-pulsate-
|
|
600
|
+
@keyframes opacity-pulsate-4793665c {
|
|
597
601
|
0%,
|
|
598
602
|
100% {
|
|
599
603
|
opacity: 0.2;
|
|
@@ -602,7 +606,7 @@
|
|
|
602
606
|
opacity: 1;
|
|
603
607
|
}
|
|
604
608
|
}
|
|
605
|
-
@keyframes wave-
|
|
609
|
+
@keyframes wave-4793665c {
|
|
606
610
|
0%,
|
|
607
611
|
50%,
|
|
608
612
|
100% {
|
|
@@ -685,6 +689,10 @@
|
|
|
685
689
|
border-bottom-left-radius: var(--dt-size-radius-0);
|
|
686
690
|
background-color: var(--dt-color-purple-500);
|
|
687
691
|
}
|
|
692
|
+
.dt-leftbar-row__unread-mention-only-count-badge[data-v-094eaef1] {
|
|
693
|
+
background-color: var(--dt-color-purple-500);
|
|
694
|
+
color: var(--dt-color-foreground-primary-inverted);
|
|
695
|
+
}
|
|
688
696
|
.dt-leftbar-row--muted[data-v-094eaef1] {
|
|
689
697
|
--leftbar-row-opacity: 60%;
|
|
690
698
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
focusEmojiSelector: typeof focusEmojiSelector;
|
|
3
3
|
focusLastEmoji: typeof focusLastEmoji;
|
|
4
|
-
$emit: (event: "
|
|
4
|
+
$emit: (event: "shift-tab-key-pressed" | "highlighted-emoji" | "selected-emoji" | "scroll-into-tab" | "is-scrolling" | "focus-skin-selector", ...args: any[]) => void;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly [x: string]: any;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
focusTabset: typeof focusTabset;
|
|
3
|
-
$emit: (event: "selected-tabset" | "
|
|
3
|
+
$emit: (event: "selected-tabset" | "shift-tab-key-pressed" | "tab-key-pressed" | "arrow-down-key-pressed", ...args: any[]) => void;
|
|
4
4
|
$props: {
|
|
5
5
|
readonly [x: string]: any;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji_tabset.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_tabset.vue.js"],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"emoji_tabset.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_tabset.vue.js"],"names":[],"mappings":";;;;;;;;AA0HA,qCAEC"}
|