@nova-design-system/nova-webcomponents 3.25.0 → 3.26.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.cjs.js +54 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +5 -3
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-buttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-calendar.cjs.entry.js +2 -11
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawer.cjs.entry.js +1 -1
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +6 -7
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +19 -18
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +15 -14
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +30 -28
- package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
- package/dist/cjs/nv-icon.cjs.entry.js +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +1 -1
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
- package/dist/cjs/nv-paginationtable.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebar.cjs.entry.js +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 +2 -2
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-split.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +3 -1
- package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
- 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 +1 -1
- 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-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 +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +2 -2
- 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.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-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-DkC2jlrw.js → p-B5KLppep.js} +1 -1
- package/dist/components/{p-Cfr9uriB.js → p-BAlaMmS4.js} +1 -1
- package/dist/components/p-BPufjY85.js +1 -0
- package/dist/components/p-BaF3Tuua.js +1 -0
- package/dist/components/{p-Cw5yG8cD.js → p-BfaMgLx7.js} +1 -1
- package/dist/components/{p-D7xBylwr.js → p-Bh6WGsHA.js} +1 -1
- package/dist/components/{p-D_JRZMC-.js → p-C2J7j_fw.js} +1 -1
- package/dist/components/{p-C-MlXMFg.js → p-C9p4yTS2.js} +1 -1
- package/dist/components/{p-tJDdN0lo.js → p-CAKTe96z.js} +1 -1
- package/dist/components/{p-C_a7VT_H.js → p-CEI7jWvn.js} +1 -1
- package/dist/components/p-CR9MpYzU.js +1 -0
- package/dist/components/{p-CskCUxuV.js → p-CZcMM7Lh.js} +1 -1
- package/dist/components/p-Ce1IBFTa.js +1 -0
- package/dist/components/{p-BJSrJH9I.js → p-D15RdWEG.js} +1 -1
- package/dist/components/{p-C6LzzMQm.js → p-DDqZBSGn.js} +1 -1
- package/dist/components/{p-BkqfOhkU.js → p-DHNSuxz-.js} +1 -1
- package/dist/components/{p-CPjfMClF.js → p-DhDxhFz-.js} +1 -1
- package/dist/components/{p-Cq5FI49y.js → p-DqU-wS_x.js} +1 -1
- package/dist/components/p-FSPz8FER.js +1 -0
- package/dist/components/{p-Nf-dwTsx.js → p-RUeDcouW.js} +1 -1
- package/dist/components/{p-Bg-b6OWh.js → p-jZF_Ggmx.js} +1 -1
- package/dist/components/p-laRga5dw.js +1 -0
- package/dist/components/{p-mWVXEsBF.js → p-nmQOuX7R.js} +1 -1
- package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
- package/dist/esm/index.js +53 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +5 -3
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-buttongroup.entry.js +2 -2
- package/dist/esm/nv-calendar.entry.js +2 -11
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +2 -2
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-drawer.entry.js +1 -1
- package/dist/esm/nv-drawerfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +6 -6
- package/dist/esm/nv-fielddaterange.entry.js +6 -7
- package/dist/esm/nv-fielddropdown.entry.js +6 -5
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +2 -1
- package/dist/esm/nv-fieldnumber.entry.js +4 -4
- package/dist/esm/nv-fieldpassword.entry.js +4 -4
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldslider.entry.js +3 -3
- package/dist/esm/nv-fieldtext.entry.js +4 -4
- package/dist/esm/nv-fieldtextarea.entry.js +30 -28
- package/dist/esm/nv-fieldtime.entry.js +3 -3
- package/dist/esm/nv-icon.entry.js +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +1 -1
- package/dist/esm/nv-notificationcontainer.entry.js +1 -1
- package/dist/esm/nv-paginationtable.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-sidebar.entry.js +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 +2 -2
- package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
- package/dist/esm/nv-split.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +3 -1
- package/dist/esm/nv-tableheader.entry.js +1 -1
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-togglebutton.entry.js +1 -1
- package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
- package/dist/esm/nv-tooltip.entry.js +2 -2
- 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.esm.js +1 -1
- package/dist/native/{p-00b80d2b.entry.js → p-043d500e.entry.js} +1 -1
- package/dist/native/{p-3ac56d5f.entry.js → p-04956305.entry.js} +1 -1
- package/dist/native/{p-df59dee0.entry.js → p-06a17aba.entry.js} +1 -1
- package/dist/native/{p-4725d9aa.entry.js → p-0819a7b1.entry.js} +1 -1
- package/dist/native/p-0bfd188c.entry.js +1 -0
- package/dist/native/{p-70fa3c6b.entry.js → p-0e8b544b.entry.js} +1 -1
- package/dist/native/{p-6ccea920.entry.js → p-0ec34d19.entry.js} +1 -1
- package/dist/native/{p-84202d8a.entry.js → p-11eb959b.entry.js} +1 -1
- package/dist/native/{p-e371a958.entry.js → p-17f2525a.entry.js} +1 -1
- package/dist/native/p-1a5db5e9.entry.js +1 -0
- package/dist/native/p-1dd3da3b.entry.js +1 -0
- package/dist/native/p-31301f1e.entry.js +1 -0
- package/dist/native/{p-5fb6d986.entry.js → p-3a04a563.entry.js} +1 -1
- package/dist/native/{p-ad05cef2.entry.js → p-3fb1a188.entry.js} +1 -1
- package/dist/native/{p-b65f3418.entry.js → p-48e7b457.entry.js} +1 -1
- package/dist/native/{p-7f3c3c29.entry.js → p-64104dbd.entry.js} +1 -1
- package/dist/native/p-6a9363a6.entry.js +1 -0
- package/dist/native/{p-3bd49efe.entry.js → p-6b655545.entry.js} +1 -1
- package/dist/native/{p-184b4f0d.entry.js → p-702a6646.entry.js} +1 -1
- package/dist/native/{p-2623b212.entry.js → p-70abbe4f.entry.js} +1 -1
- package/dist/native/p-79d8c26b.entry.js +1 -0
- package/dist/native/{p-a813f497.entry.js → p-7a8e2ef3.entry.js} +1 -1
- package/dist/native/{p-4016851b.entry.js → p-7c413f8b.entry.js} +1 -1
- package/dist/native/{p-87f35ce1.entry.js → p-85c8be32.entry.js} +1 -1
- package/dist/native/{p-f1b6d43b.entry.js → p-87a1b06c.entry.js} +1 -1
- package/dist/native/p-89f7d483.entry.js +1 -0
- package/dist/native/{p-a6287e55.entry.js → p-8ce17efd.entry.js} +1 -1
- package/dist/native/p-8dadc0c9.entry.js +1 -0
- package/dist/native/{p-ff7eae44.entry.js → p-945ca1db.entry.js} +1 -1
- package/dist/native/p-97a5f8d5.entry.js +1 -0
- package/dist/native/p-BaF3Tuua.js +1 -0
- package/dist/native/p-CR9MpYzU.js +1 -0
- package/dist/native/p-a8bc3b92.entry.js +1 -0
- package/dist/native/p-a92e2ad8.entry.js +1 -0
- package/dist/native/{p-98de77f8.entry.js → p-a9a07a8d.entry.js} +1 -1
- package/dist/native/{p-3c09e565.entry.js → p-a9a20f37.entry.js} +1 -1
- package/dist/native/{p-91f71346.entry.js → p-aa232a20.entry.js} +1 -1
- package/dist/native/p-ae4fc02a.entry.js +1 -0
- package/dist/native/{p-6f368c8d.entry.js → p-b0d97496.entry.js} +1 -1
- package/dist/native/{p-6ba310e8.entry.js → p-bd143e7b.entry.js} +1 -1
- package/dist/native/{p-29f0730f.entry.js → p-bdaab534.entry.js} +1 -1
- package/dist/native/{p-0242699e.entry.js → p-bdbc92d9.entry.js} +1 -1
- package/dist/native/{p-1b37bf6c.entry.js → p-bef3d325.entry.js} +1 -1
- package/dist/native/{p-997a2268.entry.js → p-c3ea1eca.entry.js} +1 -1
- package/dist/native/p-c825c542.entry.js +1 -0
- package/dist/native/p-ce2c17dc.entry.js +1 -0
- package/dist/native/p-d46ea49a.entry.js +1 -0
- package/dist/native/{p-32cbc18b.entry.js → p-dc0d1690.entry.js} +1 -1
- package/dist/native/{p-34cce087.entry.js → p-e05b6008.entry.js} +1 -1
- package/dist/native/{p-1c86c5b8.entry.js → p-e937d495.entry.js} +1 -1
- package/dist/native/{p-99051651.entry.js → p-f22d2ad9.entry.js} +1 -1
- package/dist/native/p-f2a32774.entry.js +1 -0
- package/dist/native/p-f5eff2b2.entry.js +1 -0
- package/dist/native/p-f64f1bea.entry.js +1 -0
- package/dist/native/{p-4c29c4c7.entry.js → p-fba55e2f.entry.js} +1 -1
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
- package/dist/types/components.d.ts +10 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/nova-docs.d.ts +0 -1
- package/dist/vscode-data.json +5 -1
- package/hydrate/index.js +136 -139
- package/hydrate/index.mjs +136 -139
- package/package.json +2 -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-ca3b996b.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/hydrate/index.mjs
CHANGED
|
@@ -9692,7 +9692,7 @@ class NvAvatar {
|
|
|
9692
9692
|
}; }
|
|
9693
9693
|
}
|
|
9694
9694
|
|
|
9695
|
-
const nvBadgeCss = () => `nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.with-gap.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.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-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge:not(.with-gap).is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.badge-1{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-1 .close:focus,nv-badge.badge-1 .close:focus-within{outline:none}nv-badge.badge-1 .close:focus-visible,nv-badge.badge-1 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-1 nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-2{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-2 .close:focus,nv-badge.badge-2 .close:focus-within{outline:none}nv-badge.badge-2 .close:focus-visible,nv-badge.badge-2 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-2 nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-3{color:var(--color-rainbow-3-text);background-color:var(--color-rainbow-3-background);border-color:var(--color-rainbow-3-border)}nv-badge.badge-3 .close:focus,nv-badge.badge-3 .close:focus-within{outline:none}nv-badge.badge-3 .close:focus-visible,nv-badge.badge-3 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-3 nv-icon{color:var(--color-rainbow-3-icon)}nv-badge.badge-4{color:var(--color-rainbow-4-text);background-color:var(--color-rainbow-4-background);border-color:var(--color-rainbow-4-border)}nv-badge.badge-4 .close:focus,nv-badge.badge-4 .close:focus-within{outline:none}nv-badge.badge-4 .close:focus-visible,nv-badge.badge-4 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-4 nv-icon{color:var(--color-rainbow-4-icon)}nv-badge.badge-5{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-5 .close:focus,nv-badge.badge-5 .close:focus-within{outline:none}nv-badge.badge-5 .close:focus-visible,nv-badge.badge-5 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-5 nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-6{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-6 .close:focus,nv-badge.badge-6 .close:focus-within{outline:none}nv-badge.badge-6 .close:focus-visible,nv-badge.badge-6 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-6 nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-7{color:var(--color-rainbow-7-text);background-color:var(--color-rainbow-7-background);border-color:var(--color-rainbow-7-border)}nv-badge.badge-7 .close:focus,nv-badge.badge-7 .close:focus-within{outline:none}nv-badge.badge-7 .close:focus-visible,nv-badge.badge-7 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-7 nv-icon{color:var(--color-rainbow-7-icon)}nv-badge.badge-8{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-8 .close:focus,nv-badge.badge-8 .close:focus-within{outline:none}nv-badge.badge-8 .close:focus-visible,nv-badge.badge-8 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-8 nv-icon{color:var(--color-rainbow-8-icon)}nv-badge.badge-9{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-9 .close:focus,nv-badge.badge-9 .close:focus-within{outline:none}nv-badge.badge-9 .close:focus-visible,nv-badge.badge-9 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-9 nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-10{color:var(--color-rainbow-10-text);background-color:var(--color-rainbow-10-background);border-color:var(--color-rainbow-10-border)}nv-badge.badge-10 .close:focus,nv-badge.badge-10 .close:focus-within{outline:none}nv-badge.badge-10 .close:focus-visible,nv-badge.badge-10 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-10 nv-icon{color:var(--color-rainbow-10-icon)}nv-badge.badge-error{color:var(--color-feedback-error-low-text);background-color:var(--color-feedback-error-low-background);border-color:var(--color-feedback-error-low-border)}nv-badge.badge-error .close:focus,nv-badge.badge-error .close:focus-within{outline:none}nv-badge.badge-error .close:focus-visible,nv-badge.badge-error .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-error-low-content, var(--color-feedback-error-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-error nv-icon{color:var(--color-feedback-error-low-icon)}nv-badge.badge-information{color:var(--color-feedback-information-low-text);background-color:var(--color-feedback-information-low-background);border-color:var(--color-feedback-information-low-border)}nv-badge.badge-information .close:focus,nv-badge.badge-information .close:focus-within{outline:none}nv-badge.badge-information .close:focus-visible,nv-badge.badge-information .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-information-low-content, var(--color-feedback-information-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-information nv-icon{color:var(--color-feedback-information-low-icon)}nv-badge.badge-neutral{color:var(--color-feedback-neutral-low-text);background-color:var(--color-feedback-neutral-low-background);border-color:var(--color-feedback-neutral-low-border)}nv-badge.badge-neutral .close:focus,nv-badge.badge-neutral .close:focus-within{outline:none}nv-badge.badge-neutral .close:focus-visible,nv-badge.badge-neutral .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-neutral-low-content, var(--color-feedback-neutral-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-neutral nv-icon{color:var(--color-feedback-neutral-low-icon)}nv-badge.badge-success{color:var(--color-feedback-success-low-text);background-color:var(--color-feedback-success-low-background);border-color:var(--color-feedback-success-low-border)}nv-badge.badge-success .close:focus,nv-badge.badge-success .close:focus-within{outline:none}nv-badge.badge-success .close:focus-visible,nv-badge.badge-success .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-success-low-content, var(--color-feedback-success-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-success nv-icon{color:var(--color-feedback-success-low-icon)}nv-badge.badge-warning{color:var(--color-feedback-warning-low-text);background-color:var(--color-feedback-warning-low-background);border-color:var(--color-feedback-warning-low-border)}nv-badge.badge-warning .close:focus,nv-badge.badge-warning .close:focus-within{outline:none}nv-badge.badge-warning .close:focus-visible,nv-badge.badge-warning .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-warning-low-content, var(--color-feedback-warning-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-warning nv-icon{color:var(--color-feedback-warning-low-icon)}nv-badge.badge-amber{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-amber .close:focus,nv-badge.badge-amber .close:focus-within{outline:none}nv-badge.badge-amber .close:focus-visible,nv-badge.badge-amber .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-amber-content, var(--color-rainbow-1-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-amber nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-orange{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-orange .close:focus,nv-badge.badge-orange .close:focus-within{outline:none}nv-badge.badge-orange .close:focus-visible,nv-badge.badge-orange .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-orange-content, var(--color-rainbow-2-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-orange nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-turquoise{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-turquoise .close:focus,nv-badge.badge-turquoise .close:focus-within{outline:none}nv-badge.badge-turquoise .close:focus-visible,nv-badge.badge-turquoise .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-turquoise-content, var(--color-rainbow-5-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-turquoise nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-crimson{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-crimson .close:focus,nv-badge.badge-crimson .close:focus-within{outline:none}nv-badge.badge-crimson .close:focus-visible,nv-badge.badge-crimson .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-crimson-content, var(--color-rainbow-6-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-crimson nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-lime{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-lime .close:focus,nv-badge.badge-lime .close:focus-within{outline:none}nv-badge.badge-lime .close:focus-visible,nv-badge.badge-lime .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-lime-content, var(--color-rainbow-9-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-lime nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-petrol{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-petrol .close:focus,nv-badge.badge-petrol .close:focus-within{outline:none}nv-badge.badge-petrol .close:focus-visible,nv-badge.badge-petrol .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-petrol-content, var(--color-rainbow-8-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-petrol nv-icon{color:var(--color-rainbow-8-icon)}nv-badge span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important;text-align:center}nv-badge nv-icon>svg.icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-sm{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-md{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-lg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-xl{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge .close{padding:0;line-height:0;border:none;background:none;cursor:pointer;color:inherit;display:inline-flex;align-items:center;aspect-ratio:1/1;border-radius:var(--radius-rounded-full)}`;
|
|
9695
|
+
const nvBadgeCss = () => `nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.with-gap.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.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-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge:not(.with-gap).is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.badge-1{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-1 .close:focus,nv-badge.badge-1 .close:focus-within{outline:none}nv-badge.badge-1 .close:focus-visible,nv-badge.badge-1 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-1 nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-2{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-2 .close:focus,nv-badge.badge-2 .close:focus-within{outline:none}nv-badge.badge-2 .close:focus-visible,nv-badge.badge-2 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-2 nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-3{color:var(--color-rainbow-3-text);background-color:var(--color-rainbow-3-background);border-color:var(--color-rainbow-3-border)}nv-badge.badge-3 .close:focus,nv-badge.badge-3 .close:focus-within{outline:none}nv-badge.badge-3 .close:focus-visible,nv-badge.badge-3 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-3 nv-icon{color:var(--color-rainbow-3-icon)}nv-badge.badge-4{color:var(--color-rainbow-4-text);background-color:var(--color-rainbow-4-background);border-color:var(--color-rainbow-4-border)}nv-badge.badge-4 .close:focus,nv-badge.badge-4 .close:focus-within{outline:none}nv-badge.badge-4 .close:focus-visible,nv-badge.badge-4 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-4 nv-icon{color:var(--color-rainbow-4-icon)}nv-badge.badge-5{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-5 .close:focus,nv-badge.badge-5 .close:focus-within{outline:none}nv-badge.badge-5 .close:focus-visible,nv-badge.badge-5 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-5 nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-6{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-6 .close:focus,nv-badge.badge-6 .close:focus-within{outline:none}nv-badge.badge-6 .close:focus-visible,nv-badge.badge-6 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-6 nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-7{color:var(--color-rainbow-7-text);background-color:var(--color-rainbow-7-background);border-color:var(--color-rainbow-7-border)}nv-badge.badge-7 .close:focus,nv-badge.badge-7 .close:focus-within{outline:none}nv-badge.badge-7 .close:focus-visible,nv-badge.badge-7 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-7 nv-icon{color:var(--color-rainbow-7-icon)}nv-badge.badge-8{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-8 .close:focus,nv-badge.badge-8 .close:focus-within{outline:none}nv-badge.badge-8 .close:focus-visible,nv-badge.badge-8 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-8 nv-icon{color:var(--color-rainbow-8-icon)}nv-badge.badge-9{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-9 .close:focus,nv-badge.badge-9 .close:focus-within{outline:none}nv-badge.badge-9 .close:focus-visible,nv-badge.badge-9 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-9 nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-10{color:var(--color-rainbow-10-text);background-color:var(--color-rainbow-10-background);border-color:var(--color-rainbow-10-border)}nv-badge.badge-10 .close:focus,nv-badge.badge-10 .close:focus-within{outline:none}nv-badge.badge-10 .close:focus-visible,nv-badge.badge-10 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-10 nv-icon{color:var(--color-rainbow-10-icon)}nv-badge.badge-error{color:var(--color-feedback-error-low-text);background-color:var(--color-feedback-error-low-background);border-color:var(--color-feedback-error-low-border)}nv-badge.badge-error .close:focus,nv-badge.badge-error .close:focus-within{outline:none}nv-badge.badge-error .close:focus-visible,nv-badge.badge-error .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-error-low-content, var(--color-feedback-error-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-error nv-icon{color:var(--color-feedback-error-low-icon)}nv-badge.badge-information{color:var(--color-feedback-information-low-text);background-color:var(--color-feedback-information-low-background);border-color:var(--color-feedback-information-low-border)}nv-badge.badge-information .close:focus,nv-badge.badge-information .close:focus-within{outline:none}nv-badge.badge-information .close:focus-visible,nv-badge.badge-information .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-information-low-content, var(--color-feedback-information-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-information nv-icon{color:var(--color-feedback-information-low-icon)}nv-badge.badge-neutral{color:var(--color-feedback-neutral-low-text);background-color:var(--color-feedback-neutral-low-background);border-color:var(--color-feedback-neutral-low-border)}nv-badge.badge-neutral .close:focus,nv-badge.badge-neutral .close:focus-within{outline:none}nv-badge.badge-neutral .close:focus-visible,nv-badge.badge-neutral .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-neutral-low-content, var(--color-feedback-neutral-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-neutral nv-icon{color:var(--color-feedback-neutral-low-icon)}nv-badge.badge-success{color:var(--color-feedback-success-low-text);background-color:var(--color-feedback-success-low-background);border-color:var(--color-feedback-success-low-border)}nv-badge.badge-success .close:focus,nv-badge.badge-success .close:focus-within{outline:none}nv-badge.badge-success .close:focus-visible,nv-badge.badge-success .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-success-low-content, var(--color-feedback-success-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-success nv-icon{color:var(--color-feedback-success-low-icon)}nv-badge.badge-warning{color:var(--color-feedback-warning-low-text);background-color:var(--color-feedback-warning-low-background);border-color:var(--color-feedback-warning-low-border)}nv-badge.badge-warning .close:focus,nv-badge.badge-warning .close:focus-within{outline:none}nv-badge.badge-warning .close:focus-visible,nv-badge.badge-warning .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-warning-low-content, var(--color-feedback-warning-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-warning nv-icon{color:var(--color-feedback-warning-low-icon)}nv-badge.badge-amber{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-amber .close:focus,nv-badge.badge-amber .close:focus-within{outline:none}nv-badge.badge-amber .close:focus-visible,nv-badge.badge-amber .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-amber-content, var(--color-rainbow-1-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-amber nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-orange{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-orange .close:focus,nv-badge.badge-orange .close:focus-within{outline:none}nv-badge.badge-orange .close:focus-visible,nv-badge.badge-orange .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-orange-content, var(--color-rainbow-2-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-orange nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-turquoise{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-turquoise .close:focus,nv-badge.badge-turquoise .close:focus-within{outline:none}nv-badge.badge-turquoise .close:focus-visible,nv-badge.badge-turquoise .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-turquoise-content, var(--color-rainbow-5-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-turquoise nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-crimson{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-crimson .close:focus,nv-badge.badge-crimson .close:focus-within{outline:none}nv-badge.badge-crimson .close:focus-visible,nv-badge.badge-crimson .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-crimson-content, var(--color-rainbow-6-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-crimson nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-lime{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-lime .close:focus,nv-badge.badge-lime .close:focus-within{outline:none}nv-badge.badge-lime .close:focus-visible,nv-badge.badge-lime .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-lime-content, var(--color-rainbow-9-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-lime nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-petrol{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-petrol .close:focus,nv-badge.badge-petrol .close:focus-within{outline:none}nv-badge.badge-petrol .close:focus-visible,nv-badge.badge-petrol .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-petrol-content, var(--color-rainbow-8-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-petrol nv-icon{color:var(--color-rainbow-8-icon)}nv-badge .nv-badge-leading{display:contents}nv-badge .nv-badge-label{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important;text-align:center}nv-badge nv-icon>svg.icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-sm{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-md{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-lg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-xl{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge .close{padding:0;line-height:0;border:none;background:none;cursor:pointer;color:inherit;display:inline-flex;align-items:center;aspect-ratio:1/1;border-radius:var(--radius-rounded-full)}`;
|
|
9696
9696
|
|
|
9697
9697
|
/**
|
|
9698
9698
|
* @slot leading-icon - Icon before the label.
|
|
@@ -9826,7 +9826,9 @@ class NvBadge {
|
|
|
9826
9826
|
'with-gap': this.dismissible || this.label,
|
|
9827
9827
|
'visually-hidden': this._isHidden,
|
|
9828
9828
|
'is-icon-only': this.isIconOnly,
|
|
9829
|
-
}) }, hAsync("
|
|
9829
|
+
}) }, hAsync("span", { key: '11cec03cc5f65c6def293b548d71ea53fd2ec2bb', class: "nv-badge-leading" }, this.leadIcon && hAsync("nv-icon", { key: 'a9433930c4e7dd50d3abd34e1cd64b5b4eea9698', name: this.leadIcon, size: "sm" }), hAsync("slot", { key: 'a93320c14a9e31b9b9796b5fb9cb03a04a2ea1d5', name: "leading-icon" })), hAsync("span", { key: '5a8a3568cfbe2e9b61a42b3cd5b5056bd5c2563f', class: clsx('nv-badge-label', {
|
|
9830
|
+
'visually-hidden': this.isIconOnly,
|
|
9831
|
+
}) }, this.label, hAsync("slot", { key: '4b0c4558957d4505208e2352382365b2f50810d1' })), this.dismissible && (hAsync("button", { key: '945df330dcae40586ac02d349abc73131e8ce596', onClick: this.handleClose, class: "close", type: "button" }, hAsync("nv-icon", { key: '37535be0818bc78809f5585841757dd992617753', name: "x", size: "sm" })))));
|
|
9830
9832
|
}
|
|
9831
9833
|
get el() { return getElement(this); }
|
|
9832
9834
|
static get watchers() { return {
|
|
@@ -9900,7 +9902,7 @@ class NvBreadcrumb {
|
|
|
9900
9902
|
/****************************************************************************/
|
|
9901
9903
|
//#region RENDER
|
|
9902
9904
|
render() {
|
|
9903
|
-
return (hAsync(Host, { key: '
|
|
9905
|
+
return (hAsync(Host, { key: '032880129d2acf89ed3e57367e357391a1e0848d', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (hAsync("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (hAsync("slot", { ref: el => (this.defaultSlot = el) })), this.tooltip && (hAsync("nv-tooltip", { key: '90cdd03fa067846b3f3fa8ff264899b6ca170485', ref: el => (this.toolTipRef = el), message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (hAsync("nv-popover", { key: 'acda8815ed5e216cf89cdd34323dd8211a8ea020', ref: el => (this.popoverRef = el), triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, hAsync("ul", { key: '424396d17c2452cb6280aaa6446ee6f8ea52ea6e', slot: "content" }, hAsync("slot", { key: '668bc1e090901e62c01079e4b058d3e6b044afd0' })))), hAsync("span", { key: '1c84f3c4cf91cc976722a838188baae0521eb7f4', "data-scope": "separator" }, "/")));
|
|
9904
9906
|
}
|
|
9905
9907
|
get el() { return getElement(this); }
|
|
9906
9908
|
static get style() { return nvBreadcrumbCss(); }
|
|
@@ -9929,7 +9931,7 @@ class NvBreadcrumbs {
|
|
|
9929
9931
|
}
|
|
9930
9932
|
//#region RENDER
|
|
9931
9933
|
render() {
|
|
9932
|
-
return (hAsync(Host, { key: '
|
|
9934
|
+
return (hAsync(Host, { key: 'f8221b9ae4d3a5fabedbe497fef43832fc498df4', role: "navigation", "aria-label": "breadcrumbs" }, hAsync("slot", { key: '047683541469ee0490e296813cb7e303127ad200' })));
|
|
9933
9935
|
}
|
|
9934
9936
|
static get style() { return nvBreadcrumbsCss(); }
|
|
9935
9937
|
static get cmpMeta() { return {
|
|
@@ -10089,7 +10091,7 @@ class NvButton {
|
|
|
10089
10091
|
/****************************************************************************/
|
|
10090
10092
|
//#region RENDER
|
|
10091
10093
|
render() {
|
|
10092
|
-
return (hAsync(Host, { key: '
|
|
10094
|
+
return (hAsync(Host, { key: '785b6127926d695ddaaff1a1f740102abd5132bb', role: "button", tabindex: this.disableTabindex ? -1 : 0, onClick: this.handleButtonClick }, this.loading && (hAsync("nv-loader", { key: 'b361e4ac45cc1612723d6a67f866b8cdce3c4abc', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), hAsync("slot", { key: 'b23c877bd95ae0a02c89c83e4e3d5f0178d646a5', name: "leading-icon" }), hAsync("slot", { key: '7c95b1f28a64e7bb5ca02abf2190dfda62d1c758' }), hAsync("slot", { key: 'f1cd34ea21393b78bc2f5140364d47b9e70f505c', name: "trailing-icon" })));
|
|
10093
10095
|
}
|
|
10094
10096
|
static get formAssociated() { return true; }
|
|
10095
10097
|
get el() { return getElement(this); }
|
|
@@ -10209,7 +10211,7 @@ function forwardPropsToChildren(containerElement, props) {
|
|
|
10209
10211
|
});
|
|
10210
10212
|
}
|
|
10211
10213
|
|
|
10212
|
-
const nvButtongroupCss = () => `nv-buttongroup{display:flex}nv-buttongroup[emphasis=high]{gap:1px}nv-buttongroup[emphasis=low] .group-item,nv-buttongroup[emphasis=low] .group-item:hover{border:1px solid var(--components-button-low-text)}nv-buttongroup[emphasis=lower] .group-item,nv-buttongroup[emphasis=lower] .group-item:hover{border:1px solid var(--components-button-lower-text)}nv-buttongroup:not([orientation=vertical]) .group-item:not(.last):not(.first){border-radius:0}nv-buttongroup:not([orientation=vertical]) .group-item.first{border-top-right-radius:0;border-bottom-right-radius:0}nv-buttongroup:not([orientation=vertical]) .group-item.last{border-top-left-radius:0;border-bottom-left-radius:0}nv-buttongroup:not([orientation=vertical])[emphasis=medium] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=low] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=low] .group-item:not(.first){border-left:none}nv-buttongroup:not([orientation=vertical])[emphasis=lower] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=lower] .group-item:not(.first){border-left:none}nv-buttongroup[orientation=vertical]{flex-direction:column;align-items:stretch;width:fit-content}nv-buttongroup[orientation=vertical] .group-item{width:unset;display:flex}nv-buttongroup[orientation=vertical] .group-item:not(.last):not(.first){border-radius:0}nv-buttongroup[orientation=vertical] .group-item.first{border-bottom-left-radius:0;border-bottom-right-radius:0}nv-buttongroup[orientation=vertical] .group-item.last{border-top-left-radius:0;border-top-right-radius:0}nv-buttongroup[orientation=vertical][emphasis=medium] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=low] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=low] .group-item:not(.first){border-top:none}nv-buttongroup[orientation=vertical][emphasis=lower] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=lower] .group-item:not(.first){border-top:none}`;
|
|
10214
|
+
const nvButtongroupCss = () => `nv-buttongroup{display:flex}nv-buttongroup[emphasis=high]{gap:1px}nv-buttongroup[emphasis=low] .group-item,nv-buttongroup[emphasis=low] .group-item:hover{border:1px solid var(--components-button-low-text)}nv-buttongroup[emphasis=lower] .group-item,nv-buttongroup[emphasis=lower] .group-item:hover{border:1px solid var(--components-button-lower-text)}nv-buttongroup:not([orientation=vertical]) .group-item:not(.last):not(.first){border-radius:0}nv-buttongroup:not([orientation=vertical]) .group-item.first:not(.last){border-top-right-radius:0;border-bottom-right-radius:0}nv-buttongroup:not([orientation=vertical]) .group-item.last:not(.first){border-top-left-radius:0;border-bottom-left-radius:0}nv-buttongroup:not([orientation=vertical])[emphasis=medium] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=low] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=low] .group-item:not(.first){border-left:none}nv-buttongroup:not([orientation=vertical])[emphasis=lower] .group-item:not(.last){border-right:none}nv-buttongroup:not([orientation=vertical])[emphasis=lower] .group-item:not(.first){border-left:none}nv-buttongroup[orientation=vertical]{flex-direction:column;align-items:stretch;width:fit-content}nv-buttongroup[orientation=vertical] .group-item{width:unset;display:flex}nv-buttongroup[orientation=vertical] .group-item:not(.last):not(.first){border-radius:0}nv-buttongroup[orientation=vertical] .group-item.first:not(.last){border-bottom-left-radius:0;border-bottom-right-radius:0}nv-buttongroup[orientation=vertical] .group-item.last:not(.first){border-top-left-radius:0;border-top-right-radius:0}nv-buttongroup[orientation=vertical][emphasis=medium] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=low] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=low] .group-item:not(.first){border-top:none}nv-buttongroup[orientation=vertical][emphasis=lower] .group-item:not(.last){border-bottom:none}nv-buttongroup[orientation=vertical][emphasis=lower] .group-item:not(.first){border-top:none}`;
|
|
10213
10215
|
|
|
10214
10216
|
/**
|
|
10215
10217
|
* @slot default - Child buttons or links.
|
|
@@ -10303,7 +10305,7 @@ class NvButtongroup {
|
|
|
10303
10305
|
/****************************************************************************/
|
|
10304
10306
|
//#region RENDER
|
|
10305
10307
|
render() {
|
|
10306
|
-
return (hAsync(Host, { key: '
|
|
10308
|
+
return (hAsync(Host, { key: 'd0322897a0312e7b55b087e4abfc94fcaf9f7747' }, hAsync("slot", { key: '70afccf10fe728482096d3fce42083e9931e06bd' })));
|
|
10307
10309
|
}
|
|
10308
10310
|
get el() { return getElement(this); }
|
|
10309
10311
|
static get watchers() { return {
|
|
@@ -10864,7 +10866,6 @@ class NvCalendar {
|
|
|
10864
10866
|
* - Range: "2025-03-15,2025-03-20"
|
|
10865
10867
|
* @default ""
|
|
10866
10868
|
*/
|
|
10867
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
10868
10869
|
this.value = '';
|
|
10869
10870
|
/**
|
|
10870
10871
|
* Locale for date formatting
|
|
@@ -11386,7 +11387,6 @@ class NvCalendar {
|
|
|
11386
11387
|
// Legacy support (deprecated) - sync props
|
|
11387
11388
|
const legacyRange = { start: startFormatted, end: endFormatted };
|
|
11388
11389
|
this.rangeDateChange.emit(legacyRange);
|
|
11389
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11390
11390
|
this.rangeValue = legacyRange;
|
|
11391
11391
|
if (!this.showActions) {
|
|
11392
11392
|
const event = new CustomEvent('closePopover', {
|
|
@@ -11411,9 +11411,7 @@ class NvCalendar {
|
|
|
11411
11411
|
this.resetSelection = () => {
|
|
11412
11412
|
if (this.selectionType === 'single') {
|
|
11413
11413
|
this.selectedDate = null;
|
|
11414
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11415
11414
|
this.singleValue = null;
|
|
11416
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11417
11415
|
this.value = '';
|
|
11418
11416
|
this.singleDateChange.emit('');
|
|
11419
11417
|
this.valueChanged.emit('');
|
|
@@ -11421,9 +11419,7 @@ class NvCalendar {
|
|
|
11421
11419
|
else {
|
|
11422
11420
|
this.startDate = null;
|
|
11423
11421
|
this.endDate = null;
|
|
11424
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11425
11422
|
this.rangeValue = null;
|
|
11426
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11427
11423
|
this.value = '';
|
|
11428
11424
|
this.rangeDateChange.emit({ start: '', end: '' });
|
|
11429
11425
|
this.valueChanged.emit('');
|
|
@@ -11438,7 +11434,6 @@ class NvCalendar {
|
|
|
11438
11434
|
dateFormat: this.dateFormat,
|
|
11439
11435
|
});
|
|
11440
11436
|
this.singleDateChange.emit(dateStr);
|
|
11441
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11442
11437
|
this.singleValue = dateStr;
|
|
11443
11438
|
const event = new CustomEvent('closePopover', {
|
|
11444
11439
|
bubbles: true,
|
|
@@ -11453,7 +11448,6 @@ class NvCalendar {
|
|
|
11453
11448
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
11454
11449
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
11455
11450
|
});
|
|
11456
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11457
11451
|
this.rangeValue = {
|
|
11458
11452
|
start: formatDate(this.startDate, { dateFormat: this.dateFormat }),
|
|
11459
11453
|
end: formatDate(this.endDate, { dateFormat: this.dateFormat }),
|
|
@@ -11646,7 +11640,6 @@ class NvCalendar {
|
|
|
11646
11640
|
this.currentDate = startDate;
|
|
11647
11641
|
if (swapped) {
|
|
11648
11642
|
// If dates were swapped, update the rangeValue property
|
|
11649
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
11650
11643
|
this.rangeValue = {
|
|
11651
11644
|
start: formatDate(startDate, { dateFormat: this.dateFormat }),
|
|
11652
11645
|
end: formatDate(endDate, { dateFormat: this.dateFormat }),
|
|
@@ -11750,8 +11743,8 @@ class NvCalendar {
|
|
|
11750
11743
|
* @slot default - Child content of the component.
|
|
11751
11744
|
*/
|
|
11752
11745
|
render() {
|
|
11753
|
-
return (hAsync(Host, { key: '
|
|
11754
|
-
this.hasActions) && (hAsync("div", { key: '
|
|
11746
|
+
return (hAsync(Host, { key: '4e8b7b83c32a4defd9620558ebe6b2d45c63c509' }, hAsync("div", { key: '65b9f1a93cae9fb77d64d5b34333c7775b99ef65', class: "datepicker-root" }, hAsync("div", { key: '54dde61b295e3ee84e6917634bdcdad36d8aed98', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, hAsync("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') ||
|
|
11747
|
+
this.hasActions) && (hAsync("div", { key: 'd49a6c9077a4d4795d00a7221ff5ed76980d8a92', class: "datepicker-controls" }, this.shortcutsPlacement === 'bottom' && this.renderShortcuts(), this.hasActions && this.renderActions())))), hAsync("slot", { key: '52ef97f13e630ad31b80ebd53a87f07f18f458d4' })));
|
|
11755
11748
|
}
|
|
11756
11749
|
get el() { return getElement(this); }
|
|
11757
11750
|
static get watchers() { return {
|
|
@@ -11834,7 +11827,7 @@ class NvCol {
|
|
|
11834
11827
|
/****************************************************************************/
|
|
11835
11828
|
//#region RENDER
|
|
11836
11829
|
render() {
|
|
11837
|
-
return (hAsync(Host, { key: '
|
|
11830
|
+
return (hAsync(Host, { key: '4fe90a1d020de9e85d32a52ccb39c8b6d8c1fc25', class: clsx(this.getColSize()) }, hAsync("slot", { key: '5a6ad624fd7c6251b2f555c0e3bc828c0e048761' })));
|
|
11838
11831
|
}
|
|
11839
11832
|
static get style() { return nvColCss(); }
|
|
11840
11833
|
static get cmpMeta() { return {
|
|
@@ -16342,7 +16335,7 @@ class NvDatagrid {
|
|
|
16342
16335
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
16343
16336
|
? []
|
|
16344
16337
|
: this.table?.getRowModel()?.rows;
|
|
16345
|
-
return (hAsync(Host, { key: '
|
|
16338
|
+
return (hAsync(Host, { key: 'a3d3d96758c77096d2690c8ff10e8439e7e76e96' }, hAsync("div", { key: '3a2551318093150d824bd0e1f2c07da234522ac0', class: "hidden" }, hAsync("slot", { key: 'dd6e9158456ee68044e8bd19ef9ad76c73fbefb9' })), hAsync("slot", { key: 'de4e21a7926841526bf2e7cfd36ba1d747d0c08d', name: "before" }), this.enableGlobalFilter && this.table && (hAsync("div", { key: '93d37d83811224847c16363f497c7cf65e2fc107', class: `search-container justify-${this.globalFilterPosition}` }, hAsync("nv-fieldtext", { key: '9ed1b8cfedebd2ed37551b3fe428a5cd7ba7214a', value: this.globalFilterSearchTerm, onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns..." }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("div", null, hAsync("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
16346
16339
|
? headerGroups?.map(headerGroup => (hAsync("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
16347
16340
|
return this.getHeaderCell(header);
|
|
16348
16341
|
}))))
|
|
@@ -16354,7 +16347,7 @@ class NvDatagrid {
|
|
|
16354
16347
|
})));
|
|
16355
16348
|
}))), this.table && this.enableRowSelection ? (hAsync("tfoot", null, hAsync("tr", null, hAsync("td", { colSpan: 20 }, this.enableRowSelection && this.table ? (hAsync("div", null, this.rowSelectionState &&
|
|
16356
16349
|
Object.keys(this.rowSelectionState).length > 0 ? (hAsync("span", null, Object.keys(this.rowSelectionState).length, " of", ' ', this.table.getPreFilteredRowModel()?.rows
|
|
16357
|
-
?.length || 0, ' ', "Total Rows Selected")) : (hAsync("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), hAsync("slot", { key: '
|
|
16350
|
+
?.length || 0, ' ', "Total Rows Selected")) : (hAsync("span", null, "No rows selected")))) : null)))) : null), this.getPagination())), hAsync("slot", { key: '46b1e3b6ec5ca09140437e82ca3fc90fdc34e4eb', name: "after" })));
|
|
16358
16351
|
}
|
|
16359
16352
|
get el() { return getElement(this); }
|
|
16360
16353
|
static get watchers() { return {
|
|
@@ -16445,7 +16438,7 @@ class NvDatagridcolumn {
|
|
|
16445
16438
|
/****************************************************************************/
|
|
16446
16439
|
//#region RENDER
|
|
16447
16440
|
render() {
|
|
16448
|
-
return (hAsync(Host, { key: '
|
|
16441
|
+
return (hAsync(Host, { key: 'd93cf7234c22d08319d2e4157945ece0b9e5f7b1' }, hAsync("slot", { key: 'd4530c7f6854773716e7494e0379bc21f446ca53', name: "header" }), hAsync("slot", { key: '60e2933f219f48c0567fd0e01a137a694ae1c1c9', name: "cell" })));
|
|
16449
16442
|
}
|
|
16450
16443
|
static get cmpMeta() { return {
|
|
16451
16444
|
"$flags$": 260,
|
|
@@ -17345,7 +17338,7 @@ class NvDialog {
|
|
|
17345
17338
|
//#region RENDER
|
|
17346
17339
|
render() {
|
|
17347
17340
|
const hasForm = this.form || this.el.querySelector('form');
|
|
17348
|
-
return (hAsync(Host, { key: '
|
|
17341
|
+
return (hAsync(Host, { key: 'd8d44a128d01fd7a9b62d42f08f7eb5b85e4e5b2' }, hAsync("slot", { key: '7157a6121fea5e8828dd2c0c3db4998c0cb5d0d2', name: "trigger" }), hAsync("dialog", { key: '22674ade1de7b50439ffe77ad2a20e6473929c34', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '4f851e286f94be5972ebb417bef891e29714cb44', class: "backdrop", ref: el => (this.backdropElement = el) }, hAsync("div", { key: '881171acec6e40b627a544b716302d576b836487', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (hAsync("nv-button", { key: '9691520158952a35da536f94073e8ff5fd6041f0', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '8392a7d6ec89d08391904c94f10296223c4d6012', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: '7fa62a9d5e8f1fe3f42872af3fc753e2fb175a9a', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: '5ec44365b70f6ec2762896ce242a264fb4ffb05a' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
|
|
17349
17342
|
}
|
|
17350
17343
|
get el() { return getElement(this); }
|
|
17351
17344
|
static get watchers() { return {
|
|
@@ -17458,7 +17451,7 @@ class NvDialogfooter {
|
|
|
17458
17451
|
/****************************************************************************/
|
|
17459
17452
|
//#region RENDER
|
|
17460
17453
|
render() {
|
|
17461
|
-
return (hAsync(Host, { key: '
|
|
17454
|
+
return (hAsync(Host, { key: 'a5148c3e41ad6d7c5e54e2b29b8452707d5c2b2b' }, hAsync("slot", { key: 'e5fcf66789eac1c6b0118403c33e7e80fb974c71' }, hAsync(Fragment, { key: '9255d264f559322bebbcc874d91802bbaaeac2d6' }, !this.undismissable && (hAsync("nv-button", { key: 'e8d6085fbbcf5bbdbad7b23d65660debb296a332', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { key: '8a6963f12e89860c3bb1e17eeed60cf9b6d81bc3', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { key: '59dc3f909f7366a0d0e05ab089d34b9d222f43ed', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { key: 'e2be736da129cf7720dad6e1a443eb55a182b2dd', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
|
|
17462
17455
|
}
|
|
17463
17456
|
static get formAssociated() { return true; }
|
|
17464
17457
|
get el() { return getElement(this); }
|
|
@@ -17502,7 +17495,7 @@ class NvDialogheader {
|
|
|
17502
17495
|
/****************************************************************************/
|
|
17503
17496
|
//#region RENDER
|
|
17504
17497
|
render() {
|
|
17505
|
-
return (hAsync(Host, { key: '
|
|
17498
|
+
return (hAsync(Host, { key: '8577fd5a719adf8764d85f667495701cb1514df2' }, hAsync("slot", { key: '5858bd8fff71db135f69a76cb298343f0590f853' }, hAsync(Fragment, { key: '81ac703e205f1b8587144213c7f57c9fd7ba9657' }, hAsync("div", { key: '5a12e1facef605d96338b31468c8d8109379e2d1', class: "heading" }, this.heading), hAsync("div", { key: '1a559041968e2b2b92a987c014e41380fe6f8616', class: "subheading" }, this.subheading)))));
|
|
17506
17499
|
}
|
|
17507
17500
|
get el() { return getElement(this); }
|
|
17508
17501
|
static get style() { return nvDialogheaderCss(); }
|
|
@@ -17942,7 +17935,7 @@ class NvDrawer {
|
|
|
17942
17935
|
render() {
|
|
17943
17936
|
const hasForm = this.form || this.el.querySelector('form');
|
|
17944
17937
|
const state = this.open ? 'open' : 'closed';
|
|
17945
|
-
return (hAsync(Host, { key: '
|
|
17938
|
+
return (hAsync(Host, { key: 'e8ae3c1b5adcd23622f97d0f405fd8607e51b3e4' }, hAsync("slot", { key: 'c94efef46482ef65c9a907d5f23e2306cc88c9af', name: "trigger" }), hAsync("dialog", { key: '8b12d8885f4a7f987985b4be49aace1f48b66949', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsx({ [`side-${this.side}`]: true }), "data-state": state }, hAsync("div", { key: '5fc00bd8e28cf26c92e3c3888941e6209e03fb65', class: "backdrop", ref: el => (this.backdropElement = el) }, hAsync("div", { key: '7eb5e3335a15a3821fa4c62160a313bddf34e3b2', class: clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (hAsync("nv-button", { key: 'c284d6cea03806890603d71d27d642961eab4423', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, hAsync("nv-icon", { key: 'daf2c3af54c3eaede4835b100200632e644b7cc6', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-drawerheader", { id: "drawer-header" })), hAsync("div", { key: '90ffef76d60a3522ae5daf10554a3f8a487c5f76', class: "content-body", id: "drawer-content" }, hAsync("slot", { key: 'd66e675a68c27819f7ca146afc27e63d05ad5603' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
|
|
17946
17939
|
}
|
|
17947
17940
|
get el() { return getElement(this); }
|
|
17948
17941
|
static get watchers() { return {
|
|
@@ -18061,7 +18054,7 @@ class NvDrawerfooter {
|
|
|
18061
18054
|
/****************************************************************************/
|
|
18062
18055
|
//#region RENDER
|
|
18063
18056
|
render() {
|
|
18064
|
-
return (hAsync(Host, { key: '
|
|
18057
|
+
return (hAsync(Host, { key: 'c83bba64c28cf284847c2b726e2d1bb9deb86152' }, hAsync("slot", { key: '89e9a548f3cee3c45b8e7874e9d8618b469ce94a' }, hAsync(Fragment, { key: 'ef18a333ef7c5de05891a265a8ccb85b6913237a' }, !this.undismissable && (hAsync("nv-button", { key: 'd69eab0d344bdfb9f2454cc18d953f50b9d65aa2', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { key: '8329da9bcbb41cb972c2b2527334086c47a10f93', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { key: '86ac92ef44afe20e540422d3cd0ee45c04c233bc', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { key: '3a48543e903d060ff77d1100df4984db04c0d2cb', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
|
|
18065
18058
|
}
|
|
18066
18059
|
static get formAssociated() { return true; }
|
|
18067
18060
|
get el() { return getElement(this); }
|
|
@@ -18109,7 +18102,7 @@ class NvDrawerheader {
|
|
|
18109
18102
|
/****************************************************************************/
|
|
18110
18103
|
//#region RENDER
|
|
18111
18104
|
render() {
|
|
18112
|
-
return (hAsync(Host, { key: '
|
|
18105
|
+
return (hAsync(Host, { key: '8ada9e8c2b69a74b61b079de6def10bc7504d7f5' }, hAsync("slot", { key: '29c79bb789bed32bb395f1d5a8ebccf4838e3f45' }, hAsync(Fragment, { key: '688bb835bd87de992f5bc4a63f2a857b7f806120' }, hAsync("div", { key: '2638fa0871f356cc5ec6e8b72f9812cdbc93ff03', class: "heading" }, this.heading), hAsync("div", { key: 'a3c2b292bfc359e2d09ae4d9a88857bc9fa0d8cb', class: "subheading" }, this.subheading)))));
|
|
18113
18106
|
}
|
|
18114
18107
|
get el() { return getElement(this); }
|
|
18115
18108
|
static get style() { return nvDrawerheaderCss(); }
|
|
@@ -18126,7 +18119,7 @@ class NvDrawerheader {
|
|
|
18126
18119
|
}; }
|
|
18127
18120
|
}
|
|
18128
18121
|
|
|
18129
|
-
const nvFieldcheckboxCss = () => `nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var( --components-form-field-border-default );--nv-fieldcheckbox-border-hover:var(--components-form-field-border-hover);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-default);--nv-fieldcheckbox-background-default:var( --components-form-field-background-default );--nv-fieldcheckbox-background-checked:var( --components-form-field-background-checked );--nv-fieldcheckbox-background-disabled:var( --components-form-field-background-disabled );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var( --components-form-shape-foreground-default );--nv-fieldcheckbox-color-disabled:var( --components-form-shape-foreground-disabled );--nv-fieldcheckbox-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-fieldcheckbox:not([disabled],[readonly]) input,nv-fieldcheckbox:not([disabled],[readonly]) label{cursor:pointer}nv-fieldcheckbox.error>.input-container{--nv-fieldcheckbox-border-default:var(--components-form-field-border-error);--nv-fieldcheckbox-border-hover:var(--nv-fieldcheckbox-border-default);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-error);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-destructive);--nv-fieldcheckbox-color-disabled:var( --components-form-shape-foreground-disabled-error );--nv-fieldcheckbox-background-checked:var( --components-form-field-background-error );--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]:not([disabled=false]){opacity:0.5}nv-fieldcheckbox>.input-container{position:relative;color:var(--nv-fieldcheckbox-color-checked)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--nv-fieldcheckbox-color-disabled)}nv-fieldcheckbox>.input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-checkbox-size);height:var(--form-checkbox-size);flex-direction:column;align-items:flex-start;border-radius:var(--form-checkbox-radius);border-width:var(--form-checkbox-border-width);border-style:solid;border-color:var(--nv-fieldcheckbox-border-default);background:var(--nv-fieldcheckbox-background-default)}nv-fieldcheckbox>.input-container input[type=checkbox]:hover{border-color:var(--nv-fieldcheckbox-border-hover)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus{border-color:var(--nv-fieldcheckbox-border-focus)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus,nv-fieldcheckbox>.input-container input[type=checkbox]:focus-within{outline:none}nv-fieldcheckbox>.input-container input[type=checkbox]:focus-visible,nv-fieldcheckbox>.input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--nv-fieldcheckbox-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldcheckbox>.input-container input[type=checkbox]:checked,nv-fieldcheckbox>.input-container input[type=checkbox]:indeterminate{background:var(--nv-fieldcheckbox-background-checked);border-color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox>.input-container input[type=checkbox]:disabled:not([readonly]){background:var(--nv-fieldcheckbox-background-disabled);border-color:var(--nv-fieldcheckbox-border-default)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container .icon{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}nv-fieldcheckbox>.input-container .icon svg{width:var(--form-checkbox-icon-size);height:var(--form-checkbox-icon-size);fill:none;stroke:currentcolor;stroke-width:var(--form-checkbox-icon-stroke);flex-shrink:0}nv-fieldcheckbox[required]:not([required=false])>.text-container label::after,nv-fieldcheckbox[aria-required=true]>.text-container label::after{content:"*";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldcheckbox>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container label{align-self:stretch;text-align:left;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(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldcheckbox>.text-container 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-fieldcheckbox>.text-container .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:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldcheckbox>.text-container .error-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:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}`;
|
|
18122
|
+
const nvFieldcheckboxCss = () => `nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var( --components-form-field-border-default );--nv-fieldcheckbox-border-hover:var(--components-form-field-border-hover);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-default);--nv-fieldcheckbox-background-default:var( --components-form-field-background-default );--nv-fieldcheckbox-background-checked:var( --components-form-field-background-checked );--nv-fieldcheckbox-background-disabled:var( --components-form-field-background-disabled );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var( --components-form-shape-foreground-default );--nv-fieldcheckbox-color-disabled:var( --components-form-shape-foreground-disabled );--nv-fieldcheckbox-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-fieldcheckbox:not([disabled],[readonly]) input,nv-fieldcheckbox:not([disabled],[readonly]) label{cursor:pointer}nv-fieldcheckbox.error>.input-container{--nv-fieldcheckbox-border-default:var(--components-form-field-border-error);--nv-fieldcheckbox-border-hover:var(--nv-fieldcheckbox-border-default);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-error);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-destructive);--nv-fieldcheckbox-color-disabled:var( --components-form-shape-foreground-disabled-error );--nv-fieldcheckbox-background-checked:var( --components-form-field-background-error );--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]:not([disabled=false]){opacity:0.5}nv-fieldcheckbox>.input-container{position:relative;color:var(--nv-fieldcheckbox-color-checked)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--nv-fieldcheckbox-color-disabled)}nv-fieldcheckbox>.input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-checkbox-size);height:var(--form-checkbox-size);flex-direction:column;align-items:flex-start;border-radius:var(--form-checkbox-radius);border-width:var(--form-checkbox-border-width);border-style:solid;border-color:var(--nv-fieldcheckbox-border-default);background:var(--nv-fieldcheckbox-background-default)}nv-fieldcheckbox>.input-container input[type=checkbox]:hover{border-color:var(--nv-fieldcheckbox-border-hover)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus{border-color:var(--nv-fieldcheckbox-border-focus)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus,nv-fieldcheckbox>.input-container input[type=checkbox]:focus-within{outline:none}nv-fieldcheckbox>.input-container input[type=checkbox]:focus-visible,nv-fieldcheckbox>.input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--nv-fieldcheckbox-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldcheckbox>.input-container input[type=checkbox]:checked,nv-fieldcheckbox>.input-container input[type=checkbox]:indeterminate{background:var(--nv-fieldcheckbox-background-checked);border-color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox>.input-container input[type=checkbox]:disabled:not([readonly]){background:var(--nv-fieldcheckbox-background-disabled);border-color:var(--nv-fieldcheckbox-border-default)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container .icon{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}nv-fieldcheckbox>.input-container .icon svg{width:var(--form-checkbox-icon-size);height:var(--form-checkbox-icon-size);fill:none;stroke:currentcolor;stroke-width:var(--form-checkbox-icon-stroke);flex-shrink:0}nv-fieldcheckbox[required]:not([required=false])>.text-container label::after,nv-fieldcheckbox[aria-required=true]>.text-container label::after{content:"*";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldcheckbox>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container label{align-self:stretch;text-align:left;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(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldcheckbox>.text-container 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-fieldcheckbox>.text-container .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:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldcheckbox>.text-container .error-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:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}@media print{nv-fieldcheckbox>.input-container{color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox>.input-container input[type=checkbox]:checked,nv-fieldcheckbox>.input-container input[type=checkbox]:indeterminate{background:transparent;border-color:var(--nv-fieldcheckbox-background-checked)}}`;
|
|
18130
18123
|
|
|
18131
18124
|
/**
|
|
18132
18125
|
* @slot default - Next to the label and description.
|
|
@@ -18284,15 +18277,15 @@ class NvFieldcheckbox {
|
|
|
18284
18277
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
18285
18278
|
: undefined;
|
|
18286
18279
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
18287
|
-
return (hAsync(Host, { key: '
|
|
18280
|
+
return (hAsync(Host, { key: '6ee6fed9bb078e32a40ac2d6c1c4baf2f1825be1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: '21b122c2c36382824eea7e66f2382cd333c0831c', class: "input-container" }, hAsync("input", { key: '727fd8a8321e4259d44a8ffe362aa23bdb2e640e', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
18288
18281
|
'aria-required': String(ariaRequiredValue),
|
|
18289
18282
|
}), indeterminate: this.indeterminate, ref: el => {
|
|
18290
18283
|
if (el) {
|
|
18291
18284
|
el.indeterminate = this.indeterminate;
|
|
18292
18285
|
}
|
|
18293
|
-
} }), hAsync("span", { key: '
|
|
18294
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18295
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18286
|
+
} }), hAsync("span", { key: '74e19f64867b671e2f632780726f8cab9c6e485e', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: '960d296f7caa4abe6f4268c41c09b29b4c0454da', name: "checked-icon" }, hAsync("svg", { key: '5a6875f34252b36490daabfdc600b4aa748c6f2e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '8acd040c77cb913d2904daaac86038171e338761', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: '42163fea08858131d3a4e74c119565e70d850cf2', name: "indeterminate-icon" }, hAsync("svg", { key: '86d0ce5504ea9e8a82ba6c85b7729ce8161aaecf', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'ce47ed03186447bc90321a2aa8343a3377a6ade7', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("slot", { key: 'b41cb04185643e5dada6da24e5fc325905b53d08' }), hAsync("div", { key: '57509a30441ab9de0c1949f6392dab34674ce91c', class: "text-container" }, hAsync("slot", { key: '81ee7728a5a814371dab853d377e249afb5eab7e', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'f428aeaedd1e70f7b9626c54f3995b2998cde140', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'e36c574ba6041b7ab0dee5c02a025370f21d947a', name: "label" }, this.label))), (this.description ||
|
|
18287
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'fed901aef5e5ac91b5ac04fc8751585b55031666', class: "description" }, hAsync("slot", { key: '84fdd3bd94f0249f3ed821e1849be6a6f192fb72', name: "description" }, this.description)))), (this.errorDescription ||
|
|
18288
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'fc0526ddbbd84e08c18ee27c0b4be0533af0fe22', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'd288116644ed450bdab0be20a3e7def7481e6c8b', name: "error-description" }, this.errorDescription))))));
|
|
18296
18289
|
}
|
|
18297
18290
|
static get formAssociated() { return true; }
|
|
18298
18291
|
get el() { return getElement(this); }
|
|
@@ -22492,15 +22485,15 @@ class NvFielddate {
|
|
|
22492
22485
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
22493
22486
|
: undefined;
|
|
22494
22487
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
22495
|
-
return (hAsync(Host, { key: '
|
|
22496
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
22488
|
+
return (hAsync(Host, { key: '3c13437365ba5c194e382050d83a01c2610f901d' }, ((this.label && this.label.length > 0) ||
|
|
22489
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '82bccae1ff2044e8b099789e4403857772f8449c', htmlFor: this.inputId }, hAsync("slot", { key: '3a2065e072ba6acb2ca5a162b877d05d30f93815', name: "label" }, this.label))), hAsync("nv-popover", { key: 'afd5fc8f78a46562b318f2f2d48306efa2275fac', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '748395cd864e8ee8f224460a420379b9f8ea362e', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '8c1f2baa6a33861d83c9497ee39a6a2a08b27d2e', name: "before-input" }), hAsync("div", { key: '91dfd2e870fc59e0949ff1ae2b66e0a3c89ec203', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '7e7a11aacf727512ccbf4c5fd149f9ccbf161c0d', name: "leading-input" }), hAsync("input", { key: '47b9d83bb4942604c3e8244995d032743ad84e78', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
|
|
22497
22490
|
this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
22498
22491
|
'aria-required': String(ariaRequiredValue),
|
|
22499
|
-
}), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (hAsync("nv-icon", { key: '
|
|
22492
|
+
}), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (hAsync("nv-icon", { key: '0c8badb4887475f3ce278db7dd1bb9d4f4db1948', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '908c9595d2858b5915ea9625b365d98c9076175d', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '2acbfe40a0db4b070491e91fa69b9a21fee5111d', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
22500
22493
|
,
|
|
22501
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '
|
|
22502
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
22503
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
22494
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'fb9ae11ed575835053e11a28136c545fefa1f185', name: "after-input" })), hAsync("div", { key: '4ed455b92288d64e1d243e0d2268251f183523c9', slot: "content" }, hAsync("nv-calendar", { key: '1af9d63edd9c95414ddcba5e3988a1bf42fae4bb', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
|
|
22495
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3a124e7dd1d5216ac586893eb2d7ae8383051cdc', class: "description" }, hAsync("slot", { key: '13f0b8e29875e369734799370fbd54c27becebfb', name: "description" }, this.description))), (this.errorDescription ||
|
|
22496
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '78dbbd76ada0c99907c9725fc82f2edfea41830c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '2c7f702581d6645cb9e6e0e94effa2ea067f049a' })));
|
|
22504
22497
|
}
|
|
22505
22498
|
get el() { return getElement(this); }
|
|
22506
22499
|
static get watchers() { return {
|
|
@@ -22618,7 +22611,6 @@ class NvFielddaterange {
|
|
|
22618
22611
|
/**
|
|
22619
22612
|
* The initial value of the date range (in string format).
|
|
22620
22613
|
*/
|
|
22621
|
-
// eslint-disable-next-line @stencil-community/strict-mutable
|
|
22622
22614
|
this.value = '';
|
|
22623
22615
|
/**
|
|
22624
22616
|
* The current value of the start date in string format.
|
|
@@ -23115,16 +23107,16 @@ class NvFielddaterange {
|
|
|
23115
23107
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
23116
23108
|
: undefined;
|
|
23117
23109
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
23118
|
-
return (hAsync(Host, { key: '
|
|
23119
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
23110
|
+
return (hAsync(Host, { key: 'ff398fcfbbe95e5665b774fe43350acbbc348fe9' }, ((this.label && this.label.length > 0) ||
|
|
23111
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '2b1909b93047611192bb66f574bdda3b206e2385', htmlFor: this.startInputId }, hAsync("slot", { key: '8195acf71bec4897fca7c4617eb0de096e88b191', name: "label" }, this.label))), hAsync("nv-popover", { key: 'ba36048cf5a34974f4f4deb66fb0d735988e5b53', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '14b6d78ac81001bd174bad38172a8a1a1f347731', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: 'fb016c89c6f8f99ae3c67917fc623bd5ebfd55fc', name: "before-input" }), hAsync("div", { key: 'ba782a5e283e468467ccdb9b571046cd2f4852e9', class: "input-container" }, hAsync("slot", { key: '2adfa150e03b07b3fc68dcf58e8033b7945161a0', name: "leading-input" }), hAsync("div", { key: '0276764deeb85f4211ac741f3eb5fef2f9fbcb43', class: "range-inputs" }, hAsync("input", { key: 'b752bb09fefcd173403cb11db40d0aabd25e1388', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
|
|
23120
23112
|
this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
23121
23113
|
'aria-required': String(ariaRequiredValue),
|
|
23122
|
-
}), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), hAsync("div", { key: '
|
|
23114
|
+
}), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), hAsync("div", { key: 'd5be46903d09c3b189dc4e7ee8ddad170c0f6286', class: "range-separator" }), hAsync("input", { key: '11b9a3838149854e68ae7c9d96aedbaaba84a90d', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
|
|
23123
23115
|
this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
23124
23116
|
'aria-required': String(ariaRequiredValue),
|
|
23125
|
-
}), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (hAsync("nv-icon", { key: '
|
|
23126
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
23127
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
23117
|
+
}), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (hAsync("nv-icon", { key: '26b42abdeafd75930a5ca607d24337b6b3c10ac2', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '1af99ccf21b9f8089204e9e97c2453b2bdeffd29', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '38b70d2b9f4ec16ff1707dc2b05ceae806646541', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '2ab6a03f44f04595763f4a6cbb8bc142578e1b3a', name: "after-input" })), hAsync("div", { key: '1fc0213d712a8560dee995c4d26c7d9944af650b', slot: "content" }, hAsync("nv-calendar", { key: 'd883272405391bec569516321fd2eae93dac817a', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
|
|
23118
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'd0f9852ccd37202db9653b338cf850ba44365ddf', class: "description" }, hAsync("slot", { key: 'cff092ce15f1f90f246de859fea30d3714fd4520', name: "description" }, this.description))), (this.errorDescription ||
|
|
23119
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c9dfd25d6784cca037337e7ffe28fc4ac1d33fd5', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '8123f07bf03ae219917f2e9f8146142bd8781bd4' })));
|
|
23128
23120
|
}
|
|
23129
23121
|
get el() { return getElement(this); }
|
|
23130
23122
|
static get watchers() { return {
|
|
@@ -26318,11 +26310,11 @@ class NvFielddropdown {
|
|
|
26318
26310
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
26319
26311
|
: undefined;
|
|
26320
26312
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
26321
|
-
return (hAsync(Host, { key: '
|
|
26313
|
+
return (hAsync(Host, { key: 'fc83e8834e38142ad102d17495b5978283699576', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '5a1eb965296909556869a025a6e4da609f2cbf90', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, hAsync("slot", { key: 'd5d4f3607e07e248c4083c3ea934a3bd1d7a7467', name: "label" }, this.label))), hAsync("nv-popover", { key: '17e42a4d729dbc735db49f398ec14e0c296ff8ee', triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: e => this.openChanged.emit(e.detail) }, hAsync("div", { key: 'a665ff2d2142acf5335d52e9a304ea2995750e5f', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'bddb24c6404ea0ea7da33485f8d497d0a635f3e2', name: "before-input" }), hAsync("div", { key: '7275a9a99c9b4476b405f3966f128ce9ce92801a', class: "input-container" }, hAsync("slot", { key: 'ede3c4442f365377eb83524f5d70d2922cd2a38b', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (hAsync("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
26322
26314
|
'aria-required': String(ariaRequiredValue),
|
|
26323
|
-
}), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (hAsync("nv-iconbutton", { key: '
|
|
26324
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
26325
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
26315
|
+
}), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (hAsync("nv-iconbutton", { key: 'd1aa81c5d14601ea85cec133a94f2b071ca98358', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: 'd49e30222d63ffdcc4d952d959a98946b943685f', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '6e157ce63f3f6faa08df5b7b9b7e6fd3ae9d0c31', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '665519b43abbd562ea1c3e36355b15ffb3e6fea2', name: "after-input" })), hAsync("div", { key: 'da97b6498e93d5f6c427bec6963db697c41c2d9a', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.options?.length > 0 && (hAsync("ul", { key: '0db57a711680aad61c32993b5f3afe304ec9066f' }, this.options.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), hAsync("slot", { key: '5c7643c6436c42efa63bab75f416b684b662812b', name: "content" }))), (this.description ||
|
|
26316
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '0ade462a96a16bb0cf6fb9d49d4ead0d98a6234b', class: "description" }, hAsync("slot", { key: 'bb2d0c3340bdc0d0b3ac77feab8bc70a73b89a00', name: "description" }, this.description))), (this.errorDescription ||
|
|
26317
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c04c2329d71e088b262a46441bb3bd9592d304e8', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'b85d769f12c4bf2a2ba5aba69c20566d17801f0a', name: "error-description" }, this.errorDescription)))));
|
|
26326
26318
|
}
|
|
26327
26319
|
static get formAssociated() { return true; }
|
|
26328
26320
|
get el() { return getElement(this); }
|
|
@@ -26444,7 +26436,7 @@ class NvFielddropdownitem {
|
|
|
26444
26436
|
/****************************************************************************/
|
|
26445
26437
|
//#region RENDER
|
|
26446
26438
|
render() {
|
|
26447
|
-
return (hAsync(Host, { key: '
|
|
26439
|
+
return (hAsync(Host, { key: '6d50463d72a8e2dde08ba3d7bc6f3ba21021163e', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: 'b38c59fc95f124c3395ff1ab0b7dfc4ecc27823b' }, hAsync("div", { key: 'a5ba5d4b636847e5ce6c1bab6cbbce418b70a1af', class: "text-wrapper" }, hAsync("span", { key: 'f01a0aa5ee475a9640c7abefe321f605ea5e7cdf', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '9cd1b5532a4d2f5c2546e9432262f483bd5c8d69', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
26448
26440
|
}
|
|
26449
26441
|
get el() { return getElement(this); }
|
|
26450
26442
|
static get style() { return nvFielddropdownitemCss(); }
|
|
@@ -26521,7 +26513,7 @@ class NvFielddropdownitemcheck {
|
|
|
26521
26513
|
/****************************************************************************/
|
|
26522
26514
|
//#region RENDER
|
|
26523
26515
|
render() {
|
|
26524
|
-
return (hAsync(Host, { key: '
|
|
26516
|
+
return (hAsync(Host, { key: '6c5bc9f6060ac711a1360dd45da58dddf7d7d563', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: 'f3efe64e5f03411f1fe7433821a46c50cd18e10e', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, hAsync("slot", { key: 'e603490efb497f0ef62049e7b44c34d91c8989d2' }), hAsync("slot", { key: '6774a2ab5bf182297929afbcec8c489bf620bcab', name: "main" }), hAsync("slot", { key: '5ca19cd56a5917ed125eb20c6713e25dc512fb45', name: "label" }), hAsync("slot", { key: '847864bfbc3302bb07088f77d9c2d200fac8b505', name: "description" }))));
|
|
26525
26517
|
}
|
|
26526
26518
|
get el() { return getElement(this); }
|
|
26527
26519
|
static get style() { return nvFielddropdownitemcheckCss(); }
|
|
@@ -28249,11 +28241,11 @@ class NvFieldnumber {
|
|
|
28249
28241
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
28250
28242
|
: undefined;
|
|
28251
28243
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
28252
|
-
return (hAsync(Host, { key: '
|
|
28244
|
+
return (hAsync(Host, { key: '1e36baa7bada38760fc9363329cb133d92aad28b' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '7c47d4417b1a26dd35e0e566451c3e8386803611', htmlFor: this.inputId }, hAsync("slot", { key: '6aeedee63b8d2fbe2d7df6f567cb6d81020efe98', name: "label" }, this.label))), hAsync("div", { key: '4507a0ec037b3822a396ad89d86b62d1adcf0011', class: "input-wrapper" }, hAsync("slot", { key: '7f469b67aa088cea2967e430d1e257097f84ae84', name: "before-input" }), hAsync("div", { key: 'c3c5a0e713e5cd94ab6d9c6414cf33a1bd91daee', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '8c6b3952d186bf4873470fc7fa67768e4d76d561', name: "leading-input" }), hAsync("input", { key: 'f413f4c3cd77a0a872b0038bbf8e61ce780c3f78', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
28253
28245
|
'aria-required': String(ariaRequiredValue),
|
|
28254
|
-
}), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), hAsync("slot", { key: '
|
|
28255
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
28256
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
28246
|
+
}), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), hAsync("slot", { key: 'af60594f2c536e5527478a66b72ad96bedcdcbd7', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: 'd1ac93ad90cf44304581e4c1516e50a9ccdfa13a', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '13e5220090b3841c6dcc688e89ad99df8df1fc65', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '4823aa102f38909d488cde22f3c8e5607a6dad36', class: "stepper" }, hAsync("nv-iconbutton", { key: 'beb7246372406a126f5eeb10f36532e6727e29db', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), hAsync("nv-iconbutton", { key: 'f17eef8a17252962ee0f282ece0e402cc71a231d', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), hAsync("slot", { key: '54e427210db1972f194a7e60a5523038615e2889', name: "after-input" })), (this.description ||
|
|
28247
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'b74c0ecd5d63a072a47b841294614d9f7cfb1371', class: "description" }, hAsync("slot", { key: '3feddef8e3658097a3137dbdbd872e72c527f5f8', name: "description" }, this.description))), (this.errorDescription ||
|
|
28248
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '4b6956f6ae94393d37b94703401dc6ab62657fdf', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '37c04247cf7842d623ee36b1144f9656af651768', name: "error-description" }, this.errorDescription)))));
|
|
28257
28249
|
}
|
|
28258
28250
|
static get formAssociated() { return true; }
|
|
28259
28251
|
get el() { return getElement(this); }
|
|
@@ -28444,11 +28436,11 @@ class NvFieldpassword {
|
|
|
28444
28436
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
28445
28437
|
: undefined;
|
|
28446
28438
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
28447
|
-
return (hAsync(Host, { key: '
|
|
28439
|
+
return (hAsync(Host, { key: '0022e7c0b9529f4cd6840732a12bdfd7af178c4d' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'ac8eebc87258b3ff220809e1304c69c657d91a6e', htmlFor: this.inputId }, hAsync("slot", { key: '0385f62cef83b64170ffbe796163407e7f5a5ab5', name: "label" }, this.label))), hAsync("div", { key: 'a4b02b838c72a5f5c263919bb56ec2f601f9b2af', class: "input-wrapper" }, hAsync("slot", { key: 'fbcfea7b266fc54c29583ada4f0007984a2c4e05', name: "before-input" }), hAsync("div", { key: '83ca16802319a42e59718c1836b9692da0f34fc9', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '996aceac450cf9ab7e0c0a96061b06212ed95ca0', name: "leading-input" }), hAsync("input", { key: '2d23175d6a47ee52e2a3dbae88a989e13fe5ea02', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
28448
28440
|
'aria-required': String(ariaRequiredValue),
|
|
28449
|
-
}), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (hAsync("nv-icon", { key: '
|
|
28450
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
28451
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
28441
|
+
}), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (hAsync("nv-icon", { key: '388170ed995039b69b2b3db523b2c7ba33e8fd87', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: '92567a64f653423e351bb558456233318461a0e0', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), hAsync("slot", { key: '929d2faa36c128bd5d163beb8a06f40c008981e9', name: "after-input" })), (this.description ||
|
|
28442
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'ddd0ed40de645fae289d3e1b60db0067e219fd78', class: "description" }, hAsync("slot", { key: '17122748a9a401a50d43d3fd556c20809dfb9bc2', name: "description" }, this.description))), (this.errorDescription ||
|
|
28443
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '1ef139333591257d3a13e9506be0721cee1fd4f1', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '631bf31a710d0ace20cd7d631d6218101ac896b0', name: "error-description" }, this.errorDescription)))));
|
|
28452
28444
|
}
|
|
28453
28445
|
static get formAssociated() { return true; }
|
|
28454
28446
|
get el() { return getElement(this); }
|
|
@@ -28492,7 +28484,7 @@ class NvFieldpassword {
|
|
|
28492
28484
|
}; }
|
|
28493
28485
|
}
|
|
28494
28486
|
|
|
28495
|
-
const nvFieldradioCss = () =>
|
|
28487
|
+
const nvFieldradioCss = () => `@charset "UTF-8";nv-fieldradio{--nv-fieldradio-border-default:var(--components-form-field-border-default);--nv-fieldradio-border-hover:var(--components-form-field-border-hover);--nv-fieldradio-border-focus:var(--components-form-field-border-default);--nv-fieldradio-background-default:var(--components-form-field-background-default);--nv-fieldradio-background-checked:var(--components-form-field-background-checked);--nv-fieldradio-background-disabled:var(--components-form-field-background-disabled);--nv-fieldradio-focus-box-shadow:var(--color-focus-brand);--nv-fieldradio-dot-color-checked:var(--components-form-shape-foreground-default);--nv-fieldradio-dot-color-disabled:var(--components-form-shape-foreground-disabled);--nv-fieldradio-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x)}nv-fieldradio:not([disabled]) input,nv-fieldradio:not([disabled]) label,nv-fieldradio[disabled=false] input,nv-fieldradio[disabled=false] label{cursor:pointer}nv-fieldradio.error{--nv-fieldradio-border-default:var(--components-form-field-border-error);--nv-fieldradio-border-hover:var(--nv-fieldradio-border-default);--nv-fieldradio-border-focus:var(--components-form-field-border-error);--nv-fieldradio-background-checked:var(--components-form-field-background-error);--nv-fieldradio-focus-box-shadow:var(--color-focus-destructive);--nv-fieldradio-dot-color-checked:var(--components-form-shape-foreground-default);--nv-fieldradio-dot-color-disabled:var(--components-form-field-border-error);--nv-fieldradio-outline-color:var(--color-focus-destructive)}nv-fieldradio.label-placement-before{flex-direction:row-reverse}nv-fieldradio[disabled]{opacity:0.5}nv-fieldradio 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(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldradio input[type=radio]{appearance:none;position:relative;display:flex;width:var(--form-radio-size);height:var(--form-radio-size);padding:var(--form-radio-inner-circle-padding);flex-direction:column;align-items:flex-start;border-radius:var(--radius-rounded-full);border-width:var(--form-radio-border-width);border-style:solid;border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-default)}nv-fieldradio input[type=radio]:hover{border-color:var(--nv-fieldradio-border-hover)}nv-fieldradio input[type=radio]:focus{border-color:var(--nv-fieldradio-border-focus)}nv-fieldradio input[type=radio]:focus,nv-fieldradio input[type=radio]:focus-within{outline:none}nv-fieldradio input[type=radio]:focus-visible,nv-fieldradio input[type=radio]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--nv-fieldradio-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldradio input[type=radio]:checked{background:var(--nv-fieldradio-background-checked);border-color:var(--nv-fieldradio-background-checked)}nv-fieldradio input[type=radio]:checked:hover,nv-fieldradio input[type=radio]:checked:focus{border-color:var(--nv-fieldradio-background-checked);background:var(--nv-fieldradio-background-checked)}nv-fieldradio input[type=radio]:checked::before{content:"";position:absolute;top:50%;right:50%;transform:translate(50%, -50%);left:0;width:var(--form-radio-inner-circle-size);height:var(--form-radio-inner-circle-size);flex-shrink:0;border-radius:var(--radius-rounded-full);background:var(--nv-fieldradio-dot-color-checked)}nv-fieldradio input[type=radio]:disabled{border-radius:var(--radius-rounded-full);border-width:var(--form-radio-border-width);border-style:solid;border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-disabled)}nv-fieldradio input[type=radio]:disabled:checked::before{background:var(--nv-fieldradio-dot-color-disabled)}nv-fieldradio input[type=radio]:disabled:hover{border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-disabled)}@media print{nv-fieldradio input[type=radio]:checked{background:transparent;border-color:var(--nv-fieldradio-background-checked)}nv-fieldradio input[type=radio]:checked::before{content:"●";position:absolute;top:calc(50% - 2px);left:calc(50% - 4.5px);transform:translate(-50%, -50%);width:auto;height:auto;background:none;color:var(--nv-fieldradio-background-checked);font-size:calc(var(--form-radio-inner-circle-size) * 3);line-height:1}}nv-fieldradio .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:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldradio .error-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:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldradio .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}`;
|
|
28496
28488
|
|
|
28497
28489
|
/**
|
|
28498
28490
|
* @slot label - Content to be placed as the label, will override the label prop.
|
|
@@ -28578,9 +28570,9 @@ class NvFieldradio {
|
|
|
28578
28570
|
/****************************************************************************/
|
|
28579
28571
|
//#region RENDER
|
|
28580
28572
|
render() {
|
|
28581
|
-
return (hAsync(Host, { key: '
|
|
28582
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
28583
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
28573
|
+
return (hAsync(Host, { key: '07d9225a6a3af28efa5885b5bb02a3f512708a97', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: '2b5afcf255bc442914f9225537987d331000883d', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), hAsync("div", { key: '8fc76a826e8a8ef51a80173b950ab460cf0ff8f3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '4578fccf241e9470a7f514761b3141d3fad77a88', htmlFor: this.inputId }, hAsync("slot", { key: 'f6d9f4961d07525175bd51fa4a4b546d62e74d4e', name: "label" }, this.label))), (this.description ||
|
|
28574
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '17d029eb709c443e8a68a5d6bdd1265400ae35d2', class: "description" }, hAsync("slot", { key: 'e4485b5ed253c6fc45508947387fa43f0492f654', name: "description" }, this.description))), (this.errorDescription ||
|
|
28575
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cde01e850752c1a2b4a3b2559f2052167409a605', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'f9d9f08be6506a495a5b42bcc9ebd2db49e749d5', name: "error-description" }, this.errorDescription))))));
|
|
28584
28576
|
}
|
|
28585
28577
|
static get formAssociated() { return true; }
|
|
28586
28578
|
get el() { return getElement(this); }
|
|
@@ -28990,15 +28982,15 @@ class NvFieldselect {
|
|
|
28990
28982
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
28991
28983
|
: undefined;
|
|
28992
28984
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
28993
|
-
return (hAsync(Host, { key: '
|
|
28985
|
+
return (hAsync(Host, { key: '14b1a2aa45b0c68539234e57dfcce39422d6d23b' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a9c3a454574d65358d28f8e72049d82b5667b0cb', htmlFor: this.inputId }, hAsync("slot", { key: 'ead692187041569b918d65afd775e1f4050d54e7', name: "label" }, this.label))), hAsync("div", { key: '1707389d32a34a16a141990a9ab133c0e39fdd11', class: "select-wrapper" }, hAsync("slot", { key: 'd8ac565ec1a564f1e451f8d0f80ad12c4b25a70d', name: "before-input" }), hAsync("div", { key: '4c0edadba8462c36ea4f315971842796fb59852f', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: '68442a898f7321d584d7fff62452af2b37ee3467', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: '997d8e04f32826d65f4a1a138b008f69910fa6d2', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
|
|
28994
28986
|
? `${this.inputId}-error`
|
|
28995
|
-
: `${this.inputId}-description` })), hAsync("select", { key: '
|
|
28987
|
+
: `${this.inputId}-description` })), hAsync("select", { key: '732a7a11d9547ea4f6b3322781bc34be18b6b77e', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
28996
28988
|
'aria-required': String(ariaRequiredValue),
|
|
28997
28989
|
}), multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
28998
28990
|
? `${this.inputId}-error`
|
|
28999
|
-
: `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '
|
|
29000
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
29001
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
28991
|
+
: `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: 'f4675290f5ee76afb1020f40e70c19e2f33b9292', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: '246f1fd624270c5f2cfdfc5fc31ff1e63c0aa99f', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'ff06df43b44ceb423c2dd3be999e553a62953d84', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: 'fee5dd8d3268d6ad00389b2ace10eaffa81fb0c0', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), hAsync("slot", { key: 'debcb059b6fc7a3667009af11539a98778812064', name: "after-input" })), (this.description ||
|
|
28992
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c64ad4587fe24de32391e730a02d34138e9dd55d', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: '7bee964467a46ea037d3be6733a04a08979fbebb', name: "description" }, this.description))), (this.errorDescription ||
|
|
28993
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd759750f8a90a8a41d2b42ac1cc4a297ae14e571', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: 'df17b5135b5f8bbf991895f11cc1bb74c7e665a6', name: "error-description" }, this.errorDescription)))));
|
|
29002
28994
|
}
|
|
29003
28995
|
static get formAssociated() { return true; }
|
|
29004
28996
|
get el() { return getElement(this); }
|
|
@@ -29738,11 +29730,11 @@ class NvFieldslider {
|
|
|
29738
29730
|
/****************************************************************************/
|
|
29739
29731
|
//#region RENDER
|
|
29740
29732
|
render() {
|
|
29741
|
-
return (hAsync(Host, { key: '
|
|
29733
|
+
return (hAsync(Host, { key: '34ffffbcfefbeac4050ced2db000a32f67222376' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'b07225ad89ae0f85d3cd2b1ee203b30e6abd7e57', htmlFor: this.startInputId }, hAsync("slot", { key: 'b1f39009872c4a38dae38286a036bb69f8ba6f62', name: "label" }, this.label))), hAsync("div", { key: '0013570dd6edbcb7c0f4a6ea32a550b6d9432271', class: "slider-container" }, this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, hAsync("div", { key: 'ca639497db1b588fcf0d4fad5f548a53ff1ee353', class: "track-container" }, hAsync("div", { key: '6a8d1eb4bddff4d5ca9760729cfa1ce27b887a65', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (hAsync(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (hAsync(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), hAsync(TickMarks, { key: '134bf7de84a7572b1f033e4e17e0e435e841eb42', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
|
|
29742
29734
|
this.description ||
|
|
29743
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
29735
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'b0188dce4fe8718a90715049d2af71fff7e9c512', class: "description" }, this.success && (hAsync("nv-icon", { key: 'cd2fd95080cd96ed516f9caa3b078ad481ee9912', name: "circle-check", class: "validation", size: "md" })), hAsync("slot", { key: 'd5dbc5f8bb6b66cef814a58e00aa07e7b9e07a23', name: "description" }, this.description))), (this.error ||
|
|
29744
29736
|
this.errorDescription ||
|
|
29745
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
29737
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '67a78749af19d44d553581ff0042e40c067dd44c', class: "error-description", hidden: !this.error }, this.error && (hAsync("nv-icon", { key: '4aac6d31b273cee32d235b7c53fd4cac6af4c253', name: "alert-circle", class: "validation", size: "md" })), hAsync("slot", { key: '9faa92d59e9fde524d1fb41e30b30178d9c12c4b', name: "error-description" }, this.errorDescription)))));
|
|
29746
29738
|
}
|
|
29747
29739
|
static get formAssociated() { return true; }
|
|
29748
29740
|
get el() { return getElement(this); }
|
|
@@ -29971,11 +29963,11 @@ class NvFieldtext {
|
|
|
29971
29963
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
29972
29964
|
: undefined;
|
|
29973
29965
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
29974
|
-
return (hAsync(Host, { key: '
|
|
29966
|
+
return (hAsync(Host, { key: '0baf2e0b76bd06018a819a60d2d3a271474d8b26' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '915a355b200bb2eebb44b60b46715c0be57af927', htmlFor: this.inputId }, hAsync("slot", { key: 'e915661a6fdf9d7a489b39ac9c41ae368c64764c', name: "label" }, this.label))), hAsync("div", { key: '33109ed1f7ddfc38de2606d7b3ac273678a71a82', class: "input-wrapper" }, hAsync("slot", { key: 'a93db4a91c9fb313031680c7cd992f501930b5da', name: "before-input" }), hAsync("div", { key: '1c56222cf9e1ad0b4242548bb3133b502b890ea7', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'bcff7d46918f5069e8c512412a6d7120e3204f1f', name: "leading-input" }), hAsync("input", { key: '16f7a7230799cccdec45dc5a53939f5fc78f4e24', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
29975
29967
|
'aria-required': String(ariaRequiredValue),
|
|
29976
|
-
}), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), hAsync("slot", { key: '
|
|
29977
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
29978
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
29968
|
+
}), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), hAsync("slot", { key: '446a2dcd683ba6caeb9f1f715890a38cb084d341', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: '2e2787b8ac5c39db8a8212dffb7ed545b2d35084', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '88e507f5003fc9d2967968b6938b51731dbb5d09', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: '3d471559b8630cfbcb39b17477beb62bf707bea7', name: "after-input" })), (this.description ||
|
|
29969
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '5e6bb278db247a1f94e27f6401519821a9fc571b', class: "description" }, hAsync("slot", { key: '13483a478681d97b00d06664fee40c35f81eb29f', name: "description" }, this.description))), (this.errorDescription ||
|
|
29970
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c91425b592a094661d4c76316b060877861d85f5', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'f371e111411bf60d331e3a0762135d62010ad06c', name: "error-description" }, this.errorDescription)))));
|
|
29979
29971
|
}
|
|
29980
29972
|
static get formAssociated() { return true; }
|
|
29981
29973
|
get el() { return getElement(this); }
|
|
@@ -30089,7 +30081,7 @@ class NvFieldtextarea {
|
|
|
30089
30081
|
/**
|
|
30090
30082
|
* Enable this to make the textarea automatically resize as the user types,
|
|
30091
30083
|
* adjusting the height to fit the content. For the best experience, avoid
|
|
30092
|
-
* vertical resizing, as it
|
|
30084
|
+
* vertical resizing, as it's controlled by this feature. Horizontal resizing
|
|
30093
30085
|
* can still be allowed if desired.
|
|
30094
30086
|
*/
|
|
30095
30087
|
this.autosize = false;
|
|
@@ -30151,35 +30143,37 @@ class NvFieldtextarea {
|
|
|
30151
30143
|
adjustTextareaHeight() {
|
|
30152
30144
|
if (this.textareaElement && this.autosize) {
|
|
30153
30145
|
/**
|
|
30154
|
-
*
|
|
30146
|
+
* A single requestAnimationFrame ensures that the DOM has applied any
|
|
30155
30147
|
* pending changes (e.g., value updates or attribute changes) before
|
|
30156
|
-
*
|
|
30148
|
+
* measuring. All style reads and writes happen synchronously within
|
|
30149
|
+
* this callback so the browser never paints the intermediate
|
|
30150
|
+
* "height: auto" state, avoiding a visible flash.
|
|
30157
30151
|
*/
|
|
30158
30152
|
requestAnimationFrame(() => {
|
|
30159
|
-
|
|
30160
|
-
|
|
30161
|
-
|
|
30162
|
-
|
|
30163
|
-
|
|
30164
|
-
|
|
30165
|
-
|
|
30166
|
-
|
|
30167
|
-
|
|
30168
|
-
|
|
30169
|
-
|
|
30170
|
-
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
this.textareaElement.style.minHeight = `${minHeight}px`;
|
|
30153
|
+
this.textareaElement.style.height = 'auto';
|
|
30154
|
+
const computedStyle = window.getComputedStyle(this.textareaElement);
|
|
30155
|
+
const lineHeight = parseFloat(computedStyle.lineHeight);
|
|
30156
|
+
const paddingTop = parseFloat(computedStyle.paddingTop);
|
|
30157
|
+
const paddingBottom = parseFloat(computedStyle.paddingBottom);
|
|
30158
|
+
const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
|
|
30159
|
+
const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
|
|
30160
|
+
// Calculate min-height based on rows
|
|
30161
|
+
const minHeight = lineHeight * this.rows +
|
|
30162
|
+
paddingTop +
|
|
30163
|
+
paddingBottom +
|
|
30164
|
+
borderTopWidth +
|
|
30165
|
+
borderBottomWidth;
|
|
30166
|
+
this.textareaElement.style.minHeight = `${minHeight}px`;
|
|
30167
|
+
if (this.maxAutoHeight &&
|
|
30168
|
+
this.textareaElement.scrollHeight > this.maxAutoHeight) {
|
|
30169
|
+
this.textareaElement.style.height = `${this.maxAutoHeight}px`;
|
|
30170
|
+
this.textareaElement.style.overflowY = 'auto';
|
|
30171
|
+
}
|
|
30172
|
+
else {
|
|
30180
30173
|
this.textareaElement.style.height =
|
|
30181
30174
|
this.textareaElement.scrollHeight + 'px';
|
|
30182
|
-
|
|
30175
|
+
this.textareaElement.style.overflowY = 'hidden';
|
|
30176
|
+
}
|
|
30183
30177
|
});
|
|
30184
30178
|
}
|
|
30185
30179
|
}
|
|
@@ -30231,11 +30225,11 @@ class NvFieldtextarea {
|
|
|
30231
30225
|
? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
|
|
30232
30226
|
: undefined;
|
|
30233
30227
|
const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
|
|
30234
|
-
return (hAsync(Host, { key: '
|
|
30228
|
+
return (hAsync(Host, { key: '9d7aed8625b1cfa103e275495d40116b8f1314c3' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '6609cc39f3809b833a4c9755c487ba3eef05a5c4', htmlFor: this.inputId }, hAsync("slot", { key: '277484af20e4054be5491576ffdfb95ca0f23a79', name: "label" }, this.label))), hAsync("div", { key: '6224c47beaee1e15ea9277a1f69f4ac5ea496cb6', class: "textarea-wrapper" }, hAsync("div", { key: '6dd7868aa65091dd79c34497dec020945d56f925', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: '2548dab5d8b387d37036a07c4a76b567c84a8b59', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
|
|
30235
30229
|
'aria-required': String(ariaRequiredValue),
|
|
30236
30230
|
}), maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
30237
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
30238
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
30231
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '10ba44a9c4b83db00d00c2a4e791c68836413aac', class: "description" }, hAsync("slot", { key: '5015686b48e185707376008306c204432199cde1', name: "description" }, this.description))), (this.errorDescription ||
|
|
30232
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '312502a84e08fdacbe77cc55f4e91e0b4122c82b', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'b837f0784d75b8d0df04e025ee8f9a309c6f46d3', name: "error-description" }, this.errorDescription)))));
|
|
30239
30233
|
}
|
|
30240
30234
|
static get formAssociated() { return true; }
|
|
30241
30235
|
get el() { return getElement(this); }
|
|
@@ -30275,12 +30269,13 @@ class NvFieldtextarea {
|
|
|
30275
30269
|
"rows": [514],
|
|
30276
30270
|
"resize": [513],
|
|
30277
30271
|
"autosize": [516],
|
|
30272
|
+
"maxAutoHeight": [514, "max-auto-height"],
|
|
30278
30273
|
"autofocus": [516],
|
|
30279
30274
|
"fluid": [516]
|
|
30280
30275
|
},
|
|
30281
30276
|
"$listeners$": undefined,
|
|
30282
30277
|
"$lazyBundleId$": "-",
|
|
30283
|
-
"$attrsToReflect$": [["message", "message"], ["validation", "validation"], ["inputId", "input-id"], ["label", "label"], ["description", "description"], ["placeholder", "placeholder"], ["name", "name"], ["value", "value"], ["disabled", "disabled"], ["readonly", "readonly"], ["required", "required"], ["ariaRequiredAttr", "aria-required"], ["error", "error"], ["errorDescription", "error-description"], ["success", "success"], ["maxlength", "maxlength"], ["minlength", "minlength"], ["rows", "rows"], ["resize", "resize"], ["autosize", "autosize"], ["autofocus", "autofocus"], ["fluid", "fluid"]]
|
|
30278
|
+
"$attrsToReflect$": [["message", "message"], ["validation", "validation"], ["inputId", "input-id"], ["label", "label"], ["description", "description"], ["placeholder", "placeholder"], ["name", "name"], ["value", "value"], ["disabled", "disabled"], ["readonly", "readonly"], ["required", "required"], ["ariaRequiredAttr", "aria-required"], ["error", "error"], ["errorDescription", "error-description"], ["success", "success"], ["maxlength", "maxlength"], ["minlength", "minlength"], ["rows", "rows"], ["resize", "resize"], ["autosize", "autosize"], ["maxAutoHeight", "max-auto-height"], ["autofocus", "autofocus"], ["fluid", "fluid"]]
|
|
30284
30279
|
}; }
|
|
30285
30280
|
}
|
|
30286
30281
|
|
|
@@ -31392,9 +31387,9 @@ class NvFieldtime {
|
|
|
31392
31387
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
31393
31388
|
}
|
|
31394
31389
|
render() {
|
|
31395
|
-
return (hAsync(Host, { key: '
|
|
31396
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
31397
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
31390
|
+
return (hAsync(Host, { key: 'a02fbea3aa9b46d22978cececd750548c16c79cf', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '0ec36fbb4e2e810455e35537277496b600b8bd72', htmlFor: this.inputId }, hAsync("slot", { key: '5ab4bca171c9d68fbb592c378b0db30139e23642', name: "label" }, this.label))), hAsync("nv-popover", { key: '962705b7347af233d00ad7c33ea8777403e32534', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: this.handleOpenChanged }, hAsync("div", { key: '16e06fbf7003cfdf29e019cd4dfcd33c3b4a12e4', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '64c31ef85a92430ac348e9ff06405f682ceb7a98', name: "before-input" }), hAsync("div", { key: '291130925798643a0c034719fc46a5ee391ec487', class: "input-container" }, hAsync("slot", { key: '823f17b06aeb798216a46631655513bef79f7508', name: "leading-input" }), this.renderTimeInputFields(), hAsync("nv-iconbutton", { key: '4e87bc2c19494f43cb4ac7dfb3b370eac6edab0b', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: 'a5c97446025ee0b571f3fe2223dfd759ed69f9ca', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: '475f240e74459e16e5a9dd3bea0df21f32949e18', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: '696be862dee53acc18c311fe2ea26f4ec099c62e', name: "after-input" })), hAsync("div", { key: '75e7e8ad1c1bc7be602d633946b3845007a3b1c5', class: "time-dropdown", slot: "content" }, hAsync("div", { key: '89898000bb7005ef687372d1016b5b93f02a43bc', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
|
|
31391
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'a0bddd8851b21c57637fbe8f9d8a83d62ff43bdf', class: "description" }, hAsync("slot", { key: '133c39ce0065b8f95a932d12c5150af595eab460', name: "description" }, this.description))), (this.errorDescription ||
|
|
31392
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'de3a537dd418c1c218eceb8062fd925c0ea06bba', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '97e2865ce647f2e4e32697acf5154fc94be9eab7', name: "error-description" }, this.errorDescription)))));
|
|
31398
31393
|
}
|
|
31399
31394
|
static get formAssociated() { return true; }
|
|
31400
31395
|
get el() { return getElement(this); }
|
|
@@ -31507,7 +31502,7 @@ class NvIcon {
|
|
|
31507
31502
|
/****************************************************************************/
|
|
31508
31503
|
//#region RENDER
|
|
31509
31504
|
render() {
|
|
31510
|
-
return (hAsync(Host, { key: '
|
|
31505
|
+
return (hAsync(Host, { key: 'd96ca7fdb241a00f00ccdbce5f0437efade91e5e', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: '9de91a2e3ed62fc6128249a3ebf791bf42053475', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, hAsync("use", { key: '4e9891a48aa09ec65096298ced483092d0a54d23', href: `#nvicon_${this.name}` }))));
|
|
31511
31506
|
}
|
|
31512
31507
|
static get style() { return nvIconCss(); }
|
|
31513
31508
|
static get cmpMeta() { return {
|
|
@@ -31654,7 +31649,7 @@ class NvIconbutton {
|
|
|
31654
31649
|
/****************************************************************************/
|
|
31655
31650
|
//#region RENDER
|
|
31656
31651
|
render() {
|
|
31657
|
-
return (hAsync(Host, { key: '
|
|
31652
|
+
return (hAsync(Host, { key: 'e63c932f14d3b673d43ed48f61bb37a48605338d', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && hAsync("nv-loader", { key: '22ea154dce89eae701d873674a8bc6b2cecbcab9', size: this.size }), !this.loading && hAsync("nv-icon", { key: 'f05c05c455e62d27aed57de09efd32230f68c450', name: this.name, size: this.size }), hAsync("slot", { key: 'a1a163e56c8c027d0df2a019f77c187c6abbd91a' })));
|
|
31658
31653
|
}
|
|
31659
31654
|
static get formAssociated() { return true; }
|
|
31660
31655
|
get el() { return getElement(this); }
|
|
@@ -31706,7 +31701,7 @@ class NvLoader {
|
|
|
31706
31701
|
//#region RENDER
|
|
31707
31702
|
/* <slot> empty to force rendering change */
|
|
31708
31703
|
render() {
|
|
31709
|
-
return (hAsync(Host, { key: '
|
|
31704
|
+
return (hAsync(Host, { key: '5449f31fff78e9aabb1a6af11b99247cdf9fd4f3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
31710
31705
|
}
|
|
31711
31706
|
static get style() { return nvLoaderCss(); }
|
|
31712
31707
|
static get cmpMeta() { return {
|
|
@@ -31913,7 +31908,7 @@ class NvMenu {
|
|
|
31913
31908
|
this.triggerElement = this.el.querySelector('[slot="trigger"]');
|
|
31914
31909
|
}
|
|
31915
31910
|
render() {
|
|
31916
|
-
return (hAsync(Host, { key: '
|
|
31911
|
+
return (hAsync(Host, { key: '470d14ed698cc0064a24bf02e5fac3b32d64601a' }, hAsync("slot", { key: '2dd81fbe5a23b5225fc464fe528ff08983959b7f', name: "trigger" }), hAsync("nv-popover", { key: '68634d33954033dbd997c8a7f7ed711c6a17470b', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open, onOpenChanged: this.handleOpenChanged.bind(this) }, this.items ? (hAsync("ul", { slot: "content" }, this.renderMenuItems())) : (hAsync("slot", { name: "content" })))));
|
|
31917
31912
|
}
|
|
31918
31913
|
get el() { return getElement(this); }
|
|
31919
31914
|
static get style() { return nvMenuCss(); }
|
|
@@ -31983,7 +31978,7 @@ class NvMenuitem {
|
|
|
31983
31978
|
/****************************************************************************/
|
|
31984
31979
|
//#region RENDER
|
|
31985
31980
|
render() {
|
|
31986
|
-
return (hAsync(Host, { key: '
|
|
31981
|
+
return (hAsync(Host, { key: 'aac708fbf246c1083c3c4666e97b421485dd44a6', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '3b37a8661321152859dbc4247b299e60e909fe34', name: this.icon }), hAsync("slot", { key: 'e690d7574f8960c44bee2e3f20b1150b578a49da' }), this.label && hAsync("span", { key: '32d487f8ec9c1d6a910734c825382899982a23a5', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'cefcda06f7cb217348e5027ee6a38f8731421d6e' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '1085e47ae40ac38f87fca10dfbecbf32db95bace', name: "chevron-right" })));
|
|
31987
31982
|
}
|
|
31988
31983
|
get el() { return getElement(this); }
|
|
31989
31984
|
static get style() { return nvMenuitemCss(); }
|
|
@@ -32164,7 +32159,7 @@ class NvNotification {
|
|
|
32164
32159
|
/****************************************************************************/
|
|
32165
32160
|
//#region RENDER
|
|
32166
32161
|
render() {
|
|
32167
|
-
return (hAsync(Host, { key: '
|
|
32162
|
+
return (hAsync(Host, { key: '3c5025f664fcfc1e68856c003cd31ff10b8efdd9', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": this.getHeadingId() ?? null, "aria-describedby": this.getMessageId() ?? null, tabindex: "-1" }, hAsync("div", { key: 'a26032a0b0ac9818b5da1f6e815a8c96f096ed46', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (hAsync("button", { key: 'f660bc8b5e5d8df073b69fb60d1ed0b11ec75c6f', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, hAsync("nv-icon", { key: 'dbeea84ab7f1c965eae3a8ae74b7afca98453705', name: "x", size: "sm" }))), hAsync("nv-icon", { key: '0cbcee4f8667579b38ea205bdd747aabf6bdca8c', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), hAsync("div", { key: 'aed13fae98256180ff8d453c9f9d108eab429952', "data-scope": "content" }, (this.heading || this.headingSlot) && (hAsync("p", { key: 'a2964d1c4dc744765ed916fe74d6cc167164eaf4', id: this.getHeadingId(), "data-scope": "heading" }, hAsync("slot", { key: '2eee0bd4a73fd92ea283ae6cd50af2d1edc01f0c', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (hAsync("p", { key: '2f7e9b5429b9fa27bc4088b5d26955b8360695c1', id: this.getMessageId(), "data-scope": "message" }, hAsync("slot", { key: 'f1b3dbe8722c8750231b4fb18fdc120ecfd04c54', name: "content" }, this.message))), this.actionsSlot && (hAsync("div", { key: '56a881b3a53bb68a214f8db560805c726930b8d4', "data-scope": "actions" }, hAsync("slot", { key: 'ece50671721f12e58dfd03df09545cb456d00a9c', name: "actions" })))))));
|
|
32168
32163
|
}
|
|
32169
32164
|
get el() { return getElement(this); }
|
|
32170
32165
|
static get style() { return nvNotificationCss(); }
|
|
@@ -32310,7 +32305,7 @@ class NvNotificationContainer {
|
|
|
32310
32305
|
/****************************************************************************/
|
|
32311
32306
|
//#region RENDER
|
|
32312
32307
|
render() {
|
|
32313
|
-
return (hAsync(Host, { key: '
|
|
32308
|
+
return (hAsync(Host, { key: '97882d6391db2e1c9db884a84469db78136765e4', class: `position-${this.position}` }, hAsync("slot", { key: '0a0c52f26006ebd186862634b7b5470c7410c976' })));
|
|
32314
32309
|
}
|
|
32315
32310
|
static get style() { return nvNotificationcontainerCss(); }
|
|
32316
32311
|
static get cmpMeta() { return {
|
|
@@ -32538,7 +32533,7 @@ class NvPaginationtable {
|
|
|
32538
32533
|
const pageLabel = interpolate(this.labelPage, { pageIndex: this.pageIndex + 1, pageCount: this.pageCount }, 'Page {pageIndex} of {pageCount}');
|
|
32539
32534
|
const totalLabel = interpolate(this.labelTotal, { rowCount: this.rowCount }, 'Total: {rowCount} rows');
|
|
32540
32535
|
const pageSizeOptions = generatePageSizeOptions(this.labelPageSizeOption ?? '{pageSize} per page');
|
|
32541
|
-
return (hAsync(Host, { key: '
|
|
32536
|
+
return (hAsync(Host, { key: '1ca51049fc16cc949fe38c80ceabc7a72f189279' }, !this.hideControls && (hAsync("div", { key: '6962c8ee324aa42f5eb5defceb48cbb6b5a6ed0a', "data-scope": "controls" }, !this.hideFirstLast && (hAsync("nv-iconbutton", { key: 'faa193b020c69f274fd7024a9fbc736661500152', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (hAsync("nv-iconbutton", { key: 'dfa8731f6389768a659207bac3752b9ac674c9e8', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (hAsync("nv-iconbutton", { key: 'a546e95f9921f4b6b0848ce1eaee929ac223949a', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (hAsync("nv-iconbutton", { key: 'f59fac8c7ee04c37779089aa8de8980d5ca51d04', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), hAsync("span", { key: '32079d8ea98a2918eee76c0176515eba13ac24a0', "data-scope": "page-label" }, pageLabel), hAsync("span", { key: '21c38d9e335ce7c9d952f5ef8201d51f1d486b76', "data-scope": "total" }, totalLabel), hAsync("div", { key: 'e981f5e869c08bdd52639b35ac6bec3deec8577c', "data-scope": "per-page" }, hAsync("nv-fieldselect", { key: 'ac22a50b68b7a75f0560d19641c159a5d771bceb', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), hAsync("slot", { key: '784a6edbfbf83b76ef7e49e881591ba16e9da064' })));
|
|
32542
32537
|
}
|
|
32543
32538
|
static get watchers() { return {
|
|
32544
32539
|
"pageIndex": [{
|
|
@@ -34532,7 +34527,7 @@ class NvPopover {
|
|
|
34532
34527
|
/****************************************************************************/
|
|
34533
34528
|
//#region RENDER
|
|
34534
34529
|
render() {
|
|
34535
|
-
return (hAsync(Host, { key: '
|
|
34530
|
+
return (hAsync(Host, { key: '8d6cfba040e2e29705a6e9fd3c1044c9e0b668b1' }, hAsync("slot", { key: '1ea59e4037bf56ced06ad652c9c55bbc56556fd5', name: "trigger" }), hAsync("div", { key: '7023f506e410e44a85c4683ebccfe10fdaf45c10', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: 'b336819de26b0ae8899dbd378272a6a5a30517d6', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: 'fd9aad00f57cb5bab850983f2b28ea80b4cdd7fb', name: "content" }))));
|
|
34536
34531
|
}
|
|
34537
34532
|
get el() { return getElement(this); }
|
|
34538
34533
|
static get watchers() { return {
|
|
@@ -34582,7 +34577,7 @@ class NvRow {
|
|
|
34582
34577
|
/****************************************************************************/
|
|
34583
34578
|
//#region RENDER
|
|
34584
34579
|
render() {
|
|
34585
|
-
return (hAsync(Host, { key: '
|
|
34580
|
+
return (hAsync(Host, { key: '507041a8331236632f2dc12e94ca7c87465e8312' }, hAsync("slot", { key: '3bef8f23cdc72e42467dc0407b9d2693f15638d7' })));
|
|
34586
34581
|
}
|
|
34587
34582
|
static get style() { return nvRowCss(); }
|
|
34588
34583
|
static get cmpMeta() { return {
|
|
@@ -34756,7 +34751,7 @@ class NvSidebar {
|
|
|
34756
34751
|
//#region RENDER
|
|
34757
34752
|
render() {
|
|
34758
34753
|
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
34759
|
-
return (hAsync(Host, { key: '
|
|
34754
|
+
return (hAsync(Host, { key: 'a22074a54f9d51c5a60dd698573a95862e9df0a8', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, hAsync("div", { key: 'f19453d0dbbad812f27f188ef198b895d37e8ad2', class: "nv-sidebar-container" }, hAsync("slot", { key: '7194ae2a2a655716f3f1db89d9c38dc4b0ab9df0' })), this.type === 'collapsible' && (hAsync("button", { key: '4f7a1805932f6e1783fbcf63dc54d3260464eab0', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, hAsync("nv-icon", { key: '76d84d1c07d3f841808950c6805aa7bcaa63cf85', name: this.open
|
|
34760
34755
|
? 'layout-sidebar-left-collapse'
|
|
34761
34756
|
: 'layout-sidebar-right-collapse', size: "sm" })))));
|
|
34762
34757
|
}
|
|
@@ -34799,7 +34794,7 @@ class NvSidebarcontent {
|
|
|
34799
34794
|
/****************************************************************************/
|
|
34800
34795
|
//#region RENDER
|
|
34801
34796
|
render() {
|
|
34802
|
-
return (hAsync(Host, { key: '
|
|
34797
|
+
return (hAsync(Host, { key: 'e88e1557fbfa8ec74391dc11b6073eecb4d97685', role: "list" }, hAsync("slot", { key: 'ccaf985cc498a5729600316135d750190a514582' })));
|
|
34803
34798
|
}
|
|
34804
34799
|
static get style() { return nvSidebarcontentCss(); }
|
|
34805
34800
|
static get cmpMeta() { return {
|
|
@@ -34824,7 +34819,7 @@ class NvSidebardivider {
|
|
|
34824
34819
|
/****************************************************************************/
|
|
34825
34820
|
//#region RENDER
|
|
34826
34821
|
render() {
|
|
34827
|
-
return hAsync(Host, { key: '
|
|
34822
|
+
return hAsync(Host, { key: 'e2288aab359dff9087f7758e53a476e4715b0742', role: "separator", "aria-orientation": "horizontal" });
|
|
34828
34823
|
}
|
|
34829
34824
|
static get style() { return nvSidebardividerCss(); }
|
|
34830
34825
|
static get cmpMeta() { return {
|
|
@@ -34851,7 +34846,7 @@ class NvSidebarfooter {
|
|
|
34851
34846
|
/****************************************************************************/
|
|
34852
34847
|
//#region RENDER
|
|
34853
34848
|
render() {
|
|
34854
|
-
return (hAsync(Host, { key: '
|
|
34849
|
+
return (hAsync(Host, { key: 'ac36a47c2f96070779b7b05134303604e3ef7676' }, hAsync("slot", { key: '295d26a47fa386deade3799a02686afe6ef42ce0' })));
|
|
34855
34850
|
}
|
|
34856
34851
|
static get style() { return nvSidebarfooterCss(); }
|
|
34857
34852
|
static get cmpMeta() { return {
|
|
@@ -34878,7 +34873,7 @@ class NvSidebargroup {
|
|
|
34878
34873
|
/****************************************************************************/
|
|
34879
34874
|
//#region RENDER
|
|
34880
34875
|
render() {
|
|
34881
|
-
return (hAsync(Host, { key: '
|
|
34876
|
+
return (hAsync(Host, { key: 'efeaa9f861a41ad96b5f1878510bb1bbbd4a5404', role: "group", "aria-label": this.label }, this.label && hAsync("div", { key: '75816b463eeb0cf7687f2b0bca271db560cfafa6', class: "nv-sidebargroup-label" }, this.label), hAsync("slot", { key: '614116b7997561766949124e56f3cb66addd419b' })));
|
|
34882
34877
|
}
|
|
34883
34878
|
static get style() { return nvSidebargroupCss(); }
|
|
34884
34879
|
static get cmpMeta() { return {
|
|
@@ -34907,7 +34902,7 @@ class NvSidebarheader {
|
|
|
34907
34902
|
/****************************************************************************/
|
|
34908
34903
|
//#region RENDER
|
|
34909
34904
|
render() {
|
|
34910
|
-
return (hAsync(Host, { key: '
|
|
34905
|
+
return (hAsync(Host, { key: '8dd986cfb2cd89557955c6eb61ebfbad0eb1dbcc' }, hAsync("slot", { key: 'ee7808c81f750f5c46da9ed0bfd3b9fcb18d393d' })));
|
|
34911
34906
|
}
|
|
34912
34907
|
static get style() { return nvSidebarheaderCss(); }
|
|
34913
34908
|
static get cmpMeta() { return {
|
|
@@ -34943,7 +34938,7 @@ class NvSidebarlogo {
|
|
|
34943
34938
|
render() {
|
|
34944
34939
|
const logoSrc = this.logo || this.defaultLogo;
|
|
34945
34940
|
const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
|
|
34946
|
-
return (hAsync(Host, { key: '
|
|
34941
|
+
return (hAsync(Host, { key: '6a1df67b6c23e0c2b4cd4da481dcd7a708062963' }, hAsync("div", { key: 'e974e75054b93aac6d417a5fa1c527ca75b0f417', class: "nv-sidebarlogo-container" }, hAsync("img", { key: '51bb65b380cc18252a3ea6c16741485a61f0cf12', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), hAsync("img", { key: '0cee540a20ffb605ea2efa38c5b5942505ada7db', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && hAsync("span", { key: '10ffc4e62a39c5ecfffd9f115c5929057901222a', class: "nv-sidebarlogo-title" }, this.label))));
|
|
34947
34942
|
}
|
|
34948
34943
|
static get style() { return nvSidebarlogoCss(); }
|
|
34949
34944
|
static get cmpMeta() { return {
|
|
@@ -35230,7 +35225,7 @@ class NvSidebarnavitem {
|
|
|
35230
35225
|
render() {
|
|
35231
35226
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
35232
35227
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
35233
|
-
return (hAsync(Host, { key: '
|
|
35228
|
+
return (hAsync(Host, { key: '0809fb5e4f1663571199bd75e3f2d69d09eabc2f', role: "listitem" }, hAsync("div", { key: '6885fbc8e01fd60f32d56a8b750398a772ee1169', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (hAsync("div", { key: '515ea7bb25f83fb3a645531ade9370357b1a3cc3', class: "nv-sidebarnavitem-icon" }, hAsync("nv-icon", { key: '718f35787fcd979dd305bcf985a51a9bf7f21a8b', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (hAsync("nv-notification-bullet", { key: 'c99767c829bf878d30345933d1bdf9f7c79fc778', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), hAsync("div", { key: 'd2cfe856fb91a7d15232ff30c73a6709b6adffbf', class: "nv-sidebarnavitem-content" }, hAsync("slot", { key: 'dbcc77aaf798efdca11714c0a6c9109c112ea314' })), hAsync("div", { key: 'bf0136c15af7ac1c4bb98c9415ef0a37760cf4e1', class: "nv-sidebarnavitem-trailing" }, hAsync("slot", { key: 'b84329d00c08ba2e7dc1a783b65d309fbf45a4da', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (hAsync("nv-notification-bullet", { key: '8a5b9447b80a59c38f006d86fe0d6bd655e02735', count: this.notificationCount, size: notificationSize })), this.collapsible && (hAsync("nv-icon", { key: '47348e1ad810f7abd022dc510bfd11caeb8d8c71', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (hAsync("div", { key: 'ba5160e5ea9cac822afdf9ed75f3e00807615304', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
35234
35229
|
// Only update ref and initialize if element changed or not yet initialized
|
|
35235
35230
|
if (el !== this.subitemsRef) {
|
|
35236
35231
|
this.subitemsRef = el;
|
|
@@ -35245,7 +35240,7 @@ class NvSidebarnavitem {
|
|
|
35245
35240
|
});
|
|
35246
35241
|
}
|
|
35247
35242
|
}
|
|
35248
|
-
} }, hAsync("slot", { key: '
|
|
35243
|
+
} }, hAsync("slot", { key: '4cd023b2af51cf8941d29cb2728cdd1c6b2ea8ed', name: "subitems" })))));
|
|
35249
35244
|
}
|
|
35250
35245
|
get el() { return getElement(this); }
|
|
35251
35246
|
static get watchers() { return {
|
|
@@ -35299,7 +35294,7 @@ class NvSidebarnavsubitem {
|
|
|
35299
35294
|
/****************************************************************************/
|
|
35300
35295
|
//#region RENDER
|
|
35301
35296
|
render() {
|
|
35302
|
-
return (hAsync(Host, { key: '
|
|
35297
|
+
return (hAsync(Host, { key: 'e5b353c32937bbf45c455593693b58d7177879f9', role: "listitem", "aria-current": this.active ? 'page' : undefined }, hAsync("div", { key: 'ebe7894659ae59538adc96043621b37a3145ef1a', class: "nv-sidebarnavsubitem-indicator" }), hAsync("div", { key: '2054d9f16623e2611652274f4872b6bcdc78c44c', class: "nv-sidebarnavsubitem-content" }, hAsync("slot", { key: 'fa1db84fbb2fcbc3cd6729146b6962445bbba2be' })), hAsync("div", { key: 'd3399e26472f48809c2b4fd824402827330b9b11', class: "nv-sidebarnavsubitem-trailing" }, hAsync("slot", { key: '5ee8b8b8198854ed658272032855e3cf18f21a25', name: "trailing" }))));
|
|
35303
35298
|
}
|
|
35304
35299
|
static get style() { return nvSidebarnavsubitemCss(); }
|
|
35305
35300
|
static get cmpMeta() { return {
|
|
@@ -35640,7 +35635,7 @@ class NvSplit {
|
|
|
35640
35635
|
/****************************************************************************/
|
|
35641
35636
|
//#region RENDER
|
|
35642
35637
|
render() {
|
|
35643
|
-
return (hAsync(Host, { key: '
|
|
35638
|
+
return (hAsync(Host, { key: 'ab2b75b963d3cee109e90fe22e0dfe356a384706', "data-dragging": this.isDragging.toString() }, hAsync("slot", { key: 'a7a8258a976029f91ffbce3fa1f90f7ed35409ef', name: "pane" }), hAsync("slot", { key: '9af34cb299ff061bec6ba7dfe6e969e093aeb3bc', name: "gutter" })));
|
|
35644
35639
|
}
|
|
35645
35640
|
get el() { return getElement(this); }
|
|
35646
35641
|
static get watchers() { return {
|
|
@@ -35693,7 +35688,7 @@ class NvStack {
|
|
|
35693
35688
|
/****************************************************************************/
|
|
35694
35689
|
//#region RENDER
|
|
35695
35690
|
render() {
|
|
35696
|
-
return (hAsync(Host, { key: '
|
|
35691
|
+
return (hAsync(Host, { key: '1fe102ad734149231a7058af441e5ee77ef97ca3', class: 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') }, hAsync("slot", { key: 'f7ed597dabd90182887096441ff1258812dfe9fc' })));
|
|
35697
35692
|
}
|
|
35698
35693
|
static get style() { return nvStackCss(); }
|
|
35699
35694
|
static get cmpMeta() { return {
|
|
@@ -35823,6 +35818,8 @@ function releasePointerCapture(cell, pointerId) {
|
|
|
35823
35818
|
* @param {boolean} prevent - Whether to prevent selection
|
|
35824
35819
|
*/
|
|
35825
35820
|
function setUserSelectPrevention(prevent) {
|
|
35821
|
+
if (!document)
|
|
35822
|
+
return; // SSR & node env fallback safety
|
|
35826
35823
|
document.body.style.userSelect = prevent ? 'none' : '';
|
|
35827
35824
|
}
|
|
35828
35825
|
/**
|
|
@@ -35944,7 +35941,7 @@ class NvTable {
|
|
|
35944
35941
|
/****************************************************************************/
|
|
35945
35942
|
//#region RENDER
|
|
35946
35943
|
render() {
|
|
35947
|
-
return (hAsync(Host, { key: '
|
|
35944
|
+
return (hAsync(Host, { key: '0d5518a54b41c67bdd7c73d5147fd954fb53d388' }, hAsync("slot", { key: '8ab65d5dd1ce751fd357b275b84db042b1d9ce2e' })));
|
|
35948
35945
|
}
|
|
35949
35946
|
get host() { return getElement(this); }
|
|
35950
35947
|
static get style() { return nvTableCss(); }
|
|
@@ -36018,7 +36015,7 @@ class NvTableheader {
|
|
|
36018
36015
|
/****************************************************************************/
|
|
36019
36016
|
//#region RENDER
|
|
36020
36017
|
render() {
|
|
36021
|
-
return (hAsync(Host, { key: '
|
|
36018
|
+
return (hAsync(Host, { key: '95447cd8ccde74d09226bcdbf645eed309be0fa8', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, hAsync("slot", { key: '4e26aa21f080cf23ce42fb72d6777463bd079991' }), this.sortable && (hAsync("span", { key: '666254c197e97226d2f1c6830d1216b9457c4acc', class: "sort-icon-wrap", "aria-hidden": "true" }, hAsync("nv-iconbutton", { key: '11b2de5c4c270740857094ec8a39f1d392d7246a', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
36022
36019
|
// prevent mousedown from selecting text
|
|
36023
36020
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
36024
36021
|
'is-none': this.sortDirection === 'none',
|
|
@@ -36039,7 +36036,7 @@ class NvTableheader {
|
|
|
36039
36036
|
}; }
|
|
36040
36037
|
}
|
|
36041
36038
|
|
|
36042
|
-
const nvToggleCss = () =>
|
|
36039
|
+
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}`;
|
|
36043
36040
|
|
|
36044
36041
|
/**
|
|
36045
36042
|
* @slot label - Content to be placed as the label, will override the label prop.
|
|
@@ -36102,8 +36099,8 @@ class NvToggle {
|
|
|
36102
36099
|
/****************************************************************************/
|
|
36103
36100
|
//#region RENDER
|
|
36104
36101
|
render() {
|
|
36105
|
-
return (hAsync(Host, { key: '
|
|
36106
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
36102
|
+
return (hAsync(Host, { key: '38dd2a460c82599e2c2bfd6b039eafff0dc6fc67', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: '4d6bf742f548cc5f92ae84497f12569d9680dcef', class: "input-container" }, hAsync("input", { key: '97f54363c17cde48ec226680ee58da012e590b69', 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 })), hAsync("div", { key: 'e4576a0884f02731a3e6d2d20537cfabf411a8fe', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '4744036b0d1e73f350bbc4b6f6e7664bb9361d1e', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: '44a2aeb86c840246473bc47e0ba01269af77ef06', name: "label" }, this.label))), (this.description ||
|
|
36103
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '6e5c3d1721c9db3cffd019c9274294c40793daf0', class: "description" }, hAsync("slot", { key: '87c3d35c78ded085cd1ddb5b2874dfae7bd99842', name: "description" }, this.description))))));
|
|
36107
36104
|
}
|
|
36108
36105
|
static get formAssociated() { return true; }
|
|
36109
36106
|
get el() { return getElement(this); }
|
|
@@ -36189,7 +36186,7 @@ class NvTogglebutton {
|
|
|
36189
36186
|
/****************************************************************************/
|
|
36190
36187
|
//#region RENDER
|
|
36191
36188
|
render() {
|
|
36192
|
-
return (hAsync(Host, { key: '
|
|
36189
|
+
return (hAsync(Host, { key: '4af1293d9eb69a3a20d8f30c6b2876c6c29ddc03', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, hAsync("slot", { key: '783fad27c525553cd404c1ffed0ae1305d330de8' })));
|
|
36193
36190
|
}
|
|
36194
36191
|
get el() { return getElement(this); }
|
|
36195
36192
|
static get style() { return nvTogglebuttonCss(); }
|
|
@@ -36363,7 +36360,7 @@ class NvTogglebuttongroup {
|
|
|
36363
36360
|
/****************************************************************************/
|
|
36364
36361
|
//#region RENDER
|
|
36365
36362
|
render() {
|
|
36366
|
-
return (hAsync(Host, { key: '
|
|
36363
|
+
return (hAsync(Host, { key: '1116872815229d09e1e286dd1f12a9787218e207' }, hAsync("slot", { key: 'fa5363ec707f38830065718b2423dd8493acdd4e' })));
|
|
36367
36364
|
}
|
|
36368
36365
|
get el() { return getElement(this); }
|
|
36369
36366
|
static get watchers() { return {
|
|
@@ -36394,7 +36391,7 @@ class NvTogglebuttongroup {
|
|
|
36394
36391
|
}; }
|
|
36395
36392
|
}
|
|
36396
36393
|
|
|
36397
|
-
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}`;
|
|
36394
|
+
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}`;
|
|
36398
36395
|
|
|
36399
36396
|
/**
|
|
36400
36397
|
* @slot default - Content to be placed as the trigger.
|
|
@@ -36440,7 +36437,7 @@ class NvTooltip {
|
|
|
36440
36437
|
/****************************************************************************/
|
|
36441
36438
|
//#region RENDER
|
|
36442
36439
|
render() {
|
|
36443
|
-
return (hAsync(Host, { key: '
|
|
36440
|
+
return (hAsync(Host, { key: 'bda9ba58186add585457f8fdf4a8e1d6389da01a' }, hAsync("nv-popover", { key: 'ac67ea44cebbc8abb9ff4e190668093bb7179222', 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) }, hAsync("p", { key: 'b677689d4a73462b7d16ff7d9f31bfd61e7f47eb', slot: "content" }, this.message), hAsync("slot", { key: 'bd1540db065fdeceb89d09d69e1dbf7ad4de728d', name: "content" })), hAsync("slot", { key: '648d3c3125b0528cd8e88675122d775ad7cc40d9', ref: el => (this.defaultSlot = el) })));
|
|
36444
36441
|
}
|
|
36445
36442
|
get el() { return getElement(this); }
|
|
36446
36443
|
static get style() { return nvTooltipCss(); }
|