@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,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_emoji = require("../../common/emoji.cjs");
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const icon_constants = require("../icon/icon_constants.cjs");
|
|
5
|
+
const emoji = require("../emoji/emoji.vue.cjs");
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
name: "DtEmojiTextWrapper",
|
|
8
|
+
components: {
|
|
9
|
+
DtEmoji: emoji
|
|
10
|
+
},
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* Element type (tag name) to use for the wrapper.
|
|
14
|
+
*/
|
|
15
|
+
elementType: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "div"
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* The icon size to render the emojis at: 100 to 800
|
|
21
|
+
*/
|
|
22
|
+
size: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: "500",
|
|
25
|
+
validator: (t) => Object.keys(icon_constants.ICON_SIZE_MODIFIERS).includes(t)
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
data() {
|
|
29
|
+
return {
|
|
30
|
+
loadingEmojiJson: true
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
async created() {
|
|
34
|
+
this.loadingEmojiJson = false;
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
/**
|
|
38
|
+
* Replaces the valid codes from the text content with a DtEmoji component.
|
|
39
|
+
* @returns {Array<VNode|string>}
|
|
40
|
+
*/
|
|
41
|
+
replaceDtEmojis(replaceList, textContent) {
|
|
42
|
+
if (!replaceList.length) return textContent;
|
|
43
|
+
const regexp = new RegExp(`(${replaceList.join("|")})`, "g");
|
|
44
|
+
const items = textContent.split(regexp);
|
|
45
|
+
return items.filter((item) => item.trim() !== "").map((item) => {
|
|
46
|
+
if (replaceList.includes(item)) {
|
|
47
|
+
return vue.h(emoji, { code: item, size: this.size });
|
|
48
|
+
}
|
|
49
|
+
return vue.h("span", { class: "d-emoji-text-wrapper__text" }, item);
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Recursively search the Vue virtual DOM to find text
|
|
54
|
+
* @param VNode
|
|
55
|
+
* @returns {VNode|*}
|
|
56
|
+
*/
|
|
57
|
+
searchVNodes(VNode) {
|
|
58
|
+
var _a;
|
|
59
|
+
if (typeof VNode === "string") return this.searchCodes(VNode);
|
|
60
|
+
if (typeof VNode.type === "symbol") return this.searchCodes(VNode.children);
|
|
61
|
+
if ((_a = VNode.props) == null ? void 0 : _a.innerHTML) return this.searchVNodes(VNode.props.innerHTML);
|
|
62
|
+
const children = Array.isArray(VNode.children) ? VNode.children : [VNode.children];
|
|
63
|
+
return vue.h(VNode.type, VNode.props, children.map((VNodeChild) => this.searchVNodes(VNodeChild)));
|
|
64
|
+
},
|
|
65
|
+
// TODO: Find a way to crawl vue components
|
|
66
|
+
replaceVueComponentVNodeContent(VNode) {
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Find codes in text.
|
|
70
|
+
* @param textContent string
|
|
71
|
+
* @returns {Array<VNode|string>|string}
|
|
72
|
+
*/
|
|
73
|
+
searchCodes(textContent) {
|
|
74
|
+
const shortcodes = common_emoji.findShortCodes(textContent);
|
|
75
|
+
const emojis = common_emoji.findEmojis(textContent);
|
|
76
|
+
const replaceList = [...shortcodes, ...emojis];
|
|
77
|
+
if (replaceList.length === 0) return textContent;
|
|
78
|
+
return this.replaceDtEmojis(replaceList, textContent);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
render() {
|
|
82
|
+
const defaultSlotContent = this.$slots.default ? this.$slots.default() : [];
|
|
83
|
+
return vue.h(
|
|
84
|
+
this.elementType,
|
|
85
|
+
{
|
|
86
|
+
"data-qa": "emoji-text-wrapper",
|
|
87
|
+
class: "d-emoji-text-wrapper"
|
|
88
|
+
},
|
|
89
|
+
this.loadingEmojiJson ? defaultSlotContent : defaultSlotContent.map((VNode) => this.searchVNodes(VNode))
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const DtEmojiTextWrapper = _sfc_main;
|
|
94
|
+
module.exports = DtEmojiTextWrapper;
|
|
95
|
+
//# sourceMappingURL=emoji_text_wrapper.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji_text_wrapper.vue.cjs","sources":["../../../components/emoji_text_wrapper/emoji_text_wrapper.vue"],"sourcesContent":["<script>\nimport { DtEmoji } from '../emoji';\nimport { findEmojis, findShortCodes } from '@/common/emoji';\nimport { h } from 'vue';\nimport { ICON_SIZE_MODIFIERS } from '@/components/icon/icon_constants';\n\n/**\n * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.\n * @see https://dialtone.dialpad.com/components/emoji_text_wrapper.html\n */\nexport default {\n name: 'DtEmojiTextWrapper',\n\n components: {\n DtEmoji,\n },\n\n props: {\n /**\n * Element type (tag name) to use for the wrapper.\n */\n elementType: {\n type: String,\n default: 'div',\n },\n\n /**\n * The icon size to render the emojis at: 100 to 800\n */\n size: {\n type: String,\n default: '500',\n validator: (t) => Object.keys(ICON_SIZE_MODIFIERS).includes(t),\n },\n },\n\n data () {\n return {\n loadingEmojiJson: true,\n };\n },\n\n async created () {\n this.loadingEmojiJson = false;\n },\n\n methods: {\n /**\n * Replaces the valid codes from the text content with a DtEmoji component.\n * @returns {Array<VNode|string>}\n */\n replaceDtEmojis (replaceList, textContent) {\n if (!replaceList.length) return textContent;\n\n const regexp = new RegExp(`(${replaceList.join('|')})`, 'g');\n const items = textContent.split(regexp);\n\n return items\n .filter(item => item.trim() !== '')\n .map((item) => {\n if (replaceList.includes(item)) {\n return h(DtEmoji, { code: item, size: this.size });\n }\n return h('span', { class: 'd-emoji-text-wrapper__text' }, item);\n });\n },\n\n /**\n * Recursively search the Vue virtual DOM to find text\n * @param VNode\n * @returns {VNode|*}\n */\n searchVNodes (VNode) {\n if (typeof VNode === 'string') return this.searchCodes(VNode);\n if (typeof VNode.type === 'symbol') return this.searchCodes(VNode.children);\n if (VNode.props?.innerHTML) return this.searchVNodes(VNode.props.innerHTML);\n\n const children = Array.isArray(VNode.children) ? VNode.children : [VNode.children];\n return h(VNode.type, VNode.props, children.map(VNodeChild => this.searchVNodes(VNodeChild)));\n },\n\n // TODO: Find a way to crawl vue components\n replaceVueComponentVNodeContent (VNode) {\n //\n },\n\n /**\n * Find codes in text.\n * @param textContent string\n * @returns {Array<VNode|string>|string}\n */\n searchCodes (textContent) {\n const shortcodes = findShortCodes(textContent);\n const emojis = findEmojis(textContent);\n\n const replaceList = [...shortcodes, ...emojis];\n if (replaceList.length === 0) return textContent;\n return this.replaceDtEmojis(replaceList, textContent);\n },\n },\n\n render () {\n const defaultSlotContent = this.$slots.default ? this.$slots.default() : [];\n return h(\n this.elementType,\n {\n 'data-qa': 'emoji-text-wrapper',\n class: 'd-emoji-text-wrapper',\n },\n this.loadingEmojiJson\n ? defaultSlotContent\n : defaultSlotContent.map(VNode => this.searchVNodes(VNode)),\n );\n },\n};\n</script>\n"],"names":["DtEmoji","ICON_SIZE_MODIFIERS","h","findShortCodes","findEmojis"],"mappings":";;;;;AAUA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,SAAAA;AAAAA,EACD;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,aAAa;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,MAAM,OAAO,KAAKC,kCAAmB,EAAE,SAAS,CAAC;AAAA,IAC9D;AAAA,EACF;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL,kBAAkB;AAAA;EAErB;AAAA,EAED,MAAM,UAAW;AACf,SAAK,mBAAmB;AAAA,EACzB;AAAA,EAED,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,IAKP,gBAAiB,aAAa,aAAa;AACzC,UAAI,CAAC,YAAY,OAAQ,QAAO;AAEhC,YAAM,SAAS,IAAI,OAAO,IAAI,YAAY,KAAK,GAAG,CAAC,KAAK,GAAG;AAC3D,YAAM,QAAQ,YAAY,MAAM,MAAM;AAEtC,aAAO,MACJ,OAAO,UAAQ,KAAK,KAAI,MAAO,EAAE,EACjC,IAAI,CAAC,SAAS;AACb,YAAI,YAAY,SAAS,IAAI,GAAG;AAC9B,iBAAOC,IAAC,EAACF,OAAS,EAAE,MAAM,MAAM,MAAM,KAAK,KAAG,CAAG;AAAA,QACnD;AACA,eAAOE,IAAAA,EAAE,QAAQ,EAAE,OAAO,6BAA2B,GAAK,IAAI;AAAA,MAChE,CAAC;AAAA,IACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,aAAc,OAAO;;AACnB,UAAI,OAAO,UAAU,SAAU,QAAO,KAAK,YAAY,KAAK;AAC5D,UAAI,OAAO,MAAM,SAAS,SAAU,QAAO,KAAK,YAAY,MAAM,QAAQ;AAC1E,WAAI,WAAM,UAAN,mBAAa,UAAW,QAAO,KAAK,aAAa,MAAM,MAAM,SAAS;AAE1E,YAAM,WAAW,MAAM,QAAQ,MAAM,QAAQ,IAAI,MAAM,WAAW,CAAC,MAAM,QAAQ;AACjF,aAAOA,IAAC,EAAC,MAAM,MAAM,MAAM,OAAO,SAAS,IAAI,gBAAc,KAAK,aAAa,UAAU,CAAC,CAAC;AAAA,IAC5F;AAAA;AAAA,IAGD,gCAAiC,OAAO;AAAA,IAEvC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,YAAa,aAAa;AACxB,YAAM,aAAaC,4BAAe,WAAW;AAC7C,YAAM,SAASC,wBAAW,WAAW;AAErC,YAAM,cAAc,CAAC,GAAG,YAAY,GAAG,MAAM;AAC7C,UAAI,YAAY,WAAW,EAAG,QAAO;AACrC,aAAO,KAAK,gBAAgB,aAAa,WAAW;AAAA,IACrD;AAAA,EACF;AAAA,EAED,SAAU;AACR,UAAM,qBAAqB,KAAK,OAAO,UAAU,KAAK,OAAO,QAAU,IAAE;AACzE,WAAOF,IAAC;AAAA,MACN,KAAK;AAAA,MACL;AAAA,QACE,WAAW;AAAA,QACX,OAAO;AAAA,MACR;AAAA,MACD,KAAK,mBACD,qBACA,mBAAmB,IAAI,WAAS,KAAK,aAAa,KAAK,CAAC;AAAA;EAE/D;AACH;;;"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { findShortCodes, findEmojis } from "../../common/emoji.js";
|
|
2
|
+
import { h } from "vue";
|
|
3
|
+
import { ICON_SIZE_MODIFIERS } from "../icon/icon_constants.js";
|
|
4
|
+
import DtEmoji from "../emoji/emoji.vue.js";
|
|
5
|
+
const _sfc_main = {
|
|
6
|
+
name: "DtEmojiTextWrapper",
|
|
7
|
+
components: {
|
|
8
|
+
DtEmoji
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* Element type (tag name) to use for the wrapper.
|
|
13
|
+
*/
|
|
14
|
+
elementType: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "div"
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* The icon size to render the emojis at: 100 to 800
|
|
20
|
+
*/
|
|
21
|
+
size: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "500",
|
|
24
|
+
validator: (t) => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
loadingEmojiJson: true
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
async created() {
|
|
33
|
+
this.loadingEmojiJson = false;
|
|
34
|
+
},
|
|
35
|
+
methods: {
|
|
36
|
+
/**
|
|
37
|
+
* Replaces the valid codes from the text content with a DtEmoji component.
|
|
38
|
+
* @returns {Array<VNode|string>}
|
|
39
|
+
*/
|
|
40
|
+
replaceDtEmojis(replaceList, textContent) {
|
|
41
|
+
if (!replaceList.length) return textContent;
|
|
42
|
+
const regexp = new RegExp(`(${replaceList.join("|")})`, "g");
|
|
43
|
+
const items = textContent.split(regexp);
|
|
44
|
+
return items.filter((item) => item.trim() !== "").map((item) => {
|
|
45
|
+
if (replaceList.includes(item)) {
|
|
46
|
+
return h(DtEmoji, { code: item, size: this.size });
|
|
47
|
+
}
|
|
48
|
+
return h("span", { class: "d-emoji-text-wrapper__text" }, item);
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Recursively search the Vue virtual DOM to find text
|
|
53
|
+
* @param VNode
|
|
54
|
+
* @returns {VNode|*}
|
|
55
|
+
*/
|
|
56
|
+
searchVNodes(VNode) {
|
|
57
|
+
var _a;
|
|
58
|
+
if (typeof VNode === "string") return this.searchCodes(VNode);
|
|
59
|
+
if (typeof VNode.type === "symbol") return this.searchCodes(VNode.children);
|
|
60
|
+
if ((_a = VNode.props) == null ? void 0 : _a.innerHTML) return this.searchVNodes(VNode.props.innerHTML);
|
|
61
|
+
const children = Array.isArray(VNode.children) ? VNode.children : [VNode.children];
|
|
62
|
+
return h(VNode.type, VNode.props, children.map((VNodeChild) => this.searchVNodes(VNodeChild)));
|
|
63
|
+
},
|
|
64
|
+
// TODO: Find a way to crawl vue components
|
|
65
|
+
replaceVueComponentVNodeContent(VNode) {
|
|
66
|
+
},
|
|
67
|
+
/**
|
|
68
|
+
* Find codes in text.
|
|
69
|
+
* @param textContent string
|
|
70
|
+
* @returns {Array<VNode|string>|string}
|
|
71
|
+
*/
|
|
72
|
+
searchCodes(textContent) {
|
|
73
|
+
const shortcodes = findShortCodes(textContent);
|
|
74
|
+
const emojis = findEmojis(textContent);
|
|
75
|
+
const replaceList = [...shortcodes, ...emojis];
|
|
76
|
+
if (replaceList.length === 0) return textContent;
|
|
77
|
+
return this.replaceDtEmojis(replaceList, textContent);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
render() {
|
|
81
|
+
const defaultSlotContent = this.$slots.default ? this.$slots.default() : [];
|
|
82
|
+
return h(
|
|
83
|
+
this.elementType,
|
|
84
|
+
{
|
|
85
|
+
"data-qa": "emoji-text-wrapper",
|
|
86
|
+
class: "d-emoji-text-wrapper"
|
|
87
|
+
},
|
|
88
|
+
this.loadingEmojiJson ? defaultSlotContent : defaultSlotContent.map((VNode) => this.searchVNodes(VNode))
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
const DtEmojiTextWrapper = _sfc_main;
|
|
93
|
+
export {
|
|
94
|
+
DtEmojiTextWrapper as default
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=emoji_text_wrapper.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji_text_wrapper.vue.js","sources":["../../../components/emoji_text_wrapper/emoji_text_wrapper.vue"],"sourcesContent":["<script>\nimport { DtEmoji } from '../emoji';\nimport { findEmojis, findShortCodes } from '@/common/emoji';\nimport { h } from 'vue';\nimport { ICON_SIZE_MODIFIERS } from '@/components/icon/icon_constants';\n\n/**\n * Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.\n * @see https://dialtone.dialpad.com/components/emoji_text_wrapper.html\n */\nexport default {\n name: 'DtEmojiTextWrapper',\n\n components: {\n DtEmoji,\n },\n\n props: {\n /**\n * Element type (tag name) to use for the wrapper.\n */\n elementType: {\n type: String,\n default: 'div',\n },\n\n /**\n * The icon size to render the emojis at: 100 to 800\n */\n size: {\n type: String,\n default: '500',\n validator: (t) => Object.keys(ICON_SIZE_MODIFIERS).includes(t),\n },\n },\n\n data () {\n return {\n loadingEmojiJson: true,\n };\n },\n\n async created () {\n this.loadingEmojiJson = false;\n },\n\n methods: {\n /**\n * Replaces the valid codes from the text content with a DtEmoji component.\n * @returns {Array<VNode|string>}\n */\n replaceDtEmojis (replaceList, textContent) {\n if (!replaceList.length) return textContent;\n\n const regexp = new RegExp(`(${replaceList.join('|')})`, 'g');\n const items = textContent.split(regexp);\n\n return items\n .filter(item => item.trim() !== '')\n .map((item) => {\n if (replaceList.includes(item)) {\n return h(DtEmoji, { code: item, size: this.size });\n }\n return h('span', { class: 'd-emoji-text-wrapper__text' }, item);\n });\n },\n\n /**\n * Recursively search the Vue virtual DOM to find text\n * @param VNode\n * @returns {VNode|*}\n */\n searchVNodes (VNode) {\n if (typeof VNode === 'string') return this.searchCodes(VNode);\n if (typeof VNode.type === 'symbol') return this.searchCodes(VNode.children);\n if (VNode.props?.innerHTML) return this.searchVNodes(VNode.props.innerHTML);\n\n const children = Array.isArray(VNode.children) ? VNode.children : [VNode.children];\n return h(VNode.type, VNode.props, children.map(VNodeChild => this.searchVNodes(VNodeChild)));\n },\n\n // TODO: Find a way to crawl vue components\n replaceVueComponentVNodeContent (VNode) {\n //\n },\n\n /**\n * Find codes in text.\n * @param textContent string\n * @returns {Array<VNode|string>|string}\n */\n searchCodes (textContent) {\n const shortcodes = findShortCodes(textContent);\n const emojis = findEmojis(textContent);\n\n const replaceList = [...shortcodes, ...emojis];\n if (replaceList.length === 0) return textContent;\n return this.replaceDtEmojis(replaceList, textContent);\n },\n },\n\n render () {\n const defaultSlotContent = this.$slots.default ? this.$slots.default() : [];\n return h(\n this.elementType,\n {\n 'data-qa': 'emoji-text-wrapper',\n class: 'd-emoji-text-wrapper',\n },\n this.loadingEmojiJson\n ? defaultSlotContent\n : defaultSlotContent.map(VNode => this.searchVNodes(VNode)),\n );\n },\n};\n</script>\n"],"names":[],"mappings":";;;;AAUA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV;AAAA,EACD;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,aAAa;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,MAAM,OAAO,KAAK,mBAAmB,EAAE,SAAS,CAAC;AAAA,IAC9D;AAAA,EACF;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL,kBAAkB;AAAA;EAErB;AAAA,EAED,MAAM,UAAW;AACf,SAAK,mBAAmB;AAAA,EACzB;AAAA,EAED,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,IAKP,gBAAiB,aAAa,aAAa;AACzC,UAAI,CAAC,YAAY,OAAQ,QAAO;AAEhC,YAAM,SAAS,IAAI,OAAO,IAAI,YAAY,KAAK,GAAG,CAAC,KAAK,GAAG;AAC3D,YAAM,QAAQ,YAAY,MAAM,MAAM;AAEtC,aAAO,MACJ,OAAO,UAAQ,KAAK,KAAI,MAAO,EAAE,EACjC,IAAI,CAAC,SAAS;AACb,YAAI,YAAY,SAAS,IAAI,GAAG;AAC9B,iBAAO,EAAE,SAAS,EAAE,MAAM,MAAM,MAAM,KAAK,KAAG,CAAG;AAAA,QACnD;AACA,eAAO,EAAE,QAAQ,EAAE,OAAO,6BAA2B,GAAK,IAAI;AAAA,MAChE,CAAC;AAAA,IACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,aAAc,OAAO;;AACnB,UAAI,OAAO,UAAU,SAAU,QAAO,KAAK,YAAY,KAAK;AAC5D,UAAI,OAAO,MAAM,SAAS,SAAU,QAAO,KAAK,YAAY,MAAM,QAAQ;AAC1E,WAAI,WAAM,UAAN,mBAAa,UAAW,QAAO,KAAK,aAAa,MAAM,MAAM,SAAS;AAE1E,YAAM,WAAW,MAAM,QAAQ,MAAM,QAAQ,IAAI,MAAM,WAAW,CAAC,MAAM,QAAQ;AACjF,aAAO,EAAE,MAAM,MAAM,MAAM,OAAO,SAAS,IAAI,gBAAc,KAAK,aAAa,UAAU,CAAC,CAAC;AAAA,IAC5F;AAAA;AAAA,IAGD,gCAAiC,OAAO;AAAA,IAEvC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,YAAa,aAAa;AACxB,YAAM,aAAa,eAAe,WAAW;AAC7C,YAAM,SAAS,WAAW,WAAW;AAErC,YAAM,cAAc,CAAC,GAAG,YAAY,GAAG,MAAM;AAC7C,UAAI,YAAY,WAAW,EAAG,QAAO;AACrC,aAAO,KAAK,gBAAgB,aAAa,WAAW;AAAA,IACrD;AAAA,EACF;AAAA,EAED,SAAU;AACR,UAAM,qBAAqB,KAAK,OAAO,UAAU,KAAK,OAAO,QAAU,IAAE;AACzE,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,QACE,WAAW;AAAA,QACX,OAAO;AAAA,MACR;AAAA,MACD,KAAK,mBACD,qBACA,mBAAmB,IAAI,WAAS,KAAK,aAAa,KAAK,CAAC;AAAA;EAE/D;AACH;;"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const empty_state_constants = require("./empty_state_constants.cjs");
|
|
4
|
+
const common_utils = require("../../common/utils.cjs");
|
|
5
|
+
const illustration_constants = require("../illustration/illustration_constants.cjs");
|
|
6
|
+
const icon_constants = require("../icon/icon_constants.cjs");
|
|
7
|
+
const stack = require("../stack/stack.vue.cjs");
|
|
8
|
+
const icon = require("../icon/icon.vue.cjs");
|
|
9
|
+
const illustration = require("../illustration/illustration.vue.cjs");
|
|
10
|
+
const _hoisted_1 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "d-empty-state__icon"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_2 = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "d-empty-state__illustration"
|
|
17
|
+
};
|
|
18
|
+
const _sfc_main = {
|
|
19
|
+
__name: "empty_state",
|
|
20
|
+
props: {
|
|
21
|
+
/**
|
|
22
|
+
* The empty state size.
|
|
23
|
+
* @values 'sm', 'md', 'lg'
|
|
24
|
+
*/
|
|
25
|
+
size: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "lg",
|
|
28
|
+
validator: (s) => Object.keys(empty_state_constants.EMPTY_STATE_SIZE_MODIFIERS).includes(s)
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* The illustration name in kebab-case
|
|
32
|
+
* This only displays when size is 'lg' or 'md'
|
|
33
|
+
* This has priority over icon.
|
|
34
|
+
* @type {String}
|
|
35
|
+
*/
|
|
36
|
+
illustrationName: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: null,
|
|
39
|
+
validator: (name) => illustration_constants.ILLUSTRATION_NAMES.includes(name)
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* The icon name in kebab-case
|
|
43
|
+
* This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and
|
|
44
|
+
* Will always be shown in 'sm' size.
|
|
45
|
+
* @type {String}
|
|
46
|
+
*/
|
|
47
|
+
iconName: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: null,
|
|
50
|
+
validator: (name) => icon_constants.ICON_NAMES.includes(name)
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Header text
|
|
54
|
+
* @type {String}
|
|
55
|
+
*/
|
|
56
|
+
headerText: {
|
|
57
|
+
type: String,
|
|
58
|
+
required: true
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* Body text
|
|
62
|
+
* @type {String}
|
|
63
|
+
*/
|
|
64
|
+
bodyText: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: null
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Whether to show the illustration
|
|
70
|
+
* @type {Boolean}
|
|
71
|
+
*/
|
|
72
|
+
showIllustration: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
setup(__props) {
|
|
78
|
+
const slots = vue.useSlots();
|
|
79
|
+
const props = __props;
|
|
80
|
+
const notSmSize = vue.computed(() => props.size !== "sm");
|
|
81
|
+
const showIllustrationComponent = vue.computed(() => props.illustrationName && notSmSize.value);
|
|
82
|
+
const showIcon = vue.computed(() => {
|
|
83
|
+
if (!props.iconName) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return !(props.illustrationName && notSmSize.value);
|
|
87
|
+
});
|
|
88
|
+
const sizeClass = vue.computed(() => empty_state_constants.EMPTY_STATE_SIZE_MODIFIERS[props.size]);
|
|
89
|
+
const emptyStateClasses = vue.computed(() => ["d-empty-state", sizeClass.value]);
|
|
90
|
+
const contentClass = vue.computed(() => {
|
|
91
|
+
switch (props.size) {
|
|
92
|
+
case "sm":
|
|
93
|
+
return "d-empty-state__content--sm";
|
|
94
|
+
case "md":
|
|
95
|
+
return "d-empty-state__content--md";
|
|
96
|
+
case "lg":
|
|
97
|
+
return "d-empty-state__content--lg";
|
|
98
|
+
default:
|
|
99
|
+
return "d-empty-state__content--lg";
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
const headlineClass = vue.computed(() => {
|
|
103
|
+
switch (props.size) {
|
|
104
|
+
case "sm":
|
|
105
|
+
return "d-headline--md";
|
|
106
|
+
case "md":
|
|
107
|
+
return "d-headline--xl";
|
|
108
|
+
case "lg":
|
|
109
|
+
return "d-headline--xxl";
|
|
110
|
+
default:
|
|
111
|
+
return "d-headline--xxl";
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
const bodyClass = vue.computed(() => {
|
|
115
|
+
switch (props.size) {
|
|
116
|
+
case "sm":
|
|
117
|
+
return "d-body--sm";
|
|
118
|
+
case "md":
|
|
119
|
+
return "d-body--sm";
|
|
120
|
+
case "lg":
|
|
121
|
+
return "d-body--md";
|
|
122
|
+
default:
|
|
123
|
+
return "d-body--md";
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
vue.onMounted(() => {
|
|
127
|
+
if (!props.bodyText && !common_utils.hasSlotContent(slots.body)) {
|
|
128
|
+
console.warn("Dialtone Empty State component: You should provide either bodyText or content on body slot.");
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
return (_ctx, _cache) => {
|
|
132
|
+
return vue.openBlock(), vue.createBlock(vue.unref(stack), {
|
|
133
|
+
class: vue.normalizeClass(emptyStateClasses.value)
|
|
134
|
+
}, {
|
|
135
|
+
default: vue.withCtx(() => [
|
|
136
|
+
__props.showIllustration ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
137
|
+
showIcon.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
|
|
138
|
+
vue.createVNode(vue.unref(icon), {
|
|
139
|
+
name: __props.iconName,
|
|
140
|
+
size: "800"
|
|
141
|
+
}, null, 8, ["name"])
|
|
142
|
+
])) : vue.createCommentVNode("", true),
|
|
143
|
+
showIllustrationComponent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
|
|
144
|
+
vue.createVNode(vue.unref(illustration), { name: __props.illustrationName }, null, 8, ["name"])
|
|
145
|
+
])) : vue.createCommentVNode("", true)
|
|
146
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
147
|
+
vue.createVNode(vue.unref(stack), {
|
|
148
|
+
gap: "450",
|
|
149
|
+
class: vue.normalizeClass(["d-empty-state__content", contentClass.value])
|
|
150
|
+
}, {
|
|
151
|
+
default: vue.withCtx(() => [
|
|
152
|
+
vue.createElementVNode("div", {
|
|
153
|
+
class: vue.normalizeClass(["d-empty-state__header-text", headlineClass.value])
|
|
154
|
+
}, vue.toDisplayString(__props.headerText), 3),
|
|
155
|
+
__props.bodyText ? (vue.openBlock(), vue.createElementBlock("p", {
|
|
156
|
+
key: 0,
|
|
157
|
+
class: vue.normalizeClass(["d-empty-state__body-text", bodyClass.value])
|
|
158
|
+
}, vue.toDisplayString(__props.bodyText), 3)) : vue.createCommentVNode("", true)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["class"]),
|
|
162
|
+
vue.renderSlot(_ctx.$slots, "body")
|
|
163
|
+
]),
|
|
164
|
+
_: 3
|
|
165
|
+
}, 8, ["class"]);
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
const _sfc_main$1 = _sfc_main;
|
|
170
|
+
module.exports = _sfc_main$1;
|
|
171
|
+
//# sourceMappingURL=empty_state.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty_state.vue.cjs","sources":["../../../components/empty_state/empty_state.vue"],"sourcesContent":["<template>\n <dt-stack\n :class=\"emptyStateClasses\"\n >\n <template v-if=\"showIllustration\">\n <span\n v-if=\"showIcon\"\n class=\"d-empty-state__icon\"\n >\n <dt-icon\n :name=\"iconName\"\n size=\"800\"\n />\n </span>\n\n <span\n v-if=\"showIllustrationComponent\"\n class=\"d-empty-state__illustration\"\n >\n <dt-illustration\n :name=\"illustrationName\"\n />\n </span>\n </template>\n\n <dt-stack\n gap=\"450\"\n :class=\"['d-empty-state__content', contentClass]\"\n >\n <div :class=\"['d-empty-state__header-text', headlineClass]\">\n {{ headerText }}\n </div>\n\n <p\n v-if=\"bodyText\"\n :class=\"['d-empty-state__body-text', bodyClass]\"\n >\n {{ bodyText }}\n </p>\n </dt-stack>\n\n <slot name=\"body\" />\n </dt-stack>\n</template>\n\n<script setup>\nimport { useSlots, computed, onMounted } from 'vue';\nimport { EMPTY_STATE_SIZE_MODIFIERS } from './empty_state_constants.js';\nimport { DtIllustration, ILLUSTRATION_NAMES } from '@/components/illustration';\nimport { DtIcon, ICON_NAMES } from '@/components/icon';\nimport { DtStack } from '@/components/stack';\nimport { hasSlotContent } from '@/common/utils';\n\nconst slots = useSlots();\n\nconst props = defineProps({\n /**\n * The empty state size.\n * @values 'sm', 'md', 'lg'\n */\n size: {\n type: String,\n default: 'lg',\n validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The illustration name in kebab-case\n * This only displays when size is 'lg' or 'md'\n * This has priority over icon.\n * @type {String}\n */\n illustrationName: {\n type: String,\n default: null,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n\n /**\n * The icon name in kebab-case\n * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and\n * Will always be shown in 'sm' size.\n * @type {String}\n */\n iconName: {\n type: String,\n default: null,\n validator: (name) => ICON_NAMES.includes(name),\n },\n\n /**\n * Header text\n * @type {String}\n */\n headerText: {\n type: String,\n required: true,\n },\n\n /**\n * Body text\n * @type {String}\n */\n bodyText: {\n type: String,\n default: null,\n },\n\n /**\n * Whether to show the illustration\n * @type {Boolean}\n */\n showIllustration: {\n type: Boolean,\n default: true,\n },\n});\n\nconst notSmSize = computed(() => props.size !== 'sm');\n\nconst showIllustrationComponent = computed(() => props.illustrationName && notSmSize.value);\n\nconst showIcon = computed(() => {\n if (!props.iconName) {\n return false;\n }\n return !(props.illustrationName && notSmSize.value);\n});\n\nconst sizeClass = computed(() => EMPTY_STATE_SIZE_MODIFIERS[props.size]);\n\nconst emptyStateClasses = computed(() => ['d-empty-state', sizeClass.value]);\n\nconst contentClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-empty-state__content--sm';\n case 'md':\n return 'd-empty-state__content--md';\n case 'lg':\n return 'd-empty-state__content--lg';\n default:\n return 'd-empty-state__content--lg';\n }\n});\n\nconst headlineClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-headline--md';\n case 'md':\n return 'd-headline--xl';\n case 'lg':\n return 'd-headline--xxl';\n default:\n return 'd-headline--xxl';\n }\n});\n\nconst bodyClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-body--sm';\n case 'md':\n return 'd-body--sm';\n case 'lg':\n return 'd-body--md';\n default:\n return 'd-body--md';\n }\n});\n\nonMounted(() => {\n if (!props.bodyText && !hasSlotContent(slots.body)) {\n console.warn('Dialtone Empty State component: You should provide either bodyText or content on body slot.');\n }\n});\n</script>\n"],"names":["useSlots","computed","EMPTY_STATE_SIZE_MODIFIERS","onMounted","hasSlotContent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,UAAM,QAAQA,IAAQ,SAAA;AAEtB,UAAM,QAAQ;AA+Dd,UAAM,YAAYC,IAAAA,SAAS,MAAM,MAAM,SAAS,IAAI;AAEpD,UAAM,4BAA4BA,IAAQ,SAAC,MAAM,MAAM,oBAAoB,UAAU,KAAK;AAE1F,UAAM,WAAWA,IAAQ,SAAC,MAAM;AAC9B,UAAI,CAAC,MAAM,UAAU;AACnB,eAAO;AAAA,MACR;AACD,aAAO,EAAE,MAAM,oBAAoB,UAAU;AAAA,IAC/C,CAAC;AAED,UAAM,YAAYA,IAAQ,SAAC,MAAMC,sBAAAA,2BAA2B,MAAM,IAAI,CAAC;AAEvE,UAAM,oBAAoBD,IAAQ,SAAC,MAAM,CAAC,iBAAiB,UAAU,KAAK,CAAC;AAE3E,UAAM,eAAeA,IAAQ,SAAC,MAAM;AAClC,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAED,UAAM,gBAAgBA,IAAQ,SAAC,MAAM;AACnC,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAED,UAAM,YAAYA,IAAQ,SAAC,MAAM;AAC/B,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAEDE,QAAAA,UAAU,MAAM;AACd,UAAI,CAAC,MAAM,YAAY,CAACC,aAAAA,eAAe,MAAM,IAAI,GAAG;AAClD,gBAAQ,KAAK,6FAA6F;AAAA,MAC3G;AAAA,IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { useSlots, computed, onMounted, openBlock, createBlock, unref, normalizeClass, withCtx, createElementBlock, Fragment, createVNode, createCommentVNode, createElementVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
+
import { EMPTY_STATE_SIZE_MODIFIERS } from "./empty_state_constants.js";
|
|
3
|
+
import { hasSlotContent } from "../../common/utils.js";
|
|
4
|
+
import { ILLUSTRATION_NAMES } from "../illustration/illustration_constants.js";
|
|
5
|
+
import { ICON_NAMES } from "../icon/icon_constants.js";
|
|
6
|
+
import DtStack from "../stack/stack.vue.js";
|
|
7
|
+
import DtIcon from "../icon/icon.vue.js";
|
|
8
|
+
import DtIllustration from "../illustration/illustration.vue.js";
|
|
9
|
+
const _hoisted_1 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "d-empty-state__icon"
|
|
12
|
+
};
|
|
13
|
+
const _hoisted_2 = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "d-empty-state__illustration"
|
|
16
|
+
};
|
|
17
|
+
const _sfc_main = {
|
|
18
|
+
__name: "empty_state",
|
|
19
|
+
props: {
|
|
20
|
+
/**
|
|
21
|
+
* The empty state size.
|
|
22
|
+
* @values 'sm', 'md', 'lg'
|
|
23
|
+
*/
|
|
24
|
+
size: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "lg",
|
|
27
|
+
validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s)
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* The illustration name in kebab-case
|
|
31
|
+
* This only displays when size is 'lg' or 'md'
|
|
32
|
+
* This has priority over icon.
|
|
33
|
+
* @type {String}
|
|
34
|
+
*/
|
|
35
|
+
illustrationName: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: null,
|
|
38
|
+
validator: (name) => ILLUSTRATION_NAMES.includes(name)
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* The icon name in kebab-case
|
|
42
|
+
* This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and
|
|
43
|
+
* Will always be shown in 'sm' size.
|
|
44
|
+
* @type {String}
|
|
45
|
+
*/
|
|
46
|
+
iconName: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: null,
|
|
49
|
+
validator: (name) => ICON_NAMES.includes(name)
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Header text
|
|
53
|
+
* @type {String}
|
|
54
|
+
*/
|
|
55
|
+
headerText: {
|
|
56
|
+
type: String,
|
|
57
|
+
required: true
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* Body text
|
|
61
|
+
* @type {String}
|
|
62
|
+
*/
|
|
63
|
+
bodyText: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: null
|
|
66
|
+
},
|
|
67
|
+
/**
|
|
68
|
+
* Whether to show the illustration
|
|
69
|
+
* @type {Boolean}
|
|
70
|
+
*/
|
|
71
|
+
showIllustration: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
setup(__props) {
|
|
77
|
+
const slots = useSlots();
|
|
78
|
+
const props = __props;
|
|
79
|
+
const notSmSize = computed(() => props.size !== "sm");
|
|
80
|
+
const showIllustrationComponent = computed(() => props.illustrationName && notSmSize.value);
|
|
81
|
+
const showIcon = computed(() => {
|
|
82
|
+
if (!props.iconName) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return !(props.illustrationName && notSmSize.value);
|
|
86
|
+
});
|
|
87
|
+
const sizeClass = computed(() => EMPTY_STATE_SIZE_MODIFIERS[props.size]);
|
|
88
|
+
const emptyStateClasses = computed(() => ["d-empty-state", sizeClass.value]);
|
|
89
|
+
const contentClass = computed(() => {
|
|
90
|
+
switch (props.size) {
|
|
91
|
+
case "sm":
|
|
92
|
+
return "d-empty-state__content--sm";
|
|
93
|
+
case "md":
|
|
94
|
+
return "d-empty-state__content--md";
|
|
95
|
+
case "lg":
|
|
96
|
+
return "d-empty-state__content--lg";
|
|
97
|
+
default:
|
|
98
|
+
return "d-empty-state__content--lg";
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
const headlineClass = computed(() => {
|
|
102
|
+
switch (props.size) {
|
|
103
|
+
case "sm":
|
|
104
|
+
return "d-headline--md";
|
|
105
|
+
case "md":
|
|
106
|
+
return "d-headline--xl";
|
|
107
|
+
case "lg":
|
|
108
|
+
return "d-headline--xxl";
|
|
109
|
+
default:
|
|
110
|
+
return "d-headline--xxl";
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
const bodyClass = computed(() => {
|
|
114
|
+
switch (props.size) {
|
|
115
|
+
case "sm":
|
|
116
|
+
return "d-body--sm";
|
|
117
|
+
case "md":
|
|
118
|
+
return "d-body--sm";
|
|
119
|
+
case "lg":
|
|
120
|
+
return "d-body--md";
|
|
121
|
+
default:
|
|
122
|
+
return "d-body--md";
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
onMounted(() => {
|
|
126
|
+
if (!props.bodyText && !hasSlotContent(slots.body)) {
|
|
127
|
+
console.warn("Dialtone Empty State component: You should provide either bodyText or content on body slot.");
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
return (_ctx, _cache) => {
|
|
131
|
+
return openBlock(), createBlock(unref(DtStack), {
|
|
132
|
+
class: normalizeClass(emptyStateClasses.value)
|
|
133
|
+
}, {
|
|
134
|
+
default: withCtx(() => [
|
|
135
|
+
__props.showIllustration ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
136
|
+
showIcon.value ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
137
|
+
createVNode(unref(DtIcon), {
|
|
138
|
+
name: __props.iconName,
|
|
139
|
+
size: "800"
|
|
140
|
+
}, null, 8, ["name"])
|
|
141
|
+
])) : createCommentVNode("", true),
|
|
142
|
+
showIllustrationComponent.value ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
143
|
+
createVNode(unref(DtIllustration), { name: __props.illustrationName }, null, 8, ["name"])
|
|
144
|
+
])) : createCommentVNode("", true)
|
|
145
|
+
], 64)) : createCommentVNode("", true),
|
|
146
|
+
createVNode(unref(DtStack), {
|
|
147
|
+
gap: "450",
|
|
148
|
+
class: normalizeClass(["d-empty-state__content", contentClass.value])
|
|
149
|
+
}, {
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
createElementVNode("div", {
|
|
152
|
+
class: normalizeClass(["d-empty-state__header-text", headlineClass.value])
|
|
153
|
+
}, toDisplayString(__props.headerText), 3),
|
|
154
|
+
__props.bodyText ? (openBlock(), createElementBlock("p", {
|
|
155
|
+
key: 0,
|
|
156
|
+
class: normalizeClass(["d-empty-state__body-text", bodyClass.value])
|
|
157
|
+
}, toDisplayString(__props.bodyText), 3)) : createCommentVNode("", true)
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
}, 8, ["class"]),
|
|
161
|
+
renderSlot(_ctx.$slots, "body")
|
|
162
|
+
]),
|
|
163
|
+
_: 3
|
|
164
|
+
}, 8, ["class"]);
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
const _sfc_main$1 = _sfc_main;
|
|
169
|
+
export {
|
|
170
|
+
_sfc_main$1 as default
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=empty_state.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty_state.vue.js","sources":["../../../components/empty_state/empty_state.vue"],"sourcesContent":["<template>\n <dt-stack\n :class=\"emptyStateClasses\"\n >\n <template v-if=\"showIllustration\">\n <span\n v-if=\"showIcon\"\n class=\"d-empty-state__icon\"\n >\n <dt-icon\n :name=\"iconName\"\n size=\"800\"\n />\n </span>\n\n <span\n v-if=\"showIllustrationComponent\"\n class=\"d-empty-state__illustration\"\n >\n <dt-illustration\n :name=\"illustrationName\"\n />\n </span>\n </template>\n\n <dt-stack\n gap=\"450\"\n :class=\"['d-empty-state__content', contentClass]\"\n >\n <div :class=\"['d-empty-state__header-text', headlineClass]\">\n {{ headerText }}\n </div>\n\n <p\n v-if=\"bodyText\"\n :class=\"['d-empty-state__body-text', bodyClass]\"\n >\n {{ bodyText }}\n </p>\n </dt-stack>\n\n <slot name=\"body\" />\n </dt-stack>\n</template>\n\n<script setup>\nimport { useSlots, computed, onMounted } from 'vue';\nimport { EMPTY_STATE_SIZE_MODIFIERS } from './empty_state_constants.js';\nimport { DtIllustration, ILLUSTRATION_NAMES } from '@/components/illustration';\nimport { DtIcon, ICON_NAMES } from '@/components/icon';\nimport { DtStack } from '@/components/stack';\nimport { hasSlotContent } from '@/common/utils';\n\nconst slots = useSlots();\n\nconst props = defineProps({\n /**\n * The empty state size.\n * @values 'sm', 'md', 'lg'\n */\n size: {\n type: String,\n default: 'lg',\n validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The illustration name in kebab-case\n * This only displays when size is 'lg' or 'md'\n * This has priority over icon.\n * @type {String}\n */\n illustrationName: {\n type: String,\n default: null,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n\n /**\n * The icon name in kebab-case\n * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and\n * Will always be shown in 'sm' size.\n * @type {String}\n */\n iconName: {\n type: String,\n default: null,\n validator: (name) => ICON_NAMES.includes(name),\n },\n\n /**\n * Header text\n * @type {String}\n */\n headerText: {\n type: String,\n required: true,\n },\n\n /**\n * Body text\n * @type {String}\n */\n bodyText: {\n type: String,\n default: null,\n },\n\n /**\n * Whether to show the illustration\n * @type {Boolean}\n */\n showIllustration: {\n type: Boolean,\n default: true,\n },\n});\n\nconst notSmSize = computed(() => props.size !== 'sm');\n\nconst showIllustrationComponent = computed(() => props.illustrationName && notSmSize.value);\n\nconst showIcon = computed(() => {\n if (!props.iconName) {\n return false;\n }\n return !(props.illustrationName && notSmSize.value);\n});\n\nconst sizeClass = computed(() => EMPTY_STATE_SIZE_MODIFIERS[props.size]);\n\nconst emptyStateClasses = computed(() => ['d-empty-state', sizeClass.value]);\n\nconst contentClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-empty-state__content--sm';\n case 'md':\n return 'd-empty-state__content--md';\n case 'lg':\n return 'd-empty-state__content--lg';\n default:\n return 'd-empty-state__content--lg';\n }\n});\n\nconst headlineClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-headline--md';\n case 'md':\n return 'd-headline--xl';\n case 'lg':\n return 'd-headline--xxl';\n default:\n return 'd-headline--xxl';\n }\n});\n\nconst bodyClass = computed(() => {\n switch (props.size) {\n case 'sm':\n return 'd-body--sm';\n case 'md':\n return 'd-body--sm';\n case 'lg':\n return 'd-body--md';\n default:\n return 'd-body--md';\n }\n});\n\nonMounted(() => {\n if (!props.bodyText && !hasSlotContent(slots.body)) {\n console.warn('Dialtone Empty State component: You should provide either bodyText or content on body slot.');\n }\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,UAAM,QAAQ,SAAQ;AAEtB,UAAM,QAAQ;AA+Dd,UAAM,YAAY,SAAS,MAAM,MAAM,SAAS,IAAI;AAEpD,UAAM,4BAA4B,SAAS,MAAM,MAAM,oBAAoB,UAAU,KAAK;AAE1F,UAAM,WAAW,SAAS,MAAM;AAC9B,UAAI,CAAC,MAAM,UAAU;AACnB,eAAO;AAAA,MACR;AACD,aAAO,EAAE,MAAM,oBAAoB,UAAU;AAAA,IAC/C,CAAC;AAED,UAAM,YAAY,SAAS,MAAM,2BAA2B,MAAM,IAAI,CAAC;AAEvE,UAAM,oBAAoB,SAAS,MAAM,CAAC,iBAAiB,UAAU,KAAK,CAAC;AAE3E,UAAM,eAAe,SAAS,MAAM;AAClC,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAED,UAAM,gBAAgB,SAAS,MAAM;AACnC,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAED,UAAM,YAAY,SAAS,MAAM;AAC/B,cAAQ,MAAM,MAAI;AAAA,QAChB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;AAED,cAAU,MAAM;AACd,UAAI,CAAC,MAAM,YAAY,CAAC,eAAe,MAAM,IAAI,GAAG;AAClD,gBAAQ,KAAK,6FAA6F;AAAA,MAC3G;AAAA,IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const EMPTY_STATE_SIZE_MODIFIERS = {
|
|
4
|
+
sm: "d-empty-state--size-sm",
|
|
5
|
+
md: "d-empty-state--size-md",
|
|
6
|
+
lg: "d-empty-state--size-lg"
|
|
7
|
+
};
|
|
8
|
+
exports.EMPTY_STATE_SIZE_MODIFIERS = EMPTY_STATE_SIZE_MODIFIERS;
|
|
9
|
+
//# sourceMappingURL=empty_state_constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty_state_constants.cjs","sources":["../../../components/empty_state/empty_state_constants.js"],"sourcesContent":["export const EMPTY_STATE_SIZE_MODIFIERS = {\n sm: 'd-empty-state--size-sm',\n md: 'd-empty-state--size-md',\n lg: 'd-empty-state--size-lg',\n};\n\nexport default {\n EMPTY_STATE_SIZE_MODIFIERS,\n};\n"],"names":[],"mappings":";;AAAY,MAAC,6BAA6B;AAAA,EACxC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty_state_constants.js","sources":["../../../components/empty_state/empty_state_constants.js"],"sourcesContent":["export const EMPTY_STATE_SIZE_MODIFIERS = {\n sm: 'd-empty-state--size-sm',\n md: 'd-empty-state--size-md',\n lg: 'd-empty-state--size-lg',\n};\n\nexport default {\n EMPTY_STATE_SIZE_MODIFIERS,\n};\n"],"names":[],"mappings":"AAAY,MAAC,6BAA6B;AAAA,EACxC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;"}
|