@nubisco/ui 5.24.0 → 5.25.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/{AiLabel-BY0-FfJ4.cjs → AiLabel-BMeJMSLm.cjs} +1 -1
- package/dist/{AiLabel-B4nz_8J3.js → AiLabel-CGxUTm-X.js} +1 -1
- package/dist/AiProvider-BVT_8D6a.js +137 -0
- package/dist/AiProvider-BXWMTzi9.cjs +1 -0
- package/dist/AiUsage-CCMQdmZv.cjs +1 -0
- package/dist/AiUsage-q_WU2toP.js +74 -0
- package/dist/{Banner-BrN9hmXi.cjs → Banner-DQyHNDEP.cjs} +1 -1
- package/dist/{Banner-Bm2Hu1ei.js → Banner-r_cdQAMp.js} +4 -4
- package/dist/{BarChart-Cw-mjG2w.cjs → BarChart-CV1GzXgj.cjs} +1 -1
- package/dist/{BarChart-Bhwk1RAA.js → BarChart-DWH40Q0_.js} +4 -4
- package/dist/{Blueprint-CQW7F5Pi.js → Blueprint-CQ0UBrND.js} +2 -2
- package/dist/{Blueprint-BUMkQPNk.cjs → Blueprint-DxHaLr4P.cjs} +1 -1
- package/dist/{BlueprintCard-WpQ3eWHk.js → BlueprintCard-BpVITfop.js} +1 -1
- package/dist/{BlueprintCard-mGd4_94p.cjs → BlueprintCard-ndSnIVKE.cjs} +1 -1
- package/dist/Briefing-B_D0X4pk.cjs +1 -0
- package/dist/Briefing-Ce2nPMi-.js +90 -0
- package/dist/BriefingDestination-CA8Dv-tJ.js +67 -0
- package/dist/BriefingDestination-DIXsBoE2.cjs +1 -0
- package/dist/{Checkbox-CBEwKXH1.js → Checkbox-B3gBM6xy.js} +1 -1
- package/dist/{Checkbox-BvWPRa40.cjs → Checkbox-lWejJzIQ.cjs} +1 -1
- package/dist/{CheckboxGroup-DB8gbqAF.cjs → CheckboxGroup-OKmBXLpx.cjs} +1 -1
- package/dist/{CheckboxGroup-7MPMIbZT.js → CheckboxGroup-VqnA0eDK.js} +3 -3
- package/dist/{ColorStrip-Mm1SOzmg.cjs → ColorStrip-COhVH__l.cjs} +1 -1
- package/dist/{ColorStrip-BMWm-x-l.js → ColorStrip-c5l3AF0f.js} +14 -14
- package/dist/Confirm--cR6XRZQ.cjs +1 -0
- package/dist/Confirm-CHsxP6G_.js +313 -0
- package/dist/{DataTable-CvLbvDFT.js → DataTable-COfiHgll.js} +2 -2
- package/dist/{DataTable-DcS7jvxA.cjs → DataTable-XSEybeeP.cjs} +1 -1
- package/dist/{DatePicker-CjxX5dia.cjs → DatePicker-DIdEzzsG.cjs} +1 -1
- package/dist/{DatePicker-C4g1DKZM.js → DatePicker-ZiWlM0Ee.js} +13 -13
- package/dist/{EmptyState-v_HI2o5s.js → EmptyState-63UqLFX6.js} +6 -6
- package/dist/{EmptyState-CEF56DXZ.cjs → EmptyState-CV-UfKR6.cjs} +1 -1
- package/dist/{Form-DDnR6mdq.js → Form-2pXj4bhZ.js} +1 -1
- package/dist/{Form-DqGhhQKv.cjs → Form-CYesmztD.cjs} +1 -1
- package/dist/{GanttChart-jvuwmy_5.js → GanttChart-BTvjVa_d.js} +3 -3
- package/dist/{GanttChart-Cl-0ml4x.cjs → GanttChart-owqg5s-X.cjs} +1 -1
- package/dist/{ImageCropper-DJjEcz6Q.js → ImageCropper-CLyH3zZ-.js} +2 -2
- package/dist/{ImageCropper-CAqCuBq3.cjs → ImageCropper-DAU0ddvI.cjs} +1 -1
- package/dist/{InlineLoading-COgGKI27.js → InlineLoading-uGDGiTNv.js} +1 -1
- package/dist/{InlineLoading-C3wUvREF.cjs → InlineLoading-w5XKQdGi.cjs} +1 -1
- package/dist/{InterpolationChart-DB8oZyC7.js → InterpolationChart-Bt3_BiHO.js} +3 -3
- package/dist/{InterpolationChart-Dgol9kmR.cjs → InterpolationChart-C2MFUf1D.cjs} +1 -1
- package/dist/{LineChart-DLu7_qcT.js → LineChart-BE5DVpYZ.js} +4 -4
- package/dist/{LineChart-Do_NISVc.cjs → LineChart-Dt7wwxeW.cjs} +1 -1
- package/dist/{Message-CVzG-irA.js → Message-Cecz48PA.js} +4 -4
- package/dist/{Message-CjM5AAf0.cjs → Message-VfpaGblO.cjs} +1 -1
- package/dist/{Modal-b5eV95gR.js → Modal-CfcTmfeK.js} +1 -1
- package/dist/{Modal-stR5KDNF.cjs → Modal-CtCD-xEb.cjs} +1 -1
- package/dist/{NotificationCenter-kHVey4vK.cjs → NotificationCenter-CGhxyax1.cjs} +1 -1
- package/dist/{NotificationCenter-CltJiPh6.js → NotificationCenter-xL9_6BMt.js} +8 -8
- package/dist/{NotificationCenterItem-CXt7QYRf.cjs → NotificationCenterItem-C8zaSiem.cjs} +1 -1
- package/dist/{NotificationCenterItem-CTtvqo3b.js → NotificationCenterItem-CdzyTsCY.js} +4 -4
- package/dist/{NumberInput-Dt5KpjBd.cjs → NumberInput-BtPQ7p5y.cjs} +1 -1
- package/dist/{NumberInput-7hkGoOn3.js → NumberInput-Dk8ofnNJ.js} +2 -2
- package/dist/{Pagination-B284QH7x.js → Pagination-CSISbmpl.js} +1 -1
- package/dist/{Pagination-TcPX4VkA.cjs → Pagination-Ci1te4UW.cjs} +1 -1
- package/dist/{PieChart-yi1830We.js → PieChart-CQBJlBJI.js} +3 -3
- package/dist/{PieChart-hjwH4zpA.cjs → PieChart-DjFeDqdk.cjs} +1 -1
- package/dist/{ProgressBar-DLDd4cTS.js → ProgressBar-B2EXpOdC.js} +2 -2
- package/dist/{ProgressBar-ClrCBpPp.cjs → ProgressBar-D1O4iAxy.cjs} +1 -1
- package/dist/{Radio-DaN5EUk3.cjs → Radio-DALC1A47.cjs} +1 -1
- package/dist/{Radio-vHh-A9Lw.js → Radio-fgJU2hwQ.js} +2 -2
- package/dist/{Select-Cz9AAfUs.cjs → Select-CHuZfqLt.cjs} +1 -1
- package/dist/{Select-DLSDyOoF.js → Select-CwO5aX8j.js} +22 -22
- package/dist/{SidebarCollapseToggle-DeaWpfzA.js → SidebarCollapseToggle-CA6wQR0x.js} +2 -2
- package/dist/{SidebarCollapseToggle-CAfBF3AN.cjs → SidebarCollapseToggle-Cs4Azqiy.cjs} +1 -1
- package/dist/{Skeleton-Bx3VesCp.js → Skeleton-Ba4m2jYi.js} +1 -1
- package/dist/{Skeleton-D62xVkuM.cjs → Skeleton-Bgo6pIY2.cjs} +1 -1
- package/dist/{Slider-r83oBqJW.js → Slider-BAhq6cJT.js} +10 -10
- package/dist/{Slider-Cnpur-g4.cjs → Slider-BK5yS7Ih.cjs} +1 -1
- package/dist/{Spinner-Cex-1DDr.js → Spinner-BxnDJP1H.js} +1 -1
- package/dist/{Spinner-CLflP0Ge.cjs → Spinner-swPRQ7kf.cjs} +1 -1
- package/dist/{Stepper-ww4PLW-u.js → Stepper-BH7RO00M.js} +1 -1
- package/dist/{Stepper-ExfQjnbC.cjs → Stepper-Da0Ba3PE.cjs} +1 -1
- package/dist/{StepperStep-CyDcCslT.cjs → StepperStep-CI482bzO.cjs} +1 -1
- package/dist/{StepperStep-xCnHtaeb.js → StepperStep-CLd8c1dj.js} +1 -1
- package/dist/{Switch-odyGx4iV.js → Switch-DS297b1b.js} +4 -4
- package/dist/{Switch-Bd7OUmEG.cjs → Switch-a73y1wiu.cjs} +1 -1
- package/dist/{Tabs-DAtxkztl.js → Tabs-BzsQiQ2H.js} +1 -1
- package/dist/{Tabs-B7ZYrItJ.cjs → Tabs-D3daz-Xc.cjs} +1 -1
- package/dist/{TextInput-DWXb6yKh.cjs → TextInput-BkCOQWfT.cjs} +2 -2
- package/dist/{TextInput-BOuAvB8K.js → TextInput-Kt2ciMVI.js} +7 -7
- package/dist/{Toast-YEddFrhn.js → Toast-CeGAznEA.js} +8 -8
- package/dist/{Toast-DTDAT-A4.cjs → Toast-Ci4P6mM0.cjs} +1 -1
- package/dist/{Toaster-BpYvPdSk.cjs → Toaster-Cit4iNYG.cjs} +1 -1
- package/dist/{Toaster-Dfi6bj_6.js → Toaster-zIdIFToW.js} +1 -1
- package/dist/{Tree-aN3f3kZP.cjs → Tree-BiqO99_n.cjs} +1 -1
- package/dist/{Tree-BJv3cwiE.js → Tree-ZtXPSE7w.js} +1 -1
- package/dist/{TreeNode-xfWkYDCS.cjs → TreeNode-BcVuy7zd.cjs} +1 -1
- package/dist/{TreeNode-BD_8vNNF.js → TreeNode-HVTTXuRl.js} +1 -1
- package/dist/{UserMenu-C4SoJOF7.js → UserMenu-DuAQ0yne.js} +2 -2
- package/dist/{UserMenu-Cq2dws0F.cjs → UserMenu-FhWFKqzy.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +201 -193
- package/dist/component-styles.json +29 -0
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -0
- package/dist/components/AiProvider.d.ts +29 -0
- package/dist/components/AiProvider.mjs +2 -0
- package/dist/components/AiProvider.vue.d.ts +36 -0
- package/dist/components/AiProvider.vue.d.ts.map +1 -0
- package/dist/components/AiUsage.cjs +1 -0
- package/dist/components/AiUsage.d.ts +29 -0
- package/dist/components/AiUsage.mjs +2 -0
- package/dist/components/AiUsage.vue.d.ts +28 -0
- package/dist/components/AiUsage.vue.d.ts.map +1 -0
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/Avatar.vue.d.ts +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +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 -0
- package/dist/components/Briefing.d.ts +22 -0
- package/dist/components/Briefing.mjs +2 -0
- package/dist/components/Briefing.vue.d.ts +36 -0
- package/dist/components/Briefing.vue.d.ts.map +1 -0
- package/dist/components/BriefingDestination.cjs +1 -0
- package/dist/components/BriefingDestination.d.ts +16 -0
- package/dist/components/BriefingDestination.mjs +2 -0
- package/dist/components/BriefingDestination.vue.d.ts +25 -0
- package/dist/components/BriefingDestination.vue.d.ts.map +1 -0
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.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 +3 -3
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +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/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +2 -2
- package/dist/components/TextInput.vue.d.ts.map +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/Tree.cjs +1 -1
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +4 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +4 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/global.d.ts +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +108 -104
- package/dist/main.d.ts +8 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AiProvider.css +1 -0
- package/dist/styles/AiUsage.css +1 -0
- package/dist/styles/Briefing.css +1 -0
- package/dist/styles/BriefingDestination.css +1 -0
- package/dist/ui.css +12 -8
- package/package.json +1 -1
- package/dist/Confirm-CmQzDZFC.js +0 -313
- package/dist/Confirm-DfTjBTuJ.cjs +0 -1
- /package/dist/{Avatar-4BWmDFhO.js → Avatar-BibgBZuN.js} +0 -0
- /package/dist/{Avatar-BqiwSWeV.cjs → Avatar-BpPczEa8.cjs} +0 -0
- /package/dist/{Badge-CLgaADV-.cjs → Badge-D6nlcs4F.cjs} +0 -0
- /package/dist/{Badge-BH8qD-w8.js → Badge-DJx3RZxk.js} +0 -0
- /package/dist/{Blueprint.context-CfOZcttA.js → Blueprint.context-BU2ujsDD.js} +0 -0
- /package/dist/{Blueprint.context-NmqerYFf.cjs → Blueprint.context-DjbRPuLQ.cjs} +0 -0
- /package/dist/{BlueprintBackground-D52auBfC.cjs → BlueprintBackground-D5i-Rlmm.cjs} +0 -0
- /package/dist/{BlueprintBackground-Y-DxC7zj.js → BlueprintBackground-DtGJCzDy.js} +0 -0
- /package/dist/{BlueprintControls-Dqrr5aoC.cjs → BlueprintControls-BfTyqOwC.cjs} +0 -0
- /package/dist/{BlueprintControls-hQAFAlHB.js → BlueprintControls-COeG8N6G.js} +0 -0
- /package/dist/{BlueprintMinimap-D69cdbyQ.cjs → BlueprintMinimap-CujSRNvs.cjs} +0 -0
- /package/dist/{BlueprintMinimap-Ch9E_5bl.js → BlueprintMinimap-xwEOZlv6.js} +0 -0
- /package/dist/{Board-B_sqwxsN.cjs → Board-DmOzimbT.cjs} +0 -0
- /package/dist/{Board-nGnQkqJb.js → Board-R38Zb5t2.js} +0 -0
- /package/dist/{BottomPanel-DlrKsWHz.cjs → BottomPanel-Cpr7_cZI.cjs} +0 -0
- /package/dist/{BottomPanel-UDdEoJqh.js → BottomPanel-DdjpIyOA.js} +0 -0
- /package/dist/{Breadcrumbs-CRlWYf7S.js → Breadcrumbs-B0nEpUik.js} +0 -0
- /package/dist/{Breadcrumbs-Bw5LdW9D.cjs → Breadcrumbs-B8zyUzRM.cjs} +0 -0
- /package/dist/{Calendar-D-iSzX4T.cjs → Calendar-BPYKfErK.cjs} +0 -0
- /package/dist/{Calendar-CJd9UzLq.js → Calendar-C2KlJvo5.js} +0 -0
- /package/dist/{ChartLegend-C8_vklRf.js → ChartLegend-BtBKVnH3.js} +0 -0
- /package/dist/{ChartLegend-CTqPJ52N.cjs → ChartLegend-ndpGucTZ.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-CcJlyjRV.js → CheckboxGroup.context-B2qjPnB2.js} +0 -0
- /package/dist/{CheckboxGroup.context-BJ_mXMo8.cjs → CheckboxGroup.context-DyFYVLH1.cjs} +0 -0
- /package/dist/{CommandPalette-BevB1sEi.js → CommandPalette-CU8gkgTx.js} +0 -0
- /package/dist/{CommandPalette-BxtsOesP.cjs → CommandPalette-zmNIqPex.cjs} +0 -0
- /package/dist/{DefinitionList-BM-83VTW.cjs → DefinitionList-COgbbyRS.cjs} +0 -0
- /package/dist/{DefinitionList-YSgdnnMD.js → DefinitionList-Xn-f_QhT.js} +0 -0
- /package/dist/{DefinitionListItem-Dx3z7niO.cjs → DefinitionListItem-B4bGJJJj.cjs} +0 -0
- /package/dist/{DefinitionListItem-DfTl4VTm.js → DefinitionListItem-ZRjLrhaI.js} +0 -0
- /package/dist/{DragHandle-DqcKoM4f.js → DragHandle-BbgSL4IW.js} +0 -0
- /package/dist/{DragHandle-C91bypG3.cjs → DragHandle-bosa6iXA.cjs} +0 -0
- /package/dist/{Field-glovCxOq.cjs → Field-DznERREe.cjs} +0 -0
- /package/dist/{Field-Csuq9cqO.js → Field-LiiMobFy.js} +0 -0
- /package/dist/{FileUploader-B8jyhhkN.cjs → FileUploader-BjYXOXxj.cjs} +0 -0
- /package/dist/{FileUploader-BAns0DbJ.js → FileUploader-DwKKUn71.js} +0 -0
- /package/dist/{Flag-B16fkljO.cjs → Flag-C326U1pM.cjs} +0 -0
- /package/dist/{Flag-e7J5iLc8.js → Flag-DBHUM-oa.js} +0 -0
- /package/dist/{FloatingToolbar-DkQDopOX.js → FloatingToolbar-B_VISp4J.js} +0 -0
- /package/dist/{FloatingToolbar-B6xZvl4M.cjs → FloatingToolbar-CMYR7_b_.cjs} +0 -0
- /package/dist/{Grid-By_NqGWQ.cjs → Grid-D8c0StGs.cjs} +0 -0
- /package/dist/{Grid-BF4ObsbF.js → Grid-XtnH-vr_.js} +0 -0
- /package/dist/{InlineEdit-wpQAg80H.cjs → InlineEdit-BLrO3i1p.cjs} +0 -0
- /package/dist/{InlineEdit-ak0WY89o.js → InlineEdit-BemWhcI3.js} +0 -0
- /package/dist/{JsonTree-CnEinkjy.cjs → JsonTree-B3TskapA.cjs} +0 -0
- /package/dist/{JsonTree-DJNeIkMt.js → JsonTree-DzEsyR3A.js} +0 -0
- /package/dist/{Label-CR6g53gz.cjs → Label-CVCNXFn1.cjs} +0 -0
- /package/dist/{Label-DkdjCPeM.js → Label-ciCAG21-.js} +0 -0
- /package/dist/{Layer-Bw8eiq3V.cjs → Layer-BRDO-CDw.cjs} +0 -0
- /package/dist/{Layer--aocK4Jq.js → Layer-DsNOdX44.js} +0 -0
- /package/dist/{MenuBar-DOHhu1YE.js → MenuBar-BTSnSFvG.js} +0 -0
- /package/dist/{MenuBar-IE1c-DnC.cjs → MenuBar-CFCpmpU7.cjs} +0 -0
- /package/dist/{MenuBarItem-B3DXNMZR.js → MenuBarItem-C7TPhYnN.js} +0 -0
- /package/dist/{MenuBarItem-DkJPAdkN.cjs → MenuBarItem-D1LSKPxk.cjs} +0 -0
- /package/dist/{MenuDivider-CZFNkoP5.js → MenuDivider-BosPmiMO.js} +0 -0
- /package/dist/{MenuDivider-D9Dw8VKM.cjs → MenuDivider-kpF-fk4u.cjs} +0 -0
- /package/dist/{NubiscoMark-Dvwu7mri.cjs → NubiscoMark-D4-pm2EX.cjs} +0 -0
- /package/dist/{NubiscoMark-DTPsWWI3.js → NubiscoMark-DgzvBHAd.js} +0 -0
- /package/dist/{NubiscoPlatformMark-COQnCydq.js → NubiscoPlatformMark-CayXaZGB.js} +0 -0
- /package/dist/{NubiscoPlatformMark-D2sQvlRb.cjs → NubiscoPlatformMark-DV2XeqiT.cjs} +0 -0
- /package/dist/{Panel-DXpXMlzK.js → Panel-Drfi9pqS.js} +0 -0
- /package/dist/{Panel-Yrl_AZTB.cjs → Panel-valtWFWI.cjs} +0 -0
- /package/dist/{ReorderList-DlO13mZ8.js → ReorderList-BDLxDc6t.js} +0 -0
- /package/dist/{ReorderList-DaDY714T.cjs → ReorderList-BdHgEL4G.cjs} +0 -0
- /package/dist/{Shell-CtpVIsIr.cjs → Shell-6Dwl2FnC.cjs} +0 -0
- /package/dist/{Shell-Cfdfqfvc.js → Shell-C9DK_Phw.js} +0 -0
- /package/dist/{ShellPanel-B2AgOmD5.js → ShellPanel-Cu3C3H9J.js} +0 -0
- /package/dist/{ShellPanel-Db3C1879.cjs → ShellPanel-rrSF7BQs.cjs} +0 -0
- /package/dist/{SidebarBrand-PUeotNqh.js → SidebarBrand-Ba6QIT1v.js} +0 -0
- /package/dist/{SidebarBrand-CUdKgDWl.cjs → SidebarBrand-BqSqQNPa.cjs} +0 -0
- /package/dist/{SidebarLink-COBTc762.cjs → SidebarLink-BbzeT8Tq.cjs} +0 -0
- /package/dist/{SidebarLink-DFxHQLCu.js → SidebarLink-Bi8GxvCf.js} +0 -0
- /package/dist/{SidebarMenu-DYqo6XE_.cjs → SidebarMenu-B4nng5Fz.cjs} +0 -0
- /package/dist/{SidebarMenu-DWEzNXfe.js → SidebarMenu-DoMgZO7c.js} +0 -0
- /package/dist/{SidebarMenuGroup-BHtxWHBk.cjs → SidebarMenuGroup-BdOpz4N1.cjs} +0 -0
- /package/dist/{SidebarMenuGroup-C2DHT9rs.js → SidebarMenuGroup-CmCPtZJD.js} +0 -0
- /package/dist/{SidebarMenuItem-DFAU-ROX.js → SidebarMenuItem-CWXKdUTX.js} +0 -0
- /package/dist/{SidebarMenuItem-BjdRY91e.cjs → SidebarMenuItem-j21WVpId.cjs} +0 -0
- /package/dist/{Sparkline-DL_g9GtX.js → Sparkline-C4gA55Pc.js} +0 -0
- /package/dist/{Sparkline-CeUnGfSA.cjs → Sparkline-DI7arXX0.cjs} +0 -0
- /package/dist/{Stepper.context-Doy3IafX.cjs → Stepper.context-Dxw8xYGX.cjs} +0 -0
- /package/dist/{Stepper.context-Dj8sqSeB.js → Stepper.context-q_CjX3CO.js} +0 -0
- /package/dist/{Submenu-Bay1plPK.cjs → Submenu-CpNOHf-e.cjs} +0 -0
- /package/dist/{Submenu-CAwlRk1P.js → Submenu-DKpL5htf.js} +0 -0
- /package/dist/{TableOfContents-CFXhJ6cZ.js → TableOfContents-BqF5y-1t.js} +0 -0
- /package/dist/{TableOfContents-CLB6iFCf.cjs → TableOfContents-C6xx7P4d.cjs} +0 -0
- /package/dist/{TreeContext-DXn-HNow.cjs → TreeContext-we7Xt7IP.cjs} +0 -0
- /package/dist/{TreeContext-D_NJ8vrP.js → TreeContext-xtlNBGhB.js} +0 -0
- /package/dist/{Video-B7VqDjou.cjs → Video-Bgzvf-C9.cjs} +0 -0
- /package/dist/{Video-r2VtGVlN.js → Video-CY0UEDLL.js} +0 -0
- /package/dist/{Walkthrough-C0WRD_PK.js → Walkthrough-KmxZqXxV.js} +0 -0
- /package/dist/{Walkthrough-CrmK6nRz.cjs → Walkthrough-oU-NaG_A.cjs} +0 -0
- /package/dist/{Wireframe-u15I8Ldj.js → Wireframe-Bf55dFWu.js} +0 -0
- /package/dist/{Wireframe-pfnyZFGe.cjs → Wireframe-CX8KvGJx.cjs} +0 -0
- /package/dist/{palette-0LscvyqA.cjs → palette-BoABA-De.cjs} +0 -0
- /package/dist/{palette-CxPgs-Dn.js → palette-VMXxKICH.js} +0 -0
- /package/dist/{pixi-scene-CN2JIn7_.js → pixi-scene-D57Y3MvT.js} +0 -0
- /package/dist/{pixi-scene-CRogQbky.cjs → pixi-scene-OOSMyGKD.cjs} +0 -0
- /package/dist/{scales-CFWdZe1z.cjs → scales-BWtB8m5D.cjs} +0 -0
- /package/dist/{scales-DMlq1jQZ.js → scales-DVJzRU1F.js} +0 -0
- /package/dist/{useChartSize-C8SNfQZL.cjs → useChartSize-D9UxUkiU.cjs} +0 -0
- /package/dist/{useChartSize-Dbm1f8au.js → useChartSize-Dyh37PYP.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DCZIIefo.cjs → useLoadingAnnouncer.composable-BMMz4C1C.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-B9SAlQE6.js → useLoadingAnnouncer.composable-DY8jGEwJ.js} +0 -0
- /package/dist/{vue-i18n-CYAt-t4N.cjs → vue-i18n-B_5xehV9.cjs} +0 -0
- /package/dist/{vue-i18n-D5xWp3Q8.js → vue-i18n-Dzm-MDw4.js} +0 -0
package/dist/Confirm-CmQzDZFC.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
import { useReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
3
|
-
import { t as n } from "./Icon-rREAqsu0.js";
|
|
4
|
-
import { t as r } from "./Button-IcCXOoCT.js";
|
|
5
|
-
import { t as i } from "./Message-CVzG-irA.js";
|
|
6
|
-
import { i as a, r as ee, t as te } from "./Modal-b5eV95gR.js";
|
|
7
|
-
import { t as ne } from "./TextInput-BOuAvB8K.js";
|
|
8
|
-
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, onMounted as re, onUnmounted as ie, openBlock as g, ref as _, renderSlot as ae, toDisplayString as v, unref as y, useId as oe, useSlots as se, watch as b, withCtx as x, withKeys as ce, withModifiers as le } from "vue";
|
|
9
|
-
import { regular as ue } from "@nubisco/ui/icons/check";
|
|
10
|
-
import { regular as de } from "@nubisco/ui/icons/warning";
|
|
11
|
-
//#region src/components/Confirm.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var fe = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "nb-confirm__message"
|
|
15
|
-
}, pe = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "nb-confirm__subject-kind"
|
|
18
|
-
}, me = { class: "nb-confirm__subject-name" }, he = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "nb-confirm__gate"
|
|
21
|
-
}, ge = { class: "nb-confirm__live" }, _e = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "nb-confirm__status",
|
|
24
|
-
role: "status"
|
|
25
|
-
}, ve = {
|
|
26
|
-
key: 1,
|
|
27
|
-
class: "nb-confirm__status nb-confirm__status--success",
|
|
28
|
-
role: "status"
|
|
29
|
-
}, S = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
30
|
-
__name: "Confirm",
|
|
31
|
-
props: {
|
|
32
|
-
open: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
},
|
|
36
|
-
title: {},
|
|
37
|
-
message: { default: void 0 },
|
|
38
|
-
subject: { default: void 0 },
|
|
39
|
-
subjectLabel: { default: void 0 },
|
|
40
|
-
confirmLabel: { default: "Confirm" },
|
|
41
|
-
cancelLabel: { default: "Cancel" },
|
|
42
|
-
tone: { default: "danger" },
|
|
43
|
-
typeToConfirm: { default: void 0 },
|
|
44
|
-
typeToConfirmLabel: { default: void 0 },
|
|
45
|
-
typeToConfirmHelper: { default: void 0 },
|
|
46
|
-
busy: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
busyLabel: { default: "Working..." },
|
|
51
|
-
succeeded: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
successLabel: { default: void 0 },
|
|
56
|
-
error: { default: void 0 },
|
|
57
|
-
size: { default: "sm" },
|
|
58
|
-
floatingSelectors: { default: () => [] },
|
|
59
|
-
contentClass: { default: void 0 }
|
|
60
|
-
},
|
|
61
|
-
emits: ["confirm", "cancel"],
|
|
62
|
-
setup(t, { expose: p, emit: S }) {
|
|
63
|
-
let C = t, w = S, T = oe(), E = `nb-confirm-title-${T}`, D = `nb-confirm-body-${T}`, ye = se(), O = _(null), k = _(null), A = _(null), j = _(""), M = e(), N = o(() => C.busy || C.succeeded);
|
|
64
|
-
function P() {
|
|
65
|
-
return !!C.message || !!C.subject || !!ye.default;
|
|
66
|
-
}
|
|
67
|
-
let be = o(() => C.tone === "danger" ? "danger" : "primary"), xe = o(() => C.typeToConfirmLabel ?? `Type ${C.typeToConfirm} to confirm`), Se = o(() => !C.typeToConfirm || j.value.trim() === C.typeToConfirm), F = o(() => Se.value && !N.value);
|
|
68
|
-
function Ce() {
|
|
69
|
-
F.value && w("confirm");
|
|
70
|
-
}
|
|
71
|
-
function I() {
|
|
72
|
-
let e = A.value?.$el;
|
|
73
|
-
return e instanceof HTMLElement ? e : null;
|
|
74
|
-
}
|
|
75
|
-
function L() {
|
|
76
|
-
return O.value?.closest("[role=\"dialog\"],[role=\"alertdialog\"]") ?? null;
|
|
77
|
-
}
|
|
78
|
-
function we() {
|
|
79
|
-
return typeof document > "u" ? [] : Array.from(document.querySelectorAll("[aria-modal=\"true\"]"));
|
|
80
|
-
}
|
|
81
|
-
function R() {
|
|
82
|
-
let e = L();
|
|
83
|
-
if (!e) return !1;
|
|
84
|
-
let t = we();
|
|
85
|
-
return t.length === 0 || t[t.length - 1] === e;
|
|
86
|
-
}
|
|
87
|
-
let Te = [
|
|
88
|
-
"a[href]:not([tabindex=\"-1\"])",
|
|
89
|
-
"area[href]:not([tabindex=\"-1\"])",
|
|
90
|
-
"button:not([disabled]):not([tabindex=\"-1\"])",
|
|
91
|
-
"input:not([disabled]):not([type=\"hidden\"]):not([tabindex=\"-1\"])",
|
|
92
|
-
"select:not([disabled]):not([tabindex=\"-1\"])",
|
|
93
|
-
"textarea:not([disabled]):not([tabindex=\"-1\"])",
|
|
94
|
-
"summary:not([tabindex=\"-1\"])",
|
|
95
|
-
"audio[controls]:not([tabindex=\"-1\"])",
|
|
96
|
-
"video[controls]:not([tabindex=\"-1\"])",
|
|
97
|
-
"iframe:not([tabindex=\"-1\"])",
|
|
98
|
-
"[contenteditable]:not([contenteditable=\"false\"]):not([tabindex=\"-1\"])",
|
|
99
|
-
"[tabindex]:not([tabindex=\"-1\"])"
|
|
100
|
-
].map((e) => `${e}:not([hidden]):not([aria-hidden="true"])`).join(",");
|
|
101
|
-
function Ee() {
|
|
102
|
-
return a(C.floatingSelectors);
|
|
103
|
-
}
|
|
104
|
-
function z(e) {
|
|
105
|
-
return e instanceof Element ? !!e.closest(Ee()) : !1;
|
|
106
|
-
}
|
|
107
|
-
function B(e) {
|
|
108
|
-
let t = L();
|
|
109
|
-
return !!t && !!e && t.contains(e);
|
|
110
|
-
}
|
|
111
|
-
function V() {
|
|
112
|
-
let e = L();
|
|
113
|
-
return e ? Array.from(e.querySelectorAll(Te)).filter((e) => e.getAttribute("aria-disabled") !== "true") : [];
|
|
114
|
-
}
|
|
115
|
-
function H() {
|
|
116
|
-
let e = L();
|
|
117
|
-
return e ? (e.focus(), !0) : !1;
|
|
118
|
-
}
|
|
119
|
-
function U() {
|
|
120
|
-
let e = V()[0];
|
|
121
|
-
e ? e.focus() : H();
|
|
122
|
-
}
|
|
123
|
-
let W = null;
|
|
124
|
-
function G() {
|
|
125
|
-
let e = W;
|
|
126
|
-
W = null, e?.isConnected && e.focus();
|
|
127
|
-
}
|
|
128
|
-
function K() {
|
|
129
|
-
ee(L(), M.value);
|
|
130
|
-
}
|
|
131
|
-
b(M, () => {
|
|
132
|
-
C.open && K();
|
|
133
|
-
}), b(() => [C.busy, C.error], async (e, t) => {
|
|
134
|
-
if (!C.open) return;
|
|
135
|
-
let [n, r] = e, i = t?.[0] ?? !1;
|
|
136
|
-
if (await m(), n) {
|
|
137
|
-
V().length === 0 && H();
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
if (i && r) {
|
|
141
|
-
let e = k.value;
|
|
142
|
-
e ? e.focus() : U();
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
let a = document.activeElement;
|
|
146
|
-
!B(a) && !z(a) && U();
|
|
147
|
-
}), b(() => C.open, async (e) => {
|
|
148
|
-
e ? (W = document.activeElement instanceof HTMLElement ? document.activeElement : null, j.value = "", await m(), K(), I() ? I()?.focus() : H()) : G();
|
|
149
|
-
}, { immediate: !0 });
|
|
150
|
-
function q() {
|
|
151
|
-
N.value || w("cancel");
|
|
152
|
-
}
|
|
153
|
-
let J = !1, Y = !1;
|
|
154
|
-
function X(e) {
|
|
155
|
-
let t = e.target;
|
|
156
|
-
J = B(t) || z(t);
|
|
157
|
-
}
|
|
158
|
-
function Z(e) {
|
|
159
|
-
Y = B(e.target);
|
|
160
|
-
}
|
|
161
|
-
function De() {
|
|
162
|
-
let e = J && !Y;
|
|
163
|
-
J = !1, !e && q();
|
|
164
|
-
}
|
|
165
|
-
function Q(e) {
|
|
166
|
-
if (!C.open || z(document.activeElement)) return;
|
|
167
|
-
if (e.key === "Escape") {
|
|
168
|
-
if (!R()) return;
|
|
169
|
-
e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), q();
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
if (e.key !== "Tab" || !R()) return;
|
|
173
|
-
let t = V();
|
|
174
|
-
if (t.length === 0) {
|
|
175
|
-
e.preventDefault(), B(document.activeElement) || H();
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
let n = t[0], r = t[t.length - 1], i = document.activeElement;
|
|
179
|
-
e.shiftKey && (i === n || !B(i)) ? (e.preventDefault(), r.focus()) : !e.shiftKey && i === r ? (e.preventDefault(), n.focus()) : B(i) || (e.preventDefault(), n.focus());
|
|
180
|
-
}
|
|
181
|
-
function $(e) {
|
|
182
|
-
if (!C.open) return;
|
|
183
|
-
let t = e.relatedTarget;
|
|
184
|
-
if (t instanceof Element) {
|
|
185
|
-
if (B(t) || z(t)) return;
|
|
186
|
-
} else if (t !== null) return;
|
|
187
|
-
requestAnimationFrame(() => {
|
|
188
|
-
if (!C.open) return;
|
|
189
|
-
let e = document.activeElement;
|
|
190
|
-
B(e) || z(e) || e && e !== document.body && !e.isConnected || R() && U();
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
return typeof document < "u" && (document.addEventListener("keydown", Q, !0), document.addEventListener("focusout", $, !0), document.addEventListener("mousedown", X, !0), document.addEventListener("touchstart", X, !0), document.addEventListener("click", Z, !0)), re(() => {
|
|
194
|
-
C.open && (K(), I() ? I()?.focus() : H());
|
|
195
|
-
}), ie(() => {
|
|
196
|
-
typeof document < "u" && (document.removeEventListener("keydown", Q, !0), document.removeEventListener("focusout", $, !0), document.removeEventListener("mousedown", X, !0), document.removeEventListener("touchstart", X, !0), document.removeEventListener("click", Z, !0)), G();
|
|
197
|
-
}), p({
|
|
198
|
-
focusCancel: () => I()?.focus(),
|
|
199
|
-
restoreFocus: G,
|
|
200
|
-
isTopmost: R
|
|
201
|
-
}), (e, a) => (g(), s(te, {
|
|
202
|
-
open: t.open,
|
|
203
|
-
size: t.size,
|
|
204
|
-
role: t.tone === "danger" ? "alertdialog" : "dialog",
|
|
205
|
-
"labelled-by": E,
|
|
206
|
-
"described-by": P() ? D : void 0,
|
|
207
|
-
busy: t.busy,
|
|
208
|
-
"close-on-overlay": !N.value,
|
|
209
|
-
"close-disabled": N.value,
|
|
210
|
-
"close-on-escape": !1,
|
|
211
|
-
"trap-focus": !1,
|
|
212
|
-
onClose: De
|
|
213
|
-
}, {
|
|
214
|
-
header: x(() => [u("span", {
|
|
215
|
-
id: E,
|
|
216
|
-
class: h(["nb-confirm__heading", `nb-confirm__heading--${t.tone}`])
|
|
217
|
-
}, [t.tone === "danger" ? (g(), s(n, {
|
|
218
|
-
key: 0,
|
|
219
|
-
name: y(de),
|
|
220
|
-
size: 16,
|
|
221
|
-
"aria-hidden": "true"
|
|
222
|
-
}, null, 8, ["name"])) : c("", !0), u("span", null, v(t.title), 1)], 2)]),
|
|
223
|
-
footer: x(() => [f(r, {
|
|
224
|
-
ref_key: "cancelRef",
|
|
225
|
-
ref: A,
|
|
226
|
-
class: "nb-confirm__action nb-confirm__action--cancel",
|
|
227
|
-
variant: "ghost",
|
|
228
|
-
size: "lg",
|
|
229
|
-
disabled: N.value,
|
|
230
|
-
"data-nb-confirm": "cancel",
|
|
231
|
-
onClick: q
|
|
232
|
-
}, {
|
|
233
|
-
default: x(() => [d(v(t.cancelLabel), 1)]),
|
|
234
|
-
_: 1
|
|
235
|
-
}, 8, ["disabled"]), f(r, {
|
|
236
|
-
class: "nb-confirm__action nb-confirm__action--confirm",
|
|
237
|
-
variant: be.value,
|
|
238
|
-
size: "lg",
|
|
239
|
-
disabled: !F.value,
|
|
240
|
-
loading: t.busy,
|
|
241
|
-
"data-nb-confirm": "confirm",
|
|
242
|
-
onClick: Ce
|
|
243
|
-
}, {
|
|
244
|
-
default: x(() => [d(v(t.confirmLabel), 1)]),
|
|
245
|
-
_: 1
|
|
246
|
-
}, 8, [
|
|
247
|
-
"variant",
|
|
248
|
-
"disabled",
|
|
249
|
-
"loading"
|
|
250
|
-
])]),
|
|
251
|
-
default: x(() => [u("div", {
|
|
252
|
-
ref_key: "rootRef",
|
|
253
|
-
ref: O,
|
|
254
|
-
class: h(["nb-confirm", t.contentClass])
|
|
255
|
-
}, [
|
|
256
|
-
P() ? (g(), l("div", {
|
|
257
|
-
key: 0,
|
|
258
|
-
id: D,
|
|
259
|
-
class: "nb-confirm__body"
|
|
260
|
-
}, [ae(e.$slots, "default", {}, () => [t.message ? (g(), l("p", fe, v(t.message), 1)) : c("", !0)], !0), t.subject ? (g(), l("p", {
|
|
261
|
-
key: 0,
|
|
262
|
-
class: h(["nb-confirm__subject", `nb-confirm__subject--${t.tone}`])
|
|
263
|
-
}, [t.subjectLabel ? (g(), l("span", pe, v(t.subjectLabel), 1)) : c("", !0), u("span", me, v(t.subject), 1)], 2)) : c("", !0)])) : c("", !0),
|
|
264
|
-
t.typeToConfirm ? (g(), l("div", he, [f(ne, {
|
|
265
|
-
modelValue: j.value,
|
|
266
|
-
"onUpdate:modelValue": a[0] ||= (e) => j.value = e,
|
|
267
|
-
class: "nb-confirm__gate-field",
|
|
268
|
-
label: xe.value,
|
|
269
|
-
helper: t.typeToConfirmHelper,
|
|
270
|
-
disabled: N.value,
|
|
271
|
-
autocomplete: "off",
|
|
272
|
-
spellcheck: "false",
|
|
273
|
-
"data-nb-confirm": "gate",
|
|
274
|
-
onKeydown: a[1] ||= ce(le(() => {}, ["prevent"]), ["enter"])
|
|
275
|
-
}, null, 8, [
|
|
276
|
-
"modelValue",
|
|
277
|
-
"label",
|
|
278
|
-
"helper",
|
|
279
|
-
"disabled"
|
|
280
|
-
])])) : c("", !0),
|
|
281
|
-
u("div", ge, [
|
|
282
|
-
t.busy ? (g(), l("p", _e, v(t.busyLabel), 1)) : c("", !0),
|
|
283
|
-
t.succeeded && t.successLabel ? (g(), l("p", ve, [f(n, {
|
|
284
|
-
name: y(ue),
|
|
285
|
-
size: 14,
|
|
286
|
-
"aria-hidden": "true"
|
|
287
|
-
}, null, 8, ["name"]), u("span", null, v(t.successLabel), 1)])) : c("", !0),
|
|
288
|
-
t.error ? (g(), l("div", {
|
|
289
|
-
key: 2,
|
|
290
|
-
ref_key: "errorRef",
|
|
291
|
-
ref: k,
|
|
292
|
-
class: "nb-confirm__error",
|
|
293
|
-
tabindex: "-1"
|
|
294
|
-
}, [f(i, { variant: "error" }, {
|
|
295
|
-
default: x(() => [d(v(t.error), 1)]),
|
|
296
|
-
_: 1
|
|
297
|
-
})], 512)) : c("", !0)
|
|
298
|
-
])
|
|
299
|
-
], 2)]),
|
|
300
|
-
_: 3
|
|
301
|
-
}, 8, [
|
|
302
|
-
"open",
|
|
303
|
-
"size",
|
|
304
|
-
"role",
|
|
305
|
-
"described-by",
|
|
306
|
-
"busy",
|
|
307
|
-
"close-on-overlay",
|
|
308
|
-
"close-disabled"
|
|
309
|
-
]));
|
|
310
|
-
}
|
|
311
|
-
}), [["__scopeId", "data-v-683eafb1"]]);
|
|
312
|
-
//#endregion
|
|
313
|
-
export { S as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./Button-C0UUTgEB.cjs`),i=require(`./Message-CjM5AAf0.cjs`),a=require(`./Modal-stR5KDNF.cjs`),o=require(`./TextInput-DWXb6yKh.cjs`);let s=require(`vue`),c=require(`@nubisco/ui/icons/check`),ee=require(`@nubisco/ui/icons/warning`);var te={key:0,class:`nb-confirm__message`},ne={key:0,class:`nb-confirm__subject-kind`},l={class:`nb-confirm__subject-name`},u={key:1,class:`nb-confirm__gate`},d={class:`nb-confirm__live`},f={key:0,class:`nb-confirm__status`,role:`status`},p={key:1,class:`nb-confirm__status nb-confirm__status--success`,role:`status`},m=(0,s.defineComponent)({__name:`Confirm`,props:{open:{type:Boolean,default:!1},title:{},message:{default:void 0},subject:{default:void 0},subjectLabel:{default:void 0},confirmLabel:{default:`Confirm`},cancelLabel:{default:`Cancel`},tone:{default:`danger`},typeToConfirm:{default:void 0},typeToConfirmLabel:{default:void 0},typeToConfirmHelper:{default:void 0},busy:{type:Boolean,default:!1},busyLabel:{default:`Working...`},succeeded:{type:Boolean,default:!1},successLabel:{default:void 0},error:{default:void 0},size:{default:`sm`},floatingSelectors:{default:()=>[]},contentClass:{default:void 0}},emits:[`confirm`,`cancel`],setup(t,{expose:m,emit:h}){let g=t,_=h,v=(0,s.useId)(),y=`nb-confirm-title-${v}`,b=`nb-confirm-body-${v}`,x=(0,s.useSlots)(),S=(0,s.ref)(null),C=(0,s.ref)(null),w=(0,s.ref)(null),T=(0,s.ref)(``),E=e.useReducedMotion(),D=(0,s.computed)(()=>g.busy||g.succeeded);function O(){return!!g.message||!!g.subject||!!x.default}let k=(0,s.computed)(()=>g.tone===`danger`?`danger`:`primary`),A=(0,s.computed)(()=>g.typeToConfirmLabel??`Type ${g.typeToConfirm} to confirm`),j=(0,s.computed)(()=>!g.typeToConfirm||T.value.trim()===g.typeToConfirm),M=(0,s.computed)(()=>j.value&&!D.value);function N(){M.value&&_(`confirm`)}function P(){let e=w.value?.$el;return e instanceof HTMLElement?e:null}function F(){return S.value?.closest(`[role="dialog"],[role="alertdialog"]`)??null}function re(){return typeof document>`u`?[]:Array.from(document.querySelectorAll(`[aria-modal="true"]`))}function I(){let e=F();if(!e)return!1;let t=re();return t.length===0||t[t.length-1]===e}let L=[`a[href]:not([tabindex="-1"])`,`area[href]:not([tabindex="-1"])`,`button:not([disabled]):not([tabindex="-1"])`,`input:not([disabled]):not([type="hidden"]):not([tabindex="-1"])`,`select:not([disabled]):not([tabindex="-1"])`,`textarea:not([disabled]):not([tabindex="-1"])`,`summary:not([tabindex="-1"])`,`audio[controls]:not([tabindex="-1"])`,`video[controls]:not([tabindex="-1"])`,`iframe:not([tabindex="-1"])`,`[contenteditable]:not([contenteditable="false"]):not([tabindex="-1"])`,`[tabindex]:not([tabindex="-1"])`].map(e=>`${e}:not([hidden]):not([aria-hidden="true"])`).join(`,`);function R(){return a.i(g.floatingSelectors)}function z(e){return e instanceof Element?!!e.closest(R()):!1}function B(e){let t=F();return!!t&&!!e&&t.contains(e)}function V(){let e=F();return e?Array.from(e.querySelectorAll(L)).filter(e=>e.getAttribute(`aria-disabled`)!==`true`):[]}function H(){let e=F();return e?(e.focus(),!0):!1}function U(){let e=V()[0];e?e.focus():H()}let W=null;function G(){let e=W;W=null,e?.isConnected&&e.focus()}function K(){a.r(F(),E.value)}(0,s.watch)(E,()=>{g.open&&K()}),(0,s.watch)(()=>[g.busy,g.error],async(e,t)=>{if(!g.open)return;let[n,r]=e,i=t?.[0]??!1;if(await(0,s.nextTick)(),n){V().length===0&&H();return}if(i&&r){let e=C.value;e?e.focus():U();return}let a=document.activeElement;!B(a)&&!z(a)&&U()}),(0,s.watch)(()=>g.open,async e=>{e?(W=document.activeElement instanceof HTMLElement?document.activeElement:null,T.value=``,await(0,s.nextTick)(),K(),P()?P()?.focus():H()):G()},{immediate:!0});function q(){D.value||_(`cancel`)}let J=!1,Y=!1;function X(e){let t=e.target;J=B(t)||z(t)}function Z(e){Y=B(e.target)}function ie(){let e=J&&!Y;J=!1,!e&&q()}function Q(e){if(!g.open||z(document.activeElement))return;if(e.key===`Escape`){if(!I())return;e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),q();return}if(e.key!==`Tab`||!I())return;let t=V();if(t.length===0){e.preventDefault(),B(document.activeElement)||H();return}let n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&(i===n||!B(i))?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r?(e.preventDefault(),n.focus()):B(i)||(e.preventDefault(),n.focus())}function $(e){if(!g.open)return;let t=e.relatedTarget;if(t instanceof Element){if(B(t)||z(t))return}else if(t!==null)return;requestAnimationFrame(()=>{if(!g.open)return;let e=document.activeElement;B(e)||z(e)||e&&e!==document.body&&!e.isConnected||I()&&U()})}return typeof document<`u`&&(document.addEventListener(`keydown`,Q,!0),document.addEventListener(`focusout`,$,!0),document.addEventListener(`mousedown`,X,!0),document.addEventListener(`touchstart`,X,!0),document.addEventListener(`click`,Z,!0)),(0,s.onMounted)(()=>{g.open&&(K(),P()?P()?.focus():H())}),(0,s.onUnmounted)(()=>{typeof document<`u`&&(document.removeEventListener(`keydown`,Q,!0),document.removeEventListener(`focusout`,$,!0),document.removeEventListener(`mousedown`,X,!0),document.removeEventListener(`touchstart`,X,!0),document.removeEventListener(`click`,Z,!0)),G()}),m({focusCancel:()=>P()?.focus(),restoreFocus:G,isTopmost:I}),(e,m)=>((0,s.openBlock)(),(0,s.createBlock)(a.t,{open:t.open,size:t.size,role:t.tone===`danger`?`alertdialog`:`dialog`,"labelled-by":y,"described-by":O()?b:void 0,busy:t.busy,"close-on-overlay":!D.value,"close-disabled":D.value,"close-on-escape":!1,"trap-focus":!1,onClose:ie},{header:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`span`,{id:y,class:(0,s.normalizeClass)([`nb-confirm__heading`,`nb-confirm__heading--${t.tone}`])},[t.tone===`danger`?((0,s.openBlock)(),(0,s.createBlock)(n.t,{key:0,name:(0,s.unref)(ee.regular),size:16,"aria-hidden":`true`},null,8,[`name`])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(t.title),1)],2)]),footer:(0,s.withCtx)(()=>[(0,s.createVNode)(r.t,{ref_key:`cancelRef`,ref:w,class:`nb-confirm__action nb-confirm__action--cancel`,variant:`ghost`,size:`lg`,disabled:D.value,"data-nb-confirm":`cancel`,onClick:q},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.cancelLabel),1)]),_:1},8,[`disabled`]),(0,s.createVNode)(r.t,{class:`nb-confirm__action nb-confirm__action--confirm`,variant:k.value,size:`lg`,disabled:!M.value,loading:t.busy,"data-nb-confirm":`confirm`,onClick:N},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.confirmLabel),1)]),_:1},8,[`variant`,`disabled`,`loading`])]),default:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`div`,{ref_key:`rootRef`,ref:S,class:(0,s.normalizeClass)([`nb-confirm`,t.contentClass])},[O()?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:0,id:b,class:`nb-confirm__body`},[(0,s.renderSlot)(e.$slots,`default`,{},()=>[t.message?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,te,(0,s.toDisplayString)(t.message),1)):(0,s.createCommentVNode)(``,!0)],!0),t.subject?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,{key:0,class:(0,s.normalizeClass)([`nb-confirm__subject`,`nb-confirm__subject--${t.tone}`])},[t.subjectLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`span`,ne,(0,s.toDisplayString)(t.subjectLabel),1)):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,l,(0,s.toDisplayString)(t.subject),1)],2)):(0,s.createCommentVNode)(``,!0)])):(0,s.createCommentVNode)(``,!0),t.typeToConfirm?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,u,[(0,s.createVNode)(o.t,{modelValue:T.value,"onUpdate:modelValue":m[0]||=e=>T.value=e,class:`nb-confirm__gate-field`,label:A.value,helper:t.typeToConfirmHelper,disabled:D.value,autocomplete:`off`,spellcheck:`false`,"data-nb-confirm":`gate`,onKeydown:m[1]||=(0,s.withKeys)((0,s.withModifiers)(()=>{},[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`helper`,`disabled`])])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,d,[t.busy?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,f,(0,s.toDisplayString)(t.busyLabel),1)):(0,s.createCommentVNode)(``,!0),t.succeeded&&t.successLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,p,[(0,s.createVNode)(n.t,{name:(0,s.unref)(c.regular),size:14,"aria-hidden":`true`},null,8,[`name`]),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(t.successLabel),1)])):(0,s.createCommentVNode)(``,!0),t.error?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:2,ref_key:`errorRef`,ref:C,class:`nb-confirm__error`,tabindex:`-1`},[(0,s.createVNode)(i.t,{variant:`error`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.error),1)]),_:1})],512)):(0,s.createCommentVNode)(``,!0)])],2)]),_:3},8,[`open`,`size`,`role`,`described-by`,`busy`,`close-on-overlay`,`close-disabled`]))}}),h=t.t(m,[[`__scopeId`,`data-v-683eafb1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|