@nova-design-system/nova-webcomponents 3.27.0 → 3.29.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/cjs/{index-Cfkoz1kc.js → index-eLt3bBQs.js} +13 -1
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nova-datetime-DOtVgYBB.js +10643 -0
- package/dist/cjs/nv-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +2 -2
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +8 -7
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-datetest.cjs.entry.js +66 -0
- package/dist/cjs/nv-datetimetest.cjs.entry.js +54 -0
- package/dist/cjs/nv-dialog.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +7 -5
- package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +5 -3
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +115 -86
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +7 -7
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtime.cjs.entry.js +15 -12
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +2 -2
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -14
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +2 -2
- package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +3 -3
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-split.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-timetest.cjs.entry.js +72 -0
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +9 -4
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/nv-accordion/nv-accordion.docs.js +1 -0
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.docs.js +69 -1
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.js +2 -2
- package/dist/collection/components/nv-alert/nv-alert.docs.js +1 -0
- package/dist/collection/components/nv-alert/nv-alert.js +15 -5
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.js +32 -11
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +36 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +1 -0
- package/dist/collection/components/nv-button/nv-button.docs.js +1 -0
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +1 -0
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +1 -0
- package/dist/collection/components/nv-col/nv-col.docs.js +2 -0
- package/dist/collection/components/nv-col/nv-col.js +2 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +3 -2
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.docs.js +25 -1
- package/dist/collection/components/nv-datetest/nv-datetest.css +15 -0
- package/dist/collection/components/nv-datetest/nv-datetest.docs.js +12 -0
- package/dist/collection/components/nv-datetest/nv-datetest.js +242 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.css +15 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.docs.js +5 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.js +197 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +1 -0
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +9 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +35 -13
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +9 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.docs.js +1 -0
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +9 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +31 -9
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +9 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -0
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +3 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +1 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -6
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +3 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +1 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +3 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +54 -1
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.css +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +42 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -0
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +119 -84
- package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +13 -2
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +3 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +1 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +3 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +1 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +3 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +3 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +3 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +1 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +13 -10
- package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +3 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
- package/dist/collection/components/nv-icon/nv-icon.js +7 -4
- package/dist/collection/components/nv-icon/nv-icons.js +4 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +1 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +7 -4
- package/dist/collection/components/nv-loader/nv-loader.docs.js +1 -0
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js +1 -0
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +20 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +6 -3
- package/dist/collection/components/nv-notification/nv-notification.docs.js +1 -0
- package/dist/collection/components/nv-notification/nv-notification.js +15 -5
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +1 -0
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.docs.js +24 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -15
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.docs.js +1 -0
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.docs.js +1 -0
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.docs.js +2 -0
- package/dist/collection/components/nv-row/nv-row.js +2 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +1 -0
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +14 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +15 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +9 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +15 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +9 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +10 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +16 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +8 -5
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +15 -1
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.docs.js +1 -0
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.docs.js +1 -0
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.docs.js +1 -0
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-table/styles/nv-table.css +19 -2
- package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +1 -0
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-timetest/nv-timetest.css +15 -0
- package/dist/collection/components/nv-timetest/nv-timetest.docs.js +5 -0
- package/dist/collection/components/nv-timetest/nv-timetest.js +248 -0
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js +1 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +48 -1
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +1 -0
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +8 -3
- package/dist/collection/index.js +3 -0
- package/dist/collection/interfaces/dates.js +1 -0
- package/dist/collection/utils/nova-datetime.js +144 -0
- package/dist/collection/utils/test/nova-datetime.test.js +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-buttongroup.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-datetest.d.ts +11 -0
- package/dist/components/nv-datetest.js +1 -0
- package/dist/components/nv-datetimetest.d.ts +11 -0
- package/dist/components/nv-datetimetest.js +1 -0
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-drawerheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +1 -1
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification-bullet.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.js +1 -1
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-timetest.d.ts +11 -0
- package/dist/components/nv-timetest.js +1 -0
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-CAGzfU3O.js → p-Bl7rc9YV.js} +1 -1
- package/dist/components/{p-BBy1Mdgv.js → p-Bytxo1iR.js} +1 -1
- package/dist/components/p-C47vpaBp.js +1 -0
- package/dist/components/{p-BMpkyzCW.js → p-C99g_PrG.js} +1 -1
- package/dist/components/{p-BvxuoODv.js → p-CBlrNW6n.js} +1 -1
- package/dist/components/{p-DlOgBZa8.js → p-CD12QIMB.js} +2 -2
- package/dist/components/{p-Ho_7-x5W.js → p-CT782LKx.js} +1 -1
- package/dist/components/{p-D-MnI-R8.js → p-CUjRfVPl.js} +1 -1
- package/dist/components/{p-kMTGXpRx.js → p-CfOVizcp.js} +1 -1
- package/dist/components/{p-S18SgvAW.js → p-CgufQqes.js} +1 -1
- package/dist/components/p-ChVdX6FG.js +1 -0
- package/dist/components/{p-Ba1zVklG.js → p-Cnlbk416.js} +1 -1
- package/dist/components/p-Cr_-lRNo.js +1 -0
- package/dist/components/{p-BwYt1BAb.js → p-Cuq_uNwY.js} +1 -1
- package/dist/components/p-CyL2J6O4.js +74 -0
- package/dist/components/p-D1psKXwD.js +1 -0
- package/dist/components/{p-T-bBxAoT.js → p-D3JDACHw.js} +1 -1
- package/dist/components/p-DKgmDzJ1.js +1 -0
- package/dist/components/p-DdcXhR3I.js +1 -0
- package/dist/components/p-EV8CtE4q.js +1 -0
- package/dist/components/{p-DrgqO3gF.js → p-RYxAzR3m.js} +1 -1
- package/dist/components/{p-Db4JZxyy.js → p-_zOMJBOq.js} +1 -1
- package/dist/components/{p-6nAIGZFL.js → p-flcatmxD.js} +1 -1
- package/dist/components/p-p1ofW2Cs.js +1 -0
- package/dist/esm/{index-BCjiE1MF.js → index-DU3Vhh_k.js} +13 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nova-datetime-CyL2J6O4.js +10636 -0
- package/dist/esm/nv-accordion-item.entry.js +3 -3
- package/dist/esm/nv-accordion.entry.js +1 -1
- package/dist/esm/nv-alert.entry.js +2 -2
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +8 -7
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-buttongroup.entry.js +1 -1
- package/dist/esm/nv-calendar.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-datetest.entry.js +64 -0
- package/dist/esm/nv-datetimetest.entry.js +52 -0
- package/dist/esm/nv-dialog.entry.js +2 -2
- package/dist/esm/nv-dialogfooter_2.entry.js +7 -5
- package/dist/esm/nv-drawer.entry.js +2 -2
- package/dist/esm/nv-drawerfooter_2.entry.js +5 -3
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +8 -8
- package/dist/esm/nv-fielddaterange.entry.js +8 -8
- package/dist/esm/nv-fielddropdown.entry.js +6 -6
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +115 -86
- package/dist/esm/nv-fieldnumber.entry.js +6 -6
- package/dist/esm/nv-fieldpassword.entry.js +6 -6
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +7 -7
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +6 -6
- package/dist/esm/nv-fieldtextarea.entry.js +5 -5
- package/dist/esm/nv-fieldtime.entry.js +15 -12
- package/dist/esm/nv-icon.entry.js +3 -3
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-notification-bullet.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +2 -2
- package/dist/esm/nv-notificationcontainer.entry.js +2 -14
- package/dist/esm/nv-pagination-nav.entry.js +2 -2
- package/dist/esm/nv-paginationtable.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-sidebar.entry.js +2 -2
- package/dist/esm/nv-sidebarcontent.entry.js +2 -2
- package/dist/esm/nv-sidebardivider.entry.js +2 -2
- package/dist/esm/nv-sidebarfooter.entry.js +2 -2
- package/dist/esm/nv-sidebargroup.entry.js +2 -2
- package/dist/esm/nv-sidebarheader.entry.js +2 -2
- package/dist/esm/nv-sidebarlogo.entry.js +2 -2
- package/dist/esm/nv-sidebarnavitem.entry.js +3 -3
- package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
- package/dist/esm/nv-split.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-table.entry.js +3 -3
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-timetest.entry.js +70 -0
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +9 -4
- package/dist/lib/generators/docs-blazor.js +11 -2
- package/dist/lib/utils/parseToCSharpTypes.js +114 -18
- package/dist/lib/utils/test/parseToCSharpTypes.test.js +95 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/p-04e40a1e.entry.js +1 -0
- package/dist/native/p-0770997b.entry.js +1 -0
- package/dist/native/p-07f3200b.entry.js +1 -0
- package/dist/native/{p-a6b3256b.entry.js → p-0a17050f.entry.js} +1 -1
- package/dist/native/{p-7d49e88d.entry.js → p-0d03b6ed.entry.js} +1 -1
- package/dist/native/p-0d3ab890.entry.js +1 -0
- package/dist/native/{p-b3964a1c.entry.js → p-0f59cb66.entry.js} +1 -1
- package/dist/native/{p-87758615.entry.js → p-0f9a284e.entry.js} +1 -1
- package/dist/native/{p-90b8b889.entry.js → p-12269ed5.entry.js} +1 -1
- package/dist/native/{p-fd5e27ae.entry.js → p-1450d746.entry.js} +1 -1
- package/dist/native/{p-f9612edf.entry.js → p-16600d93.entry.js} +1 -1
- package/dist/native/{p-1e0ca4df.entry.js → p-1bc76216.entry.js} +1 -1
- package/dist/native/p-1ea2a804.entry.js +1 -0
- package/dist/native/{p-24ce0c8d.entry.js → p-26c0c34b.entry.js} +1 -1
- package/dist/native/{p-9709c7d5.entry.js → p-27ecae3c.entry.js} +1 -1
- package/dist/native/{p-5a7e46ad.entry.js → p-2b1efb98.entry.js} +1 -1
- package/dist/native/{p-927b655d.entry.js → p-2d37df11.entry.js} +1 -1
- package/dist/native/{p-eb8ba7a2.entry.js → p-2d5189eb.entry.js} +1 -1
- package/dist/native/{p-157c5ac8.entry.js → p-2e40d5d9.entry.js} +1 -1
- package/dist/native/{p-0fe84123.entry.js → p-2e932ca4.entry.js} +1 -1
- package/dist/native/{p-5c003e50.entry.js → p-336d63c4.entry.js} +1 -1
- package/dist/native/p-3afa34d1.entry.js +1 -0
- package/dist/native/{p-24f69387.entry.js → p-3ddc967e.entry.js} +1 -1
- package/dist/native/p-48c1bab4.entry.js +1 -0
- package/dist/native/{p-6742f88f.entry.js → p-49c6d122.entry.js} +1 -1
- package/dist/native/{p-8a0dc37b.entry.js → p-4badca4e.entry.js} +1 -1
- package/dist/native/{p-bb43a3b4.entry.js → p-4bb9b387.entry.js} +1 -1
- package/dist/native/{p-39366f18.entry.js → p-568fbdac.entry.js} +1 -1
- package/dist/native/{p-8f76e030.entry.js → p-59ecaf60.entry.js} +1 -1
- package/dist/native/p-5cefca3c.entry.js +1 -0
- package/dist/native/{p-148c1d3e.entry.js → p-5f6e45ca.entry.js} +1 -1
- package/dist/native/{p-fb34fc7d.entry.js → p-6f1213fb.entry.js} +1 -1
- package/dist/native/{p-5ce3d30b.entry.js → p-6f91712c.entry.js} +1 -1
- package/dist/native/{p-1aea6fe0.entry.js → p-706eeea4.entry.js} +1 -1
- package/dist/native/{p-d6e2e120.entry.js → p-7126f67e.entry.js} +1 -1
- package/dist/native/{p-1f8cc03a.entry.js → p-748661f0.entry.js} +1 -1
- package/dist/native/{p-6f3c3e2a.entry.js → p-7b545176.entry.js} +1 -1
- package/dist/native/{p-ecce3e66.entry.js → p-7bb2536f.entry.js} +1 -1
- package/dist/native/{p-a16f8a14.entry.js → p-7fd6f0b0.entry.js} +1 -1
- package/dist/native/p-803759ef.entry.js +1 -0
- package/dist/native/{p-d12a2841.entry.js → p-8e05077a.entry.js} +1 -1
- package/dist/native/{p-25ef7329.entry.js → p-92539825.entry.js} +1 -1
- package/dist/native/p-943a4dfd.entry.js +1 -0
- package/dist/native/{p-7ec28d5d.entry.js → p-96078a63.entry.js} +1 -1
- package/dist/native/{p-56593bf0.entry.js → p-9a05395d.entry.js} +1 -1
- package/dist/native/{p-f9e4daf7.entry.js → p-9b8478a7.entry.js} +1 -1
- package/dist/native/p-CyL2J6O4.js +74 -0
- package/dist/native/{p-BCjiE1MF.js → p-DU3Vhh_k.js} +1 -1
- package/dist/native/{p-67e0680e.entry.js → p-a5e39524.entry.js} +1 -1
- package/dist/native/{p-31ba86b3.entry.js → p-b7436a14.entry.js} +1 -1
- package/dist/native/{p-9fda1976.entry.js → p-bff549dd.entry.js} +1 -1
- package/dist/native/p-c20e0b5f.entry.js +1 -0
- package/dist/native/p-ca4ab8a5.entry.js +1 -0
- package/dist/native/{p-591f3dcc.entry.js → p-d468c445.entry.js} +1 -1
- package/dist/native/p-d5060f92.entry.js +1 -0
- package/dist/native/{p-539c04ad.entry.js → p-d5e931c9.entry.js} +1 -1
- package/dist/native/p-dc647a64.entry.js +1 -0
- package/dist/native/p-df5c6b0c.entry.js +1 -0
- package/dist/native/p-e8569a99.entry.js +1 -0
- package/dist/native/p-eb737344.entry.js +1 -0
- package/dist/native/{p-ebff7ddb.entry.js → p-f078f10a.entry.js} +1 -1
- package/dist/native/p-f3756dfd.entry.js +1 -0
- package/dist/native/p-f3ded7e8.entry.js +1 -0
- package/dist/native/{p-3a35cf46.entry.js → p-f7fdca43.entry.js} +1 -1
- package/dist/types/components/nv-alert/nv-alert.d.ts +3 -1
- package/dist/types/components/nv-badge/nv-badge.d.ts +6 -3
- package/dist/types/components/nv-col/nv-col.d.ts +1 -0
- package/dist/types/components/nv-datetest/nv-datetest.d.ts +48 -0
- package/dist/types/components/nv-datetest/nv-datetest.docs.d.ts +4 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.d.ts +44 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.docs.d.ts +4 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +5 -2
- package/dist/types/components/nv-drawerfooter/nv-drawerfooter.d.ts +5 -2
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +16 -11
- package/dist/types/components/nv-icon/nv-icon.d.ts +2 -1
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -1
- package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +1 -0
- package/dist/types/components/nv-notification/nv-notification.d.ts +3 -1
- package/dist/types/components/nv-notificationcontainer/nv-notificationcontainer.d.ts +0 -6
- package/dist/types/components/nv-row/nv-row.d.ts +1 -0
- package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +2 -1
- package/dist/types/components/nv-timetest/nv-timetest.d.ts +48 -0
- package/dist/types/components/nv-timetest/nv-timetest.docs.d.ts +4 -0
- package/dist/types/components.d.ts +349 -44
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interfaces/dates.d.ts +8 -0
- package/dist/types/nova-docs.d.ts +8 -0
- package/dist/types/utils/nova-datetime.d.ts +79 -0
- package/dist/types/utils/test/nova-datetime.test.d.ts +1 -0
- package/dist/vscode-data.json +18259 -2581
- package/hydrate/index.js +11008 -219
- package/hydrate/index.mjs +11008 -219
- package/package.json +14 -1
- package/dist/components/p-CV12ukSl.js +0 -1
- package/dist/components/p-CZkFkVd8.js +0 -1
- package/dist/components/p-CcmfuwSa.js +0 -1
- package/dist/components/p-CqJqzGJS.js +0 -1
- package/dist/components/p-D0bGRzSN.js +0 -1
- package/dist/components/p-DC_2597n.js +0 -1
- package/dist/components/p-IzPWk8zx.js +0 -1
- package/dist/components/p-uAXqRBhx.js +0 -1
- package/dist/native/p-03cc1f2c.entry.js +0 -1
- package/dist/native/p-18bdc07a.entry.js +0 -1
- package/dist/native/p-1c97c353.entry.js +0 -1
- package/dist/native/p-23f0ca96.entry.js +0 -1
- package/dist/native/p-34e19b6e.entry.js +0 -1
- package/dist/native/p-46267895.entry.js +0 -1
- package/dist/native/p-597cac0f.entry.js +0 -1
- package/dist/native/p-5f42a7f1.entry.js +0 -1
- package/dist/native/p-7aac0b1a.entry.js +0 -1
- package/dist/native/p-855f7be1.entry.js +0 -1
- package/dist/native/p-99726dd4.entry.js +0 -1
- package/dist/native/p-c0b05d6f.entry.js +0 -1
- package/dist/native/p-c214e4af.entry.js +0 -1
- package/dist/native/p-c29dc907.entry.js +0 -1
- package/dist/native/p-d46bd21a.entry.js +0 -1
- package/dist/native/p-ddedc9c1.entry.js +0 -1
|
@@ -149,7 +149,7 @@ export class NvTogglebuttongroup {
|
|
|
149
149
|
/****************************************************************************/
|
|
150
150
|
//#region RENDER
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '2026cb95db8b57f2a1cd4ea53608f336843b63fe' }, h("slot", { key: '5c06ab59d6c99e789c3a1c3a8a4842a0772ca3a2' })));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "nv-togglebuttongroup"; }
|
|
155
155
|
static get originalStyleUrls() {
|
|
@@ -33,15 +33,20 @@ export class NvTooltip {
|
|
|
33
33
|
/****************************************************************************/
|
|
34
34
|
//#region LIFECYCLE
|
|
35
35
|
componentDidRender() {
|
|
36
|
-
if (
|
|
36
|
+
if (!this.popoverElement)
|
|
37
37
|
return;
|
|
38
|
-
|
|
38
|
+
const trigger = this.triggerElement ??
|
|
39
|
+
this.defaultSlot?.nextElementSibling ??
|
|
40
|
+
this.el.querySelector(':scope > :not(nv-popover):not(slot):not([slot])');
|
|
41
|
+
if (trigger && this.popoverElement.triggerElement !== trigger) {
|
|
42
|
+
this.popoverElement.triggerElement = trigger;
|
|
43
|
+
}
|
|
39
44
|
}
|
|
40
45
|
//#endregion LIFECYCLE
|
|
41
46
|
/****************************************************************************/
|
|
42
47
|
//#region RENDER
|
|
43
48
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '8285fbb412cb45cc7baf2936f0405c0438395c8d' }, h("nv-popover", { key: '29d70e9baa826de35d2cdca88f48610d70ec55e4', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("p", { key: 'a9c907fa96f9c4108a8d84cec53981218c060811', slot: "content" }, this.message), h("slot", { key: 'af1b7ac8069071fe2d41e925f1c0090f8b6aaab5', name: "content" })), h("slot", { key: 'e5d3c6d16fb7e4a682b66e0016d9e4e30e5647e0', ref: el => (this.defaultSlot = el) })));
|
|
45
50
|
}
|
|
46
51
|
static get is() { return "nv-tooltip"; }
|
|
47
52
|
static get originalStyleUrls() {
|
package/dist/collection/index.js
CHANGED
|
@@ -16,8 +16,11 @@ import * as stringUtils_1 from "./utils/string.utils";
|
|
|
16
16
|
export { stringUtils_1 as stringUtils };
|
|
17
17
|
import * as uriUtils_1 from "./utils/uri.utils";
|
|
18
18
|
export { uriUtils_1 as uriUtils };
|
|
19
|
+
import * as dateTimeUtils_1 from "./utils/nova-datetime";
|
|
20
|
+
export { dateTimeUtils_1 as dateTimeUtils };
|
|
19
21
|
import * as animations_1 from "./animations";
|
|
20
22
|
export { animations_1 as animations };
|
|
21
23
|
import * as searchEngine_1 from "./utils/search-engine";
|
|
22
24
|
export { searchEngine_1 as searchEngine };
|
|
23
25
|
export { iconNames } from './components/nv-icon/nv-icons';
|
|
26
|
+
export * from './interfaces/dates';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* cSpell:words joda */
|
|
2
|
+
import { LocalTime, LocalDate, LocalDateTime, DateTimeFormatter, } from "@js-joda/core";
|
|
3
|
+
// ─── Parsing (string → js-joda) ─────────────────────────────────────────────
|
|
4
|
+
/**
|
|
5
|
+
* Parse a TimeOnly string (HH:mm or HH:mm:ss) into a LocalTime.
|
|
6
|
+
* @param {string} value - The time string to parse.
|
|
7
|
+
* @returns {LocalTime | null} The parsed LocalTime, or null if invalid.
|
|
8
|
+
*/
|
|
9
|
+
export function parseTimeOnly(value) {
|
|
10
|
+
try {
|
|
11
|
+
return LocalTime.parse(value);
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
console.warn(`[nova] Invalid TimeOnly value: "${value}"`);
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Parse a DateOnly string (YYYY-MM-DD) into a LocalDate.
|
|
20
|
+
* @param {string} value - The date string to parse.
|
|
21
|
+
* @returns {LocalDate | null} The parsed LocalDate, or null if invalid.
|
|
22
|
+
*/
|
|
23
|
+
export function parseDateOnly(value) {
|
|
24
|
+
try {
|
|
25
|
+
return LocalDate.parse(value);
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
console.warn(`[nova] Invalid DateOnly value: "${value}"`);
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Parse an ISO-8601 date-time string into a LocalDateTime.
|
|
34
|
+
* @param {string} value - The date-time string to parse.
|
|
35
|
+
* @returns {LocalDateTime | null} The parsed LocalDateTime, or null if invalid.
|
|
36
|
+
*/
|
|
37
|
+
export function parseLocalDateTime(value) {
|
|
38
|
+
try {
|
|
39
|
+
return LocalDateTime.parse(value);
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
console.warn(`[nova] Invalid LocalDateTime value: "${value}"`);
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
// ─── Formatting (js-joda → branded string) ──────────────────────────────────
|
|
47
|
+
const TIME_FORMATTER = DateTimeFormatter.ofPattern('HH:mm:ss');
|
|
48
|
+
const DATE_FORMATTER = DateTimeFormatter.ofPattern('yyyy-MM-dd');
|
|
49
|
+
/**
|
|
50
|
+
* Format a LocalTime as a TimeOnly string (always HH:mm:ss).
|
|
51
|
+
* @param {LocalTime} time - The LocalTime to format.
|
|
52
|
+
* @returns {TimeOnly} The formatted TimeOnly string.
|
|
53
|
+
*/
|
|
54
|
+
export function formatTimeOnly(time) {
|
|
55
|
+
return time.format(TIME_FORMATTER);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Format a LocalDate as a DateOnly string (YYYY-MM-DD).
|
|
59
|
+
* @param {LocalDate} date - The LocalDate to format.
|
|
60
|
+
* @returns {DateOnly} The formatted DateOnly string.
|
|
61
|
+
*/
|
|
62
|
+
export function formatDateOnly(date) {
|
|
63
|
+
return date.format(DATE_FORMATTER);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Format a LocalDateTime as an ISO-8601 string.
|
|
67
|
+
* @param {LocalDateTime} dt - The LocalDateTime to format.
|
|
68
|
+
* @returns {string} The formatted ISO-8601 string.
|
|
69
|
+
*/
|
|
70
|
+
export function formatLocalDateTime(dt) {
|
|
71
|
+
return dt.toString();
|
|
72
|
+
}
|
|
73
|
+
// ─── Validation (type guards) ───────────────────────────────────────────────
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the string is a valid TimeOnly value.
|
|
76
|
+
* @param {string} value - The string to validate.
|
|
77
|
+
* @returns {boolean} Whether the string is a valid TimeOnly.
|
|
78
|
+
*/
|
|
79
|
+
export function isValidTimeOnly(value) {
|
|
80
|
+
return parseTimeOnly(value) !== null;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the string is a valid DateOnly value.
|
|
84
|
+
* @param {string} value - The string to validate.
|
|
85
|
+
* @returns {boolean} Whether the string is a valid DateOnly.
|
|
86
|
+
*/
|
|
87
|
+
export function isValidDateOnly(value) {
|
|
88
|
+
return parseDateOnly(value) !== null;
|
|
89
|
+
}
|
|
90
|
+
// ─── Comparison helpers ─────────────────────────────────────────────────────
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if time `a` is before time `b`.
|
|
93
|
+
* @param {TimeOnly} a - The first time to compare.
|
|
94
|
+
* @param {TimeOnly} b - The second time to compare.
|
|
95
|
+
* @returns {boolean} Whether `a` is before `b`.
|
|
96
|
+
*/
|
|
97
|
+
export function isTimeBefore(a, b) {
|
|
98
|
+
const pa = parseTimeOnly(a);
|
|
99
|
+
const pb = parseTimeOnly(b);
|
|
100
|
+
if (!pa || !pb)
|
|
101
|
+
return false;
|
|
102
|
+
return pa.isBefore(pb);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if time `a` is after time `b`.
|
|
106
|
+
* @param {TimeOnly} a - The first time to compare.
|
|
107
|
+
* @param {TimeOnly} b - The second time to compare.
|
|
108
|
+
* @returns {boolean} Whether `a` is after `b`.
|
|
109
|
+
*/
|
|
110
|
+
export function isTimeAfter(a, b) {
|
|
111
|
+
const pa = parseTimeOnly(a);
|
|
112
|
+
const pb = parseTimeOnly(b);
|
|
113
|
+
if (!pa || !pb)
|
|
114
|
+
return false;
|
|
115
|
+
return pa.isAfter(pb);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Returns true if date `a` is before date `b`.
|
|
119
|
+
* @param {DateOnly} a - The first date to compare.
|
|
120
|
+
* @param {DateOnly} b - The second date to compare.
|
|
121
|
+
* @returns {boolean} Whether `a` is before `b`.
|
|
122
|
+
*/
|
|
123
|
+
export function isDateBefore(a, b) {
|
|
124
|
+
const pa = parseDateOnly(a);
|
|
125
|
+
const pb = parseDateOnly(b);
|
|
126
|
+
if (!pa || !pb)
|
|
127
|
+
return false;
|
|
128
|
+
return pa.isBefore(pb);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Returns true if date `a` is after date `b`.
|
|
132
|
+
* @param {DateOnly} a - The first date to compare.
|
|
133
|
+
* @param {DateOnly} b - The second date to compare.
|
|
134
|
+
* @returns {boolean} Whether `a` is after `b`.
|
|
135
|
+
*/
|
|
136
|
+
export function isDateAfter(a, b) {
|
|
137
|
+
const pa = parseDateOnly(a);
|
|
138
|
+
const pb = parseDateOnly(b);
|
|
139
|
+
if (!pa || !pb)
|
|
140
|
+
return false;
|
|
141
|
+
return pa.isAfter(pb);
|
|
142
|
+
}
|
|
143
|
+
// ─── Re-exports for advanced consumers ──────────────────────────────────────
|
|
144
|
+
export { LocalTime, LocalDate, LocalDateTime } from '@js-joda/core';
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { describe, it, expect, vi } from "vitest";
|
|
2
|
+
import { LocalTime, LocalDate } from "@js-joda/core";
|
|
3
|
+
import { parseTimeOnly, parseDateOnly, parseLocalDateTime, formatTimeOnly, formatDateOnly, formatLocalDateTime, isValidTimeOnly, isValidDateOnly, isTimeBefore, isTimeAfter, isDateBefore, isDateAfter, } from "../nova-datetime";
|
|
4
|
+
describe('nova-datetime', () => {
|
|
5
|
+
// ─── parseTimeOnly ──────────────────────────────────────────────────────
|
|
6
|
+
describe('parseTimeOnly', () => {
|
|
7
|
+
it('parses a valid HH:mm:ss string', () => {
|
|
8
|
+
const result = parseTimeOnly('11:30:00');
|
|
9
|
+
expect(result).toEqual(LocalTime.of(11, 30, 0));
|
|
10
|
+
});
|
|
11
|
+
it('parses HH:mm (without seconds)', () => {
|
|
12
|
+
const result = parseTimeOnly('11:30');
|
|
13
|
+
expect(result).toEqual(LocalTime.of(11, 30, 0));
|
|
14
|
+
});
|
|
15
|
+
it('parses midnight', () => {
|
|
16
|
+
const result = parseTimeOnly('00:00:00');
|
|
17
|
+
expect(result).toEqual(LocalTime.of(0, 0, 0));
|
|
18
|
+
});
|
|
19
|
+
it('parses end-of-day', () => {
|
|
20
|
+
const result = parseTimeOnly('23:59:59');
|
|
21
|
+
expect(result).toEqual(LocalTime.of(23, 59, 59));
|
|
22
|
+
});
|
|
23
|
+
it('returns null and warns for malformed input "00:000:00"', () => {
|
|
24
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
25
|
+
const result = parseTimeOnly('00:000:00');
|
|
26
|
+
expect(result).toBeNull();
|
|
27
|
+
expect(warn).toHaveBeenCalledWith('[nova] Invalid TimeOnly value: "00:000:00"');
|
|
28
|
+
warn.mockRestore();
|
|
29
|
+
});
|
|
30
|
+
it('returns null and warns for out-of-range "25:00:00"', () => {
|
|
31
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
32
|
+
const result = parseTimeOnly('25:00:00');
|
|
33
|
+
expect(result).toBeNull();
|
|
34
|
+
expect(warn).toHaveBeenCalled();
|
|
35
|
+
warn.mockRestore();
|
|
36
|
+
});
|
|
37
|
+
it('returns null and warns for non-time string "abc"', () => {
|
|
38
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
39
|
+
const result = parseTimeOnly('abc');
|
|
40
|
+
expect(result).toBeNull();
|
|
41
|
+
expect(warn).toHaveBeenCalled();
|
|
42
|
+
warn.mockRestore();
|
|
43
|
+
});
|
|
44
|
+
it('returns null and warns for empty string', () => {
|
|
45
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
46
|
+
expect(parseTimeOnly('')).toBeNull();
|
|
47
|
+
expect(warn).toHaveBeenCalled();
|
|
48
|
+
warn.mockRestore();
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
// ─── formatTimeOnly ─────────────────────────────────────────────────────
|
|
52
|
+
describe('formatTimeOnly', () => {
|
|
53
|
+
it('always includes seconds', () => {
|
|
54
|
+
expect(formatTimeOnly(LocalTime.of(11, 30))).toBe('11:30:00');
|
|
55
|
+
});
|
|
56
|
+
it('round-trips a valid time string', () => {
|
|
57
|
+
const parsed = parseTimeOnly('09:05:07');
|
|
58
|
+
expect(parsed).not.toBeNull();
|
|
59
|
+
expect(formatTimeOnly(parsed)).toBe('09:05:07');
|
|
60
|
+
});
|
|
61
|
+
it('formats midnight correctly', () => {
|
|
62
|
+
expect(formatTimeOnly(LocalTime.of(0, 0, 0))).toBe('00:00:00');
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
// ─── parseDateOnly ──────────────────────────────────────────────────────
|
|
66
|
+
describe('parseDateOnly', () => {
|
|
67
|
+
it('parses a valid YYYY-MM-DD string', () => {
|
|
68
|
+
const result = parseDateOnly('2024-06-15');
|
|
69
|
+
expect(result).toEqual(LocalDate.of(2024, 6, 15));
|
|
70
|
+
});
|
|
71
|
+
it('returns null and warns for invalid date', () => {
|
|
72
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
73
|
+
const result = parseDateOnly('2024-13-01');
|
|
74
|
+
expect(result).toBeNull();
|
|
75
|
+
expect(warn).toHaveBeenCalled();
|
|
76
|
+
warn.mockRestore();
|
|
77
|
+
});
|
|
78
|
+
it('returns null and warns for garbage input', () => {
|
|
79
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
80
|
+
expect(parseDateOnly('not-a-date')).toBeNull();
|
|
81
|
+
expect(warn).toHaveBeenCalled();
|
|
82
|
+
warn.mockRestore();
|
|
83
|
+
});
|
|
84
|
+
it('returns null and warns for empty string', () => {
|
|
85
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
86
|
+
expect(parseDateOnly('')).toBeNull();
|
|
87
|
+
expect(warn).toHaveBeenCalled();
|
|
88
|
+
warn.mockRestore();
|
|
89
|
+
});
|
|
90
|
+
it('parses a leap year date', () => {
|
|
91
|
+
const result = parseDateOnly('2024-02-29');
|
|
92
|
+
expect(result).toEqual(LocalDate.of(2024, 2, 29));
|
|
93
|
+
});
|
|
94
|
+
it('returns null for Feb 29 in a non-leap year', () => {
|
|
95
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
96
|
+
expect(parseDateOnly('2023-02-29')).toBeNull();
|
|
97
|
+
expect(warn).toHaveBeenCalled();
|
|
98
|
+
warn.mockRestore();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
// ─── formatDateOnly ─────────────────────────────────────────────────────
|
|
102
|
+
describe('formatDateOnly', () => {
|
|
103
|
+
it('formats a date as YYYY-MM-DD', () => {
|
|
104
|
+
expect(formatDateOnly(LocalDate.of(2024, 1, 5))).toBe('2024-01-05');
|
|
105
|
+
});
|
|
106
|
+
it('round-trips a valid date string', () => {
|
|
107
|
+
const parsed = parseDateOnly('2024-12-31');
|
|
108
|
+
expect(parsed).not.toBeNull();
|
|
109
|
+
expect(formatDateOnly(parsed)).toBe('2024-12-31');
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
// ─── parseLocalDateTime ─────────────────────────────────────────────────
|
|
113
|
+
describe('parseLocalDateTime', () => {
|
|
114
|
+
it('parses a valid ISO-8601 date-time', () => {
|
|
115
|
+
const result = parseLocalDateTime('2024-06-15T11:30:00');
|
|
116
|
+
expect(result).not.toBeNull();
|
|
117
|
+
expect(formatLocalDateTime(result)).toBe('2024-06-15T11:30');
|
|
118
|
+
});
|
|
119
|
+
it('returns null for invalid input', () => {
|
|
120
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
121
|
+
expect(parseLocalDateTime('invalid')).toBeNull();
|
|
122
|
+
expect(warn).toHaveBeenCalled();
|
|
123
|
+
warn.mockRestore();
|
|
124
|
+
});
|
|
125
|
+
it('parses a date-time with non-zero seconds', () => {
|
|
126
|
+
const result = parseLocalDateTime('2024-06-15T11:30:45');
|
|
127
|
+
expect(result).not.toBeNull();
|
|
128
|
+
expect(formatLocalDateTime(result)).toBe('2024-06-15T11:30:45');
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
// ─── formatLocalDateTime ──────────────────────────────────────────────────
|
|
132
|
+
describe('formatLocalDateTime', () => {
|
|
133
|
+
it('formats a LocalDateTime with seconds', () => {
|
|
134
|
+
const dt = parseLocalDateTime('2024-06-15T11:30:45');
|
|
135
|
+
expect(formatLocalDateTime(dt)).toBe('2024-06-15T11:30:45');
|
|
136
|
+
});
|
|
137
|
+
it('round-trips a full date-time string', () => {
|
|
138
|
+
const input = '2024-12-31T23:59:59';
|
|
139
|
+
const parsed = parseLocalDateTime(input);
|
|
140
|
+
expect(parsed).not.toBeNull();
|
|
141
|
+
expect(formatLocalDateTime(parsed)).toBe(input);
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
// ─── Validation ─────────────────────────────────────────────────────────
|
|
145
|
+
describe('isValidTimeOnly', () => {
|
|
146
|
+
it('returns true for valid time', () => {
|
|
147
|
+
expect(isValidTimeOnly('12:00:00')).toBe(true);
|
|
148
|
+
});
|
|
149
|
+
it('returns false for invalid time', () => {
|
|
150
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
151
|
+
expect(isValidTimeOnly('99:99:99')).toBe(false);
|
|
152
|
+
warn.mockRestore();
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
describe('isValidDateOnly', () => {
|
|
156
|
+
it('returns true for valid date', () => {
|
|
157
|
+
expect(isValidDateOnly('2024-06-15')).toBe(true);
|
|
158
|
+
});
|
|
159
|
+
it('returns false for invalid date', () => {
|
|
160
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
161
|
+
expect(isValidDateOnly('2024-13-01')).toBe(false);
|
|
162
|
+
warn.mockRestore();
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
// ─── Comparison helpers ─────────────────────────────────────────────────
|
|
166
|
+
describe('isTimeBefore / isTimeAfter', () => {
|
|
167
|
+
it('isTimeBefore returns true when a < b', () => {
|
|
168
|
+
expect(isTimeBefore('09:00:00', '10:00:00')).toBe(true);
|
|
169
|
+
});
|
|
170
|
+
it('isTimeBefore returns false when a > b', () => {
|
|
171
|
+
expect(isTimeBefore('10:00:00', '09:00:00')).toBe(false);
|
|
172
|
+
});
|
|
173
|
+
it('isTimeBefore returns false when equal', () => {
|
|
174
|
+
expect(isTimeBefore('10:00:00', '10:00:00')).toBe(false);
|
|
175
|
+
});
|
|
176
|
+
it('isTimeAfter returns true when a > b', () => {
|
|
177
|
+
expect(isTimeAfter('10:00:00', '09:00:00')).toBe(true);
|
|
178
|
+
});
|
|
179
|
+
it('isTimeAfter returns false when a < b', () => {
|
|
180
|
+
expect(isTimeAfter('09:00:00', '10:00:00')).toBe(false);
|
|
181
|
+
});
|
|
182
|
+
it('isTimeAfter returns false when times are equal', () => {
|
|
183
|
+
expect(isTimeAfter('10:00:00', '10:00:00')).toBe(false);
|
|
184
|
+
});
|
|
185
|
+
it('isTimeBefore returns false when either argument is invalid', () => {
|
|
186
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
187
|
+
expect(isTimeBefore('invalid', '10:00:00')).toBe(false);
|
|
188
|
+
expect(isTimeBefore('10:00:00', 'invalid')).toBe(false);
|
|
189
|
+
warn.mockRestore();
|
|
190
|
+
});
|
|
191
|
+
it('isTimeAfter returns false when either argument is invalid', () => {
|
|
192
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
193
|
+
expect(isTimeAfter('invalid', '10:00:00')).toBe(false);
|
|
194
|
+
expect(isTimeAfter('10:00:00', 'invalid')).toBe(false);
|
|
195
|
+
warn.mockRestore();
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
describe('isDateBefore / isDateAfter', () => {
|
|
199
|
+
it('isDateBefore returns true when a < b', () => {
|
|
200
|
+
expect(isDateBefore('2024-01-01', '2024-06-15')).toBe(true);
|
|
201
|
+
});
|
|
202
|
+
it('isDateBefore returns false when a > b', () => {
|
|
203
|
+
expect(isDateBefore('2024-06-15', '2024-01-01')).toBe(false);
|
|
204
|
+
});
|
|
205
|
+
it('isDateAfter returns true when a > b', () => {
|
|
206
|
+
expect(isDateAfter('2024-06-15', '2024-01-01')).toBe(true);
|
|
207
|
+
});
|
|
208
|
+
it('isDateAfter returns false when a < b', () => {
|
|
209
|
+
expect(isDateAfter('2024-01-01', '2024-06-15')).toBe(false);
|
|
210
|
+
});
|
|
211
|
+
it('isDateBefore returns false when dates are equal', () => {
|
|
212
|
+
expect(isDateBefore('2024-06-15', '2024-06-15')).toBe(false);
|
|
213
|
+
});
|
|
214
|
+
it('isDateAfter returns false when dates are equal', () => {
|
|
215
|
+
expect(isDateAfter('2024-06-15', '2024-06-15')).toBe(false);
|
|
216
|
+
});
|
|
217
|
+
it('isDateBefore returns false when either argument is invalid', () => {
|
|
218
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
219
|
+
expect(isDateBefore('invalid', '2024-06-15')).toBe(false);
|
|
220
|
+
expect(isDateBefore('2024-06-15', 'invalid')).toBe(false);
|
|
221
|
+
warn.mockRestore();
|
|
222
|
+
});
|
|
223
|
+
it('isDateAfter returns false when either argument is invalid', () => {
|
|
224
|
+
const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
|
|
225
|
+
expect(isDateAfter('invalid', '2024-06-15')).toBe(false);
|
|
226
|
+
expect(isDateAfter('2024-06-15', 'invalid')).toBe(false);
|
|
227
|
+
warn.mockRestore();
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
});
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-flcatmxD.js";export{a as ButtonEmphasis,B as ButtonSize,b as ButtonType,C as CUSTOM_DAY_NAMES,i as CUSTOM_MONTH_NAMES,D as DeprecatedSemanticColors,F as FeedbackColors,G as GlobalFilterPosition,I as IconButtonShape,e as LabelPlacement,L as LoaderColors,c as NotificationEmphasis,N as NotificationPosition,S as SemanticSizes,h as SortingPossibility,f as TextInputAutocomplete,g as TimeType,T as ToggleButtonEmphasis,d as ToggleButtonSize,W as WEEK_ABBREVIATIONS}from"./p-BReL3Lsa.js";export{e as eventUtils}from"./p-B6GgGra-.js";export{u as uriUtils}from"./p-CnI0auJM.js";export{n as dateTimeUtils}from"./p-CyL2J6O4.js";import{u as o}from"./p-D1C_pu0E.js";import{u as t}from"./p-9xYwU7ku.js";import{u as l}from"./p-D02w_Ru6.js";import{u as p}from"./p-D2otK4Ce.js";import{p as m,t as k}from"./p-CgHCo_Ho.js";import{D as y,a as w,b as v,c as _,F as x,H as E,M as z,d as j,e as A,S as U,f as O,g as R,h as M,i as H,j as q,k as P,l as Y,n as K,r as X,s as Z,m as J,o as V,p as Q,q as $,t as ee}from"./p-BaF3Tuua.js";var re=Object.freeze({__proto__:null,nameof:function(e){return e(new Proxy({},{get:(e,r)=>r}))}}),ae=Object.freeze({__proto__:null,startsWithIgnoreCase:function(e,r){return!(!e||!r)&&e.toLowerCase().startsWith(r.toLowerCase())}}),oe=Object.freeze({__proto__:null,parallel:m,timeline:k,useCollapse:o,useFade:t,useGrow:l,useSlide:p}),te=Object.freeze({__proto__:null,DEFAULT_DEBOUNCE_DELAY:y,DEFAULT_FUZZY_THRESHOLD:w,DEFAULT_MAX_RESULTS:v,DEFAULT_WORKER_THRESHOLD:_,FUZZY_DEBOUNCE_DELAY:x,HARD_CAP_MAX_RESULTS:E,MAX_WORKER_THRESHOLD:z,MIN_MAX_RESULTS:j,MIN_WORKER_THRESHOLD:A,SearchWorkerClient:U,buildIndex:O,clampFuzzyThreshold:R,clampMaxResults:M,clampWorkerThreshold:H,clearFuzzyCache:q,getEffectiveFilterMode:P,isWorkerSupported:Y,normalize:K,rebuildIndex:X,search:Z,searchFuzzy:J,searchSmart:V,searchStrict:Q,shouldUseWorker:$,tokenize:ee});const se=["access-point-off","access-point","accessible","activity","address-book","adjustments-horizontal","adjustments-up","adjustments","affiliate","air-conditioning","alert-circle","alert-square-rounded","alert-triangle","align-center","align-left","align-right","app-window","apps","archive","areas","arrow-back-up","arrow-back","arrow-down-left","arrow-down-right","arrow-down","arrow-forward-up","arrow-forward","arrow-left","arrow-right","arrow-up-left","arrow-up-right","arrow-up","arrows-diagonal","arrows-exchange","arrows-maximize","arrows-minimize","arrows-move","aspect-ratio","atom","ban","basket","battery-1","battery-2","battery-3","battery-4","battery-automotive","battery-charging","battery-eco","battery-off","battery","bell-bolt","bell-off","bell-ringing","bell","bike","bluetooth-connected","bluetooth-off","bluetooth","bolt-off","bolt","book","bookmark-off","bookmark","bookmarks","box-align-top","box-multiple","brand-facebook","brand-instagram","brand-linkedin","brand-x","brand-youtube","briefcase","brightness-down","brightness-up","browser-check","browser-plus","browser-x","browser","brush","building-bank","building-factory","building-lighthouse","building-store","building","bulb-off","bulb","cake","calendar-time","calendar-week","calendar","camera-off","camera","car-crane","car","caravan","cash-banknote","cash","cast","cell","charging-pile","chart-arcs","chart-area-line","chart-area","chart-arrows-vertical","chart-arrows","chart-bar","chart-bubble","chart-circles","chart-donut","chart-dots","chart-line","chart-pie","chart-radar","check","checkbox","checklist","checks","chevron-down","chevron-left","chevron-right","chevron-top","chevrons-left","chevrons-right","circle-caret-right","circle-check","circle-minus","circle-x","circuit-alternate","circuit-ground-digital","clipboard-check","clipboard-list","clipboard-plus","clipboard-text","clipboard-x","clipboard","clock-edit","clock","cloud-data-connection","cloud-download","cloud-rain","cloud-snow","cloud-upload","cloud","color-picker","color-swatch","columns-1","columns-2","columns-3","compass","contract","cookie","copy","cpu","crane","credit-card","crop","cross","crown","currency-bitcoin","currency-dollar","currency-ethereum","currency-euro","cut","dashboard","database","device-desktop","device-floppy","device-gamepad","device-laptop","device-mobile-rotated","device-mobile","device-tablet","device-watch","devices","dialpad","direction-horizontal","direction-sign","direction","discount","door-enter","door-exit","door-off","dots-vertical","dots","download","drone","droplet-filled","droplet-half","droplet","droplets","edit","empty","engine","equal-not","eraser-off","eraser","external-link","eye-check","eye-off","eye","eyeglass2","face-id","feather","file-alert","file-analytics","file-check","file-code","file-download","file-export","file-horizontal","file-import","file-plus","file-search","file-text-bookmark","file-text","file-type-bmp","file-type-css","file-type-csv","file-type-doc","file-type-html","file-type-jpg","file-type-js","file-type-pdf","file-type-png","file-type-ppt","file-type-xls","file-type-xml","file-type-zip","file-upload","file-x","file-zip","file","files-off","files","filter-off","filter-sort","filter","fingerprint","fire-extinguisher","flag","flame","flip-horizontal","flip-vertical","folder-minus","folder-off","folder-plus","folder-x","folder","folders","frame","gas-station","gauge-off","gauge","gift","git-branch-delete","git-branch","git-cherry-pick","git-commit","git-compare","git-fork","git-merge","git-pull-request-closed","git-pull-request-draft","git-pull-request","gps","grid-dots","grip-horizontal","grip-vertical","hand-stop","hand-waving","hash","haze","headphones-off","headphones","headset","heart-off","heart","heartbeat","helicopter","helmet-swopp","helmet","help","history","home","hourglass-empty","hourglass-high","hourglass-low","hourglass-off","hourglass","inbox","info-circle","keyboard-hide","keyboard-show","keyboard","layers-intersect","layers-off","layout-board-split","layout-dashboard","layout-grid","layout-sidebar-left-collapse","layout-sidebar-left-expand","layout-sidebar-right-collapse","layout-sidebar-right-expand","layout","leaf","lifebuoy","link","list-search","list","loader","location","lock-off","lock-open","lock","login","logout","mail-forward","mail-opened","mail","map-pin-2","map-pin-off","map-pin","map","master-data","menu","message-dots","message-off","message","messages","microphone-off","microphone","minus","mist","moon","motorbike","mouse","movie","network","news","note","notebook","notes","offshore-station","package","palette","paperclip","pencil","phone-call","phone-calling","phone-check","phone-incoming","phone-off","phone-outgoing","phone","photo-off","photo","pig","pin","pinned-off","pinned","plane-off","plane","plant","player-pause","player-play","player-skip-back","player-skip-forward","player-stop","player-track-next","player-track-prev","plug-connected","plug","plus","power-ac","power-dc","power","presentation-analytics","presentation","printer","propeller","published","puzzle-2","puzzle","pylon","qrcode","quotes-open","quotes","radar","radio","radioactive","receipt-dollar","receipt-euro","receipt","recharging","recycle","refresh-alert","refresh-off","refresh","repeat-once","repeat","replace","report-analytics","report-medical","report-search","report","ripple-off","ripple","rocket","rotate-2","rotate-clockwise-2","rotate-clockwise","rotate-dot","rotate","router","ruler-measure","sailboat","satellite","scale","school","scissors","scooter-electric","screenshot","search","seeding","select","selector","send","server","settings","shape","share-2","share","shield-check","shield-lock","shield-off","shield-x","shield","ship-off","ship","shopping-cart","sitemap","slash","smart-home","snowflake","solar-panel","sort-ascending-letters","sort-ascending-numbers","sort-descending-letters","sort-descending-numbers","spacing-horizontal","spacing-vertical","sparkles","speakerphone","stack","stairs","star","sun","sunrise","sunset","switch-horizontal","switch-vertical","table","tag","tank-empty-fill","tank-full-fill","tank-medium-fill","temperature-off","temperature","template","terminal","text-size","text","thumb-down","thumb-up","ticket","timeline","tir","tool","tools","train","trash-off","trash","tree","trees","truck-delivery","truck","umbrella","unlink","upload","user-circle","user-exclamation","user-minus","user-off","user-plus","user-worker","user","users","versions","video-minus","video-off","video-plus","video","volume-2","volume-3","volume","wallet","wand","wave","waves","wifi-off","wifi","wind-direction","wind","windmill","wood","world-code","world","writing","x","zoom-reset"];export{oe as animations,re as classUtils,se as iconNames,te as searchEngine,ae as stringUtils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as o,d as s}from"./p-
|
|
1
|
+
import{N as o,d as s}from"./p-Bytxo1iR.js";const t=o,p=s;export{t as NvAccordionItem,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as o,p as e,H as
|
|
1
|
+
import{t as o,p as e,H as t,c as n,f as s,h as i,d as a}from"./p-flcatmxD.js";import{d as r}from"./p-Bytxo1iR.js";import{d as c}from"./p-DKgmDzJ1.js";import{d}from"./p-_zOMJBOq.js";import{d as l}from"./p-D3JDACHw.js";const h=e(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.openIndexesChanged=n(this,"openIndexesChanged",3),this.data=[],this.mode="accordion",this.openIndexes=[],this.updatingFromInternal=!1}async open(o){this.toggleItem(o,!0)}async close(o){this.toggleItem(o,!1)}toggleItem(o,e){const t=Array.from(this.el.querySelectorAll("nv-accordion-item"))[o];if(!t||t.disabled)return console.warn("[toggleItem] Item not found or disabled:",o),void this.openIndexesChanged.emit([...this.openIndexes||[]]);let n=[...this.openIndexes||[]];const s=n.includes(o);"accordion"===this.mode?n=!1===e||void 0===e&&s?[]:[o]:!1===e?n=n.filter((e=>e!==o)):!0!==e||s?void 0===e&&(n=s?n.filter((e=>e!==o)):[...n,o]):n.push(o),this.updatingFromInternal=!0,this.openIndexes=[...n],this.updateChildrenState(),this.updatingFromInternal=!1,this.openIndexesChanged.emit([...n])}async updateChildrenState(){Array.from(this.el.querySelectorAll("nv-accordion-item")).forEach(((o,e)=>{const t=(this.openIndexes||[]).includes(e);o.open=t,o.mode=this.mode,o.setAttribute("aria-expanded",t?"true":"false"),s(o)}))}onItemToggle(o){if(o.stopPropagation(),this.updatingFromInternal)return;const e=Array.from(this.el.querySelectorAll("nv-accordion-item")).indexOf(o.target);-1!==e?this.toggleItem(e,o.detail):console.warn("[onItemToggle] Target item not found in items list")}onOpenIndexesChange(o,e){this.updatingFromInternal||void 0===o||o===e||this.updateChildrenState()}onModeChange(){this.updateChildrenState()}componentWillLoad(){void 0===this.openIndexes&&(this.openIndexes=[])}async componentDidLoad(){const o=Array.from(this.el.querySelectorAll("nv-accordion-item"));if(!(this.data?.length||this.openIndexes&&0!==this.openIndexes.length)){const e=o.map(((o,e)=>o.hasAttribute("open")||o.open?e:-1)).filter((o=>-1!==o));e.length>0&&(this.updatingFromInternal=!0,this.openIndexes=[...e],this.updatingFromInternal=!1,this.openIndexesChanged.emit([...this.openIndexes]))}await this.updateChildrenState()}render(){return i(a,{key:"20a8663e2ff17d685423567ee2ff29b96d4ddef2",role:"list",class:"nv-accordion"},this.data?.length?this.data.map(((o,e)=>i("nv-accordion-item",{key:o.id??e,itemTitle:o.title,disabled:o.disabled,open:(this.openIndexes||[]).includes(e),mode:this.mode},o.subtitle?i("div",{slot:"header"},i("div",{class:"nv-accordion-item__header-content"},i("span",{class:"nv-accordion-item__title"},o.title),i("span",{class:"nv-accordion-item__subtitle"},o.subtitle))):null,i("div",{slot:"content"},o.content),o.footer&&i("div",{slot:"footer"},o.footer)))):i("slot",null))}get el(){return this}static get watchers(){return{openIndexes:[{onOpenIndexesChange:0}],mode:[{onModeChange:0}]}}static get style(){return"nv-accordion{display:block;border:var(--spacing-px) solid var(--color-content-low-border);border-radius:var(--radius-rounded-lg)}nv-accordion .nv-accordion__footer{padding:var(--spacing-3);background:var(--color-level-05-background);border-radius:0 0 var(--radius-rounded-lg) var(--radius-rounded-lg);margin-top:calc(var(--spacing-px) * -1);border-top:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion .nv-accordion__footer:empty{display:none}"}},[260,"nv-accordion",{data:[16],mode:[513],openIndexes:[1040],updatingFromInternal:[32],open:[64],close:[64]},[[0,"itemToggle","onItemToggle"]],{openIndexes:[{onOpenIndexesChange:0}],mode:[{onModeChange:0}]}]);function m(){"undefined"!=typeof customElements&&["nv-accordion","nv-accordion-item","nv-icon","nv-iconbutton","nv-loader"].forEach((e=>{switch(e){case"nv-accordion":customElements.get(o(e))||customElements.define(o(e),h);break;case"nv-accordion-item":customElements.get(o(e))||r();break;case"nv-icon":customElements.get(o(e))||c();break;case"nv-iconbutton":customElements.get(o(e))||d();break;case"nv-loader":customElements.get(o(e))||l()}}))}m();const p=h,v=m;export{p as NvAccordion,v as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as a,H as o,c as n,h as t,d as r}from"./p-
|
|
1
|
+
import{t as e,p as a,H as o,c as n,h as t,d as r}from"./p-flcatmxD.js";import{c as s}from"./p-ChV9xqsO.js";import{F as i}from"./p-BReL3Lsa.js";import{u as c}from"./p-D1C_pu0E.js";import{u as l}from"./p-9xYwU7ku.js";import"./p-Dz1GUhVy.js";import{t as d}from"./p-CgHCo_Ho.js";import{d as f}from"./p-DKgmDzJ1.js";const u=a(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.hiddenChanged=n(this,"hiddenChanged",3),this.hiddenChangedComplete=n(this,"hiddenChangedComplete",3),this.closeClicked=n(this,"closeClicked",3),this.feedback="information",this.dismissible=!1,this.preventAutoClose=!1,this.hidden=!1,this.hasNoAnimations=!1,this.handleDismiss=()=>{this.preventAutoClose||(this.hidden=!0),this.closeClicked.emit()},this.getDefaultIcon=()=>{switch(this.feedback){case i.Warning:return"alert-circle";case i.Information:return"info-circle";case i.Success:return"circle-check";case i.Error:return"alert-circle";case i.Neutral:return"help";default:return"info-circle"}}}componentWillRender(){if(this.color)switch(this.color){case"primary":this.feedback="warning";break;case"secondary":case"neutral":this.feedback="information";break;default:this.feedback=this.color}}async handleHiddenChange(e){this.hiddenChanged.emit(e),await this.updateVisibility(e),this.hiddenChangedComplete.emit(e)}async updateVisibility(e){if(this.hasNoAnimations)return void this.toggleHiddenClass(e);const{fadeIn:a,fadeOut:o}=l(this.el,{duration:150}),{collapse:n,expand:t}=c(this.el,{duration:250});e?(await d(o,n).start(),this.toggleHiddenClass(!0)):(this.toggleHiddenClass(!1),await d(t,a).start())}toggleHiddenClass(e){this.el.classList.toggle("hidden",e)}componentWillLoad(){if(this.color)switch(this.color){case"primary":this.feedback="warning";break;case"secondary":case"neutral":this.feedback="information";break;default:this.feedback=this.color}this.hidden&&this.el.classList.add("hidden")}render(){return t(r,{key:"9a8ab30a8653a1369de135474a7c3772fa48e34b",role:"alert",class:s("root","feedback-"+this.feedback)},t("nv-icon",{key:"3f6789afa52b52b583256a9534297f20cdb638d6",name:this.icon??this.getDefaultIcon(),class:"icon-"+this.feedback,size:"md"}),t("div",{key:"6ef7b204125af6c249db995159a76e540285e0e6",class:"content"},this.heading&&t("p",{key:"0a1622512986eb61003df3690d1e1317ef4a4152",class:"heading"},this.heading),this.message&&t("p",{key:"985884d07932a356af1c124edab0524cd4539521",class:"message"},this.message),t("slot",{key:"cec75763902869e019b6fbc1b793106534a8bbda"})),this.dismissible&&t("button",{key:"9df0c2b641a00a174f8e8a090e0c7d6e48ca97ea",class:"close",type:"button",onClick:this.handleDismiss},t("nv-icon",{key:"973eeb6af6df7f07ce6d7e6965b42b89fa283b83",name:"x",size:"sm"})))}get el(){return this}static get watchers(){return{hidden:[{handleHiddenChange:0}]}}static get style(){return"nv-alert{display:flex !important;align-items:flex-start;position:relative;gap:var(--alert-gap-x);border-radius:var(--alert-radius);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif}nv-alert>nv-icon{margin-left:var(--alert-icon-position-x);margin-top:var(--alert-icon-position-y)}nv-alert.hidden{display:none !important}nv-alert.feedback-information{background-color:var(--components-alert-information-background);border:1px solid var(--components-alert-information-border) !important}nv-alert.feedback-information>.close:focus,nv-alert.feedback-information>.close:focus-within{outline:none}nv-alert.feedback-information>.close:focus-visible,nv-alert.feedback-information>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-information-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-warning{background-color:var(--components-alert-warning-background);border:1px solid var(--components-alert-warning-border) !important}nv-alert.feedback-warning>.close:focus,nv-alert.feedback-warning>.close:focus-within{outline:none}nv-alert.feedback-warning>.close:focus-visible,nv-alert.feedback-warning>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-warning-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-error{background-color:var(--components-alert-error-background);border:1px solid var(--components-alert-error-border) !important}nv-alert.feedback-error>.close:focus,nv-alert.feedback-error>.close:focus-within{outline:none}nv-alert.feedback-error>.close:focus-visible,nv-alert.feedback-error>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-error-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-success{background-color:var(--components-alert-success-background);border:1px solid var(--components-alert-success-border) !important}nv-alert.feedback-success>.close:focus,nv-alert.feedback-success>.close:focus-within{outline:none}nv-alert.feedback-success>.close:focus-visible,nv-alert.feedback-success>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-success-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-neutral{background-color:var(--components-alert-neutral-background);border:1px solid var(--components-alert-neutral-border) !important}nv-alert.feedback-neutral>.close:focus,nv-alert.feedback-neutral>.close:focus-within{outline:none}nv-alert.feedback-neutral>.close:focus-visible,nv-alert.feedback-neutral>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-neutral-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert>nv-icon.icon-information{color:var(--components-alert-information-icon)}nv-alert>nv-icon.icon-warning{color:var(--components-alert-warning-icon)}nv-alert>nv-icon.icon-error{color:var(--components-alert-error-icon)}nv-alert>nv-icon.icon-success{color:var(--components-alert-success-icon)}nv-alert>nv-icon.icon-neutral{color:var(--components-alert-neutral-icon)}nv-alert>.content{display:flex;padding:var(--alert-padding);padding-right:calc(var(--alert-padding) + var(--spacing-5) + var(--spacing-1));padding-left:0;flex-direction:column;gap:var(--alert-gap-y)}nv-alert>.content>.heading{color:var(--components-alert-content-title);font-size:var(--alert-heading-font-size);line-height:var(--alert-heading-line-height);font-weight:var(--alert-heading-font-weight)}nv-alert>.content>.message{color:var(--components-alert-content-description);font-size:var(--alert-message-font-size);line-height:var(--alert-message-line-height)}nv-alert>.close{border-radius:var(--alert-radius);position:absolute;display:flex;top:var(--alert-icon-position-y);right:var(--alert-icon-position-x);padding:0;border:none;background:none;cursor:pointer}"}},[260,"nv-alert",{color:[513],feedback:[1537],message:[513],heading:[513],icon:[513],dismissible:[516],preventAutoClose:[516,"prevent-auto-close"],hidden:[1540],hasNoAnimations:[516,"has-no-animations"]},void 0,{hidden:[{handleHiddenChange:0}]}]);function v(){"undefined"!=typeof customElements&&["nv-alert","nv-icon"].forEach((a=>{switch(a){case"nv-alert":customElements.get(e(a))||customElements.define(e(a),u);break;case"nv-icon":customElements.get(e(a))||f()}}))}v();const h=u,b=v;export{h as NvAlert,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a,p as t,H as r,h as o,d as n}from"./p-
|
|
1
|
+
import{t as a,p as t,H as r,h as o,d as n}from"./p-flcatmxD.js";import{c as v}from"./p-ChV9xqsO.js";import{S as s}from"./p-BReL3Lsa.js";import{d as e}from"./p-DKgmDzJ1.js";const i=t(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.size="md",this.color="1"}componentWillRender(){this.xsmall&&(this.size=s.ExtraSmall),this.small&&(this.size=s.Small),this.medium&&(this.size=s.Medium),this.large&&(this.size=s.Large),this.xlarge&&(this.size=s.ExtraLarge),this.text&&(this.initials=this.text),this.url&&(this.src=this.url)}trimInitials(a){return a.trim().substring(0,2)}render(){return o(n,{key:"127d470eb9121f611f9e18f029ab9ef15a4a49df",class:v("avatar-"+this.size,"avatar-color-"+this.color),"aria-label":this.alt},this.src?o("img",{src:this.src,alt:this.alt}):this.initials?this.trimInitials(this.initials):o("slot",{name:"icon"},o("nv-icon",{name:"user"})))}static get style(){return"nv-avatar{align-items:center !important;background-color:var(--components-avatar-background-1);border-radius:var(--radius-rounded-full) !important;display:flex !important;flex-shrink:0 !important;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-style:normal;font-weight:var(--font-weight-medium-emphasis);justify-content:center !important;leading-trim:both;line-height:1 !important;text-align:center;text-edge:cap;text-transform:uppercase}nv-avatar.avatar-color-1{background-color:var(--components-avatar-background-1);color:var(--components-avatar-content-1)}nv-avatar.avatar-color-2{background-color:var(--components-avatar-background-2);color:var(--components-avatar-content-2)}nv-avatar.avatar-color-3{background-color:var(--components-avatar-background-3);color:var(--components-avatar-content-3)}nv-avatar.avatar-color-4{background-color:var(--components-avatar-background-4);color:var(--components-avatar-content-4)}nv-avatar.avatar-color-5{background-color:var(--components-avatar-background-5);color:var(--components-avatar-content-5)}nv-avatar.avatar-color-6{background-color:var(--components-avatar-background-6);color:var(--components-avatar-content-6)}nv-avatar.avatar-color-7{background-color:var(--components-avatar-background-7);color:var(--components-avatar-content-7)}nv-avatar.avatar-color-8{background-color:var(--components-avatar-background-8);color:var(--components-avatar-content-8)}nv-avatar.avatar-color-9{background-color:var(--components-avatar-background-9);color:var(--components-avatar-content-9)}nv-avatar.avatar-color-10{background-color:var(--components-avatar-background-10);color:var(--components-avatar-content-10)}nv-avatar img{height:100%;width:100%;object-fit:cover;object-position:center;border-radius:50%}nv-avatar.avatar-xs{width:var(--avatar-xs-size);height:var(--avatar-xs-size);font-size:var(--avatar-xs-font-size);line-height:var(--avatar-xs-font-size)}nv-avatar.avatar-xs nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-avatar.avatar-sm{width:var(--avatar-sm-size);height:var(--avatar-sm-size);font-size:var(--avatar-sm-font-size);line-height:var(--avatar-sm-font-size)}nv-avatar.avatar-sm nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-avatar.avatar-md{width:var(--avatar-md-size);height:var(--avatar-md-size);font-size:var(--avatar-md-font-size);line-height:var(--avatar-md-font-size)}nv-avatar.avatar-md nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-avatar.avatar-lg{width:var(--avatar-lg-size);height:var(--avatar-lg-size);font-size:var(--avatar-lg-font-size);line-height:var(--avatar-lg-font-size)}nv-avatar.avatar-lg nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-avatar.avatar-xl{width:var(--avatar-xl-size);height:var(--avatar-xl-size);font-size:var(--avatar-xl-font-size);line-height:var(--avatar-xl-font-size)}nv-avatar.avatar-xl nv-icon>svg{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}"}},[260,"nv-avatar",{xsmall:[516],small:[516],medium:[516],large:[516],xlarge:[516],text:[513],url:[513],alt:[513],src:[1537],initials:[1537],size:[1537],color:[513]}]);function c(){"undefined"!=typeof customElements&&["nv-avatar","nv-icon"].forEach((t=>{switch(t){case"nv-avatar":customElements.get(a(t))||customElements.define(a(t),i);break;case"nv-icon":customElements.get(a(t))||e()}}))}c();const l=i,h=c;export{l as NvAvatar,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as o,d as s}from"./p-
|
|
1
|
+
import{N as o,d as s}from"./p-DdcXhR3I.js";const p=o,r=s;export{p as NvBadge,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as r,h as n,d as o}from"./p-
|
|
1
|
+
import{t as e,p as t,H as r,h as n,d as o}from"./p-flcatmxD.js";import{c as i}from"./p-ChV9xqsO.js";import{d as a}from"./p-RYxAzR3m.js";import{d as s}from"./p-D1psKXwD.js";const c=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.type="default"}componentDidRender(){if("default"===this.type&&this.tooltip){const e=this.defaultSlot?.nextSibling;e&&e!==this.toolTipRef&&(this.toolTipRef.triggerElement=e)}"collapsed"===this.type&&this.popoverRef&&(this.popoverRef.triggerElement=this.popoverTrigger)}render(){return n(o,{key:"032880129d2acf89ed3e57367e357391a1e0848d",role:"listitem","aria-current":this.current?"location":void 0,class:i({"visually-hidden":this.current})},"collapsed"===this.type?n("button",{ref:e=>this.popoverTrigger=e},"..."):n("slot",{ref:e=>this.defaultSlot=e}),this.tooltip&&n("nv-tooltip",{key:"90cdd03fa067846b3f3fa8ff264899b6ca170485",ref:e=>this.toolTipRef=e,message:this.tooltip,triggerElement:this.popoverTrigger,placement:"top"}),"collapsed"===this.type&&n("nv-popover",{key:"acda8815ed5e216cf89cdd34323dd8211a8ea020",ref:e=>this.popoverRef=e,triggerMode:"click",groupName:"breadcrumbs",triggerElement:this.popoverTrigger},n("ul",{key:"424396d17c2452cb6280aaa6446ee6f8ea52ea6e",slot:"content"},n("slot",{key:"668bc1e090901e62c01079e4b058d3e6b044afd0"}))),n("span",{key:"1c84f3c4cf91cc976722a838188baae0521eb7f4","data-scope":"separator"},"/"))}get el(){return this}static get style(){return"nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--line-height-sm)}nv-breadcrumb.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}"}},[260,"nv-breadcrumb",{type:[513],tooltip:[513],current:[516]}]);function u(){"undefined"!=typeof customElements&&["nv-breadcrumb","nv-popover","nv-tooltip"].forEach((t=>{switch(t){case"nv-breadcrumb":customElements.get(e(t))||customElements.define(e(t),c);break;case"nv-popover":customElements.get(e(t))||a();break;case"nv-tooltip":customElements.get(e(t))||s()}}))}u();const l=c,b=u;export{l as NvBreadcrumb,b as defineCustomElement}
|