@nubisco/ui 5.53.0 → 5.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionItem--XeLRz2P.js → AccordionItem-BY-p8UkV.js} +1 -1
- package/dist/{AccordionItem-BYSH6dZK.cjs → AccordionItem-p0mYXIj8.cjs} +1 -1
- package/dist/{ActionGroup-CkwZEnUN.js → ActionGroup-CjRSKyOa.js} +2 -2
- package/dist/{ActionGroup-McCtSDV8.cjs → ActionGroup-DIMZhC7N.cjs} +1 -1
- package/dist/AiLabel-BDccQ2iQ.js +242 -0
- package/dist/AiLabel-jRrBTu6c.cjs +1 -0
- package/dist/{AiProvider-DN3DecBN.cjs → AiProvider-CGB9EiSf.cjs} +1 -1
- package/dist/{AiProvider-lGUifyvk.js → AiProvider-CMbPWtU-.js} +4 -4
- package/dist/{BackToTop-BWj2PURK.js → BackToTop-BDFb1y3c.js} +1 -1
- package/dist/{BackToTop-CbGWaDiv.cjs → BackToTop-R6yiw3lt.cjs} +1 -1
- package/dist/{Banner-DksCkGVd.js → Banner-BjnbX4C3.js} +1 -1
- package/dist/{Banner-DsiuPzPh.cjs → Banner-C-mikJ5n.cjs} +1 -1
- package/dist/{BatchActions-iHu14Sfz.js → BatchActions-Kr2S6CJI.js} +2 -2
- package/dist/{BatchActions-xnTXMU6B.cjs → BatchActions-jfvfpZeT.cjs} +1 -1
- package/dist/{BlueprintControls-COcm1KWW.js → BlueprintControls-Bt4KoDp5.js} +1 -1
- package/dist/{BlueprintControls-3Lc3BcAk.cjs → BlueprintControls-zX5yxOB1.cjs} +1 -1
- package/dist/{Board-B2v-oPUr.js → Board-C3_cXRl6.js} +177 -176
- package/dist/Board-D6A-irdx.cjs +1 -0
- package/dist/{BottomPanel-cNzWs1-8.cjs → BottomPanel-C_u39INJ.cjs} +1 -1
- package/dist/{BottomPanel-C6r_9aLy.js → BottomPanel-CkEc9gvb.js} +1 -1
- package/dist/{Breadcrumbs-D1pYElI6.cjs → Breadcrumbs-0rRFiO31.cjs} +1 -1
- package/dist/{Breadcrumbs-B2SMDfCA.js → Breadcrumbs-DqagVknq.js} +2 -2
- package/dist/{Briefing-Cqw3zBQO.cjs → Briefing-B-O-9bhN.cjs} +1 -1
- package/dist/{Briefing-W7gtZwdT.js → Briefing-DNH-707q.js} +1 -1
- package/dist/{BriefingDestination-CeClIu61.js → BriefingDestination-BjNteNgh.js} +1 -1
- package/dist/{BriefingDestination-CtsWFs9U.cjs → BriefingDestination-Cs1y3z_5.cjs} +1 -1
- package/dist/Button-CGIbF1e-.cjs +1 -0
- package/dist/{Button-CxJMKPpw.js → Button-DmJ_J3UO.js} +55 -53
- package/dist/{ButtonSet-D7ieqb8C.js → ButtonSet-Cg1ixzOK.js} +1 -1
- package/dist/{ButtonSet-C2Z5sYSv.cjs → ButtonSet-SziuuT6_.cjs} +1 -1
- package/dist/{Calendar-BmC3wBlS.js → Calendar-fVDg_EgD.js} +1 -1
- package/dist/{Calendar-EO2vU4ls.cjs → Calendar-fsZN4OIr.cjs} +1 -1
- package/dist/{ChatMessage-DYv7Vniv.cjs → ChatMessage-B45Xhl8x.cjs} +1 -1
- package/dist/{ChatMessage-DSeGKAOq.js → ChatMessage-BDOdvI4h.js} +1 -1
- package/dist/{ChatThread-CCtckadF.cjs → ChatThread-B7F1r4t4.cjs} +1 -1
- package/dist/{ChatThread-D70zpB0f.js → ChatThread-DqvsnVOr.js} +3 -3
- package/dist/{CloseButton-F7W1E8oX.cjs → CloseButton-Bdk7rJ8E.cjs} +1 -1
- package/dist/{CloseButton-BMJBwHvG.js → CloseButton-CAPfd6yf.js} +1 -1
- package/dist/CommandPalette-BaRqoURY.cjs +1 -0
- package/dist/CommandPalette-DWv1UV8r.js +294 -0
- package/dist/{Confirm-Sl4LWoSK.cjs → Confirm-B5vMzPbN.cjs} +1 -1
- package/dist/{Confirm-BLXSK-OZ.js → Confirm-C4lT-6HD.js} +3 -3
- package/dist/{ContentSwitcher-CQvxg6RC.cjs → ContentSwitcher-DYxJZdcm.cjs} +1 -1
- package/dist/{ContentSwitcher-DuHRX4Y6.js → ContentSwitcher-NpFxiGbz.js} +1 -1
- package/dist/{CopyButton-DMuuBwJc.cjs → CopyButton-D-cnpfOJ.cjs} +1 -1
- package/dist/{CopyButton-CfEOWedU.js → CopyButton-MOJj3pS0.js} +1 -1
- package/dist/{DataTable-7GkgyPz9.js → DataTable-CcwD0PSJ.js} +3 -3
- package/dist/{DataTable-D8y7LUof.cjs → DataTable-xEw-NvHM.cjs} +1 -1
- package/dist/{DatePicker-BkHd2fJW.js → DatePicker-3pCNky8d.js} +235 -231
- package/dist/DatePicker-BrMicYUx.cjs +1 -0
- package/dist/{FileUploader-VBJtI2xh.js → FileUploader-CcGdRBxp.js} +1 -1
- package/dist/{FileUploader-CPTj5s_M.cjs → FileUploader-CcieVEGZ.cjs} +1 -1
- package/dist/FloatingToolbar-BV-iGNxe.js +120 -0
- package/dist/FloatingToolbar-C8xB4BzH.cjs +1 -0
- package/dist/{ImagePicker-D8qyyjVv.cjs → ImagePicker-5qPI77Jo.cjs} +1 -1
- package/dist/{ImagePicker-BkZVENEg.js → ImagePicker-BnHg403Q.js} +2 -2
- package/dist/InfoHint-CdluaJqE.cjs +1 -0
- package/dist/InfoHint-zMuSw_99.js +182 -0
- package/dist/{InlineLoading-CA0_IT29.cjs → InlineLoading-CqGrNWHf.cjs} +1 -1
- package/dist/{InlineLoading-Cknqq0vv.js → InlineLoading-_j2KKhNQ.js} +1 -1
- package/dist/{LogView-u_QhvV__.js → LogView-BLa9W5S7.js} +2 -2
- package/dist/{LogView-JjJVH_NA.cjs → LogView-BNztzJri.cjs} +1 -1
- package/dist/Menu-CWxBEMC4.js +193 -0
- package/dist/Menu-D0TerdRm.cjs +1 -0
- package/dist/{MenuBarItem-yr5aizl3.js → MenuBarItem-BYh4YWR4.js} +1 -1
- package/dist/{MenuBarItem-DlnIAhRw.cjs → MenuBarItem-DTOqacvg.cjs} +1 -1
- package/dist/Modal-CmGFLEo4.cjs +1 -0
- package/dist/{Modal-DaXgWyZN.js → Modal-DwL90AoV.js} +74 -70
- package/dist/NotificationCenter-EMlV-oPh.cjs +1 -0
- package/dist/NotificationCenter-YZnPMH7c.js +591 -0
- package/dist/{NumberInput-B7_EP2yg.js → NumberInput-B91ahziS.js} +1 -1
- package/dist/{NumberInput-CHWFFpDv.cjs → NumberInput-DLPSNgsr.cjs} +1 -1
- package/dist/{OverflowMenu-DXJ8waZo.js → OverflowMenu-DliuDrTK.js} +2 -2
- package/dist/{OverflowMenu-CWgdicDN.cjs → OverflowMenu-DuRgj1DU.cjs} +1 -1
- package/dist/{PageHeader-KKxiyfqh.cjs → PageHeader-BoEdR_T5.cjs} +1 -1
- package/dist/{PageHeader-Bypc30sW.js → PageHeader-c6117xYf.js} +1 -1
- package/dist/{Pagination-DTsfPCOs.cjs → Pagination-B3lmxggo.cjs} +1 -1
- package/dist/{Pagination-CjOtISav.js → Pagination-DwAc-4d9.js} +2 -2
- package/dist/{Search-xsC4Tm0d.js → Search-Bwdxxe29.js} +2 -2
- package/dist/{Search-CKXtAyrU.cjs → Search-DIZ1Ea45.cjs} +1 -1
- package/dist/Select-CDs-7QtW.js +619 -0
- package/dist/Select-CJqwMI69.cjs +1 -0
- package/dist/{Shell-BWLjIdD0.cjs → Shell-BZslT2aj.cjs} +1 -1
- package/dist/{Shell-DZfaTUo3.js → Shell-CRmhoU2H.js} +2 -2
- package/dist/{ShellPanel-K4vyQYQM.js → ShellPanel-C4vQJmRI.js} +1 -1
- package/dist/{ShellPanel-ColJQNUK.cjs → ShellPanel-DUBq5BL6.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-DraqbhwM.js → SidebarCollapseToggle-C38R19gG.js} +1 -1
- package/dist/{SidebarCollapseToggle-CABmF-PC.cjs → SidebarCollapseToggle-DOck3Txy.cjs} +1 -1
- package/dist/SidebarMenuItem-DzJ_R2__.cjs +1 -0
- package/dist/SidebarMenuItem-E410HTei.js +302 -0
- package/dist/{Slider-BLkYlDHi.js → Slider-B6QXQMqb.js} +1 -1
- package/dist/{Slider-DGTE-3wW.cjs → Slider-B7m_luyq.cjs} +1 -1
- package/dist/Spinner-BlzVODzE.js +161 -0
- package/dist/Spinner-Bpfgl-mN.cjs +1 -0
- package/dist/{Stat-BCvXYr-z.cjs → Stat-BByeMKkT.cjs} +1 -1
- package/dist/{Stat-No3RhGB3.js → Stat-DWliDbWE.js} +1 -1
- package/dist/Submenu-BkHGYo7X.js +168 -0
- package/dist/Submenu-CCQnBpln.cjs +1 -0
- package/dist/{SuggestionList-Cxy4jjjd.cjs → SuggestionList-C61Dj6en.cjs} +1 -1
- package/dist/{SuggestionList-Dv4yQAi-.js → SuggestionList-D48Ojcf3.js} +1 -1
- package/dist/{TableOfContents-WDCjtpK6.js → TableOfContents-CeZX4dH0.js} +1 -1
- package/dist/{TableOfContents-BzG-BsKk.cjs → TableOfContents-D9FCu6gN.cjs} +1 -1
- package/dist/{TextInput-HEjIGR6p.js → TextInput-BeqDf1R7.js} +1 -1
- package/dist/{TextInput-CKSRFb0q.cjs → TextInput-SJ34hD2Y.cjs} +1 -1
- package/dist/{Toast-DHjc9WQU.cjs → Toast-CN5Jzkr5.cjs} +1 -1
- package/dist/{Toast-DxZ2xjeq.js → Toast-DIf2XRCa.js} +2 -2
- package/dist/Toaster-Dwjm0bsR.js +285 -0
- package/dist/Toaster-aJJvxlEr.cjs +1 -0
- package/dist/{UserMenu-C54sf0xb.js → UserMenu-BTihjCKC.js} +95 -91
- package/dist/UserMenu-CHkbByFS.cjs +1 -0
- package/dist/{Video-BFik9HZq.js → Video-Agby8uRA.js} +1 -1
- package/dist/{Video-Cnqsjo4n.cjs → Video-B93sRbBU.cjs} +1 -1
- package/dist/{Walkthrough-JqWDEe00.js → Walkthrough-BqGB1yaX.js} +64 -60
- package/dist/Walkthrough-sGAypY5d.cjs +1 -0
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +212 -211
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts.map +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/BatchActions.cjs +1 -1
- package/dist/components/BatchActions.mjs +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.context.d.ts +21 -0
- package/dist/components/Button.context.d.ts.map +1 -0
- package/dist/components/Button.d.ts +10 -0
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -1
- package/dist/components/ButtonSet.mjs +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/ChatMessage.cjs +1 -1
- package/dist/components/ChatMessage.mjs +1 -1
- package/dist/components/ChatThread.cjs +1 -1
- package/dist/components/ChatThread.mjs +1 -1
- package/dist/components/CloseButton.cjs +1 -1
- package/dist/components/CloseButton.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -1
- package/dist/components/ContentSwitcher.mjs +1 -1
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/LogView.cjs +1 -1
- package/dist/components/LogView.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/OverflowMenu.cjs +1 -1
- package/dist/components/OverflowMenu.mjs +1 -1
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Search.cjs +1 -1
- package/dist/components/Search.mjs +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +2 -2
- package/dist/composables/useTeleportReady.composable.cjs +1 -0
- package/dist/composables/useTeleportReady.composable.d.ts +30 -0
- package/dist/composables/useTeleportReady.composable.d.ts.map +1 -0
- package/dist/composables/useTeleportReady.composable.mjs +11 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +156 -155
- package/dist/main-BMIeIxGV.cjs +4 -0
- package/dist/{main-hHSQ2Z9E.js → main-BXz7vG2i.js} +203 -193
- package/dist/main.d.ts +19 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +9 -9
- package/package.json +1 -1
- package/dist/AiLabel-BwGuSf92.cjs +0 -1
- package/dist/AiLabel-CT7tpXv4.js +0 -240
- package/dist/Board-C43JjSsH.cjs +0 -1
- package/dist/Button-5ClGtoaz.cjs +0 -1
- package/dist/CommandPalette-DSE40a5L.cjs +0 -1
- package/dist/CommandPalette-DjkNy4l7.js +0 -290
- package/dist/DatePicker-CeDO01NZ.cjs +0 -1
- package/dist/FloatingToolbar-BikX_AsP.js +0 -116
- package/dist/FloatingToolbar-DWVY8Fxo.cjs +0 -1
- package/dist/InfoHint-BEzkNQTM.cjs +0 -1
- package/dist/InfoHint-BlHxrTw6.js +0 -178
- package/dist/Menu-7EgnchVu.js +0 -189
- package/dist/Menu-Bs2Co1sl.cjs +0 -1
- package/dist/Modal-CRbvPpfy.cjs +0 -1
- package/dist/NotificationCenter-D0PKt3fk.js +0 -587
- package/dist/NotificationCenter-fmSEnZDX.cjs +0 -1
- package/dist/Select-CPztC5IV.cjs +0 -1
- package/dist/Select-CqLa55kO.js +0 -615
- package/dist/SidebarMenuItem-DQRQtqrp.js +0 -300
- package/dist/SidebarMenuItem-Dwk7vKN5.cjs +0 -1
- package/dist/Spinner-DYFhiTB1.js +0 -160
- package/dist/Spinner-j13gRoUF.cjs +0 -1
- package/dist/Submenu-BDs-yAqv.js +0 -164
- package/dist/Submenu-BLjx2kWl.cjs +0 -1
- package/dist/Toaster-C227oHXu.js +0 -284
- package/dist/Toaster-IS3DUaZt.cjs +0 -1
- package/dist/UserMenu-BnGiKwDE.cjs +0 -1
- package/dist/Walkthrough-DHgb972k.cjs +0 -1
- package/dist/main-Dr-OZ97R.cjs +0 -4
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { useTeleportReady as e } from "./composables/useTeleportReady.composable.mjs";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { t as n } from "./Toast-DIf2XRCa.js";
|
|
4
|
+
import { NB_TOAST_QUEUE_KEY as r, useToast as i } from "./composables/useToast.composable.mjs";
|
|
5
|
+
import { Fragment as a, Teleport as o, TransitionGroup as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, inject as ee, nextTick as h, normalizeClass as te, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as ne, renderSlot as re, toDisplayString as b, unref as x, watch as S, withCtx as ie } from "vue";
|
|
6
|
+
//#region src/components/Toaster.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var ae = { class: "nb-toaster__announcer" }, oe = {
|
|
8
|
+
role: "status",
|
|
9
|
+
"aria-live": "polite",
|
|
10
|
+
"aria-atomic": "true"
|
|
11
|
+
}, se = {
|
|
12
|
+
role: "alert",
|
|
13
|
+
"aria-live": "assertive",
|
|
14
|
+
"aria-atomic": "true"
|
|
15
|
+
}, ce = ["aria-label", "data-paused"], le = ["data-toast-id"], C = /* @__PURE__ */ new Map();
|
|
16
|
+
function w(e, t) {
|
|
17
|
+
let n = (C.get(e) ?? 0) + t;
|
|
18
|
+
n <= 0 ? C.delete(e) : C.set(e, n), !(t < 0 || n < 2) && (typeof process < "u" && process.env.NODE_ENV === "production" || console.warn("[NbToaster] Two hosts are rendering the same queue. Every toast will be shown and announced twice, and both hosts write to queue.max. Mount one NbToaster per application, and give any second host (a demo, a dialog) its own createToastQueue()."));
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/Toaster.vue
|
|
22
|
+
var T = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
23
|
+
__name: "Toaster",
|
|
24
|
+
props: {
|
|
25
|
+
queue: { default: void 0 },
|
|
26
|
+
placement: { default: "bottom-end" },
|
|
27
|
+
max: { default: void 0 },
|
|
28
|
+
label: { default: "Notifications" },
|
|
29
|
+
to: {
|
|
30
|
+
type: [String, Boolean],
|
|
31
|
+
default: "body"
|
|
32
|
+
},
|
|
33
|
+
hotkey: { default: "alt+t" },
|
|
34
|
+
hotkeyHint: { default: "Press Alt plus T to reach it." }
|
|
35
|
+
},
|
|
36
|
+
setup(t, { expose: m }) {
|
|
37
|
+
let C = e(), T = t, ue = ee(r, null), E = c(() => T.queue ?? ue ?? i()), D = c(() => E.value.visible.value), O = c(() => [...D.value].reverse()), k = y(null), A = c(() => T.to === !1 ? "body" : T.to), j = null;
|
|
38
|
+
function M() {
|
|
39
|
+
j && (j.queue.max.value = j.previous), j = null;
|
|
40
|
+
}
|
|
41
|
+
S([E, () => T.max], ([e, t]) => {
|
|
42
|
+
j && (j.queue !== e || t === void 0) && M(), t !== void 0 && (j ||= {
|
|
43
|
+
queue: e,
|
|
44
|
+
previous: e.max.value
|
|
45
|
+
}, e.max.value = t);
|
|
46
|
+
}, { immediate: !0 });
|
|
47
|
+
let N = null;
|
|
48
|
+
function P(e) {
|
|
49
|
+
N !== e && (N && w(N, -1), N = e, e && w(e, 1));
|
|
50
|
+
}
|
|
51
|
+
S(E, (e) => {
|
|
52
|
+
N && P(e);
|
|
53
|
+
});
|
|
54
|
+
function de(e) {
|
|
55
|
+
return e.variant === "error" || e.variant === "warning";
|
|
56
|
+
}
|
|
57
|
+
let F = y(""), I = y(""), L = {
|
|
58
|
+
polite: {
|
|
59
|
+
text: F,
|
|
60
|
+
buffer: [],
|
|
61
|
+
draining: !1,
|
|
62
|
+
handle: null
|
|
63
|
+
},
|
|
64
|
+
assertive: {
|
|
65
|
+
text: I,
|
|
66
|
+
buffer: [],
|
|
67
|
+
draining: !1,
|
|
68
|
+
handle: null
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
function R(e) {
|
|
72
|
+
let t = [
|
|
73
|
+
E.value.labels.status[e.variant],
|
|
74
|
+
e.title,
|
|
75
|
+
e.message
|
|
76
|
+
].filter(Boolean).join(". ");
|
|
77
|
+
if (!e.cta) return t;
|
|
78
|
+
let n = T.hotkey ? ` ${T.hotkeyHint}` : "";
|
|
79
|
+
return `${t}. ${e.cta.label} action available.${n}`;
|
|
80
|
+
}
|
|
81
|
+
async function z(e) {
|
|
82
|
+
let t = e.buffer.shift();
|
|
83
|
+
if (t === void 0) {
|
|
84
|
+
e.draining = !1;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
e.draining = !0, e.text.value = "", await h(), e.text.value = t, e.handle = setTimeout(() => {
|
|
88
|
+
e.handle = null, z(e);
|
|
89
|
+
}, 500);
|
|
90
|
+
}
|
|
91
|
+
function B(e) {
|
|
92
|
+
let t = L[de(e) ? "assertive" : "polite"];
|
|
93
|
+
t.buffer.push(R(e)), t.draining || z(t);
|
|
94
|
+
}
|
|
95
|
+
g(() => {
|
|
96
|
+
for (let e of Object.values(L)) e.handle && clearTimeout(e.handle), e.handle = null, e.buffer.length = 0, e.draining = !1;
|
|
97
|
+
});
|
|
98
|
+
let V = /* @__PURE__ */ new Set();
|
|
99
|
+
S(D, (e) => {
|
|
100
|
+
let t = new Set(e.map((e) => e.id));
|
|
101
|
+
for (let e of [...V]) t.has(e.slice(0, e.lastIndexOf(":"))) || V.delete(e);
|
|
102
|
+
for (let t of e) {
|
|
103
|
+
let e = `${t.id}:${t.cycle}`;
|
|
104
|
+
V.has(e) || (V.add(e), B(t));
|
|
105
|
+
}
|
|
106
|
+
}, {
|
|
107
|
+
deep: !0,
|
|
108
|
+
immediate: !0
|
|
109
|
+
});
|
|
110
|
+
let H = /* @__PURE__ */ new Set(), U = !1;
|
|
111
|
+
function W(e) {
|
|
112
|
+
H.size === 0 && (U = E.value.paused.value), H.add(e), E.value.pause();
|
|
113
|
+
}
|
|
114
|
+
function G(e) {
|
|
115
|
+
H.delete(e) && H.size === 0 && !U && E.value.resume();
|
|
116
|
+
}
|
|
117
|
+
let K = null;
|
|
118
|
+
function q(e) {
|
|
119
|
+
let t = e.target;
|
|
120
|
+
!t || t === document.body || k.value?.contains(t) || (K = t);
|
|
121
|
+
}
|
|
122
|
+
function fe() {
|
|
123
|
+
W("focus");
|
|
124
|
+
}
|
|
125
|
+
function pe(e) {
|
|
126
|
+
let t = e.relatedTarget;
|
|
127
|
+
t && k.value?.contains(t) || G("focus");
|
|
128
|
+
}
|
|
129
|
+
function me(e) {
|
|
130
|
+
if (e.key !== "Escape") return;
|
|
131
|
+
let t = (document.activeElement?.closest(".nb-toaster__item"))?.dataset.toastId ?? O.value[0]?.id;
|
|
132
|
+
t && (e.stopPropagation(), e.preventDefault(), Z(t));
|
|
133
|
+
}
|
|
134
|
+
let J = [
|
|
135
|
+
"button:not([disabled])",
|
|
136
|
+
"[href]",
|
|
137
|
+
"input:not([disabled]):not([type=\"hidden\"])",
|
|
138
|
+
"select:not([disabled])",
|
|
139
|
+
"textarea:not([disabled])",
|
|
140
|
+
"[tabindex]:not([tabindex=\"-1\"])"
|
|
141
|
+
].join(",");
|
|
142
|
+
function he(e) {
|
|
143
|
+
return k.value?.querySelector(`[data-toast-id="${e}"]`) ?? null;
|
|
144
|
+
}
|
|
145
|
+
function Y(e) {
|
|
146
|
+
let t = he(e);
|
|
147
|
+
return t ? t.matches(J) ? t : t.querySelector(J) : null;
|
|
148
|
+
}
|
|
149
|
+
let X = /* @__PURE__ */ new Set();
|
|
150
|
+
S(D, (e, t) => {
|
|
151
|
+
if (!t) return;
|
|
152
|
+
let n = document.activeElement;
|
|
153
|
+
if (!n || !k.value?.contains(n)) return;
|
|
154
|
+
let r = n.closest("[data-toast-id]")?.dataset.toastId;
|
|
155
|
+
if (!r || e.some((e) => e.id === r)) return;
|
|
156
|
+
let i = [...t].reverse().map((e) => e.id), a = new Set(e.map((e) => e.id)), o = i.indexOf(r), s;
|
|
157
|
+
for (let e = o + 1; e < i.length && !s; e += 1) a.has(i[e]) && (s = i[e]);
|
|
158
|
+
for (let e = o - 1; e >= 0 && !s; --e) a.has(i[e]) && (s = i[e]);
|
|
159
|
+
let c = K;
|
|
160
|
+
h(() => {
|
|
161
|
+
let e = s ? Y(s) : null;
|
|
162
|
+
if (e) {
|
|
163
|
+
e.focus();
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
c?.isConnected && c.focus(), K = null;
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
function Z(e, t) {
|
|
170
|
+
E.value.dismiss(e, t ?? (X.has(e) ? "action" : "user")), X.delete(e);
|
|
171
|
+
}
|
|
172
|
+
let ge = {
|
|
173
|
+
space: "Space",
|
|
174
|
+
enter: "Enter",
|
|
175
|
+
escape: "Escape",
|
|
176
|
+
comma: "Comma",
|
|
177
|
+
period: "Period",
|
|
178
|
+
slash: "Slash",
|
|
179
|
+
backslash: "Backslash",
|
|
180
|
+
backquote: "Backquote",
|
|
181
|
+
minus: "Minus",
|
|
182
|
+
equal: "Equal"
|
|
183
|
+
};
|
|
184
|
+
function _e(e) {
|
|
185
|
+
return /^[a-z]$/.test(e) ? `Key${e.toUpperCase()}` : /^[0-9]$/.test(e) ? `Digit${e}` : ge[e] ?? null;
|
|
186
|
+
}
|
|
187
|
+
function ve(e) {
|
|
188
|
+
if (!T.hotkey) return !1;
|
|
189
|
+
let t = T.hotkey.toLowerCase().split("+"), n = t[t.length - 1], r = _e(n);
|
|
190
|
+
if (r ? e.code !== r : e.key.toLowerCase() !== n) return !1;
|
|
191
|
+
let i = (e) => t.includes(e);
|
|
192
|
+
return e.altKey === i("alt") && e.ctrlKey === i("ctrl") && e.shiftKey === i("shift") && e.metaKey === i("meta");
|
|
193
|
+
}
|
|
194
|
+
function ye() {
|
|
195
|
+
let e = document.querySelectorAll("[aria-modal=\"true\"]");
|
|
196
|
+
for (let t of e) if (!(k.value && t.contains(k.value))) return t;
|
|
197
|
+
return null;
|
|
198
|
+
}
|
|
199
|
+
function Q(e) {
|
|
200
|
+
if (!ve(e) || O.value.length === 0) return;
|
|
201
|
+
if (k.value?.contains(document.activeElement)) {
|
|
202
|
+
e.preventDefault(), K?.isConnected ? K.focus() : document.activeElement?.blur();
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
if (ye()) return;
|
|
206
|
+
let t = Y(O.value[0].id);
|
|
207
|
+
t && (e.preventDefault(), t.focus());
|
|
208
|
+
}
|
|
209
|
+
function $() {
|
|
210
|
+
document.visibilityState === "hidden" ? W("hidden") : G("hidden");
|
|
211
|
+
}
|
|
212
|
+
return _(() => {
|
|
213
|
+
P(E.value), $(), document.addEventListener("visibilitychange", $), document.addEventListener("focusin", q), document.addEventListener("keydown", Q);
|
|
214
|
+
}), g(() => {
|
|
215
|
+
document.removeEventListener("visibilitychange", $), document.removeEventListener("focusin", q), document.removeEventListener("keydown", Q);
|
|
216
|
+
let e = H.size > 0 && !U;
|
|
217
|
+
H.clear(), e && E.value.resume(), P(null), M();
|
|
218
|
+
}), S(() => D.value.length, (e) => {
|
|
219
|
+
if (e > 0) return;
|
|
220
|
+
let t = H.delete("pointer"), n = H.delete("focus");
|
|
221
|
+
!t && !n || H.size === 0 && !U && E.value.resume();
|
|
222
|
+
}), m({ queue: E }), (e, t) => (v(), l(o, {
|
|
223
|
+
to: A.value,
|
|
224
|
+
disabled: !x(C) || T.to === !1
|
|
225
|
+
}, [f("div", ae, [f("div", oe, b(F.value), 1), f("div", se, b(I.value), 1)]), D.value.length > 0 ? (v(), d("div", {
|
|
226
|
+
key: 0,
|
|
227
|
+
ref_key: "regionRef",
|
|
228
|
+
ref: k,
|
|
229
|
+
class: te(["nb-toaster", `nb-toaster--${T.placement}`]),
|
|
230
|
+
role: "region",
|
|
231
|
+
"aria-label": T.label,
|
|
232
|
+
"data-paused": E.value.paused.value ? "true" : void 0,
|
|
233
|
+
onMouseenter: t[0] ||= (e) => W("pointer"),
|
|
234
|
+
onMouseleave: t[1] ||= (e) => G("pointer"),
|
|
235
|
+
onFocusin: fe,
|
|
236
|
+
onFocusout: pe,
|
|
237
|
+
onKeydown: me
|
|
238
|
+
}, [p(s, {
|
|
239
|
+
tag: "div",
|
|
240
|
+
class: "nb-toaster__stack",
|
|
241
|
+
name: "nb-toaster"
|
|
242
|
+
}, {
|
|
243
|
+
default: ie(() => [(v(!0), d(a, null, ne(O.value, (t) => (v(), d("div", {
|
|
244
|
+
key: t.id,
|
|
245
|
+
class: "nb-toaster__item",
|
|
246
|
+
"data-toast-id": t.id
|
|
247
|
+
}, [re(e.$slots, "toast", {
|
|
248
|
+
toast: t,
|
|
249
|
+
paused: E.value.paused.value,
|
|
250
|
+
dismiss: (e) => Z(t.id, e),
|
|
251
|
+
action: () => x(X).add(t.id)
|
|
252
|
+
}, () => [p(n, {
|
|
253
|
+
message: t.message,
|
|
254
|
+
title: t.title,
|
|
255
|
+
variant: t.variant,
|
|
256
|
+
cta: t.cta,
|
|
257
|
+
duration: t.duration,
|
|
258
|
+
cycle: t.cycle,
|
|
259
|
+
managed: "",
|
|
260
|
+
paused: E.value.paused.value,
|
|
261
|
+
role: "none",
|
|
262
|
+
"aria-live": "off",
|
|
263
|
+
"status-label": E.value.labels.status[t.variant],
|
|
264
|
+
"close-label": E.value.labels.close,
|
|
265
|
+
onAction: (e) => x(X).add(t.id),
|
|
266
|
+
onClose: (e) => Z(t.id)
|
|
267
|
+
}, null, 8, [
|
|
268
|
+
"message",
|
|
269
|
+
"title",
|
|
270
|
+
"variant",
|
|
271
|
+
"cta",
|
|
272
|
+
"duration",
|
|
273
|
+
"cycle",
|
|
274
|
+
"paused",
|
|
275
|
+
"status-label",
|
|
276
|
+
"close-label",
|
|
277
|
+
"onAction",
|
|
278
|
+
"onClose"
|
|
279
|
+
])], !0)], 8, le))), 128))]),
|
|
280
|
+
_: 3
|
|
281
|
+
})], 42, ce)) : u("", !0)], 8, ["to", "disabled"]));
|
|
282
|
+
}
|
|
283
|
+
}), [["__scopeId", "data-v-d01c41a8"]]);
|
|
284
|
+
//#endregion
|
|
285
|
+
export { T as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useTeleportReady.composable.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Toast-CN5Jzkr5.cjs`),r=require(`./composables/useToast.composable.cjs`);let i=require(`vue`);var a={class:`nb-toaster__announcer`},o={role:`status`,"aria-live":`polite`,"aria-atomic":`true`},s={role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`},c=[`aria-label`,`data-paused`],l=[`data-toast-id`],u=new Map;function d(e,t){let n=(u.get(e)??0)+t;n<=0?u.delete(e):u.set(e,n),!(t<0||n<2)&&(typeof process<`u`&&process.env.NODE_ENV===`production`||console.warn(`[NbToaster] Two hosts are rendering the same queue. Every toast will be shown and announced twice, and both hosts write to queue.max. Mount one NbToaster per application, and give any second host (a demo, a dialog) its own createToastQueue().`))}var f=(0,i.defineComponent)({__name:`Toaster`,props:{queue:{default:void 0},placement:{default:`bottom-end`},max:{default:void 0},label:{default:`Notifications`},to:{type:[String,Boolean],default:`body`},hotkey:{default:`alt+t`},hotkeyHint:{default:`Press Alt plus T to reach it.`}},setup(t,{expose:u}){let f=e.useTeleportReady(),p=t,m=(0,i.inject)(r.NB_TOAST_QUEUE_KEY,null),h=(0,i.computed)(()=>p.queue??m??r.useToast()),g=(0,i.computed)(()=>h.value.visible.value),_=(0,i.computed)(()=>[...g.value].reverse()),v=(0,i.ref)(null),y=(0,i.computed)(()=>p.to===!1?`body`:p.to),b=null;function x(){b&&(b.queue.max.value=b.previous),b=null}(0,i.watch)([h,()=>p.max],([e,t])=>{b&&(b.queue!==e||t===void 0)&&x(),t!==void 0&&(b||={queue:e,previous:e.max.value},e.max.value=t)},{immediate:!0});let S=null;function C(e){S!==e&&(S&&d(S,-1),S=e,e&&d(e,1))}(0,i.watch)(h,e=>{S&&C(e)});function w(e){return e.variant===`error`||e.variant===`warning`}let T=(0,i.ref)(``),E=(0,i.ref)(``),D={polite:{text:T,buffer:[],draining:!1,handle:null},assertive:{text:E,buffer:[],draining:!1,handle:null}};function O(e){let t=[h.value.labels.status[e.variant],e.title,e.message].filter(Boolean).join(`. `);if(!e.cta)return t;let n=p.hotkey?` ${p.hotkeyHint}`:``;return`${t}. ${e.cta.label} action available.${n}`}async function k(e){let t=e.buffer.shift();if(t===void 0){e.draining=!1;return}e.draining=!0,e.text.value=``,await(0,i.nextTick)(),e.text.value=t,e.handle=setTimeout(()=>{e.handle=null,k(e)},500)}function A(e){let t=D[w(e)?`assertive`:`polite`];t.buffer.push(O(e)),t.draining||k(t)}(0,i.onBeforeUnmount)(()=>{for(let e of Object.values(D))e.handle&&clearTimeout(e.handle),e.handle=null,e.buffer.length=0,e.draining=!1});let j=new Set;(0,i.watch)(g,e=>{let t=new Set(e.map(e=>e.id));for(let e of[...j])t.has(e.slice(0,e.lastIndexOf(`:`)))||j.delete(e);for(let t of e){let e=`${t.id}:${t.cycle}`;j.has(e)||(j.add(e),A(t))}},{deep:!0,immediate:!0});let M=new Set,N=!1;function P(e){M.size===0&&(N=h.value.paused.value),M.add(e),h.value.pause()}function F(e){M.delete(e)&&M.size===0&&!N&&h.value.resume()}let I=null;function L(e){let t=e.target;!t||t===document.body||v.value?.contains(t)||(I=t)}function R(){P(`focus`)}function z(e){let t=e.relatedTarget;t&&v.value?.contains(t)||F(`focus`)}function B(e){if(e.key!==`Escape`)return;let t=(document.activeElement?.closest(`.nb-toaster__item`))?.dataset.toastId??_.value[0]?.id;t&&(e.stopPropagation(),e.preventDefault(),G(t))}let V=[`button:not([disabled])`,`[href]`,`input:not([disabled]):not([type="hidden"])`,`select:not([disabled])`,`textarea:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`,`);function H(e){return v.value?.querySelector(`[data-toast-id="${e}"]`)??null}function U(e){let t=H(e);return t?t.matches(V)?t:t.querySelector(V):null}let W=new Set;(0,i.watch)(g,(e,t)=>{if(!t)return;let n=document.activeElement;if(!n||!v.value?.contains(n))return;let r=n.closest(`[data-toast-id]`)?.dataset.toastId;if(!r||e.some(e=>e.id===r))return;let a=[...t].reverse().map(e=>e.id),o=new Set(e.map(e=>e.id)),s=a.indexOf(r),c;for(let e=s+1;e<a.length&&!c;e+=1)o.has(a[e])&&(c=a[e]);for(let e=s-1;e>=0&&!c;--e)o.has(a[e])&&(c=a[e]);let l=I;(0,i.nextTick)(()=>{let e=c?U(c):null;if(e){e.focus();return}l?.isConnected&&l.focus(),I=null})});function G(e,t){h.value.dismiss(e,t??(W.has(e)?`action`:`user`)),W.delete(e)}let K={space:`Space`,enter:`Enter`,escape:`Escape`,comma:`Comma`,period:`Period`,slash:`Slash`,backslash:`Backslash`,backquote:`Backquote`,minus:`Minus`,equal:`Equal`};function q(e){return/^[a-z]$/.test(e)?`Key${e.toUpperCase()}`:/^[0-9]$/.test(e)?`Digit${e}`:K[e]??null}function J(e){if(!p.hotkey)return!1;let t=p.hotkey.toLowerCase().split(`+`),n=t[t.length-1],r=q(n);if(r?e.code!==r:e.key.toLowerCase()!==n)return!1;let i=e=>t.includes(e);return e.altKey===i(`alt`)&&e.ctrlKey===i(`ctrl`)&&e.shiftKey===i(`shift`)&&e.metaKey===i(`meta`)}function Y(){let e=document.querySelectorAll(`[aria-modal="true"]`);for(let t of e)if(!(v.value&&t.contains(v.value)))return t;return null}function X(e){if(!J(e)||_.value.length===0)return;if(v.value?.contains(document.activeElement)){e.preventDefault(),I?.isConnected?I.focus():document.activeElement?.blur();return}if(Y())return;let t=U(_.value[0].id);t&&(e.preventDefault(),t.focus())}function Z(){document.visibilityState===`hidden`?P(`hidden`):F(`hidden`)}return(0,i.onMounted)(()=>{C(h.value),Z(),document.addEventListener(`visibilitychange`,Z),document.addEventListener(`focusin`,L),document.addEventListener(`keydown`,X)}),(0,i.onBeforeUnmount)(()=>{document.removeEventListener(`visibilitychange`,Z),document.removeEventListener(`focusin`,L),document.removeEventListener(`keydown`,X);let e=M.size>0&&!N;M.clear(),e&&h.value.resume(),C(null),x()}),(0,i.watch)(()=>g.value.length,e=>{if(e>0)return;let t=M.delete(`pointer`),n=M.delete(`focus`);!t&&!n||M.size===0&&!N&&h.value.resume()}),u({queue:h}),(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(i.Teleport,{to:y.value,disabled:!(0,i.unref)(f)||p.to===!1},[(0,i.createElementVNode)(`div`,a,[(0,i.createElementVNode)(`div`,o,(0,i.toDisplayString)(T.value),1),(0,i.createElementVNode)(`div`,s,(0,i.toDisplayString)(E.value),1)]),g.value.length>0?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,ref_key:`regionRef`,ref:v,class:(0,i.normalizeClass)([`nb-toaster`,`nb-toaster--${p.placement}`]),role:`region`,"aria-label":p.label,"data-paused":h.value.paused.value?`true`:void 0,onMouseenter:t[0]||=e=>P(`pointer`),onMouseleave:t[1]||=e=>F(`pointer`),onFocusin:R,onFocusout:z,onKeydown:B},[(0,i.createVNode)(i.TransitionGroup,{tag:`div`,class:`nb-toaster__stack`,name:`nb-toaster`},{default:(0,i.withCtx)(()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(_.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:t.id,class:`nb-toaster__item`,"data-toast-id":t.id},[(0,i.renderSlot)(e.$slots,`toast`,{toast:t,paused:h.value.paused.value,dismiss:e=>G(t.id,e),action:()=>(0,i.unref)(W).add(t.id)},()=>[(0,i.createVNode)(n.t,{message:t.message,title:t.title,variant:t.variant,cta:t.cta,duration:t.duration,cycle:t.cycle,managed:``,paused:h.value.paused.value,role:`none`,"aria-live":`off`,"status-label":h.value.labels.status[t.variant],"close-label":h.value.labels.close,onAction:e=>(0,i.unref)(W).add(t.id),onClose:e=>G(t.id)},null,8,[`message`,`title`,`variant`,`cta`,`duration`,`cycle`,`paused`,`status-label`,`close-label`,`onAction`,`onClose`])],!0)],8,l))),128))]),_:3})],42,c)):(0,i.createCommentVNode)(``,!0)],8,[`to`,`disabled`]))}}),p=t.t(f,[[`__scopeId`,`data-v-d01c41a8`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|