@dialpad/dialtone-vue 3.150.0 → 3.150.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunks/_plugin-vue_export-helper-fhnQq0tA.js → _virtual/_plugin-vue_export-helper.cjs} +2 -2
- package/dist/_virtual/_plugin-vue_export-helper.cjs.map +1 -0
- package/dist/{chunks/_plugin-vue_export-helper-caHeSgYY.js → _virtual/_plugin-vue_export-helper.js} +2 -2
- package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/dist/common/dates.cjs +0 -2
- package/dist/common/dates.cjs.map +1 -1
- package/dist/common/dates.js +0 -2
- package/dist/common/dates.js.map +1 -1
- package/dist/common/emoji.cjs +163 -40
- package/dist/common/emoji.cjs.map +1 -1
- package/dist/common/emoji.js +145 -2
- package/dist/common/emoji.js.map +1 -1
- package/dist/common/mixins/dom.cjs +101 -0
- package/dist/common/mixins/dom.cjs.map +1 -0
- package/dist/common/mixins/dom.js +102 -0
- package/dist/common/mixins/dom.js.map +1 -0
- package/dist/{chunks/input-ttnte8zB.js → common/mixins/input.cjs} +5 -4
- package/dist/common/mixins/input.cjs.map +1 -0
- package/dist/{chunks/input-NmYDD5bn.js → common/mixins/input.js} +4 -4
- package/dist/common/mixins/input.js.map +1 -0
- package/dist/{chunks/input_group-M-D25pOJ.js → common/mixins/input_group.cjs} +6 -5
- package/dist/common/mixins/input_group.cjs.map +1 -0
- package/dist/{chunks/input_group-jWnq2DJT.js → common/mixins/input_group.js} +4 -4
- package/dist/common/mixins/input_group.js.map +1 -0
- package/dist/{chunks/keyboard_list_navigation-fJnl_Iox.js → common/mixins/keyboard_list_navigation.cjs} +4 -101
- package/dist/common/mixins/keyboard_list_navigation.cjs.map +1 -0
- package/dist/{chunks/keyboard_list_navigation-ScXhrxya.js → common/mixins/keyboard_list_navigation.js} +3 -100
- package/dist/common/mixins/keyboard_list_navigation.js.map +1 -0
- package/dist/{chunks/modal-VgxXAQFP.js → common/mixins/modal.cjs} +3 -4
- package/dist/common/mixins/modal.cjs.map +1 -0
- package/dist/{chunks/modal-XOr4kiNZ.js → common/mixins/modal.js} +3 -4
- package/dist/common/mixins/modal.js.map +1 -0
- package/dist/common/mixins/skeleton.cjs +27 -0
- package/dist/common/mixins/skeleton.cjs.map +1 -0
- package/dist/common/mixins/skeleton.js +28 -0
- package/dist/common/mixins/skeleton.js.map +1 -0
- package/dist/common/mixins/sr_only_close_button.cjs +45 -0
- package/dist/common/mixins/sr_only_close_button.cjs.map +1 -0
- package/dist/common/mixins/sr_only_close_button.js +46 -0
- package/dist/common/mixins/sr_only_close_button.js.map +1 -0
- package/dist/common/mixins.cjs +4 -10
- package/dist/common/mixins.cjs.map +1 -1
- package/dist/common/mixins.js +4 -10
- package/dist/common/mixins.js.map +1 -1
- package/dist/common/sr_only_close_button.vue.cjs +48 -0
- package/dist/common/sr_only_close_button.vue.cjs.map +1 -0
- package/dist/common/sr_only_close_button.vue.js +49 -0
- package/dist/common/sr_only_close_button.vue.js.map +1 -0
- package/dist/common/storybook_utils.cjs +8 -0
- package/dist/common/storybook_utils.cjs.map +1 -0
- package/dist/common/storybook_utils.js +8 -0
- package/dist/common/storybook_utils.js.map +1 -0
- package/dist/common/utils.cjs +6 -12
- package/dist/common/utils.cjs.map +1 -1
- package/dist/common/utils.js +6 -12
- package/dist/common/utils.js.map +1 -1
- package/dist/components/avatar/avatar.vue.cjs +378 -0
- package/dist/components/avatar/avatar.vue.cjs.map +1 -0
- package/dist/components/avatar/avatar.vue.js +379 -0
- package/dist/components/avatar/avatar.vue.js.map +1 -0
- package/dist/components/avatar/avatar_constants.cjs +64 -0
- package/dist/components/avatar/avatar_constants.cjs.map +1 -0
- package/dist/components/avatar/avatar_constants.js +64 -0
- package/dist/components/avatar/avatar_constants.js.map +1 -0
- package/dist/components/avatar/utils.cjs +9 -0
- package/dist/components/avatar/utils.cjs.map +1 -0
- package/dist/components/avatar/utils.js +9 -0
- package/dist/components/avatar/utils.js.map +1 -0
- package/dist/components/badge/badge.vue.cjs +183 -0
- package/dist/components/badge/badge.vue.cjs.map +1 -0
- package/dist/components/badge/badge.vue.js +184 -0
- package/dist/components/badge/badge.vue.js.map +1 -0
- package/dist/components/badge/badge_constants.cjs +43 -0
- package/dist/components/badge/badge_constants.cjs.map +1 -0
- package/dist/components/badge/badge_constants.js +43 -0
- package/dist/components/badge/badge_constants.js.map +1 -0
- package/dist/components/banner/banner.vue.cjs +236 -0
- package/dist/components/banner/banner.vue.cjs.map +1 -0
- package/dist/components/banner/banner.vue.js +237 -0
- package/dist/components/banner/banner.vue.js.map +1 -0
- package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs +79 -0
- package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -0
- package/dist/components/breadcrumbs/breadcrumb_item.vue.js +80 -0
- package/dist/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.vue.cjs +77 -0
- package/dist/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.vue.js +78 -0
- package/dist/components/breadcrumbs/breadcrumbs.vue.js.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs_constants.cjs +7 -0
- package/dist/components/breadcrumbs/breadcrumbs_constants.cjs.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs_constants.js +7 -0
- package/dist/components/breadcrumbs/breadcrumbs_constants.js.map +1 -0
- package/dist/components/button/button.vue.cjs +290 -0
- package/dist/components/button/button.vue.cjs.map +1 -0
- package/dist/components/button/button.vue.js +291 -0
- package/dist/components/button/button.vue.js.map +1 -0
- package/dist/components/button/button_constants.cjs +71 -0
- package/dist/components/button/button_constants.cjs.map +1 -0
- package/dist/components/button/button_constants.js +71 -0
- package/dist/components/button/button_constants.js.map +1 -0
- package/dist/components/button_group/button_group.vue.cjs +36 -0
- package/dist/components/button_group/button_group.vue.cjs.map +1 -0
- package/dist/components/button_group/button_group.vue.js +37 -0
- package/dist/components/button_group/button_group.vue.js.map +1 -0
- package/dist/components/button_group/button_group_constants.cjs +9 -0
- package/dist/components/button_group/button_group_constants.cjs.map +1 -0
- package/dist/components/button_group/button_group_constants.js +9 -0
- package/dist/components/button_group/button_group_constants.js.map +1 -0
- package/dist/components/card/card.vue.cjs +90 -0
- package/dist/components/card/card.vue.cjs.map +1 -0
- package/dist/components/card/card.vue.js +91 -0
- package/dist/components/card/card.vue.js.map +1 -0
- package/dist/components/checkbox/checkbox.vue.cjs +149 -0
- package/dist/components/checkbox/checkbox.vue.cjs.map +1 -0
- package/dist/components/checkbox/checkbox.vue.js +150 -0
- package/dist/components/checkbox/checkbox.vue.js.map +1 -0
- package/dist/components/checkbox/checkbox_constants.cjs +9 -0
- package/dist/components/checkbox/checkbox_constants.cjs.map +1 -0
- package/dist/components/checkbox/checkbox_constants.js +9 -0
- package/dist/components/checkbox/checkbox_constants.js.map +1 -0
- package/dist/components/checkbox_group/checkbox_group.vue.cjs +110 -0
- package/dist/components/checkbox_group/checkbox_group.vue.cjs.map +1 -0
- package/dist/components/checkbox_group/checkbox_group.vue.js +111 -0
- package/dist/components/checkbox_group/checkbox_group.vue.js.map +1 -0
- package/dist/components/chip/chip.vue.cjs +212 -0
- package/dist/components/chip/chip.vue.cjs.map +1 -0
- package/dist/components/chip/chip.vue.js +213 -0
- package/dist/components/chip/chip.vue.js.map +1 -0
- package/dist/components/chip/chip_constants.cjs +21 -0
- package/dist/components/chip/chip_constants.cjs.map +1 -0
- package/dist/components/chip/chip_constants.js +21 -0
- package/dist/components/chip/chip_constants.js.map +1 -0
- package/dist/components/codeblock/codeblock.vue.cjs +23 -0
- package/dist/components/codeblock/codeblock.vue.cjs.map +1 -0
- package/dist/components/codeblock/codeblock.vue.js +24 -0
- package/dist/components/codeblock/codeblock.vue.js.map +1 -0
- package/dist/components/collapsible/collapsible.vue.cjs +250 -0
- package/dist/components/collapsible/collapsible.vue.cjs.map +1 -0
- package/dist/components/collapsible/collapsible.vue.js +251 -0
- package/dist/components/collapsible/collapsible.vue.js.map +1 -0
- package/dist/components/collapsible/collapsible_lazy_show.vue.cjs +149 -0
- package/dist/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -0
- package/dist/components/collapsible/collapsible_lazy_show.vue.js +150 -0
- package/dist/components/collapsible/collapsible_lazy_show.vue.js.map +1 -0
- package/dist/{chunks/index-4qgKeErp.js → components/combobox/combobox.vue.cjs} +19 -109
- package/dist/components/combobox/combobox.vue.cjs.map +1 -0
- package/dist/{chunks/index-b_MgDylR.js → components/combobox/combobox.vue.js} +15 -105
- package/dist/components/combobox/combobox.vue.js.map +1 -0
- package/dist/components/combobox/combobox_constants.cjs +11 -0
- package/dist/components/combobox/combobox_constants.cjs.map +1 -0
- package/dist/components/combobox/combobox_constants.js +11 -0
- package/dist/components/combobox/combobox_constants.js.map +1 -0
- package/dist/components/combobox/combobox_empty-list.vue.cjs +52 -0
- package/dist/components/combobox/combobox_empty-list.vue.cjs.map +1 -0
- package/dist/components/combobox/combobox_empty-list.vue.js +53 -0
- package/dist/components/combobox/combobox_empty-list.vue.js.map +1 -0
- package/dist/components/combobox/combobox_loading-list.vue.cjs +37 -0
- package/dist/components/combobox/combobox_loading-list.vue.cjs.map +1 -0
- package/dist/components/combobox/combobox_loading-list.vue.js +38 -0
- package/dist/components/combobox/combobox_loading-list.vue.js.map +1 -0
- package/dist/components/datepicker/composables/useCalendar.cjs +116 -0
- package/dist/components/datepicker/composables/useCalendar.cjs.map +1 -0
- package/dist/components/datepicker/composables/useCalendar.js +116 -0
- package/dist/components/datepicker/composables/useCalendar.js.map +1 -0
- package/dist/components/datepicker/composables/useMonthYearPicker.cjs +109 -0
- package/dist/components/datepicker/composables/useMonthYearPicker.cjs.map +1 -0
- package/dist/components/datepicker/composables/useMonthYearPicker.js +109 -0
- package/dist/components/datepicker/composables/useMonthYearPicker.js.map +1 -0
- package/dist/components/datepicker/datepicker.vue.cjs +153 -0
- package/dist/components/datepicker/datepicker.vue.cjs.map +1 -0
- package/dist/components/datepicker/datepicker.vue.js +154 -0
- package/dist/components/datepicker/datepicker.vue.js.map +1 -0
- package/dist/components/datepicker/datepicker_constants.cjs +9 -0
- package/dist/components/datepicker/datepicker_constants.cjs.map +1 -0
- package/dist/components/datepicker/datepicker_constants.js +9 -0
- package/dist/components/datepicker/datepicker_constants.js.map +1 -0
- package/dist/components/datepicker/formatUtils.cjs +25 -0
- package/dist/components/datepicker/formatUtils.cjs.map +1 -0
- package/dist/components/datepicker/formatUtils.js +25 -0
- package/dist/components/datepicker/formatUtils.js.map +1 -0
- package/dist/components/datepicker/modules/calendar.vue.cjs +137 -0
- package/dist/components/datepicker/modules/calendar.vue.cjs.map +1 -0
- package/dist/components/datepicker/modules/calendar.vue.js +138 -0
- package/dist/components/datepicker/modules/calendar.vue.js.map +1 -0
- package/dist/components/datepicker/modules/month-year-picker.vue.cjs +258 -0
- package/dist/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -0
- package/dist/components/datepicker/modules/month-year-picker.vue.js +259 -0
- package/dist/components/datepicker/modules/month-year-picker.vue.js.map +1 -0
- package/dist/components/datepicker/utils.cjs +84 -0
- package/dist/components/datepicker/utils.cjs.map +1 -0
- package/dist/components/datepicker/utils.js +84 -0
- package/dist/components/datepicker/utils.js.map +1 -0
- package/dist/components/description_list/description_list.vue.cjs +88 -0
- package/dist/components/description_list/description_list.vue.cjs.map +1 -0
- package/dist/components/description_list/description_list.vue.js +89 -0
- package/dist/components/description_list/description_list.vue.js.map +1 -0
- package/dist/components/description_list/description_list_constants.cjs +5 -0
- package/dist/components/description_list/description_list_constants.cjs.map +1 -0
- package/dist/components/description_list/description_list_constants.js +5 -0
- package/dist/components/description_list/description_list_constants.js.map +1 -0
- package/dist/components/description_list/description_list_validators.cjs +33 -0
- package/dist/components/description_list/description_list_validators.cjs.map +1 -0
- package/dist/components/description_list/description_list_validators.js +33 -0
- package/dist/components/description_list/description_list_validators.js.map +1 -0
- package/dist/{chunks/dropdown-p-Azgwov.js → components/dropdown/dropdown.vue.cjs} +18 -16
- package/dist/components/dropdown/dropdown.vue.cjs.map +1 -0
- package/dist/{chunks/dropdown-oA-_Gotg.js → components/dropdown/dropdown.vue.js} +13 -11
- package/dist/components/dropdown/dropdown.vue.js.map +1 -0
- package/dist/{chunks/dropdown_constants-2pGCXy7m.js → components/dropdown/dropdown_constants.cjs} +2 -1
- package/dist/components/dropdown/dropdown_constants.cjs.map +1 -0
- package/dist/{chunks/dropdown_constants-w1MXGC3Z.js → components/dropdown/dropdown_constants.js} +1 -1
- package/dist/components/dropdown/dropdown_constants.js.map +1 -0
- package/dist/components/dropdown/dropdown_separator.vue.cjs +17 -0
- package/dist/components/dropdown/dropdown_separator.vue.cjs.map +1 -0
- package/dist/components/dropdown/dropdown_separator.vue.js +18 -0
- package/dist/components/dropdown/dropdown_separator.vue.js.map +1 -0
- package/dist/components/emoji/emoji.vue.cjs +155 -0
- package/dist/components/emoji/emoji.vue.cjs.map +1 -0
- package/dist/components/emoji/emoji.vue.js +156 -0
- package/dist/components/emoji/emoji.vue.js.map +1 -0
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs +153 -0
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs.map +1 -0
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.js +153 -0
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.js.map +1 -0
- package/dist/components/emoji_picker/emoji_picker.vue.cjs +233 -0
- package/dist/components/emoji_picker/emoji_picker.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/emoji_picker.vue.js +234 -0
- package/dist/components/emoji_picker/emoji_picker.vue.js.map +1 -0
- package/dist/components/emoji_picker/emoji_picker_constants.cjs +35 -0
- package/dist/components/emoji_picker/emoji_picker_constants.cjs.map +1 -0
- package/dist/components/emoji_picker/emoji_picker_constants.js +35 -0
- package/dist/components/emoji_picker/emoji_picker_constants.js.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_description.vue.cjs +37 -0
- package/dist/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_description.vue.js +38 -0
- package/dist/components/emoji_picker/modules/emoji_description.vue.js.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_search.vue.cjs +84 -0
- package/dist/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_search.vue.js +85 -0
- package/dist/components/emoji_picker/modules/emoji_search.vue.js.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs +428 -0
- package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_selector.vue.js +429 -0
- package/dist/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +198 -0
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js +199 -0
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs +166 -0
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -0
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.js +167 -0
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -0
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +95 -0
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -0
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +96 -0
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -0
- package/dist/components/empty_state/empty_state.vue.cjs +171 -0
- package/dist/components/empty_state/empty_state.vue.cjs.map +1 -0
- package/dist/components/empty_state/empty_state.vue.js +172 -0
- package/dist/components/empty_state/empty_state.vue.js.map +1 -0
- package/dist/components/empty_state/empty_state_constants.cjs +9 -0
- package/dist/components/empty_state/empty_state_constants.cjs.map +1 -0
- package/dist/components/empty_state/empty_state_constants.js +9 -0
- package/dist/components/empty_state/empty_state_constants.js.map +1 -0
- package/dist/components/hovercard/hovercard.vue.cjs +166 -0
- package/dist/components/hovercard/hovercard.vue.cjs.map +1 -0
- package/dist/components/hovercard/hovercard.vue.js +167 -0
- package/dist/components/hovercard/hovercard.vue.js.map +1 -0
- package/dist/components/hovercard/timer.cjs +59 -0
- package/dist/components/hovercard/timer.cjs.map +1 -0
- package/dist/components/hovercard/timer.js +60 -0
- package/dist/components/hovercard/timer.js.map +1 -0
- package/dist/components/icon/icon.vue.cjs +55 -0
- package/dist/components/icon/icon.vue.cjs.map +1 -0
- package/dist/components/icon/icon.vue.js +56 -0
- package/dist/components/icon/icon.vue.js.map +1 -0
- package/dist/{chunks/icon_constants-da57m7BZ.js → components/icon/icon_constants.cjs} +2 -1
- package/dist/components/icon/icon_constants.cjs.map +1 -0
- package/dist/{chunks/icon_constants-H9ahUVCG.js → components/icon/icon_constants.js} +1 -1
- package/dist/components/icon/icon_constants.js.map +1 -0
- package/dist/components/illustration/illustration.vue.cjs +30 -0
- package/dist/components/illustration/illustration.vue.cjs.map +1 -0
- package/dist/components/illustration/illustration.vue.js +31 -0
- package/dist/components/illustration/illustration.vue.js.map +1 -0
- package/dist/components/illustration/illustration_constants.cjs +6 -0
- package/dist/components/illustration/illustration_constants.cjs.map +1 -0
- package/dist/components/illustration/illustration_constants.js +6 -0
- package/dist/components/illustration/illustration_constants.js.map +1 -0
- package/dist/components/image_viewer/image_viewer.vue.cjs +248 -0
- package/dist/components/image_viewer/image_viewer.vue.cjs.map +1 -0
- package/dist/components/image_viewer/image_viewer.vue.js +249 -0
- package/dist/components/image_viewer/image_viewer.vue.js.map +1 -0
- package/dist/components/input/input.vue.cjs +505 -0
- package/dist/components/input/input.vue.cjs.map +1 -0
- package/dist/components/input/input.vue.js +506 -0
- package/dist/components/input/input.vue.js.map +1 -0
- package/dist/components/input/input_constants.cjs +65 -0
- package/dist/components/input/input_constants.cjs.map +1 -0
- package/dist/components/input/input_constants.js +65 -0
- package/dist/components/input/input_constants.js.map +1 -0
- package/dist/components/input_group/input_group.vue.cjs +89 -0
- package/dist/components/input_group/input_group.vue.cjs.map +1 -0
- package/dist/components/input_group/input_group.vue.js +90 -0
- package/dist/components/input_group/input_group.vue.js.map +1 -0
- package/dist/components/item_layout/item_layout.vue.cjs +90 -0
- package/dist/components/item_layout/item_layout.vue.cjs.map +1 -0
- package/dist/components/item_layout/item_layout.vue.js +91 -0
- package/dist/components/item_layout/item_layout.vue.js.map +1 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +102 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js +103 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs +18 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs.map +1 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js +18 -0
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js.map +1 -0
- package/dist/components/lazy_show/lazy_show.vue.cjs +81 -0
- package/dist/components/lazy_show/lazy_show.vue.cjs.map +1 -0
- package/dist/components/lazy_show/lazy_show.vue.js +82 -0
- package/dist/components/lazy_show/lazy_show.vue.js.map +1 -0
- package/dist/components/link/link.vue.cjs +55 -0
- package/dist/components/link/link.vue.cjs.map +1 -0
- package/dist/components/link/link.vue.js +56 -0
- package/dist/components/link/link.vue.js.map +1 -0
- package/dist/{chunks/link_constants-x8NwdqmA.js → components/link/link_constants.cjs} +6 -1
- package/dist/components/link/link_constants.cjs.map +1 -0
- package/dist/{chunks/link_constants-AfTWrr-n.js → components/link/link_constants.js} +5 -1
- package/dist/components/link/link_constants.js.map +1 -0
- package/dist/components/list_item/list_item.vue.cjs +211 -0
- package/dist/components/list_item/list_item.vue.cjs.map +1 -0
- package/dist/components/list_item/list_item.vue.js +212 -0
- package/dist/components/list_item/list_item.vue.js.map +1 -0
- package/dist/{chunks/list_item_constants-EiqkqZvP.js → components/list_item/list_item_constants.cjs} +2 -1
- package/dist/components/list_item/list_item_constants.cjs.map +1 -0
- package/dist/{chunks/list_item_constants-u1xcN9Dd.js → components/list_item/list_item_constants.js} +1 -1
- package/dist/components/list_item/list_item_constants.js.map +1 -0
- package/dist/components/list_item_group/list_item_group.vue.cjs +66 -0
- package/dist/components/list_item_group/list_item_group.vue.cjs.map +1 -0
- package/dist/components/list_item_group/list_item_group.vue.js +67 -0
- package/dist/components/list_item_group/list_item_group.vue.js.map +1 -0
- package/dist/components/modal/modal.vue.cjs +423 -0
- package/dist/components/modal/modal.vue.cjs.map +1 -0
- package/dist/components/modal/modal.vue.js +424 -0
- package/dist/components/modal/modal.vue.js.map +1 -0
- package/dist/components/modal/modal_constants.cjs +21 -0
- package/dist/components/modal/modal_constants.cjs.map +1 -0
- package/dist/components/modal/modal_constants.js +21 -0
- package/dist/components/modal/modal_constants.js.map +1 -0
- package/dist/components/notice/notice.vue.cjs +195 -0
- package/dist/components/notice/notice.vue.cjs.map +1 -0
- package/dist/components/notice/notice.vue.js +196 -0
- package/dist/components/notice/notice.vue.js.map +1 -0
- package/dist/components/notice/notice_action.vue.cjs +105 -0
- package/dist/components/notice/notice_action.vue.cjs.map +1 -0
- package/dist/components/notice/notice_action.vue.js +106 -0
- package/dist/components/notice/notice_action.vue.js.map +1 -0
- package/dist/{chunks/notice_constants-UXo9e3bS.js → components/notice/notice_constants.cjs} +2 -1
- package/dist/components/notice/notice_constants.cjs.map +1 -0
- package/dist/{chunks/notice_constants-7Qt2CQEY.js → components/notice/notice_constants.js} +1 -1
- package/dist/components/notice/notice_constants.js.map +1 -0
- package/dist/components/notice/notice_content.vue.cjs +67 -0
- package/dist/components/notice/notice_content.vue.cjs.map +1 -0
- package/dist/components/notice/notice_content.vue.js +68 -0
- package/dist/components/notice/notice_content.vue.js.map +1 -0
- package/dist/components/notice/notice_icon.vue.cjs +61 -0
- package/dist/components/notice/notice_icon.vue.cjs.map +1 -0
- package/dist/components/notice/notice_icon.vue.js +62 -0
- package/dist/components/notice/notice_icon.vue.js.map +1 -0
- package/dist/components/pagination/pagination.vue.cjs +199 -0
- package/dist/components/pagination/pagination.vue.cjs.map +1 -0
- package/dist/components/pagination/pagination.vue.js +200 -0
- package/dist/components/pagination/pagination.vue.js.map +1 -0
- package/dist/components/popover/popover.vue.cjs +1014 -0
- package/dist/components/popover/popover.vue.cjs.map +1 -0
- package/dist/components/popover/popover.vue.js +1015 -0
- package/dist/components/popover/popover.vue.js.map +1 -0
- package/dist/components/popover/popover_constants.cjs +34 -0
- package/dist/components/popover/popover_constants.cjs.map +1 -0
- package/dist/components/popover/popover_constants.js +34 -0
- package/dist/components/popover/popover_constants.js.map +1 -0
- package/dist/components/popover/popover_header_footer.vue.cjs +114 -0
- package/dist/components/popover/popover_header_footer.vue.cjs.map +1 -0
- package/dist/components/popover/popover_header_footer.vue.js +115 -0
- package/dist/components/popover/popover_header_footer.vue.js.map +1 -0
- package/dist/{chunks/popover_constants-XnGWXaxX.js → components/popover/tippy_utils.cjs} +6 -52
- package/dist/components/popover/tippy_utils.cjs.map +1 -0
- package/dist/{chunks/popover_constants-WsOUIY-m.js → components/popover/tippy_utils.js} +5 -52
- package/dist/components/popover/tippy_utils.js.map +1 -0
- package/dist/components/presence/presence.vue.cjs +57 -0
- package/dist/components/presence/presence.vue.cjs.map +1 -0
- package/dist/components/presence/presence.vue.js +58 -0
- package/dist/components/presence/presence.vue.js.map +1 -0
- package/dist/components/presence/presence_constants.cjs +17 -0
- package/dist/components/presence/presence_constants.cjs.map +1 -0
- package/dist/components/presence/presence_constants.js +17 -0
- package/dist/components/presence/presence_constants.js.map +1 -0
- package/dist/components/radio/radio.vue.cjs +155 -0
- package/dist/components/radio/radio.vue.cjs.map +1 -0
- package/dist/components/radio/radio.vue.js +156 -0
- package/dist/components/radio/radio.vue.js.map +1 -0
- package/dist/components/radio/radio_constants.cjs +9 -0
- package/dist/components/radio/radio_constants.cjs.map +1 -0
- package/dist/components/radio/radio_constants.js +9 -0
- package/dist/components/radio/radio_constants.js.map +1 -0
- package/dist/components/radio_group/radio_group.vue.cjs +82 -0
- package/dist/components/radio_group/radio_group.vue.cjs.map +1 -0
- package/dist/components/radio_group/radio_group.vue.js +83 -0
- package/dist/components/radio_group/radio_group.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +36 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +37 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +49 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +50 -0
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/channel.cjs +46 -0
- package/dist/components/rich_text_editor/extensions/channels/channel.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/channel.js +46 -0
- package/dist/components/rich_text_editor/extensions/channels/channel.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs +81 -0
- package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/channels/suggestion.js +82 -0
- package/dist/components/rich_text_editor/extensions/channels/suggestion.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs +49 -0
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.js +49 -0
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs +31 -0
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js +31 -0
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/index.cjs +4 -0
- package/dist/components/rich_text_editor/extensions/custom_link/index.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/index.js +5 -0
- package/dist/components/rich_text_editor/extensions/custom_link/index.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs +105 -0
- package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/custom_link/utils.js +105 -0
- package/dist/components/rich_text_editor/extensions/custom_link/utils.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +29 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +30 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +38 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +39 -0
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs +136 -0
- package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/emoji.js +136 -0
- package/dist/components/rich_text_editor/extensions/emoji/emoji.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/index.cjs +4 -0
- package/dist/components/rich_text_editor/extensions/emoji/index.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/index.js +5 -0
- package/dist/components/rich_text_editor/extensions/emoji/index.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs +109 -0
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.js +110 -0
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +36 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +37 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +50 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +51 -0
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/mention.cjs +45 -0
- package/dist/components/rich_text_editor/extensions/mentions/mention.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/mention.js +45 -0
- package/dist/components/rich_text_editor/extensions/mentions/mention.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs +81 -0
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.js +82 -0
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +32 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +33 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +38 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +39 -0
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs +88 -0
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js +88 -0
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs +83 -0
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js +84 -0
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +128 -0
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +129 -0
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -0
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs +22 -0
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs.map +1 -0
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js +23 -0
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js.map +1 -0
- package/dist/components/rich_text_editor/rich_text_editor.vue.cjs +520 -0
- package/dist/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -0
- package/dist/components/rich_text_editor/rich_text_editor.vue.js +521 -0
- package/dist/components/rich_text_editor/rich_text_editor.vue.js.map +1 -0
- package/dist/components/rich_text_editor/rich_text_editor_constants.cjs +24 -0
- package/dist/components/rich_text_editor/rich_text_editor_constants.cjs.map +1 -0
- package/dist/components/rich_text_editor/rich_text_editor_constants.js +24 -0
- package/dist/components/rich_text_editor/rich_text_editor_constants.js.map +1 -0
- package/dist/components/root_layout/root_layout.vue.cjs +152 -0
- package/dist/components/root_layout/root_layout.vue.cjs.map +1 -0
- package/dist/components/root_layout/root_layout.vue.js +153 -0
- package/dist/components/root_layout/root_layout.vue.js.map +1 -0
- package/dist/components/root_layout/root_layout_constants.cjs +10 -0
- package/dist/components/root_layout/root_layout_constants.cjs.map +1 -0
- package/dist/components/root_layout/root_layout_constants.js +10 -0
- package/dist/components/root_layout/root_layout_constants.js.map +1 -0
- package/dist/components/scroller/DtScroller.vue.cjs +185 -0
- package/dist/components/scroller/DtScroller.vue.cjs.map +1 -0
- package/dist/components/scroller/DtScroller.vue.js +186 -0
- package/dist/components/scroller/DtScroller.vue.js.map +1 -0
- package/dist/components/scroller/modules/core_scroller.vue.cjs +462 -0
- package/dist/components/scroller/modules/core_scroller.vue.cjs.map +1 -0
- package/dist/components/scroller/modules/core_scroller.vue.js +463 -0
- package/dist/components/scroller/modules/core_scroller.vue.js.map +1 -0
- package/dist/components/scroller/modules/dynamic_scroller.vue.cjs +246 -0
- package/dist/components/scroller/modules/dynamic_scroller.vue.cjs.map +1 -0
- package/dist/components/scroller/modules/dynamic_scroller.vue.js +247 -0
- package/dist/components/scroller/modules/dynamic_scroller.vue.js.map +1 -0
- package/dist/components/scroller/modules/scroller_item.vue.cjs +196 -0
- package/dist/components/scroller/modules/scroller_item.vue.cjs.map +1 -0
- package/dist/components/scroller/modules/scroller_item.vue.js +197 -0
- package/dist/components/scroller/modules/scroller_item.vue.js.map +1 -0
- package/dist/components/select_menu/select_menu.vue.cjs +269 -0
- package/dist/components/select_menu/select_menu.vue.cjs.map +1 -0
- package/dist/components/select_menu/select_menu.vue.js +270 -0
- package/dist/components/select_menu/select_menu.vue.js.map +1 -0
- package/dist/components/select_menu/select_menu_constants.cjs +17 -0
- package/dist/components/select_menu/select_menu_constants.cjs.map +1 -0
- package/dist/components/select_menu/select_menu_constants.js +17 -0
- package/dist/components/select_menu/select_menu_constants.js.map +1 -0
- package/dist/components/select_menu/select_menu_validators.cjs +34 -0
- package/dist/components/select_menu/select_menu_validators.cjs.map +1 -0
- package/dist/components/select_menu/select_menu_validators.js +34 -0
- package/dist/components/select_menu/select_menu_validators.js.map +1 -0
- package/dist/components/skeleton/skeleton-list-item.vue.cjs +116 -0
- package/dist/components/skeleton/skeleton-list-item.vue.cjs.map +1 -0
- package/dist/components/skeleton/skeleton-list-item.vue.js +117 -0
- package/dist/components/skeleton/skeleton-list-item.vue.js.map +1 -0
- package/dist/components/skeleton/skeleton-paragraph.vue.cjs +147 -0
- package/dist/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -0
- package/dist/components/skeleton/skeleton-paragraph.vue.js +148 -0
- package/dist/components/skeleton/skeleton-paragraph.vue.js.map +1 -0
- package/dist/components/skeleton/skeleton-shape.vue.cjs +97 -0
- package/dist/components/skeleton/skeleton-shape.vue.cjs.map +1 -0
- package/dist/components/skeleton/skeleton-shape.vue.js +98 -0
- package/dist/components/skeleton/skeleton-shape.vue.js.map +1 -0
- package/dist/components/skeleton/skeleton-text.vue.cjs +114 -0
- package/dist/components/skeleton/skeleton-text.vue.cjs.map +1 -0
- package/dist/components/skeleton/skeleton-text.vue.js +115 -0
- package/dist/components/skeleton/skeleton-text.vue.js.map +1 -0
- package/dist/components/skeleton/skeleton.vue.cjs +143 -0
- package/dist/components/skeleton/skeleton.vue.cjs.map +1 -0
- package/dist/components/skeleton/skeleton.vue.js +144 -0
- package/dist/components/skeleton/skeleton.vue.js.map +1 -0
- package/dist/components/skeleton/skeleton_constants.cjs +27 -0
- package/dist/components/skeleton/skeleton_constants.cjs.map +1 -0
- package/dist/components/skeleton/skeleton_constants.js +27 -0
- package/dist/components/skeleton/skeleton_constants.js.map +1 -0
- package/dist/components/split_button/split_button-alpha.vue.cjs +129 -0
- package/dist/components/split_button/split_button-alpha.vue.cjs.map +1 -0
- package/dist/components/split_button/split_button-alpha.vue.js +130 -0
- package/dist/components/split_button/split_button-alpha.vue.js.map +1 -0
- package/dist/components/split_button/split_button-omega.vue.cjs +110 -0
- package/dist/components/split_button/split_button-omega.vue.cjs.map +1 -0
- package/dist/components/split_button/split_button-omega.vue.js +111 -0
- package/dist/components/split_button/split_button-omega.vue.js.map +1 -0
- package/dist/components/split_button/split_button.vue.cjs +297 -0
- package/dist/components/split_button/split_button.vue.cjs.map +1 -0
- package/dist/components/split_button/split_button.vue.js +298 -0
- package/dist/components/split_button/split_button.vue.js.map +1 -0
- package/dist/components/split_button/split_button_constants.cjs +11 -0
- package/dist/components/split_button/split_button_constants.cjs.map +1 -0
- package/dist/components/split_button/split_button_constants.js +11 -0
- package/dist/components/split_button/split_button_constants.js.map +1 -0
- package/dist/components/stack/stack.vue.cjs +80 -0
- package/dist/components/stack/stack.vue.cjs.map +1 -0
- package/dist/components/stack/stack.vue.js +81 -0
- package/dist/components/stack/stack.vue.js.map +1 -0
- package/dist/{chunks/stack_constants-SMzMWnAQ.js → components/stack/stack_constants.cjs} +2 -1
- package/dist/components/stack/stack_constants.cjs.map +1 -0
- package/dist/{chunks/stack_constants-HraCekPm.js → components/stack/stack_constants.js} +1 -1
- package/dist/components/stack/stack_constants.js.map +1 -0
- package/dist/components/stack/utils.cjs +68 -0
- package/dist/components/stack/utils.cjs.map +1 -0
- package/dist/components/stack/utils.js +68 -0
- package/dist/components/stack/utils.js.map +1 -0
- package/dist/components/stack/validators.cjs +26 -0
- package/dist/components/stack/validators.cjs.map +1 -0
- package/dist/components/stack/validators.js +26 -0
- package/dist/components/stack/validators.js.map +1 -0
- package/dist/components/tabs/tab.vue.cjs +141 -0
- package/dist/components/tabs/tab.vue.cjs.map +1 -0
- package/dist/components/tabs/tab.vue.js +142 -0
- package/dist/components/tabs/tab.vue.js.map +1 -0
- package/dist/{chunks/tab-qc3f42Yp.js → components/tabs/tab_group.vue.cjs} +15 -171
- package/dist/components/tabs/tab_group.vue.cjs.map +1 -0
- package/dist/{chunks/tab-RTDgnD9-.js → components/tabs/tab_group.vue.js} +12 -168
- package/dist/components/tabs/tab_group.vue.js.map +1 -0
- package/dist/components/tabs/tab_panel.vue.cjs +91 -0
- package/dist/components/tabs/tab_panel.vue.cjs.map +1 -0
- package/dist/components/tabs/tab_panel.vue.js +92 -0
- package/dist/components/tabs/tab_panel.vue.js.map +1 -0
- package/dist/components/tabs/tabs_constants.cjs +21 -0
- package/dist/components/tabs/tabs_constants.cjs.map +1 -0
- package/dist/components/tabs/tabs_constants.js +21 -0
- package/dist/components/tabs/tabs_constants.js.map +1 -0
- package/dist/components/toast/toast.vue.cjs +273 -0
- package/dist/components/toast/toast.vue.cjs.map +1 -0
- package/dist/components/toast/toast.vue.js +274 -0
- package/dist/components/toast/toast.vue.js.map +1 -0
- package/dist/components/toast/toast_constants.cjs +7 -0
- package/dist/components/toast/toast_constants.cjs.map +1 -0
- package/dist/components/toast/toast_constants.js +7 -0
- package/dist/components/toast/toast_constants.js.map +1 -0
- package/dist/components/toggle/toggle.vue.cjs +185 -0
- package/dist/components/toggle/toggle.vue.cjs.map +1 -0
- package/dist/components/toggle/toggle.vue.js +186 -0
- package/dist/components/toggle/toggle.vue.js.map +1 -0
- package/dist/components/toggle/toggle_constants.cjs +10 -0
- package/dist/components/toggle/toggle_constants.cjs.map +1 -0
- package/dist/components/toggle/toggle_constants.js +10 -0
- package/dist/components/toggle/toggle_constants.js.map +1 -0
- package/dist/components/tooltip/tooltip.vue.cjs +441 -0
- package/dist/components/tooltip/tooltip.vue.cjs.map +1 -0
- package/dist/components/tooltip/tooltip.vue.js +442 -0
- package/dist/components/tooltip/tooltip.vue.js.map +1 -0
- package/dist/components/tooltip/tooltip_constants.cjs +23 -0
- package/dist/components/tooltip/tooltip_constants.cjs.map +1 -0
- package/dist/components/tooltip/tooltip_constants.js +23 -0
- package/dist/components/tooltip/tooltip_constants.js.map +1 -0
- package/dist/components/validation_messages/validation_messages.vue.cjs +88 -0
- package/dist/components/validation_messages/validation_messages.vue.cjs.map +1 -0
- package/dist/components/validation_messages/validation_messages.vue.js +89 -0
- package/dist/components/validation_messages/validation_messages.vue.js.map +1 -0
- package/dist/dialtone-vue.cjs +323 -315
- package/dist/dialtone-vue.cjs.map +1 -1
- package/dist/dialtone-vue.js +220 -212
- package/dist/dialtone-vue.js.map +1 -1
- package/dist/directives/scrollbar/scrollbar.cjs +31 -0
- package/dist/directives/scrollbar/scrollbar.cjs.map +1 -0
- package/dist/directives/scrollbar/scrollbar.js +31 -0
- package/dist/directives/scrollbar/scrollbar.js.map +1 -0
- package/dist/directives/tooltip/tooltip.cjs +83 -0
- package/dist/directives/tooltip/tooltip.cjs.map +1 -0
- package/dist/directives/tooltip/tooltip.js +83 -0
- package/dist/directives/tooltip/tooltip.js.map +1 -0
- package/dist/lib/attachment-carousel.cjs +1 -342
- package/dist/lib/attachment-carousel.cjs.map +1 -1
- package/dist/lib/attachment-carousel.js +2 -343
- package/dist/lib/attachment-carousel.js.map +1 -1
- package/dist/lib/avatar.cjs +11 -448
- package/dist/lib/avatar.cjs.map +1 -1
- package/dist/lib/avatar.js +3 -440
- package/dist/lib/avatar.js.map +1 -1
- package/dist/lib/badge.cjs +6 -224
- package/dist/lib/badge.cjs.map +1 -1
- package/dist/lib/badge.js +3 -221
- package/dist/lib/badge.js.map +1 -1
- package/dist/lib/banner.cjs +1 -239
- package/dist/lib/banner.cjs.map +1 -1
- package/dist/lib/banner.js +2 -240
- package/dist/lib/banner.js.map +1 -1
- package/dist/lib/breadcrumbs.cjs +6 -151
- package/dist/lib/breadcrumbs.cjs.map +1 -1
- package/dist/lib/breadcrumbs.js +5 -150
- package/dist/lib/breadcrumbs.js.map +1 -1
- package/dist/lib/button-group.cjs +3 -38
- package/dist/lib/button-group.cjs.map +1 -1
- package/dist/lib/button-group.js +3 -38
- package/dist/lib/button-group.js.map +1 -1
- package/dist/lib/button.cjs +10 -357
- package/dist/lib/button.cjs.map +1 -1
- package/dist/lib/button.js +3 -350
- package/dist/lib/button.js.map +1 -1
- package/dist/lib/callbar-button-with-popover.cjs +1 -334
- package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/lib/callbar-button-with-popover.js +2 -335
- package/dist/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/lib/callbar-button.cjs +4 -197
- package/dist/lib/callbar-button.cjs.map +1 -1
- package/dist/lib/callbar-button.js +3 -196
- package/dist/lib/callbar-button.js.map +1 -1
- package/dist/lib/callbox.cjs +4 -214
- package/dist/lib/callbox.cjs.map +1 -1
- package/dist/lib/callbox.js +3 -213
- package/dist/lib/callbox.js.map +1 -1
- package/dist/lib/card.cjs +2 -89
- package/dist/lib/card.cjs.map +1 -1
- package/dist/lib/card.js +2 -89
- package/dist/lib/card.js.map +1 -1
- package/dist/lib/checkbox-group.cjs +2 -113
- package/dist/lib/checkbox-group.cjs.map +1 -1
- package/dist/lib/checkbox-group.js +2 -113
- package/dist/lib/checkbox-group.js.map +1 -1
- package/dist/lib/checkbox.cjs +1 -153
- package/dist/lib/checkbox.cjs.map +1 -1
- package/dist/lib/checkbox.js +2 -154
- package/dist/lib/checkbox.js.map +1 -1
- package/dist/lib/chip.cjs +6 -233
- package/dist/lib/chip.cjs.map +1 -1
- package/dist/lib/chip.js +3 -230
- package/dist/lib/chip.js.map +1 -1
- package/dist/lib/codeblock.cjs +1 -20
- package/dist/lib/codeblock.cjs.map +1 -1
- package/dist/lib/codeblock.js +2 -21
- package/dist/lib/codeblock.js.map +1 -1
- package/dist/lib/collapsible.cjs +2 -396
- package/dist/lib/collapsible.cjs.map +1 -1
- package/dist/lib/collapsible.js +2 -396
- package/dist/lib/collapsible.js.map +1 -1
- package/dist/lib/combobox-multi-select.cjs +5 -651
- package/dist/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/lib/combobox-multi-select.js +3 -649
- package/dist/lib/combobox-multi-select.js.map +1 -1
- package/dist/lib/combobox-with-popover.cjs +2 -450
- package/dist/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/lib/combobox-with-popover.js +2 -450
- package/dist/lib/combobox-with-popover.js.map +1 -1
- package/dist/lib/combobox.cjs +4 -16
- package/dist/lib/combobox.cjs.map +1 -1
- package/dist/lib/combobox.js +3 -15
- package/dist/lib/combobox.js.map +1 -1
- package/dist/lib/contact-centers-row.cjs +1 -235
- package/dist/lib/contact-centers-row.cjs.map +1 -1
- package/dist/lib/contact-centers-row.js +2 -236
- package/dist/lib/contact-centers-row.js.map +1 -1
- package/dist/lib/contact-info.cjs +1 -210
- package/dist/lib/contact-info.cjs.map +1 -1
- package/dist/lib/contact-info.js +2 -211
- package/dist/lib/contact-info.js.map +1 -1
- package/dist/lib/contact-row.cjs +1 -249
- package/dist/lib/contact-row.cjs.map +1 -1
- package/dist/lib/contact-row.js +2 -250
- package/dist/lib/contact-row.js.map +1 -1
- package/dist/lib/datepicker.cjs +8 -855
- package/dist/lib/datepicker.cjs.map +1 -1
- package/dist/lib/datepicker.js +3 -850
- package/dist/lib/datepicker.js.map +1 -1
- package/dist/lib/description-list.cjs +3 -113
- package/dist/lib/description-list.cjs.map +1 -1
- package/dist/lib/description-list.js +3 -113
- package/dist/lib/description-list.js.map +1 -1
- package/dist/lib/dropdown.cjs +5 -33
- package/dist/lib/dropdown.cjs.map +1 -1
- package/dist/lib/dropdown.js +5 -33
- package/dist/lib/dropdown.js.map +1 -1
- package/dist/lib/editor.cjs +1 -710
- package/dist/lib/editor.cjs.map +1 -1
- package/dist/lib/editor.js +2 -711
- package/dist/lib/editor.js.map +1 -1
- package/dist/lib/emoji-picker.cjs +8 -1307
- package/dist/lib/emoji-picker.cjs.map +1 -1
- package/dist/lib/emoji-picker.js +3 -1302
- package/dist/lib/emoji-picker.js.map +1 -1
- package/dist/lib/emoji-row.cjs +3 -123
- package/dist/lib/emoji-row.cjs.map +1 -1
- package/dist/lib/emoji-row.js +3 -123
- package/dist/lib/emoji-row.js.map +1 -1
- package/dist/lib/emoji-text-wrapper.cjs +2 -101
- package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/lib/emoji-text-wrapper.js +2 -101
- package/dist/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/lib/emoji.cjs +2 -155
- package/dist/lib/emoji.cjs.map +1 -1
- package/dist/lib/emoji.js +2 -155
- package/dist/lib/emoji.js.map +1 -1
- package/dist/lib/empty-state.cjs +4 -178
- package/dist/lib/empty-state.cjs.map +1 -1
- package/dist/lib/empty-state.js +3 -177
- package/dist/lib/empty-state.js.map +1 -1
- package/dist/lib/feed-item-row.cjs +4 -304
- package/dist/lib/feed-item-row.cjs.map +1 -1
- package/dist/lib/feed-item-row.js +3 -303
- package/dist/lib/feed-item-row.js.map +1 -1
- package/dist/lib/feed-pill.cjs +3 -170
- package/dist/lib/feed-pill.cjs.map +1 -1
- package/dist/lib/feed-pill.js +3 -170
- package/dist/lib/feed-pill.js.map +1 -1
- package/dist/lib/general-row.cjs +8 -570
- package/dist/lib/general-row.cjs.map +1 -1
- package/dist/lib/general-row.js +3 -565
- package/dist/lib/general-row.js.map +1 -1
- package/dist/lib/group-row.cjs +1 -111
- package/dist/lib/group-row.cjs.map +1 -1
- package/dist/lib/group-row.js +2 -112
- package/dist/lib/group-row.js.map +1 -1
- package/dist/lib/grouped-chip.cjs +1 -93
- package/dist/lib/grouped-chip.cjs.map +1 -1
- package/dist/lib/grouped-chip.js +2 -94
- package/dist/lib/grouped-chip.js.map +1 -1
- package/dist/lib/hovercard.cjs +2 -229
- package/dist/lib/hovercard.cjs.map +1 -1
- package/dist/lib/hovercard.js +2 -229
- package/dist/lib/hovercard.js.map +1 -1
- package/dist/lib/icon.cjs +3 -54
- package/dist/lib/icon.cjs.map +1 -1
- package/dist/lib/icon.js +3 -54
- package/dist/lib/icon.js.map +1 -1
- package/dist/lib/illustration.cjs +4 -29
- package/dist/lib/illustration.cjs.map +1 -1
- package/dist/lib/illustration.js +3 -28
- package/dist/lib/illustration.js.map +1 -1
- package/dist/lib/image-viewer.cjs +2 -251
- package/dist/lib/image-viewer.cjs.map +1 -1
- package/dist/lib/image-viewer.js +2 -251
- package/dist/lib/image-viewer.js.map +1 -1
- package/dist/lib/input-group.cjs +2 -89
- package/dist/lib/input-group.cjs.map +1 -1
- package/dist/lib/input-group.js +2 -89
- package/dist/lib/input-group.js.map +1 -1
- package/dist/lib/input.cjs +5 -560
- package/dist/lib/input.cjs.map +1 -1
- package/dist/lib/input.js +3 -558
- package/dist/lib/input.js.map +1 -1
- package/dist/lib/item-layout.cjs +2 -89
- package/dist/lib/item-layout.cjs.map +1 -1
- package/dist/lib/item-layout.js +2 -89
- package/dist/lib/item-layout.js.map +1 -1
- package/dist/lib/ivr-node.cjs +13 -265
- package/dist/lib/ivr-node.cjs.map +1 -1
- package/dist/lib/ivr-node.js +3 -255
- package/dist/lib/ivr-node.js.map +1 -1
- package/dist/lib/keyboard-shortcut.cjs +5 -116
- package/dist/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/lib/keyboard-shortcut.js +3 -114
- package/dist/lib/keyboard-shortcut.js.map +1 -1
- package/dist/lib/lazy-show.cjs +2 -80
- package/dist/lib/lazy-show.cjs.map +1 -1
- package/dist/lib/lazy-show.js +2 -80
- package/dist/lib/lazy-show.js.map +1 -1
- package/dist/lib/link.cjs +3 -53
- package/dist/lib/link.cjs.map +1 -1
- package/dist/lib/link.js +3 -53
- package/dist/lib/link.js.map +1 -1
- package/dist/lib/list-item-group.cjs +1 -64
- package/dist/lib/list-item-group.cjs.map +1 -1
- package/dist/lib/list-item-group.js +2 -65
- package/dist/lib/list-item-group.js.map +1 -1
- package/dist/lib/list-item.cjs +3 -212
- package/dist/lib/list-item.cjs.map +1 -1
- package/dist/lib/list-item.js +3 -212
- package/dist/lib/list-item.js.map +1 -1
- package/dist/lib/message-input.cjs +1 -830
- package/dist/lib/message-input.cjs.map +1 -1
- package/dist/lib/message-input.js +2 -831
- package/dist/lib/message-input.js.map +1 -1
- package/dist/lib/modal.cjs +5 -441
- package/dist/lib/modal.cjs.map +1 -1
- package/dist/lib/modal.js +3 -439
- package/dist/lib/modal.js.map +1 -1
- package/dist/lib/notice.cjs +9 -202
- package/dist/lib/notice.cjs.map +1 -1
- package/dist/lib/notice.js +9 -202
- package/dist/lib/notice.js.map +1 -1
- package/dist/lib/pagination.cjs +1 -202
- package/dist/lib/pagination.cjs.map +1 -1
- package/dist/lib/pagination.js +2 -203
- package/dist/lib/pagination.js.map +1 -1
- package/dist/lib/popover.cjs +3 -1138
- package/dist/lib/popover.cjs.map +1 -1
- package/dist/lib/popover.js +3 -1139
- package/dist/lib/popover.js.map +1 -1
- package/dist/lib/presence.cjs +5 -68
- package/dist/lib/presence.cjs.map +1 -1
- package/dist/lib/presence.js +3 -66
- package/dist/lib/presence.js.map +1 -1
- package/dist/lib/radio-group.cjs +2 -86
- package/dist/lib/radio-group.cjs.map +1 -1
- package/dist/lib/radio-group.js +2 -86
- package/dist/lib/radio-group.js.map +1 -1
- package/dist/lib/radio.cjs +3 -159
- package/dist/lib/radio.cjs.map +1 -1
- package/dist/lib/radio.js +3 -159
- package/dist/lib/radio.js.map +1 -1
- package/dist/lib/rich-text-editor.cjs +5 -1702
- package/dist/lib/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor.js +3 -1700
- package/dist/lib/rich-text-editor.js.map +1 -1
- package/dist/lib/root-layout.cjs +4 -155
- package/dist/lib/root-layout.cjs.map +1 -1
- package/dist/lib/root-layout.js +3 -154
- package/dist/lib/root-layout.js.map +1 -1
- package/dist/lib/scrollbar-directive.cjs +2 -2438
- package/dist/lib/scrollbar-directive.cjs.map +1 -1
- package/dist/lib/scrollbar-directive.js +2 -2438
- package/dist/lib/scrollbar-directive.js.map +1 -1
- package/dist/lib/scroller.cjs +2 -1088
- package/dist/lib/scroller.cjs.map +1 -1
- package/dist/lib/scroller.js +2 -1088
- package/dist/lib/scroller.js.map +1 -1
- package/dist/lib/select-menu.cjs +4 -309
- package/dist/lib/select-menu.cjs.map +1 -1
- package/dist/lib/select-menu.js +3 -308
- package/dist/lib/select-menu.js.map +1 -1
- package/dist/lib/settings-menu-button.cjs +1 -74
- package/dist/lib/settings-menu-button.cjs.map +1 -1
- package/dist/lib/settings-menu-button.js +2 -75
- package/dist/lib/settings-menu-button.js.map +1 -1
- package/dist/lib/skeleton.cjs +16 -633
- package/dist/lib/skeleton.cjs.map +1 -1
- package/dist/lib/skeleton.js +11 -628
- package/dist/lib/skeleton.js.map +1 -1
- package/dist/lib/split-button.cjs +3 -540
- package/dist/lib/split-button.cjs.map +1 -1
- package/dist/lib/split-button.js +3 -540
- package/dist/lib/split-button.js.map +1 -1
- package/dist/lib/stack.cjs +3 -155
- package/dist/lib/stack.cjs.map +1 -1
- package/dist/lib/stack.js +3 -155
- package/dist/lib/stack.js.map +1 -1
- package/dist/lib/tabs.cjs +10 -99
- package/dist/lib/tabs.cjs.map +1 -1
- package/dist/lib/tabs.js +7 -96
- package/dist/lib/tabs.js.map +1 -1
- package/dist/lib/time-pill.cjs +1 -38
- package/dist/lib/time-pill.cjs.map +1 -1
- package/dist/lib/time-pill.js +2 -39
- package/dist/lib/time-pill.js.map +1 -1
- package/dist/lib/toast.cjs +4 -278
- package/dist/lib/toast.cjs.map +1 -1
- package/dist/lib/toast.js +3 -277
- package/dist/lib/toast.js.map +1 -1
- package/dist/lib/toggle.cjs +4 -189
- package/dist/lib/toggle.cjs.map +1 -1
- package/dist/lib/toggle.js +3 -188
- package/dist/lib/toggle.js.map +1 -1
- package/dist/lib/tooltip-directive.cjs +2 -82
- package/dist/lib/tooltip-directive.cjs.map +1 -1
- package/dist/lib/tooltip-directive.js +2 -82
- package/dist/lib/tooltip-directive.js.map +1 -1
- package/dist/lib/tooltip.cjs +8 -447
- package/dist/lib/tooltip.cjs.map +1 -1
- package/dist/lib/tooltip.js +3 -443
- package/dist/lib/tooltip.js.map +1 -1
- package/dist/lib/top-banner-info.cjs +3 -68
- package/dist/lib/top-banner-info.cjs.map +1 -1
- package/dist/lib/top-banner-info.js +3 -68
- package/dist/lib/top-banner-info.js.map +1 -1
- package/dist/lib/unread-pill.cjs +4 -70
- package/dist/lib/unread-pill.cjs.map +1 -1
- package/dist/lib/unread-pill.js +3 -69
- package/dist/lib/unread-pill.js.map +1 -1
- package/dist/lib/validation-messages.cjs +2 -87
- package/dist/lib/validation-messages.cjs.map +1 -1
- package/dist/lib/validation-messages.js +2 -87
- package/dist/lib/validation-messages.js.map +1 -1
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs +195 -0
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -0
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.js +196 -0
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -0
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs +5 -0
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs.map +1 -0
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.js +5 -0
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.js.map +1 -0
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +328 -0
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -0
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +329 -0
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -0
- package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs +188 -0
- package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -0
- package/dist/recipes/cards/ivr_node/ivr_node.vue.js +189 -0
- package/dist/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -0
- package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs +71 -0
- package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -0
- package/dist/recipes/cards/ivr_node/ivr_node_constants.js +71 -0
- package/dist/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -0
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs +90 -0
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -0
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js +91 -0
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +610 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +611 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs +22 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs.map +1 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js +22 -0
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js.map +1 -0
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +437 -0
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -0
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +438 -0
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +190 -0
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +191 -0
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +99 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +100 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +66 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +67 -0
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -0
- package/dist/recipes/conversation_view/editor/editor.vue.cjs +658 -0
- package/dist/recipes/conversation_view/editor/editor.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/editor/editor.vue.js +659 -0
- package/dist/recipes/conversation_view/editor/editor.vue.js.map +1 -0
- package/dist/recipes/conversation_view/editor/editor_constants.cjs +14 -0
- package/dist/recipes/conversation_view/editor/editor_constants.cjs.map +1 -0
- package/dist/recipes/conversation_view/editor/editor_constants.js +14 -0
- package/dist/recipes/conversation_view/editor/editor_constants.js.map +1 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +109 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js +110 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs +11 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs.map +1 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js +11 -0
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js.map +1 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +292 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +293 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +11 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +11 -0
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs +160 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js +161 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js.map +1 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs +9 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs.map +1 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js +9 -0
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js.map +1 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs +76 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js +77 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js.map +1 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs +35 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs.map +1 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js +36 -0
- package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js.map +1 -0
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +690 -0
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/message_input/message_input.vue.js +691 -0
- package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +1 -0
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs +42 -0
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -0
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.js +43 -0
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -0
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +72 -0
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -0
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js +73 -0
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -0
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +207 -0
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -0
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js +208 -0
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -0
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs +201 -0
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/callbox/callbox.vue.js +202 -0
- package/dist/recipes/leftbar/callbox/callbox.vue.js.map +1 -0
- package/dist/recipes/leftbar/callbox/callbox_constants.cjs +13 -0
- package/dist/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -0
- package/dist/recipes/leftbar/callbox/callbox_constants.js +13 -0
- package/dist/recipes/leftbar/callbox/callbox_constants.js.map +1 -0
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +229 -0
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +230 -0
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -0
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +236 -0
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js +237 -0
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -0
- package/dist/recipes/leftbar/general_row/general_row.vue.cjs +441 -0
- package/dist/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/general_row/general_row.vue.js +442 -0
- package/dist/recipes/leftbar/general_row/general_row.vue.js.map +1 -0
- package/dist/recipes/leftbar/general_row/general_row_constants.cjs +58 -0
- package/dist/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -0
- package/dist/recipes/leftbar/general_row/general_row_constants.js +58 -0
- package/dist/recipes/leftbar/general_row/general_row_constants.js.map +1 -0
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +73 -0
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +74 -0
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -0
- package/dist/recipes/leftbar/group_row/group_row.vue.cjs +99 -0
- package/dist/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/group_row/group_row.vue.js +100 -0
- package/dist/recipes/leftbar/group_row/group_row.vue.js.map +1 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs +68 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js +69 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs +7 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs.map +1 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js +7 -0
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js.map +1 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs +62 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js +63 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs +14 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs.map +1 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js +14 -0
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js.map +1 -0
- package/dist/style.css +1093 -1736
- package/package.json +8 -6
- package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js.map +0 -1
- package/dist/chunks/dropdown-oA-_Gotg.js.map +0 -1
- package/dist/chunks/dropdown-p-Azgwov.js.map +0 -1
- package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +0 -1
- package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +0 -1
- package/dist/chunks/icon_constants-H9ahUVCG.js.map +0 -1
- package/dist/chunks/icon_constants-da57m7BZ.js.map +0 -1
- package/dist/chunks/index-4qgKeErp.js.map +0 -1
- package/dist/chunks/index-GVD15GIB.js +0 -175
- package/dist/chunks/index-GVD15GIB.js.map +0 -1
- package/dist/chunks/index-b_MgDylR.js.map +0 -1
- package/dist/chunks/index-lu2o2f4r.js +0 -169
- package/dist/chunks/index-lu2o2f4r.js.map +0 -1
- package/dist/chunks/input-NmYDD5bn.js.map +0 -1
- package/dist/chunks/input-ttnte8zB.js.map +0 -1
- package/dist/chunks/input_group-M-D25pOJ.js.map +0 -1
- package/dist/chunks/input_group-jWnq2DJT.js.map +0 -1
- package/dist/chunks/keyboard_list_navigation-ScXhrxya.js.map +0 -1
- package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js.map +0 -1
- package/dist/chunks/link_constants-AfTWrr-n.js.map +0 -1
- package/dist/chunks/link_constants-x8NwdqmA.js.map +0 -1
- package/dist/chunks/list_item_constants-EiqkqZvP.js.map +0 -1
- package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +0 -1
- package/dist/chunks/modal-VgxXAQFP.js.map +0 -1
- package/dist/chunks/modal-XOr4kiNZ.js.map +0 -1
- package/dist/chunks/notice_action-WTucGhvr.js +0 -222
- package/dist/chunks/notice_action-WTucGhvr.js.map +0 -1
- package/dist/chunks/notice_action-p-ePanW_.js +0 -223
- package/dist/chunks/notice_action-p-ePanW_.js.map +0 -1
- package/dist/chunks/notice_constants-7Qt2CQEY.js.map +0 -1
- package/dist/chunks/notice_constants-UXo9e3bS.js.map +0 -1
- package/dist/chunks/popover_constants-WsOUIY-m.js.map +0 -1
- package/dist/chunks/popover_constants-XnGWXaxX.js.map +0 -1
- package/dist/chunks/sr_only_close_button-3EdsV-dH.js +0 -92
- package/dist/chunks/sr_only_close_button-3EdsV-dH.js.map +0 -1
- package/dist/chunks/sr_only_close_button-xGrHFjwA.js +0 -91
- package/dist/chunks/sr_only_close_button-xGrHFjwA.js.map +0 -1
- package/dist/chunks/stack_constants-HraCekPm.js.map +0 -1
- package/dist/chunks/stack_constants-SMzMWnAQ.js.map +0 -1
- package/dist/chunks/tab-RTDgnD9-.js.map +0 -1
- package/dist/chunks/tab-qc3f42Yp.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_plugin-vue_export-helper.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/common/dates.cjs
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const dateFns = require("date-fns");
|
|
4
4
|
const common_utils = require("./utils.cjs");
|
|
5
|
-
require("./constants.cjs");
|
|
6
|
-
require("vue");
|
|
7
5
|
let dialtoneLocale;
|
|
8
6
|
function _baseFormat(date, formatString) {
|
|
9
7
|
_checkLocaleSet();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dates.cjs","sources":["../../common/dates/index.js"],"sourcesContent":["import {\n format,\n formatDuration,\n intervalToDuration,\n formatDistance,\n isToday,\n isYesterday,\n isThisWeek,\n isThisYear,\n} from 'date-fns';\nimport { capitalizeFirstLetter } from '../utils';\n\nlet dialtoneLocale;\n\n// Base functions just wrap core date-fns functions, but this allows us to do checks and set default options.\n\nfunction _baseFormat (date, formatString) {\n _checkLocaleSet();\n return format(date, formatString, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _baseFormatDuration (duration, formatString) {\n _checkLocaleSet();\n return formatDuration(duration, {\n locale: dialtoneLocale,\n format: formatString,\n });\n}\n\nfunction _baseFormatDistance (date, baseDate) {\n _checkLocaleSet();\n return formatDistance(date, baseDate, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _isLocaleSet () {\n return dialtoneLocale !== undefined;\n}\n\nfunction _checkLocaleSet () {\n if (!_isLocaleSet()) {\n throw new Error('Locale not set, please call setDateLocale(locale) and pass ' +\n 'in a datefns locale object as the locale param before calling this function');\n }\n}\n\n/**\n * Sets the locale for date-fns. This should be called before any date-fns functions are called.\n * @param {Locale} locale A date-fns locale object\n */\nexport function setDateLocale (locale) {\n dialtoneLocale = locale;\n}\n\n/**\n * This formats a date to the Dialtone standard medium date format as shown here:\n * https://dialtone.dialpad.com/guides/writing-guidelines/#formats-by-length\n * @param {Date} date A javascript date object\n * @returns {string} A string in the format of 'September 2, 2022'\n */\nexport function getDateMedium (date) {\n return _baseFormat(date, 'MMMM d, y');\n}\n\n/**\n * Converts a call duration in total number of seconds to a human readable string\n * such as 'less than a minute' or '4 hours 34 minutes'.\n * @param {number} durationInSeconds The duration of the call in seconds\n * @returns {string} A human readable string representing the duration of the call\n */\nexport function durationInHHMM (durationInSeconds) {\n if (durationInSeconds < 60) {\n // returns 'less than a minute', we're doing it like this instead of returning a string\n // so datefns handles i18n.\n return _baseFormatDistance(0, 29 * 1000);\n }\n const duration = intervalToDuration({\n start: 0,\n end: durationInSeconds * 1000,\n });\n return _baseFormatDuration(duration, ['hours', 'minutes']);\n}\n\n/**\n * gets the human readable name of the day relative to the current time. For example, if you pass in -1 it will\n * say \"Yesterday\" if you pass in 0 it will say \"Today\", if you pass in 1 it will say \"Tomorrow\".\n * @param {number} days The number of days relative to the current time\n * @returns {string} A human readable string representing the distance between the date and now\n */\nfunction _getRelativeDaysText (days) {\n const rtl = new Intl.RelativeTimeFormat(dialtoneLocale.code, { numeric: 'auto' });\n return capitalizeFirstLetter(rtl.formatToParts(days, 'day')[0].value, dialtoneLocale.code);\n}\n\n/**\n * Returns the distance between the passed in date and now in a human readable format, typically used\n * when showing a history of items in a log such as a feed list.\n *\n * datefns does not support 'today' and 'yesterday' without showing time so we use Intl for these cases.\n *\n * examples below to explain\n * the different potential formats:\n *\n * If current day:\n * Today\n *\n * If previous day:\n * Yesterday\n *\n * Older than yesterday, but in the same calendar week:\n * Monday\n *\n * Older than the most recent calendar week, but in the same year:\n * Monday, October 14\n *\n * older than a calendar year:\n * October 14, 2022\n *\n *\n * @param {Date} date The timestamp of the item's date\n * @returns {string} A human readable string representing the distance between the date and now\n */\nexport function relativeDate (date) {\n if (isToday(date)) {\n return _getRelativeDaysText(0);\n } else if (isYesterday(date)) {\n return _getRelativeDaysText(-1);\n } else if (isThisWeek(date)) {\n return _baseFormat(date, 'EEEE');\n } else if (isThisYear(date)) {\n return _baseFormat(date, 'EEEE, MMMM d');\n } else {\n return _baseFormat(date, 'MMMM d, y');\n }\n}\n"],"names":["format","formatDuration","formatDistance","intervalToDuration","capitalizeFirstLetter","isToday","isYesterday","isThisWeek","isThisYear"],"mappings":"
|
|
1
|
+
{"version":3,"file":"dates.cjs","sources":["../../common/dates/index.js"],"sourcesContent":["import {\n format,\n formatDuration,\n intervalToDuration,\n formatDistance,\n isToday,\n isYesterday,\n isThisWeek,\n isThisYear,\n} from 'date-fns';\nimport { capitalizeFirstLetter } from '../utils';\n\nlet dialtoneLocale;\n\n// Base functions just wrap core date-fns functions, but this allows us to do checks and set default options.\n\nfunction _baseFormat (date, formatString) {\n _checkLocaleSet();\n return format(date, formatString, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _baseFormatDuration (duration, formatString) {\n _checkLocaleSet();\n return formatDuration(duration, {\n locale: dialtoneLocale,\n format: formatString,\n });\n}\n\nfunction _baseFormatDistance (date, baseDate) {\n _checkLocaleSet();\n return formatDistance(date, baseDate, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _isLocaleSet () {\n return dialtoneLocale !== undefined;\n}\n\nfunction _checkLocaleSet () {\n if (!_isLocaleSet()) {\n throw new Error('Locale not set, please call setDateLocale(locale) and pass ' +\n 'in a datefns locale object as the locale param before calling this function');\n }\n}\n\n/**\n * Sets the locale for date-fns. This should be called before any date-fns functions are called.\n * @param {Locale} locale A date-fns locale object\n */\nexport function setDateLocale (locale) {\n dialtoneLocale = locale;\n}\n\n/**\n * This formats a date to the Dialtone standard medium date format as shown here:\n * https://dialtone.dialpad.com/guides/writing-guidelines/#formats-by-length\n * @param {Date} date A javascript date object\n * @returns {string} A string in the format of 'September 2, 2022'\n */\nexport function getDateMedium (date) {\n return _baseFormat(date, 'MMMM d, y');\n}\n\n/**\n * Converts a call duration in total number of seconds to a human readable string\n * such as 'less than a minute' or '4 hours 34 minutes'.\n * @param {number} durationInSeconds The duration of the call in seconds\n * @returns {string} A human readable string representing the duration of the call\n */\nexport function durationInHHMM (durationInSeconds) {\n if (durationInSeconds < 60) {\n // returns 'less than a minute', we're doing it like this instead of returning a string\n // so datefns handles i18n.\n return _baseFormatDistance(0, 29 * 1000);\n }\n const duration = intervalToDuration({\n start: 0,\n end: durationInSeconds * 1000,\n });\n return _baseFormatDuration(duration, ['hours', 'minutes']);\n}\n\n/**\n * gets the human readable name of the day relative to the current time. For example, if you pass in -1 it will\n * say \"Yesterday\" if you pass in 0 it will say \"Today\", if you pass in 1 it will say \"Tomorrow\".\n * @param {number} days The number of days relative to the current time\n * @returns {string} A human readable string representing the distance between the date and now\n */\nfunction _getRelativeDaysText (days) {\n const rtl = new Intl.RelativeTimeFormat(dialtoneLocale.code, { numeric: 'auto' });\n return capitalizeFirstLetter(rtl.formatToParts(days, 'day')[0].value, dialtoneLocale.code);\n}\n\n/**\n * Returns the distance between the passed in date and now in a human readable format, typically used\n * when showing a history of items in a log such as a feed list.\n *\n * datefns does not support 'today' and 'yesterday' without showing time so we use Intl for these cases.\n *\n * examples below to explain\n * the different potential formats:\n *\n * If current day:\n * Today\n *\n * If previous day:\n * Yesterday\n *\n * Older than yesterday, but in the same calendar week:\n * Monday\n *\n * Older than the most recent calendar week, but in the same year:\n * Monday, October 14\n *\n * older than a calendar year:\n * October 14, 2022\n *\n *\n * @param {Date} date The timestamp of the item's date\n * @returns {string} A human readable string representing the distance between the date and now\n */\nexport function relativeDate (date) {\n if (isToday(date)) {\n return _getRelativeDaysText(0);\n } else if (isYesterday(date)) {\n return _getRelativeDaysText(-1);\n } else if (isThisWeek(date)) {\n return _baseFormat(date, 'EEEE');\n } else if (isThisYear(date)) {\n return _baseFormat(date, 'EEEE, MMMM d');\n } else {\n return _baseFormat(date, 'MMMM d, y');\n }\n}\n"],"names":["format","formatDuration","formatDistance","intervalToDuration","capitalizeFirstLetter","isToday","isYesterday","isThisWeek","isThisYear"],"mappings":";;;;AAYA,IAAI;AAIJ,SAAS,YAAa,MAAM,cAAc;AACxC;AACA,SAAOA,QAAM,OAAC,MAAM,cAAc;AAAA,IAChC,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,oBAAqB,UAAU,cAAc;AACpD;AACA,SAAOC,QAAAA,eAAe,UAAU;AAAA,IAC9B,QAAQ;AAAA,IACR,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,oBAAqB,MAAM,UAAU;AAC5C;AACA,SAAOC,QAAc,eAAC,MAAM,UAAU;AAAA,IACpC,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,eAAgB;AACvB,SAAO,mBAAmB;AAC5B;AAEA,SAAS,kBAAmB;AAC1B,MAAI,CAAC,aAAY,GAAI;AACnB,UAAM,IAAI,MAAM,wIAC6D;AAAA,EAC9E;AACH;AAMO,SAAS,cAAe,QAAQ;AACrC,mBAAiB;AACnB;AAQO,SAAS,cAAe,MAAM;AACnC,SAAO,YAAY,MAAM,WAAW;AACtC;AAQO,SAAS,eAAgB,mBAAmB;AACjD,MAAI,oBAAoB,IAAI;AAG1B,WAAO,oBAAoB,GAAG,KAAK,GAAI;AAAA,EACxC;AACD,QAAM,WAAWC,QAAAA,mBAAmB;AAAA,IAClC,OAAO;AAAA,IACP,KAAK,oBAAoB;AAAA,EAC7B,CAAG;AACD,SAAO,oBAAoB,UAAU,CAAC,SAAS,SAAS,CAAC;AAC3D;AAQA,SAAS,qBAAsB,MAAM;AACnC,QAAM,MAAM,IAAI,KAAK,mBAAmB,eAAe,MAAM,EAAE,SAAS,OAAM,CAAE;AAChF,SAAOC,mCAAsB,IAAI,cAAc,MAAM,KAAK,EAAE,CAAC,EAAE,OAAO,eAAe,IAAI;AAC3F;AA8BO,SAAS,aAAc,MAAM;AAClC,MAAIC,QAAAA,QAAQ,IAAI,GAAG;AACjB,WAAO,qBAAqB,CAAC;AAAA,EACjC,WAAaC,QAAAA,YAAY,IAAI,GAAG;AAC5B,WAAO,qBAAqB,EAAE;AAAA,EAClC,WAAaC,QAAAA,WAAW,IAAI,GAAG;AAC3B,WAAO,YAAY,MAAM,MAAM;AAAA,EACnC,WAAaC,QAAAA,WAAW,IAAI,GAAG;AAC3B,WAAO,YAAY,MAAM,cAAc;AAAA,EAC3C,OAAS;AACL,WAAO,YAAY,MAAM,WAAW;AAAA,EACrC;AACH;;;;;"}
|
package/dist/common/dates.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { intervalToDuration, isToday, isYesterday, isThisWeek, isThisYear, format, formatDuration, formatDistance } from "date-fns";
|
|
2
2
|
import { capitalizeFirstLetter } from "./utils.js";
|
|
3
|
-
import "./constants.js";
|
|
4
|
-
import "vue";
|
|
5
3
|
let dialtoneLocale;
|
|
6
4
|
function _baseFormat(date, formatString) {
|
|
7
5
|
_checkLocaleSet();
|
package/dist/common/dates.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dates.js","sources":["../../common/dates/index.js"],"sourcesContent":["import {\n format,\n formatDuration,\n intervalToDuration,\n formatDistance,\n isToday,\n isYesterday,\n isThisWeek,\n isThisYear,\n} from 'date-fns';\nimport { capitalizeFirstLetter } from '../utils';\n\nlet dialtoneLocale;\n\n// Base functions just wrap core date-fns functions, but this allows us to do checks and set default options.\n\nfunction _baseFormat (date, formatString) {\n _checkLocaleSet();\n return format(date, formatString, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _baseFormatDuration (duration, formatString) {\n _checkLocaleSet();\n return formatDuration(duration, {\n locale: dialtoneLocale,\n format: formatString,\n });\n}\n\nfunction _baseFormatDistance (date, baseDate) {\n _checkLocaleSet();\n return formatDistance(date, baseDate, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _isLocaleSet () {\n return dialtoneLocale !== undefined;\n}\n\nfunction _checkLocaleSet () {\n if (!_isLocaleSet()) {\n throw new Error('Locale not set, please call setDateLocale(locale) and pass ' +\n 'in a datefns locale object as the locale param before calling this function');\n }\n}\n\n/**\n * Sets the locale for date-fns. This should be called before any date-fns functions are called.\n * @param {Locale} locale A date-fns locale object\n */\nexport function setDateLocale (locale) {\n dialtoneLocale = locale;\n}\n\n/**\n * This formats a date to the Dialtone standard medium date format as shown here:\n * https://dialtone.dialpad.com/guides/writing-guidelines/#formats-by-length\n * @param {Date} date A javascript date object\n * @returns {string} A string in the format of 'September 2, 2022'\n */\nexport function getDateMedium (date) {\n return _baseFormat(date, 'MMMM d, y');\n}\n\n/**\n * Converts a call duration in total number of seconds to a human readable string\n * such as 'less than a minute' or '4 hours 34 minutes'.\n * @param {number} durationInSeconds The duration of the call in seconds\n * @returns {string} A human readable string representing the duration of the call\n */\nexport function durationInHHMM (durationInSeconds) {\n if (durationInSeconds < 60) {\n // returns 'less than a minute', we're doing it like this instead of returning a string\n // so datefns handles i18n.\n return _baseFormatDistance(0, 29 * 1000);\n }\n const duration = intervalToDuration({\n start: 0,\n end: durationInSeconds * 1000,\n });\n return _baseFormatDuration(duration, ['hours', 'minutes']);\n}\n\n/**\n * gets the human readable name of the day relative to the current time. For example, if you pass in -1 it will\n * say \"Yesterday\" if you pass in 0 it will say \"Today\", if you pass in 1 it will say \"Tomorrow\".\n * @param {number} days The number of days relative to the current time\n * @returns {string} A human readable string representing the distance between the date and now\n */\nfunction _getRelativeDaysText (days) {\n const rtl = new Intl.RelativeTimeFormat(dialtoneLocale.code, { numeric: 'auto' });\n return capitalizeFirstLetter(rtl.formatToParts(days, 'day')[0].value, dialtoneLocale.code);\n}\n\n/**\n * Returns the distance between the passed in date and now in a human readable format, typically used\n * when showing a history of items in a log such as a feed list.\n *\n * datefns does not support 'today' and 'yesterday' without showing time so we use Intl for these cases.\n *\n * examples below to explain\n * the different potential formats:\n *\n * If current day:\n * Today\n *\n * If previous day:\n * Yesterday\n *\n * Older than yesterday, but in the same calendar week:\n * Monday\n *\n * Older than the most recent calendar week, but in the same year:\n * Monday, October 14\n *\n * older than a calendar year:\n * October 14, 2022\n *\n *\n * @param {Date} date The timestamp of the item's date\n * @returns {string} A human readable string representing the distance between the date and now\n */\nexport function relativeDate (date) {\n if (isToday(date)) {\n return _getRelativeDaysText(0);\n } else if (isYesterday(date)) {\n return _getRelativeDaysText(-1);\n } else if (isThisWeek(date)) {\n return _baseFormat(date, 'EEEE');\n } else if (isThisYear(date)) {\n return _baseFormat(date, 'EEEE, MMMM d');\n } else {\n return _baseFormat(date, 'MMMM d, y');\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dates.js","sources":["../../common/dates/index.js"],"sourcesContent":["import {\n format,\n formatDuration,\n intervalToDuration,\n formatDistance,\n isToday,\n isYesterday,\n isThisWeek,\n isThisYear,\n} from 'date-fns';\nimport { capitalizeFirstLetter } from '../utils';\n\nlet dialtoneLocale;\n\n// Base functions just wrap core date-fns functions, but this allows us to do checks and set default options.\n\nfunction _baseFormat (date, formatString) {\n _checkLocaleSet();\n return format(date, formatString, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _baseFormatDuration (duration, formatString) {\n _checkLocaleSet();\n return formatDuration(duration, {\n locale: dialtoneLocale,\n format: formatString,\n });\n}\n\nfunction _baseFormatDistance (date, baseDate) {\n _checkLocaleSet();\n return formatDistance(date, baseDate, {\n locale: dialtoneLocale,\n });\n}\n\nfunction _isLocaleSet () {\n return dialtoneLocale !== undefined;\n}\n\nfunction _checkLocaleSet () {\n if (!_isLocaleSet()) {\n throw new Error('Locale not set, please call setDateLocale(locale) and pass ' +\n 'in a datefns locale object as the locale param before calling this function');\n }\n}\n\n/**\n * Sets the locale for date-fns. This should be called before any date-fns functions are called.\n * @param {Locale} locale A date-fns locale object\n */\nexport function setDateLocale (locale) {\n dialtoneLocale = locale;\n}\n\n/**\n * This formats a date to the Dialtone standard medium date format as shown here:\n * https://dialtone.dialpad.com/guides/writing-guidelines/#formats-by-length\n * @param {Date} date A javascript date object\n * @returns {string} A string in the format of 'September 2, 2022'\n */\nexport function getDateMedium (date) {\n return _baseFormat(date, 'MMMM d, y');\n}\n\n/**\n * Converts a call duration in total number of seconds to a human readable string\n * such as 'less than a minute' or '4 hours 34 minutes'.\n * @param {number} durationInSeconds The duration of the call in seconds\n * @returns {string} A human readable string representing the duration of the call\n */\nexport function durationInHHMM (durationInSeconds) {\n if (durationInSeconds < 60) {\n // returns 'less than a minute', we're doing it like this instead of returning a string\n // so datefns handles i18n.\n return _baseFormatDistance(0, 29 * 1000);\n }\n const duration = intervalToDuration({\n start: 0,\n end: durationInSeconds * 1000,\n });\n return _baseFormatDuration(duration, ['hours', 'minutes']);\n}\n\n/**\n * gets the human readable name of the day relative to the current time. For example, if you pass in -1 it will\n * say \"Yesterday\" if you pass in 0 it will say \"Today\", if you pass in 1 it will say \"Tomorrow\".\n * @param {number} days The number of days relative to the current time\n * @returns {string} A human readable string representing the distance between the date and now\n */\nfunction _getRelativeDaysText (days) {\n const rtl = new Intl.RelativeTimeFormat(dialtoneLocale.code, { numeric: 'auto' });\n return capitalizeFirstLetter(rtl.formatToParts(days, 'day')[0].value, dialtoneLocale.code);\n}\n\n/**\n * Returns the distance between the passed in date and now in a human readable format, typically used\n * when showing a history of items in a log such as a feed list.\n *\n * datefns does not support 'today' and 'yesterday' without showing time so we use Intl for these cases.\n *\n * examples below to explain\n * the different potential formats:\n *\n * If current day:\n * Today\n *\n * If previous day:\n * Yesterday\n *\n * Older than yesterday, but in the same calendar week:\n * Monday\n *\n * Older than the most recent calendar week, but in the same year:\n * Monday, October 14\n *\n * older than a calendar year:\n * October 14, 2022\n *\n *\n * @param {Date} date The timestamp of the item's date\n * @returns {string} A human readable string representing the distance between the date and now\n */\nexport function relativeDate (date) {\n if (isToday(date)) {\n return _getRelativeDaysText(0);\n } else if (isYesterday(date)) {\n return _getRelativeDaysText(-1);\n } else if (isThisWeek(date)) {\n return _baseFormat(date, 'EEEE');\n } else if (isThisYear(date)) {\n return _baseFormat(date, 'EEEE, MMMM d');\n } else {\n return _baseFormat(date, 'MMMM d, y');\n }\n}\n"],"names":[],"mappings":";;AAYA,IAAI;AAIJ,SAAS,YAAa,MAAM,cAAc;AACxC;AACA,SAAO,OAAO,MAAM,cAAc;AAAA,IAChC,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,oBAAqB,UAAU,cAAc;AACpD;AACA,SAAO,eAAe,UAAU;AAAA,IAC9B,QAAQ;AAAA,IACR,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,oBAAqB,MAAM,UAAU;AAC5C;AACA,SAAO,eAAe,MAAM,UAAU;AAAA,IACpC,QAAQ;AAAA,EACZ,CAAG;AACH;AAEA,SAAS,eAAgB;AACvB,SAAO,mBAAmB;AAC5B;AAEA,SAAS,kBAAmB;AAC1B,MAAI,CAAC,aAAY,GAAI;AACnB,UAAM,IAAI,MAAM,wIAC6D;AAAA,EAC9E;AACH;AAMO,SAAS,cAAe,QAAQ;AACrC,mBAAiB;AACnB;AAQO,SAAS,cAAe,MAAM;AACnC,SAAO,YAAY,MAAM,WAAW;AACtC;AAQO,SAAS,eAAgB,mBAAmB;AACjD,MAAI,oBAAoB,IAAI;AAG1B,WAAO,oBAAoB,GAAG,KAAK,GAAI;AAAA,EACxC;AACD,QAAM,WAAW,mBAAmB;AAAA,IAClC,OAAO;AAAA,IACP,KAAK,oBAAoB;AAAA,EAC7B,CAAG;AACD,SAAO,oBAAoB,UAAU,CAAC,SAAS,SAAS,CAAC;AAC3D;AAQA,SAAS,qBAAsB,MAAM;AACnC,QAAM,MAAM,IAAI,KAAK,mBAAmB,eAAe,MAAM,EAAE,SAAS,OAAM,CAAE;AAChF,SAAO,sBAAsB,IAAI,cAAc,MAAM,KAAK,EAAE,CAAC,EAAE,OAAO,eAAe,IAAI;AAC3F;AA8BO,SAAS,aAAc,MAAM;AAClC,MAAI,QAAQ,IAAI,GAAG;AACjB,WAAO,qBAAqB,CAAC;AAAA,EACjC,WAAa,YAAY,IAAI,GAAG;AAC5B,WAAO,qBAAqB,EAAE;AAAA,EAClC,WAAa,WAAW,IAAI,GAAG;AAC3B,WAAO,YAAY,MAAM,MAAM;AAAA,EACnC,WAAa,WAAW,IAAI,GAAG;AAC3B,WAAO,YAAY,MAAM,cAAc;AAAA,EAC3C,OAAS;AACL,WAAO,YAAY,MAAM,WAAW;AAAA,EACrC;AACH;"}
|
package/dist/common/emoji.cjs
CHANGED
|
@@ -1,43 +1,166 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
require("@dialpad/dialtone-emojis");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
3
|
+
const regexCombinedEmojis = require("regex-combined-emojis");
|
|
4
|
+
const dialtoneEmojis = require("@dialpad/dialtone-emojis");
|
|
5
|
+
const emojiRegex = new RegExp(regexCombinedEmojis.emojiPattern, "g");
|
|
6
|
+
const emojiVersion = "8.0";
|
|
7
|
+
const defaultEmojiAssetUrl = "https://cdn.jsdelivr.net/joypixels/assets/" + emojiVersion + "/png/unicode/32/";
|
|
8
|
+
exports.customEmojiAssetUrl = null;
|
|
9
|
+
exports.emojiImageUrlSmall = defaultEmojiAssetUrl;
|
|
10
|
+
exports.emojiFileExtensionSmall = ".png";
|
|
11
|
+
exports.emojiImageUrlLarge = defaultEmojiAssetUrl;
|
|
12
|
+
exports.emojiFileExtensionLarge = ".png";
|
|
13
|
+
const emojiJson = dialtoneEmojis.emojisIndexed;
|
|
14
|
+
const emojiShortCodeRegex = new RegExp("(^| |(?<=:))(:\\w+:)", "g");
|
|
15
|
+
function getEmojiData() {
|
|
16
|
+
return emojiJson;
|
|
17
|
+
}
|
|
18
|
+
function setEmojiAssetUrlSmall(url, fileExtension = ".png") {
|
|
19
|
+
if (!url.endsWith("/")) {
|
|
20
|
+
url = url + "/";
|
|
21
|
+
}
|
|
22
|
+
exports.emojiImageUrlSmall = url;
|
|
23
|
+
exports.emojiFileExtensionSmall = fileExtension;
|
|
24
|
+
}
|
|
25
|
+
function setEmojiAssetUrlLarge(url, fileExtension = ".svg") {
|
|
26
|
+
if (!url.endsWith("/")) {
|
|
27
|
+
url = url + "/";
|
|
28
|
+
}
|
|
29
|
+
exports.emojiImageUrlLarge = url;
|
|
30
|
+
exports.emojiFileExtensionLarge = fileExtension;
|
|
31
|
+
}
|
|
32
|
+
function setCustomEmojiUrl(url) {
|
|
33
|
+
exports.customEmojiAssetUrl = url;
|
|
34
|
+
}
|
|
35
|
+
function setCustomEmojiJson(json) {
|
|
36
|
+
validateCustomEmojiJson(json);
|
|
37
|
+
}
|
|
38
|
+
function validateCustomEmojiJson(json) {
|
|
39
|
+
const customEmojiProps = ["extension", "custom"];
|
|
40
|
+
const customEmojiRequiredProps = [
|
|
41
|
+
"name",
|
|
42
|
+
"category",
|
|
43
|
+
"shortname",
|
|
44
|
+
"extension",
|
|
45
|
+
"custom"
|
|
46
|
+
];
|
|
47
|
+
const _updateNativeEmojiData = (emojiData, propName, propValue) => {
|
|
48
|
+
if (emojiData[propName] === void 0) {
|
|
49
|
+
if (!customEmojiProps.includes(propName)) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
emojiData[propName] = propValue;
|
|
53
|
+
} else {
|
|
54
|
+
if (Array.isArray(emojiData[propName])) {
|
|
55
|
+
emojiData[propName] = emojiData[propName].concat(propValue);
|
|
56
|
+
} else {
|
|
57
|
+
emojiData[propName] = propValue;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
Object.entries(json).forEach((item) => {
|
|
62
|
+
const [customEmojiKey, customEmojiValue] = item;
|
|
63
|
+
if (customEmojiKey in emojiJson) {
|
|
64
|
+
const emojiData = emojiJson[customEmojiKey];
|
|
65
|
+
for (const customEmojiPropertyName in customEmojiValue) {
|
|
66
|
+
const customEmojiPropertyValue = customEmojiValue[customEmojiPropertyName];
|
|
67
|
+
_updateNativeEmojiData(emojiData, customEmojiPropertyName, customEmojiPropertyValue);
|
|
68
|
+
}
|
|
69
|
+
} else {
|
|
70
|
+
const _validateRequiredProps = () => customEmojiRequiredProps.every((val) => {
|
|
71
|
+
return customEmojiValue[val] !== void 0;
|
|
72
|
+
});
|
|
73
|
+
if (_validateRequiredProps()) {
|
|
74
|
+
emojiJson[customEmojiKey] = customEmojiValue;
|
|
75
|
+
} else {
|
|
76
|
+
console.error(
|
|
77
|
+
"The following custom emoji doesn't contain the required properties:",
|
|
78
|
+
customEmojiValue
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function shortcodeToEmojiData(shortcode) {
|
|
85
|
+
function f(o, key) {
|
|
86
|
+
if (!o || typeof o !== "object") {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
if ("shortname" in o) {
|
|
90
|
+
if (o.shortname === shortcode || o.shortname_alternates.includes(shortcode)) {
|
|
91
|
+
o.key = key;
|
|
92
|
+
reference = o;
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
Object.keys(o).some(function(k) {
|
|
97
|
+
return f(o[k], k);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
let reference;
|
|
101
|
+
f(getEmojiData(), null);
|
|
102
|
+
return reference;
|
|
103
|
+
}
|
|
104
|
+
function unicodeToString(emoji) {
|
|
105
|
+
let key = "";
|
|
106
|
+
for (const codePoint of emoji) {
|
|
107
|
+
const codepoint = codePoint.codePointAt(0).toString(16).padStart(4, "0");
|
|
108
|
+
if (["200d", "fe0f"].includes(codepoint)) continue;
|
|
109
|
+
if (key !== "") {
|
|
110
|
+
key = key + "-";
|
|
111
|
+
}
|
|
112
|
+
key = key + codepoint;
|
|
113
|
+
}
|
|
114
|
+
return key;
|
|
115
|
+
}
|
|
116
|
+
function stringToUnicode(str) {
|
|
117
|
+
const uChars = str.split("-");
|
|
118
|
+
let result = "";
|
|
119
|
+
uChars.forEach((uChar) => {
|
|
120
|
+
result = result + String.fromCodePoint(parseInt(uChar, 16));
|
|
121
|
+
});
|
|
122
|
+
return result;
|
|
123
|
+
}
|
|
124
|
+
function codeToEmojiData(code) {
|
|
125
|
+
code = code == null ? void 0 : code.trim();
|
|
126
|
+
if (code.startsWith(":") && code.endsWith(":")) {
|
|
127
|
+
return shortcodeToEmojiData(code);
|
|
128
|
+
} else {
|
|
129
|
+
const unicodeString = unicodeToString(code);
|
|
130
|
+
const result = emojiJson[unicodeString];
|
|
131
|
+
if (result) result.key = unicodeString;
|
|
132
|
+
return result;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function findShortCodes(textContent) {
|
|
136
|
+
const shortcodes = (textContent.match(emojiShortCodeRegex) || []).map((code) => code.trim());
|
|
137
|
+
return filterValidShortCodes(shortcodes);
|
|
138
|
+
}
|
|
139
|
+
function filterValidShortCodes(shortcodes) {
|
|
140
|
+
const filtered = shortcodes ? shortcodes.filter((code) => shortcodeToEmojiData(code)) : [];
|
|
141
|
+
return new Set(filtered);
|
|
142
|
+
}
|
|
143
|
+
function findEmojis(textContent) {
|
|
144
|
+
const matches = [...textContent.matchAll(emojiRegex)];
|
|
145
|
+
const emojis = matches.length ? matches.map((match) => match[0]) : [];
|
|
146
|
+
return new Set(emojis);
|
|
147
|
+
}
|
|
148
|
+
exports.codeToEmojiData = codeToEmojiData;
|
|
149
|
+
exports.defaultEmojiAssetUrl = defaultEmojiAssetUrl;
|
|
150
|
+
exports.emojiJson = emojiJson;
|
|
151
|
+
exports.emojiRegex = emojiRegex;
|
|
152
|
+
exports.emojiShortCodeRegex = emojiShortCodeRegex;
|
|
153
|
+
exports.emojiVersion = emojiVersion;
|
|
154
|
+
exports.filterValidShortCodes = filterValidShortCodes;
|
|
155
|
+
exports.findEmojis = findEmojis;
|
|
156
|
+
exports.findShortCodes = findShortCodes;
|
|
157
|
+
exports.getEmojiData = getEmojiData;
|
|
158
|
+
exports.setCustomEmojiJson = setCustomEmojiJson;
|
|
159
|
+
exports.setCustomEmojiUrl = setCustomEmojiUrl;
|
|
160
|
+
exports.setEmojiAssetUrlLarge = setEmojiAssetUrlLarge;
|
|
161
|
+
exports.setEmojiAssetUrlSmall = setEmojiAssetUrlSmall;
|
|
162
|
+
exports.shortcodeToEmojiData = shortcodeToEmojiData;
|
|
163
|
+
exports.stringToUnicode = stringToUnicode;
|
|
164
|
+
exports.unicodeToString = unicodeToString;
|
|
165
|
+
exports.validateCustomEmojiJson = validateCustomEmojiJson;
|
|
43
166
|
//# sourceMappingURL=emoji.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji.cjs","sources":["../../common/emoji/index.js"],"sourcesContent":["import { emojiPattern } from 'regex-combined-emojis';\nimport { emojisIndexed } from '@dialpad/dialtone-emojis';\n\nexport const emojiRegex = new RegExp(emojiPattern, 'g');\nexport const emojiVersion = '8.0';\nexport const defaultEmojiAssetUrl = 'https://cdn.jsdelivr.net/joypixels/assets/' + emojiVersion + '/png/unicode/32/';\nexport let customEmojiAssetUrl = null;\n\n// Used for emoji 16px and smaller\nexport let emojiImageUrlSmall = defaultEmojiAssetUrl;\nexport let emojiFileExtensionSmall = '.png';\n\n// Used for emoji larger than 16px\nexport let emojiImageUrlLarge = defaultEmojiAssetUrl;\nexport let emojiFileExtensionLarge = '.png';\n\nexport const emojiJson = emojisIndexed;\n\nexport const emojiShortCodeRegex = /(^| |(?<=:))(:\\w+:)/g;\n\nexport function getEmojiData () {\n return emojiJson;\n}\n\nexport function setEmojiAssetUrlSmall (url, fileExtension = '.png') {\n if (!url.endsWith('/')) {\n url = url + '/';\n }\n emojiImageUrlSmall = url;\n emojiFileExtensionSmall = fileExtension;\n}\n\nexport function setEmojiAssetUrlLarge (url, fileExtension = '.svg') {\n if (!url.endsWith('/')) {\n url = url + '/';\n }\n emojiImageUrlLarge = url;\n emojiFileExtensionLarge = fileExtension;\n}\n\nexport function setCustomEmojiUrl (url) {\n customEmojiAssetUrl = url;\n}\n\nexport function setCustomEmojiJson (json) {\n validateCustomEmojiJson(json);\n}\n\n/**\n * Validate custom emoji json\n */\nexport function validateCustomEmojiJson (json) {\n const customEmojiProps = ['extension', 'custom'];\n const customEmojiRequiredProps = [\n 'name',\n 'category',\n 'shortname',\n 'extension',\n 'custom',\n ];\n\n /**\n * Update single emoji properties.\n * If the property exists in emojiData, it'll add the values if the property is an array, otherwise will overwrite.\n * If not exists, will add the property to the emojiData object.\n */\n const _updateNativeEmojiData = (emojiData, propName, propValue) => {\n if (emojiData[propName] === undefined) {\n if (!customEmojiProps.includes(propName)) {\n return;\n }\n\n // new property to add\n emojiData[propName] = propValue;\n } else {\n if (Array.isArray(emojiData[propName])) {\n emojiData[propName] = emojiData[propName].concat(propValue);\n } else {\n emojiData[propName] = propValue;\n }\n }\n };\n\n Object.entries(json).forEach((item) => {\n const [customEmojiKey, customEmojiValue] = item;\n\n if (customEmojiKey in emojiJson) {\n // custom emoji exists in emoji json which means to update some data in the native emoji\n const emojiData = emojiJson[customEmojiKey];\n\n for (const customEmojiPropertyName in customEmojiValue) {\n const customEmojiPropertyValue = customEmojiValue[customEmojiPropertyName];\n\n _updateNativeEmojiData(emojiData, customEmojiPropertyName, customEmojiPropertyValue);\n }\n } else {\n // new custom emoji\n const _validateRequiredProps = () =>\n customEmojiRequiredProps.every((val) => {\n return customEmojiValue[val] !== undefined;\n });\n\n if (_validateRequiredProps()) {\n emojiJson[customEmojiKey] = customEmojiValue;\n } else {\n console.error(\n 'The following custom emoji doesn\\'t contain the required properties:',\n customEmojiValue,\n );\n }\n }\n });\n}\n\n// recursively searches the emoji data object containing data for all emojis\n// and returns the object with the specified shortcode.\nexport function shortcodeToEmojiData (shortcode) {\n // eslint-disable-next-line complexity\n function f (o, key) {\n if (!o || typeof o !== 'object') {\n return;\n }\n if ('shortname' in o) {\n if (o.shortname === shortcode || o.shortname_alternates.includes(shortcode)) {\n o.key = key;\n reference = o;\n return true;\n }\n }\n Object.keys(o).some(function (k) {\n return f(o[k], k);\n });\n }\n\n let reference;\n f(getEmojiData(), null);\n return reference;\n}\n\n// Takes in an emoji unicode character(s) and converts it to an emoji string in the format the emoji data object expects\n// as a key. There can be multiple unicode characters in an emoji to denote the emoji itself, skin tone, gender\n// and such. Note that this function does NOT return variation selectors (fe0f) or zero width joiners (200d), as these\n// are not included as part of the key in the emoji.json.\n//\n// Example:\n// return value for smile emoji (no skin tone): 1f600\n// return value for left facing fist (light skin tone): 1f91b-1f3fb\nexport function unicodeToString (emoji) {\n let key = '';\n for (const codePoint of emoji) {\n const codepoint = codePoint.codePointAt(0).toString(16).padStart(4, '0');\n\n // skip 200d and fe0f as these are not included in emoji_strategy.json keys\n if (['200d', 'fe0f'].includes(codepoint)) continue;\n if (key !== '') { key = key + '-'; }\n key = key + codepoint;\n }\n return key;\n}\n\n// Takes in unicode in string form ex: '1f91b-1f3fb' and converts it to an actual unicode character.\nexport function stringToUnicode (str) {\n const uChars = str.split('-');\n let result = '';\n uChars.forEach((uChar) => {\n result = result + String.fromCodePoint(parseInt(uChar, 16));\n });\n return result;\n}\n\n// Takes in a code (which could be unicode or shortcode) and returns the emoji data for it.\nexport function codeToEmojiData (code) {\n code = code?.trim();\n if (code.startsWith(':') && code.endsWith(':')) {\n return shortcodeToEmojiData(code);\n } else {\n const unicodeString = unicodeToString(code);\n const result = emojiJson[unicodeString];\n if (result) result.key = unicodeString;\n return result;\n }\n}\n\n// Finds every shortcode in slot text\n// filters only the existing codes in emojiJson\n// removes duplicates.\n// @returns {string[]}\nexport function findShortCodes (textContent) {\n const shortcodes = (\n textContent.match(emojiShortCodeRegex) || []\n ).map(code => code.trim());\n return filterValidShortCodes(shortcodes);\n}\n\nexport function filterValidShortCodes (shortcodes) {\n const filtered = shortcodes ? shortcodes.filter(code => shortcodeToEmojiData(code)) : [];\n return new Set(filtered);\n}\n\n// Finds every emoji in slot text\n// removes duplicates\n// @returns {string[]}\nexport function findEmojis (textContent) {\n const matches = [...textContent.matchAll(emojiRegex)];\n const emojis = matches.length ? matches.map(match => match[0]) : [];\n return new Set(emojis);\n}\n"],"names":["emojiPattern","customEmojiAssetUrl","emojiImageUrlSmall","emojiFileExtensionSmall","emojiImageUrlLarge","emojiFileExtensionLarge","emojisIndexed"],"mappings":"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"}
|
package/dist/common/emoji.js
CHANGED
|
@@ -1,5 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "@dialpad/dialtone-emojis";
|
|
1
|
+
import { emojiPattern } from "regex-combined-emojis";
|
|
2
|
+
import { emojisIndexed } from "@dialpad/dialtone-emojis";
|
|
3
|
+
const emojiRegex = new RegExp(emojiPattern, "g");
|
|
4
|
+
const emojiVersion = "8.0";
|
|
5
|
+
const defaultEmojiAssetUrl = "https://cdn.jsdelivr.net/joypixels/assets/" + emojiVersion + "/png/unicode/32/";
|
|
6
|
+
let customEmojiAssetUrl = null;
|
|
7
|
+
let emojiImageUrlSmall = defaultEmojiAssetUrl;
|
|
8
|
+
let emojiFileExtensionSmall = ".png";
|
|
9
|
+
let emojiImageUrlLarge = defaultEmojiAssetUrl;
|
|
10
|
+
let emojiFileExtensionLarge = ".png";
|
|
11
|
+
const emojiJson = emojisIndexed;
|
|
12
|
+
const emojiShortCodeRegex = new RegExp("(^| |(?<=:))(:\\w+:)", "g");
|
|
13
|
+
function getEmojiData() {
|
|
14
|
+
return emojiJson;
|
|
15
|
+
}
|
|
16
|
+
function setEmojiAssetUrlSmall(url, fileExtension = ".png") {
|
|
17
|
+
if (!url.endsWith("/")) {
|
|
18
|
+
url = url + "/";
|
|
19
|
+
}
|
|
20
|
+
emojiImageUrlSmall = url;
|
|
21
|
+
emojiFileExtensionSmall = fileExtension;
|
|
22
|
+
}
|
|
23
|
+
function setEmojiAssetUrlLarge(url, fileExtension = ".svg") {
|
|
24
|
+
if (!url.endsWith("/")) {
|
|
25
|
+
url = url + "/";
|
|
26
|
+
}
|
|
27
|
+
emojiImageUrlLarge = url;
|
|
28
|
+
emojiFileExtensionLarge = fileExtension;
|
|
29
|
+
}
|
|
30
|
+
function setCustomEmojiUrl(url) {
|
|
31
|
+
customEmojiAssetUrl = url;
|
|
32
|
+
}
|
|
33
|
+
function setCustomEmojiJson(json) {
|
|
34
|
+
validateCustomEmojiJson(json);
|
|
35
|
+
}
|
|
36
|
+
function validateCustomEmojiJson(json) {
|
|
37
|
+
const customEmojiProps = ["extension", "custom"];
|
|
38
|
+
const customEmojiRequiredProps = [
|
|
39
|
+
"name",
|
|
40
|
+
"category",
|
|
41
|
+
"shortname",
|
|
42
|
+
"extension",
|
|
43
|
+
"custom"
|
|
44
|
+
];
|
|
45
|
+
const _updateNativeEmojiData = (emojiData, propName, propValue) => {
|
|
46
|
+
if (emojiData[propName] === void 0) {
|
|
47
|
+
if (!customEmojiProps.includes(propName)) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
emojiData[propName] = propValue;
|
|
51
|
+
} else {
|
|
52
|
+
if (Array.isArray(emojiData[propName])) {
|
|
53
|
+
emojiData[propName] = emojiData[propName].concat(propValue);
|
|
54
|
+
} else {
|
|
55
|
+
emojiData[propName] = propValue;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
Object.entries(json).forEach((item) => {
|
|
60
|
+
const [customEmojiKey, customEmojiValue] = item;
|
|
61
|
+
if (customEmojiKey in emojiJson) {
|
|
62
|
+
const emojiData = emojiJson[customEmojiKey];
|
|
63
|
+
for (const customEmojiPropertyName in customEmojiValue) {
|
|
64
|
+
const customEmojiPropertyValue = customEmojiValue[customEmojiPropertyName];
|
|
65
|
+
_updateNativeEmojiData(emojiData, customEmojiPropertyName, customEmojiPropertyValue);
|
|
66
|
+
}
|
|
67
|
+
} else {
|
|
68
|
+
const _validateRequiredProps = () => customEmojiRequiredProps.every((val) => {
|
|
69
|
+
return customEmojiValue[val] !== void 0;
|
|
70
|
+
});
|
|
71
|
+
if (_validateRequiredProps()) {
|
|
72
|
+
emojiJson[customEmojiKey] = customEmojiValue;
|
|
73
|
+
} else {
|
|
74
|
+
console.error(
|
|
75
|
+
"The following custom emoji doesn't contain the required properties:",
|
|
76
|
+
customEmojiValue
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function shortcodeToEmojiData(shortcode) {
|
|
83
|
+
function f(o, key) {
|
|
84
|
+
if (!o || typeof o !== "object") {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if ("shortname" in o) {
|
|
88
|
+
if (o.shortname === shortcode || o.shortname_alternates.includes(shortcode)) {
|
|
89
|
+
o.key = key;
|
|
90
|
+
reference = o;
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
Object.keys(o).some(function(k) {
|
|
95
|
+
return f(o[k], k);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
let reference;
|
|
99
|
+
f(getEmojiData(), null);
|
|
100
|
+
return reference;
|
|
101
|
+
}
|
|
102
|
+
function unicodeToString(emoji) {
|
|
103
|
+
let key = "";
|
|
104
|
+
for (const codePoint of emoji) {
|
|
105
|
+
const codepoint = codePoint.codePointAt(0).toString(16).padStart(4, "0");
|
|
106
|
+
if (["200d", "fe0f"].includes(codepoint)) continue;
|
|
107
|
+
if (key !== "") {
|
|
108
|
+
key = key + "-";
|
|
109
|
+
}
|
|
110
|
+
key = key + codepoint;
|
|
111
|
+
}
|
|
112
|
+
return key;
|
|
113
|
+
}
|
|
114
|
+
function stringToUnicode(str) {
|
|
115
|
+
const uChars = str.split("-");
|
|
116
|
+
let result = "";
|
|
117
|
+
uChars.forEach((uChar) => {
|
|
118
|
+
result = result + String.fromCodePoint(parseInt(uChar, 16));
|
|
119
|
+
});
|
|
120
|
+
return result;
|
|
121
|
+
}
|
|
122
|
+
function codeToEmojiData(code) {
|
|
123
|
+
code = code == null ? void 0 : code.trim();
|
|
124
|
+
if (code.startsWith(":") && code.endsWith(":")) {
|
|
125
|
+
return shortcodeToEmojiData(code);
|
|
126
|
+
} else {
|
|
127
|
+
const unicodeString = unicodeToString(code);
|
|
128
|
+
const result = emojiJson[unicodeString];
|
|
129
|
+
if (result) result.key = unicodeString;
|
|
130
|
+
return result;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function findShortCodes(textContent) {
|
|
134
|
+
const shortcodes = (textContent.match(emojiShortCodeRegex) || []).map((code) => code.trim());
|
|
135
|
+
return filterValidShortCodes(shortcodes);
|
|
136
|
+
}
|
|
137
|
+
function filterValidShortCodes(shortcodes) {
|
|
138
|
+
const filtered = shortcodes ? shortcodes.filter((code) => shortcodeToEmojiData(code)) : [];
|
|
139
|
+
return new Set(filtered);
|
|
140
|
+
}
|
|
141
|
+
function findEmojis(textContent) {
|
|
142
|
+
const matches = [...textContent.matchAll(emojiRegex)];
|
|
143
|
+
const emojis = matches.length ? matches.map((match) => match[0]) : [];
|
|
144
|
+
return new Set(emojis);
|
|
145
|
+
}
|
|
3
146
|
export {
|
|
4
147
|
codeToEmojiData,
|
|
5
148
|
customEmojiAssetUrl,
|
package/dist/common/emoji.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
1
|
+
{"version":3,"file":"emoji.js","sources":["../../common/emoji/index.js"],"sourcesContent":["import { emojiPattern } from 'regex-combined-emojis';\nimport { emojisIndexed } from '@dialpad/dialtone-emojis';\n\nexport const emojiRegex = new RegExp(emojiPattern, 'g');\nexport const emojiVersion = '8.0';\nexport const defaultEmojiAssetUrl = 'https://cdn.jsdelivr.net/joypixels/assets/' + emojiVersion + '/png/unicode/32/';\nexport let customEmojiAssetUrl = null;\n\n// Used for emoji 16px and smaller\nexport let emojiImageUrlSmall = defaultEmojiAssetUrl;\nexport let emojiFileExtensionSmall = '.png';\n\n// Used for emoji larger than 16px\nexport let emojiImageUrlLarge = defaultEmojiAssetUrl;\nexport let emojiFileExtensionLarge = '.png';\n\nexport const emojiJson = emojisIndexed;\n\nexport const emojiShortCodeRegex = /(^| |(?<=:))(:\\w+:)/g;\n\nexport function getEmojiData () {\n return emojiJson;\n}\n\nexport function setEmojiAssetUrlSmall (url, fileExtension = '.png') {\n if (!url.endsWith('/')) {\n url = url + '/';\n }\n emojiImageUrlSmall = url;\n emojiFileExtensionSmall = fileExtension;\n}\n\nexport function setEmojiAssetUrlLarge (url, fileExtension = '.svg') {\n if (!url.endsWith('/')) {\n url = url + '/';\n }\n emojiImageUrlLarge = url;\n emojiFileExtensionLarge = fileExtension;\n}\n\nexport function setCustomEmojiUrl (url) {\n customEmojiAssetUrl = url;\n}\n\nexport function setCustomEmojiJson (json) {\n validateCustomEmojiJson(json);\n}\n\n/**\n * Validate custom emoji json\n */\nexport function validateCustomEmojiJson (json) {\n const customEmojiProps = ['extension', 'custom'];\n const customEmojiRequiredProps = [\n 'name',\n 'category',\n 'shortname',\n 'extension',\n 'custom',\n ];\n\n /**\n * Update single emoji properties.\n * If the property exists in emojiData, it'll add the values if the property is an array, otherwise will overwrite.\n * If not exists, will add the property to the emojiData object.\n */\n const _updateNativeEmojiData = (emojiData, propName, propValue) => {\n if (emojiData[propName] === undefined) {\n if (!customEmojiProps.includes(propName)) {\n return;\n }\n\n // new property to add\n emojiData[propName] = propValue;\n } else {\n if (Array.isArray(emojiData[propName])) {\n emojiData[propName] = emojiData[propName].concat(propValue);\n } else {\n emojiData[propName] = propValue;\n }\n }\n };\n\n Object.entries(json).forEach((item) => {\n const [customEmojiKey, customEmojiValue] = item;\n\n if (customEmojiKey in emojiJson) {\n // custom emoji exists in emoji json which means to update some data in the native emoji\n const emojiData = emojiJson[customEmojiKey];\n\n for (const customEmojiPropertyName in customEmojiValue) {\n const customEmojiPropertyValue = customEmojiValue[customEmojiPropertyName];\n\n _updateNativeEmojiData(emojiData, customEmojiPropertyName, customEmojiPropertyValue);\n }\n } else {\n // new custom emoji\n const _validateRequiredProps = () =>\n customEmojiRequiredProps.every((val) => {\n return customEmojiValue[val] !== undefined;\n });\n\n if (_validateRequiredProps()) {\n emojiJson[customEmojiKey] = customEmojiValue;\n } else {\n console.error(\n 'The following custom emoji doesn\\'t contain the required properties:',\n customEmojiValue,\n );\n }\n }\n });\n}\n\n// recursively searches the emoji data object containing data for all emojis\n// and returns the object with the specified shortcode.\nexport function shortcodeToEmojiData (shortcode) {\n // eslint-disable-next-line complexity\n function f (o, key) {\n if (!o || typeof o !== 'object') {\n return;\n }\n if ('shortname' in o) {\n if (o.shortname === shortcode || o.shortname_alternates.includes(shortcode)) {\n o.key = key;\n reference = o;\n return true;\n }\n }\n Object.keys(o).some(function (k) {\n return f(o[k], k);\n });\n }\n\n let reference;\n f(getEmojiData(), null);\n return reference;\n}\n\n// Takes in an emoji unicode character(s) and converts it to an emoji string in the format the emoji data object expects\n// as a key. There can be multiple unicode characters in an emoji to denote the emoji itself, skin tone, gender\n// and such. Note that this function does NOT return variation selectors (fe0f) or zero width joiners (200d), as these\n// are not included as part of the key in the emoji.json.\n//\n// Example:\n// return value for smile emoji (no skin tone): 1f600\n// return value for left facing fist (light skin tone): 1f91b-1f3fb\nexport function unicodeToString (emoji) {\n let key = '';\n for (const codePoint of emoji) {\n const codepoint = codePoint.codePointAt(0).toString(16).padStart(4, '0');\n\n // skip 200d and fe0f as these are not included in emoji_strategy.json keys\n if (['200d', 'fe0f'].includes(codepoint)) continue;\n if (key !== '') { key = key + '-'; }\n key = key + codepoint;\n }\n return key;\n}\n\n// Takes in unicode in string form ex: '1f91b-1f3fb' and converts it to an actual unicode character.\nexport function stringToUnicode (str) {\n const uChars = str.split('-');\n let result = '';\n uChars.forEach((uChar) => {\n result = result + String.fromCodePoint(parseInt(uChar, 16));\n });\n return result;\n}\n\n// Takes in a code (which could be unicode or shortcode) and returns the emoji data for it.\nexport function codeToEmojiData (code) {\n code = code?.trim();\n if (code.startsWith(':') && code.endsWith(':')) {\n return shortcodeToEmojiData(code);\n } else {\n const unicodeString = unicodeToString(code);\n const result = emojiJson[unicodeString];\n if (result) result.key = unicodeString;\n return result;\n }\n}\n\n// Finds every shortcode in slot text\n// filters only the existing codes in emojiJson\n// removes duplicates.\n// @returns {string[]}\nexport function findShortCodes (textContent) {\n const shortcodes = (\n textContent.match(emojiShortCodeRegex) || []\n ).map(code => code.trim());\n return filterValidShortCodes(shortcodes);\n}\n\nexport function filterValidShortCodes (shortcodes) {\n const filtered = shortcodes ? shortcodes.filter(code => shortcodeToEmojiData(code)) : [];\n return new Set(filtered);\n}\n\n// Finds every emoji in slot text\n// removes duplicates\n// @returns {string[]}\nexport function findEmojis (textContent) {\n const matches = [...textContent.matchAll(emojiRegex)];\n const emojis = matches.length ? matches.map(match => match[0]) : [];\n return new Set(emojis);\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Dom = {
|
|
3
|
+
methods: {
|
|
4
|
+
/**
|
|
5
|
+
* Scroll an element into view if it is not fully visible in its nearest scrollable ancestor.
|
|
6
|
+
* @param {Element} ref
|
|
7
|
+
*/
|
|
8
|
+
scrollElementIntoViewIfNeeded(ref, opt_center, opt_behavior, opt_parent) {
|
|
9
|
+
if (ref.scrollIntoViewIfNeeded) {
|
|
10
|
+
this.scrollIntoViewIfNeeded(ref, opt_center, opt_behavior, opt_parent);
|
|
11
|
+
} else {
|
|
12
|
+
this.scrollIntoView(ref, "bottom", false, opt_behavior, opt_parent);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
/**
|
|
16
|
+
* Scroll an element to the top or bottom of its scroll ancestor.
|
|
17
|
+
* @param {Element} ref
|
|
18
|
+
*/
|
|
19
|
+
scrollElementIntoView(ref, opt_scrollToTop, opt_behavior, opt_parent) {
|
|
20
|
+
if (opt_scrollToTop === "center") {
|
|
21
|
+
this.scrollIntoView(ref, "center", false, opt_behavior, opt_parent);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
if (opt_scrollToTop === false) {
|
|
25
|
+
this.scrollIntoView(ref, "bottom", false, opt_behavior, opt_parent);
|
|
26
|
+
} else {
|
|
27
|
+
this.scrollIntoView(ref, "top", false, opt_behavior, opt_parent);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
scrollIntoViewIfNeeded(ref, opt_center, opt_behavior, opt_parent) {
|
|
31
|
+
const dir = opt_center ? "center" : void 0;
|
|
32
|
+
this.scrollIntoView(ref, dir, true, opt_behavior, opt_parent);
|
|
33
|
+
},
|
|
34
|
+
scrollIntoView(ref, opt_dir, opt_ifNeeded, opt_behavior, opt_parent) {
|
|
35
|
+
if (!ref || !ref.parentElement) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const offsetTop = ref.offsetTop;
|
|
39
|
+
const refParent = opt_parent || ref.parentElement;
|
|
40
|
+
const scrollBounds = this._getScrollBounds(refParent);
|
|
41
|
+
const parentHeight = scrollBounds.bottom - scrollBounds.top;
|
|
42
|
+
const elHeight = this._getElementHeight(ref);
|
|
43
|
+
const offsetBottom = offsetTop + elHeight;
|
|
44
|
+
let scrollTop = -1;
|
|
45
|
+
switch (opt_dir) {
|
|
46
|
+
case "top":
|
|
47
|
+
scrollTop = offsetTop;
|
|
48
|
+
break;
|
|
49
|
+
case "center":
|
|
50
|
+
scrollTop = offsetTop + (elHeight - parentHeight) / 2;
|
|
51
|
+
break;
|
|
52
|
+
case "bottom":
|
|
53
|
+
scrollTop = scrollTop = offsetBottom - parentHeight;
|
|
54
|
+
break;
|
|
55
|
+
default:
|
|
56
|
+
if (offsetTop - scrollBounds.top <= parentHeight / 2) {
|
|
57
|
+
scrollTop = offsetTop;
|
|
58
|
+
} else {
|
|
59
|
+
scrollTop = offsetBottom - parentHeight;
|
|
60
|
+
}
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
this._setScrollTop(refParent, scrollTop, scrollBounds, offsetTop, offsetBottom, opt_ifNeeded, opt_behavior);
|
|
64
|
+
},
|
|
65
|
+
_setScrollTop(el, scrollTop, bounds, offsetTop, offsetBottom, opt_isNeeded, opt_behavior) {
|
|
66
|
+
bounds = bounds || this._getScrollBounds(el);
|
|
67
|
+
const parentHeight = bounds.bottom - bounds.top;
|
|
68
|
+
if (opt_isNeeded && this._inScrollBounds(offsetTop, offsetBottom, bounds)) {
|
|
69
|
+
if (offsetTop < bounds.top) {
|
|
70
|
+
scrollTop = offsetTop;
|
|
71
|
+
} else if (offsetBottom > bounds.bottom) {
|
|
72
|
+
scrollTop = offsetBottom - parentHeight;
|
|
73
|
+
} else {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (opt_behavior) {
|
|
78
|
+
el.scrollTo({ top: scrollTop, behavior: opt_behavior });
|
|
79
|
+
} else {
|
|
80
|
+
el.scrollTop = scrollTop;
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
_getElementHeight(el) {
|
|
84
|
+
return el.getBoundingClientRect().height;
|
|
85
|
+
},
|
|
86
|
+
_getScrollBounds(el) {
|
|
87
|
+
const height = this._getElementHeight(el);
|
|
88
|
+
const scrollTop = el.scrollTop;
|
|
89
|
+
return {
|
|
90
|
+
top: scrollTop,
|
|
91
|
+
bottom: scrollTop + height
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
_inScrollBounds(top, bottom, bounds) {
|
|
95
|
+
const height = bottom - top;
|
|
96
|
+
return bottom <= bounds.bottom + 3 * height / 4 && top >= bounds.top - height / 4;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
module.exports = Dom;
|
|
101
|
+
//# sourceMappingURL=dom.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dom.cjs","sources":["../../../common/mixins/dom.js"],"sourcesContent":["export default {\n methods: {\n /**\n * Scroll an element into view if it is not fully visible in its nearest scrollable ancestor.\n * @param {Element} ref\n */\n scrollElementIntoViewIfNeeded (ref, opt_center, opt_behavior, opt_parent) {\n if (ref.scrollIntoViewIfNeeded) {\n this.scrollIntoViewIfNeeded(ref, opt_center, opt_behavior, opt_parent);\n } else {\n this.scrollIntoView(ref, 'bottom', false, opt_behavior, opt_parent);\n }\n },\n\n /**\n * Scroll an element to the top or bottom of its scroll ancestor.\n * @param {Element} ref\n */\n scrollElementIntoView (ref, opt_scrollToTop, opt_behavior, opt_parent) {\n if (opt_scrollToTop === 'center') {\n this.scrollIntoView(ref, 'center', false, opt_behavior, opt_parent);\n return;\n }\n\n if (opt_scrollToTop === false) {\n this.scrollIntoView(ref, 'bottom', false, opt_behavior, opt_parent);\n } else {\n this.scrollIntoView(ref, 'top', false, opt_behavior, opt_parent);\n }\n },\n\n scrollIntoViewIfNeeded (ref, opt_center, opt_behavior, opt_parent) {\n const dir = opt_center ? 'center' : undefined;\n this.scrollIntoView(ref, dir, true, opt_behavior, opt_parent);\n },\n\n scrollIntoView (ref, opt_dir, opt_ifNeeded, opt_behavior, opt_parent) {\n if (!ref || !ref.parentElement) {\n return;\n }\n const offsetTop = ref.offsetTop;\n const refParent = opt_parent || ref.parentElement;\n const scrollBounds = this._getScrollBounds(refParent);\n const parentHeight = scrollBounds.bottom - scrollBounds.top;\n const elHeight = this._getElementHeight(ref);\n const offsetBottom = offsetTop + elHeight;\n let scrollTop = -1;\n switch (opt_dir) {\n case 'top':\n scrollTop = offsetTop;\n break;\n case 'center':\n scrollTop = offsetTop + (elHeight - parentHeight) / 2;\n break;\n case 'bottom':\n scrollTop = scrollTop = offsetBottom - parentHeight;\n break;\n default:\n // Go to the closest edge if needed and no direction is provided.\n if (offsetTop - scrollBounds.top <= (parentHeight / 2)) {\n // Lock it to the top edge.\n scrollTop = offsetTop;\n } else {\n scrollTop = offsetBottom - parentHeight;\n }\n break;\n }\n this._setScrollTop(refParent, scrollTop, scrollBounds, offsetTop, offsetBottom, opt_ifNeeded, opt_behavior);\n },\n\n _setScrollTop (el, scrollTop, bounds, offsetTop, offsetBottom, opt_isNeeded, opt_behavior) {\n bounds = bounds || this._getScrollBounds(el);\n const parentHeight = bounds.bottom - bounds.top;\n if (opt_isNeeded && this._inScrollBounds(offsetTop, offsetBottom, bounds)) {\n // Then lock to the top or bottom if it's hanging off the edge.\n if (offsetTop < bounds.top) {\n // Snap it to the top.\n scrollTop = offsetTop;\n } else if (offsetBottom > bounds.bottom) {\n scrollTop = offsetBottom - parentHeight;\n } else {\n return;\n }\n }\n\n if (opt_behavior) {\n el.scrollTo({ top: scrollTop, behavior: opt_behavior });\n } else {\n el.scrollTop = scrollTop;\n }\n },\n\n _getElementHeight (el) {\n return el.getBoundingClientRect().height;\n },\n\n _getScrollBounds (el) {\n const height = this._getElementHeight(el);\n const scrollTop = el.scrollTop;\n return {\n top: scrollTop,\n bottom: scrollTop + height,\n };\n },\n\n _inScrollBounds (top, bottom, bounds) {\n // Since we read from top to bottom, we want more than 3/4 to be visible at the top\n // (bc you're looking at the bottom half) or a quarter visible at the bottom (bc you\n // can read the beginning of it)\n\n const height = bottom - top;\n return (bottom <= bounds.bottom + (3 * height / 4)) && (top >= bounds.top - (height / 4));\n },\n },\n};\n"],"names":[],"mappings":";AAAA,MAAe,MAAA;AAAA,EACb,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,IAKP,8BAA+B,KAAK,YAAY,cAAc,YAAY;AACxE,UAAI,IAAI,wBAAwB;AAC9B,aAAK,uBAAuB,KAAK,YAAY,cAAc,UAAU;AAAA,MAC7E,OAAa;AACL,aAAK,eAAe,KAAK,UAAU,OAAO,cAAc,UAAU;AAAA,MACnE;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,sBAAuB,KAAK,iBAAiB,cAAc,YAAY;AACrE,UAAI,oBAAoB,UAAU;AAChC,aAAK,eAAe,KAAK,UAAU,OAAO,cAAc,UAAU;AAClE;AAAA,MACD;AAED,UAAI,oBAAoB,OAAO;AAC7B,aAAK,eAAe,KAAK,UAAU,OAAO,cAAc,UAAU;AAAA,MAC1E,OAAa;AACL,aAAK,eAAe,KAAK,OAAO,OAAO,cAAc,UAAU;AAAA,MAChE;AAAA,IACF;AAAA,IAED,uBAAwB,KAAK,YAAY,cAAc,YAAY;AACjE,YAAM,MAAM,aAAa,WAAW;AACpC,WAAK,eAAe,KAAK,KAAK,MAAM,cAAc,UAAU;AAAA,IAC7D;AAAA,IAED,eAAgB,KAAK,SAAS,cAAc,cAAc,YAAY;AACpE,UAAI,CAAC,OAAO,CAAC,IAAI,eAAe;AAC9B;AAAA,MACD;AACD,YAAM,YAAY,IAAI;AACtB,YAAM,YAAY,cAAc,IAAI;AACpC,YAAM,eAAe,KAAK,iBAAiB,SAAS;AACpD,YAAM,eAAe,aAAa,SAAS,aAAa;AACxD,YAAM,WAAW,KAAK,kBAAkB,GAAG;AAC3C,YAAM,eAAe,YAAY;AACjC,UAAI,YAAY;AAChB,cAAQ,SAAO;AAAA,QACb,KAAK;AACH,sBAAY;AACZ;AAAA,QACF,KAAK;AACH,sBAAY,aAAa,WAAW,gBAAgB;AACpD;AAAA,QACF,KAAK;AACH,sBAAY,YAAY,eAAe;AACvC;AAAA,QACF;AAEE,cAAI,YAAY,aAAa,OAAQ,eAAe,GAAI;AAEtD,wBAAY;AAAA,UACxB,OAAiB;AACL,wBAAY,eAAe;AAAA,UAC5B;AACD;AAAA,MACH;AACD,WAAK,cAAc,WAAW,WAAW,cAAc,WAAW,cAAc,cAAc,YAAY;AAAA,IAC3G;AAAA,IAED,cAAe,IAAI,WAAW,QAAQ,WAAW,cAAc,cAAc,cAAc;AACzF,eAAS,UAAU,KAAK,iBAAiB,EAAE;AAC3C,YAAM,eAAe,OAAO,SAAS,OAAO;AAC5C,UAAI,gBAAgB,KAAK,gBAAgB,WAAW,cAAc,MAAM,GAAG;AAEzE,YAAI,YAAY,OAAO,KAAK;AAE1B,sBAAY;AAAA,QACtB,WAAmB,eAAe,OAAO,QAAQ;AACvC,sBAAY,eAAe;AAAA,QACrC,OAAe;AACL;AAAA,QACD;AAAA,MACF;AAED,UAAI,cAAc;AAChB,WAAG,SAAS,EAAE,KAAK,WAAW,UAAU,aAAY,CAAE;AAAA,MAC9D,OAAa;AACL,WAAG,YAAY;AAAA,MAChB;AAAA,IACF;AAAA,IAED,kBAAmB,IAAI;AACrB,aAAO,GAAG,sBAAuB,EAAC;AAAA,IACnC;AAAA,IAED,iBAAkB,IAAI;AACpB,YAAM,SAAS,KAAK,kBAAkB,EAAE;AACxC,YAAM,YAAY,GAAG;AACrB,aAAO;AAAA,QACL,KAAK;AAAA,QACL,QAAQ,YAAY;AAAA,MAC5B;AAAA,IACK;AAAA,IAED,gBAAiB,KAAK,QAAQ,QAAQ;AAKpC,YAAM,SAAS,SAAS;AACxB,aAAQ,UAAU,OAAO,SAAU,IAAI,SAAS,KAAQ,OAAO,OAAO,MAAO,SAAS;AAAA,IACvF;AAAA,EACF;AACH;;"}
|