@nova-design-system/nova-webcomponents 3.23.0 → 3.24.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/app-globals-V2Kpy_OQ.js.map +1 -1
- package/dist/cjs/events.utils-BE6R5q9C.js +33 -0
- package/dist/cjs/events.utils-BE6R5q9C.js.map +1 -0
- package/dist/cjs/{grow.animation-BrWzyoUA.js → grow.animation-ynu_HmA_.js} +2 -30
- package/dist/cjs/grow.animation-ynu_HmA_.js.map +1 -0
- package/dist/cjs/{i18n.utils-BizoXo6c.js → i18n.utils-ku0bScip.js} +16 -20
- package/dist/cjs/{i18n.utils-BizoXo6c.js.map → i18n.utils-ku0bScip.js.map} +1 -1
- package/dist/cjs/index-B1na8x6M.js +12 -4
- package/dist/cjs/index.cjs.js +5 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/index.esm-CG1TVKfu.js +540 -0
- package/dist/cjs/index.esm-CG1TVKfu.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-accordion.cjs.entry.js +2 -7
- package/dist/cjs/nv-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +1 -2
- package/dist/cjs/nv-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +3 -5
- package/dist/cjs/nv-button.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +14 -24
- package/dist/cjs/nv-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +67 -72
- package/dist/cjs/nv-datagrid.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +6 -538
- package/dist/cjs/nv-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-drawer.cjs.entry.js +443 -0
- package/dist/cjs/nv-drawer.entry.cjs.js.map +1 -0
- package/dist/cjs/nv-drawerfooter.nv-drawerheader.entry.cjs.js.map +1 -0
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +144 -0
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldcheckbox.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fielddate.cjs.entry.js +12 -15
- package/dist/cjs/nv-fielddate.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +12 -13
- package/dist/cjs/nv-fielddaterange.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +24 -33
- package/dist/cjs/nv-fielddropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -3
- package/dist/cjs/nv-fielddropdownitem.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +19 -27
- package/dist/cjs/nv-fieldmultiselect.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldnumber.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldpassword.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldradio.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldselect.cjs.entry.js +8 -8
- package/dist/cjs/nv-fieldselect.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldslider.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldslider.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldtext.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldtext.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +6 -7
- package/dist/cjs/nv-fieldtextarea.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-fieldtime.cjs.entry.js +27 -35
- package/dist/cjs/nv-fieldtime.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-icon.cjs.entry.js +2 -2
- package/dist/cjs/nv-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-iconbutton.nv-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +5 -6
- package/dist/cjs/nv-menu.cjs.entry.js +3 -4
- package/dist/cjs/nv-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -2
- package/dist/cjs/nv-notification-bullet.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +6 -9
- package/dist/cjs/nv-notification.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +12 -12
- package/dist/cjs/nv-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/nv-sidebar.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +4 -5
- package/dist/cjs/nv-sidebarnavitem.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-split.cjs.entry.js +43 -41
- package/dist/cjs/nv-split.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +6 -8
- package/dist/cjs/nv-table.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-tableheader.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebutton.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +3 -4
- package/dist/cjs/nv-togglebuttongroup.entry.cjs.js.map +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/nv-accordion/nv-accordion.docs.js +66 -40
- package/dist/collection/components/nv-accordion/nv-accordion.docs.js.map +1 -1
- package/dist/collection/components/nv-accordion/nv-accordion.js +2 -7
- package/dist/collection/components/nv-accordion/nv-accordion.js.map +1 -1
- package/dist/collection/components/nv-alert/nv-alert.docs.js +18 -1
- package/dist/collection/components/nv-alert/nv-alert.docs.js.map +1 -1
- package/dist/collection/components/nv-alert/nv-alert.js +1 -2
- package/dist/collection/components/nv-alert/nv-alert.js.map +1 -1
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js +56 -0
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js.map +1 -1
- package/dist/collection/components/nv-badge/nv-badge.docs.js +64 -15
- package/dist/collection/components/nv-badge/nv-badge.docs.js.map +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +10 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js.map +1 -1
- package/dist/collection/components/nv-button/nv-button.docs.js +38 -4
- package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -1
- package/dist/collection/components/nv-button/nv-button.js +3 -5
- package/dist/collection/components/nv-button/nv-button.js.map +1 -1
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +22 -0
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +269 -14
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.js +13 -22
- package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
- package/dist/collection/components/nv-calendar/partials/week-numbers.js +1 -2
- package/dist/collection/components/nv-calendar/partials/week-numbers.js.map +1 -1
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +11 -11
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js.map +1 -1
- package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js +2 -2
- package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js.map +1 -1
- package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js +6 -5
- package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js.map +1 -1
- package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js +10 -1
- package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js.map +1 -1
- package/dist/collection/components/nv-col/nv-col.docs.js +8 -0
- package/dist/collection/components/nv-col/nv-col.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +290 -286
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +67 -72
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +64 -13
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.css +114 -0
- package/dist/collection/components/nv-drawer/nv-drawer.docs.js +145 -0
- package/dist/collection/components/nv-drawer/nv-drawer.docs.js.map +1 -0
- package/dist/collection/components/nv-drawer/nv-drawer.js +719 -0
- package/dist/collection/components/nv-drawer/nv-drawer.js.map +1 -0
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.css +8 -0
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +6 -0
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js.map +1 -0
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +325 -0
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js.map +1 -0
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.css +32 -0
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +6 -0
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js.map +1 -0
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +92 -0
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js.map +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +186 -136
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +6 -6
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js.map +1 -1
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +300 -109
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +11 -14
- package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
- package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +1 -1
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +406 -1
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +11 -12
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +210 -118
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +22 -31
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +1 -1
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +2 -3
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js.map +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +462 -322
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +17 -25
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +70 -7
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +5 -5
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +79 -6
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +5 -5
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +58 -6
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +138 -30
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +7 -7
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +1 -1
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +138 -30
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldslider/partials/field-input.js +1 -1
- package/dist/collection/components/nv-fieldslider/partials/field-input.js.map +1 -1
- package/dist/collection/components/nv-fieldslider/styles/nv-fieldslider.css +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +92 -16
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +5 -5
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +64 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +6 -7
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +41 -22
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +25 -33
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +1 -1
- package/dist/collection/components/nv-fieldtime/utils/format-utils.js +1 -1
- package/dist/collection/components/nv-fieldtime/utils/format-utils.js.map +1 -1
- package/dist/collection/components/nv-icon/nv-icon.docs.js +46 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js.map +1 -1
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-icon/nv-icons.js +2 -0
- package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.css +4 -4
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +18 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +3 -4
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js.map +1 -1
- package/dist/collection/components/nv-loader/nv-loader.docs.js +8 -4
- package/dist/collection/components/nv-loader/nv-loader.docs.js.map +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js +17 -5
- package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +3 -4
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-notification/nv-notification.docs.js +34 -3
- package/dist/collection/components/nv-notification/nv-notification.docs.js.map +1 -1
- package/dist/collection/components/nv-notification/nv-notification.js +6 -9
- package/dist/collection/components/nv-notification/nv-notification.js.map +1 -1
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +60 -0
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js.map +1 -1
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js +1 -2
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js.map +1 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.docs.js +35 -10
- package/dist/collection/components/nv-popover/nv-popover.docs.js.map +1 -1
- package/dist/collection/components/nv-popover/nv-popover.js +2 -3
- package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
- package/dist/collection/components/nv-row/nv-row.docs.js +7 -0
- package/dist/collection/components/nv-row/nv-row.docs.js.map +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +39 -0
- package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js.map +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +3 -3
- package/dist/collection/components/nv-sidebar/nv-sidebar.js.map +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +5 -6
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js.map +1 -1
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.docs.js +38 -2
- package/dist/collection/components/nv-split/nv-split.docs.js.map +1 -1
- package/dist/collection/components/nv-split/nv-split.js +44 -42
- package/dist/collection/components/nv-split/nv-split.js.map +1 -1
- package/dist/collection/components/nv-split/styles/nv-split.css +2 -0
- package/dist/collection/components/nv-stack/nv-stack.docs.js +13 -0
- package/dist/collection/components/nv-stack/nv-stack.docs.js.map +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.docs.js +12 -0
- package/dist/collection/components/nv-table/nv-table.docs.js.map +1 -1
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-table/nv-table.utils.js +5 -7
- package/dist/collection/components/nv-table/nv-table.utils.js.map +1 -1
- package/dist/collection/components/nv-table/test/nv-table.utils.test.js +4 -5
- package/dist/collection/components/nv-table/test/nv-table.utils.test.js.map +1 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +29 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js.map +1 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +2 -2
- package/dist/collection/components/nv-tableheader/nv-tableheader.js.map +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js +31 -0
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js.map +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebutton/styles/nv-togglebutton.css +16 -12
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +20 -7
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js.map +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +2 -3
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js.map +1 -1
- package/dist/collection/components/nv-togglebuttongroup/styles/nv-togglebuttongroup.css +4 -12
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +33 -6
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js.map +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/templates/navigation.docs.js +1 -1
- package/dist/collection/templates/navigation.docs.js.map +1 -1
- package/dist/collection/utils/i18n.utils.js +1 -2
- package/dist/collection/utils/i18n.utils.js.map +1 -1
- package/dist/collection/utils/search-engine/strategies/fuzzy.js +2 -2
- package/dist/collection/utils/search-engine/strategies/fuzzy.js.map +1 -1
- package/dist/collection/utils/search-engine/strategies/smart.js +2 -2
- package/dist/collection/utils/search-engine/strategies/smart.js.map +1 -1
- package/dist/collection/utils/search-engine/strategies/strict.js +2 -2
- package/dist/collection/utils/search-engine/strategies/strict.js.map +1 -1
- package/dist/collection/utils/search-engine/worker/worker-client.js +7 -10
- package/dist/collection/utils/search-engine/worker/worker-client.js.map +1 -1
- package/dist/components/index.js +4 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +6 -11
- package/dist/components/nv-accordion.js.map +1 -1
- package/dist/components/nv-alert.js +2 -3
- package/dist/components/nv-alert.js.map +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +2 -2
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-datagrid.js +69 -74
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-dialog.js +7 -539
- package/dist/components/nv-dialog.js.map +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-drawer.d.ts +11 -0
- package/dist/components/nv-drawer.js +507 -0
- package/dist/components/nv-drawer.js.map +1 -0
- package/dist/components/nv-drawerfooter.d.ts +11 -0
- package/dist/components/nv-drawerfooter.js +9 -0
- package/dist/components/nv-drawerfooter.js.map +1 -0
- package/dist/components/nv-drawerheader.d.ts +11 -0
- package/dist/components/nv-drawerheader.js +9 -0
- package/dist/components/nv-drawerheader.js.map +1 -0
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +18 -21
- package/dist/components/nv-fielddate.js.map +1 -1
- package/dist/components/nv-fielddaterange.js +18 -19
- package/dist/components/nv-fielddaterange.js.map +1 -1
- package/dist/components/nv-fielddropdown.js +29 -38
- package/dist/components/nv-fielddropdown.js.map +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +26 -34
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +9 -9
- package/dist/components/nv-fieldpassword.js.map +1 -1
- package/dist/components/nv-fieldradio.js +4 -4
- package/dist/components/nv-fieldradio.js.map +1 -1
- package/dist/components/nv-fieldselect.js +11 -11
- package/dist/components/nv-fieldselect.js.map +1 -1
- package/dist/components/nv-fieldslider.js +9 -9
- package/dist/components/nv-fieldslider.js.map +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +6 -7
- package/dist/components/nv-fieldtextarea.js.map +1 -1
- package/dist/components/nv-fieldtime.js +31 -39
- package/dist/components/nv-fieldtime.js.map +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 +6 -7
- package/dist/components/nv-menu.js.map +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 +7 -10
- package/dist/components/nv-notification.js.map +1 -1
- package/dist/components/nv-notificationcontainer.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 +4 -4
- package/dist/components/nv-sidebar.js.map +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 +6 -7
- package/dist/components/nv-sidebarnavitem.js.map +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +43 -41
- package/dist/components/nv-split.js.map +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +6 -8
- package/dist/components/nv-table.js.map +1 -1
- package/dist/components/nv-tableheader.js +5 -5
- package/dist/components/nv-tableheader.js.map +1 -1
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-togglebutton.js +2 -2
- package/dist/components/nv-togglebutton.js.map +1 -1
- package/dist/components/nv-togglebuttongroup.js +3 -4
- package/dist/components/nv-togglebuttongroup.js.map +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-D1i2OAGe.js → p-B45HbBWe.js} +6 -8
- package/dist/components/p-B45HbBWe.js.map +1 -0
- package/dist/components/p-B6GgGra-.js +29 -0
- package/dist/components/p-B6GgGra-.js.map +1 -0
- package/dist/components/{p-Dk8ekxr_.js → p-B7VlEQVW.js} +16 -26
- package/dist/components/p-B7VlEQVW.js.map +1 -0
- package/dist/components/{p-B-3kAnun.js → p-B9i3m6rk.js} +6 -6
- package/dist/components/p-B9i3m6rk.js.map +1 -0
- package/dist/components/{p-BQo7AMPX.js → p-BILd3Ta-.js} +9 -9
- package/dist/components/p-BILd3Ta-.js.map +1 -0
- package/dist/components/{p-Dc_0pr83.js → p-BISctfud.js} +8 -8
- package/dist/components/p-BISctfud.js.map +1 -0
- package/dist/components/{p-CIyQBhTX.js → p-BVOv1zgq.js} +4 -4
- package/dist/components/{p-CIyQBhTX.js.map → p-BVOv1zgq.js.map} +1 -1
- package/dist/components/{p-B6EYOx_n.js → p-Bg_l3jn1.js} +3 -3
- package/dist/components/{p-B6EYOx_n.js.map → p-Bg_l3jn1.js.map} +1 -1
- package/dist/components/{p-CBvZjfqs.js → p-C2QAWGhf.js} +4 -4
- package/dist/components/{p-CBvZjfqs.js.map → p-C2QAWGhf.js.map} +1 -1
- package/dist/components/{p-DzUXTCUy.js → p-COnt5ux_.js} +3 -3
- package/dist/components/{p-DzUXTCUy.js.map → p-COnt5ux_.js.map} +1 -1
- package/dist/components/{p-KUIQrV3D.js → p-Cc7XnqPp.js} +5 -5
- package/dist/components/{p-KUIQrV3D.js.map → p-Cc7XnqPp.js.map} +1 -1
- package/dist/components/{p-CmwaW0q4.js → p-D02w_Ru6.js} +3 -28
- package/dist/components/p-D02w_Ru6.js.map +1 -0
- package/dist/components/p-D3eWMME9.js +538 -0
- package/dist/components/p-D3eWMME9.js.map +1 -0
- package/dist/components/{p--iYGZN4R.js → p-D6APFL6N.js} +11 -11
- package/dist/components/p-D6APFL6N.js.map +1 -0
- package/dist/components/{p-DstpaOhw.js → p-DZJHk4fr.js} +3 -3
- package/dist/components/{p-DstpaOhw.js.map → p-DZJHk4fr.js.map} +1 -1
- package/dist/components/{p-Da9WgE5U.js → p-DiUP3TzF.js} +5 -5
- package/dist/components/{p-Da9WgE5U.js.map → p-DiUP3TzF.js.map} +1 -1
- package/dist/components/{p-DWG6az-u.js → p-DpDooigg.js} +5 -6
- package/dist/components/p-DpDooigg.js.map +1 -0
- package/dist/components/{p-BKfPh2in.js → p-Dr-67WvG.js} +4 -4
- package/dist/components/{p-BKfPh2in.js.map → p-Dr-67WvG.js.map} +1 -1
- package/dist/components/{p-DaiLIZ8f.js → p-DvapDVBj.js} +8 -9
- package/dist/components/p-DvapDVBj.js.map +1 -0
- package/dist/components/{p-DOZbXX2L.js → p-IlwlcG9l.js} +16 -20
- package/dist/components/p-IlwlcG9l.js.map +1 -0
- package/dist/components/p-W6vOfMC9.js +63 -0
- package/dist/components/p-W6vOfMC9.js.map +1 -0
- package/dist/components/{p-CBOuqJTb.js → p-nfYynlVq.js} +4 -4
- package/dist/components/{p-CBOuqJTb.js.map → p-nfYynlVq.js.map} +1 -1
- package/dist/components/{p-CBF8V1L7.js → p-tyaJ-nGV.js} +3 -4
- package/dist/components/p-tyaJ-nGV.js.map +1 -0
- package/dist/components/p-u-maNLLs.js +145 -0
- package/dist/components/p-u-maNLLs.js.map +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm/events.utils-B6GgGra-.js +29 -0
- package/dist/esm/events.utils-B6GgGra-.js.map +1 -0
- package/dist/esm/{grow.animation-CvHGHBL4.js → grow.animation-D7ep_aVl.js} +3 -28
- package/dist/esm/grow.animation-D7ep_aVl.js.map +1 -0
- package/dist/esm/{i18n.utils-DOZbXX2L.js → i18n.utils-IlwlcG9l.js} +16 -20
- package/dist/esm/{i18n.utils-DOZbXX2L.js.map → i18n.utils-IlwlcG9l.js.map} +1 -1
- package/dist/esm/index-CasQushP.js +12 -4
- package/dist/esm/index.esm-D3eWMME9.js +538 -0
- package/dist/esm/index.esm-D3eWMME9.js.map +1 -0
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-accordion.entry.js +2 -7
- package/dist/esm/nv-accordion.entry.js.map +1 -1
- package/dist/esm/nv-alert.entry.js +1 -2
- package/dist/esm/nv-alert.entry.js.map +1 -1
- package/dist/esm/nv-badge_2.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +3 -5
- package/dist/esm/nv-button.entry.js.map +1 -1
- package/dist/esm/nv-calendar.entry.js +14 -24
- package/dist/esm/nv-calendar.entry.js.map +1 -1
- package/dist/esm/nv-datagrid.entry.js +67 -72
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-dialog.entry.js +3 -535
- package/dist/esm/nv-dialog.entry.js.map +1 -1
- package/dist/esm/nv-drawer.entry.js +441 -0
- package/dist/esm/nv-drawer.entry.js.map +1 -0
- package/dist/esm/nv-drawerfooter.nv-drawerheader.entry.js.map +1 -0
- package/dist/esm/nv-drawerfooter_2.entry.js +141 -0
- package/dist/esm/nv-fieldcheckbox.entry.js +6 -6
- package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
- package/dist/esm/nv-fielddate.entry.js +12 -15
- package/dist/esm/nv-fielddate.entry.js.map +1 -1
- package/dist/esm/nv-fielddaterange.entry.js +12 -13
- package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +24 -33
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -3
- package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +19 -27
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +6 -6
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
- package/dist/esm/nv-fieldpassword.entry.js +6 -6
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldradio.entry.js.map +1 -1
- package/dist/esm/nv-fieldselect.entry.js +8 -8
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldslider.entry.js +5 -5
- package/dist/esm/nv-fieldslider.entry.js.map +1 -1
- package/dist/esm/nv-fieldtext.entry.js +6 -6
- package/dist/esm/nv-fieldtext.entry.js.map +1 -1
- package/dist/esm/nv-fieldtextarea.entry.js +6 -7
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
- package/dist/esm/nv-fieldtime.entry.js +27 -35
- package/dist/esm/nv-fieldtime.entry.js.map +1 -1
- package/dist/esm/nv-icon.entry.js +2 -2
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton.nv-loader.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +5 -6
- package/dist/esm/nv-menu.entry.js +3 -4
- package/dist/esm/nv-menu.entry.js.map +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-notification-bullet.entry.js +1 -2
- package/dist/esm/nv-notification-bullet.entry.js.map +1 -1
- package/dist/esm/nv-notification.entry.js +6 -9
- package/dist/esm/nv-notification.entry.js.map +1 -1
- package/dist/esm/nv-notificationcontainer.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +4 -4
- package/dist/esm/nv-popover.entry.js.map +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-sidebar.entry.js +3 -3
- package/dist/esm/nv-sidebar.entry.js.map +1 -1
- package/dist/esm/nv-sidebarcontent.entry.js +1 -1
- package/dist/esm/nv-sidebardivider.entry.js +1 -1
- package/dist/esm/nv-sidebarfooter.entry.js +1 -1
- package/dist/esm/nv-sidebargroup.entry.js +1 -1
- package/dist/esm/nv-sidebarheader.entry.js +1 -1
- package/dist/esm/nv-sidebarlogo.entry.js +1 -1
- package/dist/esm/nv-sidebarnavitem.entry.js +4 -5
- package/dist/esm/nv-sidebarnavitem.entry.js.map +1 -1
- package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
- package/dist/esm/nv-split.entry.js +43 -41
- package/dist/esm/nv-split.entry.js.map +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +6 -8
- package/dist/esm/nv-table.entry.js.map +1 -1
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-tableheader.entry.js.map +1 -1
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebutton.entry.js.map +1 -1
- package/dist/esm/nv-togglebuttongroup.entry.js +3 -4
- package/dist/esm/nv-togglebuttongroup.entry.js.map +1 -1
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/lib/generators/angular-output.js +9 -7
- package/dist/lib/generators/angular-output.js.map +1 -1
- package/dist/lib/generators/docs-blazor.js +32 -14
- package/dist/lib/generators/docs-blazor.js.map +1 -1
- package/dist/lib/generators/vue-output.js +10 -11
- package/dist/lib/generators/vue-output.js.map +1 -1
- package/dist/lib/utils/componentBinding.js +9 -10
- package/dist/lib/utils/componentBinding.js.map +1 -1
- package/dist/lib/utils/parseToCSharpTypes.js +3 -16
- package/dist/lib/utils/parseToCSharpTypes.js.map +1 -1
- package/dist/lib/utils/spread.js +3 -4
- package/dist/lib/utils/spread.js.map +1 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/index.esm.js.map +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/nv-accordion.entry.esm.js.map +1 -1
- package/dist/native/nv-alert.entry.esm.js.map +1 -1
- package/dist/native/nv-button.entry.esm.js.map +1 -1
- package/dist/native/nv-calendar.entry.esm.js.map +1 -1
- package/dist/native/nv-datagrid.entry.esm.js.map +1 -1
- package/dist/native/nv-dialog.entry.esm.js.map +1 -1
- package/dist/native/nv-drawer.entry.esm.js.map +1 -0
- package/dist/native/nv-drawerfooter.nv-drawerheader.entry.esm.js.map +1 -0
- package/dist/native/nv-fieldcheckbox.entry.esm.js.map +1 -1
- package/dist/native/nv-fielddate.entry.esm.js.map +1 -1
- package/dist/native/nv-fielddaterange.entry.esm.js.map +1 -1
- package/dist/native/nv-fielddropdown.entry.esm.js.map +1 -1
- package/dist/native/nv-fielddropdownitem.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldmultiselect.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldnumber.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldpassword.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldradio.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldselect.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldslider.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldtext.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldtextarea.entry.esm.js.map +1 -1
- package/dist/native/nv-fieldtime.entry.esm.js.map +1 -1
- package/dist/native/nv-icon.entry.esm.js.map +1 -1
- package/dist/native/nv-iconbutton.nv-loader.entry.esm.js.map +1 -1
- package/dist/native/nv-menu.entry.esm.js.map +1 -1
- package/dist/native/nv-notification-bullet.entry.esm.js.map +1 -1
- package/dist/native/nv-notification.entry.esm.js.map +1 -1
- package/dist/native/nv-popover.entry.esm.js.map +1 -1
- package/dist/native/nv-sidebar.entry.esm.js.map +1 -1
- package/dist/native/nv-sidebarnavitem.entry.esm.js.map +1 -1
- package/dist/native/nv-split.entry.esm.js.map +1 -1
- package/dist/native/nv-table.entry.esm.js.map +1 -1
- package/dist/native/nv-tableheader.entry.esm.js.map +1 -1
- package/dist/native/nv-togglebutton.entry.esm.js.map +1 -1
- package/dist/native/nv-togglebuttongroup.entry.esm.js.map +1 -1
- package/dist/native/{p-b21e38a3.entry.js → p-04a2fe7f.entry.js} +2 -2
- package/dist/native/p-08204da4.entry.js +2 -0
- package/dist/native/{p-bd6ae5f3.entry.js.map → p-08204da4.entry.js.map} +1 -1
- package/dist/native/{p-e0adb05d.entry.js → p-0e07b91b.entry.js} +2 -2
- package/dist/native/p-0e07b91b.entry.js.map +1 -0
- package/dist/native/p-136dfb3e.entry.js +2 -0
- package/dist/native/p-136dfb3e.entry.js.map +1 -0
- package/dist/native/p-1f2dd37f.entry.js +2 -0
- package/dist/native/p-1f2dd37f.entry.js.map +1 -0
- package/dist/native/p-255a0482.entry.js +2 -0
- package/dist/native/p-255a0482.entry.js.map +1 -0
- package/dist/native/{p-f73e9752.entry.js → p-3305a7e6.entry.js} +2 -2
- package/dist/native/p-3305a7e6.entry.js.map +1 -0
- package/dist/native/p-36b0a6f0.entry.js +2 -0
- package/dist/native/p-36b0a6f0.entry.js.map +1 -0
- package/dist/native/p-434bc910.entry.js +2 -0
- package/dist/native/p-434bc910.entry.js.map +1 -0
- package/dist/native/{p-ea98ba7a.entry.js → p-436029a5.entry.js} +2 -2
- package/dist/native/p-460fdf02.entry.js +2 -0
- package/dist/native/p-460fdf02.entry.js.map +1 -0
- package/dist/native/p-477e02cf.entry.js +2 -0
- package/dist/native/p-477e02cf.entry.js.map +1 -0
- package/dist/native/{p-28afb852.entry.js → p-4efb582b.entry.js} +2 -2
- package/dist/native/p-4efb582b.entry.js.map +1 -0
- package/dist/native/p-4f1dfa32.entry.js +2 -0
- package/dist/native/p-4f1dfa32.entry.js.map +1 -0
- package/dist/native/p-51b7de55.entry.js +13 -0
- package/dist/native/p-51b7de55.entry.js.map +1 -0
- package/dist/native/{p-37c6d559.entry.js → p-5dd120dc.entry.js} +2 -2
- package/dist/native/p-5dd120dc.entry.js.map +1 -0
- package/dist/native/{p-5acf105e.entry.js → p-67181258.entry.js} +2 -2
- package/dist/native/p-6a81884b.entry.js +2 -0
- package/dist/native/p-6a81884b.entry.js.map +1 -0
- package/dist/native/p-6aa483de.entry.js +2 -0
- package/dist/native/{p-b1a917c7.entry.js → p-6fc79712.entry.js} +2 -2
- package/dist/native/{p-ee04ea09.entry.js → p-729589cb.entry.js} +2 -2
- package/dist/native/p-729589cb.entry.js.map +1 -0
- package/dist/native/p-78bf7650.entry.js +2 -0
- package/dist/native/p-7e6e9ea2.entry.js +2 -0
- package/dist/native/p-8f1cd9e2.entry.js +2 -0
- package/dist/native/p-8f1cd9e2.entry.js.map +1 -0
- package/dist/native/{p-4cf47e1a.entry.js → p-910cd685.entry.js} +2 -2
- package/dist/native/p-91eaf02e.entry.js +2 -0
- package/dist/native/p-91eaf02e.entry.js.map +1 -0
- package/dist/native/p-93e35975.entry.js +2 -0
- package/dist/native/p-93e35975.entry.js.map +1 -0
- package/dist/native/{p-9d8257dc.entry.js → p-96c45604.entry.js} +2 -2
- package/dist/native/{p-6f456ae4.entry.js → p-9b6ad782.entry.js} +2 -2
- package/dist/native/{p-6f456ae4.entry.js.map → p-9b6ad782.entry.js.map} +1 -1
- package/dist/native/{p-fd872d54.entry.js → p-9f32c3ea.entry.js} +2 -2
- package/dist/native/p-B6GgGra-.js +2 -0
- package/dist/native/p-B6GgGra-.js.map +1 -0
- package/dist/native/p-Blc6XEY7.js +2 -0
- package/dist/native/p-Blc6XEY7.js.map +1 -0
- package/dist/native/p-D3eWMME9.js +6 -0
- package/dist/native/p-D3eWMME9.js.map +1 -0
- package/dist/native/p-DQuL1Twl.js.map +1 -1
- package/dist/native/p-IlwlcG9l.js +2 -0
- package/dist/native/{p-DOZbXX2L.js.map → p-IlwlcG9l.js.map} +1 -1
- package/dist/native/{p-b0935c49.entry.js → p-a6fea322.entry.js} +2 -2
- package/dist/native/p-ae279ae9.entry.js +2 -0
- package/dist/native/p-ae279ae9.entry.js.map +1 -0
- package/dist/native/p-ba1286aa.entry.js +2 -0
- package/dist/native/p-ba1286aa.entry.js.map +1 -0
- package/dist/native/p-bb52a5a9.entry.js +2 -0
- package/dist/native/p-bb52a5a9.entry.js.map +1 -0
- package/dist/native/p-bc90247e.entry.js +2 -0
- package/dist/native/p-bc90247e.entry.js.map +1 -0
- package/dist/native/{p-0493fb6d.entry.js → p-c2a73a5a.entry.js} +2 -2
- package/dist/native/p-c4c11549.entry.js +2 -0
- package/dist/native/{p-3c54e422.entry.js → p-c5ecdc49.entry.js} +2 -2
- package/dist/native/p-c5ecdc49.entry.js.map +1 -0
- package/dist/native/{p-527e9b56.entry.js → p-cb1b9edb.entry.js} +2 -2
- package/dist/native/p-cb1b9edb.entry.js.map +1 -0
- package/dist/native/p-cdaf54b0.entry.js +2 -0
- package/dist/native/p-cdaf54b0.entry.js.map +1 -0
- package/dist/native/{p-e7dc36d9.entry.js → p-ceb8fe8a.entry.js} +2 -2
- package/dist/native/p-daf7541b.entry.js +2 -0
- package/dist/native/p-daf7541b.entry.js.map +1 -0
- package/dist/native/{p-da893df2.entry.js → p-ded4be77.entry.js} +2 -2
- package/dist/native/p-ded4be77.entry.js.map +1 -0
- package/dist/native/p-e1fc5f8c.entry.js +2 -0
- package/dist/native/p-e1fc5f8c.entry.js.map +1 -0
- package/dist/native/{p-d4f95c86.entry.js → p-e6c69f7d.entry.js} +2 -2
- package/dist/native/p-e6c69f7d.entry.js.map +1 -0
- package/dist/native/p-e83603f1.entry.js +2 -0
- package/dist/native/p-e83603f1.entry.js.map +1 -0
- package/dist/native/p-ec217581.entry.js +2 -0
- package/dist/native/p-ec217581.entry.js.map +1 -0
- package/dist/native/p-ee694832.entry.js +2 -0
- package/dist/native/p-ee694832.entry.js.map +1 -0
- package/dist/native/{p-b1ef2f25.entry.js → p-f7e0146e.entry.js} +2 -2
- package/dist/native/p-f7e0146e.entry.js.map +1 -0
- package/dist/types/components/nv-drawer/nv-drawer.d.ts +161 -0
- package/dist/types/components/nv-drawer/nv-drawer.docs.d.ts +4 -0
- package/dist/types/components/nv-drawerfooter/nv-drawerfooter.d.ts +76 -0
- package/dist/types/components/nv-drawerfooter/nv-drawerfooter.docs.d.ts +4 -0
- package/dist/types/components/nv-drawerheader/nv-drawerheader.d.ts +20 -0
- package/dist/types/components/nv-drawerheader/nv-drawerheader.docs.d.ts +4 -0
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components/nv-split/nv-split.d.ts +4 -4
- package/dist/types/components.d.ts +292 -5
- package/dist/vscode-data.json +153 -1
- package/hydrate/index.js +969 -408
- package/hydrate/index.mjs +969 -408
- package/package.json +13 -1
- package/dist/cjs/grow.animation-BrWzyoUA.js.map +0 -1
- package/dist/components/p--iYGZN4R.js.map +0 -1
- package/dist/components/p-B-3kAnun.js.map +0 -1
- package/dist/components/p-BQo7AMPX.js.map +0 -1
- package/dist/components/p-CBF8V1L7.js.map +0 -1
- package/dist/components/p-CmwaW0q4.js.map +0 -1
- package/dist/components/p-D1i2OAGe.js.map +0 -1
- package/dist/components/p-DOZbXX2L.js.map +0 -1
- package/dist/components/p-DWG6az-u.js.map +0 -1
- package/dist/components/p-DaiLIZ8f.js.map +0 -1
- package/dist/components/p-Dc_0pr83.js.map +0 -1
- package/dist/components/p-Dk8ekxr_.js.map +0 -1
- package/dist/esm/grow.animation-CvHGHBL4.js.map +0 -1
- package/dist/native/p-02df60a5.entry.js +0 -2
- package/dist/native/p-02df60a5.entry.js.map +0 -1
- package/dist/native/p-0b8d6777.entry.js +0 -13
- package/dist/native/p-0b8d6777.entry.js.map +0 -1
- package/dist/native/p-0e7e693f.entry.js +0 -2
- package/dist/native/p-0e7e693f.entry.js.map +0 -1
- package/dist/native/p-0fe60a9d.entry.js +0 -2
- package/dist/native/p-0fe60a9d.entry.js.map +0 -1
- package/dist/native/p-14b0bf14.entry.js +0 -2
- package/dist/native/p-14b0bf14.entry.js.map +0 -1
- package/dist/native/p-28afb852.entry.js.map +0 -1
- package/dist/native/p-2cf77850.entry.js +0 -2
- package/dist/native/p-2cf77850.entry.js.map +0 -1
- package/dist/native/p-31a12d8a.entry.js +0 -2
- package/dist/native/p-31a12d8a.entry.js.map +0 -1
- package/dist/native/p-37c6d559.entry.js.map +0 -1
- package/dist/native/p-3c54e422.entry.js.map +0 -1
- package/dist/native/p-3c9b22ff.entry.js +0 -2
- package/dist/native/p-3c9b22ff.entry.js.map +0 -1
- package/dist/native/p-4a71f223.entry.js +0 -2
- package/dist/native/p-4a71f223.entry.js.map +0 -1
- package/dist/native/p-527e9b56.entry.js.map +0 -1
- package/dist/native/p-5bce524d.entry.js +0 -2
- package/dist/native/p-5bce524d.entry.js.map +0 -1
- package/dist/native/p-63bc0a05.entry.js +0 -2
- package/dist/native/p-63bc0a05.entry.js.map +0 -1
- package/dist/native/p-63bf86de.entry.js +0 -2
- package/dist/native/p-6a3c1413.entry.js +0 -2
- package/dist/native/p-7e274db7.entry.js +0 -7
- package/dist/native/p-7e274db7.entry.js.map +0 -1
- package/dist/native/p-86b2b071.entry.js +0 -2
- package/dist/native/p-86b2b071.entry.js.map +0 -1
- package/dist/native/p-8b278fce.entry.js +0 -2
- package/dist/native/p-8b278fce.entry.js.map +0 -1
- package/dist/native/p-9c543ab2.entry.js +0 -2
- package/dist/native/p-9c543ab2.entry.js.map +0 -1
- package/dist/native/p-DOZbXX2L.js +0 -2
- package/dist/native/p-DS5GOtQ3.js +0 -2
- package/dist/native/p-DS5GOtQ3.js.map +0 -1
- package/dist/native/p-a2aa6872.entry.js +0 -2
- package/dist/native/p-b1ef2f25.entry.js.map +0 -1
- package/dist/native/p-b2ed6d34.entry.js +0 -2
- package/dist/native/p-b2ed6d34.entry.js.map +0 -1
- package/dist/native/p-bd6ae5f3.entry.js +0 -2
- package/dist/native/p-c98b9ce4.entry.js +0 -2
- package/dist/native/p-c98b9ce4.entry.js.map +0 -1
- package/dist/native/p-cc305619.entry.js +0 -2
- package/dist/native/p-cc305619.entry.js.map +0 -1
- package/dist/native/p-d1cfdc3e.entry.js +0 -2
- package/dist/native/p-d1cfdc3e.entry.js.map +0 -1
- package/dist/native/p-d3b1bd81.entry.js +0 -2
- package/dist/native/p-d424b9aa.entry.js +0 -2
- package/dist/native/p-d424b9aa.entry.js.map +0 -1
- package/dist/native/p-d4f95c86.entry.js.map +0 -1
- package/dist/native/p-da893df2.entry.js.map +0 -1
- package/dist/native/p-e0adb05d.entry.js.map +0 -1
- package/dist/native/p-e6a37207.entry.js +0 -2
- package/dist/native/p-e6a37207.entry.js.map +0 -1
- package/dist/native/p-ee04ea09.entry.js.map +0 -1
- package/dist/native/p-f73e9752.entry.js.map +0 -1
- /package/dist/native/{p-b21e38a3.entry.js.map → p-04a2fe7f.entry.js.map} +0 -0
- /package/dist/native/{p-ea98ba7a.entry.js.map → p-436029a5.entry.js.map} +0 -0
- /package/dist/native/{p-5acf105e.entry.js.map → p-67181258.entry.js.map} +0 -0
- /package/dist/native/{p-63bf86de.entry.js.map → p-6aa483de.entry.js.map} +0 -0
- /package/dist/native/{p-b1a917c7.entry.js.map → p-6fc79712.entry.js.map} +0 -0
- /package/dist/native/{p-d3b1bd81.entry.js.map → p-78bf7650.entry.js.map} +0 -0
- /package/dist/native/{p-a2aa6872.entry.js.map → p-7e6e9ea2.entry.js.map} +0 -0
- /package/dist/native/{p-4cf47e1a.entry.js.map → p-910cd685.entry.js.map} +0 -0
- /package/dist/native/{p-9d8257dc.entry.js.map → p-96c45604.entry.js.map} +0 -0
- /package/dist/native/{p-fd872d54.entry.js.map → p-9f32c3ea.entry.js.map} +0 -0
- /package/dist/native/{p-b0935c49.entry.js.map → p-a6fea322.entry.js.map} +0 -0
- /package/dist/native/{p-0493fb6d.entry.js.map → p-c2a73a5a.entry.js.map} +0 -0
- /package/dist/native/{p-6a3c1413.entry.js.map → p-c4c11549.entry.js.map} +0 -0
- /package/dist/native/{p-e7dc36d9.entry.js.map → p-ceb8fe8a.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nv-fieldtime.docs.js","sourceRoot":"","sources":["../../../../src/components/nv-fieldtime/nv-fieldtime.docs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAGlC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,MAAM,eAAe,GAAqC;IACxD,SAAS,EAAE,cAAc;IACzB,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE;QACP,UAAU;QACV;YACE,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,kDAAoC;SAC/C;QACD,QAAQ;QACR;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAClD,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;YAC3B,QAAQ,EAAE,kDAAoC;SAC/C;QACD,QAAQ;QACR;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAClD,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;YACxB,QAAQ,EAAE,kDAAoC;SAC/C;QACD,WAAW;QACX;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;YACrD,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YACxB,QAAQ,EAAE,kDAAoC;SAC/C;QACD,WAAW;QACX;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;YACrD,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YACxB,QAAQ,EAAE,kDAAoC;SAC/C;QACD,WAAW;QACX;YACE,IAAI,EAAE,MAAM,CAAy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core';\nimport type { NovaDocs } from '../../nova-docs';\nimport { Components } from '../../components';\nimport { nameof } from '../../utils/class.utils';\n\nconst NvFieldtimeDocs: NovaDocs<Components.NvFieldtime> = {\n component: 'nv-fieldtime',\n subcomponents: ['nv-icon'],\n stories: [\n // Default\n {\n name: 'Default',\n template: <nv-fieldtime data-storybook-args />,\n },\n // Value\n {\n name: nameof<Components.NvFieldtime>(x => x.value),\n args: { value: '12:34:56' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Label\n {\n name: nameof<Components.NvFieldtime>(x => x.label),\n args: { label: 'Label' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Readonly\n {\n name: nameof<Components.NvFieldtime>(x => x.readonly),\n args: { readonly: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Disabled\n {\n name: nameof<Components.NvFieldtime>(x => x.disabled),\n args: { disabled: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Required\n {\n name: nameof<Components.NvFieldtime>(x => x.required),\n args: { required: true, label: 'Required' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Name\n {\n name: nameof<Components.NvFieldtime>(x => x.name),\n args: { name: 'name' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Success\n {\n name: nameof<Components.NvFieldtime>(x => x.success),\n args: { success: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Error\n {\n name: nameof<Components.NvFieldtime>(x => x.error),\n args: { error: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // ErrorDescription\n {\n name: nameof<Components.NvFieldtime>(x => x.errorDescription),\n args: { error: true, errorDescription: 'Error Description' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Max\n {\n name: nameof<Components.NvFieldtime>(x => x.max),\n args: { max: '20:59:59' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Min\n {\n name: nameof<Components.NvFieldtime>(x => x.min),\n args: { min: '01:00:00' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Format\n {\n name: nameof<Components.NvFieldtime>(x => x.format),\n args: { format: 'HH:mm:ss' },\n template: (\n <div data-class=\"flex flex-col gap-4 items-center w-full\">\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"format\"\n data-storybook-args\n />\n\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime data-class=\"w-full\" label=\"hh\" format=\"hh\" />\n <nv-fieldtime data-class=\"w-full\" label=\"HH\" format=\"HH\" />\n </div>\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime data-class=\"w-full\" label=\"hh:mm\" format=\"hh:mm\" />\n <nv-fieldtime data-class=\"w-full\" label=\"HH:mm\" format=\"HH:mm\" />\n </div>\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"hh:mm:ss\"\n format=\"hh:mm:ss\"\n />\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"HH:mm:ss\"\n format=\"HH:mm:ss\"\n />\n </div>\n </div>\n ),\n },\n // Description\n {\n name: nameof<Components.NvFieldtime>(x => x.description),\n args: { description: 'Description' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Open\n {\n name: nameof<Components.NvFieldtime>(x => x.open),\n args: { open: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Step\n {\n name: nameof<Components.NvFieldtime>(x => x.step),\n args: { step: 7200000 },\n template: <nv-fieldtime data-storybook-args />,\n },\n // Autofocus\n {\n name: nameof<Components.NvFieldtime>(x => x.autofocus),\n args: {\n label: 'Autofocus',\n autofocus: true,\n },\n template: <nv-fieldtime data-storybook-args />,\n },\n // SlotLabel\n {\n name: 'SlotLabel',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"label\">Label Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotBeforeInput\n {\n name: 'SlotBeforeInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"before-input\">Before Input Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotAfterInput\n {\n name: 'SlotAfterInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"after-input\">After Input Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotLeadingInput\n {\n name: 'SlotLeadingInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <nv-icon slot=\"leading-input\" name=\"clock\" />\n </nv-fieldtime>\n ),\n },\n // SlotErrorDescription\n {\n name: 'SlotErrorDescription',\n args: { error: true },\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"error-description\">Error Description Slot</span>\n </nv-fieldtime>\n ),\n },\n // FormatConsistency\n {\n name: 'FormatConsistency',\n args: { format: 'HH:mm:ss', value: '14:30:45' },\n template: <nv-fieldtime data-storybook-args />,\n },\n ],\n};\n\nexport default NvFieldtimeDocs;\n"]}
|
|
1
|
+
{"version":3,"file":"nv-fieldtime.docs.js","sourceRoot":"","sources":["../../../../src/components/nv-fieldtime/nv-fieldtime.docs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAGlC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,MAAM,eAAe,GAAqC;IACxD,SAAS,EAAE,cAAc;IACzB,aAAa,EAAE,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE;QACP,UAAU;QACV;YACE,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,kDAAoC;SAC/C;QACD,QAAQ;QACR;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAClD,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;YAC3B,QAAQ,EAAE,kDAAoC;SAC/C;QACD,QAAQ;QACR;YACE,IAAI,EAAE,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAClD,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;YACxB,QAAQ,EAAE,kDAAoC;SAC/C;QACD,WAAW;QACX;YACE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AAU,EAAE,KAAK,EAAE,UAAU,EAAE;YAC/C,QAAQ,EAAE,kDAAoC;SAC/C;QACD,YAAY;QACZ;YACE,IAAI,EAAE,WAAW;YACjB,QAAQ,EAAE,CACR;gBACE,YAAM,IAAI,EAAC,OAAO,iBAAkB,CACvB,CAChB;SACF;QACD,kBAAkB;QAClB;YACE,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,CACR;gBACE,YAAM,IAAI,EAAC,cAAc,wBAAyB,CACrC,CAChB;SACF;QACD,kBAAkB;QAClB;YACE,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,8EAA8E;YAChF,QAAQ,EAAE,CACR;gBACE,YAAM,IAAI,EAAC,aAAa,iCAAkC,CAC7C,CAChB;SACF;QACD,iBAAiB;QACjB;YACE,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,CACR;gBACE,YAAM,IAAI,EAAC,aAAa,uBAAwB,CACnC,CAChB;SACF;QACD,mBAAmB;QACnB;YACE,IAAI,EAAE,kBAAkB;YACxB,QAAQ,EAAE,CACR;gBACE,eAAS,IAAI,EAAC,eAAe,EAAC,IAAI,EAAC,OAAO,GAAG,CAChC,CAChB;SACF;QACD,uBAAuB;QACvB;YACE,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;YACrB,QAAQ,EAAE,CACR;gBACE,YAAM,IAAI,EAAC,mBAAmB,6BAA8B,CAC/C,CAChB;SACF;KACF;CACF,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import { h } from '@stencil/core';\nimport type { NovaDocs } from '../../nova-docs';\nimport { Components } from '../../components';\nimport { nameof } from '../../utils/class.utils';\n\nconst NvFieldtimeDocs: NovaDocs<Components.NvFieldtime> = {\n component: 'nv-fieldtime',\n subcomponents: ['nv-icon'],\n stories: [\n // Default\n {\n name: 'Default',\n template: <nv-fieldtime data-storybook-args />,\n },\n // value\n {\n name: nameof<Components.NvFieldtime>(x => x.value),\n args: { value: '12:34:56' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // label\n {\n name: nameof<Components.NvFieldtime>(x => x.label),\n args: { label: 'Label' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // readonly\n {\n name: nameof<Components.NvFieldtime>(x => x.readonly),\n args: { readonly: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // disabled\n {\n name: nameof<Components.NvFieldtime>(x => x.disabled),\n args: { disabled: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // required\n {\n name: nameof<Components.NvFieldtime>(x => x.required),\n args: { required: true, label: 'Required' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // ariaRequiredAttr\n {\n name: nameof<Components.NvFieldtime>(x => x.ariaRequiredAttr),\n args: { ariaRequiredAttr: true, label: 'Aria Required' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // name\n {\n name: nameof<Components.NvFieldtime>(x => x.name),\n args: { name: 'name' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // success\n {\n name: nameof<Components.NvFieldtime>(x => x.success),\n args: { success: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // error\n {\n name: nameof<Components.NvFieldtime>(x => x.error),\n args: { error: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // errorDescription\n {\n name: nameof<Components.NvFieldtime>(x => x.errorDescription),\n args: { error: true, errorDescription: 'Error Description' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // max\n {\n name: nameof<Components.NvFieldtime>(x => x.max),\n args: { max: '20:59:59' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // min\n {\n name: nameof<Components.NvFieldtime>(x => x.min),\n args: { min: '01:00:00' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // format\n {\n name: nameof<Components.NvFieldtime>(x => x.format),\n args: { format: 'HH:mm:ss' },\n template: (\n <div data-class=\"flex flex-col gap-4 items-center w-full\">\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"format\"\n data-storybook-args\n />\n\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime data-class=\"w-full\" label=\"hh\" format=\"hh\" />\n <nv-fieldtime data-class=\"w-full\" label=\"HH\" format=\"HH\" />\n </div>\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime data-class=\"w-full\" label=\"hh:mm\" format=\"hh:mm\" />\n <nv-fieldtime data-class=\"w-full\" label=\"HH:mm\" format=\"HH:mm\" />\n </div>\n <div data-class=\"flex flex-row gap-4 items-center w-full\">\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"hh:mm:ss\"\n format=\"hh:mm:ss\"\n />\n <nv-fieldtime\n data-class=\"w-full\"\n label=\"HH:mm:ss\"\n format=\"HH:mm:ss\"\n />\n </div>\n </div>\n ),\n },\n // description\n {\n name: nameof<Components.NvFieldtime>(x => x.description),\n args: { description: 'Description' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // open\n {\n name: nameof<Components.NvFieldtime>(x => x.open),\n args: { open: true },\n template: <nv-fieldtime data-storybook-args />,\n },\n // step\n {\n name: nameof<Components.NvFieldtime>(x => x.step),\n args: { step: 7200000 },\n template: <nv-fieldtime data-storybook-args />,\n },\n // autofocus\n {\n name: nameof<Components.NvFieldtime>(x => x.autofocus),\n args: {\n label: 'Autofocus',\n autofocus: true,\n },\n template: <nv-fieldtime data-storybook-args />,\n },\n // inputId\n {\n name: nameof<Components.NvFieldtime>(x => x.inputId),\n description:\n 'Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.',\n args: { inputId: 'custom-time-input-id', label: 'Time Input' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // FormatConsistency\n {\n name: 'FormatConsistency',\n args: { format: 'HH:mm:ss', value: '14:30:45' },\n template: <nv-fieldtime data-storybook-args />,\n },\n // SlotLabel\n {\n name: 'SlotLabel',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"label\">Label Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotBeforeInput\n {\n name: 'SlotBeforeInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"before-input\">Before Input Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotDescription\n {\n name: 'SlotDescription',\n description:\n 'Content to be placed as the description, will override the description prop.',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"description\">Custom description content</span>\n </nv-fieldtime>\n ),\n },\n // SlotAfterInput\n {\n name: 'SlotAfterInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"after-input\">After Input Slot</span>\n </nv-fieldtime>\n ),\n },\n // SlotLeadingInput\n {\n name: 'SlotLeadingInput',\n template: (\n <nv-fieldtime data-storybook-args>\n <nv-icon slot=\"leading-input\" name=\"clock\" />\n </nv-fieldtime>\n ),\n },\n // SlotErrorDescription\n {\n name: 'SlotErrorDescription',\n args: { error: true },\n template: (\n <nv-fieldtime data-storybook-args>\n <span slot=\"error-description\">Error Description Slot</span>\n </nv-fieldtime>\n ),\n },\n ],\n};\n\nexport default NvFieldtimeDocs;\n"]}
|
|
@@ -105,7 +105,6 @@ export class NvFieldtime {
|
|
|
105
105
|
/****************************************************************************/
|
|
106
106
|
//#region LISTENERS
|
|
107
107
|
handleKeyDown(event) {
|
|
108
|
-
var _a, _b;
|
|
109
108
|
if (!this.open) {
|
|
110
109
|
if (event.key === 'ArrowDown') {
|
|
111
110
|
this.open = true;
|
|
@@ -146,8 +145,8 @@ export class NvFieldtime {
|
|
|
146
145
|
const nextTypeIndex = currentTypeIndex + 1;
|
|
147
146
|
if (nextTypeIndex < visibleTypes.length) {
|
|
148
147
|
const nextType = visibleTypes[nextTypeIndex];
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
this.inputElements[nextType]?.focus();
|
|
149
|
+
this.inputElements[nextType]?.select();
|
|
151
150
|
}
|
|
152
151
|
}
|
|
153
152
|
else if (event.key === 'Escape') {
|
|
@@ -238,7 +237,6 @@ export class NvFieldtime {
|
|
|
238
237
|
this.value = reconstructedValue;
|
|
239
238
|
}
|
|
240
239
|
handleHoursChange(inputValue, type) {
|
|
241
|
-
var _a, _b;
|
|
242
240
|
const isHHFormat = this.format.startsWith('HH');
|
|
243
241
|
const maxHours = isHHFormat ? 24 : 12;
|
|
244
242
|
// Handle empty input
|
|
@@ -299,13 +297,12 @@ export class NvFieldtime {
|
|
|
299
297
|
const nextTypeIndex = currentTypeIndex + 1;
|
|
300
298
|
if (nextTypeIndex < visibleTypes.length) {
|
|
301
299
|
const nextType = visibleTypes[nextTypeIndex];
|
|
302
|
-
|
|
303
|
-
|
|
300
|
+
this.inputElements[nextType]?.focus();
|
|
301
|
+
this.inputElements[nextType]?.select();
|
|
304
302
|
}
|
|
305
303
|
}
|
|
306
304
|
}
|
|
307
305
|
handleMinutesChange(inputValue, type) {
|
|
308
|
-
var _a, _b;
|
|
309
306
|
const maxMinutes = 60;
|
|
310
307
|
// Handle empty input
|
|
311
308
|
if (inputValue.length === 0) {
|
|
@@ -365,8 +362,8 @@ export class NvFieldtime {
|
|
|
365
362
|
const nextTypeIndex = currentTypeIndex + 1;
|
|
366
363
|
if (nextTypeIndex < visibleTypes.length) {
|
|
367
364
|
const nextType = visibleTypes[nextTypeIndex];
|
|
368
|
-
|
|
369
|
-
|
|
365
|
+
this.inputElements[nextType]?.focus();
|
|
366
|
+
this.inputElements[nextType]?.select();
|
|
370
367
|
}
|
|
371
368
|
}
|
|
372
369
|
}
|
|
@@ -447,7 +444,6 @@ export class NvFieldtime {
|
|
|
447
444
|
return reconstructedTime;
|
|
448
445
|
}
|
|
449
446
|
handleFocus(type) {
|
|
450
|
-
var _a, _b, _c, _d;
|
|
451
447
|
if (this.readonly || this.disabled) {
|
|
452
448
|
return;
|
|
453
449
|
}
|
|
@@ -460,15 +456,14 @@ export class NvFieldtime {
|
|
|
460
456
|
this.open = true; // Force the popover to open
|
|
461
457
|
}
|
|
462
458
|
// Refocus on the input if it loses focus and is empty
|
|
463
|
-
if (
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
459
|
+
if (this.inputElements[type]?.value.length === 0 ||
|
|
460
|
+
this.inputElements[type]?.value === '00') {
|
|
461
|
+
this.inputElements[type]?.focus();
|
|
462
|
+
this.inputElements[type]?.select();
|
|
467
463
|
}
|
|
468
464
|
this.typeFocused = type;
|
|
469
465
|
}
|
|
470
466
|
HandleDropdownIconClick() {
|
|
471
|
-
var _a, _b;
|
|
472
467
|
if (this.disabled || this.readonly) {
|
|
473
468
|
return; // Do not toggle if disabled or read-only
|
|
474
469
|
}
|
|
@@ -480,8 +475,8 @@ export class NvFieldtime {
|
|
|
480
475
|
else if (!this.open &&
|
|
481
476
|
firstVisibleType &&
|
|
482
477
|
this.inputElements[firstVisibleType]) {
|
|
483
|
-
|
|
484
|
-
|
|
478
|
+
this.inputElements[firstVisibleType]?.focus(); // Focus will open the popover
|
|
479
|
+
this.inputElements[firstVisibleType]?.select();
|
|
485
480
|
}
|
|
486
481
|
else {
|
|
487
482
|
console.warn('nv-fieldtime -> No visible input elements found to focus');
|
|
@@ -610,10 +605,9 @@ export class NvFieldtime {
|
|
|
610
605
|
return hour >= 0 && hour <= 24 ? hourStr.padStart(2, '0') : null;
|
|
611
606
|
}
|
|
612
607
|
generateMinuteOptions(stepInSeconds) {
|
|
613
|
-
var _a, _b;
|
|
614
608
|
const minuteStep = Math.max(1, Math.floor((stepInSeconds % 3600) / 60)); // Ensure step >= 1
|
|
615
|
-
const minMinute =
|
|
616
|
-
const maxMinute =
|
|
609
|
+
const minMinute = this.parseMinute(this.min) ?? 0;
|
|
610
|
+
const maxMinute = this.parseMinute(this.max) ?? 59;
|
|
617
611
|
if (minMinute === 0 && maxMinute === 0)
|
|
618
612
|
return ['00']; // Handle edge case for zero minutes
|
|
619
613
|
const values = [];
|
|
@@ -640,10 +634,9 @@ export class NvFieldtime {
|
|
|
640
634
|
return isNaN(minute) || minute < 0 || minute >= 60 ? null : minute;
|
|
641
635
|
}
|
|
642
636
|
generateSecondOptions(stepInSeconds) {
|
|
643
|
-
var _a, _b;
|
|
644
637
|
const secondStep = Math.max(1, stepInSeconds % 60); // Ensure step >= 1
|
|
645
|
-
const minSecond =
|
|
646
|
-
const maxSecond =
|
|
638
|
+
const minSecond = this.parseSecond(this.min) ?? 0;
|
|
639
|
+
const maxSecond = this.parseSecond(this.max) ?? 59;
|
|
647
640
|
if (minSecond === 0 && maxSecond === 0)
|
|
648
641
|
return ['00']; // Handle edge case for zero seconds
|
|
649
642
|
const values = [];
|
|
@@ -682,7 +675,6 @@ export class NvFieldtime {
|
|
|
682
675
|
this.updateHighlightedItem(items, index);
|
|
683
676
|
}
|
|
684
677
|
handleHostClick(event) {
|
|
685
|
-
var _a, _b;
|
|
686
678
|
if (this.disabled || this.readonly) {
|
|
687
679
|
return;
|
|
688
680
|
}
|
|
@@ -697,8 +689,8 @@ export class NvFieldtime {
|
|
|
697
689
|
const visibleTypes = getVisibleTimeTypes(this.format);
|
|
698
690
|
const firstVisibleType = visibleTypes[0];
|
|
699
691
|
if (firstVisibleType && this.inputElements[firstVisibleType]) {
|
|
700
|
-
|
|
701
|
-
|
|
692
|
+
this.inputElements[firstVisibleType]?.focus();
|
|
693
|
+
this.inputElements[firstVisibleType]?.select();
|
|
702
694
|
}
|
|
703
695
|
}
|
|
704
696
|
event.preventDefault();
|
|
@@ -856,11 +848,11 @@ export class NvFieldtime {
|
|
|
856
848
|
};
|
|
857
849
|
// Remove min/max constraints from input elements to allow native stepper behavior
|
|
858
850
|
// Constraints are only applied to dropdown options, not input steppers
|
|
859
|
-
return (h("input",
|
|
851
|
+
return (h("input", { ref: el => (this.inputElements[type] = el), type: "number", autofocus: this.autofocus && type === getVisibleTimeTypes(this.format)[0], class: "time-input", pattern: "[0-9]*", maxlength: "3", value: getValue(), onInput: e => this.handleInputChange(e, type), placeholder: getPlaceholder(), inputMode: "numeric", onFocus: () => this.handleFocus(type), name: this.name ? `${type}-${this.name}` : type, id: getId(), readonly: this.readonly, disabled: this.disabled, required: this.getRequiredAttributes().useNativeRequired
|
|
860
852
|
? this.required
|
|
861
|
-
: undefined
|
|
862
|
-
|
|
863
|
-
|
|
853
|
+
: undefined, ...(this.getRequiredAttributes().ariaRequiredValue !== undefined && {
|
|
854
|
+
'aria-required': String(this.getRequiredAttributes().ariaRequiredValue),
|
|
855
|
+
}), onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }));
|
|
864
856
|
}
|
|
865
857
|
/**
|
|
866
858
|
* Renders dropdown columns based on the current format
|
|
@@ -880,9 +872,9 @@ export class NvFieldtime {
|
|
|
880
872
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
881
873
|
}
|
|
882
874
|
render() {
|
|
883
|
-
return (h(Host, { key: '
|
|
884
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
885
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
875
|
+
return (h(Host, { key: 'a6edfc1d50527225c9a275de73e497f6cd9652aa', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'a82749db001869fb2246bef7126348c585e14a1a', htmlFor: this.inputId }, h("slot", { key: '8a96f4fad4f32b6793bee53ca94eec983c1ff09f', name: "label" }, this.label))), h("nv-popover", { key: 'de931598921043b8e6b44035964a5026e040afb1', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: this.handleOpenChanged }, h("div", { key: 'b7e654cdb7ce4e270ebba03d20ebe47b37063fce', class: "input-wrapper", slot: "trigger" }, h("slot", { key: '1cde39106fad880cdd27ed96574f8cf320fc334a', name: "before-input" }), h("div", { key: 'eb7d8edd89d951eff5e00eb994dd85504b44801f', class: "input-container" }, h("slot", { key: '48212e52a925cdfb9d897201ca8ee50b037ba573', name: "leading-input" }), this.renderTimeInputFields(), h("nv-iconbutton", { key: 'eb541ae9faaefb95c146f8ee9d32d533099162fc', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (h("nv-icon", { key: 'c25d25f96b786c96ead487dc8af2b200e372ef79', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h("nv-icon", { key: '2c08c7caa21771c697ed191589c836f58be4e761', name: "circle-check", class: "validation", size: "sm" }))), h("slot", { key: '77e91dd93225a61730ea7b892c50a7517a25af71', name: "after-input" })), h("div", { key: '9e8abc574dd8024dc479b2fe57891b022793291b', class: "time-dropdown", slot: "content" }, h("div", { key: 'f232d3e7a0b43f08b801ff76f4cdbf863bfc7a4a', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
|
|
876
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: 'ab21ffb708f50a1b38a7d21d02d5f0b920aceca8', class: "description" }, h("slot", { key: '56790e4cc2c6d5f57e45ef7507aee8c1a8ea5a13', name: "description" }, this.description))), (this.errorDescription ||
|
|
877
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '392a563b5eccd2120263bd72c883ccefe66d0c02', hidden: !this.error, class: "error-description" }, h("slot", { key: '8e6df58e39a9de7fdf05edb0611178c62ff9e79e', name: "error-description" }, this.errorDescription)))));
|
|
886
878
|
}
|
|
887
879
|
static get is() { return "nv-fieldtime"; }
|
|
888
880
|
static get formAssociated() { return true; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nv-fieldtime.js","sourceRoot":"","sources":["../../../../src/components/nv-fieldtime/nv-fieldtime.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,KAAK,EACL,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGF","sourcesContent":["/* eslint-disable react/jsx-no-bind */\nimport {\n Component,\n Host,\n h,\n State,\n Element,\n Event,\n EventEmitter,\n Prop,\n Watch,\n Listen,\n forceUpdate,\n} from '@stencil/core';\nimport { v4 as uuidv4 } from 'uuid';\n\nimport { TimeType } from '../../utils/constants';\nimport {\n parseValueByFormat,\n reconstructTimeByFormat,\n TimeComponents,\n isValidFormatValue,\n FORMAT_CONFIGS,\n getVisibleTimeTypes,\n} from './utils/format-utils';\n\n/**\n * A format-aware time input component that displays only relevant input fields based on the specified format.\n * The component ensures consistency between the format property and both input validation and value emission.\n *\n * @slot label - Content to be placed as the label, will override the label prop.\n * @slot before-input - Content to be placed before the input text, outside the input container.\n * @slot after-input - Content to be placed after the input text, outside the input container.\n * @slot leading-input - Content to be placed before the input text, within the input container.\n * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.\n * @slot description - Content to be placed as the description, will override the description prop.\n */\n@Component({\n tag: 'nv-fieldtime',\n styleUrl: 'styles/nv-fieldtime.scss',\n shadow: false,\n formAssociated: true,\n})\nexport class NvFieldtime {\n @Element() el: HTMLNvFieldtimeElement;\n\n // Input elements for hours, minutes, and seconds\n private inputElements: { [key: string]: HTMLInputElement } = {};\n\n private inputZeroAdded: { [key: string]: boolean } = {};\n\n private popoverElement!: HTMLNvPopoverElement;\n\n private typeFocused: TimeType = TimeType.Hours;\n\n /****************************************************************************/\n //#region STATES\n\n @State()\n hours: string = '00';\n @State()\n minutes: string = '00';\n @State()\n seconds: string = '00';\n\n //#endregion STATES\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * The current value of the time input in the specified format.\n */\n @Prop({ reflect: true, mutable: true })\n value: string;\n\n /**\n * Lets you define the text that explains what users should enter in the time\n * input field. It's a crucial element for making forms clear and\n * user-friendly.\n */\n @Prop({ reflect: true })\n readonly label: string;\n\n /**\n * Sets the ID for the input element and the for attribute of the associated\n * label. If no ID is provided, a random one will be automatically generated\n * to ensure unique identification, facilitating proper label association and\n * accessibility.\n */\n @Prop({ reflect: true })\n readonly inputId: string = uuidv4();\n\n /**\n * Display the input field's content without allowing users to change it.\n * Users can still click on it, select, and copy the text, but they won't be\n * able to type or delete anything.\n */\n @Prop({ reflect: true })\n readonly readonly: boolean = false;\n\n /**\n * The disabled prop lets you turn off the input field so that users can't\n * interact with it. When disabled, the field is grayed out and won't respond to\n * clicks or touches.\n */\n @Prop({ reflect: true })\n readonly disabled: boolean = false;\n\n /**\n * Marks the input field as required, ensuring that the user must fill it out\n * before submitting the form.\n * @note This uses the native HTML `required` attribute, which triggers browser validation.\n */\n @Prop({ reflect: true })\n readonly required: boolean = false;\n\n /**\n * Marks the input field as required for accessibility purposes without triggering\n * native HTML validation. Use this when implementing custom validation logic.\n * @note When set, this uses `aria-required` instead of the native `required` attribute.\n * This allows developers to implement custom validation while maintaining accessibility.\n * @note If this prop is not explicitly set, the component will check for the HTML attribute\n * 'aria-required' directly to determine if it should be applied.\n */\n @Prop({ reflect: true, attribute: 'aria-required' })\n readonly ariaRequiredAttr: boolean = false;\n\n /**\n * Defines the name attribute of the input field, which is crucial for form\n * submission. This value is used as the key in the key-value pair sent to\n * the server, representing the input's data in form submissions.\n */\n @Prop({ reflect: true })\n readonly name: string;\n\n /**\n * Changes the input field’s appearance to indicate successful input or\n * validation.\n */\n @Prop({ reflect: true })\n readonly success: boolean = false;\n\n /**\n * Alters the input field's appearance to indicate an error, helping users\n * identify fields that need correction.\n * @validator error\n */\n @Prop({ reflect: true })\n readonly error: boolean = false;\n\n /**\n * A description that appears when there is an error related to the time\n * field.\n * @validator message\n */\n @Prop({ reflect: true })\n readonly errorDescription: string;\n\n /**\n * Specifies the time format to be used.\n * Available formats:\n * - HH: 24-hour format (00-23)\n * - HH:mm: 24-hour format with minutes (00:00-23:59)\n * - HH:mm:ss: 24-hour format with minutes and seconds (00:00:00-23:59:59)\n * - hh: 12-hour format (01-12)\n * - hh:mm: 12-hour format with minutes (01:00-12:59)\n * - hh:mm:ss: 12-hour format with minutes and seconds (01:00:00-12:59:59)\n *\n * The component automatically shows only the relevant input fields based on the selected format.\n * When the format changes dynamically, the component re-parses the current value and updates\n * the visible fields accordingly.\n */\n @Prop({ reflect: true })\n readonly format: 'HH' | 'HH:mm' | 'HH:mm:ss' | 'hh' | 'hh:mm' | 'hh:mm:ss' =\n 'HH:mm:ss';\n\n /**\n * Add helpful hints or extra information under the time input field. This is\n * where you can clarify what users should enter or provide additional\n * instructions.\n */\n @Prop({ reflect: true })\n readonly description: string;\n\n /**\n * State of the time picker popover.\n */\n @Prop({ reflect: true, mutable: true })\n open: boolean = false;\n\n /**\n * The step interval in milliseconds for time increments/decrements.\n * This affects how the time changes when using arrow keys or spinners.\n */\n @Prop({ reflect: true })\n readonly step: number = 60000; // In secondes\n\n /**\n * The maximum time value that can be selected.\n */\n @Prop({ reflect: true })\n readonly max: string;\n\n /**\n * The minimum time value that can be selected.\n */\n @Prop({ reflect: true })\n readonly min: string;\n\n /**\n * Applies focus to the input field as soon as the component is mounted. This\n * is equivalent to setting the native autofocus attribute on an <input>\n * element.\n */\n @Prop({ reflect: true })\n // eslint-disable-next-line @stencil-community/reserved-member-names\n readonly autofocus: boolean = false;\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region EVENTS\n\n /**\n * Emit an event when the time value changes.\n * The event detail contains the new time value in the format specified by the format property.\n * @bind value\n */\n @Event({ bubbles: false })\n valueChanged: EventEmitter<string>;\n\n //#endregion EVENTS\n /****************************************************************************/\n //#region LISTENERS\n\n @Listen('keydown', { passive: false })\n handleKeyDown(event: KeyboardEvent) {\n if (!this.open) {\n if (event.key === 'ArrowDown') {\n this.open = true;\n\n event.preventDefault();\n return;\n }\n return;\n }\n\n // Verify if the popover element is defined\n if (!this.popoverElement) {\n console.warn('nv-fieldtime -> Popover element is not defined');\n return;\n }\n\n const stringSelector = `.time-column.time-column-${this.typeFocused} div`;\n const items = Array.from(\n this.el.querySelectorAll<HTMLElement>(stringSelector),\n );\n\n // Verify if there are items to navigate\n if (items.length === 0) {\n console.warn('nv-fieldtime -> No dropdown items found to navigate');\n return;\n }\n\n let currentIndex = items.findIndex(item =>\n item.classList.contains('highlighted'),\n );\n\n if (event.key === 'ArrowDown') {\n event.preventDefault();\n currentIndex = (currentIndex + 1) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n currentIndex = (currentIndex - 1 + items.length) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'Enter' && currentIndex >= 0) {\n event.preventDefault();\n items[currentIndex].click();\n\n // Navigate to the next visible field\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(this.typeFocused);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n } else if (event.key === 'Escape') {\n event.preventDefault();\n\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (firstVisibleType && this.inputElements[firstVisibleType]) {\n this.inputElements[firstVisibleType].blur();\n }\n this.open = false;\n }\n }\n\n //#endregion LISTENERS\n /****************************************************************************/\n //#region WATCHERS\n\n @Watch('value')\n handleValueChange(newValue: string) {\n // Parse the new value and ensure it's in the correct format\n if (newValue) {\n const components = parseValueByFormat(newValue, this.format);\n const formattedValue = reconstructTimeByFormat(components, this.format);\n\n // Only emit if the formatted value is different from what we received\n // This prevents infinite loops while ensuring format consistency\n if (formattedValue !== newValue) {\n this.value = formattedValue;\n return; // The watcher will be called again with the formatted value\n }\n }\n\n // Emit the value in the correct format\n this.valueChanged.emit(newValue);\n }\n\n @Watch('open')\n handleOpenChange(newOpen: boolean) {\n // React to external changes, e.g., highlight current time on open\n if (newOpen) {\n // Re-highlight columns based on current value\n const hourSelector = `.time-column.time-column-${TimeType.Hours} div`;\n this.updateColumnHighlight(hourSelector, this.hours);\n const minutesSelector = `.time-column.time-column-${TimeType.Minutes} div`;\n this.updateColumnHighlight(minutesSelector, this.minutes);\n const secondsSelector = `.time-column.time-column-${TimeType.Seconds} div`;\n this.updateColumnHighlight(secondsSelector, this.seconds);\n }\n }\n\n @Watch('format')\n handleFormatChange(newFormat: string, oldFormat: string) {\n if (newFormat === oldFormat) {\n return; // No change, nothing to do\n }\n\n // Re-parse the current value with the new format\n const currentValue = this.value || this.reconstructTime();\n\n // Parse the current value using the old format to get the time components\n const components = parseValueByFormat(\n currentValue,\n oldFormat || 'HH:mm:ss',\n );\n\n // Update the component state with the parsed components\n this.hours = components.hours;\n this.minutes = components.minutes;\n this.seconds = components.seconds;\n\n // Reconstruct the time value in the new format\n const newValue = reconstructTimeByFormat(components, newFormat);\n\n // Update the value, which will trigger the value watcher and emit the event\n this.value = newValue;\n\n // Force a re-render to update the visible input fields\n forceUpdate(this.el);\n }\n\n //#endregion WATCHERS\n /****************************************************************************/\n //#region METHODS\n\n private handleInputChange(e: InputEvent, type: TimeType): void {\n const inputElement = e.target as HTMLInputElement;\n const inputValue = inputElement.value.replace(/[^0-9]/g, ''); // Only keep numeric input\n\n // Check if this field is visible for the current format\n const visibleTypes = getVisibleTimeTypes(this.format);\n if (!visibleTypes.includes(type)) {\n return; // Don't process input for non-visible fields\n }\n\n // Update the time value based on the type\n switch (type) {\n case TimeType.Hours:\n this.handleHoursChange(inputValue, type);\n break;\n case TimeType.Minutes:\n this.handleMinutesChange(inputValue, type);\n break;\n case TimeType.Seconds:\n this.handleSecondsChange(inputValue, type);\n break;\n }\n\n // Reconstruct time from inputs in the correct format\n const reconstructedValue = this.reconstructTime();\n\n // Update the value, which will trigger the watcher and emit the event\n this.value = reconstructedValue;\n }\n\n private handleHoursChange(inputValue: string, type: TimeType): void {\n const isHHFormat = this.format.startsWith('HH');\n const maxHours = isHHFormat ? 24 : 12;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.hours = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.hours = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n this.hours = newInputValue;\n }\n } else if (inputValue.length > 2) {\n if (inputValue.startsWith('00')) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n this.hours = newInputValue;\n } else {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n this.hours = parsedNewInputValue.toString();\n }\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.hours = parsedNewInputValue.toString();\n }\n }\n\n // Auto-navigation to next field when input is complete\n if (this.hours.length >= 1 && !this.inputZeroAdded[type]) {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(TimeType.Hours);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n }\n }\n\n private handleMinutesChange(inputValue: string, type: TimeType): void {\n const maxMinutes = 60;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.minutes = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.minutes = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n this.minutes = newInputValue;\n }\n } else if (inputValue.length > 2) {\n if (inputValue.startsWith('00')) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n this.minutes = newInputValue;\n } else {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n this.minutes = parsedNewInputValue.toString();\n }\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.minutes = parsedNewInputValue.toString();\n }\n }\n\n // Auto-navigation to next field when input is complete\n if (this.minutes.length >= 1 && !this.inputZeroAdded[type]) {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(TimeType.Minutes);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n }\n }\n\n private handleSecondsChange(inputValue: string, type: TimeType): void {\n const maxSeconds = 60;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.seconds = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.seconds = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n this.seconds = newInputValue;\n }\n } else if (inputValue.length > 2) {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n this.seconds = parsedNewInputValue.toString();\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.seconds = parsedNewInputValue.toString();\n }\n }\n\n // No auto-navigation for seconds field as it's typically the last field\n }\n\n // Parse a time string according to the current format\n private parseTime(timeString: string): void {\n if (!timeString) {\n return;\n }\n\n // Use format-aware parsing without constraint application\n const components = parseValueByFormat(timeString, this.format);\n\n // Set the parsed values without applying min/max constraints\n this.hours = components.hours;\n this.minutes = components.minutes;\n this.seconds = components.seconds;\n }\n\n private reconstructTime(): string {\n const components: TimeComponents = {\n hours: this.hours,\n minutes: this.minutes,\n seconds: this.seconds,\n };\n\n // Ensure the reconstructed time is in the correct format\n const reconstructedTime = reconstructTimeByFormat(components, this.format);\n\n // Validate that the reconstructed time matches the expected format\n if (!isValidFormatValue(reconstructedTime, this.format)) {\n // If invalid, return the default value for this format\n const config = FORMAT_CONFIGS[this.format];\n return config ? config.defaultValue : reconstructedTime;\n }\n\n return reconstructedTime;\n }\n\n private handleFocus(type: TimeType): void {\n if (this.readonly || this.disabled) {\n return;\n }\n\n // Check if this field is visible for the current format\n const visibleTypes = getVisibleTimeTypes(this.format);\n if (!visibleTypes.includes(type)) {\n return; // Don't handle focus for non-visible fields\n }\n\n if (!this.open) {\n this.open = true; // Force the popover to open\n }\n\n // Refocus on the input if it loses focus and is empty\n if (\n this.inputElements[type]?.value.length === 0 ||\n this.inputElements[type]?.value === '00'\n ) {\n this.inputElements[type]?.focus();\n this.inputElements[type]?.select();\n }\n\n this.typeFocused = type;\n }\n\n private HandleDropdownIconClick(): void {\n if (this.disabled || this.readonly) {\n return; // Do not toggle if disabled or read-only\n }\n\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (this.open) {\n this.open = false; // Close the popover if it is open\n } else if (\n !this.open &&\n firstVisibleType &&\n this.inputElements[firstVisibleType]\n ) {\n this.inputElements[firstVisibleType]?.focus(); // Focus will open the popover\n this.inputElements[firstVisibleType]?.select();\n } else {\n console.warn('nv-fieldtime -> No visible input elements found to focus');\n }\n }\n\n private updateHighlightedItem(items: HTMLElement[], index: number) {\n items.forEach((item, i) => {\n if (i === index) {\n item.classList.add('highlighted');\n item.setAttribute('tabindex', '0');\n item.focus(); // Forcer le focus ici\n item.scrollIntoView({ block: 'nearest' });\n } else {\n item.classList.remove('highlighted');\n item.setAttribute('tabindex', '-1');\n }\n });\n }\n\n private handleTimeOptionClick(event: MouseEvent, type: TimeType): void {\n const option = parseInt(\n (event.target as HTMLElement).textContent || '0',\n 10,\n );\n\n // Update the time component directly without constraint validation\n // Dropdown options are already filtered by constraints during generation\n if (type === TimeType.Hours) {\n this.hours = option.toString().padStart(2, '0');\n } else if (type === TimeType.Minutes) {\n this.minutes = option.toString().padStart(2, '0');\n } else if (type === TimeType.Seconds) {\n this.seconds = option.toString().padStart(2, '0');\n }\n\n // Reconstruct time in the correct format and update value\n const reconstructedTime = this.reconstructTime();\n this.value = reconstructedTime;\n }\n\n private handleInputBlur(): void {\n // Use a delay to check if the focus is still within the popover\n setTimeout(() => {\n if (!this.el.contains(document.activeElement)) {\n if (this.open) {\n this.open = false; // Close the popover if the focus is outside the component\n }\n }\n }, 150);\n }\n\n private handleClickOutside(event: MouseEvent) {\n const target = event.target as Node;\n\n // Check if the click is inside the component or any of the input elements\n if (\n this.el.contains(target) ||\n Object.values(this.inputElements).some(input => input.contains(target))\n ) {\n return;\n }\n\n if (this.open) {\n this.open = false; // Close the popover if the click is outside\n }\n }\n\n private handleScroll(e: Event, type: TimeType): void {\n const target = e.target as HTMLElement;\n const scrollTop = target.scrollTop;\n const containerHeight = target.clientHeight;\n const scrollHeight = target.scrollHeight;\n\n // Define the height of each item, this could be dynamic if the height varies\n const itemHeight = 40; // Consider making this configurable or dynamic\n const options = this.generateTimeOptions(type); // Generates the list of time options\n const singleSetHeight = options.length * itemHeight;\n\n // Check if the scroll is near the bottom or top and reset to the first set\n if (\n scrollTop + containerHeight >= scrollHeight - itemHeight ||\n scrollTop <= 0\n ) {\n target.scrollTop = singleSetHeight; // Reset to the first set from the bottom\n }\n }\n\n private generateTimeOptions(type: TimeType) {\n // Convert the step in seconds\n const stepInSeconds = this.step / 1000;\n\n // Handle edge case for zero step\n if (stepInSeconds === 0) {\n return ['00']; // Just return the default value\n }\n\n // Generate the time options based on the type\n switch (type) {\n case TimeType.Hours:\n return this.generateHourOptions(stepInSeconds);\n\n case TimeType.Minutes:\n return this.generateMinuteOptions(stepInSeconds);\n\n case TimeType.Seconds:\n return this.generateSecondOptions(stepInSeconds);\n\n default:\n return [];\n }\n }\n\n private generateHourOptions(stepInSeconds: number): string[] {\n const hourStep = Math.max(1, Math.floor(stepInSeconds / 3600)); // Prevent step < 1\n const is12HourFormat = this.format.startsWith('hh');\n\n // Set proper hour ranges based on format\n const defaultMaxHour = is12HourFormat ? 12 : 23;\n const defaultMinHour = is12HourFormat ? 1 : 0;\n\n const maxHour = this.parseHour(this.max, this.format);\n const minHour = this.parseHour(this.min, this.format);\n\n const maxHourValue = maxHour ? parseInt(maxHour, 10) : defaultMaxHour;\n const minHourValue = minHour ? parseInt(minHour, 10) : defaultMinHour;\n\n const values: string[] = [];\n\n for (let i = minHourValue; i <= maxHourValue; i += hourStep) {\n const hourStr = i.toString().padStart(2, '0');\n values.push(hourStr);\n }\n\n return values;\n }\n\n /**\n * Parse hour value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30\" or \"02:30\")\n * @param {string} format - The time format string (e.g., \"HH:mm\" or \"hh:mm\")\n * @returns {string} The parsed hour string or null if invalid\n */\n private parseHour(value: string | null, format: string): string | null {\n if (!value) return null;\n const [hourStr] = value.split(':');\n const hour = parseInt(hourStr, 10);\n if (isNaN(hour)) return null;\n if (format.startsWith('hh'))\n return hour > 0 && hour <= 12 ? hourStr.padStart(2, '0') : null;\n return hour >= 0 && hour <= 24 ? hourStr.padStart(2, '0') : null;\n }\n\n private generateMinuteOptions(stepInSeconds: number): string[] {\n const minuteStep = Math.max(1, Math.floor((stepInSeconds % 3600) / 60)); // Ensure step >= 1\n const minMinute = this.parseMinute(this.min) ?? 0;\n const maxMinute = this.parseMinute(this.max) ?? 59;\n\n if (minMinute === 0 && maxMinute === 0) return ['00']; // Handle edge case for zero minutes\n\n const values: string[] = [];\n\n for (let i = minMinute; i <= maxMinute; i += minuteStep) {\n const minuteStr = i.toString().padStart(2, '0');\n values.push(minuteStr);\n }\n\n return values;\n }\n\n /**\n * Parse minute value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30\" or \"02:30\")\n * @returns {number} The parsed minute number or null if invalid\n */\n private parseMinute(value: string | null): number | null {\n if (!value) return null;\n const parts = value.split(':');\n if (parts.length < 2) return null; // Expect at least \"hh:mm\"\n const minute = parseInt(parts[1], 10);\n return isNaN(minute) || minute < 0 || minute >= 60 ? null : minute;\n }\n\n private generateSecondOptions(stepInSeconds: number): string[] {\n const secondStep = Math.max(1, stepInSeconds % 60); // Ensure step >= 1\n const minSecond = this.parseSecond(this.min) ?? 0;\n const maxSecond = this.parseSecond(this.max) ?? 59;\n\n if (minSecond === 0 && maxSecond === 0) return ['00']; // Handle edge case for zero seconds\n\n const values: string[] = [];\n\n for (let i = minSecond; i <= maxSecond; i += secondStep) {\n const secondStr = i.toString().padStart(2, '0');\n values.push(secondStr);\n }\n\n return values;\n }\n\n /**\n * Parse second value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30:45\" or \"02:30:45\")\n * @returns {number} The parsed second number or null if invalid\n */\n private parseSecond(value: string | null): number | null {\n if (!value) return null;\n const parts = value.split(':');\n if (parts.length < 3) return null; // Expect \"hh:mm:ss\" or \"HH:mm:ss\"\n const second = parseInt(parts[2], 10);\n return isNaN(second) || second < 0 || second >= 60 ? null : second;\n }\n\n private generateInfiniteTimeOptions(type: TimeType): string[] {\n const options = this.generateTimeOptions(type);\n const totalOptions = options.length;\n\n // Dynamically calculate repetitions based on a target number of items (e.g., 300 items)\n const repetitions = Math.ceil(300 / totalOptions);\n return Array(repetitions).fill(options).flat();\n }\n\n private updateColumnHighlight(selector, value): void {\n const items = Array.from(this.el.querySelectorAll<HTMLElement>(selector));\n\n const index = items.findIndex(x => x.textContent === value);\n this.updateHighlightedItem(items, index);\n }\n\n private handleHostClick(event: MouseEvent): void {\n if (this.disabled || this.readonly) {\n return;\n }\n\n const targetElement = event.target as HTMLElement;\n\n // Check if the click target or its ancestors are inside an nv-iconbutton element\n if (targetElement.closest('nv-iconbutton')) {\n return; // Handle icon button click separately\n }\n\n if (!this.open) {\n if (this.inputElements) {\n // Focus on the first visible field based on format\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (firstVisibleType && this.inputElements[firstVisibleType]) {\n this.inputElements[firstVisibleType]?.focus();\n this.inputElements[firstVisibleType]?.select();\n }\n }\n\n event.preventDefault();\n }\n }\n\n private handleOpenChanged(event: CustomEvent<boolean>) {\n this.open = event.detail;\n }\n\n //#endregion METHODS\n /****************************************************************************/\n //#region LIFECYCLE\n\n componentWillLoad() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n\n // Initialize component state based on format and value\n if (this.value) {\n // Parse the provided value using format-aware parsing without constraint application\n this.parseTime(this.value);\n } else {\n // Initialize with format-appropriate default values without any constraint application\n // Use format-specific defaults: '01' for 12-hour formats, '00' for 24-hour formats\n const defaultComponents = parseValueByFormat('', this.format);\n\n // Set default values directly without any min/max constraint validation\n this.hours = defaultComponents.hours;\n this.minutes = defaultComponents.minutes;\n this.seconds = defaultComponents.seconds;\n\n // Set the initial value in the correct format without constraint validation\n // This ensures the component has a proper initial state for the value watcher\n const initialValue = reconstructTimeByFormat(\n defaultComponents,\n this.format,\n );\n this.value = initialValue;\n }\n }\n\n connectedCallback() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n }\n\n disconnectedCallback() {\n document.removeEventListener('click', this.handleClickOutside.bind(this));\n }\n\n componentDidLoad() {\n // Initialize dropdown highlighting based on current component state\n // This ensures proper visual feedback without applying any constraints\n\n // Update highlighted items for hours based on current state\n const hourSelector = `.time-column.time-column-hours div`;\n this.updateColumnHighlight(hourSelector, this.hours);\n\n // Update highlighted items for minutes based on current state\n const minuteSelector = `.time-column.time-column-minutes div`;\n this.updateColumnHighlight(minuteSelector, this.minutes);\n\n // Update highlighted items for seconds based on current state\n const secondSelector = `.time-column.time-column-seconds div`;\n this.updateColumnHighlight(secondSelector, this.seconds);\n }\n\n //#endregion LIFECYCLE\n /****************************************************************************/\n //#region RENDER\n\n /**\n * Calculates aria-required and native required values based on props and attributes\n * @returns {object} Object with ariaRequiredValue and useNativeRequired\n */\n private getRequiredAttributes() {\n // Check aria-required from multiple sources:\n // 1. JavaScript prop (most reliable)\n // 2. HTML attribute 'aria-required' (direct HTML)\n // 3. HTML attribute 'aria-required-attr' (from JSX kebab-case conversion)\n // Check aria-required from multiple sources:\n // 1. HTML attribute 'aria-required' (direct HTML) - check if explicitly set\n // 2. JavaScript prop (when prop is explicitly set via JavaScript)\n // We use hasAttribute to determine if the attribute was explicitly set by the user,\n // since the prop now defaults to false (to maintain Blazor compatibility)\n const hasAriaRequiredAttr =\n this.el.hasAttribute('aria-required') ||\n this.el.hasAttribute('aria-required-attr');\n\n const ariaRequiredFromAttr = hasAriaRequiredAttr\n ? this.el.getAttribute('aria-required') ||\n this.el.getAttribute('aria-required-attr')\n : null;\n\n // Use aria-required if the attribute was explicitly set\n // With reflect: true, setting the prop will also set the attribute\n const useAriaRequired = hasAriaRequiredAttr;\n\n // Determine the value: use attribute if it exists (prop reflects to attribute via reflect: true)\n // If attribute doesn't exist, the prop was never set and we don't use aria-required\n const ariaRequiredAttrValue = hasAriaRequiredAttr\n ? ariaRequiredFromAttr\n : null;\n\n // Determine which attributes to use\n // If aria-required HTML attribute is present, use it (convert string to boolean)\n // If required is set and aria-required is not \"false\", use native required\n // If aria-required is \"false\", don't use native required even if required is set\n const ariaRequiredValue = useAriaRequired\n ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''\n : undefined;\n\n const useNativeRequired =\n this.required && (!useAriaRequired || ariaRequiredValue === true);\n\n return {\n ariaRequiredValue,\n useNativeRequired,\n };\n }\n\n /**\n * Renders input fields based on the current format\n * Only shows fields that are relevant to the selected format\n * @returns {HTMLElement[]} Array of HTML elements for time input fields\n */\n private renderTimeInputFields(): HTMLElement[] {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const elements: HTMLElement[] = [];\n\n visibleTypes.forEach((type, index) => {\n // Add separator colon before minutes and seconds (but not before the first field)\n if (index > 0) {\n elements.push(<span>:</span>);\n }\n\n // Add the input field for this time type\n elements.push(this.renderTimeInputField(type));\n });\n\n return elements;\n }\n\n /**\n * Renders a single time input field for the specified type\n * @param {TimeType} type - The time type to render input for\n * @returns {HTMLInputElement} HTML input element for the specified time type\n */\n private renderTimeInputField(type: TimeType): HTMLInputElement {\n const getValue = () => {\n switch (type) {\n case TimeType.Hours:\n return this.hours;\n case TimeType.Minutes:\n return this.minutes;\n case TimeType.Seconds:\n return this.seconds;\n default:\n return '00';\n }\n };\n\n const getPlaceholder = () => {\n switch (type) {\n case TimeType.Hours:\n return this.format.includes('hh') ? 'hh' : 'HH';\n case TimeType.Minutes:\n return 'mm';\n case TimeType.Seconds:\n return 'ss';\n default:\n return '';\n }\n };\n\n const getId = () => {\n switch (type) {\n case TimeType.Hours:\n return this.inputId;\n case TimeType.Minutes:\n return `${this.inputId}-minutes`;\n case TimeType.Seconds:\n return `${this.inputId}-seconds`;\n default:\n return this.inputId;\n }\n };\n\n // Remove min/max constraints from input elements to allow native stepper behavior\n // Constraints are only applied to dropdown options, not input steppers\n\n return (\n <input\n ref={el => (this.inputElements[type] = el)}\n type=\"number\"\n autofocus={\n this.autofocus && type === getVisibleTimeTypes(this.format)[0]\n }\n class=\"time-input\"\n pattern=\"[0-9]*\"\n maxlength=\"3\"\n value={getValue()}\n onInput={e => this.handleInputChange(e, type)}\n placeholder={getPlaceholder()}\n inputMode=\"numeric\"\n onFocus={() => this.handleFocus(type)}\n name={this.name ? `${type}-${this.name}` : type}\n id={getId()}\n readonly={this.readonly}\n disabled={this.disabled}\n required={\n this.getRequiredAttributes().useNativeRequired\n ? this.required\n : undefined\n }\n {...(this.getRequiredAttributes().ariaRequiredValue !== undefined && {\n 'aria-required': String(\n this.getRequiredAttributes().ariaRequiredValue,\n ),\n })}\n onKeyDown={e => this.handleKeyDown(e)}\n onBlur={() => this.handleInputBlur()}\n />\n );\n }\n\n /**\n * Renders dropdown columns based on the current format\n * Only shows columns that are relevant to the selected format\n * @returns {HTMLElement[]} Array of HTML elements for time dropdown columns\n */\n private renderTimeDropdownColumns(): HTMLElement[] {\n const visibleTypes = getVisibleTimeTypes(this.format);\n return visibleTypes.map(type => this.RenderTimeOptionsColumn(type));\n }\n\n private RenderTimeOptionsColumn(type: TimeType): HTMLElement {\n return (\n <div\n class={`time-column time-column-${type}`}\n onScroll={e => this.handleScroll(e, type)}\n >\n {/* Hours */}\n {this.generateInfiniteTimeOptions(type).map((option, index) => (\n <div\n class={{\n 'time-option': true,\n 'selected':\n (type === TimeType.Hours && option === this.hours) ||\n (type === TimeType.Minutes && option === this.minutes) ||\n (type === TimeType.Seconds && option === this.seconds),\n }}\n key={`${option}-${index}`}\n onClick={e => this.handleTimeOptionClick(e, type)}\n >\n {option}\n </div>\n ))}\n </div>\n );\n }\n\n render() {\n return (\n <Host\n onclick={(e: MouseEvent) => this.handleHostClick(e)}\n aria-expanded={this.open ? 'true' : 'false'}\n >\n {(this.label || this.el.querySelector('[slot=\"label\"]')) && (\n <label htmlFor={this.inputId}>\n <slot name=\"label\">{this.label}</slot>\n </label>\n )}\n\n <nv-popover\n ref={el => (this.popoverElement = el as HTMLNvPopoverElement)}\n triggerMode=\"controlled\"\n placement=\"bottom-start\"\n open={this.open}\n onOpenChanged={this.handleOpenChanged}\n >\n <div class=\"input-wrapper\" slot=\"trigger\">\n <slot name=\"before-input\"></slot>\n\n <div class=\"input-container\">\n <slot name=\"leading-input\"></slot>\n {/* Render input fields based on format */}\n {this.renderTimeInputFields()}\n\n <nv-iconbutton\n name={'clock'}\n size=\"md\"\n emphasis=\"lower\"\n aria-label={this.open ? 'Hide time picker' : 'Show time picker'}\n onClick={() => this.HandleDropdownIconClick()}\n />\n\n {this.error && (\n <nv-icon name=\"alert-circle\" class=\"validation\" size=\"sm\" />\n )}\n {this.success && (\n <nv-icon name=\"circle-check\" class=\"validation\" size=\"sm\" />\n )}\n </div>\n\n <slot name=\"after-input\"></slot>\n </div>\n\n <div class=\"time-dropdown\" slot=\"content\">\n <div class=\"time-columns\">{this.renderTimeDropdownColumns()}</div>\n </div>\n </nv-popover>\n\n {(this.description ||\n this.el.querySelector('[slot=\"description\"]')) && (\n <div class=\"description\">\n <slot name=\"description\">{this.description}</slot>\n </div>\n )}\n\n {(this.errorDescription ||\n this.el.querySelector('[slot=\"error-description\"]')) && (\n <div hidden={!this.error} class=\"error-description\">\n <slot name=\"error-description\">{this.errorDescription}</slot>\n </div>\n )}\n </Host>\n );\n }\n\n //#endregion RENDER\n}\n"]}
|
|
1
|
+
{"version":3,"file":"nv-fieldtime.js","sourceRoot":"","sources":["../../../../src/components/nv-fieldtime/nv-fieldtime.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,KAAK,EACL,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EAEvB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;;;;GAUG;AAOH,MAAM,OAAO,WAAW;IANxB;QASE,iDAAiD;QACzC,kBAAa,GAAwC,EAAE,CAAC;QAExD,mBAAc,GAA+B,EAAE,CAAC;QAIhD,gBAAW,GAAa,QAAQ,CAAC,KAAK,CAAC;QAE/C,8EAA8E;QAC9E,gBAAgB;QAGhB,UAAK,GAAW,IAAI,CAAC;QAErB,YAAO,GAAW,IAAI,CAAC;QAEvB,YAAO,GAAW,IAAI,CAAC;QAoBvB;;;;;WAKG;QAEM,YAAO,GAAW,MAAM,EAAE,CAAC;QAEpC;;;;WAIG;QAEM,aAAQ,GAAY,KAAK,CAAC;QAEnC;;;;WAIG;QAEM,aAAQ,GAAY,KAAK,CAAC;QAEnC;;;;WAIG;QAEM,aAAQ,GAAY,KAAK,CAAC;QAEnC;;;;;;;WAOG;QAEM,qBAAgB,GAAY,KAAK,CAAC;QAU3C;;;WAGG;QAEM,YAAO,GAAY,KAAK,CAAC;QAElC;;;;WAIG;QAEM,UAAK,GAAY,KAAK,CAAC;QAUhC;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGF","sourcesContent":["/* eslint-disable react/jsx-no-bind */\nimport {\n Component,\n Host,\n h,\n State,\n Element,\n Event,\n EventEmitter,\n Prop,\n Watch,\n Listen,\n forceUpdate,\n} from '@stencil/core';\nimport { v4 as uuidv4 } from 'uuid';\n\nimport { TimeType } from '../../utils/constants';\nimport {\n parseValueByFormat,\n reconstructTimeByFormat,\n TimeComponents,\n isValidFormatValue,\n FORMAT_CONFIGS,\n getVisibleTimeTypes,\n} from './utils/format-utils';\n\n/**\n * A format-aware time input component that displays only relevant input fields based on the specified format.\n * The component ensures consistency between the format property and both input validation and value emission.\n *\n * @slot label - Content to be placed as the label, will override the label prop.\n * @slot before-input - Content to be placed before the input text, outside the input container.\n * @slot after-input - Content to be placed after the input text, outside the input container.\n * @slot leading-input - Content to be placed before the input text, within the input container.\n * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.\n * @slot description - Content to be placed as the description, will override the description prop.\n */\n@Component({\n tag: 'nv-fieldtime',\n styleUrl: 'styles/nv-fieldtime.scss',\n shadow: false,\n formAssociated: true,\n})\nexport class NvFieldtime {\n @Element() el: HTMLNvFieldtimeElement;\n\n // Input elements for hours, minutes, and seconds\n private inputElements: { [key: string]: HTMLInputElement } = {};\n\n private inputZeroAdded: { [key: string]: boolean } = {};\n\n private popoverElement!: HTMLNvPopoverElement;\n\n private typeFocused: TimeType = TimeType.Hours;\n\n /****************************************************************************/\n //#region STATES\n\n @State()\n hours: string = '00';\n @State()\n minutes: string = '00';\n @State()\n seconds: string = '00';\n\n //#endregion STATES\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * The current value of the time input in the specified format.\n */\n @Prop({ reflect: true, mutable: true })\n value: string;\n\n /**\n * Lets you define the text that explains what users should enter in the time\n * input field. It's a crucial element for making forms clear and\n * user-friendly.\n */\n @Prop({ reflect: true })\n readonly label: string;\n\n /**\n * Sets the ID for the input element and the for attribute of the associated\n * label. If no ID is provided, a random one will be automatically generated\n * to ensure unique identification, facilitating proper label association and\n * accessibility.\n */\n @Prop({ reflect: true })\n readonly inputId: string = uuidv4();\n\n /**\n * Display the input field's content without allowing users to change it.\n * Users can still click on it, select, and copy the text, but they won't be\n * able to type or delete anything.\n */\n @Prop({ reflect: true })\n readonly readonly: boolean = false;\n\n /**\n * The disabled prop lets you turn off the input field so that users can't\n * interact with it. When disabled, the field is grayed out and won't respond to\n * clicks or touches.\n */\n @Prop({ reflect: true })\n readonly disabled: boolean = false;\n\n /**\n * Marks the input field as required, ensuring that the user must fill it out\n * before submitting the form.\n * @note This uses the native HTML `required` attribute, which triggers browser validation.\n */\n @Prop({ reflect: true })\n readonly required: boolean = false;\n\n /**\n * Marks the input field as required for accessibility purposes without triggering\n * native HTML validation. Use this when implementing custom validation logic.\n * @note When set, this uses `aria-required` instead of the native `required` attribute.\n * This allows developers to implement custom validation while maintaining accessibility.\n * @note If this prop is not explicitly set, the component will check for the HTML attribute\n * 'aria-required' directly to determine if it should be applied.\n */\n @Prop({ reflect: true, attribute: 'aria-required' })\n readonly ariaRequiredAttr: boolean = false;\n\n /**\n * Defines the name attribute of the input field, which is crucial for form\n * submission. This value is used as the key in the key-value pair sent to\n * the server, representing the input's data in form submissions.\n */\n @Prop({ reflect: true })\n readonly name: string;\n\n /**\n * Changes the input field’s appearance to indicate successful input or\n * validation.\n */\n @Prop({ reflect: true })\n readonly success: boolean = false;\n\n /**\n * Alters the input field's appearance to indicate an error, helping users\n * identify fields that need correction.\n * @validator error\n */\n @Prop({ reflect: true })\n readonly error: boolean = false;\n\n /**\n * A description that appears when there is an error related to the time\n * field.\n * @validator message\n */\n @Prop({ reflect: true })\n readonly errorDescription: string;\n\n /**\n * Specifies the time format to be used.\n * Available formats:\n * - HH: 24-hour format (00-23)\n * - HH:mm: 24-hour format with minutes (00:00-23:59)\n * - HH:mm:ss: 24-hour format with minutes and seconds (00:00:00-23:59:59)\n * - hh: 12-hour format (01-12)\n * - hh:mm: 12-hour format with minutes (01:00-12:59)\n * - hh:mm:ss: 12-hour format with minutes and seconds (01:00:00-12:59:59)\n *\n * The component automatically shows only the relevant input fields based on the selected format.\n * When the format changes dynamically, the component re-parses the current value and updates\n * the visible fields accordingly.\n */\n @Prop({ reflect: true })\n readonly format: 'HH' | 'HH:mm' | 'HH:mm:ss' | 'hh' | 'hh:mm' | 'hh:mm:ss' =\n 'HH:mm:ss';\n\n /**\n * Add helpful hints or extra information under the time input field. This is\n * where you can clarify what users should enter or provide additional\n * instructions.\n */\n @Prop({ reflect: true })\n readonly description: string;\n\n /**\n * State of the time picker popover.\n */\n @Prop({ reflect: true, mutable: true })\n open: boolean = false;\n\n /**\n * The step interval in milliseconds for time increments/decrements.\n * This affects how the time changes when using arrow keys or spinners.\n */\n @Prop({ reflect: true })\n readonly step: number = 60000; // In secondes\n\n /**\n * The maximum time value that can be selected.\n */\n @Prop({ reflect: true })\n readonly max: string;\n\n /**\n * The minimum time value that can be selected.\n */\n @Prop({ reflect: true })\n readonly min: string;\n\n /**\n * Applies focus to the input field as soon as the component is mounted. This\n * is equivalent to setting the native autofocus attribute on an <input>\n * element.\n */\n @Prop({ reflect: true })\n // eslint-disable-next-line @stencil-community/reserved-member-names\n readonly autofocus: boolean = false;\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region EVENTS\n\n /**\n * Emit an event when the time value changes.\n * The event detail contains the new time value in the format specified by the format property.\n * @bind value\n */\n @Event({ bubbles: false })\n valueChanged: EventEmitter<string>;\n\n //#endregion EVENTS\n /****************************************************************************/\n //#region LISTENERS\n\n @Listen('keydown', { passive: false })\n handleKeyDown(event: KeyboardEvent) {\n if (!this.open) {\n if (event.key === 'ArrowDown') {\n this.open = true;\n\n event.preventDefault();\n return;\n }\n return;\n }\n\n // Verify if the popover element is defined\n if (!this.popoverElement) {\n console.warn('nv-fieldtime -> Popover element is not defined');\n return;\n }\n\n const stringSelector = `.time-column.time-column-${this.typeFocused} div`;\n const items = Array.from(\n this.el.querySelectorAll<HTMLElement>(stringSelector),\n );\n\n // Verify if there are items to navigate\n if (items.length === 0) {\n console.warn('nv-fieldtime -> No dropdown items found to navigate');\n return;\n }\n\n let currentIndex = items.findIndex(item =>\n item.classList.contains('highlighted'),\n );\n\n if (event.key === 'ArrowDown') {\n event.preventDefault();\n currentIndex = (currentIndex + 1) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n currentIndex = (currentIndex - 1 + items.length) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'Enter' && currentIndex >= 0) {\n event.preventDefault();\n items[currentIndex].click();\n\n // Navigate to the next visible field\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(this.typeFocused);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n } else if (event.key === 'Escape') {\n event.preventDefault();\n\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (firstVisibleType && this.inputElements[firstVisibleType]) {\n this.inputElements[firstVisibleType].blur();\n }\n this.open = false;\n }\n }\n\n //#endregion LISTENERS\n /****************************************************************************/\n //#region WATCHERS\n\n @Watch('value')\n handleValueChange(newValue: string) {\n // Parse the new value and ensure it's in the correct format\n if (newValue) {\n const components = parseValueByFormat(newValue, this.format);\n const formattedValue = reconstructTimeByFormat(components, this.format);\n\n // Only emit if the formatted value is different from what we received\n // This prevents infinite loops while ensuring format consistency\n if (formattedValue !== newValue) {\n this.value = formattedValue;\n return; // The watcher will be called again with the formatted value\n }\n }\n\n // Emit the value in the correct format\n this.valueChanged.emit(newValue);\n }\n\n @Watch('open')\n handleOpenChange(newOpen: boolean) {\n // React to external changes, e.g., highlight current time on open\n if (newOpen) {\n // Re-highlight columns based on current value\n const hourSelector = `.time-column.time-column-${TimeType.Hours} div`;\n this.updateColumnHighlight(hourSelector, this.hours);\n const minutesSelector = `.time-column.time-column-${TimeType.Minutes} div`;\n this.updateColumnHighlight(minutesSelector, this.minutes);\n const secondsSelector = `.time-column.time-column-${TimeType.Seconds} div`;\n this.updateColumnHighlight(secondsSelector, this.seconds);\n }\n }\n\n @Watch('format')\n handleFormatChange(newFormat: string, oldFormat: string) {\n if (newFormat === oldFormat) {\n return; // No change, nothing to do\n }\n\n // Re-parse the current value with the new format\n const currentValue = this.value || this.reconstructTime();\n\n // Parse the current value using the old format to get the time components\n const components = parseValueByFormat(\n currentValue,\n oldFormat || 'HH:mm:ss',\n );\n\n // Update the component state with the parsed components\n this.hours = components.hours;\n this.minutes = components.minutes;\n this.seconds = components.seconds;\n\n // Reconstruct the time value in the new format\n const newValue = reconstructTimeByFormat(components, newFormat);\n\n // Update the value, which will trigger the value watcher and emit the event\n this.value = newValue;\n\n // Force a re-render to update the visible input fields\n forceUpdate(this.el);\n }\n\n //#endregion WATCHERS\n /****************************************************************************/\n //#region METHODS\n\n private handleInputChange(e: InputEvent, type: TimeType): void {\n const inputElement = e.target as HTMLInputElement;\n const inputValue = inputElement.value.replace(/[^0-9]/g, ''); // Only keep numeric input\n\n // Check if this field is visible for the current format\n const visibleTypes = getVisibleTimeTypes(this.format);\n if (!visibleTypes.includes(type)) {\n return; // Don't process input for non-visible fields\n }\n\n // Update the time value based on the type\n switch (type) {\n case TimeType.Hours:\n this.handleHoursChange(inputValue, type);\n break;\n case TimeType.Minutes:\n this.handleMinutesChange(inputValue, type);\n break;\n case TimeType.Seconds:\n this.handleSecondsChange(inputValue, type);\n break;\n }\n\n // Reconstruct time from inputs in the correct format\n const reconstructedValue = this.reconstructTime();\n\n // Update the value, which will trigger the watcher and emit the event\n this.value = reconstructedValue;\n }\n\n private handleHoursChange(inputValue: string, type: TimeType): void {\n const isHHFormat = this.format.startsWith('HH');\n const maxHours = isHHFormat ? 24 : 12;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.hours = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.hours = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n this.hours = newInputValue;\n }\n } else if (inputValue.length > 2) {\n if (inputValue.startsWith('00')) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n this.hours = newInputValue;\n } else {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n this.hours = parsedNewInputValue.toString();\n }\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxHours) {\n this.hours = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.hours = parsedNewInputValue.toString();\n }\n }\n\n // Auto-navigation to next field when input is complete\n if (this.hours.length >= 1 && !this.inputZeroAdded[type]) {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(TimeType.Hours);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n }\n }\n\n private handleMinutesChange(inputValue: string, type: TimeType): void {\n const maxMinutes = 60;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.minutes = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.minutes = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n this.minutes = newInputValue;\n }\n } else if (inputValue.length > 2) {\n if (inputValue.startsWith('00')) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n this.minutes = newInputValue;\n } else {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n this.minutes = parsedNewInputValue.toString();\n }\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxMinutes) {\n this.minutes = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.minutes = parsedNewInputValue.toString();\n }\n }\n\n // Auto-navigation to next field when input is complete\n if (this.minutes.length >= 1 && !this.inputZeroAdded[type]) {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const currentTypeIndex = visibleTypes.indexOf(TimeType.Minutes);\n const nextTypeIndex = currentTypeIndex + 1;\n\n if (nextTypeIndex < visibleTypes.length) {\n const nextType = visibleTypes[nextTypeIndex];\n this.inputElements[nextType]?.focus();\n this.inputElements[nextType]?.select();\n }\n }\n }\n\n private handleSecondsChange(inputValue: string, type: TimeType): void {\n const maxSeconds = 60;\n\n // Handle empty input\n if (inputValue.length === 0) {\n this.seconds = '00';\n return;\n }\n\n if (inputValue.length === 1) {\n this.inputZeroAdded[type] = true;\n const newInputValue = inputValue.padStart(2, '0');\n this.seconds = newInputValue;\n } else if (this.inputZeroAdded[type]) {\n this.inputZeroAdded[type] = false;\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n this.seconds = newInputValue;\n }\n } else if (inputValue.length > 2) {\n const newInputValue = inputValue.slice(1, 3).padStart(2, '0');\n const parsedNewInputValue = parseInt(newInputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n this.seconds = parsedNewInputValue.toString();\n }\n } else {\n const parsedNewInputValue = parseInt(inputValue, 10) || 0;\n\n // Only apply format validation (not min/max constraints)\n if (parsedNewInputValue >= maxSeconds) {\n this.seconds = '00';\n } else {\n // For direct input, remove unnecessary leading zeros (e.g., '01' becomes '1')\n this.seconds = parsedNewInputValue.toString();\n }\n }\n\n // No auto-navigation for seconds field as it's typically the last field\n }\n\n // Parse a time string according to the current format\n private parseTime(timeString: string): void {\n if (!timeString) {\n return;\n }\n\n // Use format-aware parsing without constraint application\n const components = parseValueByFormat(timeString, this.format);\n\n // Set the parsed values without applying min/max constraints\n this.hours = components.hours;\n this.minutes = components.minutes;\n this.seconds = components.seconds;\n }\n\n private reconstructTime(): string {\n const components: TimeComponents = {\n hours: this.hours,\n minutes: this.minutes,\n seconds: this.seconds,\n };\n\n // Ensure the reconstructed time is in the correct format\n const reconstructedTime = reconstructTimeByFormat(components, this.format);\n\n // Validate that the reconstructed time matches the expected format\n if (!isValidFormatValue(reconstructedTime, this.format)) {\n // If invalid, return the default value for this format\n const config = FORMAT_CONFIGS[this.format];\n return config ? config.defaultValue : reconstructedTime;\n }\n\n return reconstructedTime;\n }\n\n private handleFocus(type: TimeType): void {\n if (this.readonly || this.disabled) {\n return;\n }\n\n // Check if this field is visible for the current format\n const visibleTypes = getVisibleTimeTypes(this.format);\n if (!visibleTypes.includes(type)) {\n return; // Don't handle focus for non-visible fields\n }\n\n if (!this.open) {\n this.open = true; // Force the popover to open\n }\n\n // Refocus on the input if it loses focus and is empty\n if (\n this.inputElements[type]?.value.length === 0 ||\n this.inputElements[type]?.value === '00'\n ) {\n this.inputElements[type]?.focus();\n this.inputElements[type]?.select();\n }\n\n this.typeFocused = type;\n }\n\n private HandleDropdownIconClick(): void {\n if (this.disabled || this.readonly) {\n return; // Do not toggle if disabled or read-only\n }\n\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (this.open) {\n this.open = false; // Close the popover if it is open\n } else if (\n !this.open &&\n firstVisibleType &&\n this.inputElements[firstVisibleType]\n ) {\n this.inputElements[firstVisibleType]?.focus(); // Focus will open the popover\n this.inputElements[firstVisibleType]?.select();\n } else {\n console.warn('nv-fieldtime -> No visible input elements found to focus');\n }\n }\n\n private updateHighlightedItem(items: HTMLElement[], index: number) {\n items.forEach((item, i) => {\n if (i === index) {\n item.classList.add('highlighted');\n item.setAttribute('tabindex', '0');\n item.focus(); // Forcer le focus ici\n item.scrollIntoView({ block: 'nearest' });\n } else {\n item.classList.remove('highlighted');\n item.setAttribute('tabindex', '-1');\n }\n });\n }\n\n private handleTimeOptionClick(event: MouseEvent, type: TimeType): void {\n const option = parseInt(\n (event.target as HTMLElement).textContent || '0',\n 10,\n );\n\n // Update the time component directly without constraint validation\n // Dropdown options are already filtered by constraints during generation\n if (type === TimeType.Hours) {\n this.hours = option.toString().padStart(2, '0');\n } else if (type === TimeType.Minutes) {\n this.minutes = option.toString().padStart(2, '0');\n } else if (type === TimeType.Seconds) {\n this.seconds = option.toString().padStart(2, '0');\n }\n\n // Reconstruct time in the correct format and update value\n const reconstructedTime = this.reconstructTime();\n this.value = reconstructedTime;\n }\n\n private handleInputBlur(): void {\n // Use a delay to check if the focus is still within the popover\n setTimeout(() => {\n if (!this.el.contains(document.activeElement)) {\n if (this.open) {\n this.open = false; // Close the popover if the focus is outside the component\n }\n }\n }, 150);\n }\n\n private handleClickOutside(event: MouseEvent) {\n const target = event.target as Node;\n\n // Check if the click is inside the component or any of the input elements\n if (\n this.el.contains(target) ||\n Object.values(this.inputElements).some(input => input.contains(target))\n ) {\n return;\n }\n\n if (this.open) {\n this.open = false; // Close the popover if the click is outside\n }\n }\n\n private handleScroll(e: Event, type: TimeType): void {\n const target = e.target as HTMLElement;\n const scrollTop = target.scrollTop;\n const containerHeight = target.clientHeight;\n const scrollHeight = target.scrollHeight;\n\n // Define the height of each item, this could be dynamic if the height varies\n const itemHeight = 40; // Consider making this configurable or dynamic\n const options = this.generateTimeOptions(type); // Generates the list of time options\n const singleSetHeight = options.length * itemHeight;\n\n // Check if the scroll is near the bottom or top and reset to the first set\n if (\n scrollTop + containerHeight >= scrollHeight - itemHeight ||\n scrollTop <= 0\n ) {\n target.scrollTop = singleSetHeight; // Reset to the first set from the bottom\n }\n }\n\n private generateTimeOptions(type: TimeType) {\n // Convert the step in seconds\n const stepInSeconds = this.step / 1000;\n\n // Handle edge case for zero step\n if (stepInSeconds === 0) {\n return ['00']; // Just return the default value\n }\n\n // Generate the time options based on the type\n switch (type) {\n case TimeType.Hours:\n return this.generateHourOptions(stepInSeconds);\n\n case TimeType.Minutes:\n return this.generateMinuteOptions(stepInSeconds);\n\n case TimeType.Seconds:\n return this.generateSecondOptions(stepInSeconds);\n\n default:\n return [];\n }\n }\n\n private generateHourOptions(stepInSeconds: number): string[] {\n const hourStep = Math.max(1, Math.floor(stepInSeconds / 3600)); // Prevent step < 1\n const is12HourFormat = this.format.startsWith('hh');\n\n // Set proper hour ranges based on format\n const defaultMaxHour = is12HourFormat ? 12 : 23;\n const defaultMinHour = is12HourFormat ? 1 : 0;\n\n const maxHour = this.parseHour(this.max, this.format);\n const minHour = this.parseHour(this.min, this.format);\n\n const maxHourValue = maxHour ? parseInt(maxHour, 10) : defaultMaxHour;\n const minHourValue = minHour ? parseInt(minHour, 10) : defaultMinHour;\n\n const values: string[] = [];\n\n for (let i = minHourValue; i <= maxHourValue; i += hourStep) {\n const hourStr = i.toString().padStart(2, '0');\n values.push(hourStr);\n }\n\n return values;\n }\n\n /**\n * Parse hour value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30\" or \"02:30\")\n * @param {string} format - The time format string (e.g., \"HH:mm\" or \"hh:mm\")\n * @returns {string} The parsed hour string or null if invalid\n */\n private parseHour(value: string | null, format: string): string | null {\n if (!value) return null;\n const [hourStr] = value.split(':');\n const hour = parseInt(hourStr, 10);\n if (isNaN(hour)) return null;\n if (format.startsWith('hh'))\n return hour > 0 && hour <= 12 ? hourStr.padStart(2, '0') : null;\n return hour >= 0 && hour <= 24 ? hourStr.padStart(2, '0') : null;\n }\n\n private generateMinuteOptions(stepInSeconds: number): string[] {\n const minuteStep = Math.max(1, Math.floor((stepInSeconds % 3600) / 60)); // Ensure step >= 1\n const minMinute = this.parseMinute(this.min) ?? 0;\n const maxMinute = this.parseMinute(this.max) ?? 59;\n\n if (minMinute === 0 && maxMinute === 0) return ['00']; // Handle edge case for zero minutes\n\n const values: string[] = [];\n\n for (let i = minMinute; i <= maxMinute; i += minuteStep) {\n const minuteStr = i.toString().padStart(2, '0');\n values.push(minuteStr);\n }\n\n return values;\n }\n\n /**\n * Parse minute value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30\" or \"02:30\")\n * @returns {number} The parsed minute number or null if invalid\n */\n private parseMinute(value: string | null): number | null {\n if (!value) return null;\n const parts = value.split(':');\n if (parts.length < 2) return null; // Expect at least \"hh:mm\"\n const minute = parseInt(parts[1], 10);\n return isNaN(minute) || minute < 0 || minute >= 60 ? null : minute;\n }\n\n private generateSecondOptions(stepInSeconds: number): string[] {\n const secondStep = Math.max(1, stepInSeconds % 60); // Ensure step >= 1\n const minSecond = this.parseSecond(this.min) ?? 0;\n const maxSecond = this.parseSecond(this.max) ?? 59;\n\n if (minSecond === 0 && maxSecond === 0) return ['00']; // Handle edge case for zero seconds\n\n const values: string[] = [];\n\n for (let i = minSecond; i <= maxSecond; i += secondStep) {\n const secondStr = i.toString().padStart(2, '0');\n values.push(secondStr);\n }\n\n return values;\n }\n\n /**\n * Parse second value from min/max constraint strings for dropdown generation only.\n * This method is used exclusively for filtering dropdown options and should not\n * affect input values or validation.\n * @param {string} value - The time string to parse (e.g., \"14:30:45\" or \"02:30:45\")\n * @returns {number} The parsed second number or null if invalid\n */\n private parseSecond(value: string | null): number | null {\n if (!value) return null;\n const parts = value.split(':');\n if (parts.length < 3) return null; // Expect \"hh:mm:ss\" or \"HH:mm:ss\"\n const second = parseInt(parts[2], 10);\n return isNaN(second) || second < 0 || second >= 60 ? null : second;\n }\n\n private generateInfiniteTimeOptions(type: TimeType): string[] {\n const options = this.generateTimeOptions(type);\n const totalOptions = options.length;\n\n // Dynamically calculate repetitions based on a target number of items (e.g., 300 items)\n const repetitions = Math.ceil(300 / totalOptions);\n return Array(repetitions).fill(options).flat();\n }\n\n private updateColumnHighlight(selector, value): void {\n const items = Array.from(this.el.querySelectorAll<HTMLElement>(selector));\n\n const index = items.findIndex(x => x.textContent === value);\n this.updateHighlightedItem(items, index);\n }\n\n private handleHostClick(event: MouseEvent): void {\n if (this.disabled || this.readonly) {\n return;\n }\n\n const targetElement = event.target as HTMLElement;\n\n // Check if the click target or its ancestors are inside an nv-iconbutton element\n if (targetElement.closest('nv-iconbutton')) {\n return; // Handle icon button click separately\n }\n\n if (!this.open) {\n if (this.inputElements) {\n // Focus on the first visible field based on format\n const visibleTypes = getVisibleTimeTypes(this.format);\n const firstVisibleType = visibleTypes[0];\n\n if (firstVisibleType && this.inputElements[firstVisibleType]) {\n this.inputElements[firstVisibleType]?.focus();\n this.inputElements[firstVisibleType]?.select();\n }\n }\n\n event.preventDefault();\n }\n }\n\n private handleOpenChanged(event: CustomEvent<boolean>) {\n this.open = event.detail;\n }\n\n //#endregion METHODS\n /****************************************************************************/\n //#region LIFECYCLE\n\n componentWillLoad() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n\n // Initialize component state based on format and value\n if (this.value) {\n // Parse the provided value using format-aware parsing without constraint application\n this.parseTime(this.value);\n } else {\n // Initialize with format-appropriate default values without any constraint application\n // Use format-specific defaults: '01' for 12-hour formats, '00' for 24-hour formats\n const defaultComponents = parseValueByFormat('', this.format);\n\n // Set default values directly without any min/max constraint validation\n this.hours = defaultComponents.hours;\n this.minutes = defaultComponents.minutes;\n this.seconds = defaultComponents.seconds;\n\n // Set the initial value in the correct format without constraint validation\n // This ensures the component has a proper initial state for the value watcher\n const initialValue = reconstructTimeByFormat(\n defaultComponents,\n this.format,\n );\n this.value = initialValue;\n }\n }\n\n connectedCallback() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n }\n\n disconnectedCallback() {\n document.removeEventListener('click', this.handleClickOutside.bind(this));\n }\n\n componentDidLoad() {\n // Initialize dropdown highlighting based on current component state\n // This ensures proper visual feedback without applying any constraints\n\n // Update highlighted items for hours based on current state\n const hourSelector = `.time-column.time-column-hours div`;\n this.updateColumnHighlight(hourSelector, this.hours);\n\n // Update highlighted items for minutes based on current state\n const minuteSelector = `.time-column.time-column-minutes div`;\n this.updateColumnHighlight(minuteSelector, this.minutes);\n\n // Update highlighted items for seconds based on current state\n const secondSelector = `.time-column.time-column-seconds div`;\n this.updateColumnHighlight(secondSelector, this.seconds);\n }\n\n //#endregion LIFECYCLE\n /****************************************************************************/\n //#region RENDER\n\n /**\n * Calculates aria-required and native required values based on props and attributes\n * @returns {object} Object with ariaRequiredValue and useNativeRequired\n */\n private getRequiredAttributes() {\n // Check aria-required from multiple sources:\n // 1. JavaScript prop (most reliable)\n // 2. HTML attribute 'aria-required' (direct HTML)\n // 3. HTML attribute 'aria-required-attr' (from JSX kebab-case conversion)\n // Check aria-required from multiple sources:\n // 1. HTML attribute 'aria-required' (direct HTML) - check if explicitly set\n // 2. JavaScript prop (when prop is explicitly set via JavaScript)\n // We use hasAttribute to determine if the attribute was explicitly set by the user,\n // since the prop now defaults to false (to maintain Blazor compatibility)\n const hasAriaRequiredAttr =\n this.el.hasAttribute('aria-required') ||\n this.el.hasAttribute('aria-required-attr');\n\n const ariaRequiredFromAttr = hasAriaRequiredAttr\n ? this.el.getAttribute('aria-required') ||\n this.el.getAttribute('aria-required-attr')\n : null;\n\n // Use aria-required if the attribute was explicitly set\n // With reflect: true, setting the prop will also set the attribute\n const useAriaRequired = hasAriaRequiredAttr;\n\n // Determine the value: use attribute if it exists (prop reflects to attribute via reflect: true)\n // If attribute doesn't exist, the prop was never set and we don't use aria-required\n const ariaRequiredAttrValue = hasAriaRequiredAttr\n ? ariaRequiredFromAttr\n : null;\n\n // Determine which attributes to use\n // If aria-required HTML attribute is present, use it (convert string to boolean)\n // If required is set and aria-required is not \"false\", use native required\n // If aria-required is \"false\", don't use native required even if required is set\n const ariaRequiredValue = useAriaRequired\n ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''\n : undefined;\n\n const useNativeRequired =\n this.required && (!useAriaRequired || ariaRequiredValue === true);\n\n return {\n ariaRequiredValue,\n useNativeRequired,\n };\n }\n\n /**\n * Renders input fields based on the current format\n * Only shows fields that are relevant to the selected format\n * @returns {HTMLElement[]} Array of HTML elements for time input fields\n */\n private renderTimeInputFields(): HTMLElement[] {\n const visibleTypes = getVisibleTimeTypes(this.format);\n const elements: HTMLElement[] = [];\n\n visibleTypes.forEach((type, index) => {\n // Add separator colon before minutes and seconds (but not before the first field)\n if (index > 0) {\n elements.push(<span>:</span>);\n }\n\n // Add the input field for this time type\n elements.push(this.renderTimeInputField(type));\n });\n\n return elements;\n }\n\n /**\n * Renders a single time input field for the specified type\n * @param {TimeType} type - The time type to render input for\n * @returns {HTMLInputElement} HTML input element for the specified time type\n */\n private renderTimeInputField(type: TimeType): HTMLInputElement {\n const getValue = () => {\n switch (type) {\n case TimeType.Hours:\n return this.hours;\n case TimeType.Minutes:\n return this.minutes;\n case TimeType.Seconds:\n return this.seconds;\n default:\n return '00';\n }\n };\n\n const getPlaceholder = () => {\n switch (type) {\n case TimeType.Hours:\n return this.format.includes('hh') ? 'hh' : 'HH';\n case TimeType.Minutes:\n return 'mm';\n case TimeType.Seconds:\n return 'ss';\n default:\n return '';\n }\n };\n\n const getId = () => {\n switch (type) {\n case TimeType.Hours:\n return this.inputId;\n case TimeType.Minutes:\n return `${this.inputId}-minutes`;\n case TimeType.Seconds:\n return `${this.inputId}-seconds`;\n default:\n return this.inputId;\n }\n };\n\n // Remove min/max constraints from input elements to allow native stepper behavior\n // Constraints are only applied to dropdown options, not input steppers\n\n return (\n <input\n ref={el => (this.inputElements[type] = el)}\n type=\"number\"\n autofocus={\n this.autofocus && type === getVisibleTimeTypes(this.format)[0]\n }\n class=\"time-input\"\n pattern=\"[0-9]*\"\n maxlength=\"3\"\n value={getValue()}\n onInput={e => this.handleInputChange(e, type)}\n placeholder={getPlaceholder()}\n inputMode=\"numeric\"\n onFocus={() => this.handleFocus(type)}\n name={this.name ? `${type}-${this.name}` : type}\n id={getId()}\n readonly={this.readonly}\n disabled={this.disabled}\n required={\n this.getRequiredAttributes().useNativeRequired\n ? this.required\n : undefined\n }\n {...(this.getRequiredAttributes().ariaRequiredValue !== undefined && {\n 'aria-required': String(\n this.getRequiredAttributes().ariaRequiredValue,\n ),\n })}\n onKeyDown={e => this.handleKeyDown(e)}\n onBlur={() => this.handleInputBlur()}\n />\n );\n }\n\n /**\n * Renders dropdown columns based on the current format\n * Only shows columns that are relevant to the selected format\n * @returns {HTMLElement[]} Array of HTML elements for time dropdown columns\n */\n private renderTimeDropdownColumns(): HTMLElement[] {\n const visibleTypes = getVisibleTimeTypes(this.format);\n return visibleTypes.map(type => this.RenderTimeOptionsColumn(type));\n }\n\n private RenderTimeOptionsColumn(type: TimeType): HTMLElement {\n return (\n <div\n class={`time-column time-column-${type}`}\n onScroll={e => this.handleScroll(e, type)}\n >\n {/* Hours */}\n {this.generateInfiniteTimeOptions(type).map((option, index) => (\n <div\n class={{\n 'time-option': true,\n 'selected':\n (type === TimeType.Hours && option === this.hours) ||\n (type === TimeType.Minutes && option === this.minutes) ||\n (type === TimeType.Seconds && option === this.seconds),\n }}\n key={`${option}-${index}`}\n onClick={e => this.handleTimeOptionClick(e, type)}\n >\n {option}\n </div>\n ))}\n </div>\n );\n }\n\n render() {\n return (\n <Host\n onclick={(e: MouseEvent) => this.handleHostClick(e)}\n aria-expanded={this.open ? 'true' : 'false'}\n >\n {(this.label || this.el.querySelector('[slot=\"label\"]')) && (\n <label htmlFor={this.inputId}>\n <slot name=\"label\">{this.label}</slot>\n </label>\n )}\n\n <nv-popover\n ref={el => (this.popoverElement = el as HTMLNvPopoverElement)}\n triggerMode=\"controlled\"\n placement=\"bottom-start\"\n open={this.open}\n onOpenChanged={this.handleOpenChanged}\n >\n <div class=\"input-wrapper\" slot=\"trigger\">\n <slot name=\"before-input\"></slot>\n\n <div class=\"input-container\">\n <slot name=\"leading-input\"></slot>\n {/* Render input fields based on format */}\n {this.renderTimeInputFields()}\n\n <nv-iconbutton\n name={'clock'}\n size=\"md\"\n emphasis=\"lower\"\n aria-label={this.open ? 'Hide time picker' : 'Show time picker'}\n onClick={() => this.HandleDropdownIconClick()}\n />\n\n {this.error && (\n <nv-icon name=\"alert-circle\" class=\"validation\" size=\"sm\" />\n )}\n {this.success && (\n <nv-icon name=\"circle-check\" class=\"validation\" size=\"sm\" />\n )}\n </div>\n\n <slot name=\"after-input\"></slot>\n </div>\n\n <div class=\"time-dropdown\" slot=\"content\">\n <div class=\"time-columns\">{this.renderTimeDropdownColumns()}</div>\n </div>\n </nv-popover>\n\n {(this.description ||\n this.el.querySelector('[slot=\"description\"]')) && (\n <div class=\"description\">\n <slot name=\"description\">{this.description}</slot>\n </div>\n )}\n\n {(this.errorDescription ||\n this.el.querySelector('[slot=\"error-description\"]')) && (\n <div hidden={!this.error} class=\"error-description\">\n <slot name=\"error-description\">{this.errorDescription}</slot>\n </div>\n )}\n </Host>\n );\n }\n\n //#endregion RENDER\n}\n"]}
|
|
@@ -167,7 +167,7 @@ nv-fieldtime .input-container input.time-input {
|
|
|
167
167
|
overflow: hidden;
|
|
168
168
|
background-color: transparent;
|
|
169
169
|
color: var(--components-form-field-content-text);
|
|
170
|
-
padding: var(--form-field-padding-y) var(--form-field-padding-x);
|
|
170
|
+
padding: calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x);
|
|
171
171
|
font-size: var(--form-field-font-size);
|
|
172
172
|
font-style: normal;
|
|
173
173
|
font-weight: var(--font-weight-medium-emphasis);
|