@dialpad/dialtone-vue 2.127.0 → 2.127.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-vue2_normalizer-1aBeR4AK.js +59 -0
- package/dist/chunks/_plugin-vue2_normalizer-1aBeR4AK.js.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js +60 -0
- package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js.map +1 -0
- package/dist/chunks/{dropdown-SMWaTWyF.js → dropdown-DTtcQEFC.js} +131 -84
- package/dist/chunks/{dropdown-SMWaTWyF.js.map → dropdown-DTtcQEFC.js.map} +1 -1
- package/dist/chunks/dropdown-IaLNHmVd.js +403 -0
- package/dist/chunks/{dropdown-zhMEz3bn.js.map → dropdown-IaLNHmVd.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-DUr1xHR0.js +442 -0
- package/dist/chunks/{index-2jPosQBn.js.map → index-DUr1xHR0.js.map} +1 -1
- package/dist/chunks/index-IA-Z8fgm.js +441 -0
- package/dist/chunks/{index-nIyl_PL6.js.map → index-IA-Z8fgm.js.map} +1 -1
- package/dist/chunks/{input-1tm09l_-.js → input-6kbd8Pju.js} +83 -60
- package/dist/chunks/{input-o-fc1X4b.js.map → input-6kbd8Pju.js.map} +1 -1
- package/dist/chunks/input-Axw-wFj2.js +295 -0
- package/dist/chunks/{input-1tm09l_-.js.map → input-Axw-wFj2.js.map} +1 -1
- package/dist/chunks/input_group-m3cWYUfI.js +143 -0
- package/dist/chunks/{input_group-zcAq3DQl.js.map → input_group-m3cWYUfI.js.map} +1 -1
- package/dist/chunks/{input_group-zcAq3DQl.js → input_group-qVZaS5Bb.js} +27 -24
- package/dist/chunks/{input_group-j2gTtc1C.js.map → input_group-qVZaS5Bb.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-IRUoLX2d.js +196 -0
- package/dist/chunks/{notice_action-u3ZKIhit.js.map → notice_action-IRUoLX2d.js.map} +1 -1
- package/dist/chunks/notice_action-P6uDyE9x.js +195 -0
- package/dist/chunks/{notice_action-9NmtQRai.js.map → notice_action-P6uDyE9x.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-81bHIpPu.js +95 -0
- package/dist/chunks/{sr_only_close_button-ErijKGYR.js.map → sr_only_close_button-81bHIpPu.js.map} +1 -1
- package/dist/chunks/sr_only_close_button-ZaGdAHz7.js +94 -0
- package/dist/chunks/{sr_only_close_button-JGole5Xi.js.map → sr_only_close_button-ZaGdAHz7.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-FcsV5VmK.js +386 -0
- package/dist/chunks/{tab-7hJQSLFx.js.map → tab-FcsV5VmK.js.map} +1 -1
- package/dist/chunks/tab-V4cb44Ry.js +387 -0
- package/dist/chunks/{tab-Qm9LVkYj.js.map → tab-V4cb44Ry.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 +237 -0
- package/dist/{lib → common}/utils.cjs.map +1 -1
- package/dist/common/utils.js +237 -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 +372 -1
- package/dist/dialtone-vue.cjs.map +1 -1
- package/dist/dialtone-vue.js +325 -324
- package/dist/dialtone-vue.js.map +1 -1
- package/dist/lib/attachment-carousel.cjs +260 -1
- package/dist/lib/attachment-carousel.cjs.map +1 -1
- package/dist/lib/attachment-carousel.js +96 -84
- package/dist/lib/attachment-carousel.js.map +1 -1
- package/dist/lib/avatar.cjs +399 -1
- package/dist/lib/avatar.cjs.map +1 -1
- package/dist/lib/avatar.js +111 -79
- package/dist/lib/avatar.js.map +1 -1
- package/dist/lib/badge.cjs +182 -1
- package/dist/lib/badge.cjs.map +1 -1
- package/dist/lib/badge.js +53 -38
- package/dist/lib/badge.js.map +1 -1
- package/dist/lib/banner.cjs +209 -2
- package/dist/lib/banner.cjs.map +1 -1
- package/dist/lib/banner.js +58 -47
- package/dist/lib/banner.js.map +1 -1
- package/dist/lib/breadcrumbs.cjs +146 -1
- package/dist/lib/breadcrumbs.cjs.map +1 -1
- package/dist/lib/breadcrumbs.js +57 -48
- package/dist/lib/breadcrumbs.js.map +1 -1
- package/dist/lib/button-group.cjs +47 -1
- package/dist/lib/button-group.cjs.map +1 -1
- package/dist/lib/button-group.js +21 -18
- package/dist/lib/button-group.js.map +1 -1
- package/dist/lib/button.cjs +349 -1
- package/dist/lib/button.cjs.map +1 -1
- package/dist/lib/button.js +98 -76
- package/dist/lib/button.js.map +1 -1
- package/dist/lib/callbar-button-with-popover.cjs +249 -1
- package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/lib/callbar-button-with-popover.js +66 -50
- package/dist/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/lib/callbar-button.cjs +182 -1
- package/dist/lib/callbar-button.cjs.map +1 -1
- package/dist/lib/callbar-button.js +42 -34
- package/dist/lib/callbar-button.js.map +1 -1
- package/dist/lib/callbox.cjs +146 -1
- package/dist/lib/callbox.cjs.map +1 -1
- package/dist/lib/callbox.js +38 -32
- package/dist/lib/callbox.js.map +1 -1
- package/dist/lib/card.cjs +73 -1
- package/dist/lib/card.cjs.map +1 -1
- package/dist/lib/card.js +22 -20
- package/dist/lib/card.js.map +1 -1
- package/dist/lib/checkbox-group.cjs +129 -1
- package/dist/lib/checkbox-group.cjs.map +1 -1
- package/dist/lib/checkbox-group.js +42 -29
- package/dist/lib/checkbox-group.js.map +1 -1
- package/dist/lib/checkbox.cjs +127 -1
- package/dist/lib/checkbox.cjs.map +1 -1
- package/dist/lib/checkbox.js +46 -35
- package/dist/lib/checkbox.js.map +1 -1
- package/dist/lib/chip.cjs +198 -1
- package/dist/lib/chip.cjs.map +1 -1
- package/dist/lib/chip.js +59 -45
- package/dist/lib/chip.js.map +1 -1
- package/dist/lib/codeblock.cjs +29 -2
- package/dist/lib/codeblock.cjs.map +1 -1
- package/dist/lib/codeblock.js +15 -14
- package/dist/lib/codeblock.js.map +1 -1
- package/dist/lib/collapsible.cjs +334 -1
- package/dist/lib/collapsible.cjs.map +1 -1
- package/dist/lib/collapsible.js +91 -68
- package/dist/lib/collapsible.js.map +1 -1
- package/dist/lib/combobox-multi-select.cjs +519 -1
- package/dist/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/lib/combobox-multi-select.js +223 -136
- package/dist/lib/combobox-multi-select.js.map +1 -1
- package/dist/lib/combobox-with-popover.cjs +384 -1
- package/dist/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/lib/combobox-with-popover.js +130 -86
- 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 +145 -1
- package/dist/lib/contact-info.cjs.map +1 -1
- package/dist/lib/contact-info.js +34 -32
- package/dist/lib/contact-info.js.map +1 -1
- package/dist/lib/contact-row.cjs +205 -1
- package/dist/lib/contact-row.cjs.map +1 -1
- package/dist/lib/contact-row.js +42 -39
- package/dist/lib/contact-row.js.map +1 -1
- package/dist/lib/datepicker.cjs +662 -1
- package/dist/lib/datepicker.cjs.map +1 -1
- package/dist/lib/datepicker.js +330 -218
- package/dist/lib/datepicker.js.map +1 -1
- package/dist/lib/description-list.cjs +114 -1
- package/dist/lib/description-list.cjs.map +1 -1
- package/dist/lib/description-list.js +51 -19
- package/dist/lib/description-list.js.map +1 -1
- package/dist/lib/dropdown.cjs +45 -1
- package/dist/lib/dropdown.cjs.map +1 -1
- package/dist/lib/dropdown.js +27 -25
- package/dist/lib/dropdown.js.map +1 -1
- package/dist/lib/editor.cjs +555 -1
- package/dist/lib/editor.cjs.map +1 -1
- package/dist/lib/editor.js +191 -162
- package/dist/lib/editor.js.map +1 -1
- package/dist/lib/emoji-picker.cjs +1063 -1
- package/dist/lib/emoji-picker.cjs.map +1 -1
- package/dist/lib/emoji-picker.js +638 -374
- package/dist/lib/emoji-picker.js.map +1 -1
- package/dist/lib/emoji-row.cjs +88 -1
- package/dist/lib/emoji-row.cjs.map +1 -1
- package/dist/lib/emoji-row.js +46 -40
- package/dist/lib/emoji-row.js.map +1 -1
- package/dist/lib/emoji-text-wrapper.cjs +109 -1
- package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/lib/emoji-text-wrapper.js +49 -35
- package/dist/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/lib/emoji.cjs +145 -1
- package/dist/lib/emoji.cjs.map +1 -1
- package/dist/lib/emoji.js +140 -5
- package/dist/lib/emoji.js.map +1 -1
- package/dist/lib/feed-item-row.cjs +213 -1
- package/dist/lib/feed-item-row.cjs.map +1 -1
- package/dist/lib/feed-item-row.js +71 -63
- package/dist/lib/feed-item-row.js.map +1 -1
- package/dist/lib/feed-pill.cjs +149 -1
- package/dist/lib/feed-pill.cjs.map +1 -1
- package/dist/lib/feed-pill.js +60 -51
- package/dist/lib/feed-pill.js.map +1 -1
- package/dist/lib/general-row.cjs +405 -1
- package/dist/lib/general-row.cjs.map +1 -1
- package/dist/lib/general-row.js +133 -106
- package/dist/lib/general-row.js.map +1 -1
- package/dist/lib/group-row.cjs +117 -1
- package/dist/lib/group-row.cjs.map +1 -1
- package/dist/lib/group-row.js +33 -30
- package/dist/lib/group-row.js.map +1 -1
- package/dist/lib/grouped-chip.cjs +45 -1
- package/dist/lib/grouped-chip.cjs.map +1 -1
- package/dist/lib/grouped-chip.js +28 -26
- package/dist/lib/grouped-chip.js.map +1 -1
- package/dist/lib/hovercard.cjs +227 -1
- package/dist/lib/hovercard.cjs.map +1 -1
- package/dist/lib/hovercard.js +98 -63
- package/dist/lib/hovercard.js.map +1 -1
- package/dist/lib/icon.cjs +59 -1
- package/dist/lib/icon.cjs.map +1 -1
- package/dist/lib/icon.js +22 -20
- package/dist/lib/icon.js.map +1 -1
- package/dist/lib/image-viewer.cjs +190 -1
- package/dist/lib/image-viewer.cjs.map +1 -1
- package/dist/lib/image-viewer.js +83 -62
- 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 +29 -27
- package/dist/lib/input-group.js.map +1 -1
- package/dist/lib/input.cjs +492 -1
- package/dist/lib/input.cjs.map +1 -1
- package/dist/lib/input.js +127 -89
- package/dist/lib/input.js.map +1 -1
- package/dist/lib/item-layout.cjs +40 -1
- package/dist/lib/item-layout.cjs.map +1 -1
- package/dist/lib/item-layout.js +15 -13
- package/dist/lib/item-layout.js.map +1 -1
- package/dist/lib/ivr-node.cjs +209 -1
- package/dist/lib/ivr-node.cjs.map +1 -1
- package/dist/lib/ivr-node.js +115 -99
- package/dist/lib/ivr-node.js.map +1 -1
- package/dist/lib/keyboard-shortcut.cjs +106 -1
- package/dist/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/lib/keyboard-shortcut.js +42 -34
- package/dist/lib/keyboard-shortcut.js.map +1 -1
- package/dist/lib/lazy-show.cjs +80 -1
- package/dist/lib/lazy-show.cjs.map +1 -1
- package/dist/lib/lazy-show.js +20 -16
- package/dist/lib/lazy-show.js.map +1 -1
- package/dist/lib/link.cjs +70 -1
- package/dist/lib/link.cjs.map +1 -1
- package/dist/lib/link.js +22 -20
- package/dist/lib/link.js.map +1 -1
- package/dist/lib/list-item-group.cjs +60 -1
- package/dist/lib/list-item-group.cjs.map +1 -1
- package/dist/lib/list-item-group.js +19 -17
- package/dist/lib/list-item-group.js.map +1 -1
- package/dist/lib/list-item.cjs +204 -1
- package/dist/lib/list-item.cjs.map +1 -1
- package/dist/lib/list-item.js +67 -56
- package/dist/lib/list-item.js.map +1 -1
- package/dist/lib/message-input.cjs +554 -1
- package/dist/lib/message-input.cjs.map +1 -1
- package/dist/lib/message-input.js +174 -152
- package/dist/lib/message-input.js.map +1 -1
- package/dist/lib/modal.cjs +350 -2
- package/dist/lib/modal.cjs.map +1 -1
- package/dist/lib/modal.js +118 -90
- package/dist/lib/modal.js.map +1 -1
- package/dist/lib/notice.cjs +159 -1
- package/dist/lib/notice.cjs.map +1 -1
- package/dist/lib/notice.js +46 -43
- package/dist/lib/notice.js.map +1 -1
- package/dist/lib/pagination.cjs +152 -1
- package/dist/lib/pagination.cjs.map +1 -1
- package/dist/lib/pagination.js +60 -48
- package/dist/lib/pagination.js.map +1 -1
- package/dist/lib/popover.cjs +956 -1
- package/dist/lib/popover.cjs.map +1 -1
- package/dist/lib/popover.js +401 -221
- package/dist/lib/popover.js.map +1 -1
- package/dist/lib/presence.cjs +65 -1
- package/dist/lib/presence.cjs.map +1 -1
- package/dist/lib/presence.js +32 -26
- package/dist/lib/presence.js.map +1 -1
- package/dist/lib/radio-group.cjs +98 -1
- package/dist/lib/radio-group.cjs.map +1 -1
- package/dist/lib/radio-group.js +24 -22
- package/dist/lib/radio-group.js.map +1 -1
- package/dist/lib/radio.cjs +118 -1
- package/dist/lib/radio.cjs.map +1 -1
- package/dist/lib/radio.js +43 -35
- package/dist/lib/radio.js.map +1 -1
- package/dist/lib/rich-text-editor.cjs +1138 -1
- package/dist/lib/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor.js +574 -387
- package/dist/lib/rich-text-editor.js.map +1 -1
- package/dist/lib/root-layout.cjs +130 -1
- package/dist/lib/root-layout.cjs.map +1 -1
- package/dist/lib/root-layout.js +28 -24
- package/dist/lib/root-layout.js.map +1 -1
- package/dist/lib/select-menu.cjs +282 -1
- package/dist/lib/select-menu.cjs.map +1 -1
- package/dist/lib/select-menu.js +101 -61
- package/dist/lib/select-menu.js.map +1 -1
- package/dist/lib/settings-menu-button.cjs +65 -1
- package/dist/lib/settings-menu-button.cjs.map +1 -1
- package/dist/lib/settings-menu-button.js +26 -24
- package/dist/lib/settings-menu-button.js.map +1 -1
- package/dist/lib/skeleton.cjs +612 -1
- package/dist/lib/skeleton.cjs.map +1 -1
- package/dist/lib/skeleton.js +174 -135
- package/dist/lib/skeleton.js.map +1 -1
- package/dist/lib/stack.cjs +127 -1
- package/dist/lib/stack.cjs.map +1 -1
- package/dist/lib/stack.js +66 -56
- package/dist/lib/stack.js.map +1 -1
- package/dist/lib/tabs.cjs +99 -1
- package/dist/lib/tabs.cjs.map +1 -1
- package/dist/lib/tabs.js +42 -35
- package/dist/lib/tabs.js.map +1 -1
- package/dist/lib/time-pill.cjs +47 -1
- package/dist/lib/time-pill.cjs.map +1 -1
- package/dist/lib/time-pill.js +21 -16
- package/dist/lib/time-pill.js.map +1 -1
- package/dist/lib/toast.cjs +247 -1
- package/dist/lib/toast.cjs.map +1 -1
- package/dist/lib/toast.js +78 -55
- package/dist/lib/toast.js.map +1 -1
- package/dist/lib/toggle.cjs +177 -1
- package/dist/lib/toggle.cjs.map +1 -1
- package/dist/lib/toggle.js +46 -37
- package/dist/lib/toggle.js.map +1 -1
- package/dist/lib/tooltip-directive.cjs +87 -1
- package/dist/lib/tooltip-directive.cjs.map +1 -1
- package/dist/lib/tooltip-directive.js +55 -41
- package/dist/lib/tooltip-directive.js.map +1 -1
- package/dist/lib/tooltip.cjs +436 -1
- package/dist/lib/tooltip.cjs.map +1 -1
- package/dist/lib/tooltip.js +152 -90
- package/dist/lib/tooltip.js.map +1 -1
- package/dist/lib/top-banner-info.cjs +63 -1
- package/dist/lib/top-banner-info.cjs.map +1 -1
- package/dist/lib/top-banner-info.js +22 -18
- package/dist/lib/top-banner-info.js.map +1 -1
- package/dist/lib/unread-pill.cjs +63 -1
- package/dist/lib/unread-pill.cjs.map +1 -1
- package/dist/lib/unread-pill.js +25 -21
- package/dist/lib/unread-pill.js.map +1 -1
- package/dist/lib/validation-messages.cjs +85 -1
- package/dist/lib/validation-messages.cjs.map +1 -1
- package/dist/lib/validation-messages.js +32 -29
- package/dist/lib/validation-messages.js.map +1 -1
- package/dist/style.css +1214 -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 +31 -30
- package/dist/chunks/_plugin-vue2_normalizer-ZK80B3OL.js +0 -2
- package/dist/chunks/_plugin-vue2_normalizer-ZK80B3OL.js.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.js +0 -33
- package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.js.map +0 -1
- package/dist/chunks/dropdown-zhMEz3bn.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-2jPosQBn.js +0 -3
- package/dist/chunks/index-YkSDT8-g.js +0 -244
- package/dist/chunks/index-YkSDT8-g.js.map +0 -1
- package/dist/chunks/index-nIyl_PL6.js +0 -372
- package/dist/chunks/index-sdfB7Aok.js +0 -2
- package/dist/chunks/index-sdfB7Aok.js.map +0 -1
- package/dist/chunks/input-o-fc1X4b.js +0 -2
- package/dist/chunks/input_group-j2gTtc1C.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-9NmtQRai.js +0 -182
- package/dist/chunks/notice_action-u3ZKIhit.js +0 -2
- 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-ErijKGYR.js +0 -3
- package/dist/chunks/sr_only_close_button-JGole5Xi.js +0 -86
- package/dist/chunks/stack_constants-m9Ickqw0.js +0 -2
- package/dist/chunks/stack_constants-u7tNqGtc.js +0 -13
- package/dist/chunks/tab-7hJQSLFx.js +0 -2
- package/dist/chunks/tab-Qm9LVkYj.js +0 -346
- 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 -175
- package/dist/lib/validators.cjs +0 -2
- package/dist/lib/validators.js +0 -12
- /package/dist/{lib → common}/mixins.js.map +0 -0
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
const o = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', r = `${o}:not([tabindex="-1"])`, a = "button,[href],input,select,textarea,details,[tabindex]", c = {
|
|
2
|
-
methods: {
|
|
3
|
-
/**
|
|
4
|
-
* get the first focusable element in your component, includes tabindex="-1".
|
|
5
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
6
|
-
* will default to the root node of the vue component
|
|
7
|
-
*/
|
|
8
|
-
async getFirstFocusableElement(e) {
|
|
9
|
-
await this.$nextTick();
|
|
10
|
-
const t = this._getFocusableElements(e, !0);
|
|
11
|
-
return this._getFirstFocusElement(t);
|
|
12
|
-
},
|
|
13
|
-
/**
|
|
14
|
-
* set focus to the first focusable element in your component, includes tabindex="-1".
|
|
15
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
16
|
-
* will default to the root node of the vue component
|
|
17
|
-
*/
|
|
18
|
-
async focusFirstElement(e = this.$el) {
|
|
19
|
-
const t = await this.getFirstFocusableElement(e);
|
|
20
|
-
t == null || t.focus({ preventScroll: !0 });
|
|
21
|
-
},
|
|
22
|
-
async focusElementById(e) {
|
|
23
|
-
var s;
|
|
24
|
-
await this.$nextTick();
|
|
25
|
-
const t = (s = this.$el) == null ? void 0 : s.querySelector(e);
|
|
26
|
-
if (t) {
|
|
27
|
-
t.focus();
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'), await this.focusFirstElement();
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* internal use only.
|
|
34
|
-
*
|
|
35
|
-
* @param focusableElements - list of focusable elements
|
|
36
|
-
* @returns {*} - first DOM element that is focusable.
|
|
37
|
-
* @private
|
|
38
|
-
*/
|
|
39
|
-
_getFirstFocusElement(e) {
|
|
40
|
-
if (!e.length)
|
|
41
|
-
return;
|
|
42
|
-
let t = e[0];
|
|
43
|
-
return t.matches('[type="radio"]:not(:checked)') && (t = e.find((s) => s.checked && s.name === t.name) || t), t;
|
|
44
|
-
},
|
|
45
|
-
/**
|
|
46
|
-
* internal use only.
|
|
47
|
-
*
|
|
48
|
-
* gets all the focusable elements within the component
|
|
49
|
-
* and sets the first and last of those elements.
|
|
50
|
-
*
|
|
51
|
-
* @param {object} el - the root dom element to find focusable elements in.
|
|
52
|
-
* @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
|
|
53
|
-
*/
|
|
54
|
-
_getFocusableElements(e = this.$el, t = !1) {
|
|
55
|
-
return e ? [...e.querySelectorAll(a)].filter((n) => {
|
|
56
|
-
const i = window.getComputedStyle(n);
|
|
57
|
-
return i.getPropertyValue("display") !== "none" && i.getPropertyValue("visibility") !== "hidden" && n.matches(t ? o : r);
|
|
58
|
-
}) : [];
|
|
59
|
-
},
|
|
60
|
-
/**
|
|
61
|
-
* tabs to the next element contained within your component, does not include tabindex="-1".
|
|
62
|
-
* @param {object} e - keypress event
|
|
63
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
64
|
-
* will default to the root node of the vue component
|
|
65
|
-
*/
|
|
66
|
-
focusTrappedTabPress(e, t) {
|
|
67
|
-
if (!(e.key === "Tab"))
|
|
68
|
-
return;
|
|
69
|
-
const n = this._getFocusableElements(t);
|
|
70
|
-
if (!n.length) {
|
|
71
|
-
e.preventDefault();
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
const i = this._getFirstFocusElement(n), l = n[n.length - 1];
|
|
75
|
-
e.shiftKey ? document.activeElement === i && (l.focus(), e.preventDefault()) : document.activeElement === l && (i.focus(), e.preventDefault());
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
export {
|
|
80
|
-
c as M
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=modal-VuMFkZFH.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])',r=`${o}:not([tabindex="-1"])`,a="button,[href],input,select,textarea,details,[tabindex]",c={methods:{async getFirstFocusableElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0);return this._getFirstFocusElement(t)},async focusFirstElement(e=this.$el){const t=await this.getFirstFocusableElement(e);t==null||t.focus({preventScroll:!0})},async focusElementById(e){var s;await this.$nextTick();const t=(s=this.$el)==null?void 0:s.querySelector(e);if(t){t.focus();return}console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'),await this.focusFirstElement()},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find(s=>s.checked&&s.name===t.name)||t),t},_getFocusableElements(e=this.$el,t=!1){return e?[...e.querySelectorAll(a)].filter(n=>{const i=window.getComputedStyle(n);return i.getPropertyValue("display")!=="none"&&i.getPropertyValue("visibility")!=="hidden"&&n.matches(t?o:r)}):[]},focusTrappedTabPress(e,t){if(!(e.key==="Tab"))return;const n=this._getFocusableElements(t);if(!n.length){e.preventDefault();return}const i=this._getFirstFocusElement(n),l=n[n.length-1];e.shiftKey?document.activeElement===i&&(l.focus(),e.preventDefault()):document.activeElement===l&&(i.focus(),e.preventDefault())}}};exports.M=c;
|
|
2
|
-
//# sourceMappingURL=modal-qEzlo0Sj.js.map
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { N as i } from "./notice_constants-c--hBFQw.js";
|
|
2
|
-
import { n as o } from "./_plugin-vue2_normalizer-u6G_3nkj.js";
|
|
3
|
-
import { DtIcon as s } from "../lib/icon.js";
|
|
4
|
-
import { S as l, a } from "./sr_only_close_button-JGole5Xi.js";
|
|
5
|
-
import { DtButton as c } from "../lib/button.js";
|
|
6
|
-
const r = /* @__PURE__ */ new Map([
|
|
7
|
-
["info", "info"],
|
|
8
|
-
["success", "check-circle"],
|
|
9
|
-
["warning", "alert-triangle"],
|
|
10
|
-
["error", "alert-circle"],
|
|
11
|
-
["base", "bell"]
|
|
12
|
-
]), d = {
|
|
13
|
-
name: "DtNoticeIcon",
|
|
14
|
-
components: {
|
|
15
|
-
DtIcon: s
|
|
16
|
-
},
|
|
17
|
-
props: {
|
|
18
|
-
/**
|
|
19
|
-
* Kind of icon
|
|
20
|
-
* @values base, error, info, success, warning
|
|
21
|
-
*/
|
|
22
|
-
kind: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: "base",
|
|
25
|
-
validate(n) {
|
|
26
|
-
return i.includes(n);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
computed: {
|
|
31
|
-
defaultIcon() {
|
|
32
|
-
return r.get(this.kind);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
var u = function() {
|
|
37
|
-
var t = this, e = t._self._c;
|
|
38
|
-
return t.defaultIcon || t.$slots.default ? e("div", { staticClass: "d-notice__icon", attrs: { "aria-hidden": "true" } }, [t._t("default", function() {
|
|
39
|
-
return [e("dt-icon", { attrs: { name: t.defaultIcon, size: "400" } })];
|
|
40
|
-
})], 2) : t._e();
|
|
41
|
-
}, _ = [], f = /* @__PURE__ */ o(
|
|
42
|
-
d,
|
|
43
|
-
u,
|
|
44
|
-
_,
|
|
45
|
-
!1,
|
|
46
|
-
null,
|
|
47
|
-
null,
|
|
48
|
-
null,
|
|
49
|
-
null
|
|
50
|
-
);
|
|
51
|
-
const S = f.exports, p = {
|
|
52
|
-
name: "DtNoticeContent",
|
|
53
|
-
props: {
|
|
54
|
-
/**
|
|
55
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
56
|
-
*/
|
|
57
|
-
title: {
|
|
58
|
-
type: String,
|
|
59
|
-
default: ""
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* ID for the title element of the component. Useful for aria-describedby
|
|
63
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
64
|
-
*/
|
|
65
|
-
titleId: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: void 0
|
|
68
|
-
},
|
|
69
|
-
/**
|
|
70
|
-
* ID for the content element of the component. Useful for aria-describedby
|
|
71
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
72
|
-
*/
|
|
73
|
-
contentId: {
|
|
74
|
-
type: String,
|
|
75
|
-
default: void 0
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
var m = function() {
|
|
80
|
-
var t = this, e = t._self._c;
|
|
81
|
-
return e("div", { staticClass: "d-notice__content", attrs: { "data-qa": "notice-content" } }, [t.title || t.$slots.titleOverride ? e("p", { staticClass: "d-notice__title", attrs: { id: t.titleId, "data-qa": "notice-content-title" } }, [t._t("titleOverride", function() {
|
|
82
|
-
return [t._v(" " + t._s(t.title) + " ")];
|
|
83
|
-
})], 2) : t._e(), e("p", { staticClass: "d-notice__message", attrs: { id: t.contentId, "data-qa": "notice-content-message" } }, [t._t("default")], 2)]);
|
|
84
|
-
}, v = [], h = /* @__PURE__ */ o(
|
|
85
|
-
p,
|
|
86
|
-
m,
|
|
87
|
-
v,
|
|
88
|
-
!1,
|
|
89
|
-
null,
|
|
90
|
-
null,
|
|
91
|
-
null,
|
|
92
|
-
null
|
|
93
|
-
);
|
|
94
|
-
const k = h.exports, b = {
|
|
95
|
-
name: "DtNoticeAction",
|
|
96
|
-
components: {
|
|
97
|
-
DtIcon: s,
|
|
98
|
-
DtButton: c,
|
|
99
|
-
SrOnlyCloseButton: l
|
|
100
|
-
},
|
|
101
|
-
mixins: [a],
|
|
102
|
-
props: {
|
|
103
|
-
/**
|
|
104
|
-
* Props for the notice close button.
|
|
105
|
-
*/
|
|
106
|
-
closeButtonProps: {
|
|
107
|
-
type: Object,
|
|
108
|
-
default: () => ({})
|
|
109
|
-
},
|
|
110
|
-
/**
|
|
111
|
-
* Hides the close button from the notice
|
|
112
|
-
* @values true, false
|
|
113
|
-
*/
|
|
114
|
-
hideClose: {
|
|
115
|
-
type: Boolean,
|
|
116
|
-
default: !1
|
|
117
|
-
},
|
|
118
|
-
/**
|
|
119
|
-
* Hides the action from the notice
|
|
120
|
-
* @values true, false
|
|
121
|
-
*/
|
|
122
|
-
hideAction: {
|
|
123
|
-
type: Boolean,
|
|
124
|
-
default: !1
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
emits: [
|
|
128
|
-
/**
|
|
129
|
-
* Close button click event
|
|
130
|
-
*
|
|
131
|
-
* @event close
|
|
132
|
-
*/
|
|
133
|
-
"close"
|
|
134
|
-
],
|
|
135
|
-
computed: {
|
|
136
|
-
noticeActionListeners() {
|
|
137
|
-
return {
|
|
138
|
-
...this.$listeners,
|
|
139
|
-
click: (n) => {
|
|
140
|
-
this.close(), this.$emit("click", n);
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
created() {
|
|
146
|
-
!this.hideClose && !this.closeButtonProps.ariaLabel && console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.");
|
|
147
|
-
},
|
|
148
|
-
mounted() {
|
|
149
|
-
this.hideClose || (this.lastFocusedElement = document.activeElement);
|
|
150
|
-
},
|
|
151
|
-
beforeDestroy() {
|
|
152
|
-
var n;
|
|
153
|
-
(n = this.lastFocusedElement) == null || n.focus();
|
|
154
|
-
},
|
|
155
|
-
methods: {
|
|
156
|
-
close() {
|
|
157
|
-
this.$emit("close");
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
var y = function() {
|
|
162
|
-
var t = this, e = t._self._c;
|
|
163
|
-
return e("div", { staticClass: "d-notice__actions", attrs: { "data-qa": "notice-content-actions" } }, [t.hideAction ? t._e() : t._t("default"), t.hideClose ? t._e() : e("dt-button", t._g(t._b({ ref: "closeButton", attrs: { "data-qa": "dt-notice-action-close-button", size: "sm", importance: "clear", circle: "", "aria-label": t.closeButtonProps.ariaLabel ? t.closeButtonProps.ariaLabel : "Close" }, scopedSlots: t._u([{ key: "icon", fn: function() {
|
|
164
|
-
return [e("dt-icon", { attrs: { name: "close", size: "200" } })];
|
|
165
|
-
}, proxy: !0 }], null, !1, 1154370889) }, "dt-button", t.closeButtonProps, !1), t.noticeActionListeners)), t.showVisuallyHiddenClose ? e("sr-only-close-button", { attrs: { "visually-hidden-close-label": t.visuallyHiddenCloseLabel }, on: { close: t.close } }) : t._e()], 2);
|
|
166
|
-
}, C = [], I = /* @__PURE__ */ o(
|
|
167
|
-
b,
|
|
168
|
-
y,
|
|
169
|
-
C,
|
|
170
|
-
!1,
|
|
171
|
-
null,
|
|
172
|
-
null,
|
|
173
|
-
null,
|
|
174
|
-
null
|
|
175
|
-
);
|
|
176
|
-
const x = I.exports;
|
|
177
|
-
export {
|
|
178
|
-
x as D,
|
|
179
|
-
S as a,
|
|
180
|
-
k as b
|
|
181
|
-
};
|
|
182
|
-
//# sourceMappingURL=notice_action-9NmtQRai.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./notice_constants-mC6al2Dm.js"),o=require("./_plugin-vue2_normalizer-ZK80B3OL.js"),i=require("../lib/icon.cjs"),s=require("./sr_only_close_button-ErijKGYR.js"),l=require("../lib/button.cjs"),a=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),r={name:"DtNoticeIcon",components:{DtIcon:i.DtIcon},props:{kind:{type:String,default:"base",validate(n){return c.N.includes(n)}}},computed:{defaultIcon(){return a.get(this.kind)}}};var u=function(){var t=this,e=t._self._c;return t.defaultIcon||t.$slots.default?e("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[t._t("default",function(){return[e("dt-icon",{attrs:{name:t.defaultIcon,size:"400"}})]})],2):t._e()},d=[],_=o.n(r,u,d,!1,null,null,null,null);const f=_.exports,p={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}};var m=function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[t.title||t.$slots.titleOverride?e("p",{staticClass:"d-notice__title",attrs:{id:t.titleId,"data-qa":"notice-content-title"}},[t._t("titleOverride",function(){return[t._v(" "+t._s(t.title)+" ")]})],2):t._e(),e("p",{staticClass:"d-notice__message",attrs:{id:t.contentId,"data-qa":"notice-content-message"}},[t._t("default")],2)])},v=[],h=o.n(p,m,v,!1,null,null,null,null);const b=h.exports,y={name:"DtNoticeAction",components:{DtIcon:i.DtIcon,DtButton:l.DtButton,SrOnlyCloseButton:s.S},mixins:[s.a],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideAction:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:n=>{this.close(),this.$emit("click",n)}}}},created(){!this.hideClose&&!this.closeButtonProps.ariaLabel&&console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeDestroy(){var n;(n=this.lastFocusedElement)==null||n.focus()},methods:{close(){this.$emit("close")}}};var C=function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[t.hideAction?t._e():t._t("default"),t.hideClose?t._e():e("dt-button",t._g(t._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",t.closeButtonProps,!1),t.noticeActionListeners)),t.showVisuallyHiddenClose?e("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],2)},I=[],D=o.n(y,C,I,!1,null,null,null,null);const $=D.exports;exports.D=$;exports.a=f;exports.b=b;
|
|
2
|
-
//# sourceMappingURL=notice_action-u3ZKIhit.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("tippy.js"),c=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),i=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],d=[!0,!1,"reference","popper"],O=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,s(e,{...t,plugins:[s.sticky],render:()=>p(n)})},_=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},c(({state:l})=>{n(l.placement)})]}),E=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},P=e=>{const t=e==null?void 0:e.children[0];return t||E(e)},p=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},T=[...i],I=300,a={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},m=[...d],S=[!0,!1,"toggle"],u={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},A={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},f=["dialog","menu","listbox","tree","grid"],g=["","anchor"],R=["none","dialog","first"],D=["parent","body"],C=[...d],L=[...i];exports.P=u;exports.T=T;exports.a=A;exports.b=f;exports.c=g;exports.d=R;exports.e=D;exports.f=C;exports.g=L;exports.h=I;exports.i=a;exports.j=m;exports.k=S;exports.l=_;exports.m=P;exports.n=O;
|
|
2
|
-
//# sourceMappingURL=popover_constants-hOEhklvr.js.map
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import a, { sticky as l } from "tippy.js";
|
|
2
|
-
const c = (e) => ({
|
|
3
|
-
name: "arrowDetected",
|
|
4
|
-
enabled: !0,
|
|
5
|
-
phase: "main",
|
|
6
|
-
fn: e,
|
|
7
|
-
requiresIfExists: ["offset"]
|
|
8
|
-
}), o = [
|
|
9
|
-
"bottom",
|
|
10
|
-
"bottom-start",
|
|
11
|
-
"bottom-end",
|
|
12
|
-
"right",
|
|
13
|
-
"right-start",
|
|
14
|
-
"right-end",
|
|
15
|
-
"left",
|
|
16
|
-
"left-start",
|
|
17
|
-
"left-end",
|
|
18
|
-
"top",
|
|
19
|
-
"top-start",
|
|
20
|
-
"top-end"
|
|
21
|
-
], d = [!0, !1, "reference", "popper"], E = (e, t) => {
|
|
22
|
-
const { contentElement: n } = { ...t };
|
|
23
|
-
return delete t.contentElement, a(e, {
|
|
24
|
-
...t,
|
|
25
|
-
plugins: [l],
|
|
26
|
-
render: () => p(n)
|
|
27
|
-
});
|
|
28
|
-
}, P = ({
|
|
29
|
-
boundary: e = "clippingParents",
|
|
30
|
-
fallbackPlacements: t = [],
|
|
31
|
-
onChangePlacement: n = () => {
|
|
32
|
-
},
|
|
33
|
-
hasHideModifierEnabled: i = !1,
|
|
34
|
-
// If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
35
|
-
// if set to true it will never move from its position relative to the anchor and will clip instead.
|
|
36
|
-
tether: s = !0
|
|
37
|
-
} = {}) => ({
|
|
38
|
-
modifiers: [
|
|
39
|
-
{
|
|
40
|
-
name: "flip",
|
|
41
|
-
options: {
|
|
42
|
-
fallbackPlacements: t,
|
|
43
|
-
boundary: e
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "hide",
|
|
48
|
-
enabled: i
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "preventOverflow",
|
|
52
|
-
options: {
|
|
53
|
-
altAxis: !s,
|
|
54
|
-
tether: s
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
c(({ state: r }) => {
|
|
58
|
-
n(r.placement);
|
|
59
|
-
})
|
|
60
|
-
]
|
|
61
|
-
}), O = (e) => {
|
|
62
|
-
const t = document.createElement("span");
|
|
63
|
-
return t.innerText = e.innerText || "", e.innerText = "", e.appendChild(t), t;
|
|
64
|
-
}, T = (e) => {
|
|
65
|
-
const t = e == null ? void 0 : e.children[0];
|
|
66
|
-
return t || O(e);
|
|
67
|
-
}, p = (e) => {
|
|
68
|
-
const t = document.createElement("div");
|
|
69
|
-
return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
|
|
70
|
-
popper: t
|
|
71
|
-
};
|
|
72
|
-
}, I = [
|
|
73
|
-
...o
|
|
74
|
-
], m = 300, S = {
|
|
75
|
-
hover: "d-tooltip--hover",
|
|
76
|
-
show: "d-tooltip--show",
|
|
77
|
-
inverted: "d-tooltip--inverted",
|
|
78
|
-
hide: "d-tooltip--hide"
|
|
79
|
-
}, u = [
|
|
80
|
-
...d
|
|
81
|
-
], f = [!0, !1, "toggle"], A = {
|
|
82
|
-
none: void 0,
|
|
83
|
-
small: "d-p4",
|
|
84
|
-
medium: "d-p8",
|
|
85
|
-
large: "d-p16"
|
|
86
|
-
}, g = {
|
|
87
|
-
none: void 0,
|
|
88
|
-
small: "d-pl4",
|
|
89
|
-
medium: "d-pl8",
|
|
90
|
-
large: "d-pl16"
|
|
91
|
-
}, R = ["dialog", "menu", "listbox", "tree", "grid"], D = ["", "anchor"], C = ["none", "dialog", "first"], L = ["parent", "body"], N = [
|
|
92
|
-
...d
|
|
93
|
-
], V = [
|
|
94
|
-
...o
|
|
95
|
-
];
|
|
96
|
-
export {
|
|
97
|
-
A as P,
|
|
98
|
-
I as T,
|
|
99
|
-
g as a,
|
|
100
|
-
R as b,
|
|
101
|
-
D as c,
|
|
102
|
-
C as d,
|
|
103
|
-
L as e,
|
|
104
|
-
N as f,
|
|
105
|
-
V as g,
|
|
106
|
-
m as h,
|
|
107
|
-
S as i,
|
|
108
|
-
u as j,
|
|
109
|
-
f as k,
|
|
110
|
-
P as l,
|
|
111
|
-
T as m,
|
|
112
|
-
E as n
|
|
113
|
-
};
|
|
114
|
-
//# sourceMappingURL=popover_constants-qjlEkroB.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./_plugin-vue2_normalizer-ZK80B3OL.js"),n=require("../lib/icon.cjs"),o=require("../lib/button.cjs"),i={props:{visuallyHiddenClose:{type:Boolean,default:!1},visuallyHiddenCloseLabel:{type:String,default:null}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateVisuallyHiddenCloseProps()}}},computed:{showVisuallyHiddenClose(){return this.visuallyHiddenClose&&this.visuallyHiddenCloseLabel!=null}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error(`If visuallyHiddenClose prop is true, the component includes
|
|
2
|
-
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`)}}},a={name:"SrOnlyCloseButton",components:{DtIcon:n.DtIcon,DtButton:o.DtButton},props:{visuallyHiddenCloseLabel:{type:String,default:null}},emits:["close"],methods:{close(){this.$emit("close")}}};var u=function(){var e=this,s=e._self._c;return s("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":e.visuallyHiddenCloseLabel},on:{click:e.close,keydown:function(l){return!l.type.indexOf("key")&&e._k(l.keyCode,"space",32,l.key,[" ","Spacebar"])?null:(l.preventDefault(),l.stopPropagation(),e.close.apply(null,arguments))}}},[s("dt-icon",{attrs:{name:"close"}})],1)},r=[],d=t.n(a,u,r,!1,null,null,null,null);const c=d.exports;exports.S=c;exports.a=i;
|
|
3
|
-
//# sourceMappingURL=sr_only_close_button-ErijKGYR.js.map
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { n as o } from "./_plugin-vue2_normalizer-u6G_3nkj.js";
|
|
2
|
-
import { DtIcon as t } from "../lib/icon.js";
|
|
3
|
-
import { DtButton as n } from "../lib/button.js";
|
|
4
|
-
const m = {
|
|
5
|
-
props: {
|
|
6
|
-
/**
|
|
7
|
-
* If true, a hidden close button is included for screen readers
|
|
8
|
-
* @values true, false
|
|
9
|
-
*/
|
|
10
|
-
visuallyHiddenClose: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: !1
|
|
13
|
-
},
|
|
14
|
-
/**
|
|
15
|
-
* Label for the visually hidden close button
|
|
16
|
-
* Required if visuallyHiddenClose is set to `true`
|
|
17
|
-
*/
|
|
18
|
-
visuallyHiddenCloseLabel: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: null
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
watch: {
|
|
24
|
-
$props: {
|
|
25
|
-
immediate: !0,
|
|
26
|
-
deep: !0,
|
|
27
|
-
handler() {
|
|
28
|
-
this.validateVisuallyHiddenCloseProps();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
showVisuallyHiddenClose() {
|
|
34
|
-
return this.visuallyHiddenClose && this.visuallyHiddenCloseLabel != null;
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
validateVisuallyHiddenCloseProps() {
|
|
39
|
-
this.visuallyHiddenClose && !this.visuallyHiddenCloseLabel && console.error(`If visuallyHiddenClose prop is true, the component includes
|
|
40
|
-
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, i = {
|
|
44
|
-
name: "SrOnlyCloseButton",
|
|
45
|
-
components: {
|
|
46
|
-
DtIcon: t,
|
|
47
|
-
DtButton: n
|
|
48
|
-
},
|
|
49
|
-
props: {
|
|
50
|
-
/**
|
|
51
|
-
* Label for the visually hidden close button
|
|
52
|
-
* Required if visuallyHiddenClose is set to `true`
|
|
53
|
-
*/
|
|
54
|
-
visuallyHiddenCloseLabel: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
emits: ["close"],
|
|
60
|
-
methods: {
|
|
61
|
-
close() {
|
|
62
|
-
this.$emit("close");
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
var a = function() {
|
|
67
|
-
var e = this, s = e._self._c;
|
|
68
|
-
return s("dt-button", { staticClass: "d-vi-visible-sr", attrs: { id: "sr-only-close-button", "data-qa": "dt-sr-only-close-button", "aria-label": e.visuallyHiddenCloseLabel }, on: { click: e.close, keydown: function(l) {
|
|
69
|
-
return !l.type.indexOf("key") && e._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : (l.preventDefault(), l.stopPropagation(), e.close.apply(null, arguments));
|
|
70
|
-
} } }, [s("dt-icon", { attrs: { name: "close" } })], 1);
|
|
71
|
-
}, r = [], d = /* @__PURE__ */ o(
|
|
72
|
-
i,
|
|
73
|
-
a,
|
|
74
|
-
r,
|
|
75
|
-
!1,
|
|
76
|
-
null,
|
|
77
|
-
null,
|
|
78
|
-
null,
|
|
79
|
-
null
|
|
80
|
-
);
|
|
81
|
-
const f = d.exports;
|
|
82
|
-
export {
|
|
83
|
-
f as S,
|
|
84
|
-
m as a
|
|
85
|
-
};
|
|
86
|
-
//# sourceMappingURL=sr_only_close_button-JGole5Xi.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},r=["sm","md","lg","xl"],o=["0","100","200","300","400","450","500","600"];exports.D=e;exports.a=r;exports.b=o;
|
|
2
|
-
//# sourceMappingURL=stack_constants-m9Ickqw0.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
default: "column",
|
|
3
|
-
column: "column",
|
|
4
|
-
row: "row",
|
|
5
|
-
"row-reverse": "row-reverse",
|
|
6
|
-
"column-reverse": "column-reverse"
|
|
7
|
-
}, o = ["sm", "md", "lg", "xl"], r = ["0", "100", "200", "300", "400", "450", "500", "600"];
|
|
8
|
-
export {
|
|
9
|
-
e as D,
|
|
10
|
-
o as a,
|
|
11
|
-
r as b
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=stack_constants-u7tNqGtc.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./_plugin-vue2_normalizer-ZK80B3OL.js"),u=require("../lib/button.cjs"),l=["default","sm"],o={sm:"d-tablist--sm"},i={inverted:"d-tablist--inverted"},d={borderless:"d-tablist--no-border"},r={selected:"d-tab--selected"},c={name:"DtTabGroup",provide(){return{groupContext:this.provideObj,changeContentPanel:this.changeContentPanel,setFocus:this.setFocus}},props:{label:{type:String,default:""},selected:{type:String,default:""},disabled:{type:Boolean,default:!1},inverted:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},size:{type:String,default:"default",validate(t){return l.includes(t)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:o,TAB_LIST_KIND_MODIFIERS:i,TAB_LIST_IMPORTANCE_MODIFIERS:d}},watch:{disabled:{immediate:!0,handler(){this.provideObj.disabled=this.disabled}},selected:{immediate:!0,handler(){this.provideObj.selected=this.selected}}},mounted(){this.updateSelected()},beforeUpdate(){this.updateSelected()},methods:{updateSelected(){this.provideObj.selected||(this.provideObj.selected=this.selected),this.tabs=this.getTabChildren()},setFocus(t){this.focusId=t},getTabChildren(){return Array.from(this.$el.querySelectorAll(".d-tab")).map(t=>{var e,n;return{context:t,panelId:(e=t.getAttribute("aria-controls"))==null?void 0:e.replace("dt-panel-",""),id:(n=t.getAttribute("id"))==null?void 0:n.replace("dt-tab-",""),isSelected:t.getAttribute("aria-selected")==="true"}})},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel({selected:t,selectOverride:e}){this.provideObj.selected=t,e||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const n=t+1>e.length-1?0:t+1;this.selectFocusOnTab(n,e)},selectFocusOnTab(t,e){const{context:n}=e[t];n.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:n,panelId:s}=e[t];this.provideObj.selected=s,n.focus()},getIndexAndTabs(){const t=this.tabs.findIndex(e=>this.focusId?e.id===`${this.focusId}`:e.isSelected);return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[0])==null?void 0:t.context)==null||e.focus())},onEndButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[this.tabs.length-1])==null?void 0:t.context)==null||e.focus())}}};var b=function(){var e=this,n=e._self._c;return n("div",{attrs:{"data-qa":"dt-tab-group"}},[n("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],{[e.TAB_LIST_KIND_MODIFIERS.inverted]:e.inverted,[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:e.borderless},e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"left",37,s.key,["Left","ArrowLeft"])||"button"in s&&s.button!==0?null:e.tabLeft.apply(null,arguments)},function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"right",39,s.key,["Right","ArrowRight"])||"button"in s&&s.button!==2?null:e.tabRight.apply(null,arguments)},function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"space",32,s.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"home",void 0,s.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"end",void 0,s.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},f=[],h=a.n(c,b,f,!1,null,null,null,null);const p=h.exports,_={name:"DtTab",components:{DtButton:u.DtButton},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:r}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(t=!1){this.changeContentPanel({selected:this.panelId,selectOverride:t})}}};var y=function(){var e=this,n=e._self._c;return n("dt-button",e._g(e._b({class:["d-tab",{[e.TAB_IMPORTANCE_MODIFIERS.selected]:e.isSelected},e.tabClass],attrs:{id:`dt-tab-${e.id}`,role:"tab","aria-selected":`${e.isSelected}`,"aria-controls":`dt-panel-${e.panelId}`,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},g=[],I=a.n(_,y,g,!1,null,null,null,null);const S=I.exports;exports.D=p;exports.T=i;exports.a=S;exports.b=l;exports.c=d;exports.d=r;
|
|
2
|
-
//# sourceMappingURL=tab-7hJQSLFx.js.map
|