@dialpad/dialtone-vue 3.120.0 → 3.120.2
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-caHeSgYY.js +11 -0
- package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js +10 -0
- package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js.map +1 -0
- package/dist/chunks/{dropdown-eWOvBvwq.js → dropdown-Hn-TeTvZ.js} +151 -104
- package/dist/chunks/{dropdown-UO3UJalk.js.map → dropdown-Hn-TeTvZ.js.map} +1 -1
- package/dist/chunks/dropdown-w8Do29L5.js +442 -0
- package/dist/chunks/{dropdown-eWOvBvwq.js.map → dropdown-w8Do29L5.js.map} +1 -1
- package/dist/chunks/dropdown_constants-2pGCXy7m.js +8 -0
- package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -0
- package/dist/chunks/dropdown_constants-w1MXGC3Z.js +9 -0
- package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -0
- package/dist/chunks/{icon_constants-OpYAAKwF.js → icon_constants-Dy4MEUJL.js} +7 -6
- package/dist/chunks/{icon_constants-2S_OSQ1t.js.map → icon_constants-Dy4MEUJL.js.map} +1 -1
- package/dist/chunks/icon_constants-QYpmdE0R.js +16 -0
- package/dist/chunks/{icon_constants-OpYAAKwF.js.map → icon_constants-QYpmdE0R.js.map} +1 -1
- package/dist/chunks/index-4qgKeErp.js +446 -0
- package/dist/chunks/{index-b4iXYvId.js.map → index-4qgKeErp.js.map} +1 -1
- package/dist/chunks/index-b_MgDylR.js +447 -0
- package/dist/chunks/{index-6tYeqbgP.js.map → index-b_MgDylR.js.map} +1 -1
- package/dist/chunks/{input-4UQWegUk.js → input-NmYDD5bn.js} +83 -60
- package/dist/chunks/{input-0Uksk4DP.js.map → input-NmYDD5bn.js.map} +1 -1
- package/dist/chunks/input-ttnte8zB.js +295 -0
- package/dist/chunks/{input-4UQWegUk.js.map → input-ttnte8zB.js.map} +1 -1
- package/dist/chunks/input_group-M-D25pOJ.js +152 -0
- package/dist/chunks/{input_group-bBKaq3Wi.js.map → input_group-M-D25pOJ.js.map} +1 -1
- package/dist/chunks/{input_group-bBKaq3Wi.js → input_group-jWnq2DJT.js} +27 -24
- package/dist/chunks/{input_group-AS760Cp7.js.map → input_group-jWnq2DJT.js.map} +1 -1
- package/dist/chunks/keyboard_list_navigation-ScXhrxya.js +284 -0
- package/dist/chunks/{keyboard_list_navigation-N74Bpdq7.js.map → keyboard_list_navigation-ScXhrxya.js.map} +1 -1
- package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js +283 -0
- package/dist/chunks/{keyboard_list_navigation-F0O8nht0.js.map → keyboard_list_navigation-fJnl_Iox.js.map} +1 -1
- package/dist/chunks/link_constants-Huj7D_hm.js +22 -0
- package/dist/chunks/{link_constants-Kn6kP4i1.js.map → link_constants-Huj7D_hm.js.map} +1 -1
- package/dist/chunks/link_constants-nWVlXQBs.js +23 -0
- package/dist/chunks/{link_constants-vIUB92L4.js.map → link_constants-nWVlXQBs.js.map} +1 -1
- package/dist/chunks/list_item_constants-EiqkqZvP.js +13 -0
- package/dist/chunks/{list_item_constants-Tsz5CO1m.js.map → list_item_constants-EiqkqZvP.js.map} +1 -1
- package/dist/chunks/list_item_constants-u1xcN9Dd.js +14 -0
- package/dist/chunks/{list_item_constants-LTUc74pD.js.map → list_item_constants-u1xcN9Dd.js.map} +1 -1
- package/dist/chunks/modal-VgxXAQFP.js +105 -0
- package/dist/chunks/{modal-qEzlo0Sj.js.map → modal-VgxXAQFP.js.map} +1 -1
- package/dist/chunks/modal-XOr4kiNZ.js +106 -0
- package/dist/chunks/{modal-VuMFkZFH.js.map → modal-XOr4kiNZ.js.map} +1 -1
- package/dist/chunks/notice_action-WTucGhvr.js +222 -0
- package/dist/chunks/{notice_action-tJfD5Qw1.js.map → notice_action-WTucGhvr.js.map} +1 -1
- package/dist/chunks/notice_action-p-ePanW_.js +223 -0
- package/dist/chunks/{notice_action-jO199emq.js.map → notice_action-p-ePanW_.js.map} +1 -1
- package/dist/chunks/notice_constants-7Qt2CQEY.js +7 -0
- package/dist/chunks/{notice_constants-mC6al2Dm.js.map → notice_constants-7Qt2CQEY.js.map} +1 -1
- package/dist/chunks/notice_constants-UXo9e3bS.js +6 -0
- package/dist/chunks/{notice_constants-c--hBFQw.js.map → notice_constants-UXo9e3bS.js.map} +1 -1
- package/dist/chunks/popover_constants-JwBF9h1Z.js +143 -0
- package/dist/chunks/{popover_constants-hOEhklvr.js.map → popover_constants-JwBF9h1Z.js.map} +1 -1
- package/dist/chunks/popover_constants-Qkpb0yh2.js +144 -0
- package/dist/chunks/{popover_constants-qjlEkroB.js.map → popover_constants-Qkpb0yh2.js.map} +1 -1
- package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js → sr_only_close_button-3EdsV-dH.js} +28 -24
- package/dist/chunks/{sr_only_close_button-iD7s1Pbj.js.map → sr_only_close_button-3EdsV-dH.js.map} +1 -1
- package/dist/chunks/sr_only_close_button-xGrHFjwA.js +91 -0
- package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js.map → sr_only_close_button-xGrHFjwA.js.map} +1 -1
- package/dist/chunks/stack_constants-HraCekPm.js +15 -0
- package/dist/chunks/{stack_constants-m9Ickqw0.js.map → stack_constants-HraCekPm.js.map} +1 -1
- package/dist/chunks/stack_constants-SMzMWnAQ.js +14 -0
- package/dist/chunks/{stack_constants-u7tNqGtc.js.map → stack_constants-SMzMWnAQ.js.map} +1 -1
- package/dist/chunks/tab-RTDgnD9-.js +391 -0
- package/dist/chunks/{tab-at7WWglk.js.map → tab-RTDgnD9-.js.map} +1 -1
- package/dist/chunks/tab-qc3f42Yp.js +390 -0
- package/dist/chunks/{tab-GQZFMq83.js.map → tab-qc3f42Yp.js.map} +1 -1
- package/dist/common/constants.cjs +60 -0
- package/dist/{lib → common}/constants.cjs.map +1 -1
- package/dist/{lib → common}/constants.js +25 -18
- package/dist/{lib → common}/constants.js.map +1 -1
- package/dist/common/dates.cjs +72 -0
- package/dist/{lib → common}/dates.cjs.map +1 -1
- package/dist/common/dates.js +72 -0
- package/dist/{lib → common}/dates.js.map +1 -1
- package/dist/common/emoji.cjs +163 -0
- package/dist/common/emoji.cjs.map +1 -0
- package/dist/common/emoji.js +168 -0
- package/dist/common/emoji.js.map +1 -0
- package/dist/common/mixins.cjs +17 -0
- package/dist/{lib → common}/mixins.cjs.map +1 -1
- package/dist/common/mixins.js +17 -0
- package/dist/common/utils.cjs +243 -0
- package/dist/{lib → common}/utils.cjs.map +1 -1
- package/dist/common/utils.js +243 -0
- package/dist/{lib → common}/utils.js.map +1 -1
- package/dist/common/validators.cjs +23 -0
- package/dist/{lib → common}/validators.cjs.map +1 -1
- package/dist/common/validators.js +23 -0
- package/dist/{lib → common}/validators.js.map +1 -1
- package/dist/dialtone-vue.cjs +373 -1
- package/dist/dialtone-vue.cjs.map +1 -1
- package/dist/dialtone-vue.js +328 -327
- package/dist/dialtone-vue.js.map +1 -1
- package/dist/lib/attachment-carousel.cjs +345 -1
- package/dist/lib/attachment-carousel.cjs.map +1 -1
- package/dist/lib/attachment-carousel.js +126 -108
- package/dist/lib/attachment-carousel.js.map +1 -1
- package/dist/lib/avatar.cjs +447 -1
- package/dist/lib/avatar.cjs.map +1 -1
- package/dist/lib/avatar.js +135 -101
- package/dist/lib/avatar.js.map +1 -1
- package/dist/lib/badge.cjs +206 -1
- package/dist/lib/badge.cjs.map +1 -1
- package/dist/lib/badge.js +64 -48
- package/dist/lib/badge.js.map +1 -1
- package/dist/lib/banner.cjs +242 -2
- package/dist/lib/banner.cjs.map +1 -1
- package/dist/lib/banner.js +81 -71
- package/dist/lib/banner.js.map +1 -1
- package/dist/lib/breadcrumbs.cjs +150 -1
- package/dist/lib/breadcrumbs.cjs.map +1 -1
- package/dist/lib/breadcrumbs.js +60 -52
- package/dist/lib/breadcrumbs.js.map +1 -1
- package/dist/lib/button-group.cjs +41 -1
- package/dist/lib/button-group.cjs.map +1 -1
- package/dist/lib/button-group.js +15 -14
- package/dist/lib/button-group.js.map +1 -1
- package/dist/lib/button.cjs +356 -1
- package/dist/lib/button.cjs.map +1 -1
- package/dist/lib/button.js +108 -88
- package/dist/lib/button.js.map +1 -1
- package/dist/lib/callbar-button-with-popover.cjs +322 -1
- package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/lib/callbar-button-with-popover.js +101 -83
- package/dist/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/lib/callbar-button.cjs +200 -1
- package/dist/lib/callbar-button.cjs.map +1 -1
- package/dist/lib/callbar-button.js +52 -45
- package/dist/lib/callbar-button.js.map +1 -1
- package/dist/lib/callbox.cjs +217 -1
- package/dist/lib/callbox.cjs.map +1 -1
- package/dist/lib/callbox.js +80 -67
- package/dist/lib/callbox.js.map +1 -1
- package/dist/lib/card.cjs +91 -1
- package/dist/lib/card.cjs.map +1 -1
- package/dist/lib/card.js +27 -27
- package/dist/lib/card.js.map +1 -1
- package/dist/lib/checkbox-group.cjs +115 -1
- package/dist/lib/checkbox-group.cjs.map +1 -1
- package/dist/lib/checkbox-group.js +34 -23
- package/dist/lib/checkbox-group.js.map +1 -1
- package/dist/lib/checkbox.cjs +156 -1
- package/dist/lib/checkbox.cjs.map +1 -1
- package/dist/lib/checkbox.js +72 -60
- package/dist/lib/checkbox.js.map +1 -1
- package/dist/lib/chip.cjs +235 -1
- package/dist/lib/chip.cjs.map +1 -1
- package/dist/lib/chip.js +84 -67
- package/dist/lib/chip.js.map +1 -1
- package/dist/lib/codeblock.cjs +23 -2
- package/dist/lib/codeblock.cjs.map +1 -1
- package/dist/lib/codeblock.js +13 -13
- package/dist/lib/codeblock.js.map +1 -1
- package/dist/lib/collapsible.cjs +398 -1
- package/dist/lib/collapsible.cjs.map +1 -1
- package/dist/lib/collapsible.js +123 -100
- package/dist/lib/collapsible.js.map +1 -1
- package/dist/lib/combobox-multi-select.cjs +589 -1
- package/dist/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/lib/combobox-multi-select.js +270 -177
- package/dist/lib/combobox-multi-select.js.map +1 -1
- package/dist/lib/combobox-with-popover.cjs +452 -1
- package/dist/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/lib/combobox-with-popover.js +172 -127
- package/dist/lib/combobox-with-popover.js.map +1 -1
- package/dist/lib/combobox.cjs +18 -1
- package/dist/lib/combobox.cjs.map +1 -1
- package/dist/lib/combobox.js +9 -9
- package/dist/lib/contact-info.cjs +205 -1
- package/dist/lib/contact-info.cjs.map +1 -1
- package/dist/lib/contact-info.js +69 -60
- package/dist/lib/contact-info.js.map +1 -1
- package/dist/lib/contact-row.cjs +246 -1
- package/dist/lib/contact-row.cjs.map +1 -1
- package/dist/lib/contact-row.js +67 -63
- package/dist/lib/contact-row.js.map +1 -1
- package/dist/lib/datepicker.cjs +854 -1
- package/dist/lib/datepicker.cjs.map +1 -1
- package/dist/lib/datepicker.js +585 -441
- package/dist/lib/datepicker.js.map +1 -1
- package/dist/lib/description-list.cjs +116 -1
- package/dist/lib/description-list.cjs.map +1 -1
- package/dist/lib/description-list.js +56 -24
- package/dist/lib/description-list.js.map +1 -1
- package/dist/lib/dropdown.cjs +36 -1
- package/dist/lib/dropdown.cjs.map +1 -1
- package/dist/lib/dropdown.js +22 -21
- package/dist/lib/dropdown.js.map +1 -1
- package/dist/lib/editor.cjs +711 -1
- package/dist/lib/editor.cjs.map +1 -1
- package/dist/lib/editor.js +271 -235
- package/dist/lib/editor.js.map +1 -1
- package/dist/lib/emoji-picker.cjs +1277 -1
- package/dist/lib/emoji-picker.cjs.map +1 -1
- package/dist/lib/emoji-picker.js +859 -569
- package/dist/lib/emoji-picker.js.map +1 -1
- package/dist/lib/emoji-row.cjs +128 -1
- package/dist/lib/emoji-row.cjs.map +1 -1
- package/dist/lib/emoji-row.js +89 -75
- package/dist/lib/emoji-row.js.map +1 -1
- package/dist/lib/emoji-text-wrapper.cjs +102 -1
- package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/lib/emoji-text-wrapper.js +42 -31
- package/dist/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/lib/emoji.cjs +158 -1
- package/dist/lib/emoji.cjs.map +1 -1
- package/dist/lib/emoji.js +153 -6
- package/dist/lib/emoji.js.map +1 -1
- package/dist/lib/feed-item-row.cjs +296 -1
- package/dist/lib/feed-item-row.cjs.map +1 -1
- package/dist/lib/feed-item-row.js +119 -100
- package/dist/lib/feed-item-row.js.map +1 -1
- package/dist/lib/feed-pill.cjs +173 -1
- package/dist/lib/feed-pill.cjs.map +1 -1
- package/dist/lib/feed-pill.js +70 -57
- package/dist/lib/feed-pill.js.map +1 -1
- package/dist/lib/general-row.cjs +518 -1
- package/dist/lib/general-row.cjs.map +1 -1
- package/dist/lib/general-row.js +186 -148
- package/dist/lib/general-row.js.map +1 -1
- package/dist/lib/group-row.cjs +116 -1
- package/dist/lib/group-row.cjs.map +1 -1
- package/dist/lib/group-row.js +37 -35
- package/dist/lib/group-row.js.map +1 -1
- package/dist/lib/grouped-chip.cjs +96 -1
- package/dist/lib/grouped-chip.cjs.map +1 -1
- package/dist/lib/grouped-chip.js +51 -46
- package/dist/lib/grouped-chip.js.map +1 -1
- package/dist/lib/hovercard.cjs +223 -1
- package/dist/lib/hovercard.cjs.map +1 -1
- package/dist/lib/hovercard.js +115 -80
- package/dist/lib/hovercard.js.map +1 -1
- package/dist/lib/icon.cjs +58 -1
- package/dist/lib/icon.cjs.map +1 -1
- package/dist/lib/icon.js +20 -20
- package/dist/lib/icon.js.map +1 -1
- package/dist/lib/image-viewer.cjs +243 -1
- package/dist/lib/image-viewer.cjs.map +1 -1
- package/dist/lib/image-viewer.js +104 -80
- package/dist/lib/image-viewer.js.map +1 -1
- package/dist/lib/input-group.cjs +91 -1
- package/dist/lib/input-group.cjs.map +1 -1
- package/dist/lib/input-group.js +41 -39
- package/dist/lib/input-group.js.map +1 -1
- package/dist/lib/input.cjs +578 -1
- package/dist/lib/input.cjs.map +1 -1
- package/dist/lib/input.js +185 -137
- package/dist/lib/input.js.map +1 -1
- package/dist/lib/item-layout.cjs +91 -1
- package/dist/lib/item-layout.cjs.map +1 -1
- package/dist/lib/item-layout.js +45 -39
- package/dist/lib/item-layout.js.map +1 -1
- package/dist/lib/ivr-node.cjs +263 -1
- package/dist/lib/ivr-node.cjs.map +1 -1
- package/dist/lib/ivr-node.js +130 -112
- package/dist/lib/ivr-node.js.map +1 -1
- package/dist/lib/keyboard-shortcut.cjs +119 -1
- package/dist/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/lib/keyboard-shortcut.js +58 -48
- package/dist/lib/keyboard-shortcut.js.map +1 -1
- package/dist/lib/lazy-show.cjs +82 -1
- package/dist/lib/lazy-show.cjs.map +1 -1
- package/dist/lib/lazy-show.js +21 -19
- package/dist/lib/lazy-show.js.map +1 -1
- package/dist/lib/link.cjs +43 -1
- package/dist/lib/link.cjs.map +1 -1
- package/dist/lib/link.js +20 -19
- package/dist/lib/link.js.map +1 -1
- package/dist/lib/list-item-group.cjs +67 -1
- package/dist/lib/list-item-group.cjs.map +1 -1
- package/dist/lib/list-item-group.js +24 -22
- package/dist/lib/list-item-group.js.map +1 -1
- package/dist/lib/list-item.cjs +216 -1
- package/dist/lib/list-item.cjs.map +1 -1
- package/dist/lib/list-item.js +71 -60
- package/dist/lib/list-item.js.map +1 -1
- package/dist/lib/message-input.cjs +708 -1
- package/dist/lib/message-input.cjs.map +1 -1
- package/dist/lib/message-input.js +232 -206
- package/dist/lib/message-input.js.map +1 -1
- package/dist/lib/modal.cjs +444 -2
- package/dist/lib/modal.cjs.map +1 -1
- package/dist/lib/modal.js +153 -120
- package/dist/lib/modal.js.map +1 -1
- package/dist/lib/notice.cjs +197 -1
- package/dist/lib/notice.cjs.map +1 -1
- package/dist/lib/notice.js +66 -63
- package/dist/lib/notice.js.map +1 -1
- package/dist/lib/pagination.cjs +205 -1
- package/dist/lib/pagination.cjs.map +1 -1
- package/dist/lib/pagination.js +96 -81
- package/dist/lib/pagination.js.map +1 -1
- package/dist/lib/popover.cjs +1080 -1
- package/dist/lib/popover.cjs.map +1 -1
- package/dist/lib/popover.js +447 -267
- package/dist/lib/popover.js.map +1 -1
- package/dist/lib/presence.cjs +70 -1
- package/dist/lib/presence.cjs.map +1 -1
- package/dist/lib/presence.js +33 -27
- package/dist/lib/presence.js.map +1 -1
- package/dist/lib/radio-group.cjs +88 -1
- package/dist/lib/radio-group.cjs.map +1 -1
- package/dist/lib/radio-group.js +18 -18
- package/dist/lib/radio-group.js.map +1 -1
- package/dist/lib/radio.cjs +162 -1
- package/dist/lib/radio.cjs.map +1 -1
- package/dist/lib/radio.js +66 -57
- package/dist/lib/radio.js.map +1 -1
- package/dist/lib/rich-text-editor.cjs +1137 -1
- package/dist/lib/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor.js +567 -386
- package/dist/lib/rich-text-editor.js.map +1 -1
- package/dist/lib/root-layout.cjs +158 -1
- package/dist/lib/root-layout.cjs.map +1 -1
- package/dist/lib/root-layout.js +33 -31
- package/dist/lib/root-layout.js.map +1 -1
- package/dist/lib/scroller.cjs +1090 -1
- package/dist/lib/scroller.cjs.map +1 -1
- package/dist/lib/scroller.js +668 -345
- package/dist/lib/scroller.js.map +1 -1
- package/dist/lib/select-menu.cjs +312 -1
- package/dist/lib/select-menu.cjs.map +1 -1
- package/dist/lib/select-menu.js +124 -79
- package/dist/lib/select-menu.js.map +1 -1
- package/dist/lib/settings-menu-button.cjs +77 -1
- package/dist/lib/settings-menu-button.cjs.map +1 -1
- package/dist/lib/settings-menu-button.js +31 -30
- package/dist/lib/settings-menu-button.js.map +1 -1
- package/dist/lib/skeleton.cjs +635 -1
- package/dist/lib/skeleton.cjs.map +1 -1
- package/dist/lib/skeleton.js +189 -152
- package/dist/lib/skeleton.js.map +1 -1
- package/dist/lib/stack.cjs +123 -1
- package/dist/lib/stack.cjs.map +1 -1
- package/dist/lib/stack.js +61 -53
- package/dist/lib/stack.js.map +1 -1
- package/dist/lib/tabs.cjs +102 -1
- package/dist/lib/tabs.cjs.map +1 -1
- package/dist/lib/tabs.js +47 -41
- package/dist/lib/tabs.js.map +1 -1
- package/dist/lib/time-pill.cjs +41 -1
- package/dist/lib/time-pill.cjs.map +1 -1
- package/dist/lib/time-pill.js +18 -14
- package/dist/lib/time-pill.js.map +1 -1
- package/dist/lib/toast.cjs +281 -1
- package/dist/lib/toast.cjs.map +1 -1
- package/dist/lib/toast.js +96 -74
- package/dist/lib/toast.js.map +1 -1
- package/dist/lib/toggle.cjs +192 -1
- package/dist/lib/toggle.cjs.map +1 -1
- package/dist/lib/toggle.js +60 -49
- package/dist/lib/toggle.js.map +1 -1
- package/dist/lib/tooltip-directive.cjs +84 -1
- package/dist/lib/tooltip-directive.cjs.map +1 -1
- package/dist/lib/tooltip-directive.js +56 -42
- package/dist/lib/tooltip-directive.js.map +1 -1
- package/dist/lib/tooltip.cjs +460 -1
- package/dist/lib/tooltip.cjs.map +1 -1
- package/dist/lib/tooltip.js +162 -103
- package/dist/lib/tooltip.js.map +1 -1
- package/dist/lib/top-banner-info.cjs +71 -1
- package/dist/lib/top-banner-info.cjs.map +1 -1
- package/dist/lib/top-banner-info.js +27 -22
- package/dist/lib/top-banner-info.js.map +1 -1
- package/dist/lib/unread-pill.cjs +73 -1
- package/dist/lib/unread-pill.cjs.map +1 -1
- package/dist/lib/unread-pill.js +28 -25
- package/dist/lib/unread-pill.js.map +1 -1
- package/dist/lib/validation-messages.cjs +89 -1
- package/dist/lib/validation-messages.cjs.map +1 -1
- package/dist/lib/validation-messages.js +41 -36
- package/dist/lib/validation-messages.js.map +1 -1
- package/dist/style.css +1257 -1
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
- package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
- package/package.json +30 -29
- package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js +0 -2
- package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js +0 -10
- package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js.map +0 -1
- package/dist/chunks/dropdown-UO3UJalk.js +0 -2
- package/dist/chunks/dropdown_constants-EUcDxBrX.js +0 -9
- package/dist/chunks/dropdown_constants-EUcDxBrX.js.map +0 -1
- package/dist/chunks/dropdown_constants-KHFvVI2L.js +0 -2
- package/dist/chunks/dropdown_constants-KHFvVI2L.js.map +0 -1
- package/dist/chunks/icon_constants-2S_OSQ1t.js +0 -2
- package/dist/chunks/index-6tYeqbgP.js +0 -3
- package/dist/chunks/index-IBtQ5jRJ.js +0 -2
- package/dist/chunks/index-IBtQ5jRJ.js.map +0 -1
- package/dist/chunks/index-b4iXYvId.js +0 -399
- package/dist/chunks/index-mRmwpCBG.js +0 -256
- package/dist/chunks/index-mRmwpCBG.js.map +0 -1
- package/dist/chunks/input-0Uksk4DP.js +0 -2
- package/dist/chunks/input_group-AS760Cp7.js +0 -2
- package/dist/chunks/keyboard_list_navigation-F0O8nht0.js +0 -197
- package/dist/chunks/keyboard_list_navigation-N74Bpdq7.js +0 -2
- package/dist/chunks/link_constants-Kn6kP4i1.js +0 -2
- package/dist/chunks/link_constants-vIUB92L4.js +0 -16
- package/dist/chunks/list_item_constants-LTUc74pD.js +0 -13
- package/dist/chunks/list_item_constants-Tsz5CO1m.js +0 -2
- package/dist/chunks/modal-VuMFkZFH.js +0 -82
- package/dist/chunks/modal-qEzlo0Sj.js +0 -2
- package/dist/chunks/notice_action-jO199emq.js +0 -2
- package/dist/chunks/notice_action-tJfD5Qw1.js +0 -209
- package/dist/chunks/notice_constants-c--hBFQw.js +0 -6
- package/dist/chunks/notice_constants-mC6al2Dm.js +0 -2
- package/dist/chunks/popover_constants-hOEhklvr.js +0 -2
- package/dist/chunks/popover_constants-qjlEkroB.js +0 -114
- package/dist/chunks/sr_only_close_button-iD7s1Pbj.js +0 -3
- package/dist/chunks/stack_constants-m9Ickqw0.js +0 -2
- package/dist/chunks/stack_constants-u7tNqGtc.js +0 -13
- package/dist/chunks/tab-GQZFMq83.js +0 -367
- package/dist/chunks/tab-at7WWglk.js +0 -2
- package/dist/lib/constants.cjs +0 -2
- package/dist/lib/dates.cjs +0 -2
- package/dist/lib/dates.js +0 -57
- package/dist/lib/mixins.cjs +0 -2
- package/dist/lib/mixins.js +0 -17
- package/dist/lib/utils.cjs +0 -2
- package/dist/lib/utils.js +0 -171
- package/dist/lib/validators.cjs +0 -2
- package/dist/lib/validators.js +0 -12
- /package/dist/{lib → common}/mixins.js.map +0 -0
package/dist/lib/general-row.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { DtEmojiTextWrapper as
|
|
2
|
-
import { resolveComponent
|
|
3
|
-
import {
|
|
4
|
-
import { DtIcon
|
|
5
|
-
import { extractVueListeners
|
|
6
|
-
import { DtBadge
|
|
7
|
-
import { DtButton
|
|
8
|
-
import { DtTooltip
|
|
9
|
-
import "../
|
|
1
|
+
import { DtEmojiTextWrapper as _sfc_main$2 } from "./emoji-text-wrapper.js";
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, createElementBlock, normalizeClass, createVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, renderSlot, normalizeStyle, withCtx, createTextVNode, toDisplayString, withModifiers, pushScopeId, popScopeId } from "vue";
|
|
3
|
+
import { _export_sfc } from "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
|
|
4
|
+
import { DtIcon } from "./icon.js";
|
|
5
|
+
import { extractVueListeners, safeConcatStrings } from "../common/utils.js";
|
|
6
|
+
import { DtBadge } from "./badge.js";
|
|
7
|
+
import { DtButton } from "./button.js";
|
|
8
|
+
import { DtTooltip } from "./tooltip.js";
|
|
9
|
+
import "../common/emoji.js";
|
|
10
10
|
import "emoji-regex";
|
|
11
11
|
import "@dialpad/dialtone-emojis";
|
|
12
|
-
import "
|
|
13
|
-
import "../chunks/icon_constants-OpYAAKwF.js";
|
|
12
|
+
import "../chunks/icon_constants-Dy4MEUJL.js";
|
|
14
13
|
import "@dialpad/dialtone-icons/icons.json";
|
|
14
|
+
import "./emoji.js";
|
|
15
|
+
import "./skeleton.js";
|
|
15
16
|
import "@dialpad/dialtone-icons/vue3";
|
|
16
|
-
import "
|
|
17
|
-
import "../chunks/link_constants-
|
|
18
|
-
import "../chunks/popover_constants-
|
|
17
|
+
import "../common/constants.js";
|
|
18
|
+
import "../chunks/link_constants-nWVlXQBs.js";
|
|
19
|
+
import "../chunks/popover_constants-Qkpb0yh2.js";
|
|
19
20
|
import "tippy.js";
|
|
20
21
|
import "./lazy-show.js";
|
|
21
|
-
const
|
|
22
|
+
const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
22
23
|
INBOX: "inbox",
|
|
23
24
|
CONTACTS: "contacts",
|
|
24
25
|
CHANNELS: "channels",
|
|
@@ -32,21 +33,23 @@ const t = {
|
|
|
32
33
|
DIALBOT: "dialbot",
|
|
33
34
|
ASSIGNED: "assigned",
|
|
34
35
|
DIGITAL: "digital"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
36
|
+
};
|
|
37
|
+
const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
38
|
+
[LEFTBAR_GENERAL_ROW_TYPES.INBOX]: "inbox",
|
|
39
|
+
[LEFTBAR_GENERAL_ROW_TYPES.CONTACTS]: "contacts",
|
|
40
|
+
[LEFTBAR_GENERAL_ROW_TYPES.CHANNELS]: "hash",
|
|
41
|
+
[LEFTBAR_GENERAL_ROW_TYPES.HOME]: "home",
|
|
42
|
+
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: "thread",
|
|
43
|
+
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: "lock",
|
|
44
|
+
[LEFTBAR_GENERAL_ROW_TYPES.QUICK_START]: "sparkle",
|
|
45
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_GROUP]: "users",
|
|
46
|
+
[LEFTBAR_GENERAL_ROW_TYPES.COACHING_CENTER]: "external-link",
|
|
45
47
|
"locked channel unread": "lock-filled",
|
|
46
48
|
"channel unread": "hash-bold",
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
}
|
|
49
|
+
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: "at-sign",
|
|
50
|
+
[LEFTBAR_GENERAL_ROW_TYPES.DIGITAL]: "laptop-2"
|
|
51
|
+
};
|
|
52
|
+
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS = {
|
|
50
53
|
"magenta-200": "d-bgc-magenta-200",
|
|
51
54
|
"green-200": "d-bgc-green-200",
|
|
52
55
|
"gold-300": "d-bgc-gold-300",
|
|
@@ -58,12 +61,15 @@ const t = {
|
|
|
58
61
|
"magenta-400": "d-bgc-magenta-400",
|
|
59
62
|
"magenta-100": "d-bgc-magenta-100",
|
|
60
63
|
"black-300": "d-bgc-black-300"
|
|
61
|
-
}
|
|
64
|
+
};
|
|
65
|
+
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR = "If type is contact center, color must be oneof the following:" + Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).join(", ");
|
|
66
|
+
const LEFTBAR_GENERAL_ROW_ICON_SIZES = [
|
|
62
67
|
"300",
|
|
63
68
|
"200"
|
|
64
|
-
]
|
|
69
|
+
];
|
|
70
|
+
const _sfc_main$1 = {
|
|
65
71
|
name: "DtRecipeLeftbarGeneralRowIcon",
|
|
66
|
-
components: { DtIcon
|
|
72
|
+
components: { DtIcon },
|
|
67
73
|
props: {
|
|
68
74
|
type: {
|
|
69
75
|
type: String,
|
|
@@ -80,21 +86,21 @@ const t = {
|
|
|
80
86
|
},
|
|
81
87
|
computed: {
|
|
82
88
|
isIconType() {
|
|
83
|
-
return ![
|
|
89
|
+
return ![LEFTBAR_GENERAL_ROW_TYPES.DIALBOT, LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER].includes(this.type);
|
|
84
90
|
},
|
|
85
91
|
isContactCenterType() {
|
|
86
|
-
return this.type ===
|
|
92
|
+
return this.type === LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER;
|
|
87
93
|
},
|
|
88
94
|
isDialbotType() {
|
|
89
|
-
return this.type ===
|
|
95
|
+
return this.type === LEFTBAR_GENERAL_ROW_TYPES.DIALBOT;
|
|
90
96
|
},
|
|
91
97
|
getIconName() {
|
|
92
|
-
return
|
|
98
|
+
return LEFTBAR_GENERAL_ROW_ICON_MAPPING[this.type];
|
|
93
99
|
},
|
|
94
100
|
contactCenterIconClasses() {
|
|
95
101
|
return [
|
|
96
102
|
"dt-leftbar-row__icon-cc",
|
|
97
|
-
|
|
103
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS[this.color]
|
|
98
104
|
];
|
|
99
105
|
},
|
|
100
106
|
dialbotClasses() {
|
|
@@ -106,37 +112,38 @@ const t = {
|
|
|
106
112
|
}
|
|
107
113
|
}
|
|
108
114
|
};
|
|
109
|
-
function
|
|
110
|
-
const
|
|
111
|
-
return
|
|
115
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
|
+
const _component_dt_icon = resolveComponent("dt-icon");
|
|
117
|
+
return $options.isIconType ? (openBlock(), createBlock(_component_dt_icon, {
|
|
112
118
|
key: 0,
|
|
113
|
-
name:
|
|
114
|
-
size:
|
|
115
|
-
}, null, 8, ["name", "size"])) :
|
|
119
|
+
name: $options.getIconName,
|
|
120
|
+
size: $props.iconSize
|
|
121
|
+
}, null, 8, ["name", "size"])) : $options.isContactCenterType ? (openBlock(), createElementBlock("div", {
|
|
116
122
|
key: 1,
|
|
117
|
-
class:
|
|
118
|
-
}, null, 2)) :
|
|
123
|
+
class: normalizeClass($options.contactCenterIconClasses)
|
|
124
|
+
}, null, 2)) : $options.isDialbotType ? (openBlock(), createElementBlock("div", {
|
|
119
125
|
key: 2,
|
|
120
|
-
class:
|
|
126
|
+
class: normalizeClass($options.dialbotClasses),
|
|
121
127
|
"data-qa": "general-row-dialbot"
|
|
122
128
|
}, [
|
|
123
|
-
|
|
129
|
+
createVNode(_component_dt_icon, {
|
|
124
130
|
name: "dialbot",
|
|
125
131
|
size: "500"
|
|
126
132
|
})
|
|
127
|
-
], 2)) :
|
|
133
|
+
], 2)) : createCommentVNode("", true);
|
|
128
134
|
}
|
|
129
|
-
const
|
|
135
|
+
const DtRecipeLeftbarGeneralRowIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
136
|
+
const _sfc_main = {
|
|
130
137
|
name: "DtRecipeGeneralRow",
|
|
131
138
|
components: {
|
|
132
|
-
DtEmojiTextWrapper:
|
|
133
|
-
DtBadge
|
|
134
|
-
DtIcon
|
|
135
|
-
DtButton
|
|
136
|
-
DtTooltip
|
|
137
|
-
DtRecipeLeftbarGeneralRowIcon
|
|
139
|
+
DtEmojiTextWrapper: _sfc_main$2,
|
|
140
|
+
DtBadge,
|
|
141
|
+
DtIcon,
|
|
142
|
+
DtButton,
|
|
143
|
+
DtTooltip,
|
|
144
|
+
DtRecipeLeftbarGeneralRowIcon
|
|
138
145
|
},
|
|
139
|
-
inheritAttrs:
|
|
146
|
+
inheritAttrs: false,
|
|
140
147
|
props: {
|
|
141
148
|
/**
|
|
142
149
|
* Determines the icon to show.
|
|
@@ -145,7 +152,9 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
145
152
|
type: {
|
|
146
153
|
type: String,
|
|
147
154
|
default: "inbox",
|
|
148
|
-
validator: (
|
|
155
|
+
validator: (type) => {
|
|
156
|
+
return Object.values(LEFTBAR_GENERAL_ROW_TYPES).includes(type);
|
|
157
|
+
}
|
|
149
158
|
},
|
|
150
159
|
/**
|
|
151
160
|
* Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
|
|
@@ -160,7 +169,7 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
160
169
|
*/
|
|
161
170
|
description: {
|
|
162
171
|
type: String,
|
|
163
|
-
required:
|
|
172
|
+
required: true
|
|
164
173
|
},
|
|
165
174
|
/**
|
|
166
175
|
* Determines the color of the contact center icon
|
|
@@ -168,7 +177,9 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
168
177
|
color: {
|
|
169
178
|
type: String,
|
|
170
179
|
default: null,
|
|
171
|
-
validator: (
|
|
180
|
+
validator: (color) => {
|
|
181
|
+
return Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).includes(color);
|
|
182
|
+
}
|
|
172
183
|
},
|
|
173
184
|
/**
|
|
174
185
|
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
@@ -176,7 +187,7 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
176
187
|
*/
|
|
177
188
|
hasUnreads: {
|
|
178
189
|
type: Boolean,
|
|
179
|
-
default:
|
|
190
|
+
default: false
|
|
180
191
|
},
|
|
181
192
|
/**
|
|
182
193
|
* Number of unread messages
|
|
@@ -197,21 +208,21 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
197
208
|
*/
|
|
198
209
|
selected: {
|
|
199
210
|
type: Boolean,
|
|
200
|
-
default:
|
|
211
|
+
default: false
|
|
201
212
|
},
|
|
202
213
|
/**
|
|
203
214
|
* Gives a faded style to be used when muted
|
|
204
215
|
*/
|
|
205
216
|
muted: {
|
|
206
217
|
type: Boolean,
|
|
207
|
-
default:
|
|
218
|
+
default: false
|
|
208
219
|
},
|
|
209
220
|
/**
|
|
210
221
|
* Shows styling to represent an active voice chat. This will display over unreadCount.
|
|
211
222
|
*/
|
|
212
223
|
activeVoiceChat: {
|
|
213
224
|
type: Boolean,
|
|
214
|
-
default:
|
|
225
|
+
default: false
|
|
215
226
|
},
|
|
216
227
|
/**
|
|
217
228
|
* Acronym used to represent "Do not Disturb" state. If entered will display the entered text alongside
|
|
@@ -233,7 +244,7 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
233
244
|
*/
|
|
234
245
|
hasCallButton: {
|
|
235
246
|
type: Boolean,
|
|
236
|
-
default:
|
|
247
|
+
default: false
|
|
237
248
|
},
|
|
238
249
|
/**
|
|
239
250
|
* Text shown when the call button is hovered.
|
|
@@ -247,7 +258,7 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
247
258
|
*/
|
|
248
259
|
isTyping: {
|
|
249
260
|
type: Boolean,
|
|
250
|
-
default:
|
|
261
|
+
default: false
|
|
251
262
|
},
|
|
252
263
|
/**
|
|
253
264
|
* Sets the size of the icon.
|
|
@@ -255,7 +266,9 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
255
266
|
iconSize: {
|
|
256
267
|
type: String,
|
|
257
268
|
default: "300",
|
|
258
|
-
validator: (
|
|
269
|
+
validator: (size) => {
|
|
270
|
+
return LEFTBAR_GENERAL_ROW_ICON_SIZES.includes(size);
|
|
271
|
+
}
|
|
259
272
|
}
|
|
260
273
|
},
|
|
261
274
|
emits: [
|
|
@@ -269,7 +282,7 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
269
282
|
],
|
|
270
283
|
data() {
|
|
271
284
|
return {
|
|
272
|
-
actionFocused:
|
|
285
|
+
actionFocused: false,
|
|
273
286
|
labelWidth: "100%"
|
|
274
287
|
};
|
|
275
288
|
},
|
|
@@ -289,11 +302,11 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
289
302
|
},
|
|
290
303
|
getIcon() {
|
|
291
304
|
switch (this.type) {
|
|
292
|
-
case
|
|
305
|
+
case LEFTBAR_GENERAL_ROW_TYPES.CHANNELS:
|
|
293
306
|
if (this.hasUnreads)
|
|
294
307
|
return "channel unread";
|
|
295
308
|
break;
|
|
296
|
-
case
|
|
309
|
+
case LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL:
|
|
297
310
|
if (this.hasUnreads)
|
|
298
311
|
return "locked channel unread";
|
|
299
312
|
break;
|
|
@@ -301,10 +314,10 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
301
314
|
return this.type;
|
|
302
315
|
},
|
|
303
316
|
generalRowListeners() {
|
|
304
|
-
return
|
|
317
|
+
return extractVueListeners(this.$attrs);
|
|
305
318
|
},
|
|
306
319
|
getAriaLabel() {
|
|
307
|
-
return this.ariaLabel ? this.ariaLabel :
|
|
320
|
+
return this.ariaLabel ? this.ariaLabel : safeConcatStrings([this.description, this.unreadCountTooltip, this.dndTextTooltip]);
|
|
308
321
|
},
|
|
309
322
|
hasActions() {
|
|
310
323
|
return this.dndText || this.activeVoiceChat || this.showUnreadCount || this.hasCallButton;
|
|
@@ -315,147 +328,172 @@ const M = /* @__PURE__ */ R(P, [["render", K]]), Q = {
|
|
|
315
328
|
},
|
|
316
329
|
watch: {
|
|
317
330
|
$props: {
|
|
318
|
-
immediate:
|
|
319
|
-
deep:
|
|
331
|
+
immediate: true,
|
|
332
|
+
deep: true,
|
|
320
333
|
async handler() {
|
|
321
|
-
this.validateProps()
|
|
334
|
+
this.validateProps();
|
|
335
|
+
await this.$nextTick();
|
|
336
|
+
this.adjustLabelWidth();
|
|
322
337
|
}
|
|
323
338
|
}
|
|
324
339
|
},
|
|
325
340
|
mounted() {
|
|
326
|
-
this.resizeObserver = new ResizeObserver(this.adjustLabelWidth)
|
|
341
|
+
this.resizeObserver = new ResizeObserver(this.adjustLabelWidth);
|
|
342
|
+
this.resizeObserver.observe(this.$el);
|
|
343
|
+
this.adjustLabelWidth();
|
|
327
344
|
},
|
|
328
345
|
beforeUnmount: function() {
|
|
329
346
|
this.resizeObserver.disconnect();
|
|
330
347
|
},
|
|
331
348
|
methods: {
|
|
332
349
|
validateProps() {
|
|
333
|
-
this.type ===
|
|
350
|
+
if (this.type === LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER && !Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).includes(this.color)) {
|
|
351
|
+
console.error(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR);
|
|
352
|
+
}
|
|
334
353
|
},
|
|
335
354
|
adjustLabelWidth() {
|
|
336
|
-
var
|
|
337
|
-
const
|
|
338
|
-
|
|
355
|
+
var _a, _b, _c, _d, _e, _f;
|
|
356
|
+
const labelWidth = ((_b = (_a = this.$el) == null ? void 0 : _a.querySelector(".dt-leftbar-row__primary")) == null ? void 0 : _b.clientWidth) || 0;
|
|
357
|
+
const omegaWidth = ((_d = (_c = this.$el) == null ? void 0 : _c.querySelector(".dt-leftbar-row__omega")) == null ? void 0 : _d.clientWidth) || 0;
|
|
358
|
+
const alphaWidth = ((_f = (_e = this.$el) == null ? void 0 : _e.querySelector(".dt-leftbar-row__alpha")) == null ? void 0 : _f.clientWidth) || 0;
|
|
359
|
+
const paddings = 16;
|
|
360
|
+
this.labelWidth = labelWidth - (omegaWidth + alphaWidth + paddings) + "px";
|
|
339
361
|
}
|
|
340
362
|
}
|
|
341
|
-
}
|
|
363
|
+
};
|
|
364
|
+
const _withScopeId = (n) => (pushScopeId("data-v-49d75ce6"), n = n(), popScopeId(), n);
|
|
365
|
+
const _hoisted_1 = ["data-qa", "aria-label", "title", "href"];
|
|
366
|
+
const _hoisted_2 = { class: "dt-leftbar-row__alpha" };
|
|
367
|
+
const _hoisted_3 = {
|
|
342
368
|
key: 0,
|
|
343
369
|
class: "dt-leftbar-row__is-typing"
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
370
|
+
};
|
|
371
|
+
const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, null, -1));
|
|
372
|
+
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, null, -1));
|
|
373
|
+
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, null, -1));
|
|
374
|
+
const _hoisted_7 = [
|
|
375
|
+
_hoisted_4,
|
|
376
|
+
_hoisted_5,
|
|
377
|
+
_hoisted_6
|
|
378
|
+
];
|
|
379
|
+
const _hoisted_8 = {
|
|
349
380
|
key: 0,
|
|
350
381
|
class: "dt-leftbar-row__omega"
|
|
351
|
-
}
|
|
382
|
+
};
|
|
383
|
+
const _hoisted_9 = {
|
|
352
384
|
key: 1,
|
|
353
385
|
class: "dt-leftbar-row__active-voice"
|
|
354
|
-
}
|
|
386
|
+
};
|
|
387
|
+
const _hoisted_10 = {
|
|
355
388
|
key: 3,
|
|
356
389
|
class: "dt-leftbar-row__action",
|
|
357
390
|
"data-qa": "dt-leftbar-row-action"
|
|
358
391
|
};
|
|
359
|
-
function
|
|
360
|
-
const
|
|
361
|
-
|
|
362
|
-
|
|
392
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
393
|
+
const _component_dt_recipe_leftbar_general_row_icon = resolveComponent("dt-recipe-leftbar-general-row-icon");
|
|
394
|
+
const _component_dt_emoji_text_wrapper = resolveComponent("dt-emoji-text-wrapper");
|
|
395
|
+
const _component_dt_tooltip = resolveComponent("dt-tooltip");
|
|
396
|
+
const _component_dt_icon = resolveComponent("dt-icon");
|
|
397
|
+
const _component_dt_badge = resolveComponent("dt-badge");
|
|
398
|
+
const _component_dt_button = resolveComponent("dt-button");
|
|
399
|
+
return openBlock(), createElementBlock("div", {
|
|
400
|
+
class: normalizeClass($options.leftbarGeneralRowClasses),
|
|
363
401
|
"data-qa": "dt-leftbar-row"
|
|
364
402
|
}, [
|
|
365
|
-
|
|
403
|
+
createElementVNode("a", mergeProps({
|
|
366
404
|
class: "dt-leftbar-row__primary",
|
|
367
|
-
"data-qa": "data-qa" in
|
|
368
|
-
"aria-label":
|
|
369
|
-
title:
|
|
370
|
-
href: "href" in
|
|
371
|
-
},
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
type:
|
|
376
|
-
color:
|
|
377
|
-
"icon-size":
|
|
405
|
+
"data-qa": "data-qa" in _ctx.$attrs ? _ctx.$attrs["data-qa"] : "dt-leftbar-row-link",
|
|
406
|
+
"aria-label": $options.getAriaLabel,
|
|
407
|
+
title: $props.description,
|
|
408
|
+
href: "href" in _ctx.$attrs ? _ctx.$attrs.href : "javascript:void(0)"
|
|
409
|
+
}, _ctx.$attrs, toHandlers($options.generalRowListeners, true)), [
|
|
410
|
+
createElementVNode("div", _hoisted_2, [
|
|
411
|
+
$props.isTyping ? (openBlock(), createElementBlock("div", _hoisted_3, _hoisted_7)) : renderSlot(_ctx.$slots, "left", { key: 1 }, () => [
|
|
412
|
+
createVNode(_component_dt_recipe_leftbar_general_row_icon, {
|
|
413
|
+
type: $options.getIcon,
|
|
414
|
+
color: $props.color,
|
|
415
|
+
"icon-size": $props.iconSize,
|
|
378
416
|
"data-qa": "dt-leftbar-row-icon"
|
|
379
417
|
}, null, 8, ["type", "color", "icon-size"])
|
|
380
|
-
],
|
|
418
|
+
], true)
|
|
381
419
|
]),
|
|
382
|
-
|
|
420
|
+
createElementVNode("div", {
|
|
383
421
|
class: "dt-leftbar-row__label",
|
|
384
|
-
style:
|
|
422
|
+
style: normalizeStyle(`flex-basis: ${$data.labelWidth}`)
|
|
385
423
|
}, [
|
|
386
|
-
|
|
387
|
-
|
|
424
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
425
|
+
createVNode(_component_dt_emoji_text_wrapper, {
|
|
388
426
|
class: "dt-leftbar-row__description",
|
|
389
427
|
"data-qa": "dt-leftbar-row-description",
|
|
390
428
|
size: "200"
|
|
391
429
|
}, {
|
|
392
|
-
default:
|
|
393
|
-
|
|
430
|
+
default: withCtx(() => [
|
|
431
|
+
createTextVNode(toDisplayString($props.description), 1)
|
|
394
432
|
]),
|
|
395
433
|
_: 1
|
|
396
434
|
})
|
|
397
|
-
],
|
|
435
|
+
], true)
|
|
398
436
|
], 4)
|
|
399
|
-
], 16,
|
|
400
|
-
|
|
401
|
-
|
|
437
|
+
], 16, _hoisted_1),
|
|
438
|
+
$options.hasActions ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
439
|
+
$props.dndText ? (openBlock(), createBlock(_component_dt_tooltip, {
|
|
402
440
|
key: 0,
|
|
403
441
|
placement: "top",
|
|
404
|
-
message:
|
|
442
|
+
message: $props.dndTextTooltip
|
|
405
443
|
}, {
|
|
406
|
-
anchor:
|
|
407
|
-
|
|
444
|
+
anchor: withCtx(() => [
|
|
445
|
+
createElementVNode("div", {
|
|
408
446
|
ref: "dt-leftbar-row-dnd",
|
|
409
447
|
class: "dt-leftbar-row__dnd",
|
|
410
448
|
"data-qa": "dt-leftbar-row-dnd"
|
|
411
|
-
},
|
|
449
|
+
}, toDisplayString($props.dndText), 513)
|
|
412
450
|
]),
|
|
413
451
|
_: 1
|
|
414
|
-
}, 8, ["message"])) :
|
|
415
|
-
|
|
416
|
-
|
|
452
|
+
}, 8, ["message"])) : createCommentVNode("", true),
|
|
453
|
+
$props.activeVoiceChat ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
454
|
+
createVNode(_component_dt_icon, {
|
|
417
455
|
size: "300",
|
|
418
456
|
name: "waveform"
|
|
419
457
|
})
|
|
420
|
-
])) :
|
|
458
|
+
])) : $options.showUnreadCount ? (openBlock(), createBlock(_component_dt_tooltip, {
|
|
421
459
|
key: 2,
|
|
422
|
-
message:
|
|
460
|
+
message: $props.unreadCountTooltip,
|
|
423
461
|
placement: "top"
|
|
424
462
|
}, {
|
|
425
|
-
anchor:
|
|
426
|
-
|
|
463
|
+
anchor: withCtx(() => [
|
|
464
|
+
createVNode(_component_dt_badge, {
|
|
427
465
|
kind: "count",
|
|
428
466
|
type: "bulletin",
|
|
429
467
|
"data-qa": "dt-leftbar-row-unread-badge",
|
|
430
468
|
class: "dt-leftbar-row__unread-badge"
|
|
431
469
|
}, {
|
|
432
|
-
default:
|
|
433
|
-
|
|
470
|
+
default: withCtx(() => [
|
|
471
|
+
createTextVNode(toDisplayString($props.unreadCount), 1)
|
|
434
472
|
]),
|
|
435
473
|
_: 1
|
|
436
474
|
})
|
|
437
475
|
]),
|
|
438
476
|
_: 1
|
|
439
|
-
}, 8, ["message"])) :
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
message:
|
|
477
|
+
}, 8, ["message"])) : createCommentVNode("", true),
|
|
478
|
+
$props.hasCallButton ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
479
|
+
createVNode(_component_dt_tooltip, {
|
|
480
|
+
message: $props.callButtonTooltip,
|
|
443
481
|
placement: "top"
|
|
444
482
|
}, {
|
|
445
|
-
anchor:
|
|
446
|
-
|
|
483
|
+
anchor: withCtx(() => [
|
|
484
|
+
createVNode(_component_dt_button, {
|
|
447
485
|
class: "dt-leftbar-row__action-button",
|
|
448
486
|
"data-qa": "dt-leftbar-row-action-call-button",
|
|
449
|
-
circle:
|
|
487
|
+
circle: true,
|
|
450
488
|
size: "xs",
|
|
451
489
|
kind: "inverted",
|
|
452
|
-
"aria-label":
|
|
453
|
-
onFocus:
|
|
454
|
-
onBlur:
|
|
455
|
-
onClick:
|
|
490
|
+
"aria-label": $props.callButtonTooltip,
|
|
491
|
+
onFocus: _cache[0] || (_cache[0] = ($event) => $data.actionFocused = true),
|
|
492
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => $data.actionFocused = false),
|
|
493
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.$emit("call", $event), ["stop"]))
|
|
456
494
|
}, {
|
|
457
|
-
icon:
|
|
458
|
-
|
|
495
|
+
icon: withCtx(() => [
|
|
496
|
+
createVNode(_component_dt_icon, {
|
|
459
497
|
name: "phone",
|
|
460
498
|
size: "200"
|
|
461
499
|
})
|
|
@@ -465,17 +503,17 @@ function re(e, r, a, C, i, o) {
|
|
|
465
503
|
]),
|
|
466
504
|
_: 1
|
|
467
505
|
}, 8, ["message"])
|
|
468
|
-
])) :
|
|
469
|
-
])) :
|
|
506
|
+
])) : createCommentVNode("", true)
|
|
507
|
+
])) : createCommentVNode("", true)
|
|
470
508
|
], 2);
|
|
471
509
|
}
|
|
472
|
-
const
|
|
510
|
+
const DtRecipeGeneralRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-49d75ce6"]]);
|
|
473
511
|
export {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
512
|
+
DtRecipeGeneralRow,
|
|
513
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
514
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR,
|
|
515
|
+
LEFTBAR_GENERAL_ROW_ICON_MAPPING,
|
|
516
|
+
LEFTBAR_GENERAL_ROW_ICON_SIZES,
|
|
517
|
+
LEFTBAR_GENERAL_ROW_TYPES
|
|
480
518
|
};
|
|
481
519
|
//# sourceMappingURL=general-row.js.map
|