@nubisco/ui 5.48.0 → 5.49.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 +119 -0
- package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
- package/dist/ActionGroup-48ZXZCsn.cjs +1 -0
- package/dist/ActionGroup-DzQjn3ir.js +137 -0
- package/dist/{AiLabel-DywBjSzr.js → AiLabel-CSSIkvKP.js} +20 -20
- package/dist/{AiLabel-pRN10dQV.cjs → AiLabel-DSKUOcZs.cjs} +1 -1
- package/dist/{AiProvider-DY1xxZff.cjs → AiProvider-BrjUMTRk.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-Db47uagx.js} +6 -6
- package/dist/{AiUsage-HcYF6RQ2.js → AiUsage-BOrAXk2-.js} +2 -2
- package/dist/{AiUsage-DRj51zK5.cjs → AiUsage-fQqE0B6N.cjs} +1 -1
- package/dist/BackToTop-DgFlV4p4.cjs +1 -0
- package/dist/BackToTop-DrgXqZgF.js +51 -0
- package/dist/Banner-CazPCK0F.js +89 -0
- package/dist/Banner-CyU3PPnt.cjs +1 -0
- package/dist/{BarChart-IX4imFVT.cjs → BarChart-3YO4YfUt.cjs} +1 -1
- package/dist/{BarChart-tB6MOMoR.js → BarChart-CDvhhPk0.js} +4 -4
- package/dist/BatchActions-0P-b3qLI.js +84 -0
- package/dist/BatchActions-FDPiGUNh.cjs +1 -0
- package/dist/{Blueprint-46DWDZmu.js → Blueprint-CGGNppmS.js} +2 -2
- package/dist/{Blueprint-NyUNNf-G.cjs → Blueprint-DBIXzLYg.cjs} +1 -1
- package/dist/{BlueprintCard-Cda5rPZu.cjs → BlueprintCard-D3h_rGhj.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-_FItugFc.js} +107 -107
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-CSVCzJ1s.js} +178 -190
- package/dist/Board-gUICo94e.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-BgMh5bfe.js +185 -0
- package/dist/Breadcrumbs-DN_2wxQS.cjs +1 -0
- package/dist/{Briefing-CoDyU3k4.js → Briefing-0A1frO4v.js} +3 -3
- package/dist/{Briefing-B_ofl8Rt.cjs → Briefing-AqSz-ZdZ.cjs} +1 -1
- package/dist/{BriefingDestination-DAu5S2HI.cjs → BriefingDestination-CqyKzyXx.cjs} +1 -1
- package/dist/{BriefingDestination-CK4XdAOo.js → BriefingDestination-v3kNa6o_.js} +4 -4
- package/dist/Button-BHFtgOXA.cjs +1 -0
- package/dist/Button-tpOmP8iV.js +699 -0
- package/dist/ButtonSet-BV76HHgD.js +67 -0
- package/dist/ButtonSet-Bj9mIOW2.cjs +1 -0
- package/dist/Calendar-Bf0Nk0rA.js +153 -0
- package/dist/Calendar-D9J17bTp.cjs +1 -0
- package/dist/Card-C6KAn4tN.cjs +1 -0
- package/dist/Card-qNem4s60.js +162 -0
- package/dist/{Checkbox-DXQpih7I.js → Checkbox-BgXXVsCC.js} +1 -1
- package/dist/{Checkbox-7JJdh4sN.cjs → Checkbox-DPPln6oG.cjs} +1 -1
- package/dist/{CheckboxGroup-B8T3zLQC.cjs → CheckboxGroup-B2a3ezEK.cjs} +1 -1
- package/dist/{CheckboxGroup-BHn1hpzh.js → CheckboxGroup-Ck1ylAX9.js} +3 -3
- package/dist/ChipGroup-CVDk4ElV.js +74 -0
- package/dist/ChipGroup-DojKPHhq.cjs +1 -0
- package/dist/CloseButton-9TTFHFmx.cjs +1 -0
- package/dist/CloseButton-CdH12Hdn.js +48 -0
- package/dist/{ColorStrip-BW1nFTja.js → ColorStrip-CuF9ZGoO.js} +2 -2
- package/dist/{ColorStrip-AEg8dQbl.cjs → ColorStrip-bpguV5b2.cjs} +1 -1
- package/dist/CommandPalette-CCEzVWfb.cjs +1 -0
- package/dist/{CommandPalette-CD75Qytr.js → CommandPalette-D1DuzaA1.js} +100 -85
- package/dist/Confirm-BQxQlmjs.cjs +1 -0
- package/dist/Confirm-DLhI3VVh.js +331 -0
- package/dist/{ContainedListItem-Dj7TcGpO.cjs → ContainedListItem-DjHEyhf8.cjs} +1 -1
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-DtTZOm-_.js} +1 -1
- package/dist/ContentSwitcher-B-PUG0FE.js +99 -0
- package/dist/ContentSwitcher-CYSF2B-a.cjs +1 -0
- package/dist/CopyButton-CQ9tcyfs.js +60 -0
- package/dist/CopyButton-DRvJ4rf5.cjs +1 -0
- package/dist/DataTable-CHztTxz1.cjs +1 -0
- package/dist/DataTable-Dp3WZihu.js +545 -0
- package/dist/DatePicker-BLRQEI-6.js +755 -0
- package/dist/DatePicker-CJlffHeM.cjs +1 -0
- package/dist/FileUploader-UzgK5RKz.cjs +1 -0
- package/dist/FileUploader-dzVu4iSo.js +195 -0
- package/dist/FloatingToolbar-BTmWtGU7.js +116 -0
- package/dist/FloatingToolbar-DDCJuaq0.cjs +1 -0
- package/dist/{Form-D6rgkJ_Y.cjs → Form-D2KHlP7N.cjs} +1 -1
- package/dist/{Form-1UVOFWaf.js → Form-igwYeEVI.js} +1 -1
- package/dist/{GanttChart-B_LqsmcR.cjs → GanttChart-ClFarMf-.cjs} +1 -1
- package/dist/{GanttChart-cZguVXW8.js → GanttChart-N05mLdsn.js} +3 -3
- package/dist/{ImageCropper-CJ2mCj9z.cjs → ImageCropper-CoYR_Hhy.cjs} +1 -1
- package/dist/{ImageCropper-BFKMYthJ.js → ImageCropper-wQknqxNK.js} +2 -2
- package/dist/ImagePicker-Dhj01jq7.cjs +1 -0
- package/dist/ImagePicker-zkoay3zZ.js +171 -0
- package/dist/InfoHint-BEzkNQTM.cjs +1 -0
- package/dist/InfoHint-BlHxrTw6.js +178 -0
- package/dist/InlineEdit-DBMKJ3xP.cjs +1 -0
- package/dist/InlineEdit-Y8i0ibjH.js +117 -0
- package/dist/{InlineLoading-D8T0WO05.js → InlineLoading-CDJ_ZJ6v.js} +1 -1
- package/dist/{InlineLoading-CB_1PwMx.cjs → InlineLoading-DKCzcjZJ.cjs} +1 -1
- package/dist/InputGroup-DIAJy1Sv.cjs +1 -0
- package/dist/InputGroup-DQxpFFlP.js +86 -0
- package/dist/InputGroup.context-BTt6zUkj.cjs +1 -0
- package/dist/InputGroup.context-CJAWx5GI.js +16 -0
- package/dist/{InterpolationChart-CttBiNWU.js → InterpolationChart-BX8-UOeZ.js} +3 -3
- package/dist/{InterpolationChart-CYWJFUcs.cjs → InterpolationChart-DaqKUIWi.cjs} +1 -1
- package/dist/{LineChart-DNDSJQrB.cjs → LineChart-CGXpi9l8.cjs} +1 -1
- package/dist/{LineChart-J8gCM2Ba.js → LineChart-CplGrv8-.js} +4 -4
- package/dist/Menu-CcQpTOd3.js +189 -0
- package/dist/Menu-SlBztEy3.cjs +1 -0
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-BIDXX-uX.cjs} +1 -1
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-BlT1hN-b.js} +1 -1
- package/dist/Modal-BSGKOUi_.js +223 -0
- package/dist/Modal-D0hGHXic.cjs +1 -0
- package/dist/NotificationCenter-_CK8Eejg.js +587 -0
- package/dist/NotificationCenter-xg0ZCegj.cjs +1 -0
- package/dist/NumberInput-CcXqTINb.cjs +1 -0
- package/dist/NumberInput-DfrhQayO.js +383 -0
- package/dist/OverflowMenu-BlZ_wEja.js +124 -0
- package/dist/OverflowMenu-CaC5E0Oy.cjs +1 -0
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-2jBgITYE.cjs} +1 -1
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-DgjItuag.js} +2 -2
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-B1km1o28.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-DA1Nglqx.js} +26 -26
- package/dist/{Panel-7qPoq2lb.cjs → Panel-NC6_ZogV.cjs} +1 -1
- package/dist/{Panel-D5OHjaTP.js → Panel-zyzu638n.js} +1 -1
- package/dist/{PieChart-Ct8oicOS.cjs → PieChart-DQhs44eH.cjs} +1 -1
- package/dist/{PieChart-CAB3b8LE.js → PieChart-D_02nX0-.js} +3 -3
- package/dist/{PrimaryActionScope-B7VLsHzT.cjs → PrimaryActionScope-Dp2gvqwk.cjs} +1 -1
- package/dist/{PrimaryActionScope-CRdjZE0V.js → PrimaryActionScope-sogYOZXZ.js} +1 -1
- package/dist/{ProgressBar-DK-j6Bzv.js → ProgressBar-Bp-pe6sU.js} +2 -2
- package/dist/{ProgressBar-CfJJf7Sc.cjs → ProgressBar-z912Ppfm.cjs} +1 -1
- package/dist/{Radio-CWWt_o_F.js → Radio-DcMkavI8.js} +2 -2
- package/dist/{Radio-D0YjKuB2.cjs → Radio-DuvSK9tl.cjs} +1 -1
- package/dist/Search-BUgIh9TX.js +130 -0
- package/dist/Search-D4SG2q3c.cjs +1 -0
- package/dist/Select-Cf0T4gIu.js +604 -0
- package/dist/Select-DhwcDMnf.cjs +1 -0
- package/dist/Shell-B2y5hn9K.cjs +1 -0
- package/dist/Shell-Bh6s0T89.js +536 -0
- package/dist/ShellPanel-BDE6Y773.cjs +1 -0
- package/dist/ShellPanel-CB71IKMY.js +89 -0
- package/dist/{SidebarCollapseToggle-DM-4DAEu.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-W1Z_MUIC.js → SidebarCollapseToggle-Dm4QMGpc.js} +2 -2
- package/dist/{SidebarHeaderToggle-Bdh1Z9aF.cjs → SidebarHeaderToggle-KW1yBlpF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-C-QIOLnU.js → SidebarHeaderToggle-daU1HfJH.js} +3 -3
- package/dist/{SidebarMenuItem-CNunAuyB.js → SidebarMenuItem-BvvoDIjK.js} +1 -1
- package/dist/{SidebarMenuItem-DCR-nXAK.cjs → SidebarMenuItem-eFnj5QoE.cjs} +1 -1
- package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
- package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
- package/dist/{Slider-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
- package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
- package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
- package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
- package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
- package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
- package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
- package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
- package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
- package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
- package/dist/SuggestionList-DjtF5POh.cjs +1 -0
- package/dist/SuggestionList-SYGj7Sjv.js +225 -0
- package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
- package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
- package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
- package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
- package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
- package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
- package/dist/TextInput-BM2Zc2_R.cjs +2 -0
- package/dist/TextInput-DVpNJNwY.js +406 -0
- package/dist/Toast-BaMGYx8-.js +118 -0
- package/dist/Toast-BvZywdtO.cjs +1 -0
- package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
- package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
- package/dist/Toolbar-BmJeXz4C.cjs +1 -0
- package/dist/Toolbar-tOeTdj8a.js +48 -0
- package/dist/Toolbar.context-Bli1SqM3.js +4 -0
- package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
- package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
- package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
- package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
- package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
- package/dist/UserMenu-BGIIKwi6.cjs +1 -0
- package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
- package/dist/Video-BxNkDWqi.cjs +1 -0
- package/dist/Video-DD01piHm.js +106 -0
- package/dist/Walkthrough-C_5h67cq.cjs +1 -0
- package/dist/Walkthrough-DpxYuLMU.js +333 -0
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +271 -253
- package/dist/component-styles.json +88 -2
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.d.ts +41 -9
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/ActionGroup.vue.d.ts +2 -2
- package/dist/components/ActionGroup.vue.d.ts.map +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/BatchActions.cjs +1 -0
- package/dist/components/BatchActions.d.ts +43 -0
- package/dist/components/BatchActions.mjs +2 -0
- package/dist/components/BatchActions.vue.d.ts +30 -0
- package/dist/components/BatchActions.vue.d.ts.map +1 -0
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts +2 -2
- 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.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +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/Board.vue.d.ts +2 -2
- 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/BottomPanel.vue.d.ts +2 -2
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +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.d.ts +38 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +4 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -0
- package/dist/components/ButtonSet.d.ts +43 -0
- package/dist/components/ButtonSet.mjs +2 -0
- package/dist/components/ButtonSet.vue.d.ts +11 -0
- package/dist/components/ButtonSet.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 +2 -2
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +11 -10
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +15 -0
- package/dist/components/CardGrid.mjs +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/ChipGroup.cjs +1 -0
- package/dist/components/ChipGroup.d.ts +29 -0
- package/dist/components/ChipGroup.mjs +2 -0
- package/dist/components/ChipGroup.vue.d.ts +14 -0
- package/dist/components/ChipGroup.vue.d.ts.map +1 -0
- package/dist/components/CloseButton.cjs +1 -0
- package/dist/components/CloseButton.d.ts +26 -0
- package/dist/components/CloseButton.mjs +2 -0
- package/dist/components/CloseButton.vue.d.ts +19 -0
- package/dist/components/CloseButton.vue.d.ts.map +1 -0
- 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/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +7 -5
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -1
- package/dist/components/ContainedList.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -0
- package/dist/components/ContentSwitcher.d.ts +36 -0
- package/dist/components/ContentSwitcher.mjs +2 -0
- package/dist/components/ContentSwitcher.vue.d.ts +13 -0
- package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/CopyButton.vue.d.ts.map +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +12 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +2 -2
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- 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/FileUploader.vue.d.ts.map +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/FloatingToolbar.vue.d.ts +1 -3
- package/dist/components/FloatingToolbar.vue.d.ts.map +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/Grid.vue.d.ts +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts.map +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/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineEdit.vue.d.ts.map +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/InputGroup.cjs +1 -0
- package/dist/components/InputGroup.context.d.ts +50 -0
- package/dist/components/InputGroup.context.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +37 -0
- package/dist/components/InputGroup.mjs +2 -0
- package/dist/components/InputGroup.vue.d.ts +27 -0
- package/dist/components/InputGroup.vue.d.ts.map +1 -0
- 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/Menu.cjs +1 -1
- package/dist/components/Menu.d.ts +11 -0
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts +2 -0
- package/dist/components/Menu.vue.d.ts.map +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.d.ts +11 -7
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +3 -3
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +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.map +1 -1
- package/dist/components/OverflowMenu.cjs +1 -0
- package/dist/components/OverflowMenu.d.ts +41 -0
- package/dist/components/OverflowMenu.mjs +2 -0
- package/dist/components/OverflowMenu.vue.d.ts +36 -0
- package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/PageLayout.cjs +1 -1
- package/dist/components/PageLayout.mjs +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/Search.cjs +1 -0
- package/dist/components/Search.d.ts +36 -0
- package/dist/components/Search.mjs +2 -0
- package/dist/components/Search.vue.d.ts +32 -0
- package/dist/components/Search.vue.d.ts.map +1 -0
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.d.ts +4 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +6 -6
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +1 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +2 -2
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts +2 -2
- package/dist/components/ShellPanel.vue.d.ts.map +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/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +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/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +20 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +3 -0
- package/dist/components/Skeleton.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/Stat.cjs +1 -1
- package/dist/components/Stat.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/StructuredList.cjs +1 -1
- package/dist/components/StructuredList.mjs +1 -1
- package/dist/components/StructuredList.vue.d.ts +2 -2
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.d.ts +8 -0
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/SuggestionList.vue.d.ts +3 -0
- package/dist/components/SuggestionList.vue.d.ts.map +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.map +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 +20 -4
- 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/Toast.vue.d.ts +4 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toolbar.cjs +1 -0
- package/dist/components/Toolbar.context.d.ts +22 -0
- package/dist/components/Toolbar.context.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +26 -0
- package/dist/components/Toolbar.mjs +2 -0
- package/dist/components/Toolbar.vue.d.ts +24 -0
- package/dist/components/Toolbar.vue.d.ts.map +1 -0
- 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/TreeNode.vue.d.ts +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/Video.vue.d.ts.map +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/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 +9 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +9 -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/composables/useNbStrings.composable.cjs +1 -1
- package/dist/composables/useNbStrings.composable.d.ts +66 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +61 -0
- package/dist/composables/useRovingFocus.composable.cjs +1 -0
- package/dist/composables/useRovingFocus.composable.d.ts +22 -0
- package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
- package/dist/composables/useRovingFocus.composable.mjs +56 -0
- package/dist/directives/ToolTip.directive.d.ts +56 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +152 -143
- package/dist/main-Bo1B-xzL.cjs +4 -0
- package/dist/main-nO1LQzsc.js +744 -0
- package/dist/main.d.ts +21 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BatchActions.css +1 -0
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ButtonSet.css +1 -0
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/ChipGroup.css +1 -0
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContentSwitcher.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InputGroup.css +1 -0
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/OverflowMenu.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Search.css +1 -0
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toolbar.css +1 -0
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +44 -36
- package/dist/utils/actionFit.helper.cjs +1 -0
- package/dist/utils/actionFit.helper.d.ts +20 -0
- package/dist/utils/actionFit.helper.d.ts.map +1 -0
- package/dist/utils/actionFit.helper.mjs +13 -0
- package/package.json +2 -2
- package/src/styles/_theme.scss +19 -9
- package/src/styles/logic/_field.scss +22 -0
- package/src/styles/logic/_focus.scss +20 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/utils/actionFit.helper.ts +40 -0
- package/dist/AccordionItem-DFwj28eL.js +0 -118
- package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
- package/dist/ActionGroup-CJoBGUvw.js +0 -171
- package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
- package/dist/BackToTop-C5gFfuu7.cjs +0 -1
- package/dist/BackToTop-DZhl6N_Q.js +0 -56
- package/dist/Banner-5uX-ujbu.js +0 -93
- package/dist/Banner-CiIQKSxv.cjs +0 -1
- package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
- package/dist/Board-BNB96CXm.cjs +0 -1
- package/dist/BottomPanel-CYxavAS0.cjs +0 -1
- package/dist/BottomPanel-vFcIk2nf.js +0 -115
- package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
- package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
- package/dist/Button-C0N1cyOQ.cjs +0 -1
- package/dist/Button-CuwzIVWv.js +0 -132
- package/dist/Calendar-Bbk7bPW1.cjs +0 -1
- package/dist/Calendar-EiqHtUG2.js +0 -155
- package/dist/Card-B5FTcFEQ.cjs +0 -1
- package/dist/Card-DUTWbKv7.js +0 -143
- package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
- package/dist/Confirm-BA-t4jPF.cjs +0 -1
- package/dist/Confirm-MmMvMttu.js +0 -313
- package/dist/CopyButton-Bcc2BDJ8.js +0 -65
- package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
- package/dist/DataTable-D4KrQH5E.js +0 -485
- package/dist/DataTable-DVJnvBQM.cjs +0 -1
- package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
- package/dist/DatePicker-CagtB0Sd.js +0 -743
- package/dist/FileUploader-B9j-HmX3.js +0 -193
- package/dist/FileUploader-BolhAWrI.cjs +0 -1
- package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
- package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
- package/dist/ImagePicker-CZEFzYC8.js +0 -171
- package/dist/ImagePicker-CebI8MDy.cjs +0 -1
- package/dist/InfoHint-DVrm41q9.js +0 -177
- package/dist/InfoHint-WYitTbYz.cjs +0 -1
- package/dist/InlineEdit-DViLVwtn.js +0 -116
- package/dist/InlineEdit-DfkmTudh.cjs +0 -1
- package/dist/Menu-CLDGxi-1.cjs +0 -1
- package/dist/Menu-C_UsGyKX.js +0 -177
- package/dist/Modal-1i_nDqvM.cjs +0 -1
- package/dist/Modal-CxIl02xU.js +0 -229
- package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
- package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
- package/dist/NumberInput-CMxlZ54a.cjs +0 -1
- package/dist/NumberInput-Dy0leAIF.js +0 -324
- package/dist/Select-Bz4tf2H_.cjs +0 -1
- package/dist/Select-hL8I-aNK.js +0 -603
- package/dist/Shell-BxGBrQsM.js +0 -536
- package/dist/Shell-BzXh23BU.cjs +0 -1
- package/dist/ShellPanel-DzkkJYVd.js +0 -126
- package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
- package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
- package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
- package/dist/SuggestionList-Bdx7CK__.js +0 -189
- package/dist/TextInput-BXyJQfGx.js +0 -348
- package/dist/TextInput-DKp819VS.cjs +0 -2
- package/dist/Toast-BKrvlON6.cjs +0 -1
- package/dist/Toast-fRHhhjZV.js +0 -115
- package/dist/UserMenu-GJHs1fKI.cjs +0 -1
- package/dist/Video-D1WOYCYH.cjs +0 -1
- package/dist/Video-DrDqaCXl.js +0 -104
- package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
- package/dist/Walkthrough-D_vfYTWP.js +0 -327
- package/dist/main-BTximdIU.js +0 -1255
- package/dist/main-DkNxc78b.cjs +0 -4
- package/dist/motion-BjVtMTXD.cjs +0 -1
- package/dist/motion-C0h9XZQZ.js +0 -18
- /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
- /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
- /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
- /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
- /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
- /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
- /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
- /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
- /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
- /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
- /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
- /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
- /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
- /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
- /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
- /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
- /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
- /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
- /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
- /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
- /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
- /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
- /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
- /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
- /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
- /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
- /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
- /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
- /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
- /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
- /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
- /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
- /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
- /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
- /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
- /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
- /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
- /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
- /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
- /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
- /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
- /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
- /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
- /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
- /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
- /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
- /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
- /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
- /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
- /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
- /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
- /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
- /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
- /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
- /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
- /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
- /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
- /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
- /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
- /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
- /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
- /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
- /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
- /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
- /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
- /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
- /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
- /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
- /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
- /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
- /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
- /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
- /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
- /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
- /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
- /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
- /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
- /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
- /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
- /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
- /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
- /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
- /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
- /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
- /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
- /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
- /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Button-CuwzIVWv.js";
|
|
2
|
-
import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, normalizeClass as a, onBeforeUnmount as o, openBlock as s, ref as c, resolveDirective as l, toDisplayString as u, withDirectives as d, withModifiers as f } from "vue";
|
|
3
|
-
import * as p from "@nubisco/ui/icons/check";
|
|
4
|
-
import * as m from "@nubisco/ui/icons/copy";
|
|
5
|
-
//#region src/components/CopyButton.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var h = { class: "nb-copy-button" }, g = {
|
|
7
|
-
class: "nb-copy-button__status",
|
|
8
|
-
role: "status"
|
|
9
|
-
}, _ = /* @__PURE__ */ i({
|
|
10
|
-
__name: "CopyButton",
|
|
11
|
-
props: {
|
|
12
|
-
text: {},
|
|
13
|
-
label: { default: "Copy" },
|
|
14
|
-
copiedLabel: { default: "Copied" },
|
|
15
|
-
size: { default: "xs" },
|
|
16
|
-
duration: { default: 1500 }
|
|
17
|
-
},
|
|
18
|
-
emits: ["copied", "error"],
|
|
19
|
-
setup(i, { emit: _ }) {
|
|
20
|
-
let v = i, y = _, b = c(!1), x;
|
|
21
|
-
async function S(e) {
|
|
22
|
-
if (navigator.clipboard?.writeText) try {
|
|
23
|
-
await navigator.clipboard.writeText(e);
|
|
24
|
-
return;
|
|
25
|
-
} catch {}
|
|
26
|
-
let t = document.createElement("textarea");
|
|
27
|
-
t.value = e, t.setAttribute("readonly", ""), t.style.position = "fixed", t.style.opacity = "0", document.body.appendChild(t), t.select();
|
|
28
|
-
let n = document.execCommand?.("copy") ?? !1;
|
|
29
|
-
if (t.remove(), !n) throw Error("The browser did not allow copying.");
|
|
30
|
-
}
|
|
31
|
-
async function C() {
|
|
32
|
-
try {
|
|
33
|
-
await S(v.text);
|
|
34
|
-
} catch (e) {
|
|
35
|
-
y("error", e);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
b.value = !0, y("copied", v.text), clearTimeout(x), x = setTimeout(() => b.value = !1, v.duration);
|
|
39
|
-
}
|
|
40
|
-
return o(() => clearTimeout(x)), (o, c) => {
|
|
41
|
-
let _ = l("nb-tooltip");
|
|
42
|
-
return s(), t("span", h, [d(r(e, {
|
|
43
|
-
"aria-label": b.value ? i.copiedLabel : i.label,
|
|
44
|
-
class: a(["nb-copy-button__button", { "nb-copy-button__button--copied": b.value }]),
|
|
45
|
-
variant: "ghost",
|
|
46
|
-
size: i.size,
|
|
47
|
-
icon: b.value ? p : m,
|
|
48
|
-
onClick: f(C, ["stop", "prevent"]),
|
|
49
|
-
onPointerdown: c[0] ||= f(() => {}, ["stop"]),
|
|
50
|
-
onMousedown: c[1] ||= f(() => {}, ["stop"]),
|
|
51
|
-
onDblclick: c[2] ||= f(() => {}, ["stop"])
|
|
52
|
-
}, null, 8, [
|
|
53
|
-
"aria-label",
|
|
54
|
-
"class",
|
|
55
|
-
"size",
|
|
56
|
-
"icon"
|
|
57
|
-
]), [[_, {
|
|
58
|
-
body: b.value ? i.copiedLabel : i.label,
|
|
59
|
-
aria: "none"
|
|
60
|
-
}]]), n("span", g, u(b.value ? i.copiedLabel : ""), 1)]);
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
//#endregion
|
|
65
|
-
export { _ as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-C0N1cyOQ.cjs`);let n=require(`vue`),r=require(`@nubisco/ui/icons/check`);r=e.n(r);let i=require(`@nubisco/ui/icons/copy`);i=e.n(i);var a={class:`nb-copy-button`},o={class:`nb-copy-button__status`,role:`status`},s=(0,n.defineComponent)({__name:`CopyButton`,props:{text:{},label:{default:`Copy`},copiedLabel:{default:`Copied`},size:{default:`xs`},duration:{default:1500}},emits:[`copied`,`error`],setup(e,{emit:s}){let c=e,l=s,u=(0,n.ref)(!1),d;async function f(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();let n=document.execCommand?.(`copy`)??!1;if(t.remove(),!n)throw Error(`The browser did not allow copying.`)}async function p(){try{await f(c.text)}catch(e){l(`error`,e);return}u.value=!0,l(`copied`,c.text),clearTimeout(d),d=setTimeout(()=>u.value=!1,c.duration)}return(0,n.onBeforeUnmount)(()=>clearTimeout(d)),(s,c)=>{let l=(0,n.resolveDirective)(`nb-tooltip`);return(0,n.openBlock)(),(0,n.createElementBlock)(`span`,a,[(0,n.withDirectives)((0,n.createVNode)(t.t,{"aria-label":u.value?e.copiedLabel:e.label,class:(0,n.normalizeClass)([`nb-copy-button__button`,{"nb-copy-button__button--copied":u.value}]),variant:`ghost`,size:e.size,icon:u.value?r:i,onClick:(0,n.withModifiers)(p,[`stop`,`prevent`]),onPointerdown:c[0]||=(0,n.withModifiers)(()=>{},[`stop`]),onMousedown:c[1]||=(0,n.withModifiers)(()=>{},[`stop`]),onDblclick:c[2]||=(0,n.withModifiers)(()=>{},[`stop`])},null,8,[`aria-label`,`class`,`size`,`icon`]),[[l,{body:u.value?e.copiedLabel:e.label,aria:`none`}]]),(0,n.createElementVNode)(`span`,o,(0,n.toDisplayString)(u.value?e.copiedLabel:``),1)])}}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
@@ -1,485 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
-
import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
-
import { usePhoneLayout as r } from "./composables/usePhoneLayout.composable.mjs";
|
|
5
|
-
import { t as i } from "./Button-CuwzIVWv.js";
|
|
6
|
-
import { t as a } from "./Grid-jlgLOwom.js";
|
|
7
|
-
import { useNbStrings as o } from "./composables/useNbStrings.composable.mjs";
|
|
8
|
-
import { t as s } from "./Checkbox-DXQpih7I.js";
|
|
9
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as ee, mergeProps as te, normalizeClass as _, normalizeStyle as ne, openBlock as v, ref as re, renderList as y, renderSlot as b, toDisplayString as x, unref as S, useId as C, useSlots as ie, watch as ae, withCtx as w, withModifiers as T } from "vue";
|
|
10
|
-
import * as oe from "@nubisco/ui/icons/arrow-up";
|
|
11
|
-
import * as se from "@nubisco/ui/icons/caret-right";
|
|
12
|
-
import * as ce from "@nubisco/ui/icons/arrows-down-up";
|
|
13
|
-
import * as le from "@nubisco/ui/icons/arrow-down";
|
|
14
|
-
//#region src/components/DataTable.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
-
var ue = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "nb-data-table__toolbar"
|
|
18
|
-
}, de = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "nb-data-table__toolbar-heading"
|
|
21
|
-
}, fe = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "nb-data-table__title"
|
|
24
|
-
}, pe = {
|
|
25
|
-
key: 1,
|
|
26
|
-
class: "nb-data-table__description"
|
|
27
|
-
}, me = {
|
|
28
|
-
key: 1,
|
|
29
|
-
class: "nb-data-table__toolbar-row"
|
|
30
|
-
}, he = ["inert", "aria-hidden"], ge = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "nb-data-table__toolbar-search"
|
|
33
|
-
}, _e = ["aria-label"], ve = { class: "nb-data-table__batch-count" }, ye = { class: "nb-data-table__batch-actions" }, be = { class: "nb-data-table__scroll" }, xe = [
|
|
34
|
-
"role",
|
|
35
|
-
"aria-label",
|
|
36
|
-
"aria-busy"
|
|
37
|
-
], Se = {
|
|
38
|
-
key: 0,
|
|
39
|
-
class: "nb-data-table__col-expand"
|
|
40
|
-
}, Ce = {
|
|
41
|
-
key: 1,
|
|
42
|
-
class: "nb-data-table__col-select"
|
|
43
|
-
}, we = {
|
|
44
|
-
key: 2,
|
|
45
|
-
class: "nb-data-table__col-actions"
|
|
46
|
-
}, Te = ["role"], Ee = ["role"], De = {
|
|
47
|
-
key: 0,
|
|
48
|
-
scope: "col",
|
|
49
|
-
class: "nb-data-table__th nb-data-table__expand-cell"
|
|
50
|
-
}, Oe = {
|
|
51
|
-
key: 1,
|
|
52
|
-
scope: "col",
|
|
53
|
-
class: "nb-data-table__th nb-data-table__select-cell"
|
|
54
|
-
}, ke = ["aria-sort"], Ae = ["onClick"], je = { class: "nb-data-table__th-label" }, Me = {
|
|
55
|
-
key: 1,
|
|
56
|
-
class: "nb-data-table__th-label"
|
|
57
|
-
}, Ne = {
|
|
58
|
-
key: 2,
|
|
59
|
-
scope: "col",
|
|
60
|
-
class: "nb-data-table__th nb-data-table__actions-cell"
|
|
61
|
-
}, Pe = ["role"], Fe = {
|
|
62
|
-
key: 0,
|
|
63
|
-
class: "nb-data-table__td"
|
|
64
|
-
}, Ie = {
|
|
65
|
-
key: 1,
|
|
66
|
-
class: "nb-data-table__td"
|
|
67
|
-
}, Le = {
|
|
68
|
-
key: 2,
|
|
69
|
-
class: "nb-data-table__td"
|
|
70
|
-
}, Re = {
|
|
71
|
-
key: 1,
|
|
72
|
-
class: "nb-data-table__state-row"
|
|
73
|
-
}, ze = ["colspan"], Be = {
|
|
74
|
-
key: 2,
|
|
75
|
-
class: "nb-data-table__state-row"
|
|
76
|
-
}, Ve = ["colspan"], He = [
|
|
77
|
-
"role",
|
|
78
|
-
"aria-selected",
|
|
79
|
-
"tabindex",
|
|
80
|
-
"onClick",
|
|
81
|
-
"onKeydown",
|
|
82
|
-
"onKeyup"
|
|
83
|
-
], Ue = ["role"], We = [
|
|
84
|
-
"aria-expanded",
|
|
85
|
-
"aria-controls",
|
|
86
|
-
"aria-label",
|
|
87
|
-
"onClick"
|
|
88
|
-
], Ge = [
|
|
89
|
-
"checked",
|
|
90
|
-
"aria-label",
|
|
91
|
-
"onChange"
|
|
92
|
-
], Ke = ["role", "data-label"], qe = ["role"], Je = ["colspan", "role"], Ye = ["id", "aria-label"], Xe = {
|
|
93
|
-
key: 1,
|
|
94
|
-
class: "nb-data-table__footer"
|
|
95
|
-
}, E = /* @__PURE__ */ e(/* @__PURE__ */ g({
|
|
96
|
-
__name: "DataTable",
|
|
97
|
-
props: {
|
|
98
|
-
columns: {},
|
|
99
|
-
rows: {},
|
|
100
|
-
rowKey: {},
|
|
101
|
-
size: { default: "lg" },
|
|
102
|
-
sortState: { default: null },
|
|
103
|
-
selectable: { default: "none" },
|
|
104
|
-
selected: { default: () => [] },
|
|
105
|
-
loading: {
|
|
106
|
-
type: Boolean,
|
|
107
|
-
default: !1
|
|
108
|
-
},
|
|
109
|
-
skeletonRows: { default: 5 },
|
|
110
|
-
error: {
|
|
111
|
-
type: [String, Boolean],
|
|
112
|
-
default: void 0
|
|
113
|
-
},
|
|
114
|
-
emptyMessage: { default: void 0 },
|
|
115
|
-
stickyHeader: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
default: !0
|
|
118
|
-
},
|
|
119
|
-
zebra: {
|
|
120
|
-
type: Boolean,
|
|
121
|
-
default: !1
|
|
122
|
-
},
|
|
123
|
-
fill: {
|
|
124
|
-
type: Boolean,
|
|
125
|
-
default: !1
|
|
126
|
-
},
|
|
127
|
-
title: { default: void 0 },
|
|
128
|
-
description: { default: void 0 },
|
|
129
|
-
ariaLabel: { default: void 0 },
|
|
130
|
-
stackOnPhone: {
|
|
131
|
-
type: Boolean,
|
|
132
|
-
default: !1
|
|
133
|
-
},
|
|
134
|
-
expanded: { default: () => [] }
|
|
135
|
-
},
|
|
136
|
-
emits: [
|
|
137
|
-
"sort",
|
|
138
|
-
"update:selected",
|
|
139
|
-
"row-click",
|
|
140
|
-
"update:expanded"
|
|
141
|
-
],
|
|
142
|
-
setup(e, { emit: g }) {
|
|
143
|
-
let E = o(), D = e, { layerProps: Ze } = n(), O = g, k = ie(), Qe = `nb-data-table-select-${C()}`, $e = l(() => D.size === "xl" ? "lg" : D.size), A = l(() => D.columns.filter((e) => !e.hidden)), j = l(() => D.selectable !== "none"), M = l(() => !!k["row-actions"]), N = l(() => !!k["row-detail"]), P = l(() => A.value.length + (N.value ? 1 : 0) + (j.value ? 1 : 0) + (M.value ? 1 : 0)), { phone: et } = r(), F = l(() => D.stackOnPhone && et.value), I = l(() => (A.value.find((e) => e.primary) ?? A.value.find((e) => !e.phoneHidden && !e.phoneMeta))?.key);
|
|
144
|
-
function tt(e) {
|
|
145
|
-
return e.phoneHidden ? "nb-data-table__td--phone-hidden" : e.key === I.value ? "nb-data-table__td--primary" : e.phoneMeta ? "nb-data-table__td--meta" : "nb-data-table__td--field";
|
|
146
|
-
}
|
|
147
|
-
let nt = l(() => !D.loading && !D.error && D.rows.length > 0 && (D.selectable === "multiple" || A.value.some((e) => e.sortable && !e.phoneHidden)));
|
|
148
|
-
function rt(e) {
|
|
149
|
-
if (e.width != null) return { width: typeof e.width == "number" ? `${e.width}px` : e.width };
|
|
150
|
-
}
|
|
151
|
-
function L(e, t) {
|
|
152
|
-
return t[e.key];
|
|
153
|
-
}
|
|
154
|
-
function R(e) {
|
|
155
|
-
return e == null ? "" : String(e);
|
|
156
|
-
}
|
|
157
|
-
let it = (e) => e.column.render?.(e.row, L(e.column, e.row), e.rowIndex) ?? null;
|
|
158
|
-
it.props = [
|
|
159
|
-
"column",
|
|
160
|
-
"row",
|
|
161
|
-
"rowIndex"
|
|
162
|
-
];
|
|
163
|
-
function z(e) {
|
|
164
|
-
let t = D.rowKey;
|
|
165
|
-
return typeof t == "function" ? t(e) : e[t];
|
|
166
|
-
}
|
|
167
|
-
let B = l(() => new Set(D.selected)), at = l(() => D.selected), V = l(() => D.selected.length);
|
|
168
|
-
function H(e) {
|
|
169
|
-
return B.value.has(z(e));
|
|
170
|
-
}
|
|
171
|
-
let U = l(() => D.rows.map((e) => z(e))), W = l(() => U.value.length > 0 && U.value.every((e) => B.value.has(e))), ot = l(() => !W.value && U.value.some((e) => B.value.has(e))), G = re(null), K = !1;
|
|
172
|
-
function st(e) {
|
|
173
|
-
K = e.shiftKey;
|
|
174
|
-
}
|
|
175
|
-
ae(U, () => {
|
|
176
|
-
G.value = null;
|
|
177
|
-
});
|
|
178
|
-
function ct(e, t) {
|
|
179
|
-
let n = z(e), r = new Set(D.selected), i = !r.has(n), a = G.value, o = (e) => {
|
|
180
|
-
i ? r.add(e) : r.delete(e);
|
|
181
|
-
};
|
|
182
|
-
if (K && a !== null && a !== t) {
|
|
183
|
-
let e = Math.min(a, t), n = Math.max(a, t);
|
|
184
|
-
for (let t = e; t <= n; t++) {
|
|
185
|
-
let e = D.rows[t];
|
|
186
|
-
e && o(z(e));
|
|
187
|
-
}
|
|
188
|
-
} else o(n), G.value = t;
|
|
189
|
-
K = !1, O("update:selected", [...r]);
|
|
190
|
-
}
|
|
191
|
-
function lt(e) {
|
|
192
|
-
O("update:selected", [z(e)]);
|
|
193
|
-
}
|
|
194
|
-
function ut() {
|
|
195
|
-
let e = new Set(D.selected);
|
|
196
|
-
W.value ? U.value.forEach((t) => e.delete(t)) : U.value.forEach((t) => e.add(t)), O("update:selected", [...e]);
|
|
197
|
-
}
|
|
198
|
-
function q() {
|
|
199
|
-
O("update:selected", []);
|
|
200
|
-
}
|
|
201
|
-
let dt = l(() => D.selectable !== "none" && !!k["batch-actions"]), J = l(() => dt.value && V.value > 0), ft = `nb-data-table-detail-${C()}`, pt = l(() => new Set(D.expanded));
|
|
202
|
-
function Y(e) {
|
|
203
|
-
return N.value && pt.value.has(z(e));
|
|
204
|
-
}
|
|
205
|
-
function mt(e) {
|
|
206
|
-
let t = z(e), n = D.expanded.filter((e) => e !== t);
|
|
207
|
-
n.length === D.expanded.length && n.push(t), O("update:expanded", n);
|
|
208
|
-
}
|
|
209
|
-
function ht(e) {
|
|
210
|
-
return `${ft}-${e}`;
|
|
211
|
-
}
|
|
212
|
-
function gt(e, t) {
|
|
213
|
-
let n = A.value.find((e) => e.key === I.value);
|
|
214
|
-
return `Details for ${(n ? R(L(n, e)).trim() : "") || `row ${t + 1}`}`;
|
|
215
|
-
}
|
|
216
|
-
let _t = l(() => !!D.title || !!D.description || !!k.toolbar), vt = l(() => !!k.search || !!k["toolbar-actions"] || dt.value), yt = l(() => _t.value || vt.value);
|
|
217
|
-
function X(e) {
|
|
218
|
-
return !!D.sortState && D.sortState.key === e.key && D.sortState.direction !== "none";
|
|
219
|
-
}
|
|
220
|
-
function bt(e) {
|
|
221
|
-
return X(e) ? D.sortState.direction === "asc" ? "ascending" : "descending" : "none";
|
|
222
|
-
}
|
|
223
|
-
function xt(e) {
|
|
224
|
-
return X(e) ? D.sortState.direction === "asc" ? oe : le : ce;
|
|
225
|
-
}
|
|
226
|
-
function St(e) {
|
|
227
|
-
return e === "asc" ? "desc" : e === "desc" ? "none" : "asc";
|
|
228
|
-
}
|
|
229
|
-
function Ct(e) {
|
|
230
|
-
let t = D.sortState && D.sortState.key === e.key ? D.sortState.direction : "none";
|
|
231
|
-
O("sort", {
|
|
232
|
-
key: e.key,
|
|
233
|
-
direction: St(t)
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
let wt = ee(), Z = l(() => !!wt?.vnode.props?.onRowClick);
|
|
237
|
-
function Q(e, t) {
|
|
238
|
-
O("row-click", e, t);
|
|
239
|
-
}
|
|
240
|
-
function $(e) {
|
|
241
|
-
return Z.value && e.target === e.currentTarget && !e.altKey && !e.ctrlKey && !e.metaKey;
|
|
242
|
-
}
|
|
243
|
-
function Tt(e, t, n) {
|
|
244
|
-
$(e) && (e.key === "Enter" ? (e.preventDefault(), e.repeat || Q(t, n)) : e.key === " " && e.preventDefault());
|
|
245
|
-
}
|
|
246
|
-
function Et(e, t, n) {
|
|
247
|
-
!$(e) || e.key !== " " || (e.preventDefault(), Q(t, n));
|
|
248
|
-
}
|
|
249
|
-
return (n, r) => (v(), f("div", te({ class: [
|
|
250
|
-
"nb-data-table",
|
|
251
|
-
`nb-data-table--${e.size}`,
|
|
252
|
-
{ "nb-data-table--zebra": e.zebra },
|
|
253
|
-
{ "nb-data-table--sticky": e.stickyHeader },
|
|
254
|
-
{ "nb-data-table--fill": e.fill },
|
|
255
|
-
{ "nb-data-table--stacked": F.value },
|
|
256
|
-
{ "nb-data-table--stacked-headless": F.value && !nt.value },
|
|
257
|
-
{ "nb-data-table--expandable": N.value }
|
|
258
|
-
] }, S(Ze)), [
|
|
259
|
-
yt.value ? (v(), f("div", ue, [_t.value ? (v(), f("div", de, [b(n.$slots, "toolbar", { selectedCount: V.value }, () => [e.title ? (v(), f("h2", fe, x(e.title), 1)) : d("", !0), e.description ? (v(), f("p", pe, x(e.description), 1)) : d("", !0)], !0)])) : d("", !0), vt.value ? (v(), f("div", me, [n.$slots.search || n.$slots["toolbar-actions"] ? (v(), f("div", {
|
|
260
|
-
key: 0,
|
|
261
|
-
class: _(["nb-data-table__toolbar-tools", { "nb-data-table__toolbar-tools--search": !!n.$slots.search }]),
|
|
262
|
-
inert: J.value || void 0,
|
|
263
|
-
"aria-hidden": J.value || void 0
|
|
264
|
-
}, [n.$slots.search ? (v(), f("div", ge, [b(n.$slots, "search", {}, void 0, !0)])) : d("", !0), b(n.$slots, "toolbar-actions", {}, void 0, !0)], 10, he)) : d("", !0), J.value ? (v(), f("div", {
|
|
265
|
-
key: 1,
|
|
266
|
-
class: "nb-data-table__batch",
|
|
267
|
-
role: "region",
|
|
268
|
-
"aria-label": S(E).dataTableBatchActions
|
|
269
|
-
}, [
|
|
270
|
-
p("span", ve, x(S(E).selectionCount(V.value)), 1),
|
|
271
|
-
p("div", ye, [b(n.$slots, "batch-actions", {
|
|
272
|
-
selectedKeys: at.value,
|
|
273
|
-
clear: q
|
|
274
|
-
}, void 0, !0)]),
|
|
275
|
-
h(i, {
|
|
276
|
-
class: "nb-data-table__batch-cancel",
|
|
277
|
-
variant: "ghost",
|
|
278
|
-
size: $e.value,
|
|
279
|
-
onClick: q
|
|
280
|
-
}, {
|
|
281
|
-
default: w(() => [...r[3] ||= [m(" Cancel ", -1)]]),
|
|
282
|
-
_: 1
|
|
283
|
-
}, 8, ["size"])
|
|
284
|
-
], 8, _e)) : d("", !0)])) : d("", !0)])) : d("", !0),
|
|
285
|
-
p("div", be, [p("table", {
|
|
286
|
-
class: "nb-data-table__table",
|
|
287
|
-
role: F.value ? "table" : void 0,
|
|
288
|
-
"aria-label": e.ariaLabel || e.title || void 0,
|
|
289
|
-
"aria-busy": e.loading || void 0
|
|
290
|
-
}, [
|
|
291
|
-
p("colgroup", null, [
|
|
292
|
-
N.value ? (v(), f("col", Se)) : d("", !0),
|
|
293
|
-
j.value ? (v(), f("col", Ce)) : d("", !0),
|
|
294
|
-
(v(!0), f(c, null, y(A.value, (e) => (v(), f("col", {
|
|
295
|
-
key: `col-${e.key}`,
|
|
296
|
-
style: ne(rt(e))
|
|
297
|
-
}, null, 4))), 128)),
|
|
298
|
-
M.value ? (v(), f("col", we)) : d("", !0)
|
|
299
|
-
]),
|
|
300
|
-
p("thead", {
|
|
301
|
-
class: "nb-data-table__head",
|
|
302
|
-
role: F.value ? "rowgroup" : void 0
|
|
303
|
-
}, [p("tr", { role: F.value ? "row" : void 0 }, [
|
|
304
|
-
N.value ? (v(), f("th", De, [...r[4] ||= [p("span", { class: "nb-sr-only" }, "Row details", -1)]])) : d("", !0),
|
|
305
|
-
j.value ? (v(), f("th", Oe, [e.selectable === "multiple" ? (v(), u(s, {
|
|
306
|
-
key: 0,
|
|
307
|
-
"model-value": W.value,
|
|
308
|
-
indeterminate: ot.value,
|
|
309
|
-
"aria-label": S(E).dataTableSelectAll,
|
|
310
|
-
"onUpdate:modelValue": ut
|
|
311
|
-
}, null, 8, [
|
|
312
|
-
"model-value",
|
|
313
|
-
"indeterminate",
|
|
314
|
-
"aria-label"
|
|
315
|
-
])) : d("", !0)])) : d("", !0),
|
|
316
|
-
(v(!0), f(c, null, y(A.value, (e) => (v(), f("th", {
|
|
317
|
-
key: `th-${e.key}`,
|
|
318
|
-
scope: "col",
|
|
319
|
-
class: _([
|
|
320
|
-
"nb-data-table__th",
|
|
321
|
-
`nb-data-table__th--${e.align || "left"}`,
|
|
322
|
-
{ "nb-data-table__th--sortable": e.sortable },
|
|
323
|
-
{ "nb-data-table__th--sorted": X(e) },
|
|
324
|
-
F.value && e.phoneHidden && "nb-data-table__th--phone-hidden"
|
|
325
|
-
]),
|
|
326
|
-
"aria-sort": e.sortable ? bt(e) : void 0
|
|
327
|
-
}, [e.sortable ? (v(), f("button", {
|
|
328
|
-
key: 0,
|
|
329
|
-
type: "button",
|
|
330
|
-
class: "nb-data-table__sort",
|
|
331
|
-
onClick: (t) => Ct(e)
|
|
332
|
-
}, [p("span", je, [b(n.$slots, `header-${e.key}`, { column: e }, () => [m(x(e.header), 1)], !0)]), h(t, {
|
|
333
|
-
name: xt(e),
|
|
334
|
-
class: "nb-data-table__sort-icon",
|
|
335
|
-
"aria-hidden": "true"
|
|
336
|
-
}, null, 8, ["name"])], 8, Ae)) : (v(), f("span", Me, [b(n.$slots, `header-${e.key}`, { column: e }, () => [m(x(e.header), 1)], !0)]))], 10, ke))), 128)),
|
|
337
|
-
M.value ? (v(), f("th", Ne, [...r[5] ||= [p("span", { class: "nb-sr-only" }, "Row actions", -1)]])) : d("", !0)
|
|
338
|
-
], 8, Ee)], 8, Te),
|
|
339
|
-
p("tbody", {
|
|
340
|
-
class: "nb-data-table__body",
|
|
341
|
-
role: F.value ? "rowgroup" : void 0
|
|
342
|
-
}, [e.loading ? (v(!0), f(c, { key: 0 }, y(e.skeletonRows, (e) => (v(), f("tr", {
|
|
343
|
-
key: `skeleton-${e}`,
|
|
344
|
-
class: "nb-data-table__row nb-data-table__row--skeleton"
|
|
345
|
-
}, [
|
|
346
|
-
N.value ? (v(), f("td", Fe)) : d("", !0),
|
|
347
|
-
j.value ? (v(), f("td", Ie, [...r[6] ||= [p("span", { class: "nb-data-table__skeleton nb-data-table__skeleton--box" }, null, -1)]])) : d("", !0),
|
|
348
|
-
(v(!0), f(c, null, y(A.value, (t) => (v(), f("td", {
|
|
349
|
-
key: `sk-${e}-${t.key}`,
|
|
350
|
-
class: "nb-data-table__td"
|
|
351
|
-
}, [...r[7] ||= [p("span", { class: "nb-data-table__skeleton" }, null, -1)]]))), 128)),
|
|
352
|
-
M.value ? (v(), f("td", Le, [...r[8] ||= [p("span", { class: "nb-data-table__skeleton nb-data-table__skeleton--box" }, null, -1)]])) : d("", !0)
|
|
353
|
-
]))), 128)) : e.error ? (v(), f("tr", Re, [p("td", {
|
|
354
|
-
colspan: P.value,
|
|
355
|
-
class: "nb-data-table__state nb-data-table__state--error"
|
|
356
|
-
}, [b(n.$slots, "error", { error: e.error }, () => [h(a, {
|
|
357
|
-
is: "span",
|
|
358
|
-
align: "center",
|
|
359
|
-
justify: "center",
|
|
360
|
-
gap: "xs",
|
|
361
|
-
class: "nb-data-table__state-inner"
|
|
362
|
-
}, {
|
|
363
|
-
default: w(() => [h(t, {
|
|
364
|
-
name: "warning-circle-fill",
|
|
365
|
-
"aria-hidden": "true"
|
|
366
|
-
}), p("span", null, x(e.error === !0 ? S(E).dataTableError : e.error), 1)]),
|
|
367
|
-
_: 1
|
|
368
|
-
})], !0)], 8, ze)])) : e.rows.length ? (v(!0), f(c, { key: 3 }, y(e.rows, (i, a) => (v(), f(c, { key: z(i) }, [p("tr", {
|
|
369
|
-
class: _([
|
|
370
|
-
"nb-data-table__row",
|
|
371
|
-
{ "nb-data-table__row--selected": H(i) },
|
|
372
|
-
{ "nb-data-table__row--clickable": Z.value },
|
|
373
|
-
N.value && {
|
|
374
|
-
"nb-data-table__row--expanded": Y(i),
|
|
375
|
-
"nb-data-table__row--even": a % 2 == 1
|
|
376
|
-
}
|
|
377
|
-
]),
|
|
378
|
-
role: F.value ? "row" : void 0,
|
|
379
|
-
"aria-selected": e.selectable === "none" ? void 0 : H(i),
|
|
380
|
-
tabindex: Z.value ? 0 : void 0,
|
|
381
|
-
onClick: (e) => Q(i, a),
|
|
382
|
-
onKeydown: (e) => Tt(e, i, a),
|
|
383
|
-
onKeyup: (e) => Et(e, i, a)
|
|
384
|
-
}, [
|
|
385
|
-
N.value ? (v(), f("td", {
|
|
386
|
-
key: 0,
|
|
387
|
-
class: "nb-data-table__td nb-data-table__expand-cell",
|
|
388
|
-
role: F.value ? "cell" : void 0,
|
|
389
|
-
onClick: r[0] ||= T(() => {}, ["stop"])
|
|
390
|
-
}, [p("button", {
|
|
391
|
-
type: "button",
|
|
392
|
-
class: "nb-data-table__expand",
|
|
393
|
-
"aria-expanded": Y(i),
|
|
394
|
-
"aria-controls": Y(i) ? ht(a) : void 0,
|
|
395
|
-
"aria-label": gt(i, a),
|
|
396
|
-
onClick: (e) => mt(i)
|
|
397
|
-
}, [h(t, {
|
|
398
|
-
name: se,
|
|
399
|
-
class: "nb-data-table__expand-icon",
|
|
400
|
-
"aria-hidden": "true"
|
|
401
|
-
})], 8, We)], 8, Ue)) : d("", !0),
|
|
402
|
-
j.value ? (v(), f("td", {
|
|
403
|
-
key: 1,
|
|
404
|
-
class: "nb-data-table__td nb-data-table__select-cell",
|
|
405
|
-
onClick: r[1] ||= T(() => {}, ["stop"]),
|
|
406
|
-
onMousedown: st,
|
|
407
|
-
onKeydown: st
|
|
408
|
-
}, [e.selectable === "multiple" ? (v(), u(s, {
|
|
409
|
-
key: 0,
|
|
410
|
-
"model-value": H(i),
|
|
411
|
-
"aria-label": S(E).dataTableSelectRow(a + 1),
|
|
412
|
-
"onUpdate:modelValue": (e) => ct(i, a)
|
|
413
|
-
}, null, 8, [
|
|
414
|
-
"model-value",
|
|
415
|
-
"aria-label",
|
|
416
|
-
"onUpdate:modelValue"
|
|
417
|
-
])) : (v(), f("input", {
|
|
418
|
-
key: 1,
|
|
419
|
-
type: "radio",
|
|
420
|
-
class: "nb-data-table__radio",
|
|
421
|
-
name: Qe,
|
|
422
|
-
checked: H(i),
|
|
423
|
-
"aria-label": S(E).dataTableSelectRow(a + 1),
|
|
424
|
-
onChange: (e) => lt(i)
|
|
425
|
-
}, null, 40, Ge))], 32)) : d("", !0),
|
|
426
|
-
(v(!0), f(c, null, y(A.value, (t) => (v(), f("td", {
|
|
427
|
-
key: `td-${z(i)}-${t.key}`,
|
|
428
|
-
class: _([
|
|
429
|
-
"nb-data-table__td",
|
|
430
|
-
`nb-data-table__td--${t.align || "left"}`,
|
|
431
|
-
t.cellClass,
|
|
432
|
-
F.value && tt(t)
|
|
433
|
-
]),
|
|
434
|
-
role: F.value ? "cell" : void 0,
|
|
435
|
-
"data-label": e.stackOnPhone ? t.header : void 0
|
|
436
|
-
}, [b(n.$slots, `cell-${t.key}`, {
|
|
437
|
-
row: i,
|
|
438
|
-
value: L(t, i),
|
|
439
|
-
column: t,
|
|
440
|
-
rowIndex: a
|
|
441
|
-
}, () => [t.render ? (v(), u(it, {
|
|
442
|
-
key: 0,
|
|
443
|
-
column: t,
|
|
444
|
-
row: i,
|
|
445
|
-
"row-index": a
|
|
446
|
-
}, null, 8, [
|
|
447
|
-
"column",
|
|
448
|
-
"row",
|
|
449
|
-
"row-index"
|
|
450
|
-
])) : (v(), f(c, { key: 1 }, [m(x(R(L(t, i))), 1)], 64))], !0)], 10, Ke))), 128)),
|
|
451
|
-
M.value ? (v(), f("td", {
|
|
452
|
-
key: 2,
|
|
453
|
-
class: "nb-data-table__td nb-data-table__actions-cell",
|
|
454
|
-
onClick: r[2] ||= T(() => {}, ["stop"])
|
|
455
|
-
}, [b(n.$slots, "row-actions", {
|
|
456
|
-
row: i,
|
|
457
|
-
rowIndex: a
|
|
458
|
-
}, void 0, !0)])) : d("", !0)
|
|
459
|
-
], 42, He), Y(i) ? (v(), f("tr", {
|
|
460
|
-
key: 0,
|
|
461
|
-
class: "nb-data-table__detail-row",
|
|
462
|
-
role: F.value ? "row" : void 0
|
|
463
|
-
}, [p("td", {
|
|
464
|
-
colspan: P.value,
|
|
465
|
-
class: "nb-data-table__detail-cell",
|
|
466
|
-
role: F.value ? "cell" : void 0
|
|
467
|
-
}, [p("div", {
|
|
468
|
-
id: ht(a),
|
|
469
|
-
class: "nb-data-table__detail",
|
|
470
|
-
role: "region",
|
|
471
|
-
"aria-label": gt(i, a)
|
|
472
|
-
}, [b(n.$slots, "row-detail", {
|
|
473
|
-
row: i,
|
|
474
|
-
rowIndex: a
|
|
475
|
-
}, void 0, !0)], 8, Ye)], 8, Je)], 8, qe)) : d("", !0)], 64))), 128)) : (v(), f("tr", Be, [p("td", {
|
|
476
|
-
colspan: P.value,
|
|
477
|
-
class: "nb-data-table__state nb-data-table__state--empty"
|
|
478
|
-
}, [b(n.$slots, "empty", {}, () => [p("span", null, x(e.emptyMessage || S(E).dataTableEmpty), 1)], !0)], 8, Ve)]))], 8, Pe)
|
|
479
|
-
], 8, xe)]),
|
|
480
|
-
n.$slots.footer ? (v(), f("div", Xe, [b(n.$slots, "footer", {}, void 0, !0)])) : d("", !0)
|
|
481
|
-
], 16));
|
|
482
|
-
}
|
|
483
|
-
}), [["__scopeId", "data-v-099085b4"]]);
|
|
484
|
-
//#endregion
|
|
485
|
-
export { E as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./composables/usePhoneLayout.composable.cjs`),a=require(`./Button-C0N1cyOQ.cjs`),o=require(`./Grid-C0muGlj3.cjs`),ee=require(`./composables/useNbStrings.composable.cjs`),s=require(`./Checkbox-7JJdh4sN.cjs`);let c=require(`vue`),l=require(`@nubisco/ui/icons/arrow-up`);l=e.n(l);let u=require(`@nubisco/ui/icons/caret-right`);u=e.n(u);let d=require(`@nubisco/ui/icons/arrows-down-up`);d=e.n(d);let f=require(`@nubisco/ui/icons/arrow-down`);f=e.n(f);var te={key:0,class:`nb-data-table__toolbar`},ne={key:0,class:`nb-data-table__toolbar-heading`},re={key:0,class:`nb-data-table__title`},ie={key:1,class:`nb-data-table__description`},ae={key:1,class:`nb-data-table__toolbar-row`},oe=[`inert`,`aria-hidden`],se={key:0,class:`nb-data-table__toolbar-search`},ce=[`aria-label`],le={class:`nb-data-table__batch-count`},ue={class:`nb-data-table__batch-actions`},de={class:`nb-data-table__scroll`},fe=[`role`,`aria-label`,`aria-busy`],pe={key:0,class:`nb-data-table__col-expand`},me={key:1,class:`nb-data-table__col-select`},he={key:2,class:`nb-data-table__col-actions`},ge=[`role`],_e=[`role`],ve={key:0,scope:`col`,class:`nb-data-table__th nb-data-table__expand-cell`},ye={key:1,scope:`col`,class:`nb-data-table__th nb-data-table__select-cell`},be=[`aria-sort`],xe=[`onClick`],Se={class:`nb-data-table__th-label`},Ce={key:1,class:`nb-data-table__th-label`},we={key:2,scope:`col`,class:`nb-data-table__th nb-data-table__actions-cell`},Te=[`role`],Ee={key:0,class:`nb-data-table__td`},De={key:1,class:`nb-data-table__td`},Oe={key:2,class:`nb-data-table__td`},ke={key:1,class:`nb-data-table__state-row`},Ae=[`colspan`],je={key:2,class:`nb-data-table__state-row`},Me=[`colspan`],Ne=[`role`,`aria-selected`,`tabindex`,`onClick`,`onKeydown`,`onKeyup`],Pe=[`role`],Fe=[`aria-expanded`,`aria-controls`,`aria-label`,`onClick`],Ie=[`checked`,`aria-label`,`onChange`],p=[`role`,`data-label`],m=[`role`],h=[`colspan`,`role`],g=[`id`,`aria-label`],_={key:1,class:`nb-data-table__footer`},v=(0,c.defineComponent)({__name:`DataTable`,props:{columns:{},rows:{},rowKey:{},size:{default:`lg`},sortState:{default:null},selectable:{default:`none`},selected:{default:()=>[]},loading:{type:Boolean,default:!1},skeletonRows:{default:5},error:{type:[String,Boolean],default:void 0},emptyMessage:{default:void 0},stickyHeader:{type:Boolean,default:!0},zebra:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},title:{default:void 0},description:{default:void 0},ariaLabel:{default:void 0},stackOnPhone:{type:Boolean,default:!1},expanded:{default:()=>[]}},emits:[`sort`,`update:selected`,`row-click`,`update:expanded`],setup(e,{emit:t}){let v=ee.useNbStrings(),y=e,{layerProps:Le}=r.useSurfaceLayer(),b=t,x=(0,c.useSlots)(),Re=`nb-data-table-select-${(0,c.useId)()}`,ze=(0,c.computed)(()=>y.size===`xl`?`lg`:y.size),S=(0,c.computed)(()=>y.columns.filter(e=>!e.hidden)),C=(0,c.computed)(()=>y.selectable!==`none`),w=(0,c.computed)(()=>!!x[`row-actions`]),T=(0,c.computed)(()=>!!x[`row-detail`]),E=(0,c.computed)(()=>S.value.length+(T.value?1:0)+(C.value?1:0)+(w.value?1:0)),{phone:Be}=i.usePhoneLayout(),D=(0,c.computed)(()=>y.stackOnPhone&&Be.value),O=(0,c.computed)(()=>(S.value.find(e=>e.primary)??S.value.find(e=>!e.phoneHidden&&!e.phoneMeta))?.key);function Ve(e){return e.phoneHidden?`nb-data-table__td--phone-hidden`:e.key===O.value?`nb-data-table__td--primary`:e.phoneMeta?`nb-data-table__td--meta`:`nb-data-table__td--field`}let He=(0,c.computed)(()=>!y.loading&&!y.error&&y.rows.length>0&&(y.selectable===`multiple`||S.value.some(e=>e.sortable&&!e.phoneHidden)));function Ue(e){if(e.width!=null)return{width:typeof e.width==`number`?`${e.width}px`:e.width}}function k(e,t){return t[e.key]}function A(e){return e==null?``:String(e)}let j=e=>e.column.render?.(e.row,k(e.column,e.row),e.rowIndex)??null;j.props=[`column`,`row`,`rowIndex`];function M(e){let t=y.rowKey;return typeof t==`function`?t(e):e[t]}let N=(0,c.computed)(()=>new Set(y.selected)),We=(0,c.computed)(()=>y.selected),P=(0,c.computed)(()=>y.selected.length);function F(e){return N.value.has(M(e))}let I=(0,c.computed)(()=>y.rows.map(e=>M(e))),L=(0,c.computed)(()=>I.value.length>0&&I.value.every(e=>N.value.has(e))),Ge=(0,c.computed)(()=>!L.value&&I.value.some(e=>N.value.has(e))),R=(0,c.ref)(null),z=!1;function B(e){z=e.shiftKey}(0,c.watch)(I,()=>{R.value=null});function Ke(e,t){let n=M(e),r=new Set(y.selected),i=!r.has(n),a=R.value,o=e=>{i?r.add(e):r.delete(e)};if(z&&a!==null&&a!==t){let e=Math.min(a,t),n=Math.max(a,t);for(let t=e;t<=n;t++){let e=y.rows[t];e&&o(M(e))}}else o(n),R.value=t;z=!1,b(`update:selected`,[...r])}function qe(e){b(`update:selected`,[M(e)])}function Je(){let e=new Set(y.selected);L.value?I.value.forEach(t=>e.delete(t)):I.value.forEach(t=>e.add(t)),b(`update:selected`,[...e])}function V(){b(`update:selected`,[])}let H=(0,c.computed)(()=>y.selectable!==`none`&&!!x[`batch-actions`]),U=(0,c.computed)(()=>H.value&&P.value>0),Ye=`nb-data-table-detail-${(0,c.useId)()}`,Xe=(0,c.computed)(()=>new Set(y.expanded));function W(e){return T.value&&Xe.value.has(M(e))}function Ze(e){let t=M(e),n=y.expanded.filter(e=>e!==t);n.length===y.expanded.length&&n.push(t),b(`update:expanded`,n)}function G(e){return`${Ye}-${e}`}function K(e,t){let n=S.value.find(e=>e.key===O.value);return`Details for ${(n?A(k(n,e)).trim():``)||`row ${t+1}`}`}let q=(0,c.computed)(()=>!!y.title||!!y.description||!!x.toolbar),J=(0,c.computed)(()=>!!x.search||!!x[`toolbar-actions`]||H.value),Qe=(0,c.computed)(()=>q.value||J.value);function Y(e){return!!y.sortState&&y.sortState.key===e.key&&y.sortState.direction!==`none`}function $e(e){return Y(e)?y.sortState.direction===`asc`?`ascending`:`descending`:`none`}function et(e){return Y(e)?y.sortState.direction===`asc`?l:f:d}function X(e){return e===`asc`?`desc`:e===`desc`?`none`:`asc`}function tt(e){let t=y.sortState&&y.sortState.key===e.key?y.sortState.direction:`none`;b(`sort`,{key:e.key,direction:X(t)})}let nt=(0,c.getCurrentInstance)(),Z=(0,c.computed)(()=>!!nt?.vnode.props?.onRowClick);function Q(e,t){b(`row-click`,e,t)}function $(e){return Z.value&&e.target===e.currentTarget&&!e.altKey&&!e.ctrlKey&&!e.metaKey}function rt(e,t,n){$(e)&&(e.key===`Enter`?(e.preventDefault(),e.repeat||Q(t,n)):e.key===` `&&e.preventDefault())}function it(e,t,n){!$(e)||e.key!==` `||(e.preventDefault(),Q(t,n))}return(t,r)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,(0,c.mergeProps)({class:[`nb-data-table`,`nb-data-table--${e.size}`,{"nb-data-table--zebra":e.zebra},{"nb-data-table--sticky":e.stickyHeader},{"nb-data-table--fill":e.fill},{"nb-data-table--stacked":D.value},{"nb-data-table--stacked-headless":D.value&&!He.value},{"nb-data-table--expandable":T.value}]},(0,c.unref)(Le)),[Qe.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,te,[q.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,ne,[(0,c.renderSlot)(t.$slots,`toolbar`,{selectedCount:P.value},()=>[e.title?((0,c.openBlock)(),(0,c.createElementBlock)(`h2`,re,(0,c.toDisplayString)(e.title),1)):(0,c.createCommentVNode)(``,!0),e.description?((0,c.openBlock)(),(0,c.createElementBlock)(`p`,ie,(0,c.toDisplayString)(e.description),1)):(0,c.createCommentVNode)(``,!0)],!0)])):(0,c.createCommentVNode)(``,!0),J.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,ae,[t.$slots.search||t.$slots[`toolbar-actions`]?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:0,class:(0,c.normalizeClass)([`nb-data-table__toolbar-tools`,{"nb-data-table__toolbar-tools--search":!!t.$slots.search}]),inert:U.value||void 0,"aria-hidden":U.value||void 0},[t.$slots.search?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,se,[(0,c.renderSlot)(t.$slots,`search`,{},void 0,!0)])):(0,c.createCommentVNode)(``,!0),(0,c.renderSlot)(t.$slots,`toolbar-actions`,{},void 0,!0)],10,oe)):(0,c.createCommentVNode)(``,!0),U.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:1,class:`nb-data-table__batch`,role:`region`,"aria-label":(0,c.unref)(v).dataTableBatchActions},[(0,c.createElementVNode)(`span`,le,(0,c.toDisplayString)((0,c.unref)(v).selectionCount(P.value)),1),(0,c.createElementVNode)(`div`,ue,[(0,c.renderSlot)(t.$slots,`batch-actions`,{selectedKeys:We.value,clear:V},void 0,!0)]),(0,c.createVNode)(a.t,{class:`nb-data-table__batch-cancel`,variant:`ghost`,size:ze.value,onClick:V},{default:(0,c.withCtx)(()=>[...r[3]||=[(0,c.createTextVNode)(` Cancel `,-1)]]),_:1},8,[`size`])],8,ce)):(0,c.createCommentVNode)(``,!0)])):(0,c.createCommentVNode)(``,!0)])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,de,[(0,c.createElementVNode)(`table`,{class:`nb-data-table__table`,role:D.value?`table`:void 0,"aria-label":e.ariaLabel||e.title||void 0,"aria-busy":e.loading||void 0},[(0,c.createElementVNode)(`colgroup`,null,[T.value?((0,c.openBlock)(),(0,c.createElementBlock)(`col`,pe)):(0,c.createCommentVNode)(``,!0),C.value?((0,c.openBlock)(),(0,c.createElementBlock)(`col`,me)):(0,c.createCommentVNode)(``,!0),((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(S.value,e=>((0,c.openBlock)(),(0,c.createElementBlock)(`col`,{key:`col-${e.key}`,style:(0,c.normalizeStyle)(Ue(e))},null,4))),128)),w.value?((0,c.openBlock)(),(0,c.createElementBlock)(`col`,he)):(0,c.createCommentVNode)(``,!0)]),(0,c.createElementVNode)(`thead`,{class:`nb-data-table__head`,role:D.value?`rowgroup`:void 0},[(0,c.createElementVNode)(`tr`,{role:D.value?`row`:void 0},[T.value?((0,c.openBlock)(),(0,c.createElementBlock)(`th`,ve,[...r[4]||=[(0,c.createElementVNode)(`span`,{class:`nb-sr-only`},`Row details`,-1)]])):(0,c.createCommentVNode)(``,!0),C.value?((0,c.openBlock)(),(0,c.createElementBlock)(`th`,ye,[e.selectable===`multiple`?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:0,"model-value":L.value,indeterminate:Ge.value,"aria-label":(0,c.unref)(v).dataTableSelectAll,"onUpdate:modelValue":Je},null,8,[`model-value`,`indeterminate`,`aria-label`])):(0,c.createCommentVNode)(``,!0)])):(0,c.createCommentVNode)(``,!0),((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(S.value,e=>((0,c.openBlock)(),(0,c.createElementBlock)(`th`,{key:`th-${e.key}`,scope:`col`,class:(0,c.normalizeClass)([`nb-data-table__th`,`nb-data-table__th--${e.align||`left`}`,{"nb-data-table__th--sortable":e.sortable},{"nb-data-table__th--sorted":Y(e)},D.value&&e.phoneHidden&&`nb-data-table__th--phone-hidden`]),"aria-sort":e.sortable?$e(e):void 0},[e.sortable?((0,c.openBlock)(),(0,c.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-data-table__sort`,onClick:t=>tt(e)},[(0,c.createElementVNode)(`span`,Se,[(0,c.renderSlot)(t.$slots,`header-${e.key}`,{column:e},()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.header),1)],!0)]),(0,c.createVNode)(n.t,{name:et(e),class:`nb-data-table__sort-icon`,"aria-hidden":`true`},null,8,[`name`])],8,xe)):((0,c.openBlock)(),(0,c.createElementBlock)(`span`,Ce,[(0,c.renderSlot)(t.$slots,`header-${e.key}`,{column:e},()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.header),1)],!0)]))],10,be))),128)),w.value?((0,c.openBlock)(),(0,c.createElementBlock)(`th`,we,[...r[5]||=[(0,c.createElementVNode)(`span`,{class:`nb-sr-only`},`Row actions`,-1)]])):(0,c.createCommentVNode)(``,!0)],8,_e)],8,ge),(0,c.createElementVNode)(`tbody`,{class:`nb-data-table__body`,role:D.value?`rowgroup`:void 0},[e.loading?((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,{key:0},(0,c.renderList)(e.skeletonRows,e=>((0,c.openBlock)(),(0,c.createElementBlock)(`tr`,{key:`skeleton-${e}`,class:`nb-data-table__row nb-data-table__row--skeleton`},[T.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,Ee)):(0,c.createCommentVNode)(``,!0),C.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,De,[...r[6]||=[(0,c.createElementVNode)(`span`,{class:`nb-data-table__skeleton nb-data-table__skeleton--box`},null,-1)]])):(0,c.createCommentVNode)(``,!0),((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(S.value,t=>((0,c.openBlock)(),(0,c.createElementBlock)(`td`,{key:`sk-${e}-${t.key}`,class:`nb-data-table__td`},[...r[7]||=[(0,c.createElementVNode)(`span`,{class:`nb-data-table__skeleton`},null,-1)]]))),128)),w.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,Oe,[...r[8]||=[(0,c.createElementVNode)(`span`,{class:`nb-data-table__skeleton nb-data-table__skeleton--box`},null,-1)]])):(0,c.createCommentVNode)(``,!0)]))),128)):e.error?((0,c.openBlock)(),(0,c.createElementBlock)(`tr`,ke,[(0,c.createElementVNode)(`td`,{colspan:E.value,class:`nb-data-table__state nb-data-table__state--error`},[(0,c.renderSlot)(t.$slots,`error`,{error:e.error},()=>[(0,c.createVNode)(o.t,{is:`span`,align:`center`,justify:`center`,gap:`xs`,class:`nb-data-table__state-inner`},{default:(0,c.withCtx)(()=>[(0,c.createVNode)(n.t,{name:`warning-circle-fill`,"aria-hidden":`true`}),(0,c.createElementVNode)(`span`,null,(0,c.toDisplayString)(e.error===!0?(0,c.unref)(v).dataTableError:e.error),1)]),_:1})],!0)],8,Ae)])):e.rows.length?((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,{key:3},(0,c.renderList)(e.rows,(i,a)=>((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:M(i)},[(0,c.createElementVNode)(`tr`,{class:(0,c.normalizeClass)([`nb-data-table__row`,{"nb-data-table__row--selected":F(i)},{"nb-data-table__row--clickable":Z.value},T.value&&{"nb-data-table__row--expanded":W(i),"nb-data-table__row--even":a%2==1}]),role:D.value?`row`:void 0,"aria-selected":e.selectable===`none`?void 0:F(i),tabindex:Z.value?0:void 0,onClick:e=>Q(i,a),onKeydown:e=>rt(e,i,a),onKeyup:e=>it(e,i,a)},[T.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,{key:0,class:`nb-data-table__td nb-data-table__expand-cell`,role:D.value?`cell`:void 0,onClick:r[0]||=(0,c.withModifiers)(()=>{},[`stop`])},[(0,c.createElementVNode)(`button`,{type:`button`,class:`nb-data-table__expand`,"aria-expanded":W(i),"aria-controls":W(i)?G(a):void 0,"aria-label":K(i,a),onClick:e=>Ze(i)},[(0,c.createVNode)(n.t,{name:u,class:`nb-data-table__expand-icon`,"aria-hidden":`true`})],8,Fe)],8,Pe)):(0,c.createCommentVNode)(``,!0),C.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,{key:1,class:`nb-data-table__td nb-data-table__select-cell`,onClick:r[1]||=(0,c.withModifiers)(()=>{},[`stop`]),onMousedown:B,onKeydown:B},[e.selectable===`multiple`?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:0,"model-value":F(i),"aria-label":(0,c.unref)(v).dataTableSelectRow(a+1),"onUpdate:modelValue":e=>Ke(i,a)},null,8,[`model-value`,`aria-label`,`onUpdate:modelValue`])):((0,c.openBlock)(),(0,c.createElementBlock)(`input`,{key:1,type:`radio`,class:`nb-data-table__radio`,name:Re,checked:F(i),"aria-label":(0,c.unref)(v).dataTableSelectRow(a+1),onChange:e=>qe(i)},null,40,Ie))],32)):(0,c.createCommentVNode)(``,!0),((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(S.value,n=>((0,c.openBlock)(),(0,c.createElementBlock)(`td`,{key:`td-${M(i)}-${n.key}`,class:(0,c.normalizeClass)([`nb-data-table__td`,`nb-data-table__td--${n.align||`left`}`,n.cellClass,D.value&&Ve(n)]),role:D.value?`cell`:void 0,"data-label":e.stackOnPhone?n.header:void 0},[(0,c.renderSlot)(t.$slots,`cell-${n.key}`,{row:i,value:k(n,i),column:n,rowIndex:a},()=>[n.render?((0,c.openBlock)(),(0,c.createBlock)(j,{key:0,column:n,row:i,"row-index":a},null,8,[`column`,`row`,`row-index`])):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createTextVNode)((0,c.toDisplayString)(A(k(n,i))),1)],64))],!0)],10,p))),128)),w.value?((0,c.openBlock)(),(0,c.createElementBlock)(`td`,{key:2,class:`nb-data-table__td nb-data-table__actions-cell`,onClick:r[2]||=(0,c.withModifiers)(()=>{},[`stop`])},[(0,c.renderSlot)(t.$slots,`row-actions`,{row:i,rowIndex:a},void 0,!0)])):(0,c.createCommentVNode)(``,!0)],42,Ne),W(i)?((0,c.openBlock)(),(0,c.createElementBlock)(`tr`,{key:0,class:`nb-data-table__detail-row`,role:D.value?`row`:void 0},[(0,c.createElementVNode)(`td`,{colspan:E.value,class:`nb-data-table__detail-cell`,role:D.value?`cell`:void 0},[(0,c.createElementVNode)(`div`,{id:G(a),class:`nb-data-table__detail`,role:`region`,"aria-label":K(i,a)},[(0,c.renderSlot)(t.$slots,`row-detail`,{row:i,rowIndex:a},void 0,!0)],8,g)],8,h)],8,m)):(0,c.createCommentVNode)(``,!0)],64))),128)):((0,c.openBlock)(),(0,c.createElementBlock)(`tr`,je,[(0,c.createElementVNode)(`td`,{colspan:E.value,class:`nb-data-table__state nb-data-table__state--empty`},[(0,c.renderSlot)(t.$slots,`empty`,{},()=>[(0,c.createElementVNode)(`span`,null,(0,c.toDisplayString)(e.emptyMessage||(0,c.unref)(v).dataTableEmpty),1)],!0)],8,Me)]))],8,Te)],8,fe)]),t.$slots.footer?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,_,[(0,c.renderSlot)(t.$slots,`footer`,{},void 0,!0)])):(0,c.createCommentVNode)(``,!0)],16))}}),y=t.t(v,[[`__scopeId`,`data-v-099085b4`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return y}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-CssV4E2-.cjs`),t=require(`./composables/useSurfaceLayer.composable.cjs`),n=require(`./composables/usePhoneLayout.composable.cjs`),r=require(`./Label-CTOPIIbR.cjs`),i=require(`./Message-Bija1nMK.cjs`),a=require(`./Grid-C0muGlj3.cjs`),o=require(`./composables/useMenuSurface.composable.cjs`),s=require(`./composables/useNbStrings.composable.cjs`),c=require(`./composables/useVisualViewportVar.composable.cjs`);let l=require(`vue`),u=require(`@nubisco/ui/icons/caret-right`),d=require(`@nubisco/ui/icons/calendar`),ee=require(`@nubisco/ui/icons/caret-double-left`),te=require(`@nubisco/ui/icons/caret-left`),ne=require(`@nubisco/ui/icons/caret-double-right`);var re={class:`nb-date-picker__col`},ie=[`id`,`value`,`placeholder`,`disabled`,`readonly`,`required`,`name`,`aria-invalid`,`aria-describedby`],ae=[`disabled`,`aria-label`],oe={key:0,class:`nb-date-picker__col`},se=[`id`,`value`,`placeholder`,`disabled`,`readonly`,`required`,`aria-invalid`,`aria-describedby`],ce=[`disabled`,`aria-label`],le={key:0,class:`nb-date-picker__inner-header`},ue=[`for`],de={key:0,class:`nb-date-picker__asterisk`,"aria-hidden":`true`},fe={class:`nb-date-picker__fluid-row`},pe=[`id`,`value`,`placeholder`,`disabled`,`readonly`,`required`,`name`,`aria-invalid`],me=[`disabled`,`aria-label`],he={key:0,class:`nb-date-picker__inner-header`},ge=[`for`],_e={key:0,class:`nb-date-picker__asterisk`,"aria-hidden":`true`},ve={class:`nb-date-picker__fluid-row`},ye=[`id`,`value`,`placeholder`,`disabled`,`readonly`,`required`,`aria-invalid`],be=[`disabled`,`aria-label`],xe=[`aria-label`],Se={class:`nb-date-picker__cal-header`},Ce=[`aria-label`],we=[`aria-label`],Te=[`id`],Ee=[`aria-label`],De=[`aria-label`],Oe=[`aria-labelledby`],ke={class:`nb-date-picker__cal-weekdays`},Ae=[`abbr`],je=[`aria-selected`,`aria-disabled`],Me=[`tabindex`,`disabled`,`aria-label`,`data-date`,`onClick`],f=(0,l.defineComponent)({inheritAttrs:!1,__name:`DatePicker`,props:{modelValue:{default:null},type:{default:`single`},endValue:{default:null},min:{default:void 0},max:{default:void 0},weekStart:{default:1},locale:{default:void 0},endPlaceholder:{default:``},endLabel:{default:``},endError:{default:``},endWarning:{default:``},disabledDates:{type:[Array,Function],default:void 0},readonly:{type:Boolean,default:!1},placeholder:{default:``},name:{default:``},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0},label:{default:``},error:{default:``},warning:{default:``},helper:{default:``},variant:{default:`default`},size:{default:`md`}},emits:[`update:modelValue`,`update:endValue`,`change`],setup(f,{expose:Ne,emit:Pe}){let p=s.useNbStrings(),m=f,{layerProps:Fe}=t.useSurfaceLayer({overlay:!0}),h=Pe,Ie=`nb-date-picker-${(0,l.useId)()}`,g=(0,l.computed)(()=>m.id??Ie),_=(0,l.computed)(()=>`${g.value}-end`),v=(0,l.computed)(()=>`${g.value}-helper`),Le=(0,l.computed)(()=>`${g.value}-message`),Re=(0,l.computed)(()=>`${g.value}-end-message`),ze=(0,l.computed)(()=>`${g.value}-cal-title`),y=(0,l.ref)(null),Be=(0,l.computed)(()=>y.value!==null),b=(0,l.ref)(!1),x=(0,l.ref)(Q(new Date)),S=(0,l.ref)(null),C=(0,l.ref)(null),w=(0,l.ref)(null),T=(0,l.ref)(null);o.useMenuSurface(T);let{phone:E}=n.usePhoneLayout(),Ve=(0,l.ref)(null);c.useVisualViewportVar(()=>b.value);let He=(0,l.ref)({position:`fixed`,top:`0px`,left:`0px`,zIndex:`9999`}),D=(0,l.ref)(`start`),O=(0,l.computed)(()=>m.locale||(typeof navigator<`u`?navigator.language:``)||`en`),k=(0,l.computed)(()=>new Intl.DateTimeFormat(O.value).formatToParts(new Date(2e3,0,15)).map(e=>e.type===`day`?`dd`:e.type===`month`?`mm`:e.type===`year`?`yyyy`:e.value).join(``));function A(e){if(!e)return``;let t=new Date(e+`T00:00:00`);return isNaN(t.getTime())?e:t.toLocaleDateString(O.value)}function Ue(e){return new Date(e+`T00:00:00`).toLocaleDateString(O.value,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`})}let We=(0,l.computed)(()=>A(m.modelValue??null)),Ge=(0,l.computed)(()=>A(m.endValue??null)),j=(0,l.computed)(()=>m.error?{variant:`error`,text:m.error}:m.warning?{variant:`warning`,text:m.warning}:null),M=(0,l.computed)(()=>m.type===`range`?m.endError?{variant:`error`,text:m.endError}:m.endWarning?{variant:`warning`,text:m.endWarning}:null:null),N=(0,l.computed)(()=>j.value?j.value:m.helper?{variant:`helper`,text:m.helper}:null),Ke=(0,l.computed)(()=>{if(m.variant===`default`)return j.value?Le.value:m.helper?v.value:void 0}),qe=(0,l.computed)(()=>{if(m.variant===`default`)return M.value?Re.value:m.helper?v.value:void 0}),P=(0,l.computed)(()=>m.type===`range`&&!!m.endLabel),Je=(0,l.computed)(()=>m.endLabel||m.endPlaceholder);function F(e){return m.min!=null&&e<m.min||m.max!=null&&e>m.max?!0:m.disabledDates?typeof m.disabledDates==`function`?m.disabledDates(e):m.disabledDates.includes(e):!1}let Ye=(0,l.computed)(()=>new Intl.DateTimeFormat(O.value).formatToParts(new Date(2e3,0,15)).map(e=>e.type).filter(e=>e===`day`||e===`month`||e===`year`));function Xe(e,t,n){let r=new Date(e,t-1,n);return r.getMonth()!==t-1||r.getDate()!==n?null:(r.setFullYear(e),Q(r))}function Ze(e){let t=e.split(/[\s./-]+/).filter(Boolean);if(t.length!==3)return null;let n=t[0].length===4?[`year`,`month`,`day`]:Ye.value;if(n.length!==3)return null;let r={day:0,month:0,year:0};for(let e=0;e<3;e++){let i=n[e],a=t[e];if(i===`year`?a.length!==4:a.length>2)return null;r[i]=Number(a)}return Xe(r.year,r.month,r.day)}function Qe(e){let t=e.trim();if(!t)return null;if(/^\d{4}-\d{2}-\d{2}$/.test(t)){let e=new Date(t+`T00:00:00`);return isNaN(e.getTime())?null:t}if(/^[\d\s./-]+$/.test(t))return Ze(t);let n=new Date(t);return isNaN(n.getTime())?null:Q(n)}function $e(e){let t=e.target.value,n=Qe(t);n&&F(n)||(n||t===``)&&(h(`update:modelValue`,n),h(`change`,n))}function et(e){let t=e.target.value,n=Qe(t);n&&F(n)||(n||t===``)&&h(`update:endValue`,n)}function I(e){y.value=e.target===w.value?`end`:`start`,m.type!==`simple`&&!m.readonly&&(D.value=y.value,b.value?z():B())}function L(){y.value=null}function R(e){if(!(m.type===`simple`||m.readonly))switch(e.key){case`Escape`:b.value&&(V(),e.preventDefault());break;case`ArrowDown`:e.preventDefault(),b.value||B(),(0,l.nextTick)(U);break;case`Enter`:b.value||(e.preventDefault(),B(),(0,l.nextTick)(U));break}}function z(){let e=S.value?.querySelectorAll(`.nb-date-picker__input-wrapper`);if(!e?.length)return;let t=(D.value===`end`&&e.length>1?e[1]:e[0]).getBoundingClientRect(),n=T.value?.offsetWidth??0,r=T.value?.offsetHeight??0,i=t.left,a=t.bottom+4;n>0&&(i=Math.max(8,Math.min(i,window.innerWidth-n-8))),r>0&&a+r>window.innerHeight-8&&t.top-4-r>=8&&(a=t.top-4-r),He.value={position:`fixed`,top:`${a}px`,left:`${i}px`,zIndex:`9999`}}function B(){if(m.disabled||m.readonly||m.type===`simple`||b.value)return;b.value=!0;let e=D.value===`end`&&m.endValue?m.endValue:m.modelValue,t=e?new Date(e+`T00:00:00`):new Date;Y.value=t.getFullYear(),X.value=t.getMonth(),x.value=e||Q(new Date),z(),(0,l.nextTick)(z)}function V(){b.value&&(b.value=!1,(0,l.nextTick)(()=>{D.value===`end`&&w.value?w.value.focus():C.value?.focus()}))}function H(){b.value?V():(D.value=`start`,B(),(0,l.nextTick)(U))}function U(){(0,l.nextTick)(()=>{(T.value?.querySelector(`[data-date="${x.value}"]`))?.focus()})}function tt(e){F(e)||(m.type===`range`?D.value===`start`?(h(`update:modelValue`,e),h(`change`,e),D.value=`end`,x.value=e,(0,l.nextTick)(()=>w.value?.focus())):(m.modelValue&&e<m.modelValue?(h(`update:endValue`,m.modelValue),h(`update:modelValue`,e),h(`change`,e)):h(`update:endValue`,e),V()):(h(`update:modelValue`,e),h(`change`,e),V()))}function nt(e){let t=new Date(x.value+`T00:00:00`),n=!0;switch(e.key){case`ArrowRight`:W(t,1);break;case`ArrowLeft`:W(t,-1);break;case`ArrowDown`:W(t,7);break;case`ArrowUp`:W(t,-7);break;case`Home`:rt(t,`start`);break;case`End`:rt(t,`end`);break;case`PageUp`:e.shiftKey?G(t,-12):G(t,-1);break;case`PageDown`:e.shiftKey?G(t,12):G(t,1);break;case`Enter`:case` `:e.preventDefault(),tt(x.value);return;case`Escape`:V();break;case`Tab`:V();return;default:n=!1}n&&e.preventDefault()}function W(e,t){let n=new Date(e);n.setDate(n.getDate()+t),K(n)}function rt(e,t){let n=e.getDay();m.weekStart===1&&(n=n===0?6:n-1);let r=t===`start`?-n:6-n,i=new Date(e);i.setDate(i.getDate()+r),K(i)}function G(e,t){let n=new Date(e);n.setMonth(n.getMonth()+t),n.getDate()!==e.getDate()&&n.setDate(0),K(n)}function K(e){let t=Q(e);m.min!=null&&t<m.min||m.max!=null&&t>m.max||(x.value=t,Y.value=e.getFullYear(),X.value=e.getMonth(),U())}function q(e){let t=e.target,n=S.value?.contains(t)??!1,r=T.value?.contains(t)??!1,i=Ve.value?.contains(t)??!1;!n&&!r&&!i&&V()}function J(){b.value&&z()}(0,l.watch)(b,e=>{e?(document.addEventListener(`mousedown`,q),window.addEventListener(`scroll`,J,!0),window.addEventListener(`resize`,J)):(document.removeEventListener(`mousedown`,q),window.removeEventListener(`scroll`,J,!0),window.removeEventListener(`resize`,J))}),(0,l.onBeforeUnmount)(()=>{document.removeEventListener(`mousedown`,q),window.removeEventListener(`scroll`,J,!0),window.removeEventListener(`resize`,J)});let Y=(0,l.ref)(new Date().getFullYear()),X=(0,l.ref)(new Date().getMonth());function Z(e){let t=Y.value*12+X.value+e;Y.value=Math.floor(t/12),X.value=(t%12+12)%12;let n=new Date(x.value+`T00:00:00`).getDate(),r=new Date(Y.value,X.value+1,0).getDate();x.value=Q(new Date(Y.value,X.value,Math.min(n,r))),U()}let it=()=>Z(-1),at=()=>Z(1),ot=()=>Z(-12),st=()=>Z(12),ct=(0,l.computed)(()=>{let e=new Date(Y.value,X.value,1).toLocaleDateString(O.value,{month:`long`,year:`numeric`});return e.charAt(0).toUpperCase()+e.slice(1)}),lt=(0,l.computed)(()=>{let e=[],t=new Date(2024,0,m.weekStart===0?7:1);for(let n=0;n<7;n++){let r=new Date(t);r.setDate(t.getDate()+n);let i=r.toLocaleDateString(O.value,{weekday:`narrow`}).toUpperCase(),a=r.toLocaleDateString(O.value,{weekday:`long`});e.push({narrow:i,full:a.charAt(0).toUpperCase()+a.slice(1)})}return e});function Q(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}let ut=(0,l.computed)(()=>Q(new Date)),dt=(0,l.computed)(()=>{let e=Y.value,t=X.value,n=new Date(e,t,1),r=new Date(e,t+1,0),i=n.getDay();m.weekStart===1&&(i=i===0?6:i-1);let a=[],o=m.modelValue??null,s=m.endValue??null,c=o&&s?o<s?o:s:null,l=o&&s?o<s?s:o:null;function u(e,t){let n=Q(e);return{key:n,date:n,day:e.getDate(),inMonth:t,isToday:n===ut.value,isSelected:n===o||n===s,inRange:c!=null&&l!=null&&n>c&&n<l,isRangeStart:n===c&&l!=null,isRangeEnd:n===l&&c!=null,isDisabled:F(n)}}for(let n=i-1;n>=0;n--)a.push(u(new Date(e,t,-n),!1));for(let n=1;n<=r.getDate();n++)a.push(u(new Date(e,t,n),!0));let d=7-a.length%7;if(d<7)for(let n=1;n<=d;n++)a.push(u(new Date(e,t+1,n),!1));return a}),ft=(0,l.computed)(()=>{let e=[];for(let t=0;t<dt.value.length;t+=7)e.push(dt.value.slice(t,t+7));return e}),pt=(0,l.computed)(()=>[`nb-date-picker`,`nb-date-picker--${m.variant}`,`nb-date-picker--${m.size}`,`nb-date-picker--${m.type}`,{"nb-date-picker--focused":Be.value,"nb-date-picker--open":b.value,"nb-date-picker--error":!!m.error||!!m.endError,"nb-date-picker--warning":!m.error&&!m.endError&&(!!m.warning||!!m.endWarning),"nb-date-picker--disabled":m.disabled,"nb-date-picker--readonly":m.readonly}]),mt=(0,l.computed)(()=>({"nb-date-picker__input-wrapper--focused":y.value===`start`,"nb-date-picker__input-wrapper--error":!!m.error,"nb-date-picker__input-wrapper--warning":!m.error&&!!m.warning,"nb-date-picker__input-wrapper--disabled":m.disabled,"nb-date-picker__input-wrapper--readonly":m.readonly})),$=(0,l.computed)(()=>({"nb-date-picker__input-wrapper--focused":y.value===`end`,"nb-date-picker__input-wrapper--error":!!m.endError,"nb-date-picker__input-wrapper--warning":!m.endError&&!!m.endWarning,"nb-date-picker__input-wrapper--disabled":m.disabled,"nb-date-picker__input-wrapper--readonly":m.readonly}));return Ne({open:B,close:V,focus:()=>C.value?.focus()}),(t,n)=>((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createElementVNode)(`div`,{ref_key:`rootRef`,ref:S,class:(0,l.normalizeClass)(pt.value)},[f.variant===`default`?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[t.$slots.label?(0,l.renderSlot)(t.$slots,`label`,{key:0}):f.label&&!P.value?((0,l.openBlock)(),(0,l.createBlock)(r.t,{key:1,for:g.value,required:f.required,disabled:f.disabled},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(f.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,l.createCommentVNode)(``,!0),(0,l.createVNode)(a.t,{dir:`row`,gap:f.type===`range`?`sm`:void 0,class:`nb-date-picker__fields`},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)(`div`,re,[P.value&&f.label?((0,l.openBlock)(),(0,l.createBlock)(r.t,{key:0,for:g.value,required:f.required,disabled:f.disabled},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(f.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,l.createCommentVNode)(``,!0),(0,l.createElementVNode)(`div`,{class:(0,l.normalizeClass)([`nb-date-picker__input-wrapper`,mt.value])},[(0,l.createElementVNode)(`input`,(0,l.mergeProps)({id:g.value,ref_key:`inputRef`,ref:C},t.$attrs,{type:`text`,class:`nb-date-picker__field`,value:We.value,placeholder:f.placeholder||k.value,disabled:f.disabled,readonly:f.readonly,required:f.required,name:f.name,"aria-invalid":f.error?!0:void 0,"aria-describedby":Ke.value,onInput:n[0]||=e=>$e(e),onFocus:I,onBlur:L,onKeydown:R}),null,16,ie),f.type===`simple`?(0,l.createCommentVNode)(``,!0):((0,l.openBlock)(),(0,l.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-date-picker__icon`,disabled:f.disabled||f.readonly,tabindex:`-1`,"aria-label":f.modelValue?(0,l.unref)(p).datePickerChangeDate(A(f.modelValue)):(0,l.unref)(p).datePickerChooseDate,onClick:H},[(0,l.createVNode)(e.t,{name:(0,l.unref)(d.regular),size:16},null,8,[`name`])],8,ae))],2)]),f.type===`range`?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,oe,[P.value?((0,l.openBlock)(),(0,l.createBlock)(r.t,{key:0,for:_.value,required:f.required,disabled:f.disabled},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(f.endLabel),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,l.createCommentVNode)(``,!0),(0,l.createElementVNode)(`div`,{class:(0,l.normalizeClass)([`nb-date-picker__input-wrapper`,$.value])},[(0,l.createElementVNode)(`input`,{id:_.value,ref_key:`endInputRef`,ref:w,type:`text`,class:`nb-date-picker__field`,value:Ge.value,placeholder:f.endPlaceholder||k.value,disabled:f.disabled,readonly:f.readonly,required:f.required,"aria-invalid":f.endError?!0:void 0,"aria-describedby":qe.value,onInput:n[1]||=e=>et(e),onFocus:I,onBlur:L,onKeydown:R},null,40,se),(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__icon`,disabled:f.disabled||f.readonly,tabindex:`-1`,"aria-label":f.endValue?(0,l.unref)(p).datePickerChangeEndDate(A(f.endValue)):(0,l.unref)(p).datePickerChooseEndDate,onClick:H},[(0,l.createVNode)(e.t,{name:(0,l.unref)(d.regular),size:16},null,8,[`name`])],8,ce)],2)])):(0,l.createCommentVNode)(``,!0)]),_:1},8,[`gap`]),j.value?((0,l.openBlock)(),(0,l.createBlock)(i.t,{key:2,id:Le.value,variant:j.value.variant,class:`nb-date-picker__message`},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(j.value.text),1)]),_:1},8,[`id`,`variant`])):(0,l.createCommentVNode)(``,!0),M.value?((0,l.openBlock)(),(0,l.createBlock)(i.t,{key:3,id:Re.value,variant:M.value.variant,class:`nb-date-picker__message`},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(M.value.text),1)]),_:1},8,[`id`,`variant`])):(0,l.createCommentVNode)(``,!0),!j.value&&!M.value&&f.helper?((0,l.openBlock)(),(0,l.createBlock)(i.t,{key:4,id:v.value,variant:`helper`,class:`nb-date-picker__message`},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(f.helper),1)]),_:1},8,[`id`])):(0,l.createCommentVNode)(``,!0)],64)):f.variant===`fluid`?((0,l.openBlock)(),(0,l.createBlock)(a.t,{key:1,dir:`row`,gap:f.type===`range`?`sm`:void 0,class:`nb-date-picker__fields`},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)(`div`,{class:(0,l.normalizeClass)([`nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid`,mt.value])},[f.label||t.$slots.label||N.value?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,le,[t.$slots.label?(0,l.renderSlot)(t.$slots,`label`,{key:0}):((0,l.openBlock)(),(0,l.createElementBlock)(`label`,{key:1,for:g.value,class:`nb-date-picker__inner-label`},[(0,l.createTextVNode)((0,l.toDisplayString)(f.label)+` `,1),f.required?((0,l.openBlock)(),(0,l.createElementBlock)(`span`,de,`*`)):(0,l.createCommentVNode)(``,!0)],8,ue)),N.value?((0,l.openBlock)(),(0,l.createBlock)(i.t,{key:2,variant:N.value.variant,"icon-only":``,class:`nb-date-picker__inner-message`},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(N.value.text),1)]),_:1},8,[`variant`])):(0,l.createCommentVNode)(``,!0)])):(0,l.createCommentVNode)(``,!0),(0,l.createElementVNode)(`div`,fe,[(0,l.createElementVNode)(`input`,(0,l.mergeProps)({id:g.value,ref_key:`inputRef`,ref:C},t.$attrs,{type:`text`,class:`nb-date-picker__field`,value:We.value,placeholder:f.placeholder||k.value,disabled:f.disabled,readonly:f.readonly,required:f.required,name:f.name,"aria-invalid":f.error?!0:void 0,onInput:n[2]||=e=>$e(e),onFocus:I,onBlur:L,onKeydown:R}),null,16,pe),f.type===`simple`?(0,l.createCommentVNode)(``,!0):((0,l.openBlock)(),(0,l.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-date-picker__icon`,disabled:f.disabled||f.readonly,tabindex:`-1`,"aria-label":f.modelValue?(0,l.unref)(p).datePickerChangeDate(A(f.modelValue)):(0,l.unref)(p).datePickerChooseDate,onClick:H},[(0,l.createVNode)(e.t,{name:(0,l.unref)(d.regular),size:16},null,8,[`name`])],8,me))])],2),f.type===`range`?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,{key:0,class:(0,l.normalizeClass)([`nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid`,$.value])},[Je.value||M.value?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,he,[(0,l.createElementVNode)(`label`,{for:_.value,class:`nb-date-picker__inner-label`},[(0,l.createTextVNode)((0,l.toDisplayString)(Je.value)+` `,1),f.required?((0,l.openBlock)(),(0,l.createElementBlock)(`span`,_e,`*`)):(0,l.createCommentVNode)(``,!0)],8,ge),M.value?((0,l.openBlock)(),(0,l.createBlock)(i.t,{key:0,variant:M.value.variant,"icon-only":``,class:`nb-date-picker__inner-message`},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(M.value.text),1)]),_:1},8,[`variant`])):(0,l.createCommentVNode)(``,!0)])):(0,l.createCommentVNode)(``,!0),(0,l.createElementVNode)(`div`,ve,[(0,l.createElementVNode)(`input`,{id:_.value,ref_key:`endInputRef`,ref:w,type:`text`,class:`nb-date-picker__field`,value:Ge.value,placeholder:f.endPlaceholder||k.value,disabled:f.disabled,readonly:f.readonly,required:f.required,"aria-invalid":f.endError?!0:void 0,onInput:n[3]||=e=>et(e),onFocus:I,onBlur:L,onKeydown:R},null,40,ye),(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__icon`,disabled:f.disabled||f.readonly,tabindex:`-1`,"aria-label":f.endValue?(0,l.unref)(p).datePickerChangeEndDate(A(f.endValue)):(0,l.unref)(p).datePickerChooseEndDate,onClick:H},[(0,l.createVNode)(e.t,{name:(0,l.unref)(d.regular),size:16},null,8,[`name`])],8,be)])],2)):(0,l.createCommentVNode)(``,!0)]),_:3},8,[`gap`])):(0,l.createCommentVNode)(``,!0)],2),((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:`body`},[b.value&&(0,l.unref)(E)?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,{key:0,ref_key:`scrimRef`,ref:Ve,class:`nb-date-picker__scrim`,"aria-hidden":`true`,onClick:V},null,512)):(0,l.createCommentVNode)(``,!0),b.value?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,(0,l.mergeProps)({key:1,ref_key:`calendarRef`,ref:T,role:`dialog`,"aria-modal":`true`,"aria-label":f.label?(0,l.unref)(p).datePickerDialogFor(f.label):(0,l.unref)(p).datePickerDialog,class:[`nb-date-picker__calendar`,{"nb-date-picker__calendar--sheet":(0,l.unref)(E)}]},(0,l.unref)(Fe),{style:(0,l.unref)(E)?void 0:He.value,onKeydown:nt,onMousedown:n[4]||=(0,l.withModifiers)(()=>{},[`prevent`])}),[(0,l.createElementVNode)(`div`,Se,[(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__cal-nav`,"aria-label":(0,l.unref)(p).datePickerPreviousYear,onClick:ot},[(0,l.createVNode)(e.t,{name:(0,l.unref)(ee.regular),size:16},null,8,[`name`])],8,Ce),(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__cal-nav`,"aria-label":(0,l.unref)(p).datePickerPreviousMonth,onClick:it},[(0,l.createVNode)(e.t,{name:(0,l.unref)(te.regular),size:16},null,8,[`name`])],8,we),(0,l.createElementVNode)(`span`,{id:ze.value,class:`nb-date-picker__cal-title`,"aria-live":`polite`},(0,l.toDisplayString)(ct.value),9,Te),(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__cal-nav`,"aria-label":(0,l.unref)(p).datePickerNextMonth,onClick:at},[(0,l.createVNode)(e.t,{name:(0,l.unref)(u.regular),size:16},null,8,[`name`])],8,Ee),(0,l.createElementVNode)(`button`,{type:`button`,class:`nb-date-picker__cal-nav`,"aria-label":(0,l.unref)(p).datePickerNextYear,onClick:st},[(0,l.createVNode)(e.t,{name:(0,l.unref)(ne.regular),size:16},null,8,[`name`])],8,De)]),(0,l.createElementVNode)(`table`,{role:`grid`,"aria-labelledby":ze.value,class:`nb-date-picker__cal-table`},[(0,l.createElementVNode)(`thead`,null,[(0,l.createElementVNode)(`tr`,ke,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(lt.value,e=>((0,l.openBlock)(),(0,l.createElementBlock)(`th`,{key:e.narrow,scope:`col`,class:`nb-date-picker__cal-weekday`,abbr:e.full},(0,l.toDisplayString)(e.narrow),9,Ae))),128))])]),(0,l.createElementVNode)(`tbody`,null,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(ft.value,(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)(`tr`,{key:t},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,e=>((0,l.openBlock)(),(0,l.createElementBlock)(`td`,{key:e.key,role:`gridcell`,"aria-selected":e.isSelected||void 0,"aria-disabled":e.isDisabled||void 0},[(0,l.createElementVNode)(`button`,{type:`button`,class:(0,l.normalizeClass)([`nb-date-picker__cal-day`,{"nb-date-picker__cal-day--outside":!e.inMonth,"nb-date-picker__cal-day--today":e.isToday,"nb-date-picker__cal-day--selected":e.isSelected,"nb-date-picker__cal-day--in-range":e.inRange,"nb-date-picker__cal-day--range-start":e.isRangeStart,"nb-date-picker__cal-day--range-end":e.isRangeEnd,"nb-date-picker__cal-day--disabled":e.isDisabled,"nb-date-picker__cal-day--focused":e.date===x.value}]),tabindex:e.date===x.value?0:-1,disabled:e.isDisabled,"aria-label":Ue(e.date),"data-date":e.date,onClick:t=>tt(e.date)},(0,l.toDisplayString)(e.day),11,Me)],8,je))),128))]))),128))])],8,Oe)],16,xe)):(0,l.createCommentVNode)(``,!0)]))],64))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|