@nova-design-system/nova-webcomponents 3.25.0 → 3.27.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/i18n.utils-BbKpUgYq.js +77 -0
- package/dist/cjs/{index-BQjqJTJB.js → index-Cfkoz1kc.js} +5 -1
- package/dist/cjs/index.cjs.js +54 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nv-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +6 -4
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/nv-button.cjs.entry.js +2 -2
- package/dist/cjs/nv-buttongroup.cjs.entry.js +3 -3
- package/dist/cjs/nv-calendar.cjs.entry.js +3 -12
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +3 -3
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialog.cjs.entry.js +16 -3
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddate.cjs.entry.js +7 -7
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -8
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +20 -19
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +16 -15
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldradio.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldselect.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +31 -29
- package/dist/cjs/nv-fieldtime.cjs.entry.js +4 -4
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +2 -2
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -2
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +198 -0
- package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +12 -5
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-split.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-table.cjs.entry.js +4 -2
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +4 -4
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/nv-badge/nv-badge.css +4 -1
- package/dist/collection/components/nv-badge/nv-badge.js +3 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.js +1 -1
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.js +1 -1
- package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +4 -4
- package/dist/collection/components/nv-calendar/nv-calendar.js +2 -11
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +0 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +15 -2
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +9 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -7
- package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +0 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldradio/styles/nv-fieldradio.css +20 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +14 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +50 -29
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -4
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
- package/dist/collection/components/nv-notification/nv-notification.js +1 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.css +37 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.docs.js +278 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +359 -0
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.utils.js +70 -0
- package/dist/collection/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.js +66 -0
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +0 -1
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +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 +3 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +11 -4
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +1 -2
- package/dist/collection/components/nv-table/nv-table.utils.js +2 -0
- package/dist/collection/components/nv-table/test/nv-table.utils.test.js +0 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.css +26 -0
- 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-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.css +7 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/test/class.utils.test.js +0 -1
- package/dist/collection/utils/test/dom.utils.test.js +0 -1
- package/dist/components/_.entry.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-buttongroup.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-drawerheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +1 -1
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification-bullet.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.d.ts +11 -0
- package/dist/components/nv-pagination-nav.js +1 -0
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-iXsbKJzR.js → p-6nAIGZFL.js} +1 -1
- package/dist/components/{p-CPjfMClF.js → p-BBy1Mdgv.js} +1 -1
- package/dist/components/{p-Cfr9uriB.js → p-BMpkyzCW.js} +1 -1
- package/dist/components/{p-Cq5FI49y.js → p-Ba1zVklG.js} +1 -1
- package/dist/components/p-BaF3Tuua.js +1 -0
- package/dist/components/{p-mWVXEsBF.js → p-BvxuoODv.js} +1 -1
- package/dist/components/{p-yHGZRC6Q.js → p-BwYt1BAb.js} +1 -1
- package/dist/components/{p-C_a7VT_H.js → p-CAGzfU3O.js} +1 -1
- package/dist/components/p-CR9MpYzU.js +1 -0
- package/dist/components/{p-Bg-b6OWh.js → p-CV12ukSl.js} +1 -1
- package/dist/components/{p-BJSrJH9I.js → p-CZkFkVd8.js} +1 -1
- package/dist/components/p-CcmfuwSa.js +1 -0
- package/dist/components/p-CqJqzGJS.js +1 -0
- package/dist/components/{p-Nf-dwTsx.js → p-D-MnI-R8.js} +1 -1
- package/dist/components/{p-D7xBylwr.js → p-D0bGRzSN.js} +1 -1
- package/dist/components/p-DC_2597n.js +1 -0
- package/dist/components/{p-C6LzzMQm.js → p-Db4JZxyy.js} +1 -1
- package/dist/components/{p-Cw5yG8cD.js → p-DlOgBZa8.js} +2 -2
- package/dist/components/{p-BkqfOhkU.js → p-DrgqO3gF.js} +1 -1
- package/dist/components/{p-C-MlXMFg.js → p-Ho_7-x5W.js} +1 -1
- package/dist/components/{p-D_JRZMC-.js → p-IzPWk8zx.js} +1 -1
- package/dist/components/{p-DkC2jlrw.js → p-S18SgvAW.js} +1 -1
- package/dist/components/{p-tJDdN0lo.js → p-T-bBxAoT.js} +1 -1
- package/dist/components/{p-CskCUxuV.js → p-kMTGXpRx.js} +1 -1
- package/dist/components/p-uAXqRBhx.js +1 -0
- package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
- package/dist/esm/{index-S-IZ4AN_.js → index-BCjiE1MF.js} +5 -1
- package/dist/esm/index.js +53 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nv-accordion-item.entry.js +1 -1
- package/dist/esm/nv-accordion.entry.js +1 -1
- package/dist/esm/nv-alert.entry.js +1 -1
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +6 -4
- package/dist/esm/nv-breadcrumb.entry.js +2 -2
- package/dist/esm/nv-breadcrumbs.entry.js +2 -2
- package/dist/esm/nv-button.entry.js +2 -2
- package/dist/esm/nv-buttongroup.entry.js +3 -3
- package/dist/esm/nv-calendar.entry.js +3 -12
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +3 -3
- package/dist/esm/nv-datagridcolumn.entry.js +2 -2
- package/dist/esm/nv-dialog.entry.js +16 -3
- package/dist/esm/nv-dialogfooter_2.entry.js +3 -3
- package/dist/esm/nv-drawer.entry.js +2 -2
- package/dist/esm/nv-drawerfooter_2.entry.js +3 -3
- package/dist/esm/nv-fieldcheckbox.entry.js +6 -6
- package/dist/esm/nv-fielddate.entry.js +7 -7
- package/dist/esm/nv-fielddaterange.entry.js +7 -8
- package/dist/esm/nv-fielddropdown.entry.js +7 -6
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +3 -2
- package/dist/esm/nv-fieldnumber.entry.js +5 -5
- package/dist/esm/nv-fieldpassword.entry.js +5 -5
- package/dist/esm/nv-fieldradio.entry.js +5 -5
- package/dist/esm/nv-fieldselect.entry.js +6 -6
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +5 -5
- package/dist/esm/nv-fieldtextarea.entry.js +31 -29
- package/dist/esm/nv-fieldtime.entry.js +4 -4
- package/dist/esm/nv-icon.entry.js +3 -3
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-notification-bullet.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +2 -2
- package/dist/esm/nv-notificationcontainer.entry.js +2 -2
- package/dist/esm/nv-pagination-nav.entry.js +196 -0
- package/dist/esm/nv-paginationtable.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-sidebar.entry.js +2 -2
- package/dist/esm/nv-sidebarcontent.entry.js +2 -2
- package/dist/esm/nv-sidebardivider.entry.js +2 -2
- package/dist/esm/nv-sidebarfooter.entry.js +2 -2
- package/dist/esm/nv-sidebargroup.entry.js +2 -2
- package/dist/esm/nv-sidebarheader.entry.js +2 -2
- package/dist/esm/nv-sidebarlogo.entry.js +2 -2
- package/dist/esm/nv-sidebarnavitem.entry.js +12 -5
- package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
- package/dist/esm/nv-split.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-table.entry.js +4 -2
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +4 -4
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +3 -3
- package/dist/esm/{i18n.utils-IlwlcG9l.js → worker-client-BaF3Tuua.js} +20 -74
- package/dist/lib/scripts/nextjs-entry-shim.js +25 -0
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-4016851b.entry.js → p-03cc1f2c.entry.js} +1 -1
- package/dist/native/{p-1bf1a213.entry.js → p-0fe84123.entry.js} +1 -1
- package/dist/native/{p-29f0730f.entry.js → p-148c1d3e.entry.js} +1 -1
- package/dist/native/{p-4c29c4c7.entry.js → p-157c5ac8.entry.js} +1 -1
- package/dist/native/p-18bdc07a.entry.js +1 -0
- package/dist/native/{p-ff7eae44.entry.js → p-1aea6fe0.entry.js} +1 -1
- package/dist/native/p-1c97c353.entry.js +1 -0
- package/dist/native/p-1e0ca4df.entry.js +1 -0
- package/dist/native/{p-5fb6d986.entry.js → p-1f8cc03a.entry.js} +1 -1
- package/dist/native/p-23f0ca96.entry.js +1 -0
- package/dist/native/{p-6ba310e8.entry.js → p-24ce0c8d.entry.js} +1 -1
- package/dist/native/{p-a813f497.entry.js → p-24f69387.entry.js} +1 -1
- package/dist/native/p-25ef7329.entry.js +1 -0
- package/dist/native/{p-ad05cef2.entry.js → p-31ba86b3.entry.js} +1 -1
- package/dist/native/{p-997a2268.entry.js → p-34e19b6e.entry.js} +1 -1
- package/dist/native/{p-70fa3c6b.entry.js → p-39366f18.entry.js} +1 -1
- package/dist/native/{p-1b37bf6c.entry.js → p-3a35cf46.entry.js} +1 -1
- package/dist/native/p-46267895.entry.js +1 -0
- package/dist/native/{p-00b80d2b.entry.js → p-539c04ad.entry.js} +1 -1
- package/dist/native/{p-1c86c5b8.entry.js → p-56593bf0.entry.js} +1 -1
- package/dist/native/{p-2623b212.entry.js → p-591f3dcc.entry.js} +1 -1
- package/dist/native/p-597cac0f.entry.js +1 -0
- package/dist/native/{p-32cbc18b.entry.js → p-5a7e46ad.entry.js} +1 -1
- package/dist/native/{p-e1021e2c.entry.js → p-5c003e50.entry.js} +1 -1
- package/dist/native/p-5ce3d30b.entry.js +1 -0
- package/dist/native/p-5f42a7f1.entry.js +1 -0
- package/dist/native/{p-3c09e565.entry.js → p-6742f88f.entry.js} +1 -1
- package/dist/native/{p-5cbf5973.entry.js → p-67e0680e.entry.js} +1 -1
- package/dist/native/p-6f3c3e2a.entry.js +1 -0
- package/dist/native/{p-e371a958.entry.js → p-7aac0b1a.entry.js} +1 -1
- package/dist/native/{p-99051651.entry.js → p-7d49e88d.entry.js} +1 -1
- package/dist/native/{p-df59dee0.entry.js → p-7ec28d5d.entry.js} +1 -1
- package/dist/native/p-855f7be1.entry.js +1 -0
- package/dist/native/{p-3ac56d5f.entry.js → p-87758615.entry.js} +1 -1
- package/dist/native/{p-84202d8a.entry.js → p-8a0dc37b.entry.js} +1 -1
- package/dist/native/{p-3bd49efe.entry.js → p-8f76e030.entry.js} +1 -1
- package/dist/native/{p-6f368c8d.entry.js → p-90b8b889.entry.js} +1 -1
- package/dist/native/p-927b655d.entry.js +1 -0
- package/dist/native/{p-98de77f8.entry.js → p-9709c7d5.entry.js} +1 -1
- package/dist/native/p-99726dd4.entry.js +1 -0
- package/dist/native/{p-6ccea920.entry.js → p-9fda1976.entry.js} +1 -1
- package/dist/native/{p-S-IZ4AN_.js → p-BCjiE1MF.js} +1 -1
- package/dist/native/p-BaF3Tuua.js +1 -0
- package/dist/native/p-CR9MpYzU.js +1 -0
- package/dist/native/{p-91f71346.entry.js → p-a16f8a14.entry.js} +1 -1
- package/dist/native/{p-0242699e.entry.js → p-a6b3256b.entry.js} +1 -1
- package/dist/native/{p-184b4f0d.entry.js → p-b3964a1c.entry.js} +1 -1
- package/dist/native/{p-87f35ce1.entry.js → p-bb43a3b4.entry.js} +1 -1
- package/dist/native/{p-34cce087.entry.js → p-c0b05d6f.entry.js} +1 -1
- package/dist/native/p-c214e4af.entry.js +1 -0
- package/dist/native/p-c29dc907.entry.js +1 -0
- package/dist/native/{p-b65f3418.entry.js → p-d12a2841.entry.js} +1 -1
- package/dist/native/p-d46bd21a.entry.js +1 -0
- package/dist/native/{p-ca3b996b.entry.js → p-d6e2e120.entry.js} +1 -1
- package/dist/native/p-ddedc9c1.entry.js +1 -0
- package/dist/native/{p-a6287e55.entry.js → p-eb8ba7a2.entry.js} +1 -1
- package/dist/native/{p-4725d9aa.entry.js → p-ebff7ddb.entry.js} +1 -1
- package/dist/native/p-ecce3e66.entry.js +1 -0
- package/dist/native/{p-7f3c3c29.entry.js → p-f9612edf.entry.js} +1 -1
- package/dist/native/p-f9e4daf7.entry.js +1 -0
- package/dist/native/{p-2106dfbd.entry.js → p-fb34fc7d.entry.js} +1 -1
- package/dist/native/{p-98ea927d.entry.js → p-fd5e27ae.entry.js} +1 -1
- package/dist/types/components/nv-dialog/nv-dialog.d.ts +9 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.d.ts +82 -0
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.docs.d.ts +4 -0
- package/dist/types/components/nv-pagination-nav/nv-pagination-nav.utils.d.ts +26 -0
- package/dist/types/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.d.ts +1 -0
- package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.d.ts +2 -0
- package/dist/types/components.d.ts +159 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/nova-docs.d.ts +0 -1
- package/dist/vscode-data.json +54 -1
- package/hydrate/index.js +381 -145
- package/hydrate/index.mjs +381 -145
- package/package.json +6 -2
- package/dist/components/p-BqRuoNHJ.js +0 -1
- package/dist/components/p-CGXDiomF.js +0 -1
- package/dist/components/p-ChRIFm7p.js +0 -1
- package/dist/components/p-IlwlcG9l.js +0 -1
- package/dist/components/p-r3_atQ9r.js +0 -1
- package/dist/native/p-01d09dfa.entry.js +0 -1
- package/dist/native/p-09b88c8d.entry.js +0 -1
- package/dist/native/p-1a1a6bbf.entry.js +0 -1
- package/dist/native/p-223814fe.entry.js +0 -1
- package/dist/native/p-2b7e621a.entry.js +0 -1
- package/dist/native/p-38e981f2.entry.js +0 -1
- package/dist/native/p-3e949805.entry.js +0 -1
- package/dist/native/p-4bda5842.entry.js +0 -1
- package/dist/native/p-6a548776.entry.js +0 -1
- package/dist/native/p-6e9b95fa.entry.js +0 -1
- package/dist/native/p-IlwlcG9l.js +0 -1
- package/dist/native/p-a60660f6.entry.js +0 -1
- package/dist/native/p-bf8b0be2.entry.js +0 -1
- package/dist/native/p-d9c1287c.entry.js +0 -1
- package/dist/native/p-d9cebb66.entry.js +0 -1
- package/dist/native/p-da417f83.entry.js +0 -1
- package/dist/native/p-e5dbacf6.entry.js +0 -1
- package/dist/native/p-ed19f3dc.entry.js +0 -1
- package/dist/native/p-f1b6d43b.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
const nvSidebarnavsubitemCss = () => `nv-sidebarnavsubitem{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--sidebar-item-padding-y) var(--sidebar-item-padding-x) var(--sidebar-item-padding-y) calc(var(--sidebar-sub-item-padding-left) + var(--sidebar-item-padding-x));cursor:pointer;transition:all 0.15s ease;position:relative;min-height:var(--spacing-10);background-color:var(--color-interaction-container-neutral-background);border-radius:var(--sidebar-item-radius);--nv-component-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavsubitem:hover{background-color:var(--color-interaction-container-neutral-background-hover);--nv-component-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavsubitem:focus,nv-sidebarnavsubitem:focus-within{outline:none}nv-sidebarnavsubitem:focus-visible,nv-sidebarnavsubitem:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{display:none}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{flex:1;display:flex;align-items:center;gap:var(--spacing-2);font-size:var(--font-size-sm);color:var(--color-content-medium-text);text-decoration:none;font-weight:var(--font-weight-medium-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavsubitem:hover .nv-sidebarnavsubitem-content{color:var(--color-content-medium-text)}nv-sidebarnavsubitem[active]{background-color:var(--color-interaction-container-neutral-background-active);--nv-component-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavsubitem[active] .nv-sidebarnavsubitem-content{color:var(--color-interaction-container-neutral-text-active);font-weight:var(--font-weight-high-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:flex;align-items:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{max-width:0;opacity:0;margin:0;overflow:hidden;transition:opacity 0.2s ease, max-width 0.2s ease}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{margin-right:0;width:var(--spacing-6);justify-content:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:none}`;
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ const NvSidebarnavsubitem = class {
|
|
|
24
24
|
/****************************************************************************/
|
|
25
25
|
//#region RENDER
|
|
26
26
|
render() {
|
|
27
|
-
return (index.h(index.Host, { key: '
|
|
27
|
+
return (index.h(index.Host, { key: 'd9279792355dc0d64f0e513b727447a27fcb1fa9', role: "listitem", "aria-current": this.active ? 'page' : undefined }, index.h("div", { key: 'a5ea72c3bbd5b08f075c4fa8281919792f125c80', class: "nv-sidebarnavsubitem-indicator" }), index.h("div", { key: '2d2c37eedf9e6db6d9cc44c0af4b26e2fb9f601c', class: "nv-sidebarnavsubitem-content" }, index.h("slot", { key: '635c40197bc256aabe6962d831dc9431a6ce1cda' })), index.h("div", { key: '192dbe9426642b9af4401f21d33c36272e327304', class: "nv-sidebarnavsubitem-trailing" }, index.h("slot", { key: '0ebd3bd4dab2bb45556cde7bd8cd4f8dd27bdba2', name: "trailing" }))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
NvSidebarnavsubitem.style = nvSidebarnavsubitemCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
const nvSplitCss = () => `nv-split{display:flex;width:100%;height:100%;position:relative}nv-split[direction=horizontal]{flex-direction:row}nv-split[direction=vertical]{flex-direction:column}nv-split .nv-split-gutter{position:absolute;z-index:10;background:transparent;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background-color 0.2s ease}nv-split .nv-split-gutter::after{content:"";position:absolute;background:var(--components-splitter-line-background);transition:background-color 0.2s ease}nv-split .nv-split-gutter:hover::after{background:var(--components-splitter-line-background-hover)}nv-split .nv-split-gutter::before{content:"";background:var(--components-splitter-handle-background);position:absolute;background-repeat:no-repeat;background-position:center;transition:all 0.2s ease;pointer-events:none}nv-split[direction=horizontal]>.nv-split-gutter{width:var(--splitter-gutter);top:0;bottom:0;transform:translateX(-50%);cursor:col-resize}nv-split[direction=horizontal]>.nv-split-gutter::after{width:var(--splitter-line-width);background-color:var(--components-splitter-line-background);height:100%;left:50%;top:0%;transform:translateX(-50%)}nv-split[direction=horizontal]>.nv-split-gutter:hover::after{background-color:var(--components-splitter-line-background-hover)}nv-split[direction=horizontal]>.nv-split-gutter:active::after{background-color:var(--components-splitter-line-background-active)}nv-split[direction=horizontal]>.nv-split-gutter::before{background-color:var(--components-splitter-handle-background);width:var(--splitter-handle-wide);height:var(--splitter-handle-long);border-radius:var(--splitter-handle-radius);z-index:11;transition:all 0.2s ease}nv-split[direction=horizontal]>.nv-split-gutter:hover::before{background-color:var(--components-splitter-handle-background-hover)}nv-split[direction=horizontal]>.nv-split-gutter:active::before{background-color:var(--components-splitter-handle-background-active)}nv-split[direction=vertical]>.nv-split-gutter{height:var(--splitter-gutter);left:0;right:0;transform:translateY(-50%);cursor:row-resize}nv-split[direction=vertical]>.nv-split-gutter::after{height:var(--splitter-line-width);background-color:var(--components-splitter-line-background);width:100%;top:50%;left:0%;transform:translateY(-50%)}nv-split[direction=vertical]>.nv-split-gutter:hover::after{background-color:var(--components-splitter-line-background-hover)}nv-split[direction=vertical]>.nv-split-gutter:active::after{background-color:var(--components-splitter-line-background-active)}nv-split[direction=vertical]>.nv-split-gutter::before{background-color:var(--components-splitter-handle-background);width:var(--splitter-handle-long);height:var(--splitter-handle-wide);border-radius:var(--splitter-handle-radius);z-index:11;transition:all 0.2s ease}nv-split[direction=vertical]>.nv-split-gutter:hover::before{background-color:var(--components-splitter-handle-background-hover)}nv-split[direction=vertical]>.nv-split-gutter:active::before{background-color:var(--components-splitter-handle-background-active)}nv-split[data-dragging=true]>.nv-split-gutter::after{background:var(--components-splitter-line-background-active)}nv-split>[slot=pane]{box-sizing:border-box;flex:1 1 auto;overflow:hidden;min-width:0;min-height:0;display:flex;flex-direction:column;margin:0 !important}nv-split>[slot=pane]>nv-split{flex:1 1 auto;width:100%;height:100%}`;
|
|
6
6
|
|
|
@@ -323,7 +323,7 @@ const NvSplit = class {
|
|
|
323
323
|
/****************************************************************************/
|
|
324
324
|
//#region RENDER
|
|
325
325
|
render() {
|
|
326
|
-
return (index.h(index.Host, { key: '
|
|
326
|
+
return (index.h(index.Host, { key: 'ab5109b9c1c1e59f794029899855d7ddfba304f1', "data-dragging": this.isDragging.toString() }, index.h("slot", { key: 'd7587efb2e4799f102baaa624555e250fe3746a8', name: "pane" }), index.h("slot", { key: 'af615e7e74a99db838e3d71334b20ed2e77994f9', name: "gutter" })));
|
|
327
327
|
}
|
|
328
328
|
get el() { return index.getElement(this); }
|
|
329
329
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
var clsx = require('./clsx-BtxeOLZW.js');
|
|
5
5
|
|
|
6
6
|
const nvStackCss = () => `nv-stack{display:flex;align-items:center;justify-content:flex-start;flex-direction:row}nv-stack nv-col{display:flex}nv-stack:not(nv-row){flex-wrap:nowrap}nv-stack>.nv-stack-item-flex{flex-shrink:1;flex-grow:1}nv-stack>.nv-stack-item-lead{margin-right:auto}nv-stack>.nv-stack-item-lead+*{margin-left:0}nv-stack>.nv-stack-item-center{margin-right:auto;margin-left:auto}nv-stack>.nv-stack-item-tail{margin-left:auto}nv-stack>.nv-stack-nowrap{white-space:nowrap}nv-stack.nv-stack-vertical{align-items:stretch;flex-direction:column}nv-stack.nv-stack-vertical>.nv-stack-item-lead{margin-right:0;margin-bottom:auto}nv-stack.nv-stack-vertical>.nv-stack-item-lead+*{margin-top:0}nv-stack.nv-stack-vertical>.nv-stack-item-tail{margin-left:0;margin-top:auto}nv-stack.nv-stack-vertical>.nv-stack-item-center{margin:auto 0}nv-stack.nv-stack-flex>*{flex-shrink:1;flex-grow:1}nv-stack.nv-stack-fill>*{height:100%}nv-stack.nv-stack-fill.nv-stack-vertical>*{height:auto;width:100%}`;
|
|
@@ -20,7 +20,7 @@ const NvStack = class {
|
|
|
20
20
|
/****************************************************************************/
|
|
21
21
|
//#region RENDER
|
|
22
22
|
render() {
|
|
23
|
-
return (index.h(index.Host, { key: '
|
|
23
|
+
return (index.h(index.Host, { key: 'd4399a61570a72d817150c5d50c38e89147459d4', class: clsx.clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, index.h("slot", { key: 'd7bec1dff9c21480b69aed24e4a6081d6de627f7' })));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
NvStack.style = nvStackCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Table utility functions and constants for nv-table component
|
|
@@ -113,6 +113,8 @@ function releasePointerCapture(cell, pointerId) {
|
|
|
113
113
|
* @param {boolean} prevent - Whether to prevent selection
|
|
114
114
|
*/
|
|
115
115
|
function setUserSelectPrevention(prevent) {
|
|
116
|
+
if (!document)
|
|
117
|
+
return; // SSR & node env fallback safety
|
|
116
118
|
document.body.style.userSelect = prevent ? 'none' : '';
|
|
117
119
|
}
|
|
118
120
|
/**
|
|
@@ -231,7 +233,7 @@ const NvTable = class {
|
|
|
231
233
|
/****************************************************************************/
|
|
232
234
|
//#region RENDER
|
|
233
235
|
render() {
|
|
234
|
-
return (index.h(index.Host, { key: '
|
|
236
|
+
return (index.h(index.Host, { key: '43a288ca58eb82de6308dd98ac30abb3fc971f1e' }, index.h("slot", { key: '3a0b986f015777d2ca95b8ce7aebab7133b5d054' })));
|
|
235
237
|
}
|
|
236
238
|
get host() { return index.getElement(this); }
|
|
237
239
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
const nvTableheaderCss = () => `nv-tableheader{display:inline-flex;width:100%;align-items:center;gap:var(--spacing-2)}nv-tableheader:focus-visible:focus,nv-tableheader:focus-visible:focus-within{outline:none}nv-tableheader:focus-visible:focus-visible,nv-tableheader:focus-visible:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-tableheader:focus-visible{border-radius:var(--radius-rounded-sm)}nv-tableheader nv-iconbutton{transition:transform 120ms ease, opacity 120ms ease}nv-tableheader nv-iconbutton svg{transition:transform 240ms ease}nv-tableheader nv-iconbutton.is-none{opacity:0.5}nv-tableheader nv-iconbutton.is-desc svg{transform:rotate(180deg)}`;
|
|
6
6
|
|
|
@@ -59,7 +59,7 @@ const NvTableheader = class {
|
|
|
59
59
|
/****************************************************************************/
|
|
60
60
|
//#region RENDER
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '809cf43ff3c9d3977a60a30e350fe6f4457c39f4', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, index.h("slot", { key: 'ba569a25aa09bb3b18d39e463474698efe6cff40' }), this.sortable && (index.h("span", { key: '77a948313d5dfc746c142eaf448df609ae0bf2b3', class: "sort-icon-wrap", "aria-hidden": "true" }, index.h("nv-iconbutton", { key: 'f18fa1d05c5d4eac8c057a7f350c270eaacc7055', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
63
63
|
// prevent mousedown from selecting text
|
|
64
64
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
65
65
|
'is-none': this.sortDirection === 'none',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
var clsx = require('./clsx-BtxeOLZW.js');
|
|
5
5
|
var v4 = require('./v4-C1vaJ4yP.js');
|
|
6
6
|
|
|
7
|
-
const nvToggleCss = () =>
|
|
7
|
+
const nvToggleCss = () => `@charset "UTF-8";nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle label{align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-toggle label.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-toggle-border-default);background:var(--components-toggle-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-toggle-shape-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-toggle-border-hover)}nv-toggle .input-container input[type=checkbox]:hover::after{background-color:var(--components-toggle-shape-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-toggle-border-default)}nv-toggle .input-container input[type=checkbox]:focus::after{background-color:var(--components-toggle-shape-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-toggle-background-default-checked);border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-toggle-shape-default-checked);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-toggle-background-default-checked);border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-toggle-background-disabled);border-color:var(--components-toggle-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked{background:var(--components-toggle-background-disabled-checked);border-color:var(--components-toggle-border-disabled-checked)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-toggle-shape-disabled-checked)}@media print{nv-toggle .input-container input[type=checkbox]::after{content:"●";top:calc(50% - 3.5px);width:auto;height:auto;background:none;color:var(--components-toggle-border-default);font-size:calc(var(--form-toggle-switch-dot-default) * 3);line-height:1}nv-toggle .input-container input[type=checkbox]:checked{background:transparent;border-color:var(--components-toggle-border-default-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:"●";top:calc(50% - 3.5px);width:auto;height:auto;left:75%;background:none;color:var(--components-toggle-border-default-checked)}}nv-toggle .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}`;
|
|
8
8
|
|
|
9
9
|
const NvToggle = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -63,8 +63,8 @@ const NvToggle = class {
|
|
|
63
63
|
/****************************************************************************/
|
|
64
64
|
//#region RENDER
|
|
65
65
|
render() {
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
67
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '626c2acc6992a641c5fd94509fd0ef171fd6d1c6', class: clsx.clsx(this.labelPlacement === 'before' && 'label-placement-before') }, index.h("div", { key: 'a9e4b73d740032520f6094bcada1f835b4bac16c', class: "input-container" }, index.h("input", { key: '1856dfa88421fecee06bdf098dcad22e69f34c00', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), index.h("div", { key: '4c46bc519d38a66fdecf75cb15caf6d577d92856', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'fd61979a72a2b4e3254987beafd4b024fe1c6bae', htmlFor: this.inputId, class: clsx.clsx(this.hideLabel && 'visually-hidden') }, index.h("slot", { key: '0e32e3e03ffda0633f881f41d2372a3d92d82f10', name: "label" }, this.label))), (this.description ||
|
|
67
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '688d4160a48d85fa5049556de27f0a26f10ec549', class: "description" }, index.h("slot", { key: '006a61b40a49426bc7c70f1fe830aeb38ecdbf3b', name: "description" }, this.description))))));
|
|
68
68
|
}
|
|
69
69
|
static get formAssociated() { return true; }
|
|
70
70
|
get el() { return index.getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
const nvTogglebuttonCss = () => `nv-togglebutton{display:inline-flex;justify-content:center;align-items:center}nv-togglebutton:focus-visible,nv-togglebutton:has(:focus-visible){z-index:1}nv-togglebutton[size=xs]{padding:var(--button-xs-padding-y) var(--button-xs-padding-x);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);height:var(--button-xs-height);font-size:var(--button-xs-font-size)}nv-togglebutton[size=xs] nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-togglebutton[size=xs]{padding-top:calc(var(--togglegroup-xs-button-padding-y) - var(--togglegroup-stroke));padding-bottom:calc(var(--togglegroup-xs-button-padding-y) - var(--togglegroup-stroke));border-radius:var(--togglegroup-xs-button-radius);height:calc((var(--togglegroup-xs-height)) - var(--togglegroup-inner-space));border-width:0}nv-togglebutton[size=sm]{padding:var(--button-sm-padding-y) var(--button-sm-padding-x);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);height:var(--button-sm-height);font-size:var(--button-sm-font-size)}nv-togglebutton[size=sm] nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-togglebutton[size=sm]{padding-top:calc(var(--togglegroup-sm-button-padding-y) - var(--togglegroup-stroke));padding-bottom:calc(var(--togglegroup-sm-button-padding-y) - var(--togglegroup-stroke));border-radius:calc(var(--togglegroup-sm-button-radius) + 1px);height:calc((var(--togglegroup-sm-height)) - var(--togglegroup-inner-space));border-width:0}nv-togglebutton[size=md]{padding:var(--button-md-padding-y) var(--button-md-padding-x);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);height:var(--button-md-height);font-size:var(--button-md-font-size)}nv-togglebutton[size=md] nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-togglebutton[size=md]{padding-top:calc(var(--togglegroup-md-button-padding-y) - var(--togglegroup-stroke));padding-bottom:calc(var(--togglegroup-md-button-padding-y) - var(--togglegroup-stroke));border-radius:calc(var(--togglegroup-md-button-radius) + 1px);height:calc((var(--togglegroup-md-height)) - var(--togglegroup-inner-space));border-width:0}nv-togglebutton[size=lg]{padding:var(--button-lg-padding-y) var(--button-lg-padding-x);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);height:var(--button-lg-height);font-size:var(--button-lg-font-size)}nv-togglebutton[size=lg] nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-togglebutton[size=lg]{padding-top:calc(var(--togglegroup-lg-button-padding-y) - var(--togglegroup-stroke));padding-bottom:calc(var(--togglegroup-lg-button-padding-y) - var(--togglegroup-stroke));border-radius:calc(var(--togglegroup-lg-button-radius) + 1px);height:calc((var(--togglegroup-lg-height)) - var(--togglegroup-inner-space));border-width:0}nv-togglebutton[emphasis=high]{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-togglebutton[emphasis=high]:hover{background:var(--components-button-low-background-hover);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text-hover)}nv-togglebutton[emphasis=high]:active{background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-togglebutton[emphasis=high]:focus,nv-togglebutton[emphasis=high]:focus-within{outline:none}nv-togglebutton[emphasis=high]:focus-visible,nv-togglebutton[emphasis=high]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-togglebutton[emphasis=high]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-togglebutton[emphasis=high][active]:not([active=false]){background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-togglebutton[emphasis=low]{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-togglebutton[emphasis=low]:hover{background:var(--components-button-lower-background-hover);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text-hover)}nv-togglebutton[emphasis=low]:active{background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-togglebutton[emphasis=low]:focus,nv-togglebutton[emphasis=low]:focus-within{outline:none}nv-togglebutton[emphasis=low]:focus-visible,nv-togglebutton[emphasis=low]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-togglebutton[emphasis=low]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-togglebutton[emphasis=low][active]:not([active=false]),nv-togglebutton[emphasis=low]:active{background:var(--components-button-lower-background-hover);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text-hover)}`;
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ const NvTogglebutton = class {
|
|
|
54
54
|
/****************************************************************************/
|
|
55
55
|
//#region RENDER
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: 'd619862ae9db76a7ce34b05c4974d40e731a576e', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, index.h("slot", { key: '5bb9a32e26c3c404a9d2bab2bf7d573a501296a5' })));
|
|
58
58
|
}
|
|
59
59
|
get el() { return index.getElement(this); }
|
|
60
60
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
5
|
const nvTogglebuttongroupCss = () => `nv-togglebuttongroup{display:flex;gap:var(--togglegroup-lg-gap);border-radius:var(--togglegroup-lg-radius);width:fit-content;padding:var(--togglegroup-lg-gap)}nv-togglebuttongroup[emphasis=high]{border:1px solid var(--components-togglegroup-high-border)}nv-togglebuttongroup[emphasis=low]{border:1px solid var(--components-togglegroup-low-border)}nv-togglebuttongroup[size=xs]{padding:calc(var(--togglegroup-xs-padding) - 1px);gap:var(--togglegroup-xs-gap);border-radius:var(--togglegroup-xs-radius);height:var(--togglegroup-xs-height)}nv-togglebuttongroup[size=sm]{padding:calc(var(--togglegroup-sm-padding) - 1px);gap:var(--togglegroup-sm-gap);border-radius:var(--togglegroup-sm-radius);height:var(--togglegroup-sm-height)}nv-togglebuttongroup[size=md]{padding:calc(var(--togglegroup-md-padding) - 1px);gap:var(--togglegroup-md-gap);border-radius:var(--togglegroup-md-radius);height:var(--togglegroup-md-height)}nv-togglebuttongroup[size=lg]{padding:calc(var(--togglegroup-lg-padding) - 1px);gap:var(--togglegroup-lg-gap);border-radius:var(--togglegroup-lg-radius);height:var(--togglegroup-lg-height)}`;
|
|
6
6
|
|
|
@@ -153,7 +153,7 @@ const NvTogglebuttongroup = class {
|
|
|
153
153
|
/****************************************************************************/
|
|
154
154
|
//#region RENDER
|
|
155
155
|
render() {
|
|
156
|
-
return (index.h(index.Host, { key: '
|
|
156
|
+
return (index.h(index.Host, { key: '93a5693197f8b41b18ecef0132168e7f209ec86a' }, index.h("slot", { key: '3085cde261575115286c295eb416063ef14a7bf2' })));
|
|
157
157
|
}
|
|
158
158
|
get el() { return index.getElement(this); }
|
|
159
159
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Cfkoz1kc.js');
|
|
4
4
|
|
|
5
|
-
const nvTooltipCss = () => `nv-tooltip{display:inline-block;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}`;
|
|
5
|
+
const nvTooltipCss = () => `nv-tooltip{display:inline-block;vertical-align:top;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover{display:block;height:0;min-height:0;overflow:visible}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}`;
|
|
6
6
|
|
|
7
7
|
const NvTooltip = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -44,7 +44,7 @@ const NvTooltip = class {
|
|
|
44
44
|
/****************************************************************************/
|
|
45
45
|
//#region RENDER
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: 'f01e67c6f67c35beba40681c4bcd109886bbdbcf' }, index.h("nv-popover", { key: '47cd75161715752aeeae29223606e21c617a271a', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, index.h("p", { key: 'fe5b09a6c0e4a67a50c9f43cb8344cee68e197f5', slot: "content" }, this.message), index.h("slot", { key: '4ef23e294baa1d5e60236ffec4a26439610030c1', name: "content" })), index.h("slot", { key: '5d8486923cd7cf99da69f4fa4d319dd5b5999cfa', ref: el => (this.defaultSlot = el) })));
|
|
48
48
|
}
|
|
49
49
|
get el() { return index.getElement(this); }
|
|
50
50
|
};
|
|
@@ -72,6 +72,8 @@ const MIN_WORKER_THRESHOLD = 0;
|
|
|
72
72
|
const MAX_WORKER_THRESHOLD = 50000;
|
|
73
73
|
/** Default fuzzy threshold (0-1, lower = stricter) */
|
|
74
74
|
const DEFAULT_FUZZY_THRESHOLD = 0.3;
|
|
75
|
+
/** Default debounce delay for strict/smart modes (ms) */
|
|
76
|
+
const DEFAULT_DEBOUNCE_DELAY = 150;
|
|
75
77
|
/** Debounce delay for fuzzy mode (ms) */
|
|
76
78
|
const FUZZY_DEBOUNCE_DELAY = 300;
|
|
77
79
|
/**
|
|
@@ -192,6 +194,16 @@ function buildIndex(items) {
|
|
|
192
194
|
};
|
|
193
195
|
});
|
|
194
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* Updates the index when items change.
|
|
199
|
+
* This is an alias for buildIndex for semantic clarity.
|
|
200
|
+
*
|
|
201
|
+
* @param {RawItem[]} items - Array of raw items with id and label
|
|
202
|
+
* @returns {IndexedItem[]} Array of indexed items with pre-computed norm and tokens
|
|
203
|
+
*/
|
|
204
|
+
function rebuildIndex(items) {
|
|
205
|
+
return buildIndex(items);
|
|
206
|
+
}
|
|
195
207
|
|
|
196
208
|
/**
|
|
197
209
|
* @fileoverview Strict search strategy using normalized substring matching.
|
|
@@ -2085,6 +2097,13 @@ function searchFuzzy(indexedItems, query, threshold = 0.3) {
|
|
|
2085
2097
|
// Return IDs sorted by relevance (best matches first)
|
|
2086
2098
|
return results.map(result => result.item.id);
|
|
2087
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Clears the Fuse.js cache.
|
|
2102
|
+
* Call this when the items change to ensure fresh indexing.
|
|
2103
|
+
*/
|
|
2104
|
+
function clearFuzzyCache() {
|
|
2105
|
+
fuseCache = null;
|
|
2106
|
+
}
|
|
2088
2107
|
|
|
2089
2108
|
/**
|
|
2090
2109
|
* @fileoverview Main search engine that orchestrates search operations.
|
|
@@ -2408,87 +2427,28 @@ class SearchWorkerClient {
|
|
|
2408
2427
|
}
|
|
2409
2428
|
}
|
|
2410
2429
|
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
/**
|
|
2416
|
-
* Default translations for truncated results text.
|
|
2417
|
-
* Supports placeholders: {shown} and {total}
|
|
2418
|
-
*/
|
|
2419
|
-
const TRUNCATED_RESULTS_TRANSLATIONS = {
|
|
2420
|
-
en: '{shown} results shown out of {total} — refine your search',
|
|
2421
|
-
fr: '{shown} résultats affichés sur {total} — affinez votre recherche',
|
|
2422
|
-
de: '{shown} von {total} Ergebnissen angezeigt — verfeinern Sie Ihre Suche',
|
|
2423
|
-
es: '{shown} resultados mostrados de {total} — refine su búsqueda',
|
|
2424
|
-
it: '{shown} risultati mostrati su {total} — perfeziona la tua ricerca',
|
|
2425
|
-
nl: '{shown} resultaten getoond van {total} — verfijn uw zoekopdracht',
|
|
2426
|
-
pt: '{shown} resultados exibidos de {total} — refine sua pesquisa',
|
|
2427
|
-
ru: '{shown} результатов показано из {total} — уточните поиск',
|
|
2428
|
-
ja: '{shown}件の結果が{total}件中表示されています — 検索を絞り込んでください',
|
|
2429
|
-
zh: '{shown}个结果,共{total}个 — 请细化您的搜索',
|
|
2430
|
-
ko: '{shown}개 결과가 {total}개 중 표시됨 — 검색을 구체화하세요',
|
|
2431
|
-
};
|
|
2432
|
-
/**
|
|
2433
|
-
* Gets the browser's locale (language code).
|
|
2434
|
-
* Falls back to 'en' if detection fails.
|
|
2435
|
-
*
|
|
2436
|
-
* @returns {string} The locale code (e.g., 'en', 'fr', 'de')
|
|
2437
|
-
*/
|
|
2438
|
-
function getBrowserLocale() {
|
|
2439
|
-
if (typeof navigator === 'undefined') {
|
|
2440
|
-
return 'en';
|
|
2441
|
-
}
|
|
2442
|
-
// Try navigator.language first (e.g., 'en-US', 'fr-FR')
|
|
2443
|
-
const language = navigator.language || navigator.languages?.[0] || 'en';
|
|
2444
|
-
// Extract the base language code (e.g., 'en' from 'en-US')
|
|
2445
|
-
return language.split('-')[0].toLowerCase();
|
|
2446
|
-
}
|
|
2447
|
-
/**
|
|
2448
|
-
* Gets the localized truncated results text.
|
|
2449
|
-
* Automatically detects browser locale and provides appropriate translation.
|
|
2450
|
-
* Falls back to English if translation is not available.
|
|
2451
|
-
*
|
|
2452
|
-
* @param {string} [locale] - Optional locale override. If not provided, uses browser locale.
|
|
2453
|
-
* @returns {string} The localized text with placeholders {shown} and {total}
|
|
2454
|
-
*
|
|
2455
|
-
* @example
|
|
2456
|
-
* getTruncatedResultsText() // Uses browser locale
|
|
2457
|
-
* getTruncatedResultsText('fr') // Returns French translation
|
|
2458
|
-
* getTruncatedResultsText('de') // Returns German translation
|
|
2459
|
-
*/
|
|
2460
|
-
function getTruncatedResultsText(locale) {
|
|
2461
|
-
const targetLocale = locale
|
|
2462
|
-
? locale.split('-')[0].toLowerCase()
|
|
2463
|
-
: getBrowserLocale();
|
|
2464
|
-
return (TRUNCATED_RESULTS_TRANSLATIONS[targetLocale] ||
|
|
2465
|
-
TRUNCATED_RESULTS_TRANSLATIONS.en);
|
|
2466
|
-
}
|
|
2467
|
-
/**
|
|
2468
|
-
* Formats the truncated results text by replacing placeholders with actual values.
|
|
2469
|
-
*
|
|
2470
|
-
* @param {string} template - The text template with {shown} and {total} placeholders
|
|
2471
|
-
* @param {number} shown - The number of items shown
|
|
2472
|
-
* @param {number} total - The total number of items
|
|
2473
|
-
* @returns {string} The formatted text with replaced placeholders
|
|
2474
|
-
*
|
|
2475
|
-
* @example
|
|
2476
|
-
* formatTruncatedResults('{shown} of {total}', 10, 100) // '10 of 100'
|
|
2477
|
-
*/
|
|
2478
|
-
function formatTruncatedResults(template, shown, total) {
|
|
2479
|
-
return template
|
|
2480
|
-
.replace(/{shown}/g, String(shown))
|
|
2481
|
-
.replace(/{total}/g, String(total));
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2430
|
+
exports.DEFAULT_DEBOUNCE_DELAY = DEFAULT_DEBOUNCE_DELAY;
|
|
2431
|
+
exports.DEFAULT_FUZZY_THRESHOLD = DEFAULT_FUZZY_THRESHOLD;
|
|
2432
|
+
exports.DEFAULT_MAX_RESULTS = DEFAULT_MAX_RESULTS;
|
|
2433
|
+
exports.DEFAULT_WORKER_THRESHOLD = DEFAULT_WORKER_THRESHOLD;
|
|
2484
2434
|
exports.FUZZY_DEBOUNCE_DELAY = FUZZY_DEBOUNCE_DELAY;
|
|
2435
|
+
exports.HARD_CAP_MAX_RESULTS = HARD_CAP_MAX_RESULTS;
|
|
2436
|
+
exports.MAX_WORKER_THRESHOLD = MAX_WORKER_THRESHOLD;
|
|
2437
|
+
exports.MIN_MAX_RESULTS = MIN_MAX_RESULTS;
|
|
2438
|
+
exports.MIN_WORKER_THRESHOLD = MIN_WORKER_THRESHOLD;
|
|
2485
2439
|
exports.SearchWorkerClient = SearchWorkerClient;
|
|
2486
2440
|
exports.buildIndex = buildIndex;
|
|
2441
|
+
exports.clampFuzzyThreshold = clampFuzzyThreshold;
|
|
2487
2442
|
exports.clampMaxResults = clampMaxResults;
|
|
2488
2443
|
exports.clampWorkerThreshold = clampWorkerThreshold;
|
|
2489
|
-
exports.
|
|
2444
|
+
exports.clearFuzzyCache = clearFuzzyCache;
|
|
2490
2445
|
exports.getEffectiveFilterMode = getEffectiveFilterMode;
|
|
2491
|
-
exports.getTruncatedResultsText = getTruncatedResultsText;
|
|
2492
2446
|
exports.isWorkerSupported = isWorkerSupported;
|
|
2447
|
+
exports.normalize = normalize;
|
|
2448
|
+
exports.rebuildIndex = rebuildIndex;
|
|
2493
2449
|
exports.search = search;
|
|
2450
|
+
exports.searchFuzzy = searchFuzzy;
|
|
2451
|
+
exports.searchSmart = searchSmart;
|
|
2452
|
+
exports.searchStrict = searchStrict;
|
|
2494
2453
|
exports.shouldUseWorker = shouldUseWorker;
|
|
2454
|
+
exports.tokenize = tokenize;
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"components/nv-notification/nv-notification.js",
|
|
43
43
|
"components/nv-notification-bullet/nv-notification-bullet.js",
|
|
44
44
|
"components/nv-notificationcontainer/nv-notificationcontainer.js",
|
|
45
|
+
"components/nv-pagination-nav/nv-pagination-nav.js",
|
|
45
46
|
"components/nv-paginationtable/nv-paginationtable.js",
|
|
46
47
|
"components/nv-popover/nv-popover.js",
|
|
47
48
|
"components/nv-row/nv-row.js",
|
|
@@ -374,7 +374,10 @@ nv-badge.badge-petrol .close:focus-visible, nv-badge.badge-petrol .close:has(:fo
|
|
|
374
374
|
nv-badge.badge-petrol nv-icon {
|
|
375
375
|
color: var(--color-rainbow-8-icon);
|
|
376
376
|
}
|
|
377
|
-
nv-badge
|
|
377
|
+
nv-badge .nv-badge-leading {
|
|
378
|
+
display: contents;
|
|
379
|
+
}
|
|
380
|
+
nv-badge .nv-badge-label {
|
|
378
381
|
font-size: var(--font-size-xs);
|
|
379
382
|
line-height: var(--line-height-xs) !important;
|
|
380
383
|
text-align: center;
|
|
@@ -129,7 +129,9 @@ export class NvBadge {
|
|
|
129
129
|
'with-gap': this.dismissible || this.label,
|
|
130
130
|
'visually-hidden': this._isHidden,
|
|
131
131
|
'is-icon-only': this.isIconOnly,
|
|
132
|
-
}) }, h("
|
|
132
|
+
}) }, h("span", { key: '11cec03cc5f65c6def293b548d71ea53fd2ec2bb', class: "nv-badge-leading" }, this.leadIcon && h("nv-icon", { key: 'a9433930c4e7dd50d3abd34e1cd64b5b4eea9698', name: this.leadIcon, size: "sm" }), h("slot", { key: 'a93320c14a9e31b9b9796b5fb9cb03a04a2ea1d5', name: "leading-icon" })), h("span", { key: '5a8a3568cfbe2e9b61a42b3cd5b5056bd5c2563f', class: clsx('nv-badge-label', {
|
|
133
|
+
'visually-hidden': this.isIconOnly,
|
|
134
|
+
}) }, this.label, h("slot", { key: '4b0c4558957d4505208e2352382365b2f50810d1' })), this.dismissible && (h("button", { key: '945df330dcae40586ac02d349abc73131e8ce596', onClick: this.handleClose, class: "close", type: "button" }, h("nv-icon", { key: '37535be0818bc78809f5585841757dd992617753', name: "x", size: "sm" })))));
|
|
133
135
|
}
|
|
134
136
|
static get is() { return "nv-badge"; }
|
|
135
137
|
static get originalStyleUrls() {
|
|
@@ -34,7 +34,7 @@ export class NvBreadcrumb {
|
|
|
34
34
|
/****************************************************************************/
|
|
35
35
|
//#region RENDER
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '032880129d2acf89ed3e57367e357391a1e0848d', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (h("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (h("slot", { ref: el => (this.defaultSlot = el) })), this.tooltip && (h("nv-tooltip", { key: '90cdd03fa067846b3f3fa8ff264899b6ca170485', ref: el => (this.toolTipRef = el), message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (h("nv-popover", { key: 'acda8815ed5e216cf89cdd34323dd8211a8ea020', ref: el => (this.popoverRef = el), triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, h("ul", { key: '424396d17c2452cb6280aaa6446ee6f8ea52ea6e', slot: "content" }, h("slot", { key: '668bc1e090901e62c01079e4b058d3e6b044afd0' })))), h("span", { key: '1c84f3c4cf91cc976722a838188baae0521eb7f4', "data-scope": "separator" }, "/")));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "nv-breadcrumb"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
export class NvBreadcrumbs {
|
|
6
6
|
//#region RENDER
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'f8221b9ae4d3a5fabedbe497fef43832fc498df4', role: "navigation", "aria-label": "breadcrumbs" }, h("slot", { key: '047683541469ee0490e296813cb7e303127ad200' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "nv-breadcrumbs"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -137,7 +137,7 @@ export class NvButton {
|
|
|
137
137
|
/****************************************************************************/
|
|
138
138
|
//#region RENDER
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '785b6127926d695ddaaff1a1f740102abd5132bb', role: "button", tabindex: this.disableTabindex ? -1 : 0, onClick: this.handleButtonClick }, this.loading && (h("nv-loader", { key: 'b361e4ac45cc1612723d6a67f866b8cdce3c4abc', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), h("slot", { key: 'b23c877bd95ae0a02c89c83e4e3d5f0178d646a5', name: "leading-icon" }), h("slot", { key: '7c95b1f28a64e7bb5ca02abf2190dfda62d1c758' }), h("slot", { key: 'f1cd34ea21393b78bc2f5140364d47b9e70f505c', name: "trailing-icon" })));
|
|
141
141
|
}
|
|
142
142
|
static get is() { return "nv-button"; }
|
|
143
143
|
static get formAssociated() { return true; }
|
|
@@ -91,7 +91,7 @@ export class NvButtongroup {
|
|
|
91
91
|
/****************************************************************************/
|
|
92
92
|
//#region RENDER
|
|
93
93
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'd0322897a0312e7b55b087e4abfc94fcaf9f7747' }, h("slot", { key: '70afccf10fe728482096d3fce42083e9931e06bd' })));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "nv-buttongroup"; }
|
|
97
97
|
static get originalStyleUrls() {
|
|
@@ -13,11 +13,11 @@ nv-buttongroup[emphasis=lower] .group-item, nv-buttongroup[emphasis=lower] .grou
|
|
|
13
13
|
nv-buttongroup:not([orientation=vertical]) .group-item:not(.last):not(.first) {
|
|
14
14
|
border-radius: 0;
|
|
15
15
|
}
|
|
16
|
-
nv-buttongroup:not([orientation=vertical]) .group-item.first {
|
|
16
|
+
nv-buttongroup:not([orientation=vertical]) .group-item.first:not(.last) {
|
|
17
17
|
border-top-right-radius: 0;
|
|
18
18
|
border-bottom-right-radius: 0;
|
|
19
19
|
}
|
|
20
|
-
nv-buttongroup:not([orientation=vertical]) .group-item.last {
|
|
20
|
+
nv-buttongroup:not([orientation=vertical]) .group-item.last:not(.first) {
|
|
21
21
|
border-top-left-radius: 0;
|
|
22
22
|
border-bottom-left-radius: 0;
|
|
23
23
|
}
|
|
@@ -48,11 +48,11 @@ nv-buttongroup[orientation=vertical] .group-item {
|
|
|
48
48
|
nv-buttongroup[orientation=vertical] .group-item:not(.last):not(.first) {
|
|
49
49
|
border-radius: 0;
|
|
50
50
|
}
|
|
51
|
-
nv-buttongroup[orientation=vertical] .group-item.first {
|
|
51
|
+
nv-buttongroup[orientation=vertical] .group-item.first:not(.last) {
|
|
52
52
|
border-bottom-left-radius: 0;
|
|
53
53
|
border-bottom-right-radius: 0;
|
|
54
54
|
}
|
|
55
|
-
nv-buttongroup[orientation=vertical] .group-item.last {
|
|
55
|
+
nv-buttongroup[orientation=vertical] .group-item.last:not(.first) {
|
|
56
56
|
border-top-left-radius: 0;
|
|
57
57
|
border-top-right-radius: 0;
|
|
58
58
|
}
|
|
@@ -28,7 +28,6 @@ export class NvCalendar {
|
|
|
28
28
|
* - Range: "2025-03-15,2025-03-20"
|
|
29
29
|
* @default ""
|
|
30
30
|
*/
|
|
31
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
32
31
|
this.value = '';
|
|
33
32
|
/**
|
|
34
33
|
* Locale for date formatting
|
|
@@ -550,7 +549,6 @@ export class NvCalendar {
|
|
|
550
549
|
// Legacy support (deprecated) - sync props
|
|
551
550
|
const legacyRange = { start: startFormatted, end: endFormatted };
|
|
552
551
|
this.rangeDateChange.emit(legacyRange);
|
|
553
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
554
552
|
this.rangeValue = legacyRange;
|
|
555
553
|
if (!this.showActions) {
|
|
556
554
|
const event = new CustomEvent('closePopover', {
|
|
@@ -575,9 +573,7 @@ export class NvCalendar {
|
|
|
575
573
|
this.resetSelection = () => {
|
|
576
574
|
if (this.selectionType === 'single') {
|
|
577
575
|
this.selectedDate = null;
|
|
578
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
579
576
|
this.singleValue = null;
|
|
580
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
581
577
|
this.value = '';
|
|
582
578
|
this.singleDateChange.emit('');
|
|
583
579
|
this.valueChanged.emit('');
|
|
@@ -585,9 +581,7 @@ export class NvCalendar {
|
|
|
585
581
|
else {
|
|
586
582
|
this.startDate = null;
|
|
587
583
|
this.endDate = null;
|
|
588
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
589
584
|
this.rangeValue = null;
|
|
590
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
591
585
|
this.value = '';
|
|
592
586
|
this.rangeDateChange.emit({ start: '', end: '' });
|
|
593
587
|
this.valueChanged.emit('');
|
|
@@ -602,7 +596,6 @@ export class NvCalendar {
|
|
|
602
596
|
dateFormat: this.dateFormat,
|
|
603
597
|
});
|
|
604
598
|
this.singleDateChange.emit(dateStr);
|
|
605
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
606
599
|
this.singleValue = dateStr;
|
|
607
600
|
const event = new CustomEvent('closePopover', {
|
|
608
601
|
bubbles: true,
|
|
@@ -617,7 +610,6 @@ export class NvCalendar {
|
|
|
617
610
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
618
611
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
619
612
|
});
|
|
620
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
621
613
|
this.rangeValue = {
|
|
622
614
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
623
615
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
@@ -810,7 +802,6 @@ export class NvCalendar {
|
|
|
810
802
|
this.currentDate = startDate;
|
|
811
803
|
if (swapped) {
|
|
812
804
|
// If dates were swapped, update the rangeValue property
|
|
813
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
814
805
|
this.rangeValue = {
|
|
815
806
|
start: formatDate(startDate, { dateFormat: this.dateFormat }),
|
|
816
807
|
end: formatDate(endDate, { dateFormat: this.dateFormat }),
|
|
@@ -914,8 +905,8 @@ export class NvCalendar {
|
|
|
914
905
|
* @slot default - Child content of the component.
|
|
915
906
|
*/
|
|
916
907
|
render() {
|
|
917
|
-
return (h(Host, { key: '
|
|
918
|
-
this.hasActions) && (h("div", { key: '
|
|
908
|
+
return (h(Host, { key: '4e8b7b83c32a4defd9620558ebe6b2d45c63c509' }, h("div", { key: '65b9f1a93cae9fb77d64d5b34333c7775b99ef65', class: "datepicker-root" }, h("div", { key: '54dde61b295e3ee84e6917634bdcdad36d8aed98', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h("div", { key: '8423c5ff77f07f03d9665f2575855ba0a2540fbc', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), ((this.hasShortcuts && this.shortcutsPlacement === 'bottom') ||
|
|
909
|
+
this.hasActions) && (h("div", { key: 'd49a6c9077a4d4795d00a7221ff5ed76980d8a92', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), h("slot", { key: '52ef97f13e630ad31b80ebd53a87f07f18f458d4' })));
|
|
919
910
|
}
|
|
920
911
|
static get is() { return "nv-calendar"; }
|
|
921
912
|
static get originalStyleUrls() {
|
|
@@ -22,7 +22,7 @@ export class NvCol {
|
|
|
22
22
|
/****************************************************************************/
|
|
23
23
|
//#region RENDER
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4fe90a1d020de9e85d32a52ccb39c8b6d8c1fc25', class: clsx(this.getColSize()) }, h("slot", { key: '5a6ad624fd7c6251b2f555c0e3bc828c0e048761' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "nv-col"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -1013,7 +1013,7 @@ export class NvDatagrid {
|
|
|
1013
1013
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
1014
1014
|
? []
|
|
1015
1015
|
: this.table?.getRowModel()?.rows;
|
|
1016
|
-
return (h(Host, { key: '
|
|
1016
|
+
return (h(Host, { key: 'a3d3d96758c77096d2690c8ff10e8439e7e76e96' }, h("div", { key: '3a2551318093150d824bd0e1f2c07da234522ac0', class: "hidden" }, h("slot", { key: 'dd6e9158456ee68044e8bd19ef9ad76c73fbefb9' })), h("slot", { key: 'de4e21a7926841526bf2e7cfd36ba1d747d0c08d', name: "before" }), this.enableGlobalFilter && this.table && (h("div", { key: '93d37d83811224847c16363f497c7cf65e2fc107', class: `search-container justify-${this.globalFilterPosition}` }, h("nv-fieldtext", { key: '9ed1b8cfedebd2ed37551b3fe428a5cd7ba7214a', value: this.globalFilterSearchTerm, onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns..." }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h("div", null, h("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
1017
1017
|
? headerGroups?.map(headerGroup => (h("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
1018
1018
|
return this.getHeaderCell(header);
|
|
1019
1019
|
}))))
|
|
@@ -1025,7 +1025,7 @@ export class NvDatagrid {
|
|
|
1025
1025
|
})));
|
|
1026
1026
|
}))), this.table && this.enableRowSelection ? (h("tfoot", null, h("tr", null, h("td", { colSpan: 20 }, this.enableRowSelection && this.table ? (h("div", null, this.rowSelectionState &&
|
|
1027
1027
|
Object.keys(this.rowSelectionState).length > 0 ? (h("span", null, Object.keys(this.rowSelectionState).length, " of", ' ', this.table.getPreFilteredRowModel()?.rows
|
|
1028
|
-
?.length || 0, ' ', "Total Rows Selected")) : (h("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), h("slot", { key: '
|
|
1028
|
+
?.length || 0, ' ', "Total Rows Selected")) : (h("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), h("slot", { key: '46b1e3b6ec5ca09140437e82ca3fc90fdc34e4eb', name: "after" })));
|
|
1029
1029
|
}
|
|
1030
1030
|
static get is() { return "nv-datagrid"; }
|
|
1031
1031
|
static get originalStyleUrls() {
|