@dialpad/dialtone 9.146.0 → 9.147.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/README.md +17 -10
- package/dist/css/dialtone-default-theme.css +275 -32
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone-docs.json +1 -1
- package/dist/css/dialtone.css +275 -32
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens-docs.json +1 -1
- package/dist/tokens/doc.json +73664 -73664
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +29 -23
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/hovercard/hovercard.cjs +1 -1
- package/dist/vue2/lib/hovercard/hovercard.cjs.map +1 -1
- package/dist/vue2/lib/hovercard/hovercard.js +29 -21
- package/dist/vue2/lib/hovercard/hovercard.js.map +1 -1
- package/dist/vue2/lib/motion-text/index.cjs +2 -0
- package/dist/vue2/lib/motion-text/index.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/index.js +9 -0
- package/dist/vue2/lib/motion-text/index.js.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.cjs +2 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.js +35 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.js.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text.cjs +2 -0
- package/dist/vue2/lib/motion-text/motion-text.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text.js +342 -0
- package/dist/vue2/lib/motion-text/motion-text.js.map +1 -0
- package/dist/vue2/lib/popover/popover.cjs +1 -1
- package/dist/vue2/lib/popover/popover.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover.js +14 -12
- package/dist/vue2/lib/popover/popover.js.map +1 -1
- package/dist/vue2/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/index.d.ts +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/index.d.ts +3 -0
- package/dist/vue2/types/recipes/motion/motion_text/index.d.ts.map +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text.vue.d.ts +3 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text.vue.d.ts.map +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text_constants.d.ts +32 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text_constants.d.ts.map +1 -0
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +10 -4
- package/dist/vue3/dialtone-vue.js.map +1 -1
- package/dist/vue3/lib/hovercard/hovercard.cjs +1 -1
- package/dist/vue3/lib/hovercard/hovercard.cjs.map +1 -1
- package/dist/vue3/lib/hovercard/hovercard.js +57 -46
- package/dist/vue3/lib/hovercard/hovercard.js.map +1 -1
- package/dist/vue3/lib/motion-text/index.cjs +2 -0
- package/dist/vue3/lib/motion-text/index.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/index.js +9 -0
- package/dist/vue3/lib/motion-text/index.js.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.cjs +2 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.js +35 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.js.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text.cjs +2 -0
- package/dist/vue3/lib/motion-text/motion-text.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text.js +389 -0
- package/dist/vue3/lib/motion-text/motion-text.js.map +1 -0
- package/dist/vue3/lib/popover/popover.cjs +1 -1
- package/dist/vue3/lib/popover/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover.js +22 -20
- package/dist/vue3/lib/popover/popover.js.map +1 -1
- package/dist/vue3/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/index.d.ts +3 -0
- package/dist/vue3/types/recipes/motion/motion_text/index.d.ts.map +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text.vue.d.ts +3 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text.vue.d.ts.map +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text_constants.d.ts +32 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text_constants.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./common/constants/index.cjs"),F=require("./common/validators/index.cjs"),E=require("./common/utils/index.cjs"),a=require("./common/dates/index.cjs"),e=require("./common/emoji/index.cjs"),G=require("./localization/index.cjs"),x=require("./lib/tooltip-directive/tooltip.cjs"),j=require("./lib/scrollbar-directive/scrollbar.cjs"),K=require("./common/mixins/dom.cjs"),s=require("./common/mixins/input.cjs"),h=require("./common/mixins/input-group.cjs"),k=require("./common/mixins/keyboard-list-navigation.cjs"),Z=require("./common/mixins/modal.cjs"),H=require("./common/mixins/skeleton.cjs"),v=require("./lib/avatar/avatar.cjs"),_=require("./lib/avatar/avatar-constants.cjs"),w=require("./lib/badge/badge.cjs"),u=require("./lib/badge/badge-constants.cjs"),Y=require("./lib/banner/banner.cjs"),W=require("./lib/breadcrumbs/breadcrumbs.cjs"),y=require("./lib/breadcrumbs/breadcrumb-item.cjs"),C=require("./lib/breadcrumbs/breadcrumbs-constants.cjs"),X=require("./lib/button/button.cjs"),r=require("./lib/button/button-constants.cjs"),J=require("./lib/button-group/button-group.cjs"),z=require("./lib/button-group/button-group-constants.cjs"),Q=require("./lib/card/card.cjs"),$=require("./lib/checkbox/checkbox.cjs"),ee=require("./lib/checkbox-group/checkbox-group.cjs"),te=require("./lib/chip/chip.cjs"),R=require("./lib/chip/chip-constants.cjs"),_e=require("./lib/codeblock/codeblock.cjs"),oe=require("./lib/collapsible/collapsible.cjs"),ie=require("./lib/combobox/combobox.cjs"),re=require("./lib/combobox/combobox-constants.cjs"),Ee=require("./lib/datepicker/datepicker.cjs"),n=require("./lib/datepicker/formatUtils.cjs"),ne=require("./lib/description-list/description-list.cjs"),Ie=require("./lib/description-list/description-list-constants.cjs"),le=require("./lib/dropdown/dropdown.cjs"),ae=require("./lib/dropdown/dropdown-separator.cjs"),Se=require("./lib/dropdown/dropdown-constants.cjs"),Te=require("./lib/emoji/emoji.cjs"),Oe=require("./lib/emoji-picker/emoji-picker.cjs"),D=require("./lib/emoji-picker/emoji-picker-constants.cjs"),se=require("./lib/emoji-text-wrapper/emoji-text-wrapper.cjs"),ue=require("./lib/empty-state/empty-state.cjs"),Re=require("./lib/empty-state/empty-state-constants.cjs"),De=require("./lib/hovercard/hovercard.cjs"),ce=require("./lib/icon/icon.cjs"),d=require("./lib/icon/icon-constants.cjs"),Ae=require("./lib/illustration/illustration.cjs"),Ne=require("./lib/illustration/illustration-constants.cjs"),Ce=require("./lib/image-viewer/image-viewer.cjs"),de=require("./lib/input/input.cjs"),b=require("./lib/input/input-constants.cjs"),be=require("./lib/input-group/input-group.cjs"),Le=require("./lib/item-layout/item-layout.cjs"),Pe=require("./lib/keyboard-shortcut/keyboard-shortcut.cjs"),me=require("./lib/keyboard-shortcut/keyboard-shortcut-constants.cjs"),Me=require("./lib/lazy-show/lazy-show.cjs"),pe=require("./lib/link/link.cjs"),o=require("./lib/link/link-constants.cjs"),qe=require("./lib/list-item/list-item.cjs"),L=require("./lib/list-item/list-item-constants.cjs"),fe=require("./lib/list-item-group/list-item-group.cjs"),Be=require("./lib/loader/loader.cjs"),Ue=require("./lib/modal/modal.cjs"),c=require("./lib/modal/modal-constants.cjs"),Ve=require("./lib/notice/notice.cjs"),ge=require("./lib/notice/notice-action.cjs"),Fe=require("./lib/notice/notice-icon.cjs"),Ge=require("./lib/notice/notice-content.cjs"),P=require("./lib/notice/notice-constants.cjs"),xe=require("./lib/pagination/pagination.cjs"),je=require("./lib/popover/popover.cjs"),i=require("./lib/popover/popover-constants.cjs"),Ke=require("./lib/presence/presence.cjs"),m=require("./lib/presence/presence-constants.cjs"),he=require("./lib/radio/radio.cjs"),ke=require("./lib/radio/radio-constants.cjs"),Ze=require("./lib/radio-group/radio-group.cjs"),He=require("./lib/rich-text-editor/rich-text-editor.cjs"),M=require("./lib/rich-text-editor/rich-text-editor-constants.cjs"),ve=require("./lib/root-layout/root-layout.cjs"),p=require("./lib/root-layout/root-layout-constants.cjs"),we=require("./lib/select-menu/select-menu.cjs"),q=require("./lib/select-menu/select-menu-constants.cjs"),Ye=require("./lib/skeleton/skeleton.cjs"),We=require("./lib/skeleton/skeleton-list-item.cjs"),ye=require("./lib/skeleton/skeleton-text.cjs"),Xe=require("./lib/skeleton/skeleton-shape.cjs"),Je=require("./lib/skeleton/skeleton-paragraph.cjs"),I=require("./lib/skeleton/skeleton-constants.cjs"),ze=require("./lib/split-button/split-button.cjs"),Qe=require("./lib/split-button/split-button-constants.cjs"),$e=require("./lib/stack/stack.cjs"),A=require("./lib/stack/stack-constants.cjs"),et=require("./lib/tab/tab-group.cjs"),tt=require("./lib/tab/tab.cjs"),_t=require("./lib/tab/tab-panel.cjs"),S=require("./lib/tab/tabs-constants.cjs"),ot=require("./lib/toast/toast.cjs"),f=require("./lib/toast/toast-constants.cjs"),it=require("./lib/toggle/toggle.cjs"),B=require("./lib/toggle/toggle-constants.cjs"),rt=require("./lib/tooltip/tooltip.cjs"),l=require("./lib/tooltip/tooltip-constants.cjs"),Et=require("./lib/validation-messages/validation-messages.cjs"),nt=require("./lib/callbar-button/callbar-button.cjs"),It=require("./lib/callbar-button/callbar-button-constants.cjs"),lt=require("./lib/callbar-button-with-popover/callbar-button-with-popover.cjs"),at=require("./lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs"),St=require("./lib/ivr-node/ivr-node.cjs"),t=require("./lib/ivr-node/ivr-node-constants.cjs"),Tt=require("./lib/grouped-chip/grouped-chip.cjs"),Ot=require("./lib/combobox-multi-select/combobox-multi-select.cjs"),N=require("./lib/combobox-multi-select/combobox-multi-select-constants.cjs"),st=require("./lib/combobox-with-popover/combobox-with-popover.cjs"),ut=require("./lib/attachment-carousel/attachment-carousel.cjs"),Rt=require("./lib/editor/editor.cjs"),Dt=require("./lib/emoji-row/emoji-row.cjs"),ct=require("./lib/emoji-row/emoji-row-constants.cjs"),At=require("./lib/feed-item-pill/feed-item-pill.cjs"),Nt=require("./lib/feed-item-pill/feed-item-pill-constants.cjs"),Ct=require("./lib/feed-item-row/feed-item-row.cjs"),U=require("./lib/feed-item-row/feed-item-row-constants.cjs"),dt=require("./lib/message-input/message-input.cjs"),bt=require("./lib/time-pill/time-pill.cjs"),Lt=require("./lib/settings-menu-button/settings-menu-button.cjs"),Pt=require("./lib/contact-info/contact-info.cjs"),mt=require("./lib/callbox/callbox.cjs"),V=require("./lib/callbox/callbox-constants.cjs"),Mt=require("./lib/contact-centers-row/contact-centers-row.cjs"),pt=require("./lib/contact-row/contact-row.cjs"),qt=require("./lib/general-row/general-row.cjs"),T=require("./lib/general-row/general-row-constants.cjs"),ft=require("./lib/group-row/group-row.cjs"),Bt=require("./lib/unread-pill/unread-pill.cjs"),g=require("./lib/unread-pill/unread-pill-constants.cjs"),Ut=require("./lib/top-banner-info/top-banner-info.cjs"),Vt=require("./lib/top-banner-info/top-banner-info-constants.cjs");exports.DEFAULT_VALIDATION_MESSAGE_TYPE=O.DEFAULT_VALIDATION_MESSAGE_TYPE;exports.DESCRIPTION_SIZE_TYPES=O.DESCRIPTION_SIZE_TYPES;exports.VALIDATION_MESSAGE_TYPES=O.VALIDATION_MESSAGE_TYPES;exports.validationMessageValidator=F.validationMessageValidator;exports.disableRootScrolling=E.disableRootScrolling;exports.enableRootScrolling=E.enableRootScrolling;exports.filterFormattedMessages=E.filterFormattedMessages;exports.formatMessages=E.formatMessages;exports.getUniqueString=E.getUniqueString;exports.getValidationState=E.getValidationState;exports.durationInHHMM=a.durationInHHMM;exports.getDateMedium=a.getDateMedium;exports.relativeDate=a.relativeDate;exports.setDateLocale=a.setDateLocale;exports.codeToEmojiData=e.codeToEmojiData;Object.defineProperty(exports,"customEmojiAssetUrl",{enumerable:!0,get:()=>e.customEmojiAssetUrl});exports.defaultEmojiAssetUrl=e.defaultEmojiAssetUrl;Object.defineProperty(exports,"emojiFileExtensionLarge",{enumerable:!0,get:()=>e.emojiFileExtensionLarge});Object.defineProperty(exports,"emojiFileExtensionSmall",{enumerable:!0,get:()=>e.emojiFileExtensionSmall});Object.defineProperty(exports,"emojiImageUrlLarge",{enumerable:!0,get:()=>e.emojiImageUrlLarge});Object.defineProperty(exports,"emojiImageUrlSmall",{enumerable:!0,get:()=>e.emojiImageUrlSmall});exports.emojiJson=e.emojiJson;exports.emojiRegex=e.emojiRegex;exports.emojiShortCodeRegex=e.emojiShortCodeRegex;exports.emojiVersion=e.emojiVersion;exports.filterValidShortCodes=e.filterValidShortCodes;exports.findEmojis=e.findEmojis;exports.findShortCodes=e.findShortCodes;exports.getEmojiData=e.getEmojiData;exports.getEmojiShortCode=e.getEmojiShortCode;exports.setCustomEmojiJson=e.setCustomEmojiJson;exports.setCustomEmojiUrl=e.setCustomEmojiUrl;exports.setEmojiAssetUrlLarge=e.setEmojiAssetUrlLarge;exports.setEmojiAssetUrlSmall=e.setEmojiAssetUrlSmall;exports.shortcodeToEmojiData=e.shortcodeToEmojiData;exports.stringToUnicode=e.stringToUnicode;exports.unicodeToString=e.unicodeToString;exports.validateCustomEmojiJson=e.validateCustomEmojiJson;exports.DialtoneLocalization=G.DialtoneLocalization;exports.DtTooltipDirective=x.DtTooltipDirective;exports.DtScrollbarDirective=j.DtScrollbarDirective;exports.DtDOMMixin=K.default;exports.DtCheckableInputMixin=s.CheckableMixin;exports.DtGroupableInputMixin=s.GroupableMixin;exports.DtInputMixin=s.InputMixin;exports.DtInputGroupMixin=h.InputGroupMixin;exports.DtKeyboardListNavigationMixin=k.default;exports.DtModalMixin=Z.default;exports.DtSkeletonMixin=H.default;exports.DtAvatar=v.default;exports.AVATAR_COLORS=_.AVATAR_COLORS;exports.AVATAR_GROUP_VALIDATOR=_.AVATAR_GROUP_VALIDATOR;exports.AVATAR_ICON_SIZES=_.AVATAR_ICON_SIZES;exports.AVATAR_KIND_MODIFIERS=_.AVATAR_KIND_MODIFIERS;exports.AVATAR_PRESENCE_SIZE_MODIFIERS=_.AVATAR_PRESENCE_SIZE_MODIFIERS;exports.AVATAR_PRESENCE_STATES=_.AVATAR_PRESENCE_STATES;exports.AVATAR_RANDOM_COLORS=_.AVATAR_RANDOM_COLORS;exports.AVATAR_SIZE_MODIFIERS=_.AVATAR_SIZE_MODIFIERS;exports.DtBadge=w.default;exports.BADGE_DECORATION_MODIFIERS=u.BADGE_DECORATION_MODIFIERS;exports.BADGE_KIND_MODIFIERS=u.BADGE_KIND_MODIFIERS;exports.BADGE_TYPE_MODIFIERS=u.BADGE_TYPE_MODIFIERS;exports.DtBanner=Y.default;exports.DtBreadcrumbs=W.default;exports.DtBreadcrumbItem=y.default;exports.BREADCRUMBS_INVERTED_MODIFIER=C.BREADCRUMBS_INVERTED_MODIFIER;exports.BREADCRUMB_ITEM_SELECTED_MODIFIER=C.BREADCRUMB_ITEM_SELECTED_MODIFIER;exports.DtButton=X.default;exports.BUTTON_ICON_SIZES=r.BUTTON_ICON_SIZES;exports.BUTTON_IMPORTANCE_MODIFIERS=r.BUTTON_IMPORTANCE_MODIFIERS;exports.BUTTON_KIND_MODIFIERS=r.BUTTON_KIND_MODIFIERS;exports.BUTTON_SIZE_MODIFIERS=r.BUTTON_SIZE_MODIFIERS;exports.BUTTON_TYPES=r.BUTTON_TYPES;exports.ICON_POSITION_MODIFIERS=r.ICON_POSITION_MODIFIERS;exports.INVALID_COMBINATION=r.INVALID_COMBINATION;exports.DtButtonGroup=J.default;exports.BUTTON_GROUP_ALIGNMENT=z.BUTTON_GROUP_ALIGNMENT;exports.DtCard=Q.default;exports.DtCheckbox=$.default;exports.DtCheckboxGroup=ee.default;exports.DtChip=te.default;exports.CHIP_CLOSE_BUTTON_SIZE_MODIFIERS=R.CHIP_CLOSE_BUTTON_SIZE_MODIFIERS;exports.CHIP_ICON_SIZES=R.CHIP_ICON_SIZES;exports.CHIP_SIZE_MODIFIERS=R.CHIP_SIZE_MODIFIERS;exports.DtCodeblock=_e.default;exports.DtCollapsible=oe.default;exports.DtCombobox=ie.default;exports.COMBOBOX_LABEL_SIZES=re.COMBOBOX_LABEL_SIZES;exports.DtDatepicker=Ee.default;exports.formatLong=n.formatLong;exports.formatMedium=n.formatMedium;exports.formatNoYear=n.formatNoYear;exports.formatNumerical=n.formatNumerical;exports.formatShort=n.formatShort;exports.DtDescriptionList=ne.default;exports.DT_DESCRIPTION_LIST_DIRECTION=Ie.DT_DESCRIPTION_LIST_DIRECTION;exports.DtDropdown=le.default;exports.DtDropdownSeparator=ae.default;exports.DROPDOWN_PADDING_CLASSES=Se.DROPDOWN_PADDING_CLASSES;exports.DtEmoji=Te.default;exports.DtEmojiPicker=Oe.default;exports.CDN_URL=D.CDN_URL;exports.EMOJIS_PER_ROW=D.EMOJIS_PER_ROW;exports.EMOJI_PICKER_SKIN_TONE_MODIFIERS=D.EMOJI_PICKER_SKIN_TONE_MODIFIERS;exports.DtEmojiTextWrapper=se.default;exports.DtEmptyState=ue.default;exports.EMPTY_STATE_SIZE_MODIFIERS=Re.EMPTY_STATE_SIZE_MODIFIERS;exports.DtHovercard=De.default;exports.DtIcon=ce.default;exports.ICON_NAMES=d.ICON_NAMES;exports.ICON_SIZE_MODIFIERS=d.ICON_SIZE_MODIFIERS;exports.DtIllustration=Ae.default;exports.ILLUSTRATION_NAMES=Ne.ILLUSTRATION_NAMES;exports.DtImageViewer=Ce.default;exports.DtInput=de.default;exports.INPUT_SIZES=b.INPUT_SIZES;exports.INPUT_TYPES=b.INPUT_TYPES;exports.DtInputGroup=be.default;exports.DtItemLayout=Le.default;exports.DtKeyboardShortcut=Pe.default;exports.SHORTCUTS_ALIASES_LIST=me.SHORTCUTS_ALIASES_LIST;exports.DtLazyShow=Me.default;exports.DtLink=pe.default;exports.DANGER=o.DANGER;exports.LINK_KIND_MODIFIERS=o.LINK_KIND_MODIFIERS;exports.LINK_VARIANTS=o.LINK_VARIANTS;exports.MENTION=o.MENTION;exports.MUTED=o.MUTED;exports.SUCCESS=o.SUCCESS;exports.WARNING=o.WARNING;exports.getLinkKindModifier=o.getLinkKindModifier;exports.DtListItem=qe.default;exports.LIST_ITEM_NAVIGATION_TYPES=L.LIST_ITEM_NAVIGATION_TYPES;exports.LIST_ITEM_TYPES=L.LIST_ITEM_TYPES;exports.DtListItemGroup=fe.default;exports.DtLoader=Be.default;exports.DtModal=Ue.default;exports.MODAL_BANNER_KINDS=c.MODAL_BANNER_KINDS;exports.MODAL_KIND_MODIFIERS=c.MODAL_KIND_MODIFIERS;exports.MODAL_SIZE_MODIFIERS=c.MODAL_SIZE_MODIFIERS;exports.DtNotice=Ve.default;exports.DtNoticeAction=ge.default;exports.DtNoticeIcon=Fe.default;exports.DtNoticeContent=Ge.default;exports.NOTICE_KINDS=P.NOTICE_KINDS;exports.NOTICE_ROLES=P.NOTICE_ROLES;exports.DtPagination=xe.default;exports.DtPopover=je.default;exports.POPOVER_APPEND_TO_VALUES=i.POPOVER_APPEND_TO_VALUES;exports.POPOVER_CONTENT_WIDTHS=i.POPOVER_CONTENT_WIDTHS;exports.POPOVER_DIRECTIONS=i.POPOVER_DIRECTIONS;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=i.POPOVER_HEADER_FOOTER_PADDING_CLASSES;exports.POPOVER_INITIAL_FOCUS_STRINGS=i.POPOVER_INITIAL_FOCUS_STRINGS;exports.POPOVER_PADDING_CLASSES=i.POPOVER_PADDING_CLASSES;exports.POPOVER_ROLES=i.POPOVER_ROLES;exports.POPOVER_STICKY_VALUES=i.POPOVER_STICKY_VALUES;exports.DtPresence=Ke.default;exports.PRESENCE_STATES=m.PRESENCE_STATES;exports.PRESENCE_STATES_LIST=m.PRESENCE_STATES_LIST;exports.DtRadio=he.default;exports.RADIO_INPUT_VALIDATION_CLASSES=ke.RADIO_INPUT_VALIDATION_CLASSES;exports.DtRadioGroup=Ze.default;exports.DtRichTextEditor=He.default;exports.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES=M.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES;exports.RICH_TEXT_EDITOR_OUTPUT_FORMATS=M.RICH_TEXT_EDITOR_OUTPUT_FORMATS;exports.DtRootLayout=ve.default;exports.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS=p.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS;exports.ROOT_LAYOUT_SIDEBAR_POSITIONS=p.ROOT_LAYOUT_SIDEBAR_POSITIONS;exports.DtSelectMenu=we.default;exports.SELECT_SIZE_MODIFIERS=q.SELECT_SIZE_MODIFIERS;exports.SELECT_STATE_MODIFIERS=q.SELECT_STATE_MODIFIERS;exports.DtSkeleton=Ye.default;exports.DtSkeletonListItem=We.default;exports.DtSkeletonText=ye.default;exports.DtSkeletonShape=Xe.default;exports.DtSkeletonParagraph=Je.default;exports.SKELETON_HEADING_HEIGHTS=I.SKELETON_HEADING_HEIGHTS;exports.SKELETON_RIPPLE_DURATION=I.SKELETON_RIPPLE_DURATION;exports.SKELETON_SHAPES=I.SKELETON_SHAPES;exports.SKELETON_SHAPE_SIZES=I.SKELETON_SHAPE_SIZES;exports.SKELETON_TEXT_TYPES=I.SKELETON_TEXT_TYPES;exports.DtSplitButton=ze.default;exports.SPLIT_BUTTON_ICON_SIZES=Qe.SPLIT_BUTTON_ICON_SIZES;exports.DtStack=$e.default;exports.DT_STACK_DIRECTION=A.DT_STACK_DIRECTION;exports.DT_STACK_GAP=A.DT_STACK_GAP;exports.DT_STACK_RESPONSIVE_BREAKPOINTS=A.DT_STACK_RESPONSIVE_BREAKPOINTS;exports.DtTabGroup=et.default;exports.DtTab=tt.default;exports.DtTabPanel=_t.default;exports.TAB_IMPORTANCE_MODIFIERS=S.TAB_IMPORTANCE_MODIFIERS;exports.TAB_LIST_IMPORTANCE_MODIFIERS=S.TAB_LIST_IMPORTANCE_MODIFIERS;exports.TAB_LIST_KIND_MODIFIERS=S.TAB_LIST_KIND_MODIFIERS;exports.TAB_LIST_SIZES=S.TAB_LIST_SIZES;exports.DtToast=ot.default;exports.TOAST_MIN_DURATION=f.TOAST_MIN_DURATION;exports.TOAST_ROLES=f.TOAST_ROLES;exports.DtToggle=it.default;exports.TOGGLE_CHECKED_VALUES=B.TOGGLE_CHECKED_VALUES;exports.TOGGLE_SIZE_MODIFIERS=B.TOGGLE_SIZE_MODIFIERS;exports.DtTooltip=rt.default;exports.TOOLTIP_DELAY_MS=l.TOOLTIP_DELAY_MS;exports.TOOLTIP_DIRECTIONS=l.TOOLTIP_DIRECTIONS;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=l.TOOLTIP_HIDE_ON_CLICK_VARIANTS;exports.TOOLTIP_KIND_MODIFIERS=l.TOOLTIP_KIND_MODIFIERS;exports.TOOLTIP_STICKY_VALUES=l.TOOLTIP_STICKY_VALUES;exports.DtValidationMessages=Et.default;exports.DtRecipeCallbarButton=nt.default;exports.CALLBAR_BUTTON_VALID_WIDTH_SIZE=It.CALLBAR_BUTTON_VALID_WIDTH_SIZE;exports.DtRecipeCallbarButtonWithPopover=lt.default;exports.DtRecipeCallbarButtonWithDropdown=at.default;exports.DtRecipeIvrNode=St.default;exports.IVR_NODE_ASSIGN=t.IVR_NODE_ASSIGN;exports.IVR_NODE_BRANCH=t.IVR_NODE_BRANCH;exports.IVR_NODE_CUSTOMER_DATA=t.IVR_NODE_CUSTOMER_DATA;exports.IVR_NODE_EXPERT=t.IVR_NODE_EXPERT;exports.IVR_NODE_GO_TO=t.IVR_NODE_GO_TO;exports.IVR_NODE_HANGUP=t.IVR_NODE_HANGUP;exports.IVR_NODE_ICON_TYPES=t.IVR_NODE_ICON_TYPES;exports.IVR_NODE_LABELS=t.IVR_NODE_LABELS;exports.IVR_NODE_PROMPT_COLLECT=t.IVR_NODE_PROMPT_COLLECT;exports.IVR_NODE_PROMPT_MENU=t.IVR_NODE_PROMPT_MENU;exports.IVR_NODE_PROMPT_PLAY=t.IVR_NODE_PROMPT_PLAY;exports.IVR_NODE_TRANSFER=t.IVR_NODE_TRANSFER;exports.DtRecipeGroupedChip=Tt.default;exports.DtRecipeComboboxMultiSelect=Ot.default;exports.CHIP_SIZES=N.CHIP_SIZES;exports.CHIP_TOP_POSITION=N.CHIP_TOP_POSITION;exports.MULTI_SELECT_SIZES=N.MULTI_SELECT_SIZES;exports.DtRecipeComboboxWithPopover=st.default;exports.DtRecipeAttachmentCarousel=ut.default;exports.DtRecipeEditor=Rt.default;exports.DtRecipeEmojiRow=Dt.default;exports.REACTIONS_ATTRIBUTES=ct.REACTIONS_ATTRIBUTES;exports.DtRecipeFeedItemPill=At.default;exports.FEED_ITEM_PILL_BORDER_COLORS=Nt.FEED_ITEM_PILL_BORDER_COLORS;exports.DtRecipeFeedItemRow=Ct.default;exports.DEFAULT_FEED_ROW_STATE=U.DEFAULT_FEED_ROW_STATE;exports.FEED_ROW_STATE_BACKGROUND_COLOR=U.FEED_ROW_STATE_BACKGROUND_COLOR;exports.DtRecipeMessageInput=dt.default;exports.DtRecipeTimePill=bt.default;exports.DtRecipeSettingsMenuButton=Lt.default;exports.DtRecipeContactInfo=Pt.default;exports.DtRecipeCallbox=mt.default;exports.CALLBOX_BADGE_COLORS=V.CALLBOX_BADGE_COLORS;exports.CALLBOX_BORDER_COLORS=V.CALLBOX_BORDER_COLORS;exports.DtRecipeContactCentersRow=Mt.default;exports.DtRecipeContactRow=pt.default;exports.DtRecipeGeneralRow=qt.default;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS=T.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR=T.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR;exports.LEFTBAR_GENERAL_ROW_ICON_SIZES=T.LEFTBAR_GENERAL_ROW_ICON_SIZES;exports.LEFTBAR_GENERAL_ROW_TYPES=T.LEFTBAR_GENERAL_ROW_TYPES;exports.DtRecipeGroupRow=ft.default;exports.DtRecipeUnreadPill=Bt.default;exports.UNREAD_PILL_DIRECTIONS=g.UNREAD_PILL_DIRECTIONS;exports.UNREAD_PILL_KINDS=g.UNREAD_PILL_KINDS;exports.DtRecipeTopBannerInfo=Ut.default;exports.COLOR_CODES=Vt.COLOR_CODES;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./common/constants/index.cjs"),F=require("./common/validators/index.cjs"),E=require("./common/utils/index.cjs"),a=require("./common/dates/index.cjs"),e=require("./common/emoji/index.cjs"),x=require("./localization/index.cjs"),j=require("./lib/tooltip-directive/tooltip.cjs"),K=require("./lib/scrollbar-directive/scrollbar.cjs"),h=require("./common/mixins/dom.cjs"),s=require("./common/mixins/input.cjs"),k=require("./common/mixins/input-group.cjs"),Z=require("./common/mixins/keyboard-list-navigation.cjs"),H=require("./common/mixins/modal.cjs"),v=require("./common/mixins/skeleton.cjs"),w=require("./lib/avatar/avatar.cjs"),_=require("./lib/avatar/avatar-constants.cjs"),Y=require("./lib/badge/badge.cjs"),u=require("./lib/badge/badge-constants.cjs"),W=require("./lib/banner/banner.cjs"),y=require("./lib/breadcrumbs/breadcrumbs.cjs"),X=require("./lib/breadcrumbs/breadcrumb-item.cjs"),d=require("./lib/breadcrumbs/breadcrumbs-constants.cjs"),J=require("./lib/button/button.cjs"),r=require("./lib/button/button-constants.cjs"),z=require("./lib/button-group/button-group.cjs"),Q=require("./lib/button-group/button-group-constants.cjs"),$=require("./lib/card/card.cjs"),ee=require("./lib/checkbox/checkbox.cjs"),te=require("./lib/checkbox-group/checkbox-group.cjs"),_e=require("./lib/chip/chip.cjs"),R=require("./lib/chip/chip-constants.cjs"),oe=require("./lib/codeblock/codeblock.cjs"),ie=require("./lib/collapsible/collapsible.cjs"),re=require("./lib/combobox/combobox.cjs"),Ee=require("./lib/combobox/combobox-constants.cjs"),ne=require("./lib/datepicker/datepicker.cjs"),n=require("./lib/datepicker/formatUtils.cjs"),Ie=require("./lib/description-list/description-list.cjs"),le=require("./lib/description-list/description-list-constants.cjs"),ae=require("./lib/dropdown/dropdown.cjs"),Se=require("./lib/dropdown/dropdown-separator.cjs"),Te=require("./lib/dropdown/dropdown-constants.cjs"),Oe=require("./lib/emoji/emoji.cjs"),se=require("./lib/emoji-picker/emoji-picker.cjs"),D=require("./lib/emoji-picker/emoji-picker-constants.cjs"),ue=require("./lib/emoji-text-wrapper/emoji-text-wrapper.cjs"),Re=require("./lib/empty-state/empty-state.cjs"),De=require("./lib/empty-state/empty-state-constants.cjs"),ce=require("./lib/hovercard/hovercard.cjs"),Ae=require("./lib/icon/icon.cjs"),b=require("./lib/icon/icon-constants.cjs"),Ne=require("./lib/illustration/illustration.cjs"),Ce=require("./lib/illustration/illustration-constants.cjs"),de=require("./lib/image-viewer/image-viewer.cjs"),be=require("./lib/input/input.cjs"),L=require("./lib/input/input-constants.cjs"),Le=require("./lib/input-group/input-group.cjs"),Pe=require("./lib/item-layout/item-layout.cjs"),me=require("./lib/keyboard-shortcut/keyboard-shortcut.cjs"),Me=require("./lib/keyboard-shortcut/keyboard-shortcut-constants.cjs"),pe=require("./lib/lazy-show/lazy-show.cjs"),qe=require("./lib/link/link.cjs"),o=require("./lib/link/link-constants.cjs"),fe=require("./lib/list-item/list-item.cjs"),P=require("./lib/list-item/list-item-constants.cjs"),Be=require("./lib/list-item-group/list-item-group.cjs"),Ue=require("./lib/loader/loader.cjs"),Ve=require("./lib/modal/modal.cjs"),c=require("./lib/modal/modal-constants.cjs"),ge=require("./lib/notice/notice.cjs"),Ge=require("./lib/notice/notice-action.cjs"),Fe=require("./lib/notice/notice-icon.cjs"),xe=require("./lib/notice/notice-content.cjs"),m=require("./lib/notice/notice-constants.cjs"),je=require("./lib/pagination/pagination.cjs"),Ke=require("./lib/popover/popover.cjs"),i=require("./lib/popover/popover-constants.cjs"),he=require("./lib/presence/presence.cjs"),M=require("./lib/presence/presence-constants.cjs"),ke=require("./lib/radio/radio.cjs"),Ze=require("./lib/radio/radio-constants.cjs"),He=require("./lib/radio-group/radio-group.cjs"),ve=require("./lib/rich-text-editor/rich-text-editor.cjs"),p=require("./lib/rich-text-editor/rich-text-editor-constants.cjs"),we=require("./lib/root-layout/root-layout.cjs"),q=require("./lib/root-layout/root-layout-constants.cjs"),Ye=require("./lib/select-menu/select-menu.cjs"),f=require("./lib/select-menu/select-menu-constants.cjs"),We=require("./lib/skeleton/skeleton.cjs"),ye=require("./lib/skeleton/skeleton-list-item.cjs"),Xe=require("./lib/skeleton/skeleton-text.cjs"),Je=require("./lib/skeleton/skeleton-shape.cjs"),ze=require("./lib/skeleton/skeleton-paragraph.cjs"),I=require("./lib/skeleton/skeleton-constants.cjs"),Qe=require("./lib/split-button/split-button.cjs"),$e=require("./lib/split-button/split-button-constants.cjs"),et=require("./lib/stack/stack.cjs"),A=require("./lib/stack/stack-constants.cjs"),tt=require("./lib/tab/tab-group.cjs"),_t=require("./lib/tab/tab.cjs"),ot=require("./lib/tab/tab-panel.cjs"),S=require("./lib/tab/tabs-constants.cjs"),it=require("./lib/toast/toast.cjs"),B=require("./lib/toast/toast-constants.cjs"),rt=require("./lib/toggle/toggle.cjs"),U=require("./lib/toggle/toggle-constants.cjs"),Et=require("./lib/tooltip/tooltip.cjs"),l=require("./lib/tooltip/tooltip-constants.cjs"),nt=require("./lib/validation-messages/validation-messages.cjs"),It=require("./lib/callbar-button/callbar-button.cjs"),lt=require("./lib/callbar-button/callbar-button-constants.cjs"),at=require("./lib/callbar-button-with-popover/callbar-button-with-popover.cjs"),St=require("./lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs"),Tt=require("./lib/ivr-node/ivr-node.cjs"),t=require("./lib/ivr-node/ivr-node-constants.cjs"),Ot=require("./lib/grouped-chip/grouped-chip.cjs"),st=require("./lib/combobox-multi-select/combobox-multi-select.cjs"),N=require("./lib/combobox-multi-select/combobox-multi-select-constants.cjs"),ut=require("./lib/combobox-with-popover/combobox-with-popover.cjs"),Rt=require("./lib/attachment-carousel/attachment-carousel.cjs"),Dt=require("./lib/editor/editor.cjs"),ct=require("./lib/emoji-row/emoji-row.cjs"),At=require("./lib/emoji-row/emoji-row-constants.cjs"),Nt=require("./lib/feed-item-pill/feed-item-pill.cjs"),Ct=require("./lib/feed-item-pill/feed-item-pill-constants.cjs"),dt=require("./lib/feed-item-row/feed-item-row.cjs"),V=require("./lib/feed-item-row/feed-item-row-constants.cjs"),bt=require("./lib/message-input/message-input.cjs"),Lt=require("./lib/time-pill/time-pill.cjs"),Pt=require("./lib/settings-menu-button/settings-menu-button.cjs"),mt=require("./lib/contact-info/contact-info.cjs"),Mt=require("./lib/callbox/callbox.cjs"),g=require("./lib/callbox/callbox-constants.cjs"),pt=require("./lib/contact-centers-row/contact-centers-row.cjs"),qt=require("./lib/contact-row/contact-row.cjs"),ft=require("./lib/general-row/general-row.cjs"),T=require("./lib/general-row/general-row-constants.cjs"),Bt=require("./lib/group-row/group-row.cjs"),Ut=require("./lib/unread-pill/unread-pill.cjs"),G=require("./lib/unread-pill/unread-pill-constants.cjs"),Vt=require("./lib/motion-text/motion-text.cjs"),C=require("./lib/motion-text/motion-text-constants.cjs"),gt=require("./lib/top-banner-info/top-banner-info.cjs"),Gt=require("./lib/top-banner-info/top-banner-info-constants.cjs");exports.DEFAULT_VALIDATION_MESSAGE_TYPE=O.DEFAULT_VALIDATION_MESSAGE_TYPE;exports.DESCRIPTION_SIZE_TYPES=O.DESCRIPTION_SIZE_TYPES;exports.VALIDATION_MESSAGE_TYPES=O.VALIDATION_MESSAGE_TYPES;exports.validationMessageValidator=F.validationMessageValidator;exports.disableRootScrolling=E.disableRootScrolling;exports.enableRootScrolling=E.enableRootScrolling;exports.filterFormattedMessages=E.filterFormattedMessages;exports.formatMessages=E.formatMessages;exports.getUniqueString=E.getUniqueString;exports.getValidationState=E.getValidationState;exports.durationInHHMM=a.durationInHHMM;exports.getDateMedium=a.getDateMedium;exports.relativeDate=a.relativeDate;exports.setDateLocale=a.setDateLocale;exports.codeToEmojiData=e.codeToEmojiData;Object.defineProperty(exports,"customEmojiAssetUrl",{enumerable:!0,get:()=>e.customEmojiAssetUrl});exports.defaultEmojiAssetUrl=e.defaultEmojiAssetUrl;Object.defineProperty(exports,"emojiFileExtensionLarge",{enumerable:!0,get:()=>e.emojiFileExtensionLarge});Object.defineProperty(exports,"emojiFileExtensionSmall",{enumerable:!0,get:()=>e.emojiFileExtensionSmall});Object.defineProperty(exports,"emojiImageUrlLarge",{enumerable:!0,get:()=>e.emojiImageUrlLarge});Object.defineProperty(exports,"emojiImageUrlSmall",{enumerable:!0,get:()=>e.emojiImageUrlSmall});exports.emojiJson=e.emojiJson;exports.emojiRegex=e.emojiRegex;exports.emojiShortCodeRegex=e.emojiShortCodeRegex;exports.emojiVersion=e.emojiVersion;exports.filterValidShortCodes=e.filterValidShortCodes;exports.findEmojis=e.findEmojis;exports.findShortCodes=e.findShortCodes;exports.getEmojiData=e.getEmojiData;exports.getEmojiShortCode=e.getEmojiShortCode;exports.setCustomEmojiJson=e.setCustomEmojiJson;exports.setCustomEmojiUrl=e.setCustomEmojiUrl;exports.setEmojiAssetUrlLarge=e.setEmojiAssetUrlLarge;exports.setEmojiAssetUrlSmall=e.setEmojiAssetUrlSmall;exports.shortcodeToEmojiData=e.shortcodeToEmojiData;exports.stringToUnicode=e.stringToUnicode;exports.unicodeToString=e.unicodeToString;exports.validateCustomEmojiJson=e.validateCustomEmojiJson;exports.DialtoneLocalization=x.DialtoneLocalization;exports.DtTooltipDirective=j.DtTooltipDirective;exports.DtScrollbarDirective=K.DtScrollbarDirective;exports.DtDOMMixin=h.default;exports.DtCheckableInputMixin=s.CheckableMixin;exports.DtGroupableInputMixin=s.GroupableMixin;exports.DtInputMixin=s.InputMixin;exports.DtInputGroupMixin=k.InputGroupMixin;exports.DtKeyboardListNavigationMixin=Z.default;exports.DtModalMixin=H.default;exports.DtSkeletonMixin=v.default;exports.DtAvatar=w.default;exports.AVATAR_COLORS=_.AVATAR_COLORS;exports.AVATAR_GROUP_VALIDATOR=_.AVATAR_GROUP_VALIDATOR;exports.AVATAR_ICON_SIZES=_.AVATAR_ICON_SIZES;exports.AVATAR_KIND_MODIFIERS=_.AVATAR_KIND_MODIFIERS;exports.AVATAR_PRESENCE_SIZE_MODIFIERS=_.AVATAR_PRESENCE_SIZE_MODIFIERS;exports.AVATAR_PRESENCE_STATES=_.AVATAR_PRESENCE_STATES;exports.AVATAR_RANDOM_COLORS=_.AVATAR_RANDOM_COLORS;exports.AVATAR_SIZE_MODIFIERS=_.AVATAR_SIZE_MODIFIERS;exports.DtBadge=Y.default;exports.BADGE_DECORATION_MODIFIERS=u.BADGE_DECORATION_MODIFIERS;exports.BADGE_KIND_MODIFIERS=u.BADGE_KIND_MODIFIERS;exports.BADGE_TYPE_MODIFIERS=u.BADGE_TYPE_MODIFIERS;exports.DtBanner=W.default;exports.DtBreadcrumbs=y.default;exports.DtBreadcrumbItem=X.default;exports.BREADCRUMBS_INVERTED_MODIFIER=d.BREADCRUMBS_INVERTED_MODIFIER;exports.BREADCRUMB_ITEM_SELECTED_MODIFIER=d.BREADCRUMB_ITEM_SELECTED_MODIFIER;exports.DtButton=J.default;exports.BUTTON_ICON_SIZES=r.BUTTON_ICON_SIZES;exports.BUTTON_IMPORTANCE_MODIFIERS=r.BUTTON_IMPORTANCE_MODIFIERS;exports.BUTTON_KIND_MODIFIERS=r.BUTTON_KIND_MODIFIERS;exports.BUTTON_SIZE_MODIFIERS=r.BUTTON_SIZE_MODIFIERS;exports.BUTTON_TYPES=r.BUTTON_TYPES;exports.ICON_POSITION_MODIFIERS=r.ICON_POSITION_MODIFIERS;exports.INVALID_COMBINATION=r.INVALID_COMBINATION;exports.DtButtonGroup=z.default;exports.BUTTON_GROUP_ALIGNMENT=Q.BUTTON_GROUP_ALIGNMENT;exports.DtCard=$.default;exports.DtCheckbox=ee.default;exports.DtCheckboxGroup=te.default;exports.DtChip=_e.default;exports.CHIP_CLOSE_BUTTON_SIZE_MODIFIERS=R.CHIP_CLOSE_BUTTON_SIZE_MODIFIERS;exports.CHIP_ICON_SIZES=R.CHIP_ICON_SIZES;exports.CHIP_SIZE_MODIFIERS=R.CHIP_SIZE_MODIFIERS;exports.DtCodeblock=oe.default;exports.DtCollapsible=ie.default;exports.DtCombobox=re.default;exports.COMBOBOX_LABEL_SIZES=Ee.COMBOBOX_LABEL_SIZES;exports.DtDatepicker=ne.default;exports.formatLong=n.formatLong;exports.formatMedium=n.formatMedium;exports.formatNoYear=n.formatNoYear;exports.formatNumerical=n.formatNumerical;exports.formatShort=n.formatShort;exports.DtDescriptionList=Ie.default;exports.DT_DESCRIPTION_LIST_DIRECTION=le.DT_DESCRIPTION_LIST_DIRECTION;exports.DtDropdown=ae.default;exports.DtDropdownSeparator=Se.default;exports.DROPDOWN_PADDING_CLASSES=Te.DROPDOWN_PADDING_CLASSES;exports.DtEmoji=Oe.default;exports.DtEmojiPicker=se.default;exports.CDN_URL=D.CDN_URL;exports.EMOJIS_PER_ROW=D.EMOJIS_PER_ROW;exports.EMOJI_PICKER_SKIN_TONE_MODIFIERS=D.EMOJI_PICKER_SKIN_TONE_MODIFIERS;exports.DtEmojiTextWrapper=ue.default;exports.DtEmptyState=Re.default;exports.EMPTY_STATE_SIZE_MODIFIERS=De.EMPTY_STATE_SIZE_MODIFIERS;exports.DtHovercard=ce.default;exports.DtIcon=Ae.default;exports.ICON_NAMES=b.ICON_NAMES;exports.ICON_SIZE_MODIFIERS=b.ICON_SIZE_MODIFIERS;exports.DtIllustration=Ne.default;exports.ILLUSTRATION_NAMES=Ce.ILLUSTRATION_NAMES;exports.DtImageViewer=de.default;exports.DtInput=be.default;exports.INPUT_SIZES=L.INPUT_SIZES;exports.INPUT_TYPES=L.INPUT_TYPES;exports.DtInputGroup=Le.default;exports.DtItemLayout=Pe.default;exports.DtKeyboardShortcut=me.default;exports.SHORTCUTS_ALIASES_LIST=Me.SHORTCUTS_ALIASES_LIST;exports.DtLazyShow=pe.default;exports.DtLink=qe.default;exports.DANGER=o.DANGER;exports.LINK_KIND_MODIFIERS=o.LINK_KIND_MODIFIERS;exports.LINK_VARIANTS=o.LINK_VARIANTS;exports.MENTION=o.MENTION;exports.MUTED=o.MUTED;exports.SUCCESS=o.SUCCESS;exports.WARNING=o.WARNING;exports.getLinkKindModifier=o.getLinkKindModifier;exports.DtListItem=fe.default;exports.LIST_ITEM_NAVIGATION_TYPES=P.LIST_ITEM_NAVIGATION_TYPES;exports.LIST_ITEM_TYPES=P.LIST_ITEM_TYPES;exports.DtListItemGroup=Be.default;exports.DtLoader=Ue.default;exports.DtModal=Ve.default;exports.MODAL_BANNER_KINDS=c.MODAL_BANNER_KINDS;exports.MODAL_KIND_MODIFIERS=c.MODAL_KIND_MODIFIERS;exports.MODAL_SIZE_MODIFIERS=c.MODAL_SIZE_MODIFIERS;exports.DtNotice=ge.default;exports.DtNoticeAction=Ge.default;exports.DtNoticeIcon=Fe.default;exports.DtNoticeContent=xe.default;exports.NOTICE_KINDS=m.NOTICE_KINDS;exports.NOTICE_ROLES=m.NOTICE_ROLES;exports.DtPagination=je.default;exports.DtPopover=Ke.default;exports.POPOVER_APPEND_TO_VALUES=i.POPOVER_APPEND_TO_VALUES;exports.POPOVER_CONTENT_WIDTHS=i.POPOVER_CONTENT_WIDTHS;exports.POPOVER_DIRECTIONS=i.POPOVER_DIRECTIONS;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=i.POPOVER_HEADER_FOOTER_PADDING_CLASSES;exports.POPOVER_INITIAL_FOCUS_STRINGS=i.POPOVER_INITIAL_FOCUS_STRINGS;exports.POPOVER_PADDING_CLASSES=i.POPOVER_PADDING_CLASSES;exports.POPOVER_ROLES=i.POPOVER_ROLES;exports.POPOVER_STICKY_VALUES=i.POPOVER_STICKY_VALUES;exports.DtPresence=he.default;exports.PRESENCE_STATES=M.PRESENCE_STATES;exports.PRESENCE_STATES_LIST=M.PRESENCE_STATES_LIST;exports.DtRadio=ke.default;exports.RADIO_INPUT_VALIDATION_CLASSES=Ze.RADIO_INPUT_VALIDATION_CLASSES;exports.DtRadioGroup=He.default;exports.DtRichTextEditor=ve.default;exports.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES=p.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES;exports.RICH_TEXT_EDITOR_OUTPUT_FORMATS=p.RICH_TEXT_EDITOR_OUTPUT_FORMATS;exports.DtRootLayout=we.default;exports.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS=q.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS;exports.ROOT_LAYOUT_SIDEBAR_POSITIONS=q.ROOT_LAYOUT_SIDEBAR_POSITIONS;exports.DtSelectMenu=Ye.default;exports.SELECT_SIZE_MODIFIERS=f.SELECT_SIZE_MODIFIERS;exports.SELECT_STATE_MODIFIERS=f.SELECT_STATE_MODIFIERS;exports.DtSkeleton=We.default;exports.DtSkeletonListItem=ye.default;exports.DtSkeletonText=Xe.default;exports.DtSkeletonShape=Je.default;exports.DtSkeletonParagraph=ze.default;exports.SKELETON_HEADING_HEIGHTS=I.SKELETON_HEADING_HEIGHTS;exports.SKELETON_RIPPLE_DURATION=I.SKELETON_RIPPLE_DURATION;exports.SKELETON_SHAPES=I.SKELETON_SHAPES;exports.SKELETON_SHAPE_SIZES=I.SKELETON_SHAPE_SIZES;exports.SKELETON_TEXT_TYPES=I.SKELETON_TEXT_TYPES;exports.DtSplitButton=Qe.default;exports.SPLIT_BUTTON_ICON_SIZES=$e.SPLIT_BUTTON_ICON_SIZES;exports.DtStack=et.default;exports.DT_STACK_DIRECTION=A.DT_STACK_DIRECTION;exports.DT_STACK_GAP=A.DT_STACK_GAP;exports.DT_STACK_RESPONSIVE_BREAKPOINTS=A.DT_STACK_RESPONSIVE_BREAKPOINTS;exports.DtTabGroup=tt.default;exports.DtTab=_t.default;exports.DtTabPanel=ot.default;exports.TAB_IMPORTANCE_MODIFIERS=S.TAB_IMPORTANCE_MODIFIERS;exports.TAB_LIST_IMPORTANCE_MODIFIERS=S.TAB_LIST_IMPORTANCE_MODIFIERS;exports.TAB_LIST_KIND_MODIFIERS=S.TAB_LIST_KIND_MODIFIERS;exports.TAB_LIST_SIZES=S.TAB_LIST_SIZES;exports.DtToast=it.default;exports.TOAST_MIN_DURATION=B.TOAST_MIN_DURATION;exports.TOAST_ROLES=B.TOAST_ROLES;exports.DtToggle=rt.default;exports.TOGGLE_CHECKED_VALUES=U.TOGGLE_CHECKED_VALUES;exports.TOGGLE_SIZE_MODIFIERS=U.TOGGLE_SIZE_MODIFIERS;exports.DtTooltip=Et.default;exports.TOOLTIP_DELAY_MS=l.TOOLTIP_DELAY_MS;exports.TOOLTIP_DIRECTIONS=l.TOOLTIP_DIRECTIONS;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=l.TOOLTIP_HIDE_ON_CLICK_VARIANTS;exports.TOOLTIP_KIND_MODIFIERS=l.TOOLTIP_KIND_MODIFIERS;exports.TOOLTIP_STICKY_VALUES=l.TOOLTIP_STICKY_VALUES;exports.DtValidationMessages=nt.default;exports.DtRecipeCallbarButton=It.default;exports.CALLBAR_BUTTON_VALID_WIDTH_SIZE=lt.CALLBAR_BUTTON_VALID_WIDTH_SIZE;exports.DtRecipeCallbarButtonWithPopover=at.default;exports.DtRecipeCallbarButtonWithDropdown=St.default;exports.DtRecipeIvrNode=Tt.default;exports.IVR_NODE_ASSIGN=t.IVR_NODE_ASSIGN;exports.IVR_NODE_BRANCH=t.IVR_NODE_BRANCH;exports.IVR_NODE_CUSTOMER_DATA=t.IVR_NODE_CUSTOMER_DATA;exports.IVR_NODE_EXPERT=t.IVR_NODE_EXPERT;exports.IVR_NODE_GO_TO=t.IVR_NODE_GO_TO;exports.IVR_NODE_HANGUP=t.IVR_NODE_HANGUP;exports.IVR_NODE_ICON_TYPES=t.IVR_NODE_ICON_TYPES;exports.IVR_NODE_LABELS=t.IVR_NODE_LABELS;exports.IVR_NODE_PROMPT_COLLECT=t.IVR_NODE_PROMPT_COLLECT;exports.IVR_NODE_PROMPT_MENU=t.IVR_NODE_PROMPT_MENU;exports.IVR_NODE_PROMPT_PLAY=t.IVR_NODE_PROMPT_PLAY;exports.IVR_NODE_TRANSFER=t.IVR_NODE_TRANSFER;exports.DtRecipeGroupedChip=Ot.default;exports.DtRecipeComboboxMultiSelect=st.default;exports.CHIP_SIZES=N.CHIP_SIZES;exports.CHIP_TOP_POSITION=N.CHIP_TOP_POSITION;exports.MULTI_SELECT_SIZES=N.MULTI_SELECT_SIZES;exports.DtRecipeComboboxWithPopover=ut.default;exports.DtRecipeAttachmentCarousel=Rt.default;exports.DtRecipeEditor=Dt.default;exports.DtRecipeEmojiRow=ct.default;exports.REACTIONS_ATTRIBUTES=At.REACTIONS_ATTRIBUTES;exports.DtRecipeFeedItemPill=Nt.default;exports.FEED_ITEM_PILL_BORDER_COLORS=Ct.FEED_ITEM_PILL_BORDER_COLORS;exports.DtRecipeFeedItemRow=dt.default;exports.DEFAULT_FEED_ROW_STATE=V.DEFAULT_FEED_ROW_STATE;exports.FEED_ROW_STATE_BACKGROUND_COLOR=V.FEED_ROW_STATE_BACKGROUND_COLOR;exports.DtRecipeMessageInput=bt.default;exports.DtRecipeTimePill=Lt.default;exports.DtRecipeSettingsMenuButton=Pt.default;exports.DtRecipeContactInfo=mt.default;exports.DtRecipeCallbox=Mt.default;exports.CALLBOX_BADGE_COLORS=g.CALLBOX_BADGE_COLORS;exports.CALLBOX_BORDER_COLORS=g.CALLBOX_BORDER_COLORS;exports.DtRecipeContactCentersRow=pt.default;exports.DtRecipeContactRow=qt.default;exports.DtRecipeGeneralRow=ft.default;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS=T.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR=T.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR;exports.LEFTBAR_GENERAL_ROW_ICON_SIZES=T.LEFTBAR_GENERAL_ROW_ICON_SIZES;exports.LEFTBAR_GENERAL_ROW_TYPES=T.LEFTBAR_GENERAL_ROW_TYPES;exports.DtRecipeGroupRow=Bt.default;exports.DtRecipeUnreadPill=Ut.default;exports.UNREAD_PILL_DIRECTIONS=G.UNREAD_PILL_DIRECTIONS;exports.UNREAD_PILL_KINDS=G.UNREAD_PILL_KINDS;exports.DtRecipeMotionText=Vt.default;exports.MOTION_TEXT_ANIMATION_MODES=C.MOTION_TEXT_ANIMATION_MODES;exports.MOTION_TEXT_SPEEDS=C.MOTION_TEXT_SPEEDS;exports.MOTION_TEXT_TIMING_PRESETS=C.MOTION_TEXT_TIMING_PRESETS;exports.DtRecipeTopBannerInfo=gt.default;exports.COLOR_CODES=Gt.COLOR_CODES;
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_VALIDATION_MESSAGE_TYPE as e, DESCRIPTION_SIZE_TYPES as r, VALIDATION_MESSAGE_TYPES as a } from "./common/constants/index.js";
|
|
2
2
|
import { validationMessageValidator as _ } from "./common/validators/index.js";
|
|
3
3
|
import { disableRootScrolling as f, enableRootScrolling as D, filterFormattedMessages as S, formatMessages as T, getUniqueString as O, getValidationState as p } from "./common/utils/index.js";
|
|
4
|
-
import { durationInHHMM as R, getDateMedium as
|
|
4
|
+
import { durationInHHMM as R, getDateMedium as x, relativeDate as l, setDateLocale as i } from "./common/dates/index.js";
|
|
5
5
|
import { codeToEmojiData as s, customEmojiAssetUrl as N, defaultEmojiAssetUrl as u, emojiFileExtensionLarge as d, emojiFileExtensionSmall as C, emojiImageUrlLarge as L, emojiImageUrlSmall as P, emojiJson as n, emojiRegex as M, emojiShortCodeRegex as c, emojiVersion as B, filterValidShortCodes as U, findEmojis as V, findShortCodes as F, getEmojiData as G, getEmojiShortCode as g, setCustomEmojiJson as K, setCustomEmojiUrl as b, setEmojiAssetUrlLarge as j, setEmojiAssetUrlSmall as H, shortcodeToEmojiData as Z, stringToUnicode as h, unicodeToString as Y, validateCustomEmojiJson as k } from "./common/emoji/index.js";
|
|
6
6
|
import { DialtoneLocalization as v } from "./localization/index.js";
|
|
7
7
|
import { DtTooltipDirective as X } from "./lib/tooltip-directive/tooltip.js";
|
|
@@ -13,7 +13,7 @@ import { default as Et } from "./common/mixins/keyboard-list-navigation.js";
|
|
|
13
13
|
import { default as It } from "./common/mixins/modal.js";
|
|
14
14
|
import { default as Dt } from "./common/mixins/skeleton.js";
|
|
15
15
|
import { default as Tt } from "./lib/avatar/avatar.js";
|
|
16
|
-
import { AVATAR_COLORS as pt, AVATAR_GROUP_VALIDATOR as mt, AVATAR_ICON_SIZES as Rt, AVATAR_KIND_MODIFIERS as
|
|
16
|
+
import { AVATAR_COLORS as pt, AVATAR_GROUP_VALIDATOR as mt, AVATAR_ICON_SIZES as Rt, AVATAR_KIND_MODIFIERS as xt, AVATAR_PRESENCE_SIZE_MODIFIERS as lt, AVATAR_PRESENCE_STATES as it, AVATAR_RANDOM_COLORS as At, AVATAR_SIZE_MODIFIERS as st } from "./lib/avatar/avatar-constants.js";
|
|
17
17
|
import { default as ut } from "./lib/badge/badge.js";
|
|
18
18
|
import { BADGE_DECORATION_MODIFIERS as Ct, BADGE_KIND_MODIFIERS as Lt, BADGE_TYPE_MODIFIERS as Pt } from "./lib/badge/badge-constants.js";
|
|
19
19
|
import { default as Mt } from "./lib/banner/banner.js";
|
|
@@ -33,7 +33,7 @@ import { default as Do } from "./lib/codeblock/codeblock.js";
|
|
|
33
33
|
import { default as To } from "./lib/collapsible/collapsible.js";
|
|
34
34
|
import { default as po } from "./lib/combobox/combobox.js";
|
|
35
35
|
import { COMBOBOX_LABEL_SIZES as Ro } from "./lib/combobox/combobox-constants.js";
|
|
36
|
-
import { default as
|
|
36
|
+
import { default as lo } from "./lib/datepicker/datepicker.js";
|
|
37
37
|
import { formatLong as Ao, formatMedium as so, formatNoYear as No, formatNumerical as uo, formatShort as Co } from "./lib/datepicker/formatUtils.js";
|
|
38
38
|
import { default as Po } from "./lib/description-list/description-list.js";
|
|
39
39
|
import { DT_DESCRIPTION_LIST_DIRECTION as Mo } from "./lib/description-list/description-list-constants.js";
|
|
@@ -55,7 +55,7 @@ import { default as Ie } from "./lib/image-viewer/image-viewer.js";
|
|
|
55
55
|
import { default as De } from "./lib/input/input.js";
|
|
56
56
|
import { INPUT_SIZES as Te, INPUT_TYPES as Oe } from "./lib/input/input-constants.js";
|
|
57
57
|
import { default as me } from "./lib/input-group/input-group.js";
|
|
58
|
-
import { default as
|
|
58
|
+
import { default as xe } from "./lib/item-layout/item-layout.js";
|
|
59
59
|
import { default as ie } from "./lib/keyboard-shortcut/keyboard-shortcut.js";
|
|
60
60
|
import { SHORTCUTS_ALIASES_LIST as se } from "./lib/keyboard-shortcut/keyboard-shortcut-constants.js";
|
|
61
61
|
import { default as ue } from "./lib/lazy-show/lazy-show.js";
|
|
@@ -74,7 +74,7 @@ import { default as er } from "./lib/notice/notice-content.js";
|
|
|
74
74
|
import { NOTICE_KINDS as ar, NOTICE_ROLES as Er } from "./lib/notice/notice-constants.js";
|
|
75
75
|
import { default as Ir } from "./lib/pagination/pagination.js";
|
|
76
76
|
import { default as Dr } from "./lib/popover/popover.js";
|
|
77
|
-
import { POPOVER_APPEND_TO_VALUES as Tr, POPOVER_CONTENT_WIDTHS as Or, POPOVER_DIRECTIONS as pr, POPOVER_HEADER_FOOTER_PADDING_CLASSES as mr, POPOVER_INITIAL_FOCUS_STRINGS as Rr, POPOVER_PADDING_CLASSES as
|
|
77
|
+
import { POPOVER_APPEND_TO_VALUES as Tr, POPOVER_CONTENT_WIDTHS as Or, POPOVER_DIRECTIONS as pr, POPOVER_HEADER_FOOTER_PADDING_CLASSES as mr, POPOVER_INITIAL_FOCUS_STRINGS as Rr, POPOVER_PADDING_CLASSES as xr, POPOVER_ROLES as lr, POPOVER_STICKY_VALUES as ir } from "./lib/popover/popover-constants.js";
|
|
78
78
|
import { default as sr } from "./lib/presence/presence.js";
|
|
79
79
|
import { PRESENCE_STATES as ur, PRESENCE_STATES_LIST as dr } from "./lib/presence/presence-constants.js";
|
|
80
80
|
import { default as Lr } from "./lib/radio/radio.js";
|
|
@@ -95,7 +95,7 @@ import { SKELETON_HEADING_HEIGHTS as ea, SKELETON_RIPPLE_DURATION as ra, SKELETO
|
|
|
95
95
|
import { default as fa } from "./lib/split-button/split-button.js";
|
|
96
96
|
import { SPLIT_BUTTON_ICON_SIZES as Sa } from "./lib/split-button/split-button-constants.js";
|
|
97
97
|
import { default as Oa } from "./lib/stack/stack.js";
|
|
98
|
-
import { DT_STACK_DIRECTION as ma, DT_STACK_GAP as Ra, DT_STACK_RESPONSIVE_BREAKPOINTS as
|
|
98
|
+
import { DT_STACK_DIRECTION as ma, DT_STACK_GAP as Ra, DT_STACK_RESPONSIVE_BREAKPOINTS as xa } from "./lib/stack/stack-constants.js";
|
|
99
99
|
import { default as ia } from "./lib/tab/tab-group.js";
|
|
100
100
|
import { default as sa } from "./lib/tab/tab.js";
|
|
101
101
|
import { default as ua } from "./lib/tab/tab-panel.js";
|
|
@@ -112,7 +112,7 @@ import { CALLBAR_BUTTON_VALID_WIDTH_SIZE as qa } from "./lib/callbar-button/call
|
|
|
112
112
|
import { default as $a } from "./lib/callbar-button-with-popover/callbar-button-with-popover.js";
|
|
113
113
|
import { default as oE } from "./lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js";
|
|
114
114
|
import { default as rE } from "./lib/ivr-node/ivr-node.js";
|
|
115
|
-
import { IVR_NODE_ASSIGN as EE, IVR_NODE_BRANCH as _E, IVR_NODE_CUSTOMER_DATA as IE, IVR_NODE_EXPERT as fE, IVR_NODE_GO_TO as DE, IVR_NODE_HANGUP as SE, IVR_NODE_ICON_TYPES as TE, IVR_NODE_LABELS as OE, IVR_NODE_PROMPT_COLLECT as pE, IVR_NODE_PROMPT_MENU as mE, IVR_NODE_PROMPT_PLAY as RE, IVR_NODE_TRANSFER as
|
|
115
|
+
import { IVR_NODE_ASSIGN as EE, IVR_NODE_BRANCH as _E, IVR_NODE_CUSTOMER_DATA as IE, IVR_NODE_EXPERT as fE, IVR_NODE_GO_TO as DE, IVR_NODE_HANGUP as SE, IVR_NODE_ICON_TYPES as TE, IVR_NODE_LABELS as OE, IVR_NODE_PROMPT_COLLECT as pE, IVR_NODE_PROMPT_MENU as mE, IVR_NODE_PROMPT_PLAY as RE, IVR_NODE_TRANSFER as xE } from "./lib/ivr-node/ivr-node-constants.js";
|
|
116
116
|
import { default as iE } from "./lib/grouped-chip/grouped-chip.js";
|
|
117
117
|
import { default as sE } from "./lib/combobox-multi-select/combobox-multi-select.js";
|
|
118
118
|
import { CHIP_SIZES as uE, CHIP_TOP_POSITION as dE, MULTI_SELECT_SIZES as CE } from "./lib/combobox-multi-select/combobox-multi-select-constants.js";
|
|
@@ -136,16 +136,18 @@ import { default as __ } from "./lib/contact-row/contact-row.js";
|
|
|
136
136
|
import { default as f_ } from "./lib/general-row/general-row.js";
|
|
137
137
|
import { LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS as S_, LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR as T_, LEFTBAR_GENERAL_ROW_ICON_SIZES as O_, LEFTBAR_GENERAL_ROW_TYPES as p_ } from "./lib/general-row/general-row-constants.js";
|
|
138
138
|
import { default as R_ } from "./lib/group-row/group-row.js";
|
|
139
|
-
import { default as
|
|
139
|
+
import { default as l_ } from "./lib/unread-pill/unread-pill.js";
|
|
140
140
|
import { UNREAD_PILL_DIRECTIONS as A_, UNREAD_PILL_KINDS as s_ } from "./lib/unread-pill/unread-pill-constants.js";
|
|
141
|
-
import { default as u_ } from "./lib/
|
|
142
|
-
import {
|
|
141
|
+
import { default as u_ } from "./lib/motion-text/motion-text.js";
|
|
142
|
+
import { MOTION_TEXT_ANIMATION_MODES as C_, MOTION_TEXT_SPEEDS as L_, MOTION_TEXT_TIMING_PRESETS as P_ } from "./lib/motion-text/motion-text-constants.js";
|
|
143
|
+
import { default as M_ } from "./lib/top-banner-info/top-banner-info.js";
|
|
144
|
+
import { COLOR_CODES as B_ } from "./lib/top-banner-info/top-banner-info-constants.js";
|
|
143
145
|
export {
|
|
144
146
|
pt as AVATAR_COLORS,
|
|
145
147
|
mt as AVATAR_GROUP_VALIDATOR,
|
|
146
148
|
Rt as AVATAR_ICON_SIZES,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
xt as AVATAR_KIND_MODIFIERS,
|
|
150
|
+
lt as AVATAR_PRESENCE_SIZE_MODIFIERS,
|
|
149
151
|
it as AVATAR_PRESENCE_STATES,
|
|
150
152
|
At as AVATAR_RANDOM_COLORS,
|
|
151
153
|
st as AVATAR_SIZE_MODIFIERS,
|
|
@@ -169,7 +171,7 @@ export {
|
|
|
169
171
|
uE as CHIP_SIZES,
|
|
170
172
|
Io as CHIP_SIZE_MODIFIERS,
|
|
171
173
|
dE as CHIP_TOP_POSITION,
|
|
172
|
-
|
|
174
|
+
B_ as COLOR_CODES,
|
|
173
175
|
Ro as COMBOBOX_LABEL_SIZES,
|
|
174
176
|
Pe as DANGER,
|
|
175
177
|
YE as DEFAULT_FEED_ROW_STATE,
|
|
@@ -179,7 +181,7 @@ export {
|
|
|
179
181
|
Mo as DT_DESCRIPTION_LIST_DIRECTION,
|
|
180
182
|
ma as DT_STACK_DIRECTION,
|
|
181
183
|
Ra as DT_STACK_GAP,
|
|
182
|
-
|
|
184
|
+
xa as DT_STACK_RESPONSIVE_BREAKPOINTS,
|
|
183
185
|
v as DialtoneLocalization,
|
|
184
186
|
Tt as DtAvatar,
|
|
185
187
|
ut as DtBadge,
|
|
@@ -197,7 +199,7 @@ export {
|
|
|
197
199
|
To as DtCollapsible,
|
|
198
200
|
po as DtCombobox,
|
|
199
201
|
q as DtDOMMixin,
|
|
200
|
-
|
|
202
|
+
lo as DtDatepicker,
|
|
201
203
|
Po as DtDescriptionList,
|
|
202
204
|
Bo as DtDropdown,
|
|
203
205
|
Vo as DtDropdownSeparator,
|
|
@@ -214,7 +216,7 @@ export {
|
|
|
214
216
|
me as DtInputGroup,
|
|
215
217
|
rt as DtInputGroupMixin,
|
|
216
218
|
ot as DtInputMixin,
|
|
217
|
-
|
|
219
|
+
xe as DtItemLayout,
|
|
218
220
|
Et as DtKeyboardListNavigationMixin,
|
|
219
221
|
ie as DtKeyboardShortcut,
|
|
220
222
|
ue as DtLazyShow,
|
|
@@ -252,10 +254,11 @@ export {
|
|
|
252
254
|
iE as DtRecipeGroupedChip,
|
|
253
255
|
rE as DtRecipeIvrNode,
|
|
254
256
|
vE as DtRecipeMessageInput,
|
|
257
|
+
u_ as DtRecipeMotionText,
|
|
255
258
|
JE as DtRecipeSettingsMenuButton,
|
|
256
259
|
XE as DtRecipeTimePill,
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
M_ as DtRecipeTopBannerInfo,
|
|
261
|
+
l_ as DtRecipeUnreadPill,
|
|
259
262
|
Ur as DtRichTextEditor,
|
|
260
263
|
Kr as DtRootLayout,
|
|
261
264
|
J as DtScrollbarDirective,
|
|
@@ -299,7 +302,7 @@ export {
|
|
|
299
302
|
pE as IVR_NODE_PROMPT_COLLECT,
|
|
300
303
|
mE as IVR_NODE_PROMPT_MENU,
|
|
301
304
|
RE as IVR_NODE_PROMPT_PLAY,
|
|
302
|
-
|
|
305
|
+
xE as IVR_NODE_TRANSFER,
|
|
303
306
|
S_ as LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
304
307
|
T_ as LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR,
|
|
305
308
|
O_ as LEFTBAR_GENERAL_ROW_ICON_SIZES,
|
|
@@ -312,6 +315,9 @@ export {
|
|
|
312
315
|
we as MODAL_BANNER_KINDS,
|
|
313
316
|
Xe as MODAL_KIND_MODIFIERS,
|
|
314
317
|
ye as MODAL_SIZE_MODIFIERS,
|
|
318
|
+
C_ as MOTION_TEXT_ANIMATION_MODES,
|
|
319
|
+
L_ as MOTION_TEXT_SPEEDS,
|
|
320
|
+
P_ as MOTION_TEXT_TIMING_PRESETS,
|
|
315
321
|
CE as MULTI_SELECT_SIZES,
|
|
316
322
|
Be as MUTED,
|
|
317
323
|
ar as NOTICE_KINDS,
|
|
@@ -321,8 +327,8 @@ export {
|
|
|
321
327
|
pr as POPOVER_DIRECTIONS,
|
|
322
328
|
mr as POPOVER_HEADER_FOOTER_PADDING_CLASSES,
|
|
323
329
|
Rr as POPOVER_INITIAL_FOCUS_STRINGS,
|
|
324
|
-
|
|
325
|
-
|
|
330
|
+
xr as POPOVER_PADDING_CLASSES,
|
|
331
|
+
lr as POPOVER_ROLES,
|
|
326
332
|
ir as POPOVER_STICKY_VALUES,
|
|
327
333
|
ur as PRESENCE_STATES,
|
|
328
334
|
dr as PRESENCE_STATES_LIST,
|
|
@@ -383,13 +389,13 @@ export {
|
|
|
383
389
|
No as formatNoYear,
|
|
384
390
|
uo as formatNumerical,
|
|
385
391
|
Co as formatShort,
|
|
386
|
-
|
|
392
|
+
x as getDateMedium,
|
|
387
393
|
G as getEmojiData,
|
|
388
394
|
g as getEmojiShortCode,
|
|
389
395
|
Fe as getLinkKindModifier,
|
|
390
396
|
O as getUniqueString,
|
|
391
397
|
p as getValidationState,
|
|
392
|
-
|
|
398
|
+
l as relativeDate,
|
|
393
399
|
K as setCustomEmojiJson,
|
|
394
400
|
b as setCustomEmojiUrl,
|
|
395
401
|
i as setDateLocale,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialtone-vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialtone-vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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 a=require("../../common/utils/index.cjs"),i=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),r=require("../tooltip/tooltip-constants.cjs"),l=require("../popover/popover.cjs"),s=require("../popover/popover-constants.cjs"),u={name:"DtHovercard",components:{DtPopover:l.default},props:{open:{type:Boolean,default:null},transition:{type:Boolean,default:!1},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"top-start",validator(t){return r.TOOLTIP_DIRECTIONS.includes(t)}},padding:{type:String,default:"large",validator:t=>Object.keys(s.POPOVER_PADDING_CLASSES).some(e=>e===t)},offset:{type:Array,default:()=>[0,16]},id:{type:String,default(){return a.getUniqueString()}},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>s.POPOVER_APPEND_TO_VALUES.includes(t)||t instanceof HTMLElement},enterDelay:{type:Number,default:r.TOOLTIP_DELAY_MS},leaveDelay:{type:Number,default:r.TOOLTIP_DELAY_MS}},emits:["opened"],data(){return{hovercardOpen:this.open,anchorEl:null,observer:null,inTimer:null,outTimer:null,contentFocused:!1,mouseOverHovercard:!1}},watch:{open:{handler:function(t){this.hovercardOpen=t},immediate:!0}},mounted(){this.$nextTick(()=>{var t,e,o;this.anchorEl=(o=(e=(t=this.$refs.popover)==null?void 0:t.$refs)==null?void 0:e.anchor)==null?void 0:o.firstElementChild,this.observer=new MutationObserver(()=>{this.anchorEl&&!this.anchorEl.isConnected&&(this.hovercardOpen=!1)}),this.observer.observe(document.body,{childList:!0,subtree:!0})})},beforeDestroy(){this.observer&&this.observer.disconnect(),clearTimeout(this.inTimer),clearTimeout(this.outTimer)},methods:{setInTimer(){this.open===null&&(clearTimeout(this.outTimer),this.inTimer=setTimeout(()=>{this.hovercardOpen=!0},this.enterDelay))},setOutTimer(){this.open===null&&(clearTimeout(this.inTimer),this.outTimer=setTimeout(()=>{this.hovercardOpen=!1},this.leaveDelay))},onMouseEnter(){this.mouseOverHovercard=!0,this.setInTimer()},onMouseLeave(){this.mouseOverHovercard=!1,!this.contentFocused&&this.open===null&&(clearTimeout(this.inTimer),this.setOutTimer())},onContentFocusIn(){this.contentFocused=!0,this.setInTimer()},onContentFocusOut(){this.contentFocused=!1,this.mouseOverHovercard||this.setOutTimer()}}};var c=function(){var e=this,o=e._self._c;return o("dt-popover",{ref:"popover",attrs:{id:e.id,open:e.hovercardOpen,placement:e.placement,"content-class":e.contentClass,"dialog-class":e.dialogClass,"fallback-placements":e.fallbackPlacements,padding:e.padding,transition:e.transition?"fade":null,offset:e.offset,modal:!1,"initial-focus-element":"none","header-class":e.headerClass,"footer-class":e.footerClass,"append-to":e.appendTo,"data-qa":"dt-hovercard","enter-delay":e.enterDelay,"leave-delay":e.leaveDelay},on:{opened:n=>e.$emit("opened",n),"mouseenter-popover":e.onMouseEnter,"mouseleave-popover":e.onMouseLeave,"mouseenter-popover-anchor":e.onMouseEnter,"mouseleave-popover-anchor":e.onMouseLeave},scopedSlots:e._u([{key:"anchor",fn:function({attrs:n}){return[e._t("anchor",null,null,n)]}},{key:"content",fn:function(){return[o("div",{on:{focusin:e.onContentFocusIn,focusout:e.onContentFocusOut}},[e._t("content")],2)]},proxy:!0},{key:"headerContent",fn:function(){return[e._t("headerContent")]},proxy:!0},{key:"footerContent",fn:function(){return[e._t("footerContent")]},proxy:!0}],null,!0)})},d=[],p=i.n(u,c,d);const f=p.exports;exports.default=f;
|
|
2
2
|
//# sourceMappingURL=hovercard.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hovercard.cjs","sources":["../../../components/hovercard/hovercard.vue"],"sourcesContent":["<template>\n <dt-popover\n :id=\"id\"\n ref=\"popover\"\n :open=\"hovercardOpen\"\n :placement=\"placement\"\n :content-class=\"contentClass\"\n :dialog-class=\"dialogClass\"\n :fallback-placements=\"fallbackPlacements\"\n :padding=\"padding\"\n :transition=\"transition ? 'fade' : null\"\n :offset=\"offset\"\n :modal=\"false\"\n initial-focus-element=\"none\"\n :header-class=\"headerClass\"\n :footer-class=\"footerClass\"\n :append-to=\"appendTo\"\n data-qa=\"dt-hovercard\"\n :enter-delay=\"enterDelay\"\n :leave-delay=\"leaveDelay\"\n @opened=\"(e) => ($emit('opened', e))\"\n @mouseenter-popover=\"onMouseEnter\"\n @mouseleave-popover=\"onMouseLeave\"\n @mouseenter-popover-anchor=\"onMouseEnter\"\n @mouseleave-popover-anchor=\"onMouseLeave\"\n >\n <template #anchor=\"{ attrs }\">\n <slot\n name=\"anchor\"\n v-bind=\"attrs\"\n />\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n</template>\n\n<script>\nimport { POPOVER_APPEND_TO_VALUES, POPOVER_PADDING_CLASSES, DtPopover } from '@/components/popover/index.js';\nimport { TOOLTIP_DIRECTIONS, TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\nimport { getUniqueString } from '@/common/utils';\n\nexport default {\n name: 'DtHovercard',\n\n components: {\n DtPopover,\n },\n\n props: {\n /**\n * Controls whether the hovercard is shown. Leaving this null will have the hovercard trigger on hover 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 .sync modifier\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Fade transition when the content display is toggled.\n * @type boolean\n * @values true, false\n */\n transition: {\n type: Boolean,\n default: false,\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 * @see https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\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 * @see https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\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: 'top-start',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\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 * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * @see https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\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 * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\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 * The enter delay in milliseconds before the hovercard is shown.\n * @type number\n */\n enterDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n\n /**\n * The leave delay in milliseconds before the hovercard is hidden.\n * @type number\n */\n leaveDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n },\n\n emits: [\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 hovercardOpen: this.open,\n anchorEl: null,\n observer: null,\n inTimer: null,\n outTimer: null,\n };\n },\n\n watch: {\n open: {\n handler: function (open) {\n this.hovercardOpen = open;\n },\n\n immediate: true,\n },\n },\n\n mounted () {\n this.$nextTick(() => {\n this.anchorEl = this.$refs.popover?.$refs?.anchor?.firstElementChild;\n\n this.observer = new MutationObserver(() => {\n if (this.anchorEl && !this.anchorEl.isConnected) {\n // If the anchor element is removed from the DOM, close the hovercard\n this.hovercardOpen = false;\n }\n });\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n },\n\n beforeDestroy () {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n clearTimeout(this.inTimer);\n clearTimeout(this.outTimer);\n },\n\n methods: {\n setInTimer () {\n this.inTimer = setTimeout(() => {\n this.hovercardOpen = true;\n }, this.enterDelay);\n },\n\n setOutTimer () {\n this.outTimer = setTimeout(() => {\n this.hovercardOpen = false;\n }, this.leaveDelay);\n },\n\n onMouseEnter () {\n if (this.open === null) {\n clearTimeout(this.outTimer);\n this.setInTimer();\n }\n },\n\n onMouseLeave () {\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtPopover","placement","TOOLTIP_DIRECTIONS","padding","POPOVER_PADDING_CLASSES","item","getUniqueString","appendTo","POPOVER_APPEND_TO_VALUES","TOOLTIP_DELAY_MS","open","_c","_b","_a"],"mappings":"oVAkDAA,EAAA,CACA,KAAA,cAEA,WAAA,CACA,UAAAC,EAAAA,OACA,EAEA,MAAA,CAOA,KAAA,CACA,KAAA,QACA,QAAA,IACA,EAOA,WAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,mBAAA,CACA,KAAA,MACA,QAAA,IACA,CAAA,MAAA,CAEA,EAWA,UAAA,CACA,KAAA,OACA,QAAA,YACA,UAAAC,EAAA,CACA,OAAAC,EAAAA,mBAAA,SAAAD,CAAA,CACA,CACA,EAMA,QAAA,CACA,KAAA,OACA,QAAA,QACA,UAAAE,GACA,OAAA,KAAAC,yBAAA,EAAA,KAAAC,GAAAA,IAAAF,CAAA,CAEA,EAOA,OAAA,CACA,KAAA,MACA,QAAA,IAAA,CAAA,EAAA,EAAA,CACA,EAKA,GAAA,CACA,KAAA,OACA,SAAA,CAAA,OAAAG,EAAAA,gBAAA,CAAA,CACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,aAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAOA,SAAA,CACA,KAAA,CAAA,YAAA,MAAA,EACA,QAAA,OACA,UAAAC,GACAC,EAAAA,yBAAA,SAAAD,CAAA,GACAA,aAAA,WAEA,EAMA,WAAA,CACA,KAAA,OACA,QAAAE,EAAAA,gBACA,EAMA,WAAA,CACA,KAAA,OACA,QAAAA,EAAAA,gBACA,CACA,EAEA,MAAA,CAOA,QACA,EAEA,MAAA,CACA,MAAA,CACA,cAAA,KAAA,KACA,SAAA,KACA,SAAA,KACA,QAAA,KACA,SAAA,IACA,CACA,EAEA,MAAA,CACA,KAAA,CACA,QAAA,SAAAC,EAAA,CACA,KAAA,cAAAA,CACA,EAEA,UAAA,EACA,CACA,EAEA,SAAA,CACA,KAAA,UAAA,IAAA,WACA,KAAA,UAAAC,GAAAC,GAAAC,EAAA,KAAA,MAAA,UAAA,YAAAA,EAAA,QAAA,YAAAD,EAAA,SAAA,YAAAD,EAAA,kBAEA,KAAA,SAAA,IAAA,iBAAA,IAAA,CACA,KAAA,UAAA,CAAA,KAAA,SAAA,cAEA,KAAA,cAAA,GAEA,CAAA,EAEA,KAAA,SAAA,QAAA,SAAA,KAAA,CACA,UAAA,GACA,QAAA,EACA,CAAA,CACA,CAAA,CACA,EAEA,eAAA,CACA,KAAA,UACA,KAAA,SAAA,WAAA,EAGA,aAAA,KAAA,OAAA,EACA,aAAA,KAAA,QAAA,CACA,EAEA,QAAA,CACA,YAAA,CACA,KAAA,QAAA,WAAA,IAAA,CACA,KAAA,cAAA,EACA,EAAA,KAAA,UAAA,CACA,EAEA,aAAA,CACA,KAAA,SAAA,WAAA,IAAA,CACA,KAAA,cAAA,EACA,EAAA,KAAA,UAAA,CACA,EAEA,cAAA,CACA,KAAA,OAAA,OACA,aAAA,KAAA,QAAA,EACA,KAAA,WAAA,EAEA,EAEA,cAAA,CACA,KAAA,OAAA,OACA,aAAA,KAAA,OAAA,EACA,KAAA,YAAA,EAEA,CACA,CACA"}
|
|
1
|
+
{"version":3,"file":"hovercard.cjs","sources":["../../../components/hovercard/hovercard.vue"],"sourcesContent":["<template>\n <dt-popover\n :id=\"id\"\n ref=\"popover\"\n :open=\"hovercardOpen\"\n :placement=\"placement\"\n :content-class=\"contentClass\"\n :dialog-class=\"dialogClass\"\n :fallback-placements=\"fallbackPlacements\"\n :padding=\"padding\"\n :transition=\"transition ? 'fade' : null\"\n :offset=\"offset\"\n :modal=\"false\"\n initial-focus-element=\"none\"\n :header-class=\"headerClass\"\n :footer-class=\"footerClass\"\n :append-to=\"appendTo\"\n data-qa=\"dt-hovercard\"\n :enter-delay=\"enterDelay\"\n :leave-delay=\"leaveDelay\"\n @opened=\"(e) => ($emit('opened', e))\"\n @mouseenter-popover=\"onMouseEnter\"\n @mouseleave-popover=\"onMouseLeave\"\n @mouseenter-popover-anchor=\"onMouseEnter\"\n @mouseleave-popover-anchor=\"onMouseLeave\"\n >\n <template #anchor=\"{ attrs }\">\n <slot\n name=\"anchor\"\n v-bind=\"attrs\"\n />\n </template>\n <template #content>\n <div\n @focusin=\"onContentFocusIn\"\n @focusout=\"onContentFocusOut\"\n >\n <!-- @slot Slot for the content that is displayed in the hovercard. -->\n <slot name=\"content\" />\n </div>\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n</template>\n\n<script>\nimport { POPOVER_APPEND_TO_VALUES, POPOVER_PADDING_CLASSES, DtPopover } from '@/components/popover/index.js';\nimport { TOOLTIP_DIRECTIONS, TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\nimport { getUniqueString } from '@/common/utils';\n\nexport default {\n name: 'DtHovercard',\n\n components: {\n DtPopover,\n },\n\n props: {\n /**\n * Controls whether the hovercard is shown. Leaving this null will have the hovercard trigger on hover 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 .sync modifier\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Fade transition when the content display is toggled.\n * @type boolean\n * @values true, false\n */\n transition: {\n type: Boolean,\n default: false,\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 * @see https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\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 * @see https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\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: 'top-start',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\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 * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * @see https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\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 * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\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 * The enter delay in milliseconds before the hovercard is shown.\n * @type number\n */\n enterDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n\n /**\n * The leave delay in milliseconds before the hovercard is hidden.\n * @type number\n */\n leaveDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n },\n\n emits: [\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 hovercardOpen: this.open,\n anchorEl: null,\n observer: null,\n inTimer: null,\n outTimer: null,\n contentFocused: false,\n mouseOverHovercard: false,\n };\n },\n\n watch: {\n open: {\n handler: function (open) {\n this.hovercardOpen = open;\n },\n\n immediate: true,\n },\n },\n\n mounted () {\n this.$nextTick(() => {\n this.anchorEl = this.$refs.popover?.$refs?.anchor?.firstElementChild;\n\n this.observer = new MutationObserver(() => {\n if (this.anchorEl && !this.anchorEl.isConnected) {\n // If the anchor element is removed from the DOM, close the hovercard\n this.hovercardOpen = false;\n }\n });\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n },\n\n beforeDestroy () {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n clearTimeout(this.inTimer);\n clearTimeout(this.outTimer);\n },\n\n methods: {\n setInTimer () {\n if (this.open === null) {\n clearTimeout(this.outTimer);\n this.inTimer = setTimeout(() => {\n this.hovercardOpen = true;\n }, this.enterDelay);\n }\n },\n\n setOutTimer () {\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.outTimer = setTimeout(() => {\n this.hovercardOpen = false;\n }, this.leaveDelay);\n }\n },\n\n onMouseEnter () {\n this.mouseOverHovercard = true;\n this.setInTimer();\n },\n\n onMouseLeave () {\n this.mouseOverHovercard = false;\n if (this.contentFocused) {\n return;\n }\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n\n onContentFocusIn () {\n this.contentFocused = true;\n this.setInTimer();\n },\n\n onContentFocusOut () {\n this.contentFocused = false;\n\n // If mouse is not over the hovercard, close it\n if (!this.mouseOverHovercard) {\n this.setOutTimer();\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtPopover","placement","TOOLTIP_DIRECTIONS","padding","POPOVER_PADDING_CLASSES","item","getUniqueString","appendTo","POPOVER_APPEND_TO_VALUES","TOOLTIP_DELAY_MS","open","_c","_b","_a"],"mappings":"oVAwDAA,EAAA,CACA,KAAA,cAEA,WAAA,CACA,UAAAC,EAAAA,OACA,EAEA,MAAA,CAOA,KAAA,CACA,KAAA,QACA,QAAA,IACA,EAOA,WAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,mBAAA,CACA,KAAA,MACA,QAAA,IACA,CAAA,MAAA,CAEA,EAWA,UAAA,CACA,KAAA,OACA,QAAA,YACA,UAAAC,EAAA,CACA,OAAAC,EAAAA,mBAAA,SAAAD,CAAA,CACA,CACA,EAMA,QAAA,CACA,KAAA,OACA,QAAA,QACA,UAAAE,GACA,OAAA,KAAAC,yBAAA,EAAA,KAAAC,GAAAA,IAAAF,CAAA,CAEA,EAOA,OAAA,CACA,KAAA,MACA,QAAA,IAAA,CAAA,EAAA,EAAA,CACA,EAKA,GAAA,CACA,KAAA,OACA,SAAA,CAAA,OAAAG,EAAAA,gBAAA,CAAA,CACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,aAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAOA,SAAA,CACA,KAAA,CAAA,YAAA,MAAA,EACA,QAAA,OACA,UAAAC,GACAC,EAAAA,yBAAA,SAAAD,CAAA,GACAA,aAAA,WAEA,EAMA,WAAA,CACA,KAAA,OACA,QAAAE,EAAAA,gBACA,EAMA,WAAA,CACA,KAAA,OACA,QAAAA,EAAAA,gBACA,CACA,EAEA,MAAA,CAOA,QACA,EAEA,MAAA,CACA,MAAA,CACA,cAAA,KAAA,KACA,SAAA,KACA,SAAA,KACA,QAAA,KACA,SAAA,KACA,eAAA,GACA,mBAAA,EACA,CACA,EAEA,MAAA,CACA,KAAA,CACA,QAAA,SAAAC,EAAA,CACA,KAAA,cAAAA,CACA,EAEA,UAAA,EACA,CACA,EAEA,SAAA,CACA,KAAA,UAAA,IAAA,WACA,KAAA,UAAAC,GAAAC,GAAAC,EAAA,KAAA,MAAA,UAAA,YAAAA,EAAA,QAAA,YAAAD,EAAA,SAAA,YAAAD,EAAA,kBAEA,KAAA,SAAA,IAAA,iBAAA,IAAA,CACA,KAAA,UAAA,CAAA,KAAA,SAAA,cAEA,KAAA,cAAA,GAEA,CAAA,EAEA,KAAA,SAAA,QAAA,SAAA,KAAA,CACA,UAAA,GACA,QAAA,EACA,CAAA,CACA,CAAA,CACA,EAEA,eAAA,CACA,KAAA,UACA,KAAA,SAAA,WAAA,EAGA,aAAA,KAAA,OAAA,EACA,aAAA,KAAA,QAAA,CACA,EAEA,QAAA,CACA,YAAA,CACA,KAAA,OAAA,OACA,aAAA,KAAA,QAAA,EACA,KAAA,QAAA,WAAA,IAAA,CACA,KAAA,cAAA,EACA,EAAA,KAAA,UAAA,EAEA,EAEA,aAAA,CACA,KAAA,OAAA,OACA,aAAA,KAAA,OAAA,EACA,KAAA,SAAA,WAAA,IAAA,CACA,KAAA,cAAA,EACA,EAAA,KAAA,UAAA,EAEA,EAEA,cAAA,CACA,KAAA,mBAAA,GACA,KAAA,WAAA,CACA,EAEA,cAAA,CACA,KAAA,mBAAA,GACA,MAAA,gBAGA,KAAA,OAAA,OACA,aAAA,KAAA,OAAA,EACA,KAAA,YAAA,EAEA,EAEA,kBAAA,CACA,KAAA,eAAA,GACA,KAAA,WAAA,CACA,EAEA,mBAAA,CACA,KAAA,eAAA,GAGA,KAAA,oBACA,KAAA,YAAA,CAEA,CACA,CACA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getUniqueString as
|
|
2
|
-
import { n as
|
|
1
|
+
import { getUniqueString as s } from "../../common/utils/index.js";
|
|
2
|
+
import { n as a } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
|
|
3
3
|
import { TOOLTIP_DELAY_MS as o, TOOLTIP_DIRECTIONS as i } from "../tooltip/tooltip-constants.js";
|
|
4
4
|
import l from "../popover/popover.js";
|
|
5
|
-
import { POPOVER_APPEND_TO_VALUES as u, POPOVER_PADDING_CLASSES as
|
|
6
|
-
const
|
|
5
|
+
import { POPOVER_APPEND_TO_VALUES as u, POPOVER_PADDING_CLASSES as c } from "../popover/popover-constants.js";
|
|
6
|
+
const d = {
|
|
7
7
|
name: "DtHovercard",
|
|
8
8
|
components: {
|
|
9
9
|
DtPopover: l
|
|
@@ -60,7 +60,7 @@ const c = {
|
|
|
60
60
|
padding: {
|
|
61
61
|
type: String,
|
|
62
62
|
default: "large",
|
|
63
|
-
validator: (t) => Object.keys(
|
|
63
|
+
validator: (t) => Object.keys(c).some((e) => e === t)
|
|
64
64
|
},
|
|
65
65
|
/**
|
|
66
66
|
* Displaces the content box from its anchor element
|
|
@@ -77,7 +77,7 @@ const c = {
|
|
|
77
77
|
id: {
|
|
78
78
|
type: String,
|
|
79
79
|
default() {
|
|
80
|
-
return
|
|
80
|
+
return s();
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
/**
|
|
@@ -150,7 +150,9 @@ const c = {
|
|
|
150
150
|
anchorEl: null,
|
|
151
151
|
observer: null,
|
|
152
152
|
inTimer: null,
|
|
153
|
-
outTimer: null
|
|
153
|
+
outTimer: null,
|
|
154
|
+
contentFocused: !1,
|
|
155
|
+
mouseOverHovercard: !1
|
|
154
156
|
};
|
|
155
157
|
},
|
|
156
158
|
watch: {
|
|
@@ -177,41 +179,47 @@ const c = {
|
|
|
177
179
|
},
|
|
178
180
|
methods: {
|
|
179
181
|
setInTimer() {
|
|
180
|
-
this.inTimer = setTimeout(() => {
|
|
182
|
+
this.open === null && (clearTimeout(this.outTimer), this.inTimer = setTimeout(() => {
|
|
181
183
|
this.hovercardOpen = !0;
|
|
182
|
-
}, this.enterDelay);
|
|
184
|
+
}, this.enterDelay));
|
|
183
185
|
},
|
|
184
186
|
setOutTimer() {
|
|
185
|
-
this.outTimer = setTimeout(() => {
|
|
187
|
+
this.open === null && (clearTimeout(this.inTimer), this.outTimer = setTimeout(() => {
|
|
186
188
|
this.hovercardOpen = !1;
|
|
187
|
-
}, this.leaveDelay);
|
|
189
|
+
}, this.leaveDelay));
|
|
188
190
|
},
|
|
189
191
|
onMouseEnter() {
|
|
190
|
-
this.
|
|
192
|
+
this.mouseOverHovercard = !0, this.setInTimer();
|
|
191
193
|
},
|
|
192
194
|
onMouseLeave() {
|
|
193
|
-
this.open === null && (clearTimeout(this.inTimer), this.setOutTimer());
|
|
195
|
+
this.mouseOverHovercard = !1, !this.contentFocused && this.open === null && (clearTimeout(this.inTimer), this.setOutTimer());
|
|
196
|
+
},
|
|
197
|
+
onContentFocusIn() {
|
|
198
|
+
this.contentFocused = !0, this.setInTimer();
|
|
199
|
+
},
|
|
200
|
+
onContentFocusOut() {
|
|
201
|
+
this.contentFocused = !1, this.mouseOverHovercard || this.setOutTimer();
|
|
194
202
|
}
|
|
195
203
|
}
|
|
196
204
|
};
|
|
197
|
-
var
|
|
205
|
+
var f = function() {
|
|
198
206
|
var e = this, r = e._self._c;
|
|
199
207
|
return r("dt-popover", { ref: "popover", attrs: { id: e.id, open: e.hovercardOpen, placement: e.placement, "content-class": e.contentClass, "dialog-class": e.dialogClass, "fallback-placements": e.fallbackPlacements, padding: e.padding, transition: e.transition ? "fade" : null, offset: e.offset, modal: !1, "initial-focus-element": "none", "header-class": e.headerClass, "footer-class": e.footerClass, "append-to": e.appendTo, "data-qa": "dt-hovercard", "enter-delay": e.enterDelay, "leave-delay": e.leaveDelay }, on: { opened: (n) => e.$emit("opened", n), "mouseenter-popover": e.onMouseEnter, "mouseleave-popover": e.onMouseLeave, "mouseenter-popover-anchor": e.onMouseEnter, "mouseleave-popover-anchor": e.onMouseLeave }, scopedSlots: e._u([{ key: "anchor", fn: function({ attrs: n }) {
|
|
200
208
|
return [e._t("anchor", null, null, n)];
|
|
201
209
|
} }, { key: "content", fn: function() {
|
|
202
|
-
return [e._t("content")];
|
|
210
|
+
return [r("div", { on: { focusin: e.onContentFocusIn, focusout: e.onContentFocusOut } }, [e._t("content")], 2)];
|
|
203
211
|
}, proxy: !0 }, { key: "headerContent", fn: function() {
|
|
204
212
|
return [e._t("headerContent")];
|
|
205
213
|
}, proxy: !0 }, { key: "footerContent", fn: function() {
|
|
206
214
|
return [e._t("footerContent")];
|
|
207
215
|
}, proxy: !0 }], null, !0) });
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
}, p = [], m = /* @__PURE__ */ a(
|
|
217
|
+
d,
|
|
218
|
+
f,
|
|
219
|
+
p
|
|
212
220
|
);
|
|
213
|
-
const
|
|
221
|
+
const _ = m.exports;
|
|
214
222
|
export {
|
|
215
|
-
|
|
223
|
+
_ as default
|
|
216
224
|
};
|
|
217
225
|
//# sourceMappingURL=hovercard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hovercard.js","sources":["../../../components/hovercard/hovercard.vue"],"sourcesContent":["<template>\n <dt-popover\n :id=\"id\"\n ref=\"popover\"\n :open=\"hovercardOpen\"\n :placement=\"placement\"\n :content-class=\"contentClass\"\n :dialog-class=\"dialogClass\"\n :fallback-placements=\"fallbackPlacements\"\n :padding=\"padding\"\n :transition=\"transition ? 'fade' : null\"\n :offset=\"offset\"\n :modal=\"false\"\n initial-focus-element=\"none\"\n :header-class=\"headerClass\"\n :footer-class=\"footerClass\"\n :append-to=\"appendTo\"\n data-qa=\"dt-hovercard\"\n :enter-delay=\"enterDelay\"\n :leave-delay=\"leaveDelay\"\n @opened=\"(e) => ($emit('opened', e))\"\n @mouseenter-popover=\"onMouseEnter\"\n @mouseleave-popover=\"onMouseLeave\"\n @mouseenter-popover-anchor=\"onMouseEnter\"\n @mouseleave-popover-anchor=\"onMouseLeave\"\n >\n <template #anchor=\"{ attrs }\">\n <slot\n name=\"anchor\"\n v-bind=\"attrs\"\n />\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n</template>\n\n<script>\nimport { POPOVER_APPEND_TO_VALUES, POPOVER_PADDING_CLASSES, DtPopover } from '@/components/popover/index.js';\nimport { TOOLTIP_DIRECTIONS, TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\nimport { getUniqueString } from '@/common/utils';\n\nexport default {\n name: 'DtHovercard',\n\n components: {\n DtPopover,\n },\n\n props: {\n /**\n * Controls whether the hovercard is shown. Leaving this null will have the hovercard trigger on hover 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 .sync modifier\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Fade transition when the content display is toggled.\n * @type boolean\n * @values true, false\n */\n transition: {\n type: Boolean,\n default: false,\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 * @see https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\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 * @see https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\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: 'top-start',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\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 * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * @see https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\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 * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\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 * The enter delay in milliseconds before the hovercard is shown.\n * @type number\n */\n enterDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n\n /**\n * The leave delay in milliseconds before the hovercard is hidden.\n * @type number\n */\n leaveDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n },\n\n emits: [\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 hovercardOpen: this.open,\n anchorEl: null,\n observer: null,\n inTimer: null,\n outTimer: null,\n };\n },\n\n watch: {\n open: {\n handler: function (open) {\n this.hovercardOpen = open;\n },\n\n immediate: true,\n },\n },\n\n mounted () {\n this.$nextTick(() => {\n this.anchorEl = this.$refs.popover?.$refs?.anchor?.firstElementChild;\n\n this.observer = new MutationObserver(() => {\n if (this.anchorEl && !this.anchorEl.isConnected) {\n // If the anchor element is removed from the DOM, close the hovercard\n this.hovercardOpen = false;\n }\n });\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n },\n\n beforeDestroy () {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n clearTimeout(this.inTimer);\n clearTimeout(this.outTimer);\n },\n\n methods: {\n setInTimer () {\n this.inTimer = setTimeout(() => {\n this.hovercardOpen = true;\n }, this.enterDelay);\n },\n\n setOutTimer () {\n this.outTimer = setTimeout(() => {\n this.hovercardOpen = false;\n }, this.leaveDelay);\n },\n\n onMouseEnter () {\n if (this.open === null) {\n clearTimeout(this.outTimer);\n this.setInTimer();\n }\n },\n\n onMouseLeave () {\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtPopover","placement","TOOLTIP_DIRECTIONS","padding","POPOVER_PADDING_CLASSES","item","getUniqueString","appendTo","POPOVER_APPEND_TO_VALUES","TOOLTIP_DELAY_MS","open","_c","_b","_a"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"hovercard.js","sources":["../../../components/hovercard/hovercard.vue"],"sourcesContent":["<template>\n <dt-popover\n :id=\"id\"\n ref=\"popover\"\n :open=\"hovercardOpen\"\n :placement=\"placement\"\n :content-class=\"contentClass\"\n :dialog-class=\"dialogClass\"\n :fallback-placements=\"fallbackPlacements\"\n :padding=\"padding\"\n :transition=\"transition ? 'fade' : null\"\n :offset=\"offset\"\n :modal=\"false\"\n initial-focus-element=\"none\"\n :header-class=\"headerClass\"\n :footer-class=\"footerClass\"\n :append-to=\"appendTo\"\n data-qa=\"dt-hovercard\"\n :enter-delay=\"enterDelay\"\n :leave-delay=\"leaveDelay\"\n @opened=\"(e) => ($emit('opened', e))\"\n @mouseenter-popover=\"onMouseEnter\"\n @mouseleave-popover=\"onMouseLeave\"\n @mouseenter-popover-anchor=\"onMouseEnter\"\n @mouseleave-popover-anchor=\"onMouseLeave\"\n >\n <template #anchor=\"{ attrs }\">\n <slot\n name=\"anchor\"\n v-bind=\"attrs\"\n />\n </template>\n <template #content>\n <div\n @focusin=\"onContentFocusIn\"\n @focusout=\"onContentFocusOut\"\n >\n <!-- @slot Slot for the content that is displayed in the hovercard. -->\n <slot name=\"content\" />\n </div>\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n</template>\n\n<script>\nimport { POPOVER_APPEND_TO_VALUES, POPOVER_PADDING_CLASSES, DtPopover } from '@/components/popover/index.js';\nimport { TOOLTIP_DIRECTIONS, TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\nimport { getUniqueString } from '@/common/utils';\n\nexport default {\n name: 'DtHovercard',\n\n components: {\n DtPopover,\n },\n\n props: {\n /**\n * Controls whether the hovercard is shown. Leaving this null will have the hovercard trigger on hover 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 .sync modifier\n * @values null, true, false\n */\n open: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Fade transition when the content display is toggled.\n * @type boolean\n * @values true, false\n */\n transition: {\n type: Boolean,\n default: false,\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 * @see https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\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 * @see https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\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: 'top-start',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\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 * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * @see https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\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 * Additional class name for the content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\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 * The enter delay in milliseconds before the hovercard is shown.\n * @type number\n */\n enterDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n\n /**\n * The leave delay in milliseconds before the hovercard is hidden.\n * @type number\n */\n leaveDelay: {\n type: Number,\n default: TOOLTIP_DELAY_MS,\n },\n },\n\n emits: [\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 hovercardOpen: this.open,\n anchorEl: null,\n observer: null,\n inTimer: null,\n outTimer: null,\n contentFocused: false,\n mouseOverHovercard: false,\n };\n },\n\n watch: {\n open: {\n handler: function (open) {\n this.hovercardOpen = open;\n },\n\n immediate: true,\n },\n },\n\n mounted () {\n this.$nextTick(() => {\n this.anchorEl = this.$refs.popover?.$refs?.anchor?.firstElementChild;\n\n this.observer = new MutationObserver(() => {\n if (this.anchorEl && !this.anchorEl.isConnected) {\n // If the anchor element is removed from the DOM, close the hovercard\n this.hovercardOpen = false;\n }\n });\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n },\n\n beforeDestroy () {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n clearTimeout(this.inTimer);\n clearTimeout(this.outTimer);\n },\n\n methods: {\n setInTimer () {\n if (this.open === null) {\n clearTimeout(this.outTimer);\n this.inTimer = setTimeout(() => {\n this.hovercardOpen = true;\n }, this.enterDelay);\n }\n },\n\n setOutTimer () {\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.outTimer = setTimeout(() => {\n this.hovercardOpen = false;\n }, this.leaveDelay);\n }\n },\n\n onMouseEnter () {\n this.mouseOverHovercard = true;\n this.setInTimer();\n },\n\n onMouseLeave () {\n this.mouseOverHovercard = false;\n if (this.contentFocused) {\n return;\n }\n if (this.open === null) {\n clearTimeout(this.inTimer);\n this.setOutTimer();\n }\n },\n\n onContentFocusIn () {\n this.contentFocused = true;\n this.setInTimer();\n },\n\n onContentFocusOut () {\n this.contentFocused = false;\n\n // If mouse is not over the hovercard, close it\n if (!this.mouseOverHovercard) {\n this.setOutTimer();\n }\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtPopover","placement","TOOLTIP_DIRECTIONS","padding","POPOVER_PADDING_CLASSES","item","getUniqueString","appendTo","POPOVER_APPEND_TO_VALUES","TOOLTIP_DELAY_MS","open","_c","_b","_a"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./motion-text.cjs"),T=require("./motion-text-constants.cjs");exports.DtRecipeMotionText=t.default;exports.MOTION_TEXT_ANIMATION_MODES=T.MOTION_TEXT_ANIMATION_MODES;exports.MOTION_TEXT_SPEEDS=T.MOTION_TEXT_SPEEDS;exports.MOTION_TEXT_TIMING_PRESETS=T.MOTION_TEXT_TIMING_PRESETS;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as O } from "./motion-text.js";
|
|
2
|
+
import { MOTION_TEXT_ANIMATION_MODES as I, MOTION_TEXT_SPEEDS as M, MOTION_TEXT_TIMING_PRESETS as e } from "./motion-text-constants.js";
|
|
3
|
+
export {
|
|
4
|
+
O as DtRecipeMotionText,
|
|
5
|
+
I as MOTION_TEXT_ANIMATION_MODES,
|
|
6
|
+
M as MOTION_TEXT_SPEEDS,
|
|
7
|
+
e as MOTION_TEXT_TIMING_PRESETS
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=["gradient-in","fade-in","slide-in","gradient-sweep","shimmer","none"],t=["sm","md","lg"],T={sm:{characterDelay:20,wordDelay:30,duration:600},md:{characterDelay:30,wordDelay:50,duration:1e3},lg:{characterDelay:50,wordDelay:100,duration:1500}},a={MOTION_TEXT_ANIMATION_MODES:e,MOTION_TEXT_SPEEDS:t,MOTION_TEXT_TIMING_PRESETS:T};exports.MOTION_TEXT_ANIMATION_MODES=e;exports.MOTION_TEXT_SPEEDS=t;exports.MOTION_TEXT_TIMING_PRESETS=T;exports.default=a;
|
|
2
|
+
//# sourceMappingURL=motion-text-constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion-text-constants.cjs","sources":["../../../recipes/motion/motion_text/motion_text_constants.js"],"sourcesContent":["// Animation mode options\nexport const MOTION_TEXT_ANIMATION_MODES = [\n 'gradient-in',\n 'fade-in',\n 'slide-in',\n 'gradient-sweep',\n 'shimmer',\n 'none',\n];\n\n// Speed options (t-shirt sizing)\nexport const MOTION_TEXT_SPEEDS = ['sm', 'md', 'lg'];\n\n// Timing presets based on speed\nexport const MOTION_TEXT_TIMING_PRESETS = {\n sm: {\n characterDelay: 20,\n wordDelay: 30,\n duration: 600,\n },\n md: {\n characterDelay: 30,\n wordDelay: 50,\n duration: 1000,\n },\n lg: {\n characterDelay: 50,\n wordDelay: 100,\n duration: 1500,\n },\n};\n\nexport default {\n MOTION_TEXT_ANIMATION_MODES,\n MOTION_TEXT_SPEEDS,\n MOTION_TEXT_TIMING_PRESETS,\n};\n"],"names":["MOTION_TEXT_ANIMATION_MODES","MOTION_TEXT_SPEEDS","MOTION_TEXT_TIMING_PRESETS","motion_text_constants"],"mappings":"4GACY,MAACA,EAA8B,CACzC,cACA,UACA,WACA,iBACA,UACA,MACF,EAGaC,EAAqB,CAAC,KAAM,KAAM,IAAI,EAGtCC,EAA6B,CACxC,GAAI,CACF,eAAgB,GAChB,UAAW,GACX,SAAU,GACd,EACE,GAAI,CACF,eAAgB,GAChB,UAAW,GACX,SAAU,GACd,EACE,GAAI,CACF,eAAgB,GAChB,UAAW,IACX,SAAU,IACd,CACA,EAEAC,EAAe,CACb,4BAAAH,EACA,mBAAAC,EACA,2BAAAC,CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const a = [
|
|
2
|
+
"gradient-in",
|
|
3
|
+
"fade-in",
|
|
4
|
+
"slide-in",
|
|
5
|
+
"gradient-sweep",
|
|
6
|
+
"shimmer",
|
|
7
|
+
"none"
|
|
8
|
+
], e = ["sm", "md", "lg"], t = {
|
|
9
|
+
sm: {
|
|
10
|
+
characterDelay: 20,
|
|
11
|
+
wordDelay: 30,
|
|
12
|
+
duration: 600
|
|
13
|
+
},
|
|
14
|
+
md: {
|
|
15
|
+
characterDelay: 30,
|
|
16
|
+
wordDelay: 50,
|
|
17
|
+
duration: 1e3
|
|
18
|
+
},
|
|
19
|
+
lg: {
|
|
20
|
+
characterDelay: 50,
|
|
21
|
+
wordDelay: 100,
|
|
22
|
+
duration: 1500
|
|
23
|
+
}
|
|
24
|
+
}, n = {
|
|
25
|
+
MOTION_TEXT_ANIMATION_MODES: a,
|
|
26
|
+
MOTION_TEXT_SPEEDS: e,
|
|
27
|
+
MOTION_TEXT_TIMING_PRESETS: t
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
a as MOTION_TEXT_ANIMATION_MODES,
|
|
31
|
+
e as MOTION_TEXT_SPEEDS,
|
|
32
|
+
t as MOTION_TEXT_TIMING_PRESETS,
|
|
33
|
+
n as default
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=motion-text-constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion-text-constants.js","sources":["../../../recipes/motion/motion_text/motion_text_constants.js"],"sourcesContent":["// Animation mode options\nexport const MOTION_TEXT_ANIMATION_MODES = [\n 'gradient-in',\n 'fade-in',\n 'slide-in',\n 'gradient-sweep',\n 'shimmer',\n 'none',\n];\n\n// Speed options (t-shirt sizing)\nexport const MOTION_TEXT_SPEEDS = ['sm', 'md', 'lg'];\n\n// Timing presets based on speed\nexport const MOTION_TEXT_TIMING_PRESETS = {\n sm: {\n characterDelay: 20,\n wordDelay: 30,\n duration: 600,\n },\n md: {\n characterDelay: 30,\n wordDelay: 50,\n duration: 1000,\n },\n lg: {\n characterDelay: 50,\n wordDelay: 100,\n duration: 1500,\n },\n};\n\nexport default {\n MOTION_TEXT_ANIMATION_MODES,\n MOTION_TEXT_SPEEDS,\n MOTION_TEXT_TIMING_PRESETS,\n};\n"],"names":["MOTION_TEXT_ANIMATION_MODES","MOTION_TEXT_SPEEDS","MOTION_TEXT_TIMING_PRESETS","motion_text_constants"],"mappings":"AACY,MAACA,IAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAGaC,IAAqB,CAAC,MAAM,MAAM,IAAI,GAGtCC,IAA6B;AAAA,EACxC,IAAI;AAAA,IACF,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,UAAU;AAAA,EACd;AAAA,EACE,IAAI;AAAA,IACF,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,UAAU;AAAA,EACd;AAAA,EACE,IAAI;AAAA,IACF,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,UAAU;AAAA,EACd;AACA,GAEAC,IAAe;AAAA,EACb,6BAAAH;AAAA,EACA,oBAAAC;AAAA,EACA,4BAAAC;AACF;"}
|