@nubisco/ui 5.18.1 → 5.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionItem-Cg8wmypl.js → AccordionItem-BrpJObcb.js} +2 -2
- package/dist/{AccordionItem-CCndN0ln.cjs → AccordionItem-DVwcaU3f.cjs} +1 -1
- package/dist/ActionGroup-CUN48Qea.cjs +1 -0
- package/dist/ActionGroup-lEopoloN.js +170 -0
- package/dist/{AiLabel-BxCWEOn-.js → AiLabel-BFrehX_F.js} +1 -1
- package/dist/{AiLabel-D4gkbAEC.cjs → AiLabel-kmL1-Hdo.cjs} +1 -1
- package/dist/{BarChart-DUy6vE_i.js → BarChart-DTStA9jd.js} +4 -4
- package/dist/{BarChart-B3B7wH20.cjs → BarChart-Dvrl4xeX.cjs} +1 -1
- package/dist/{Blueprint-DzzoerbM.js → Blueprint-CB5a7H5o.js} +2 -2
- package/dist/{Blueprint-CnXyZkSE.cjs → Blueprint-DIrWXKml.cjs} +1 -1
- package/dist/{BlueprintCard-2Q1zYWcN.js → BlueprintCard-BmuGjOCn.js} +1 -1
- package/dist/{BlueprintCard-D3Rr5cKO.cjs → BlueprintCard-DhnoClRB.cjs} +1 -1
- package/dist/{BlueprintControls-CuOAdppD.js → BlueprintControls-C0yhBzYT.js} +1 -1
- package/dist/{BlueprintControls-LCIgk-cb.cjs → BlueprintControls-Qtd2vep2.cjs} +1 -1
- package/dist/Board-CDrukIty.js +553 -0
- package/dist/Board-D1BkK3J5.cjs +1 -0
- package/dist/Breadcrumbs-B8eAWAvg.js +48 -0
- package/dist/Breadcrumbs-cTxSMgeW.cjs +1 -0
- package/dist/{Button-BZn2lmMA.cjs → Button-C0UUTgEB.cjs} +1 -1
- package/dist/{Button-BAfC7ySK.js → Button-IcCXOoCT.js} +1 -1
- package/dist/{Checkbox-BkRL6Ops.js → Checkbox-CXlovpPs.js} +2 -2
- package/dist/{Checkbox-D8Curaxc.cjs → Checkbox-CZVNZ2pn.cjs} +1 -1
- package/dist/{CheckboxGroup-Hu-wWRto.js → CheckboxGroup-AQ6XgVPU.js} +3 -3
- package/dist/{CheckboxGroup-fEs9Ye8M.cjs → CheckboxGroup-BuvjRAeC.cjs} +1 -1
- package/dist/{ColorStrip-Doh0adti.cjs → ColorStrip-D4vNVSeW.cjs} +1 -1
- package/dist/{ColorStrip-CcMzeYOw.js → ColorStrip-Dknkw-RX.js} +2 -2
- package/dist/{Confirm-DztLfQzB.js → Confirm-Dh1H2PMh.js} +8 -8
- package/dist/{Confirm-Br9VOB2-.cjs → Confirm-ue689l-w.cjs} +1 -1
- package/dist/DataTable-CWMlmjMi.cjs +1 -0
- package/dist/DataTable-DaNZAixf.js +389 -0
- package/dist/DatePicker-DMiiGKYY.js +715 -0
- package/dist/DatePicker-tAhXSR2o.cjs +1 -0
- package/dist/{FileUploader-OJJIlvmH.js → FileUploader-DC1nE86P.js} +1 -1
- package/dist/{FileUploader-DPIAWehF.cjs → FileUploader-DehZc0gP.cjs} +1 -1
- package/dist/FloatingToolbar-J9ucYTsb.js +140 -0
- package/dist/FloatingToolbar-vWo7YmH3.cjs +1 -0
- package/dist/{Form-j4QMRkL5.js → Form-DJ1Hhwnm.js} +1 -1
- package/dist/{Form-u6XCVBqX.cjs → Form-WtS-IVIs.cjs} +1 -1
- package/dist/{GanttChart-C6uVsNrq.cjs → GanttChart-BJ_6YCza.cjs} +1 -1
- package/dist/{GanttChart-asYYkfjM.js → GanttChart-CwCH8pby.js} +3 -3
- package/dist/{ImageCropper-Bl8BjRur.cjs → ImageCropper-BfGyTTY5.cjs} +1 -1
- package/dist/{ImageCropper-DBjxzZhN.js → ImageCropper-Ds5Zq1J0.js} +2 -2
- package/dist/InfoHint-D35B8g96.cjs +1 -0
- package/dist/{InfoHint-CK96hjMo.js → InfoHint-ieo2S-YE.js} +41 -29
- package/dist/InlineEdit-9E8-8JQr.cjs +1 -0
- package/dist/{InlineEdit-DssyFZM6.js → InlineEdit-BCHxGdSy.js} +58 -25
- package/dist/{InlineLoading-DXsOmC3w.cjs → InlineLoading-B2L_asnZ.cjs} +1 -1
- package/dist/{InlineLoading-LCwTwjyJ.js → InlineLoading-DQzKEw-L.js} +1 -1
- package/dist/{InterpolationChart-w1GgDSDT.cjs → InterpolationChart-BXS1n0dY.cjs} +1 -1
- package/dist/{InterpolationChart-CdbT0AvE.js → InterpolationChart-CSEYS5aB.js} +3 -3
- package/dist/{LineChart-CmBBttxc.cjs → LineChart-C5bQNxQ-.cjs} +1 -1
- package/dist/{LineChart-BgnDKI8u.js → LineChart-DG_ows6r.js} +4 -4
- package/dist/Menu-2Se8F81Q.js +136 -0
- package/dist/Menu-CAZmNx60.cjs +1 -0
- package/dist/{MenuBarItem-H1sFt0Mx.js → MenuBarItem-Cxxs8Dnr.js} +1 -1
- package/dist/{MenuBarItem-42bSEdWZ.cjs → MenuBarItem-dBEuTZ3Q.cjs} +1 -1
- package/dist/{Modal-BvZulLj2.js → Modal-BxSP1eyD.js} +35 -34
- package/dist/Modal-sGlC__uQ.cjs +1 -0
- package/dist/NotificationCenter-BpUiKPsp.cjs +1 -0
- package/dist/NotificationCenter-Br-YtY5w.js +584 -0
- package/dist/{NumberInput-DsjKITeI.cjs → NumberInput-1taaS5G3.cjs} +1 -1
- package/dist/{NumberInput-CrbTiAkP.js → NumberInput-DWf2LMGN.js} +3 -3
- package/dist/{Pagination-JW-O2kLk.js → Pagination-Br-k9zuG.js} +2 -2
- package/dist/{Pagination-Di4RPomA.cjs → Pagination-CCMhqtoz.cjs} +1 -1
- package/dist/{PieChart-CUckdHre.cjs → PieChart-BABG-xXQ.cjs} +1 -1
- package/dist/{PieChart-CpkjCb1W.js → PieChart-CmvfqpXR.js} +3 -3
- package/dist/{ProgressBar-Cn-FnvZR.cjs → ProgressBar-BHKgJ4UK.cjs} +1 -1
- package/dist/{ProgressBar-BF-2nm2N.js → ProgressBar-Blt5BdgQ.js} +2 -2
- package/dist/{Radio-pH924Ch3.js → Radio-DsYitO1Z.js} +3 -3
- package/dist/{Radio-CkFwMQZ-.cjs → Radio-zdXHagRQ.cjs} +1 -1
- package/dist/ReorderList-hHh9XYQY.cjs +1 -0
- package/dist/{ReorderList-DC83oBGi.js → ReorderList-v1aWbXjb.js} +31 -15
- package/dist/{Select-Det8tjo1.cjs → Select-ClkEzw5T.cjs} +1 -1
- package/dist/{Select-dJWuOWN0.js → Select-DIw08nte.js} +3 -3
- package/dist/Shell-CfHe8tIp.js +487 -0
- package/dist/Shell-DrXByQxR.cjs +1 -0
- package/dist/{SidebarCollapseToggle-VOdswrKP.cjs → SidebarCollapseToggle-BOLWB51F.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-pNj344jL.js → SidebarCollapseToggle-IzDpcwPs.js} +2 -2
- package/dist/{Skeleton-3N9uC9k_.js → Skeleton-BLn8a0wV.js} +1 -1
- package/dist/{Skeleton-DEzKdU7W.cjs → Skeleton-lLu_CakO.cjs} +1 -1
- package/dist/{Slider-Clgfp-vI.cjs → Slider-Ca5ru23S.cjs} +1 -1
- package/dist/{Slider-Dxh4sXev.js → Slider-CrhYMw5S.js} +4 -4
- package/dist/{Spinner-DpldXeXq.js → Spinner-C7NYF-Xf.js} +1 -1
- package/dist/{Spinner-Cwlskvjj.cjs → Spinner-UsyGqwVq.cjs} +1 -1
- package/dist/{Stepper-BlRuqNKX.cjs → Stepper-BIWoeqFS.cjs} +1 -1
- package/dist/{Stepper-SLb_qc9m.js → Stepper-CrVuq2Ba.js} +1 -1
- package/dist/{StepperStep-DxQQgCrC.js → StepperStep-CBaZPJV7.js} +4 -4
- package/dist/{StepperStep-DoJ3MUEl.cjs → StepperStep-DCpcJbTJ.cjs} +1 -1
- package/dist/Submenu-BC9j6dvb.cjs +1 -0
- package/dist/Submenu-CnRi1GdL.js +149 -0
- package/dist/{Switch-CI_QKz2n.js → Switch-BiqjLsXd.js} +3 -3
- package/dist/{Switch-BnzV_QMu.cjs → Switch-CA01aJ7b.cjs} +1 -1
- package/dist/{TableOfContents-C6Qnq6aS.cjs → TableOfContents-DCfZ4DYi.cjs} +1 -1
- package/dist/{TableOfContents-DwnnMxv5.js → TableOfContents-EYrBCeci.js} +1 -1
- package/dist/Tabs-CrrG1hvh.cjs +1 -0
- package/dist/Tabs-D3pdOieX.js +180 -0
- package/dist/{TextInput--u9htMqc.cjs → TextInput-BdZPqTzI.cjs} +2 -2
- package/dist/{TextInput-C_i6Miob.js → TextInput-KQGVZCcT.js} +4 -4
- package/dist/{Toaster-sBQX6bee.js → Toaster-B4ce6OBe.js} +1 -1
- package/dist/{Toaster-noCUOlwh.cjs → Toaster-CubmjJ_C.cjs} +1 -1
- package/dist/{Tree-CR_288A-.cjs → Tree-CnaGeX7W.cjs} +1 -1
- package/dist/{Tree-C6rMUOja.js → Tree-E3A0GUIG.js} +1 -1
- package/dist/TreeNode-C2W4uFhP.cjs +1 -0
- package/dist/TreeNode-xv6es6z2.js +176 -0
- package/dist/UserMenu-CVXfSmUQ.cjs +1 -0
- package/dist/UserMenu-E-PhzT3T.js +313 -0
- package/dist/{Walkthrough-vAJctcje.js → Walkthrough-BxwgYRUB.js} +1 -1
- package/dist/{Walkthrough-DRx76ziA.cjs → Walkthrough-Dvyp-4Sr.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +207 -203
- package/dist/component-styles.json +7 -0
- 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 -0
- package/dist/components/ActionGroup.d.ts +64 -0
- package/dist/components/ActionGroup.mjs +2 -0
- package/dist/components/ActionGroup.vue.d.ts +24 -0
- package/dist/components/ActionGroup.vue.d.ts.map +1 -0
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +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/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.d.ts +8 -0
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts +7 -3
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts +12 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +3 -3
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- 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/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +23 -0
- package/dist/components/DataTable.mjs +1 -1
- 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 +1 -1
- 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/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.d.ts +11 -0
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts +1 -0
- 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/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.d.ts +5 -0
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineEdit.vue.d.ts +1 -0
- 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/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.mjs +1 -1
- 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/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +6 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +2 -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/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +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/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +14 -1
- 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/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +4 -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 +1 -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/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.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +1 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +1 -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/usePhoneLayout.composable.cjs +1 -0
- package/dist/composables/usePhoneLayout.composable.d.ts +28 -0
- package/dist/composables/usePhoneLayout.composable.d.ts.map +1 -0
- package/dist/composables/usePhoneLayout.composable.mjs +25 -0
- package/dist/composables/useShellLayout.composable.cjs +1 -0
- package/dist/composables/useShellLayout.composable.d.ts +24 -0
- package/dist/composables/useShellLayout.composable.d.ts.map +1 -0
- package/dist/composables/useShellLayout.composable.mjs +14 -0
- package/dist/composables/useVisualViewportVar.composable.cjs +1 -0
- package/dist/composables/useVisualViewportVar.composable.d.ts +36 -0
- package/dist/composables/useVisualViewportVar.composable.d.ts.map +1 -0
- package/dist/composables/useVisualViewportVar.composable.mjs +30 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +113 -110
- package/dist/{main-DgTv5UiQ.js → main-3k7sSIY5.js} +102 -99
- package/dist/main-DmyKNXAy.cjs +4 -0
- package/dist/main.d.ts +5 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -0
- package/dist/styles/Board.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/ui.css +26 -25
- package/package.json +1 -1
- package/src/styles/logic/_touch.scss +31 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/styles/variables/_breakpoints.scss +36 -0
- package/dist/Board-6D49Yld8.js +0 -524
- package/dist/Board-Cp8XfgZm.cjs +0 -1
- package/dist/Breadcrumbs-BXsbR60g.js +0 -46
- package/dist/Breadcrumbs-CPucjD0z.cjs +0 -1
- package/dist/DataTable-8VaU0T7V.js +0 -358
- package/dist/DataTable-Mq7v4Dyk.cjs +0 -1
- package/dist/DatePicker-Cgnm0ku3.js +0 -704
- package/dist/DatePicker-DytDcACW.cjs +0 -1
- package/dist/FloatingToolbar-DpBbWZL6.cjs +0 -1
- package/dist/FloatingToolbar-_loB4pae.js +0 -134
- package/dist/InfoHint-Cs9-C043.cjs +0 -1
- package/dist/InlineEdit-CR9vOw3i.cjs +0 -1
- package/dist/Menu-CsA8dtMR.js +0 -128
- package/dist/Menu-Xt1MCf-q.cjs +0 -1
- package/dist/Modal-Xa9TIGNi.cjs +0 -1
- package/dist/NotificationCenter-B12PMiat.cjs +0 -1
- package/dist/NotificationCenter-B2kJXtA9.js +0 -569
- package/dist/ReorderList-CigXh_u8.cjs +0 -1
- package/dist/Shell-BzAv4AWb.cjs +0 -1
- package/dist/Shell-COpscGYO.js +0 -448
- package/dist/Submenu-QgPVi2bN.cjs +0 -1
- package/dist/Submenu-SQTJc81U.js +0 -148
- package/dist/Tabs-B5crovQe.cjs +0 -1
- package/dist/Tabs-DRrq4YCX.js +0 -149
- package/dist/TreeNode-CXaEp3-m.js +0 -175
- package/dist/TreeNode-kgKGox1Y.cjs +0 -1
- package/dist/UserMenu-C65Ky9ov.cjs +0 -1
- package/dist/UserMenu-ClcDEyTu.js +0 -301
- package/dist/main-BNXD4cwz.cjs +0 -4
- /package/dist/{Avatar-uYRUtK1R.js → Avatar-B8JS0B-W.js} +0 -0
- /package/dist/{Avatar-CLL3i8dn.cjs → Avatar-C-yA5Rqn.cjs} +0 -0
- /package/dist/{Badge-wDtZdOfk.js → Badge-D3oJVwDo.js} +0 -0
- /package/dist/{Badge-ouVFB318.cjs → Badge-Dkm7PBJ8.cjs} +0 -0
- /package/dist/{Banner-DKMPZuXR.js → Banner-C2DFPW-D.js} +0 -0
- /package/dist/{Banner-CtaMbfyG.cjs → Banner-DXfzpyxc.cjs} +0 -0
- /package/dist/{Blueprint.context-DQAE9pH9.cjs → Blueprint.context-CNt0_OyK.cjs} +0 -0
- /package/dist/{Blueprint.context-C51gyX3c.js → Blueprint.context-Cp__sufg.js} +0 -0
- /package/dist/{BlueprintBackground-CCuLvvq5.cjs → BlueprintBackground-CRbAZfZP.cjs} +0 -0
- /package/dist/{BlueprintBackground-DJhMflIN.js → BlueprintBackground-DqRpS-jP.js} +0 -0
- /package/dist/{BlueprintMinimap-C4hKP0wV.cjs → BlueprintMinimap-Bk6V5xcq.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CUNeYFVd.js → BlueprintMinimap-KRlkpH14.js} +0 -0
- /package/dist/{BottomPanel-BkD7euB4.js → BottomPanel-Bt4k2PJn.js} +0 -0
- /package/dist/{BottomPanel-DvS5Q8c8.cjs → BottomPanel-C1mT0_I0.cjs} +0 -0
- /package/dist/{Calendar-D3ExPJ2t.cjs → Calendar-CI6TG85W.cjs} +0 -0
- /package/dist/{Calendar-DCoZLEcA.js → Calendar-CV-B4qeT.js} +0 -0
- /package/dist/{Card-ChgbYLJP.js → Card-BqIF-svL.js} +0 -0
- /package/dist/{Card-duvlUAg9.cjs → Card-Xmv6oz9a.cjs} +0 -0
- /package/dist/{CardGrid-Desk_vNP.cjs → CardGrid-BbGLqQmb.cjs} +0 -0
- /package/dist/{CardGrid-ChwQuHLa.js → CardGrid-CphjVIvE.js} +0 -0
- /package/dist/{ChartLegend-B_Y9TNfO.js → ChartLegend-BLTbVV2E.js} +0 -0
- /package/dist/{ChartLegend-k-7LH8-7.cjs → ChartLegend-DGgW0yjG.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-DYPnnK72.cjs → CheckboxGroup.context-CBJMSIiT.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BssNljp4.js → CheckboxGroup.context-D-C4RVyg.js} +0 -0
- /package/dist/{CommandPalette-dNJMbapr.cjs → CommandPalette-C56CkOfF.cjs} +0 -0
- /package/dist/{CommandPalette-Bv_AnaSi.js → CommandPalette-CubX_Udj.js} +0 -0
- /package/dist/{DefinitionList-C5cqvaLy.cjs → DefinitionList-CSBl-Ogy.cjs} +0 -0
- /package/dist/{DefinitionList-fmy6J4Re.js → DefinitionList-MsqB9Lxo.js} +0 -0
- /package/dist/{DefinitionListItem-CJK5RkIw.js → DefinitionListItem-Ddz2wLyc.js} +0 -0
- /package/dist/{DefinitionListItem-CWqjObrZ.cjs → DefinitionListItem-DnphEEw1.cjs} +0 -0
- /package/dist/{DragHandle-CoJEyCLX.cjs → DragHandle-B_rMbMxm.cjs} +0 -0
- /package/dist/{DragHandle-DDJ1Hsmo.js → DragHandle-D9NnsyJc.js} +0 -0
- /package/dist/{EmptyState-xU5I0laM.js → EmptyState-B6pEj4jk.js} +0 -0
- /package/dist/{EmptyState-u1iAtZUB.cjs → EmptyState-DRbjP890.cjs} +0 -0
- /package/dist/{Field-CfktrvRe.cjs → Field-BZ2cHQlw.cjs} +0 -0
- /package/dist/{Field-D7ImyCWp.js → Field-tNwOATAd.js} +0 -0
- /package/dist/{Flag-k-Aakupd.js → Flag-C4SjTXTD.js} +0 -0
- /package/dist/{Flag-Pk2LFD1t.cjs → Flag-DFg5FTus.cjs} +0 -0
- /package/dist/{Grid-HifmWSUS.cjs → Grid-DiCxrPaO.cjs} +0 -0
- /package/dist/{Grid-DA2jibMM.js → Grid-iox-7xyH.js} +0 -0
- /package/dist/{JsonTree-BLgpxnrT.js → JsonTree-Do_bunoq.js} +0 -0
- /package/dist/{JsonTree-DGzMCcSN.cjs → JsonTree-DygODsNE.cjs} +0 -0
- /package/dist/{Label-BIM21I7D.cjs → Label-CZhQEyoi.cjs} +0 -0
- /package/dist/{Label-CiWiUQ_H.js → Label-DGK5nxFy.js} +0 -0
- /package/dist/{Layer-B47tXgJm.js → Layer-CPWK7fSy.js} +0 -0
- /package/dist/{Layer-Csk6CZPD.cjs → Layer-Dn8JBO94.cjs} +0 -0
- /package/dist/{MenuBar-cNc__THT.cjs → MenuBar-Cmty676_.cjs} +0 -0
- /package/dist/{MenuBar-CdBcgokD.js → MenuBar-DgoQm2e6.js} +0 -0
- /package/dist/{MenuDivider-DEy1DSW1.js → MenuDivider-Clt77czV.js} +0 -0
- /package/dist/{MenuDivider-GuRZ5Dek.cjs → MenuDivider-SpMk4am3.cjs} +0 -0
- /package/dist/{MenuItem-BKjhq9o2.js → MenuItem-BDLX2QWw.js} +0 -0
- /package/dist/{MenuItem-B-Q5sVlO.cjs → MenuItem-ZQcFYe4m.cjs} +0 -0
- /package/dist/{Message-DjxOb8mu.cjs → Message-C44ftsaT.cjs} +0 -0
- /package/dist/{Message-SQvoXiWl.js → Message-CHkTWe0K.js} +0 -0
- /package/dist/{NotificationCenterItem-pWiBpKMc.cjs → NotificationCenterItem-BP0VBTaB.cjs} +0 -0
- /package/dist/{NotificationCenterItem-yqlKqwI2.js → NotificationCenterItem-CjJh9W_a.js} +0 -0
- /package/dist/{NubiscoMark-BN6bzMMG.cjs → NubiscoMark-BumRk78m.cjs} +0 -0
- /package/dist/{NubiscoMark-Bj6eID79.js → NubiscoMark-eVqSGOjI.js} +0 -0
- /package/dist/{NubiscoPlatformMark-C0OeymWK.js → NubiscoPlatformMark-Ch6dCICn.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CE-poDEU.cjs → NubiscoPlatformMark-IX-E5QQ_.cjs} +0 -0
- /package/dist/{Panel-PtasWgYu.cjs → Panel-Cd29GNxw.cjs} +0 -0
- /package/dist/{Panel-MK5IWy0W.js → Panel-Y8gOQKuw.js} +0 -0
- /package/dist/{ShellPanel-f75v2_V2.js → ShellPanel-BA7QLnzE.js} +0 -0
- /package/dist/{ShellPanel-DzMmoG81.cjs → ShellPanel-CC_QJlLu.cjs} +0 -0
- /package/dist/{SidebarBrand-B3hJvpkF.js → SidebarBrand-8yDIYIQZ.js} +0 -0
- /package/dist/{SidebarBrand-CHxEUgzI.cjs → SidebarBrand-u8Oau9DK.cjs} +0 -0
- /package/dist/{SidebarLink-QG3kJ2EO.js → SidebarLink-XVXCHDBm.js} +0 -0
- /package/dist/{SidebarLink-B_5TV_Y_.cjs → SidebarLink-pgjUnWzl.cjs} +0 -0
- /package/dist/{SidebarMenu-CHra29Qu.cjs → SidebarMenu-CA0y5Zle.cjs} +0 -0
- /package/dist/{SidebarMenu-B4oKxxC9.js → SidebarMenu-e0qP4Nh-.js} +0 -0
- /package/dist/{SidebarMenuGroup-D4zw60k-.js → SidebarMenuGroup-CGnMAAUM.js} +0 -0
- /package/dist/{SidebarMenuGroup-D3-id6rV.cjs → SidebarMenuGroup-VQLxJ1CS.cjs} +0 -0
- /package/dist/{SidebarMenuItem-rDAFayv3.cjs → SidebarMenuItem-CqDbzAAk.cjs} +0 -0
- /package/dist/{SidebarMenuItem-DKfynXs8.js → SidebarMenuItem-DwBLBW-N.js} +0 -0
- /package/dist/{Sparkline-C__UzqcW.js → Sparkline-Bbt4vFjI.js} +0 -0
- /package/dist/{Sparkline-hfnHBqr_.cjs → Sparkline-CdLiYBEr.cjs} +0 -0
- /package/dist/{Stepper.context-DtdxFiTP.js → Stepper.context-BgQfa8xl.js} +0 -0
- /package/dist/{Stepper.context-OTxRDrqb.cjs → Stepper.context-DBNE-GYb.cjs} +0 -0
- /package/dist/{Toast-DdjLfZW7.cjs → Toast-XjSCXTx8.cjs} +0 -0
- /package/dist/{Toast-C7ZcSqjz.js → Toast-q9KByfYq.js} +0 -0
- /package/dist/{TreeContext-CN8Jmm3J.js → TreeContext-BN1eHAL6.js} +0 -0
- /package/dist/{TreeContext-CRgX277A.cjs → TreeContext-PgcV87_V.cjs} +0 -0
- /package/dist/{Wireframe-yxCSPLE-.cjs → Wireframe-DDRVqrll.cjs} +0 -0
- /package/dist/{Wireframe-Lb8viOfl.js → Wireframe-ql6EOtd2.js} +0 -0
- /package/dist/{palette-CP7R55wd.cjs → palette-Cy2_8mLH.cjs} +0 -0
- /package/dist/{palette-BVXsOJol.js → palette-StNyj_sM.js} +0 -0
- /package/dist/{pixi-scene-CjZJN5UI.js → pixi-scene-CuO3As43.js} +0 -0
- /package/dist/{pixi-scene-Be5EU7HP.cjs → pixi-scene-DE1dBR9n.cjs} +0 -0
- /package/dist/{scales-DJ_hCmZX.cjs → scales-4WxjhxBm.cjs} +0 -0
- /package/dist/{scales-CsGzsNm7.js → scales-DlFF1BRk.js} +0 -0
- /package/dist/{useChartSize-DGUae61E.cjs → useChartSize-C-BIN0vc.cjs} +0 -0
- /package/dist/{useChartSize-6K6L_Xnm.js → useChartSize-UdZSuP3G.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-TdYpHGvK.js → useLoadingAnnouncer.composable-C7FA-Ui1.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DeoNGDYL.cjs → useLoadingAnnouncer.composable-DMycMLn-.cjs} +0 -0
- /package/dist/{vue-i18n-CkVGSKx4.js → vue-i18n-B2FDvjI1.js} +0 -0
- /package/dist/{vue-i18n-Bhwom92P.cjs → vue-i18n-D3Ga_miE.cjs} +0 -0
|
@@ -1,704 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-rREAqsu0.js";
|
|
2
|
-
import { useSurfaceLayer as t } from "./composables/useSurfaceLayer.composable.mjs";
|
|
3
|
-
import { t as n } from "./Label-CiWiUQ_H.js";
|
|
4
|
-
import { t as r } from "./Message-SQvoXiWl.js";
|
|
5
|
-
import { t as i } from "./Grid-DA2jibMM.js";
|
|
6
|
-
import { useMenuSurface as a } from "./composables/useMenuSurface.composable.mjs";
|
|
7
|
-
import { Fragment as o, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeProps as ee, nextTick as g, normalizeClass as _, onBeforeUnmount as te, openBlock as v, ref as y, renderList as ne, renderSlot as re, toDisplayString as b, unref as x, useId as ie, watch as ae, withCtx as S, withModifiers as oe } from "vue";
|
|
8
|
-
import { regular as se } from "@nubisco/ui/icons/caret-right";
|
|
9
|
-
import { regular as C } from "@nubisco/ui/icons/calendar";
|
|
10
|
-
import { regular as ce } from "@nubisco/ui/icons/caret-double-left";
|
|
11
|
-
import { regular as le } from "@nubisco/ui/icons/caret-left";
|
|
12
|
-
import { regular as ue } from "@nubisco/ui/icons/caret-double-right";
|
|
13
|
-
//#region src/components/DatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var de = { class: "nb-date-picker__col" }, fe = [
|
|
15
|
-
"id",
|
|
16
|
-
"value",
|
|
17
|
-
"placeholder",
|
|
18
|
-
"disabled",
|
|
19
|
-
"readonly",
|
|
20
|
-
"required",
|
|
21
|
-
"name",
|
|
22
|
-
"aria-invalid",
|
|
23
|
-
"aria-describedby"
|
|
24
|
-
], pe = ["disabled", "aria-label"], me = {
|
|
25
|
-
key: 0,
|
|
26
|
-
class: "nb-date-picker__col"
|
|
27
|
-
}, he = [
|
|
28
|
-
"id",
|
|
29
|
-
"value",
|
|
30
|
-
"placeholder",
|
|
31
|
-
"disabled",
|
|
32
|
-
"readonly",
|
|
33
|
-
"required",
|
|
34
|
-
"aria-invalid",
|
|
35
|
-
"aria-describedby"
|
|
36
|
-
], ge = ["disabled", "aria-label"], _e = {
|
|
37
|
-
key: 0,
|
|
38
|
-
class: "nb-date-picker__inner-header"
|
|
39
|
-
}, ve = ["for"], ye = {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: "nb-date-picker__asterisk",
|
|
42
|
-
"aria-hidden": "true"
|
|
43
|
-
}, be = { class: "nb-date-picker__fluid-row" }, xe = [
|
|
44
|
-
"id",
|
|
45
|
-
"value",
|
|
46
|
-
"placeholder",
|
|
47
|
-
"disabled",
|
|
48
|
-
"readonly",
|
|
49
|
-
"required",
|
|
50
|
-
"name",
|
|
51
|
-
"aria-invalid"
|
|
52
|
-
], Se = ["disabled", "aria-label"], Ce = {
|
|
53
|
-
key: 0,
|
|
54
|
-
class: "nb-date-picker__inner-header"
|
|
55
|
-
}, we = ["for"], Te = {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: "nb-date-picker__asterisk",
|
|
58
|
-
"aria-hidden": "true"
|
|
59
|
-
}, Ee = { class: "nb-date-picker__fluid-row" }, De = [
|
|
60
|
-
"id",
|
|
61
|
-
"value",
|
|
62
|
-
"placeholder",
|
|
63
|
-
"disabled",
|
|
64
|
-
"readonly",
|
|
65
|
-
"required",
|
|
66
|
-
"aria-invalid"
|
|
67
|
-
], Oe = ["disabled", "aria-label"], ke = ["aria-label"], Ae = { class: "nb-date-picker__cal-header" }, je = ["id"], Me = ["aria-labelledby"], Ne = { class: "nb-date-picker__cal-weekdays" }, Pe = ["abbr"], Fe = ["aria-selected", "aria-disabled"], Ie = [
|
|
68
|
-
"tabindex",
|
|
69
|
-
"disabled",
|
|
70
|
-
"aria-label",
|
|
71
|
-
"data-date",
|
|
72
|
-
"onClick"
|
|
73
|
-
], Le = /* @__PURE__ */ h({
|
|
74
|
-
inheritAttrs: !1,
|
|
75
|
-
__name: "DatePicker",
|
|
76
|
-
props: {
|
|
77
|
-
modelValue: { default: null },
|
|
78
|
-
type: { default: "single" },
|
|
79
|
-
endValue: { default: null },
|
|
80
|
-
min: { default: void 0 },
|
|
81
|
-
max: { default: void 0 },
|
|
82
|
-
weekStart: { default: 1 },
|
|
83
|
-
locale: { default: void 0 },
|
|
84
|
-
endPlaceholder: { default: "" },
|
|
85
|
-
endLabel: { default: "" },
|
|
86
|
-
endError: { default: "" },
|
|
87
|
-
endWarning: { default: "" },
|
|
88
|
-
disabledDates: {
|
|
89
|
-
type: [Array, Function],
|
|
90
|
-
default: void 0
|
|
91
|
-
},
|
|
92
|
-
readonly: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !1
|
|
95
|
-
},
|
|
96
|
-
placeholder: { default: "" },
|
|
97
|
-
name: { default: "" },
|
|
98
|
-
disabled: {
|
|
99
|
-
type: Boolean,
|
|
100
|
-
default: !1
|
|
101
|
-
},
|
|
102
|
-
required: {
|
|
103
|
-
type: Boolean,
|
|
104
|
-
default: !1
|
|
105
|
-
},
|
|
106
|
-
id: { default: void 0 },
|
|
107
|
-
label: { default: "" },
|
|
108
|
-
error: { default: "" },
|
|
109
|
-
warning: { default: "" },
|
|
110
|
-
helper: { default: "" },
|
|
111
|
-
variant: { default: "default" },
|
|
112
|
-
size: { default: "md" }
|
|
113
|
-
},
|
|
114
|
-
emits: [
|
|
115
|
-
"update:modelValue",
|
|
116
|
-
"update:endValue",
|
|
117
|
-
"change"
|
|
118
|
-
],
|
|
119
|
-
setup(h, { expose: Le, emit: Re }) {
|
|
120
|
-
let w = h, { layerProps: ze } = t({ overlay: !0 }), T = Re, Be = `nb-date-picker-${ie()}`, E = c(() => w.id ?? Be), Ve = c(() => `${E.value}-end`), He = c(() => `${E.value}-helper`), Ue = c(() => `${E.value}-message`), We = c(() => `${E.value}-end-message`), Ge = c(() => `${E.value}-cal-title`), D = y(null), Ke = c(() => D.value !== null), O = y(!1), k = y($(/* @__PURE__ */ new Date())), qe = y(null), A = y(null), j = y(null), M = y(null);
|
|
121
|
-
a(M);
|
|
122
|
-
let Je = y({
|
|
123
|
-
position: "fixed",
|
|
124
|
-
top: "0px",
|
|
125
|
-
left: "0px",
|
|
126
|
-
zIndex: "9999"
|
|
127
|
-
}), N = y("start"), P = c(() => w.locale || navigator.language || "pt-PT"), F = c(() => new Intl.DateTimeFormat(P.value).formatToParts(new Date(2e3, 0, 15)).map((e) => e.type === "day" ? "dd" : e.type === "month" ? "mm" : e.type === "year" ? "yyyy" : e.value).join(""));
|
|
128
|
-
function I(e) {
|
|
129
|
-
if (!e) return "";
|
|
130
|
-
let t = /* @__PURE__ */ new Date(e + "T00:00:00");
|
|
131
|
-
return isNaN(t.getTime()) ? e : t.toLocaleDateString(P.value);
|
|
132
|
-
}
|
|
133
|
-
function Ye(e) {
|
|
134
|
-
return (/* @__PURE__ */ new Date(e + "T00:00:00")).toLocaleDateString(P.value, {
|
|
135
|
-
weekday: "long",
|
|
136
|
-
year: "numeric",
|
|
137
|
-
month: "long",
|
|
138
|
-
day: "numeric"
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
let Xe = c(() => I(w.modelValue ?? null)), Ze = c(() => I(w.endValue ?? null)), L = c(() => w.error ? {
|
|
142
|
-
variant: "error",
|
|
143
|
-
text: w.error
|
|
144
|
-
} : w.warning ? {
|
|
145
|
-
variant: "warning",
|
|
146
|
-
text: w.warning
|
|
147
|
-
} : null), R = c(() => w.type === "range" ? w.endError ? {
|
|
148
|
-
variant: "error",
|
|
149
|
-
text: w.endError
|
|
150
|
-
} : w.endWarning ? {
|
|
151
|
-
variant: "warning",
|
|
152
|
-
text: w.endWarning
|
|
153
|
-
} : null : null), z = c(() => L.value ? L.value : w.helper ? {
|
|
154
|
-
variant: "helper",
|
|
155
|
-
text: w.helper
|
|
156
|
-
} : null), Qe = c(() => {
|
|
157
|
-
if (w.variant === "default") return L.value ? Ue.value : w.helper ? He.value : void 0;
|
|
158
|
-
}), $e = c(() => {
|
|
159
|
-
if (w.variant === "default") return R.value ? We.value : w.helper ? He.value : void 0;
|
|
160
|
-
}), et = c(() => w.type === "range" && !!w.endLabel), tt = c(() => w.endLabel || w.endPlaceholder);
|
|
161
|
-
function B(e) {
|
|
162
|
-
return w.min != null && e < w.min || w.max != null && e > w.max ? !0 : w.disabledDates ? typeof w.disabledDates == "function" ? w.disabledDates(e) : w.disabledDates.includes(e) : !1;
|
|
163
|
-
}
|
|
164
|
-
function nt(e) {
|
|
165
|
-
let t = e.trim();
|
|
166
|
-
if (!t) return null;
|
|
167
|
-
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) {
|
|
168
|
-
let e = /* @__PURE__ */ new Date(t + "T00:00:00");
|
|
169
|
-
return isNaN(e.getTime()) ? null : t;
|
|
170
|
-
}
|
|
171
|
-
let n = new Date(t);
|
|
172
|
-
return isNaN(n.getTime()) ? null : $(n);
|
|
173
|
-
}
|
|
174
|
-
function rt(e) {
|
|
175
|
-
let t = e.target.value, n = nt(t);
|
|
176
|
-
n && B(n) || (n || t === "") && (T("update:modelValue", n), T("change", n));
|
|
177
|
-
}
|
|
178
|
-
function it(e) {
|
|
179
|
-
let t = e.target.value, n = nt(t);
|
|
180
|
-
n && B(n) || (n || t === "") && T("update:endValue", n);
|
|
181
|
-
}
|
|
182
|
-
function V(e) {
|
|
183
|
-
D.value = e.target === j.value ? "end" : "start", w.type !== "simple" && !w.readonly && (N.value = D.value, O.value ? at() : W());
|
|
184
|
-
}
|
|
185
|
-
function H() {
|
|
186
|
-
D.value = null;
|
|
187
|
-
}
|
|
188
|
-
function U(e) {
|
|
189
|
-
if (!(w.type === "simple" || w.readonly)) switch (e.key) {
|
|
190
|
-
case "Escape":
|
|
191
|
-
O.value && (G(), e.preventDefault());
|
|
192
|
-
break;
|
|
193
|
-
case "ArrowDown":
|
|
194
|
-
e.preventDefault(), O.value || W(), g(q);
|
|
195
|
-
break;
|
|
196
|
-
case "Enter":
|
|
197
|
-
O.value || (e.preventDefault(), W(), g(q));
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
function at() {
|
|
202
|
-
let e = qe.value?.querySelectorAll(".nb-date-picker__input-wrapper");
|
|
203
|
-
if (!e?.length) return;
|
|
204
|
-
let t = (N.value === "end" && e.length > 1 ? e[1] : e[0]).getBoundingClientRect();
|
|
205
|
-
Je.value = {
|
|
206
|
-
position: "fixed",
|
|
207
|
-
top: `${t.bottom + 4}px`,
|
|
208
|
-
left: `${t.left}px`,
|
|
209
|
-
zIndex: "9999"
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
function W() {
|
|
213
|
-
if (w.disabled || w.readonly || w.type === "simple" || O.value) return;
|
|
214
|
-
O.value = !0;
|
|
215
|
-
let e = N.value === "end" && w.endValue ? w.endValue : w.modelValue, t = e ? /* @__PURE__ */ new Date(e + "T00:00:00") : /* @__PURE__ */ new Date();
|
|
216
|
-
Z.value = t.getFullYear(), Q.value = t.getMonth(), k.value = e || $(/* @__PURE__ */ new Date()), at();
|
|
217
|
-
}
|
|
218
|
-
function G() {
|
|
219
|
-
O.value && (O.value = !1, g(() => {
|
|
220
|
-
N.value === "end" && j.value ? j.value.focus() : A.value?.focus();
|
|
221
|
-
}));
|
|
222
|
-
}
|
|
223
|
-
function K() {
|
|
224
|
-
O.value ? G() : (N.value = "start", W(), g(q));
|
|
225
|
-
}
|
|
226
|
-
function q() {
|
|
227
|
-
g(() => {
|
|
228
|
-
(M.value?.querySelector(`[data-date="${k.value}"]`))?.focus();
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
function ot(e) {
|
|
232
|
-
B(e) || (w.type === "range" ? N.value === "start" ? (T("update:modelValue", e), T("change", e), N.value = "end", k.value = e, g(() => j.value?.focus())) : (w.modelValue && e < w.modelValue ? (T("update:endValue", w.modelValue), T("update:modelValue", e), T("change", e)) : T("update:endValue", e), G()) : (T("update:modelValue", e), T("change", e), G()));
|
|
233
|
-
}
|
|
234
|
-
function st(e) {
|
|
235
|
-
let t = /* @__PURE__ */ new Date(k.value + "T00:00:00"), n = !0;
|
|
236
|
-
switch (e.key) {
|
|
237
|
-
case "ArrowRight":
|
|
238
|
-
J(t, 1);
|
|
239
|
-
break;
|
|
240
|
-
case "ArrowLeft":
|
|
241
|
-
J(t, -1);
|
|
242
|
-
break;
|
|
243
|
-
case "ArrowDown":
|
|
244
|
-
J(t, 7);
|
|
245
|
-
break;
|
|
246
|
-
case "ArrowUp":
|
|
247
|
-
J(t, -7);
|
|
248
|
-
break;
|
|
249
|
-
case "Home":
|
|
250
|
-
ct(t, "start");
|
|
251
|
-
break;
|
|
252
|
-
case "End":
|
|
253
|
-
ct(t, "end");
|
|
254
|
-
break;
|
|
255
|
-
case "PageUp":
|
|
256
|
-
e.shiftKey ? Y(t, -12) : Y(t, -1);
|
|
257
|
-
break;
|
|
258
|
-
case "PageDown":
|
|
259
|
-
e.shiftKey ? Y(t, 12) : Y(t, 1);
|
|
260
|
-
break;
|
|
261
|
-
case "Enter":
|
|
262
|
-
case " ":
|
|
263
|
-
e.preventDefault(), ot(k.value);
|
|
264
|
-
return;
|
|
265
|
-
case "Escape":
|
|
266
|
-
G();
|
|
267
|
-
break;
|
|
268
|
-
case "Tab":
|
|
269
|
-
G();
|
|
270
|
-
return;
|
|
271
|
-
default: n = !1;
|
|
272
|
-
}
|
|
273
|
-
n && e.preventDefault();
|
|
274
|
-
}
|
|
275
|
-
function J(e, t) {
|
|
276
|
-
let n = new Date(e);
|
|
277
|
-
n.setDate(n.getDate() + t), lt(n);
|
|
278
|
-
}
|
|
279
|
-
function ct(e, t) {
|
|
280
|
-
let n = e.getDay();
|
|
281
|
-
w.weekStart === 1 && (n = n === 0 ? 6 : n - 1);
|
|
282
|
-
let r = t === "start" ? -n : 6 - n, i = new Date(e);
|
|
283
|
-
i.setDate(i.getDate() + r), lt(i);
|
|
284
|
-
}
|
|
285
|
-
function Y(e, t) {
|
|
286
|
-
let n = new Date(e);
|
|
287
|
-
n.setMonth(n.getMonth() + t), n.getDate() !== e.getDate() && n.setDate(0), lt(n);
|
|
288
|
-
}
|
|
289
|
-
function lt(e) {
|
|
290
|
-
let t = $(e);
|
|
291
|
-
w.min != null && t < w.min || w.max != null && t > w.max || (k.value = t, Z.value = e.getFullYear(), Q.value = e.getMonth(), q());
|
|
292
|
-
}
|
|
293
|
-
function ut(e) {
|
|
294
|
-
let t = e.target, n = qe.value?.contains(t) ?? !1, r = M.value?.contains(t) ?? !1;
|
|
295
|
-
!n && !r && G();
|
|
296
|
-
}
|
|
297
|
-
function X() {
|
|
298
|
-
O.value && at();
|
|
299
|
-
}
|
|
300
|
-
ae(O, (e) => {
|
|
301
|
-
e ? (document.addEventListener("mousedown", ut), window.addEventListener("scroll", X, !0), window.addEventListener("resize", X)) : (document.removeEventListener("mousedown", ut), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X));
|
|
302
|
-
}), te(() => {
|
|
303
|
-
document.removeEventListener("mousedown", ut), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X);
|
|
304
|
-
});
|
|
305
|
-
let Z = y((/* @__PURE__ */ new Date()).getFullYear()), Q = y((/* @__PURE__ */ new Date()).getMonth());
|
|
306
|
-
function dt(e) {
|
|
307
|
-
let t = Z.value * 12 + Q.value + e;
|
|
308
|
-
Z.value = Math.floor(t / 12), Q.value = (t % 12 + 12) % 12;
|
|
309
|
-
let n = (/* @__PURE__ */ new Date(k.value + "T00:00:00")).getDate(), r = new Date(Z.value, Q.value + 1, 0).getDate();
|
|
310
|
-
k.value = $(new Date(Z.value, Q.value, Math.min(n, r))), q();
|
|
311
|
-
}
|
|
312
|
-
let ft = () => dt(-1), pt = () => dt(1), mt = () => dt(-12), ht = () => dt(12), gt = c(() => {
|
|
313
|
-
let e = new Date(Z.value, Q.value, 1).toLocaleDateString(P.value, {
|
|
314
|
-
month: "long",
|
|
315
|
-
year: "numeric"
|
|
316
|
-
});
|
|
317
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
318
|
-
}), _t = c(() => {
|
|
319
|
-
let e = [], t = new Date(2024, 0, w.weekStart === 0 ? 7 : 1);
|
|
320
|
-
for (let n = 0; n < 7; n++) {
|
|
321
|
-
let r = new Date(t);
|
|
322
|
-
r.setDate(t.getDate() + n);
|
|
323
|
-
let i = r.toLocaleDateString(P.value, { weekday: "narrow" }).toUpperCase(), a = r.toLocaleDateString(P.value, { weekday: "long" });
|
|
324
|
-
e.push({
|
|
325
|
-
narrow: i,
|
|
326
|
-
full: a.charAt(0).toUpperCase() + a.slice(1)
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
return e;
|
|
330
|
-
});
|
|
331
|
-
function $(e) {
|
|
332
|
-
return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
|
|
333
|
-
}
|
|
334
|
-
let vt = c(() => $(/* @__PURE__ */ new Date())), yt = c(() => {
|
|
335
|
-
let e = Z.value, t = Q.value, n = new Date(e, t, 1), r = new Date(e, t + 1, 0), i = n.getDay();
|
|
336
|
-
w.weekStart === 1 && (i = i === 0 ? 6 : i - 1);
|
|
337
|
-
let a = [], o = w.modelValue ?? null, s = w.endValue ?? null, c = o && s ? o < s ? o : s : null, l = o && s ? o < s ? s : o : null;
|
|
338
|
-
function u(e, t) {
|
|
339
|
-
let n = $(e);
|
|
340
|
-
return {
|
|
341
|
-
key: n,
|
|
342
|
-
date: n,
|
|
343
|
-
day: e.getDate(),
|
|
344
|
-
inMonth: t,
|
|
345
|
-
isToday: n === vt.value,
|
|
346
|
-
isSelected: n === o || n === s,
|
|
347
|
-
inRange: c != null && l != null && n > c && n < l,
|
|
348
|
-
isRangeStart: n === c && l != null,
|
|
349
|
-
isRangeEnd: n === l && c != null,
|
|
350
|
-
isDisabled: B(n)
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
for (let n = i - 1; n >= 0; n--) a.push(u(new Date(e, t, -n), !1));
|
|
354
|
-
for (let n = 1; n <= r.getDate(); n++) a.push(u(new Date(e, t, n), !0));
|
|
355
|
-
let d = 7 - a.length % 7;
|
|
356
|
-
if (d < 7) for (let n = 1; n <= d; n++) a.push(u(new Date(e, t + 1, n), !1));
|
|
357
|
-
return a;
|
|
358
|
-
}), bt = c(() => {
|
|
359
|
-
let e = [];
|
|
360
|
-
for (let t = 0; t < yt.value.length; t += 7) e.push(yt.value.slice(t, t + 7));
|
|
361
|
-
return e;
|
|
362
|
-
}), xt = c(() => [
|
|
363
|
-
"nb-date-picker",
|
|
364
|
-
`nb-date-picker--${w.variant}`,
|
|
365
|
-
`nb-date-picker--${w.size}`,
|
|
366
|
-
`nb-date-picker--${w.type}`,
|
|
367
|
-
{
|
|
368
|
-
"nb-date-picker--focused": Ke.value,
|
|
369
|
-
"nb-date-picker--open": O.value,
|
|
370
|
-
"nb-date-picker--error": !!w.error || !!w.endError,
|
|
371
|
-
"nb-date-picker--warning": !w.error && !w.endError && (!!w.warning || !!w.endWarning),
|
|
372
|
-
"nb-date-picker--disabled": w.disabled,
|
|
373
|
-
"nb-date-picker--readonly": w.readonly
|
|
374
|
-
}
|
|
375
|
-
]), St = c(() => ({
|
|
376
|
-
"nb-date-picker__input-wrapper--focused": D.value === "start",
|
|
377
|
-
"nb-date-picker__input-wrapper--error": !!w.error,
|
|
378
|
-
"nb-date-picker__input-wrapper--warning": !w.error && !!w.warning,
|
|
379
|
-
"nb-date-picker__input-wrapper--disabled": w.disabled,
|
|
380
|
-
"nb-date-picker__input-wrapper--readonly": w.readonly
|
|
381
|
-
})), Ct = c(() => ({
|
|
382
|
-
"nb-date-picker__input-wrapper--focused": D.value === "end",
|
|
383
|
-
"nb-date-picker__input-wrapper--error": !!w.endError,
|
|
384
|
-
"nb-date-picker__input-wrapper--warning": !w.endError && !!w.endWarning,
|
|
385
|
-
"nb-date-picker__input-wrapper--disabled": w.disabled,
|
|
386
|
-
"nb-date-picker__input-wrapper--readonly": w.readonly
|
|
387
|
-
}));
|
|
388
|
-
return Le({
|
|
389
|
-
open: W,
|
|
390
|
-
close: G,
|
|
391
|
-
focus: () => A.value?.focus()
|
|
392
|
-
}), (t, a) => (v(), d(o, null, [f("div", {
|
|
393
|
-
ref_key: "rootRef",
|
|
394
|
-
ref: qe,
|
|
395
|
-
class: _(xt.value)
|
|
396
|
-
}, [h.variant === "default" ? (v(), d(o, { key: 0 }, [
|
|
397
|
-
t.$slots.label ? re(t.$slots, "label", { key: 0 }) : h.label && !et.value ? (v(), l(n, {
|
|
398
|
-
key: 1,
|
|
399
|
-
for: E.value,
|
|
400
|
-
required: h.required,
|
|
401
|
-
disabled: h.disabled
|
|
402
|
-
}, {
|
|
403
|
-
default: S(() => [p(b(h.label), 1)]),
|
|
404
|
-
_: 1
|
|
405
|
-
}, 8, [
|
|
406
|
-
"for",
|
|
407
|
-
"required",
|
|
408
|
-
"disabled"
|
|
409
|
-
])) : u("", !0),
|
|
410
|
-
m(i, {
|
|
411
|
-
dir: "row",
|
|
412
|
-
gap: h.type === "range" ? "sm" : void 0,
|
|
413
|
-
class: "nb-date-picker__fields"
|
|
414
|
-
}, {
|
|
415
|
-
default: S(() => [f("div", de, [et.value && h.label ? (v(), l(n, {
|
|
416
|
-
key: 0,
|
|
417
|
-
for: E.value,
|
|
418
|
-
required: h.required,
|
|
419
|
-
disabled: h.disabled
|
|
420
|
-
}, {
|
|
421
|
-
default: S(() => [p(b(h.label), 1)]),
|
|
422
|
-
_: 1
|
|
423
|
-
}, 8, [
|
|
424
|
-
"for",
|
|
425
|
-
"required",
|
|
426
|
-
"disabled"
|
|
427
|
-
])) : u("", !0), f("div", { class: _(["nb-date-picker__input-wrapper", St.value]) }, [f("input", ee({
|
|
428
|
-
id: E.value,
|
|
429
|
-
ref_key: "inputRef",
|
|
430
|
-
ref: A
|
|
431
|
-
}, t.$attrs, {
|
|
432
|
-
type: "text",
|
|
433
|
-
class: "nb-date-picker__field",
|
|
434
|
-
value: Xe.value,
|
|
435
|
-
placeholder: h.placeholder || F.value,
|
|
436
|
-
disabled: h.disabled,
|
|
437
|
-
readonly: h.readonly,
|
|
438
|
-
required: h.required,
|
|
439
|
-
name: h.name,
|
|
440
|
-
"aria-invalid": h.error ? !0 : void 0,
|
|
441
|
-
"aria-describedby": Qe.value,
|
|
442
|
-
onInput: a[0] ||= (e) => rt(e),
|
|
443
|
-
onFocus: V,
|
|
444
|
-
onBlur: H,
|
|
445
|
-
onKeydown: U
|
|
446
|
-
}), null, 16, fe), h.type === "simple" ? u("", !0) : (v(), d("button", {
|
|
447
|
-
key: 0,
|
|
448
|
-
type: "button",
|
|
449
|
-
class: "nb-date-picker__icon",
|
|
450
|
-
disabled: h.disabled || h.readonly,
|
|
451
|
-
tabindex: "-1",
|
|
452
|
-
"aria-label": h.modelValue ? `Change date, ${I(h.modelValue)}` : "Choose date",
|
|
453
|
-
onClick: K
|
|
454
|
-
}, [m(e, {
|
|
455
|
-
name: x(C),
|
|
456
|
-
size: 16
|
|
457
|
-
}, null, 8, ["name"])], 8, pe))], 2)]), h.type === "range" ? (v(), d("div", me, [et.value ? (v(), l(n, {
|
|
458
|
-
key: 0,
|
|
459
|
-
for: Ve.value,
|
|
460
|
-
required: h.required,
|
|
461
|
-
disabled: h.disabled
|
|
462
|
-
}, {
|
|
463
|
-
default: S(() => [p(b(h.endLabel), 1)]),
|
|
464
|
-
_: 1
|
|
465
|
-
}, 8, [
|
|
466
|
-
"for",
|
|
467
|
-
"required",
|
|
468
|
-
"disabled"
|
|
469
|
-
])) : u("", !0), f("div", { class: _(["nb-date-picker__input-wrapper", Ct.value]) }, [f("input", {
|
|
470
|
-
id: Ve.value,
|
|
471
|
-
ref_key: "endInputRef",
|
|
472
|
-
ref: j,
|
|
473
|
-
type: "text",
|
|
474
|
-
class: "nb-date-picker__field",
|
|
475
|
-
value: Ze.value,
|
|
476
|
-
placeholder: h.endPlaceholder || F.value,
|
|
477
|
-
disabled: h.disabled,
|
|
478
|
-
readonly: h.readonly,
|
|
479
|
-
required: h.required,
|
|
480
|
-
"aria-invalid": h.endError ? !0 : void 0,
|
|
481
|
-
"aria-describedby": $e.value,
|
|
482
|
-
onInput: a[1] ||= (e) => it(e),
|
|
483
|
-
onFocus: V,
|
|
484
|
-
onBlur: H,
|
|
485
|
-
onKeydown: U
|
|
486
|
-
}, null, 40, he), f("button", {
|
|
487
|
-
type: "button",
|
|
488
|
-
class: "nb-date-picker__icon",
|
|
489
|
-
disabled: h.disabled || h.readonly,
|
|
490
|
-
tabindex: "-1",
|
|
491
|
-
"aria-label": h.endValue ? `Change end date, ${I(h.endValue)}` : "Choose end date",
|
|
492
|
-
onClick: K
|
|
493
|
-
}, [m(e, {
|
|
494
|
-
name: x(C),
|
|
495
|
-
size: 16
|
|
496
|
-
}, null, 8, ["name"])], 8, ge)], 2)])) : u("", !0)]),
|
|
497
|
-
_: 1
|
|
498
|
-
}, 8, ["gap"]),
|
|
499
|
-
L.value ? (v(), l(r, {
|
|
500
|
-
key: 2,
|
|
501
|
-
id: Ue.value,
|
|
502
|
-
variant: L.value.variant,
|
|
503
|
-
class: "nb-date-picker__message"
|
|
504
|
-
}, {
|
|
505
|
-
default: S(() => [p(b(L.value.text), 1)]),
|
|
506
|
-
_: 1
|
|
507
|
-
}, 8, ["id", "variant"])) : u("", !0),
|
|
508
|
-
R.value ? (v(), l(r, {
|
|
509
|
-
key: 3,
|
|
510
|
-
id: We.value,
|
|
511
|
-
variant: R.value.variant,
|
|
512
|
-
class: "nb-date-picker__message"
|
|
513
|
-
}, {
|
|
514
|
-
default: S(() => [p(b(R.value.text), 1)]),
|
|
515
|
-
_: 1
|
|
516
|
-
}, 8, ["id", "variant"])) : u("", !0),
|
|
517
|
-
!L.value && !R.value && h.helper ? (v(), l(r, {
|
|
518
|
-
key: 4,
|
|
519
|
-
id: He.value,
|
|
520
|
-
variant: "helper",
|
|
521
|
-
class: "nb-date-picker__message"
|
|
522
|
-
}, {
|
|
523
|
-
default: S(() => [p(b(h.helper), 1)]),
|
|
524
|
-
_: 1
|
|
525
|
-
}, 8, ["id"])) : u("", !0)
|
|
526
|
-
], 64)) : h.variant === "fluid" ? (v(), l(i, {
|
|
527
|
-
key: 1,
|
|
528
|
-
dir: "row",
|
|
529
|
-
gap: h.type === "range" ? "sm" : void 0,
|
|
530
|
-
class: "nb-date-picker__fields"
|
|
531
|
-
}, {
|
|
532
|
-
default: S(() => [f("div", { class: _(["nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid", St.value]) }, [h.label || t.$slots.label || z.value ? (v(), d("div", _e, [t.$slots.label ? re(t.$slots, "label", { key: 0 }) : (v(), d("label", {
|
|
533
|
-
key: 1,
|
|
534
|
-
for: E.value,
|
|
535
|
-
class: "nb-date-picker__inner-label"
|
|
536
|
-
}, [p(b(h.label) + " ", 1), h.required ? (v(), d("span", ye, "*")) : u("", !0)], 8, ve)), z.value ? (v(), l(r, {
|
|
537
|
-
key: 2,
|
|
538
|
-
variant: z.value.variant,
|
|
539
|
-
"icon-only": "",
|
|
540
|
-
class: "nb-date-picker__inner-message"
|
|
541
|
-
}, {
|
|
542
|
-
default: S(() => [p(b(z.value.text), 1)]),
|
|
543
|
-
_: 1
|
|
544
|
-
}, 8, ["variant"])) : u("", !0)])) : u("", !0), f("div", be, [f("input", ee({
|
|
545
|
-
id: E.value,
|
|
546
|
-
ref_key: "inputRef",
|
|
547
|
-
ref: A
|
|
548
|
-
}, t.$attrs, {
|
|
549
|
-
type: "text",
|
|
550
|
-
class: "nb-date-picker__field",
|
|
551
|
-
value: Xe.value,
|
|
552
|
-
placeholder: h.placeholder || F.value,
|
|
553
|
-
disabled: h.disabled,
|
|
554
|
-
readonly: h.readonly,
|
|
555
|
-
required: h.required,
|
|
556
|
-
name: h.name,
|
|
557
|
-
"aria-invalid": h.error ? !0 : void 0,
|
|
558
|
-
onInput: a[2] ||= (e) => rt(e),
|
|
559
|
-
onFocus: V,
|
|
560
|
-
onBlur: H,
|
|
561
|
-
onKeydown: U
|
|
562
|
-
}), null, 16, xe), h.type === "simple" ? u("", !0) : (v(), d("button", {
|
|
563
|
-
key: 0,
|
|
564
|
-
type: "button",
|
|
565
|
-
class: "nb-date-picker__icon",
|
|
566
|
-
disabled: h.disabled || h.readonly,
|
|
567
|
-
tabindex: "-1",
|
|
568
|
-
"aria-label": h.modelValue ? `Change date, ${I(h.modelValue)}` : "Choose date",
|
|
569
|
-
onClick: K
|
|
570
|
-
}, [m(e, {
|
|
571
|
-
name: x(C),
|
|
572
|
-
size: 16
|
|
573
|
-
}, null, 8, ["name"])], 8, Se))])], 2), h.type === "range" ? (v(), d("div", {
|
|
574
|
-
key: 0,
|
|
575
|
-
class: _(["nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid", Ct.value])
|
|
576
|
-
}, [tt.value || R.value ? (v(), d("div", Ce, [f("label", {
|
|
577
|
-
for: Ve.value,
|
|
578
|
-
class: "nb-date-picker__inner-label"
|
|
579
|
-
}, [p(b(tt.value) + " ", 1), h.required ? (v(), d("span", Te, "*")) : u("", !0)], 8, we), R.value ? (v(), l(r, {
|
|
580
|
-
key: 0,
|
|
581
|
-
variant: R.value.variant,
|
|
582
|
-
"icon-only": "",
|
|
583
|
-
class: "nb-date-picker__inner-message"
|
|
584
|
-
}, {
|
|
585
|
-
default: S(() => [p(b(R.value.text), 1)]),
|
|
586
|
-
_: 1
|
|
587
|
-
}, 8, ["variant"])) : u("", !0)])) : u("", !0), f("div", Ee, [f("input", {
|
|
588
|
-
id: Ve.value,
|
|
589
|
-
ref_key: "endInputRef",
|
|
590
|
-
ref: j,
|
|
591
|
-
type: "text",
|
|
592
|
-
class: "nb-date-picker__field",
|
|
593
|
-
value: Ze.value,
|
|
594
|
-
placeholder: h.endPlaceholder || F.value,
|
|
595
|
-
disabled: h.disabled,
|
|
596
|
-
readonly: h.readonly,
|
|
597
|
-
required: h.required,
|
|
598
|
-
"aria-invalid": h.endError ? !0 : void 0,
|
|
599
|
-
onInput: a[3] ||= (e) => it(e),
|
|
600
|
-
onFocus: V,
|
|
601
|
-
onBlur: H,
|
|
602
|
-
onKeydown: U
|
|
603
|
-
}, null, 40, De), f("button", {
|
|
604
|
-
type: "button",
|
|
605
|
-
class: "nb-date-picker__icon",
|
|
606
|
-
disabled: h.disabled || h.readonly,
|
|
607
|
-
tabindex: "-1",
|
|
608
|
-
"aria-label": h.endValue ? `Change end date, ${I(h.endValue)}` : "Choose end date",
|
|
609
|
-
onClick: K
|
|
610
|
-
}, [m(e, {
|
|
611
|
-
name: x(C),
|
|
612
|
-
size: 16
|
|
613
|
-
}, null, 8, ["name"])], 8, Oe)])], 2)) : u("", !0)]),
|
|
614
|
-
_: 3
|
|
615
|
-
}, 8, ["gap"])) : u("", !0)], 2), (v(), l(s, { to: "body" }, [O.value ? (v(), d("div", ee({
|
|
616
|
-
key: 0,
|
|
617
|
-
ref_key: "calendarRef",
|
|
618
|
-
ref: M,
|
|
619
|
-
role: "dialog",
|
|
620
|
-
"aria-modal": "true",
|
|
621
|
-
"aria-label": h.label ? `${h.label} calendar` : "Date picker",
|
|
622
|
-
class: "nb-date-picker__calendar"
|
|
623
|
-
}, x(ze), {
|
|
624
|
-
style: Je.value,
|
|
625
|
-
onKeydown: st,
|
|
626
|
-
onMousedown: a[4] ||= oe(() => {}, ["prevent"])
|
|
627
|
-
}), [f("div", Ae, [
|
|
628
|
-
f("button", {
|
|
629
|
-
type: "button",
|
|
630
|
-
class: "nb-date-picker__cal-nav",
|
|
631
|
-
"aria-label": "Previous year",
|
|
632
|
-
onClick: mt
|
|
633
|
-
}, [m(e, {
|
|
634
|
-
name: x(ce),
|
|
635
|
-
size: 16
|
|
636
|
-
}, null, 8, ["name"])]),
|
|
637
|
-
f("button", {
|
|
638
|
-
type: "button",
|
|
639
|
-
class: "nb-date-picker__cal-nav",
|
|
640
|
-
"aria-label": "Previous month",
|
|
641
|
-
onClick: ft
|
|
642
|
-
}, [m(e, {
|
|
643
|
-
name: x(le),
|
|
644
|
-
size: 16
|
|
645
|
-
}, null, 8, ["name"])]),
|
|
646
|
-
f("span", {
|
|
647
|
-
id: Ge.value,
|
|
648
|
-
class: "nb-date-picker__cal-title",
|
|
649
|
-
"aria-live": "polite"
|
|
650
|
-
}, b(gt.value), 9, je),
|
|
651
|
-
f("button", {
|
|
652
|
-
type: "button",
|
|
653
|
-
class: "nb-date-picker__cal-nav",
|
|
654
|
-
"aria-label": "Next month",
|
|
655
|
-
onClick: pt
|
|
656
|
-
}, [m(e, {
|
|
657
|
-
name: x(se),
|
|
658
|
-
size: 16
|
|
659
|
-
}, null, 8, ["name"])]),
|
|
660
|
-
f("button", {
|
|
661
|
-
type: "button",
|
|
662
|
-
class: "nb-date-picker__cal-nav",
|
|
663
|
-
"aria-label": "Next year",
|
|
664
|
-
onClick: ht
|
|
665
|
-
}, [m(e, {
|
|
666
|
-
name: x(ue),
|
|
667
|
-
size: 16
|
|
668
|
-
}, null, 8, ["name"])])
|
|
669
|
-
]), f("table", {
|
|
670
|
-
role: "grid",
|
|
671
|
-
"aria-labelledby": Ge.value,
|
|
672
|
-
class: "nb-date-picker__cal-table"
|
|
673
|
-
}, [f("thead", null, [f("tr", Ne, [(v(!0), d(o, null, ne(_t.value, (e) => (v(), d("th", {
|
|
674
|
-
key: e.narrow,
|
|
675
|
-
scope: "col",
|
|
676
|
-
class: "nb-date-picker__cal-weekday",
|
|
677
|
-
abbr: e.full
|
|
678
|
-
}, b(e.narrow), 9, Pe))), 128))])]), f("tbody", null, [(v(!0), d(o, null, ne(bt.value, (e, t) => (v(), d("tr", { key: t }, [(v(!0), d(o, null, ne(e, (e) => (v(), d("td", {
|
|
679
|
-
key: e.key,
|
|
680
|
-
role: "gridcell",
|
|
681
|
-
"aria-selected": e.isSelected || void 0,
|
|
682
|
-
"aria-disabled": e.isDisabled || void 0
|
|
683
|
-
}, [f("button", {
|
|
684
|
-
type: "button",
|
|
685
|
-
class: _(["nb-date-picker__cal-day", {
|
|
686
|
-
"nb-date-picker__cal-day--outside": !e.inMonth,
|
|
687
|
-
"nb-date-picker__cal-day--today": e.isToday,
|
|
688
|
-
"nb-date-picker__cal-day--selected": e.isSelected,
|
|
689
|
-
"nb-date-picker__cal-day--in-range": e.inRange,
|
|
690
|
-
"nb-date-picker__cal-day--range-start": e.isRangeStart,
|
|
691
|
-
"nb-date-picker__cal-day--range-end": e.isRangeEnd,
|
|
692
|
-
"nb-date-picker__cal-day--disabled": e.isDisabled,
|
|
693
|
-
"nb-date-picker__cal-day--focused": e.date === k.value
|
|
694
|
-
}]),
|
|
695
|
-
tabindex: e.date === k.value ? 0 : -1,
|
|
696
|
-
disabled: e.isDisabled,
|
|
697
|
-
"aria-label": Ye(e.date),
|
|
698
|
-
"data-date": e.date,
|
|
699
|
-
onClick: (t) => ot(e.date)
|
|
700
|
-
}, b(e.day), 11, Ie)], 8, Fe))), 128))]))), 128))])], 8, Me)], 16, ke)) : u("", !0)]))], 64));
|
|
701
|
-
}
|
|
702
|
-
});
|
|
703
|
-
//#endregion
|
|
704
|
-
export { Le as t };
|