@nova-design-system/nova-webcomponents 3.0.0-beta.44 → 3.0.0-beta.45
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/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +5 -4
- package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-base.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +5 -3
- package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +30 -3
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +16 -12
- package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddate.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +4 -4
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -3
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +6 -48
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtime.cjs.entry.js +9 -9
- 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-popover.cjs.entry.js +11 -9
- package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.css +11 -0
- package/dist/collection/components/nv-badge/nv-badge.js +3 -3
- package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
- package/dist/collection/components/nv-base/nv-base.js +1 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +11 -0
- 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 +5 -3
- package/dist/collection/components/nv-button/nv-button.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.js +1 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +13 -2
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +53 -3
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +24 -17
- package/dist/collection/components/nv-dialog/nv-dialog.js.map +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-fieldcheckbox/nv-fieldcheckbox.css +11 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +5 -5
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +4 -4
- 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-fieldmultiselect/nv-fieldmultiselect.js +6 -48
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
- package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js.map +1 -1
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-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 +2 -2
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-popover/nv-popover.js +11 -9
- package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- package/dist/collection/components/nv-toggle/nv-toggle.css +11 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-tooltip/nv-tooltip.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-base.js +1 -1
- package/dist/components/nv-breadcrumb.js +4 -4
- package/dist/components/nv-breadcrumb.js.map +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.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 +31 -3
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-dialog.js +22 -18
- package/dist/components/nv-dialog.js.map +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +12 -12
- package/dist/components/nv-fielddaterange.js +11 -11
- package/dist/components/nv-fielddropdown.js +8 -8
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +13 -55
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +6 -6
- package/dist/components/nv-fieldpassword.js +6 -6
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +8 -8
- package/dist/components/nv-fieldtext.js +4 -4
- package/dist/components/nv-fieldtextarea.js +3 -3
- package/dist/components/nv-fieldtime.js +13 -13
- 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 +4 -4
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +2 -2
- package/dist/components/nv-toggle.js +3 -3
- package/dist/components/nv-toggle.js.map +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-cd083aba.js → p-0f59f38e.js} +6 -5
- package/dist/components/p-0f59f38e.js.map +1 -0
- package/dist/components/{p-0631d152.js → p-103756d6.js} +7 -5
- package/dist/components/p-103756d6.js.map +1 -0
- package/dist/components/{p-293e1a5c.js → p-3561c093.js} +3 -3
- package/dist/components/{p-293e1a5c.js.map → p-3561c093.js.map} +1 -1
- package/dist/components/{p-6726f512.js → p-3a3ba5b1.js} +2 -2
- package/dist/components/{p-6726f512.js.map → p-3a3ba5b1.js.map} +1 -1
- package/dist/components/{p-3a74719c.js → p-3b096098.js} +4 -4
- package/dist/components/{p-3a74719c.js.map → p-3b096098.js.map} +1 -1
- package/dist/components/{p-543082ff.js → p-4c6d8df7.js} +2 -2
- package/dist/components/{p-543082ff.js.map → p-4c6d8df7.js.map} +1 -1
- package/dist/components/{p-23b6b33b.js → p-78b00756.js} +2 -2
- package/dist/components/{p-23b6b33b.js.map → p-78b00756.js.map} +1 -1
- package/dist/components/{p-016dbae8.js → p-78e0e7b0.js} +6 -6
- package/dist/components/{p-016dbae8.js.map → p-78e0e7b0.js.map} +1 -1
- package/dist/components/{p-e66d6274.js → p-863974b2.js} +3 -3
- package/dist/components/{p-e66d6274.js.map → p-863974b2.js.map} +1 -1
- package/dist/components/{p-e7f21fe7.js → p-8ea5e3c0.js} +3 -3
- package/dist/components/{p-e7f21fe7.js.map → p-8ea5e3c0.js.map} +1 -1
- package/dist/components/{p-d552352b.js → p-933d4d06.js} +6 -6
- package/dist/components/p-933d4d06.js.map +1 -0
- package/dist/components/{p-e40363fd.js → p-aeeb5b1c.js} +2 -2
- package/dist/components/{p-e40363fd.js.map → p-aeeb5b1c.js.map} +1 -1
- package/dist/components/{p-3a990da7.js → p-b5821dbb.js} +5 -5
- package/dist/components/{p-3a990da7.js.map → p-b5821dbb.js.map} +1 -1
- package/dist/components/{p-62f6da8a.js → p-e46c2e31.js} +12 -10
- package/dist/components/p-e46c2e31.js.map +1 -0
- package/dist/components/{p-b2d2fd35.js → p-ef255589.js} +3 -3
- package/dist/components/{p-b2d2fd35.js.map → p-ef255589.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +5 -4
- package/dist/esm/nv-badge_2.entry.js.map +1 -1
- package/dist/esm/nv-base.entry.js +1 -1
- package/dist/esm/nv-breadcrumb.entry.js +2 -2
- package/dist/esm/nv-breadcrumb.entry.js.map +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +5 -3
- package/dist/esm/nv-button.entry.js.map +1 -1
- package/dist/esm/nv-calendar.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +30 -3
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-dialog.entry.js +16 -12
- package/dist/esm/nv-dialog.entry.js.map +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
- package/dist/esm/nv-fielddate.entry.js +5 -5
- package/dist/esm/nv-fielddaterange.entry.js +4 -4
- package/dist/esm/nv-fielddropdown.entry.js +3 -3
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +6 -48
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldpassword.entry.js +3 -3
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldtext.entry.js +3 -3
- package/dist/esm/nv-fieldtextarea.entry.js +3 -3
- package/dist/esm/nv-fieldtime.entry.js +9 -9
- 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-popover.entry.js +11 -9
- package/dist/esm/nv-popover.entry.js.map +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-toggle.entry.js.map +1 -1
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/native.esm.js.map +1 -1
- package/dist/native/p-0172095c.entry.js +2 -0
- package/dist/native/p-0172095c.entry.js.map +1 -0
- package/dist/native/{p-ddb4fcc3.entry.js → p-162f4840.entry.js} +2 -2
- package/dist/native/p-162f4840.entry.js.map +1 -0
- package/dist/native/{p-ede0c391.entry.js → p-17bf1233.entry.js} +2 -2
- package/dist/native/p-17bf1233.entry.js.map +1 -0
- package/dist/native/p-19fd6594.entry.js +2 -0
- package/dist/native/p-19fd6594.entry.js.map +1 -0
- package/dist/native/p-1a46cb52.entry.js +2 -0
- package/dist/native/{p-4d2adf8c.entry.js → p-2281d5ef.entry.js} +2 -2
- package/dist/native/{p-4c88e8be.entry.js → p-31184fdd.entry.js} +2 -2
- package/dist/native/{p-d987271c.entry.js → p-314d2b34.entry.js} +2 -2
- package/dist/native/p-331da074.entry.js +2 -0
- package/dist/native/{p-a3ea7b59.entry.js → p-332c5d6c.entry.js} +2 -2
- package/dist/native/{p-dcfef507.entry.js → p-3af5bcc1.entry.js} +2 -2
- package/dist/native/{p-9fe6a9b7.entry.js → p-40f4a6e7.entry.js} +2 -2
- package/dist/native/p-42d020a7.entry.js +2 -0
- package/dist/native/p-42d020a7.entry.js.map +1 -0
- package/dist/native/{p-adf0f628.entry.js → p-4403e3af.entry.js} +2 -2
- package/dist/native/{p-ac72abfc.entry.js → p-442f04f9.entry.js} +2 -2
- package/dist/native/p-45577c7f.entry.js +2 -0
- package/dist/native/{p-4b6d3739.entry.js.map → p-45577c7f.entry.js.map} +1 -1
- package/dist/native/{p-794b7820.entry.js → p-464ef88f.entry.js} +2 -2
- package/dist/native/p-46aa1136.entry.js +2 -0
- package/dist/native/{p-39fd54e3.entry.js → p-514101d6.entry.js} +2 -2
- package/dist/native/{p-ca1eff59.entry.js → p-54b6ce07.entry.js} +2 -2
- package/dist/native/{p-a6834c17.entry.js → p-603a99ed.entry.js} +2 -2
- package/dist/native/{p-a6834c17.entry.js.map → p-603a99ed.entry.js.map} +1 -1
- package/dist/native/p-665db087.entry.js +2 -0
- package/dist/native/{p-16b38dc2.entry.js → p-725e0abd.entry.js} +2 -2
- package/dist/native/{p-2b584e35.entry.js → p-7fade532.entry.js} +2 -2
- package/dist/native/{p-4eb132d3.entry.js → p-942f8e92.entry.js} +2 -2
- package/dist/native/p-abeda2cf.entry.js +7 -0
- package/dist/native/p-abeda2cf.entry.js.map +1 -0
- package/dist/native/{p-552ca13e.entry.js → p-c10e5113.entry.js} +2 -2
- package/dist/native/{p-ffcf8271.entry.js → p-d9624254.entry.js} +2 -2
- package/dist/native/p-d9624254.entry.js.map +1 -0
- package/dist/native/{p-5e04b50f.entry.js → p-e197d90b.entry.js} +2 -2
- package/dist/native/{p-569e9663.entry.js → p-e6904ae4.entry.js} +2 -2
- package/dist/native/{p-657a0b8a.entry.js → p-ecc28398.entry.js} +2 -2
- package/dist/native/p-f01a34c5.entry.js +2 -0
- package/dist/native/p-f01a34c5.entry.js.map +1 -0
- package/dist/native/{p-870d5a5c.entry.js → p-f5e0d5c5.entry.js} +2 -2
- package/dist/native/p-f89b7d06.entry.js +2 -0
- package/dist/types/components/nv-badge/nv-badge.d.ts +0 -1
- package/dist/types/components/nv-base/nv-base.docs.d.ts +1 -1
- package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +6 -0
- package/dist/types/components/nv-dialog/nv-dialog.d.ts +4 -3
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +1 -1
- package/dist/types/components.d.ts +25 -6
- package/dist/types/nova-docs.d.ts +6 -0
- package/dist/vscode-data.json +34 -30
- package/hydrate/index.js +145 -151
- package/hydrate/index.mjs +145 -151
- package/package.json +10 -10
- package/dist/blazor-docs.json +0 -18738
- package/dist/components/p-0631d152.js.map +0 -1
- package/dist/components/p-62f6da8a.js.map +0 -1
- package/dist/components/p-cd083aba.js.map +0 -1
- package/dist/components/p-d552352b.js.map +0 -1
- package/dist/docs.d.ts +0 -443
- package/dist/docs.json +0 -18538
- package/dist/native/p-1d5b6c6d.entry.js +0 -2
- package/dist/native/p-3a47035f.entry.js +0 -2
- package/dist/native/p-4b6d3739.entry.js +0 -2
- package/dist/native/p-4c96b614.entry.js +0 -2
- package/dist/native/p-8ae27c0a.entry.js +0 -2
- package/dist/native/p-8ae27c0a.entry.js.map +0 -1
- package/dist/native/p-c84eb11f.entry.js +0 -7
- package/dist/native/p-c84eb11f.entry.js.map +0 -1
- package/dist/native/p-cce90f27.entry.js +0 -2
- package/dist/native/p-cce90f27.entry.js.map +0 -1
- package/dist/native/p-d3d664c7.entry.js +0 -2
- package/dist/native/p-d7b5ab6e.entry.js +0 -2
- package/dist/native/p-d7b5ab6e.entry.js.map +0 -1
- package/dist/native/p-ddb4fcc3.entry.js.map +0 -1
- package/dist/native/p-ed595c96.entry.js +0 -2
- package/dist/native/p-ed595c96.entry.js.map +0 -1
- package/dist/native/p-ede0c391.entry.js.map +0 -1
- package/dist/native/p-efb52057.entry.js +0 -2
- package/dist/native/p-ffcf8271.entry.js.map +0 -1
- /package/dist/native/{p-efb52057.entry.js.map → p-1a46cb52.entry.js.map} +0 -0
- /package/dist/native/{p-4d2adf8c.entry.js.map → p-2281d5ef.entry.js.map} +0 -0
- /package/dist/native/{p-4c88e8be.entry.js.map → p-31184fdd.entry.js.map} +0 -0
- /package/dist/native/{p-d987271c.entry.js.map → p-314d2b34.entry.js.map} +0 -0
- /package/dist/native/{p-3a47035f.entry.js.map → p-331da074.entry.js.map} +0 -0
- /package/dist/native/{p-a3ea7b59.entry.js.map → p-332c5d6c.entry.js.map} +0 -0
- /package/dist/native/{p-dcfef507.entry.js.map → p-3af5bcc1.entry.js.map} +0 -0
- /package/dist/native/{p-9fe6a9b7.entry.js.map → p-40f4a6e7.entry.js.map} +0 -0
- /package/dist/native/{p-adf0f628.entry.js.map → p-4403e3af.entry.js.map} +0 -0
- /package/dist/native/{p-ac72abfc.entry.js.map → p-442f04f9.entry.js.map} +0 -0
- /package/dist/native/{p-794b7820.entry.js.map → p-464ef88f.entry.js.map} +0 -0
- /package/dist/native/{p-4c96b614.entry.js.map → p-46aa1136.entry.js.map} +0 -0
- /package/dist/native/{p-39fd54e3.entry.js.map → p-514101d6.entry.js.map} +0 -0
- /package/dist/native/{p-ca1eff59.entry.js.map → p-54b6ce07.entry.js.map} +0 -0
- /package/dist/native/{p-1d5b6c6d.entry.js.map → p-665db087.entry.js.map} +0 -0
- /package/dist/native/{p-16b38dc2.entry.js.map → p-725e0abd.entry.js.map} +0 -0
- /package/dist/native/{p-2b584e35.entry.js.map → p-7fade532.entry.js.map} +0 -0
- /package/dist/native/{p-4eb132d3.entry.js.map → p-942f8e92.entry.js.map} +0 -0
- /package/dist/native/{p-552ca13e.entry.js.map → p-c10e5113.entry.js.map} +0 -0
- /package/dist/native/{p-5e04b50f.entry.js.map → p-e197d90b.entry.js.map} +0 -0
- /package/dist/native/{p-569e9663.entry.js.map → p-e6904ae4.entry.js.map} +0 -0
- /package/dist/native/{p-657a0b8a.entry.js.map → p-ecc28398.entry.js.map} +0 -0
- /package/dist/native/{p-870d5a5c.entry.js.map → p-f5e0d5c5.entry.js.map} +0 -0
- /package/dist/native/{p-d3d664c7.entry.js.map → p-f89b7d06.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -5274,12 +5274,11 @@ class NvAvatar {
|
|
|
5274
5274
|
}; }
|
|
5275
5275
|
}
|
|
5276
5276
|
|
|
5277
|
-
const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;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{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;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;gap:var(--badge-gap-x)}nv-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;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.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 span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important}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)}";
|
|
5277
|
+
const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;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{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;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;gap:var(--badge-gap-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;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.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 span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important}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)}";
|
|
5278
5278
|
var NvBadgeStyle0 = nvBadgeCss;
|
|
5279
5279
|
|
|
5280
5280
|
/**
|
|
5281
5281
|
* @slot leading-icon - Icon before the label.
|
|
5282
|
-
* @slot default - Default slot for the badge label.
|
|
5283
5282
|
*/
|
|
5284
5283
|
class NvBadge {
|
|
5285
5284
|
constructor(hostRef) {
|
|
@@ -5396,10 +5395,11 @@ class NvBadge {
|
|
|
5396
5395
|
/****************************************************************************/
|
|
5397
5396
|
//#region RENDER
|
|
5398
5397
|
render() {
|
|
5399
|
-
return (hAsync(Host, { key: '
|
|
5398
|
+
return (hAsync(Host, { key: '63f256c6711546ca5304d46c2624e52f35dc2b46', class: clsx(`badge-${this.color}`, {
|
|
5400
5399
|
'has-close': this.dismissible,
|
|
5400
|
+
'with-gap': this.dismissible || this.label,
|
|
5401
5401
|
'visually-hidden': this._isHidden,
|
|
5402
|
-
}) }, hAsync("slot", { key: '
|
|
5402
|
+
}) }, hAsync("slot", { key: '181e608d22c697517ef55dbc4432ac06cdf6892e', name: "leading-icon" }, this.leadIcon && (hAsync("nv-icon", { key: '914d75ef9d54e2c8c94c9c99a4efeb59aa654f1c', slot: "leading-icon", name: this.leadIcon, size: "sm" }))), this.label && hAsync("span", { key: 'd32ff92840bba1cc983b24a4fee95af065ffef0e' }, this.label), this.dismissible && (hAsync("button", { key: '1dbd1e432774e26936f93f7207e1f6eb93fa0819', onClick: this.handleClose, class: "close", type: "button" }, hAsync("nv-icon", { key: '8372fb5ba1dafd5758807485a5be3880a009567d', name: "x", size: "sm" })))));
|
|
5403
5403
|
}
|
|
5404
5404
|
get ref() { return getElement(this); }
|
|
5405
5405
|
static get watchers() { return {
|
|
@@ -5493,7 +5493,7 @@ class NvBaseComponent {
|
|
|
5493
5493
|
/****************************************************************************/
|
|
5494
5494
|
//#region RENDER
|
|
5495
5495
|
render() {
|
|
5496
|
-
return (hAsync(Host, { key: '
|
|
5496
|
+
return (hAsync(Host, { key: '81da4e7fd653192079ab22a607d1f525b504f3e4', style: { display: 'block' } }, hAsync("slot", { key: 'e766e4b073b16d367c473b02c94448cf835a4921' })));
|
|
5497
5497
|
}
|
|
5498
5498
|
get el() { return getElement(this); }
|
|
5499
5499
|
static get cmpMeta() { return {
|
|
@@ -5506,7 +5506,7 @@ class NvBaseComponent {
|
|
|
5506
5506
|
}; }
|
|
5507
5507
|
}
|
|
5508
5508
|
|
|
5509
|
-
const nvBreadcrumbCss = "nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:500;line-height:var(--line-height-sm)}nv-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}";
|
|
5509
|
+
const nvBreadcrumbCss = "nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:500;line-height:var(--line-height-sm)}nv-breadcrumb.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}";
|
|
5510
5510
|
var NvBreadcrumbStyle0 = nvBreadcrumbCss;
|
|
5511
5511
|
|
|
5512
5512
|
/**
|
|
@@ -5538,7 +5538,7 @@ class NvBreadcrumb {
|
|
|
5538
5538
|
/****************************************************************************/
|
|
5539
5539
|
//#region RENDER
|
|
5540
5540
|
render() {
|
|
5541
|
-
return (hAsync(Host, { key: '
|
|
5541
|
+
return (hAsync(Host, { key: 'c985863a0ffdcd051abd712c357110cfa056c382', 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", null)), this.tooltip && (hAsync("nv-tooltip", { key: '4f7ad5175285ea442cd42581e292d2d430eb8770', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (hAsync("nv-popover", { key: '29aba9e64f0d1785852dc4b830959dcbbd7dfc8b', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, hAsync("ul", { key: '0fde9dac023e6a77cb1524cbfcdf58d11e5a21f3', slot: "content" }, hAsync("slot", { key: 'c263990647dc304a37971168669ced00bf46c588' })))), hAsync("span", { key: 'f9f96fb13c67e4d3844007342c931ccd690ca7f5', "data-scope": "separator" }, "/")));
|
|
5542
5542
|
}
|
|
5543
5543
|
get el() { return getElement(this); }
|
|
5544
5544
|
static get style() { return NvBreadcrumbStyle0; }
|
|
@@ -5568,7 +5568,7 @@ class NvBreadcrumbs {
|
|
|
5568
5568
|
}
|
|
5569
5569
|
//#region RENDER
|
|
5570
5570
|
render() {
|
|
5571
|
-
return (hAsync(Host, { key: '
|
|
5571
|
+
return (hAsync(Host, { key: 'd54bb25f9f34ea0f5ea58da6a60261aed57fefef', role: "navigation", "aria-label": "breadcrumbs" }, hAsync("ol", { key: '660c31fbb8860ce0639b475875dd720f3876549b' }, hAsync("slot", { key: 'c77828910bfb759839d04b5ac28e11cebec7c937' }))));
|
|
5572
5572
|
}
|
|
5573
5573
|
static get style() { return NvBreadcrumbsStyle0; }
|
|
5574
5574
|
static get cmpMeta() { return {
|
|
@@ -5653,14 +5653,16 @@ class NvButton {
|
|
|
5653
5653
|
* @param {Event} event - The click event.
|
|
5654
5654
|
*/
|
|
5655
5655
|
this.handleButtonClick = (event) => {
|
|
5656
|
+
var _a;
|
|
5656
5657
|
if (this.loading || this.disabled) {
|
|
5657
5658
|
event.preventDefault();
|
|
5658
5659
|
return;
|
|
5659
5660
|
}
|
|
5660
|
-
if (this.
|
|
5661
|
+
if (this.type !== ButtonType.Button &&
|
|
5662
|
+
(this.form || ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.form))) {
|
|
5661
5663
|
this.processFormAction();
|
|
5662
5664
|
}
|
|
5663
|
-
else if (this.form) {
|
|
5665
|
+
else if (this.form && this.type === ButtonType.Button) {
|
|
5664
5666
|
console.warn('Button has a form id but is not of type submit or reset so no form action will be processed.', `Button:`, this.el);
|
|
5665
5667
|
}
|
|
5666
5668
|
};
|
|
@@ -5730,7 +5732,7 @@ class NvButton {
|
|
|
5730
5732
|
/****************************************************************************/
|
|
5731
5733
|
//#region RENDER
|
|
5732
5734
|
render() {
|
|
5733
|
-
return (hAsync(Host, { key: '
|
|
5735
|
+
return (hAsync(Host, { key: '2e0084462020783fc79f59bb8f9700efde5326f9', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (hAsync("nv-loader", { key: '71f6b82ad0a48bd1e80f12685e0513acdb2b5431', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), hAsync("slot", { key: 'eaeb55591a8f5e25707e12e62c0a85d6bd869fad', name: "leading-icon" }), hAsync("slot", { key: 'ad6e7d861a3becdf31643c6cbc49a122f89d36eb' }), hAsync("slot", { key: '6c3eeecc5a2c99d01a7b555b8f7d314d6f985012', name: "trailing-icon" })));
|
|
5734
5736
|
}
|
|
5735
5737
|
static get formAssociated() { return true; }
|
|
5736
5738
|
get el() { return getElement(this); }
|
|
@@ -6785,7 +6787,7 @@ class NvCalendar {
|
|
|
6785
6787
|
* @slot default - Child content of the component.
|
|
6786
6788
|
*/
|
|
6787
6789
|
render() {
|
|
6788
|
-
return (hAsync(Host, { key: '
|
|
6790
|
+
return (hAsync(Host, { key: '43c78a6ec3df4b8e8c909a84ba11172081c87757' }, hAsync("div", { key: 'd60d2695e78a5361af1365d10482d74734adc35e', class: "datepicker-root" }, hAsync("div", { key: '6fd36abda10808660474a9473e45344162f5f34a', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, hAsync("div", { key: '443a6ca08d7ba5d7cc1f3a261f9173e7aa3ab037', 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.hasActions) && (hAsync("div", { key: '3fddbf390693d2f291f1a834447c24e26a2900cc', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), hAsync("slot", { key: 'ec40ab4d4ac408554b700deff08d1b202718963a' })));
|
|
6789
6791
|
}
|
|
6790
6792
|
get el() { return getElement(this); }
|
|
6791
6793
|
static get watchers() { return {
|
|
@@ -6853,7 +6855,7 @@ class NvCol {
|
|
|
6853
6855
|
/****************************************************************************/
|
|
6854
6856
|
//#region RENDER
|
|
6855
6857
|
render() {
|
|
6856
|
-
return (hAsync(Host, { key: '
|
|
6858
|
+
return (hAsync(Host, { key: 'f9a8dd28d7675648ecb3b9cf4d1e196040f4237f', class: clsx(this.getColSize()) }, hAsync("slot", { key: '94c16b6e2df73cb21263423d378ab5fe285a7859' })));
|
|
6857
6859
|
}
|
|
6858
6860
|
static get style() { return NvColStyle0; }
|
|
6859
6861
|
static get cmpMeta() { return {
|
|
@@ -10258,6 +10260,12 @@ class NvDatagrid {
|
|
|
10258
10260
|
* @default false
|
|
10259
10261
|
*/
|
|
10260
10262
|
this.enableGlobalFilter = false;
|
|
10263
|
+
/**
|
|
10264
|
+
* Whether to automatically generate columns if none are provided.
|
|
10265
|
+
* If columns are explicitly set, this property is ignored.
|
|
10266
|
+
* @default false
|
|
10267
|
+
*/
|
|
10268
|
+
this.autoGenerateColumns = false;
|
|
10261
10269
|
this.debouncedFilter = debounce$1((value) => {
|
|
10262
10270
|
this.globalFilter = value;
|
|
10263
10271
|
}, 300);
|
|
@@ -10330,7 +10338,9 @@ class NvDatagrid {
|
|
|
10330
10338
|
accessor: key,
|
|
10331
10339
|
header: key.charAt(0).toUpperCase() + key.slice(1),
|
|
10332
10340
|
}));
|
|
10333
|
-
|
|
10341
|
+
if (this.autoGenerateColumns) {
|
|
10342
|
+
this.parseColumnsArray(arrayColumnsConfig, this.parsedColumns);
|
|
10343
|
+
}
|
|
10334
10344
|
}
|
|
10335
10345
|
}
|
|
10336
10346
|
deepEqual(a, b) {
|
|
@@ -10436,6 +10446,25 @@ class NvDatagrid {
|
|
|
10436
10446
|
tableOptions.columns = this.generateColumns(validColumns, tableOptions);
|
|
10437
10447
|
}
|
|
10438
10448
|
}
|
|
10449
|
+
else {
|
|
10450
|
+
// No columns and data is available
|
|
10451
|
+
const hasData = this.parsedData &&
|
|
10452
|
+
Array.isArray(this.parsedData) &&
|
|
10453
|
+
this.parsedData.length > 0;
|
|
10454
|
+
if (hasData) {
|
|
10455
|
+
// No columns and data is available
|
|
10456
|
+
const firstRow = this.parsedData[0];
|
|
10457
|
+
const arrayColumnsConfig = Object.keys(firstRow).map(key => ({
|
|
10458
|
+
accessor: key,
|
|
10459
|
+
header: key.charAt(0).toUpperCase() + key.slice(1),
|
|
10460
|
+
}));
|
|
10461
|
+
if (this.autoGenerateColumns) {
|
|
10462
|
+
this.parseColumnsArray(arrayColumnsConfig, this.parsedColumns);
|
|
10463
|
+
}
|
|
10464
|
+
tableOptions.data = this.getTableData();
|
|
10465
|
+
tableOptions.columns = this.generateColumns(arrayColumnsConfig, tableOptions);
|
|
10466
|
+
}
|
|
10467
|
+
}
|
|
10439
10468
|
// Initialize the table
|
|
10440
10469
|
this.table = createTable(tableOptions);
|
|
10441
10470
|
}
|
|
@@ -10675,7 +10704,7 @@ class NvDatagrid {
|
|
|
10675
10704
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
10676
10705
|
? []
|
|
10677
10706
|
: (_c = (_b = this.table) === null || _b === void 0 ? void 0 : _b.getRowModel()) === null || _c === void 0 ? void 0 : _c.rows;
|
|
10678
|
-
return (hAsync(Host, { key: '
|
|
10707
|
+
return (hAsync(Host, { key: '6768db58f6a19cbb64e2206957ca27c18c408e46' }, hAsync("div", { key: 'e262922097ae61025e13f8fe685ed7b38063e82c', class: "hidden" }, hAsync("slot", { key: '9025f410bc3e6b409d6225a53a97d13aa3629200' })), hAsync("slot", { key: '684876205d7092a4edf325c8897e97a491b77c6a', name: "before" }), this.enableGlobalFilter && this.table && (hAsync("div", { key: 'b2fe6dd4a97d978617d404134286e6048eb8ddc2', class: "search-container" }, hAsync("input", { key: '82c5d3b73b0bff0c2415ad896a6a4504bb1bb92c', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
10679
10708
|
? headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups.map(headerGroup => (hAsync("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
10680
10709
|
return (hAsync("th", { key: header.id }, header.isPlaceholder
|
|
10681
10710
|
? null
|
|
@@ -10690,7 +10719,7 @@ class NvDatagrid {
|
|
|
10690
10719
|
return (hAsync("td", { key: cell.id, "data-row-id": rowId }, this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
|
|
10691
10720
|
(cellValue !== null && cellValue !== void 0 ? cellValue : this.fallbackValue)));
|
|
10692
10721
|
})));
|
|
10693
|
-
}))))), hAsync("slot", { key: '
|
|
10722
|
+
}))))), hAsync("slot", { key: '4bda5737d7917a508b97cf38b764000f8c5d368d', name: "after" })));
|
|
10694
10723
|
}
|
|
10695
10724
|
get el() { return getElement(this); }
|
|
10696
10725
|
static get watchers() { return {
|
|
@@ -10715,6 +10744,7 @@ class NvDatagrid {
|
|
|
10715
10744
|
"noDataMessage": [513, "no-data-message"],
|
|
10716
10745
|
"noColumnsNoDataMessage": [513, "no-columns-no-data-message"],
|
|
10717
10746
|
"enableGlobalFilter": [516, "enable-global-filter"],
|
|
10747
|
+
"autoGenerateColumns": [516, "auto-generate-columns"],
|
|
10718
10748
|
"table": [32],
|
|
10719
10749
|
"parsedColumns": [32],
|
|
10720
10750
|
"parsedData": [32],
|
|
@@ -10722,7 +10752,7 @@ class NvDatagrid {
|
|
|
10722
10752
|
},
|
|
10723
10753
|
"$listeners$": undefined,
|
|
10724
10754
|
"$lazyBundleId$": "-",
|
|
10725
|
-
"$attrsToReflect$": [["dataJson", "data-json"], ["columnsJson", "columns-json"], ["fallbackValue", "fallback-value"], ["noDataMessage", "no-data-message"], ["noColumnsNoDataMessage", "no-columns-no-data-message"], ["enableGlobalFilter", "enable-global-filter"]]
|
|
10755
|
+
"$attrsToReflect$": [["dataJson", "data-json"], ["columnsJson", "columns-json"], ["fallbackValue", "fallback-value"], ["noDataMessage", "no-data-message"], ["noColumnsNoDataMessage", "no-columns-no-data-message"], ["enableGlobalFilter", "enable-global-filter"], ["autoGenerateColumns", "auto-generate-columns"]]
|
|
10726
10756
|
}; }
|
|
10727
10757
|
}
|
|
10728
10758
|
|
|
@@ -10738,7 +10768,7 @@ class NvDatagridcolumn {
|
|
|
10738
10768
|
/****************************************************************************/
|
|
10739
10769
|
//#region RENDER
|
|
10740
10770
|
render() {
|
|
10741
|
-
return (hAsync(Host, { key: '
|
|
10771
|
+
return (hAsync(Host, { key: '2152d749763187f6b423094fd7f9bffeea9e5581' }, hAsync("slot", { key: '101690ca4e853b28543796c5e74a38e142c38978', name: "header" }), hAsync("slot", { key: '78ad0c0a78ad12418d3fcba33ae8ec476af8f6b9', name: "cell" })));
|
|
10742
10772
|
}
|
|
10743
10773
|
static get cmpMeta() { return {
|
|
10744
10774
|
"$flags$": 4,
|
|
@@ -11380,7 +11410,7 @@ var NvDialogStyle0 = nvDialogCss;
|
|
|
11380
11410
|
class NvDialog {
|
|
11381
11411
|
constructor(hostRef) {
|
|
11382
11412
|
registerInstance(this, hostRef);
|
|
11383
|
-
this.
|
|
11413
|
+
this.openChanged = createEvent(this, "openChanged", 7);
|
|
11384
11414
|
this.eventsAttached = false;
|
|
11385
11415
|
/**
|
|
11386
11416
|
* Use this prop to toggle the visibility of the dialog. Set to true to show
|
|
@@ -11407,24 +11437,25 @@ class NvDialog {
|
|
|
11407
11437
|
* Handles the close button click.
|
|
11408
11438
|
*/
|
|
11409
11439
|
this.handleCloseButton = () => {
|
|
11410
|
-
this.
|
|
11440
|
+
this.close();
|
|
11411
11441
|
};
|
|
11412
11442
|
/**
|
|
11413
11443
|
* Handles the cancel button click.
|
|
11414
11444
|
*/
|
|
11415
11445
|
this.handleCancelButton = () => {
|
|
11416
|
-
this.
|
|
11446
|
+
this.close();
|
|
11417
11447
|
};
|
|
11418
11448
|
/**
|
|
11419
|
-
* Handles the dialog close event.
|
|
11449
|
+
* Handles the native dialog close event.
|
|
11420
11450
|
*/
|
|
11421
11451
|
this.handleDialogClose = () => {
|
|
11422
|
-
this.
|
|
11423
|
-
|
|
11452
|
+
if (this.open) {
|
|
11453
|
+
this.close();
|
|
11454
|
+
}
|
|
11424
11455
|
};
|
|
11425
11456
|
this.handleClickOutside = (event) => {
|
|
11426
11457
|
if (event.target === this.dialogElement) {
|
|
11427
|
-
this.
|
|
11458
|
+
this.close();
|
|
11428
11459
|
event.preventDefault();
|
|
11429
11460
|
event.stopPropagation();
|
|
11430
11461
|
}
|
|
@@ -11450,17 +11481,20 @@ class NvDialog {
|
|
|
11450
11481
|
* Call this method to show the dialog, making it visible on the screen.
|
|
11451
11482
|
*/
|
|
11452
11483
|
async show() {
|
|
11484
|
+
this.open = true;
|
|
11453
11485
|
this.preventScroll();
|
|
11486
|
+
// It is recommended to use the .show() or .showModal() method to render dialogs, rather than the open attribute. If a <dialog> is opened using the open attribute, it is non-modal.
|
|
11454
11487
|
this.dialogElement.showModal();
|
|
11455
|
-
this.open
|
|
11488
|
+
this.openChanged.emit(this.open);
|
|
11456
11489
|
}
|
|
11457
11490
|
/**
|
|
11458
11491
|
* Call this method to hide the dialog, making it disappear from view.
|
|
11459
11492
|
*/
|
|
11460
|
-
async
|
|
11493
|
+
async close() {
|
|
11494
|
+
this.open = false;
|
|
11461
11495
|
this.allowScroll();
|
|
11462
11496
|
this.dialogElement.close();
|
|
11463
|
-
this.open
|
|
11497
|
+
this.openChanged.emit(this.open);
|
|
11464
11498
|
}
|
|
11465
11499
|
/**
|
|
11466
11500
|
* Sets the autofocus on the first focusable element in the dialog.
|
|
@@ -11547,7 +11581,7 @@ class NvDialog {
|
|
|
11547
11581
|
this.show();
|
|
11548
11582
|
}
|
|
11549
11583
|
else {
|
|
11550
|
-
this.
|
|
11584
|
+
this.close();
|
|
11551
11585
|
}
|
|
11552
11586
|
}
|
|
11553
11587
|
//#endregion WATCHERS
|
|
@@ -11605,7 +11639,7 @@ class NvDialog {
|
|
|
11605
11639
|
//#region RENDER
|
|
11606
11640
|
render() {
|
|
11607
11641
|
const hasForm = this.form || this.el.querySelector('form');
|
|
11608
|
-
return (hAsync(Host, { key: '
|
|
11642
|
+
return (hAsync(Host, { key: '0d1971821d9b2246e34266f14a5ac5b821fac49f' }, hAsync("slot", { key: 'a606aad42659ca51f37a06e1a423e1ecab1d11d3', name: "trigger" }), hAsync("dialog", { key: '08eb4d75656c6b231bbeb5e9e9e769f923cd8827', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '4b0a03d468ef0a9abac1ed023ba6c98998a5166d', class: "content" }, !this.undismissable && (hAsync("nv-button", { key: '3e18e13147d82594a3ce690dd34b600240bebc0a', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '7e1ac2679a70e5c0c256bdbe3b6ea85ed02cb1d3', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: '440b69a2e068c233aad49876a70c03ed49a9f6ea', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: 'a959c6e941613e150372891a5e5ca4a5ff19f4d7' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
|
|
11609
11643
|
}
|
|
11610
11644
|
get el() { return getElement(this); }
|
|
11611
11645
|
static get watchers() { return {
|
|
@@ -11625,7 +11659,7 @@ class NvDialog {
|
|
|
11625
11659
|
"controlled": [516],
|
|
11626
11660
|
"full": [516],
|
|
11627
11661
|
"show": [64],
|
|
11628
|
-
"
|
|
11662
|
+
"close": [64]
|
|
11629
11663
|
},
|
|
11630
11664
|
"$listeners$": [[4, "keydown", "handleKeyDown"], [4, "click", "handleDocumentClick"], [5, "touchstart", "handleDocumentTouch"]],
|
|
11631
11665
|
"$lazyBundleId$": "-",
|
|
@@ -11721,7 +11755,7 @@ class NvDialogfooter {
|
|
|
11721
11755
|
/****************************************************************************/
|
|
11722
11756
|
//#region RENDER
|
|
11723
11757
|
render() {
|
|
11724
|
-
return (hAsync(Host, { key: '
|
|
11758
|
+
return (hAsync(Host, { key: 'eda5ae29872e57688e5557f17baa87ea6f0cab87' }, !this.hasSlot ? (hAsync(Fragment, null, !this.undismissable && (hAsync("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (hAsync("slot", null))));
|
|
11725
11759
|
}
|
|
11726
11760
|
static get formAssociated() { return true; }
|
|
11727
11761
|
get el() { return getElement(this); }
|
|
@@ -11777,7 +11811,7 @@ class NvDialogheader {
|
|
|
11777
11811
|
/****************************************************************************/
|
|
11778
11812
|
//#region RENDER
|
|
11779
11813
|
render() {
|
|
11780
|
-
return (hAsync(Host, { key: '
|
|
11814
|
+
return (hAsync(Host, { key: '539e18fe0cca582002a55fbf4a72f1dccdc09a06' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
|
|
11781
11815
|
}
|
|
11782
11816
|
get el() { return getElement(this); }
|
|
11783
11817
|
static get style() { return NvDialogheaderStyle0; }
|
|
@@ -11794,7 +11828,7 @@ class NvDialogheader {
|
|
|
11794
11828
|
}; }
|
|
11795
11829
|
}
|
|
11796
11830
|
|
|
11797
|
-
const nvFieldcheckboxCss = "nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(\n --components-form-field-border-default\n );--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(\n --components-form-field-background-default\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-checked\n );--nv-fieldcheckbox-background-disabled:var(\n --components-form-field-background-disabled\n );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(\n --components-form-shape-foreground-default\n );--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled\n );--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(\n --components-form-shape-foreground-disabled-error\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-error\n );--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>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container label{align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", 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 .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", 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:\"TT Norms Pro\", 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)}";
|
|
11831
|
+
const nvFieldcheckboxCss = "nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(\n --components-form-field-border-default\n );--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(\n --components-form-field-background-default\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-checked\n );--nv-fieldcheckbox-background-disabled:var(\n --components-form-field-background-disabled\n );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(\n --components-form-shape-foreground-default\n );--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled\n );--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(\n --components-form-shape-foreground-disabled-error\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-error\n );--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>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container label{align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", 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:\"TT Norms Pro\", 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:\"TT Norms Pro\", 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)}";
|
|
11798
11832
|
var NvFieldcheckboxStyle0 = nvFieldcheckboxCss;
|
|
11799
11833
|
|
|
11800
11834
|
/**
|
|
@@ -11914,13 +11948,13 @@ class NvFieldcheckbox {
|
|
|
11914
11948
|
/****************************************************************************/
|
|
11915
11949
|
//#region RENDER
|
|
11916
11950
|
render() {
|
|
11917
|
-
return (hAsync(Host, { key: '
|
|
11951
|
+
return (hAsync(Host, { key: 'b116295489cba9239b5d6392c6518b0c57af5191', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: 'b769f372a3f69899ec1cc76a4d4b2dbc7766252f', class: "input-container" }, hAsync("input", { key: 'd35876f83b8a57bfd19243de1e0db8202270e3c5', 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 && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
|
|
11918
11952
|
if (el) {
|
|
11919
11953
|
el.indeterminate = this.indeterminate;
|
|
11920
11954
|
}
|
|
11921
|
-
} }), hAsync("span", { key: '
|
|
11922
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
11923
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
11955
|
+
} }), hAsync("span", { key: '1ee167d0b2ce274d04d1e4b2be6413073b22c8c6', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: 'c30cb3412f622ef77eb063818f5a3747f9d17978', name: "checked-icon" }, hAsync("svg", { key: 'ae0629aac32ecd36393c2de7e492ede9d040ae78', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '882eef5ea011863ebe1c48a0b2b08e409f248b99', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: '5776848166e3f332eb010739fa6406fb23820f6b', name: "indeterminate-icon" }, hAsync("svg", { key: '8668230cf4c31efb7c314bb32e22b3e7062184c1', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '7b2cd078b8eabcd3c45c7dfd71754ed1f5c3a77d', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("div", { key: 'ace39a1b99e5eb521b6612bd9d52d788d77815e3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '2361d3fef97b97b07c96243d56b6f3d86703347e', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: '8f49928ebf77fd0ee1eda81640a57d5d4788440b', name: "label" }, this.label))), (this.description ||
|
|
11956
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f0555ef436450adcad6cce6037f69d40403e99d1', class: "description" }, hAsync("slot", { key: 'bb18fbebf918d035f3eb42ac4d58c631d4146261', name: "description" }, this.description))), (this.errorDescription ||
|
|
11957
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '804306abacc16d0fdf79fc7826d19a3934ee1e3f', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '8288bc5c84368072278d5ad61d0b0b09f455749d', name: "error-description" }, this.errorDescription))))));
|
|
11924
11958
|
}
|
|
11925
11959
|
static get formAssociated() { return true; }
|
|
11926
11960
|
get el() { return getElement(this); }
|
|
@@ -15977,12 +16011,12 @@ class NvFielddate {
|
|
|
15977
16011
|
/****************************************************************************/
|
|
15978
16012
|
//#region RENDER
|
|
15979
16013
|
render() {
|
|
15980
|
-
return (hAsync(Host, { key: '
|
|
15981
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
16014
|
+
return (hAsync(Host, { key: 'df11f4f395a48f6288b20a242cccdacc9d7b397c' }, ((this.label && this.label.length > 0) ||
|
|
16015
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'bebb3787dcef1ea73bada36586bdd678f0ce0556', htmlFor: this.inputId }, hAsync("slot", { key: '52be6fb452bcd9471708376e708e9a8126af73c2', name: "label" }, this.label))), hAsync("nv-popover", { key: '6e1cc0a602641ec43be99ca990d64f175ff7bac8', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '7cc0bcc9df49252d209caa22b61358c230d2f0dd', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '13037bdfe258561afd35c23fd1cb94ed96bbba9d', name: "before-input" }), hAsync("div", { key: '5a0c1bce690feb834f6183c57772d7b2eed0a8a6', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '73842b222ba5059f1f09a4ce57b662710a1e341a', name: "leading-input" }), hAsync("input", { key: '2e4de521b0d1d735fd4170eefacfe4e8f5bbcf33', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), hAsync("nv-iconbutton", { key: 'dff7fe7f4a49a3da8ed44235ef719e726a40db87', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
15982
16016
|
,
|
|
15983
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '
|
|
15984
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
15985
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16017
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'aafa39739ae3f907cef45d95094ef643833d50ad', name: "after-input" })), hAsync("div", { key: '38cbef48ee7b053ad7c277e8125fcbf6d11c636c', slot: "content" }, hAsync("nv-calendar", { key: 'dd5f1b3f1d7fcb17a47d90be58949fffe89e3ad4', 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 }))), ((this.description && this.description.length > 0) ||
|
|
16018
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '92526d3d8ed3bce713a5b30097df182b0ea22d4f', class: "description" }, hAsync("slot", { key: 'd2a3a35577c08e3dd21c1c48eb6c6e3959abb7da', name: "description" }, this.description))), (this.errorDescription ||
|
|
16019
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd4ba884604a01e2376691d382fb530576c02f029', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '443c990302fa9aaef0e6fe732738d4f8e4570717' })));
|
|
15986
16020
|
}
|
|
15987
16021
|
get el() { return getElement(this); }
|
|
15988
16022
|
static get watchers() { return {
|
|
@@ -16364,15 +16398,15 @@ class NvFielddaterange {
|
|
|
16364
16398
|
/****************************************************************************/
|
|
16365
16399
|
//#region RENDER
|
|
16366
16400
|
render() {
|
|
16367
|
-
return (hAsync(Host, { key: '
|
|
16368
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
16401
|
+
return (hAsync(Host, { key: '47a61852ed7771a2248727193570aa2c4654b3bc' }, ((this.label && this.label.length > 0) ||
|
|
16402
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a32f8796a15c40712bc0b751ab89fcf84c81dfa3', htmlFor: this.startInputId }, hAsync("slot", { key: '549420faa870d7e8f37c4c864de00aae1682f1f9', name: "label" }, this.label))), hAsync("nv-popover", { key: 'c93290824f1e7179f7777ef2d9d42146015ec10a', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '67d798f2c57bf7cd979386fa2c3d0eb836253af6', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '53f700e97f16b40cb3e077460d41ab955cf4e86e', name: "before-input" }), hAsync("div", { key: '5829a9716c09fc65b8300b0fe5d590a3e4d1af40', class: "input-container" }, hAsync("slot", { key: '401508780bbac13d792d62d8368c47b4fe9fb0c1', name: "leading-input" }), hAsync("div", { key: '2e29bd53c161d7bdf5a20e17f7b114f421bf2684', class: "range-inputs" }, hAsync("input", { key: 'd1fed6969b96a950e6c73779ac31e7f197cdf122', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), hAsync("svg", { key: '04aefcadb20a07f023c973a8ee0ce1c90e2eecd4', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, hAsync("path", { key: '372bb4b2ea27cf6aba7d9753dc25b3c9217a05c0', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), hAsync("path", { key: 'ae5d178f8d00efc52317b8e44df3225c48f50571', d: "M18 9l3 3l-3 3" }), hAsync("path", { key: '2669cb7bca3c10769fa8b7907d722e6892744dce', d: "M15 12h6" }), hAsync("path", { key: '835d2de77d676af9806d93f9ec0e9a4a451b2463', d: "M6 9l-3 3l3 3" }), hAsync("path", { key: '8aef1d99e102825729c4466bf57166529e927c09', d: "M3 12h6" })), hAsync("input", { key: 'e40d1202015132524aa3d485641b9cd34d8a20a6', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), hAsync("nv-iconbutton", { key: '8ec3ebfb4647e5fb9d89ea9f1e6a60eaa5bb1214', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'e6ff4ed90757947d58dfde04c7063d123a3fd9e2', name: "after-input" })), hAsync("div", { key: 'cf7a11988d84dac287b2c524e6005aee29f05ca3', slot: "content" }, hAsync("nv-calendar", { key: '3c896e58ba52b0dd82f73f37beb8f70b6ac3f426', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
|
|
16369
16403
|
? JSON.stringify({
|
|
16370
16404
|
start: this.startValue,
|
|
16371
16405
|
end: this.endValue,
|
|
16372
16406
|
})
|
|
16373
16407
|
: '', 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" }))), ((this.description && this.description.length > 0) ||
|
|
16374
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
16375
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16408
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f3a968ed2314ec6b0b8f1f5fed8e901e3df10402', class: "description" }, hAsync("slot", { key: 'bdfb89b5f462046c1bcbcffdbe46b067868bb077', name: "description" }, this.description))), (this.errorDescription ||
|
|
16409
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'b7a01679e7d1315e3040c8b166f79affbe74d409', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: 'b318420f0dba209ec8dcebc06f37d94ade46ccea' })));
|
|
16376
16410
|
}
|
|
16377
16411
|
get el() { return getElement(this); }
|
|
16378
16412
|
static get watchers() { return {
|
|
@@ -16769,9 +16803,9 @@ class NvFielddropdown {
|
|
|
16769
16803
|
/****************************************************************************/
|
|
16770
16804
|
//#region RENDER
|
|
16771
16805
|
render() {
|
|
16772
|
-
return (hAsync(Host, { key: '
|
|
16773
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
16774
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16806
|
+
return (hAsync(Host, { key: '0fb1d2326cefd85ffd337307a0a0dd74acda8a14', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'bf6f4116b86cca549e7f9b65a17e1cb35b06ef60', htmlFor: this.inputId }, hAsync("slot", { key: 'a81ad465e6a08e1bc9463c9d91c5d2cd05805e39', name: "label" }, this.label))), hAsync("nv-popover", { key: '8c90cf3f3f08455b41b31681c4377d5404dd4b31', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '756eb9ff31134ece738ea9748a88837ec4979ddf', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '1853a781eedfeea6aae57ed94c452524e4e69e83', name: "before-input" }), hAsync("div", { key: '26c839ffc62cb1747de5099725695de6c213a220', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '8685a92ee488f99dda4cbfe6bdd59e347e3ce0ce', name: "leading-input" }), this.isFilterable || 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, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.isFilterable && this.filterText && this.open && (hAsync("nv-iconbutton", { key: '1fa4ea0ef878980847d667431c9e52b18de1a4b1', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: '77aa0f468d8c6488595ffc2305480174c18d3069', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '9954a5b1910693b0be417d27da8f9005467d99f3', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '0e258c9b03e4dbcfe94b577ffaf77f2379a9c9a3', name: "after-input" })), hAsync("div", { key: 'b697df1d8c64c9d2eaf09e427cd49c9d5ec0a323', slot: "content" }, this.parsedOptions.length > 0 ? (hAsync("ul", null, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (hAsync("slot", { name: "content" })))), (this.description ||
|
|
16807
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '7a783fcd4da5623ad478e4a03fb454e093e7fc8e', class: "description" }, hAsync("slot", { key: '93c4c95ca8e8e4bf50086fb861b126aa7f5f828a', name: "description" }, this.description))), (this.errorDescription ||
|
|
16808
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '8a0de0edb2a7855d478a40059e19f2f26f2ed681', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '93b87131ac4e8371815e7c82ef6e15ebcff2bc88', name: "error-description" }, this.errorDescription)))));
|
|
16775
16809
|
}
|
|
16776
16810
|
static get formAssociated() { return true; }
|
|
16777
16811
|
get el() { return getElement(this); }
|
|
@@ -16873,7 +16907,7 @@ class NvFielddropdownitem {
|
|
|
16873
16907
|
/****************************************************************************/
|
|
16874
16908
|
//#region RENDER
|
|
16875
16909
|
render() {
|
|
16876
|
-
return (hAsync(Host, { key: '
|
|
16910
|
+
return (hAsync(Host, { key: '8f867e8c456eae541561024d5194e1582504e85b', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: '2f26847b783458cde7a99d69269b0e15f381cdb8' }), !this.composed && (hAsync("div", { key: '22229450f3e1492d1f71cbd9e89c6e0204cee201', class: "text-wrapper" }, hAsync("span", { key: 'a5c691f3addf577acd848b6fe72c23388d116584', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '02232856ec60e9b741ced372a9d05def5d822cc6', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
16877
16911
|
}
|
|
16878
16912
|
get el() { return getElement(this); }
|
|
16879
16913
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
@@ -16938,7 +16972,7 @@ class NvFielddropdownitemcheck {
|
|
|
16938
16972
|
};
|
|
16939
16973
|
}
|
|
16940
16974
|
render() {
|
|
16941
|
-
return (hAsync(Host, { key: '
|
|
16975
|
+
return (hAsync(Host, { key: 'f9445369d2703e0a5fe4417b1968f9a25dc94743', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: 'a64195d14834b2a83d3b4c3f1451272fb97ff46a', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
|
|
16942
16976
|
}
|
|
16943
16977
|
get el() { return getElement(this); }
|
|
16944
16978
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
@@ -17065,7 +17099,7 @@ class NvFieldmultiselect {
|
|
|
17065
17099
|
* element.
|
|
17066
17100
|
*/
|
|
17067
17101
|
this.autofocus = false;
|
|
17068
|
-
/**
|
|
17102
|
+
/**
|
|
17069
17103
|
* Handle badge close for options mode.
|
|
17070
17104
|
*/
|
|
17071
17105
|
this.handleBadgeCloseOptions = () => {
|
|
@@ -17105,7 +17139,6 @@ class NvFieldmultiselect {
|
|
|
17105
17139
|
if (this.isHandlingEscape) {
|
|
17106
17140
|
return;
|
|
17107
17141
|
}
|
|
17108
|
-
this.open = false;
|
|
17109
17142
|
this.filterText = '';
|
|
17110
17143
|
// Only reorder based on the mode
|
|
17111
17144
|
if (this.modeState === 'options') {
|
|
@@ -17127,7 +17160,6 @@ class NvFieldmultiselect {
|
|
|
17127
17160
|
if (!this.el.contains(document.activeElement)) {
|
|
17128
17161
|
// Close the popover without affecting the divider
|
|
17129
17162
|
this.open = false;
|
|
17130
|
-
this.popoverElement.hide();
|
|
17131
17163
|
// Reset filter if needed
|
|
17132
17164
|
if (this.filterable) {
|
|
17133
17165
|
this.filterText = '';
|
|
@@ -17147,7 +17179,6 @@ class NvFieldmultiselect {
|
|
|
17147
17179
|
const target = event.target;
|
|
17148
17180
|
if (target.tagName === 'P' || target.tagName === 'SPAN') {
|
|
17149
17181
|
this.open = true;
|
|
17150
|
-
this.popoverElement.show();
|
|
17151
17182
|
const inputContainer = this.el.querySelector('.input-container');
|
|
17152
17183
|
if (inputContainer) {
|
|
17153
17184
|
inputContainer.classList.add('focus-within');
|
|
@@ -17169,7 +17200,6 @@ class NvFieldmultiselect {
|
|
|
17169
17200
|
const target = event.target;
|
|
17170
17201
|
if (target.tagName === 'P' || target.tagName === 'SPAN') {
|
|
17171
17202
|
this.open = true;
|
|
17172
|
-
this.popoverElement.show();
|
|
17173
17203
|
const inputContainer = this.el.querySelector('.input-container');
|
|
17174
17204
|
if (inputContainer) {
|
|
17175
17205
|
inputContainer.classList.add('focus-within');
|
|
@@ -17251,7 +17281,6 @@ class NvFieldmultiselect {
|
|
|
17251
17281
|
if (!this.el.contains(document.activeElement)) {
|
|
17252
17282
|
// Close the popover without affecting the divider
|
|
17253
17283
|
this.open = false;
|
|
17254
|
-
this.popoverElement.hide();
|
|
17255
17284
|
// Reset filter if needed
|
|
17256
17285
|
if (this.filterable) {
|
|
17257
17286
|
this.filterText = '';
|
|
@@ -17267,16 +17296,7 @@ class NvFieldmultiselect {
|
|
|
17267
17296
|
if (this.disabled || this.readonly) {
|
|
17268
17297
|
return;
|
|
17269
17298
|
}
|
|
17270
|
-
|
|
17271
|
-
this.handlePopoverClose();
|
|
17272
|
-
}
|
|
17273
|
-
else {
|
|
17274
|
-
this.open = true;
|
|
17275
|
-
this.popoverElement.show();
|
|
17276
|
-
if (!this.filterable) {
|
|
17277
|
-
this.focusFirstItem();
|
|
17278
|
-
}
|
|
17279
|
-
}
|
|
17299
|
+
this.open = !this.open;
|
|
17280
17300
|
};
|
|
17281
17301
|
/**
|
|
17282
17302
|
* Toggle the multiselect popover for slots mode.
|
|
@@ -17285,16 +17305,7 @@ class NvFieldmultiselect {
|
|
|
17285
17305
|
if (this.disabled || this.readonly) {
|
|
17286
17306
|
return;
|
|
17287
17307
|
}
|
|
17288
|
-
|
|
17289
|
-
this.handlePopoverClose();
|
|
17290
|
-
}
|
|
17291
|
-
else {
|
|
17292
|
-
this.open = true;
|
|
17293
|
-
this.popoverElement.show();
|
|
17294
|
-
if (!this.filterable) {
|
|
17295
|
-
this.focusFirstItem();
|
|
17296
|
-
}
|
|
17297
|
-
}
|
|
17308
|
+
this.open = !this.open;
|
|
17298
17309
|
};
|
|
17299
17310
|
//#endregion METHODS
|
|
17300
17311
|
/****************************************************************************/
|
|
@@ -17332,14 +17343,6 @@ class NvFieldmultiselect {
|
|
|
17332
17343
|
if (this.modeState === 'options') {
|
|
17333
17344
|
this.handleOptionsChange(this.options);
|
|
17334
17345
|
}
|
|
17335
|
-
// Add the listener for the hide event
|
|
17336
|
-
requestAnimationFrame(() => {
|
|
17337
|
-
if (this.popoverElement) {
|
|
17338
|
-
this.popoverElement.addEventListener('hide', () => {
|
|
17339
|
-
this.handlePopoverClose();
|
|
17340
|
-
});
|
|
17341
|
-
}
|
|
17342
|
-
});
|
|
17343
17346
|
// Specific initialization for slots mode
|
|
17344
17347
|
if (this.modeState === 'slots') {
|
|
17345
17348
|
Promise.resolve().then(() => {
|
|
@@ -17383,12 +17386,6 @@ class NvFieldmultiselect {
|
|
|
17383
17386
|
*/
|
|
17384
17387
|
disconnectedCallback() {
|
|
17385
17388
|
document.removeEventListener('click', this.handleClickOutside.bind(this));
|
|
17386
|
-
// Remove the listener for the hide event
|
|
17387
|
-
if (this.popoverElement) {
|
|
17388
|
-
this.popoverElement.removeEventListener('hide', () => {
|
|
17389
|
-
this.handlePopoverClose();
|
|
17390
|
-
});
|
|
17391
|
-
}
|
|
17392
17389
|
}
|
|
17393
17390
|
/**
|
|
17394
17391
|
* Emitted when the input loses focus.
|
|
@@ -17398,15 +17395,13 @@ class NvFieldmultiselect {
|
|
|
17398
17395
|
// Update the open state of popover
|
|
17399
17396
|
this.open = event.detail;
|
|
17400
17397
|
if (this.open) {
|
|
17398
|
+
// Filter items only if there is filter text
|
|
17401
17399
|
if (this.filterText) {
|
|
17402
17400
|
this.filterItems();
|
|
17403
17401
|
}
|
|
17404
17402
|
}
|
|
17405
|
-
else if (this.modeState === 'options') {
|
|
17406
|
-
this.reorderOptionsContent();
|
|
17407
|
-
}
|
|
17408
17403
|
else {
|
|
17409
|
-
this.
|
|
17404
|
+
this.handlePopoverClose();
|
|
17410
17405
|
}
|
|
17411
17406
|
}
|
|
17412
17407
|
/**
|
|
@@ -17830,8 +17825,7 @@ class NvFieldmultiselect {
|
|
|
17830
17825
|
(this.inputElement && this.inputElement.contains(event.target))) {
|
|
17831
17826
|
return;
|
|
17832
17827
|
}
|
|
17833
|
-
|
|
17834
|
-
this.handlePopoverClose();
|
|
17828
|
+
this.open = false;
|
|
17835
17829
|
}
|
|
17836
17830
|
/**
|
|
17837
17831
|
* Handle keyboard events & arrow key navigation.
|
|
@@ -17843,7 +17837,6 @@ class NvFieldmultiselect {
|
|
|
17843
17837
|
if (!this.open) {
|
|
17844
17838
|
if (event.key === 'ArrowDown') {
|
|
17845
17839
|
this.open = true;
|
|
17846
|
-
this.popoverElement.show();
|
|
17847
17840
|
// Focus on the first item if the list is not filterable
|
|
17848
17841
|
if (!this.filterable) {
|
|
17849
17842
|
requestAnimationFrame(() => {
|
|
@@ -17906,7 +17899,6 @@ class NvFieldmultiselect {
|
|
|
17906
17899
|
setTimeout(() => {
|
|
17907
17900
|
this.isHandlingEscape = false;
|
|
17908
17901
|
this.open = false;
|
|
17909
|
-
this.popoverElement.hide();
|
|
17910
17902
|
}, 150);
|
|
17911
17903
|
if (this.inputElement) {
|
|
17912
17904
|
this.inputElement.blur();
|
|
@@ -18175,9 +18167,9 @@ class NvFieldnumber {
|
|
|
18175
18167
|
/****************************************************************************/
|
|
18176
18168
|
//#region RENDER
|
|
18177
18169
|
render() {
|
|
18178
|
-
return (hAsync(Host, { key: '
|
|
18179
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18180
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18170
|
+
return (hAsync(Host, { key: '14de76d6ddda9977fa3ad28d6e9d2acf613565fa' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '22131a183df8f9612d7d1fc4c7904f7e9e3fba71', htmlFor: this.inputId }, hAsync("slot", { key: '48cca38b15579499662018d593bd9e73129565da', name: "label" }, this.label))), hAsync("div", { key: '9a0a40a370f879f0685a62fb7360419db1245738', class: "input-wrapper" }, hAsync("slot", { key: '05bcbc8bd7311f3e6ae467b40af269e373e7ef26', name: "before-input" }), hAsync("div", { key: '81861b40c527dde0b7629914e70f7ee1b3389f06', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'dc64fe00dd75120daedfdc51fc2d5d955f3e3348', name: "leading-input" }), hAsync("input", { key: '01593dfe3c0331acec3ec765cb1673d6a0536f1f', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: 'f253f726e6ad61e0b49389f38d1b6c519bd7ade6', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '11968ad93087be6813e99e2b781fa8d3d7f7b772', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '900d860455ced0a97dbdad044c83578f680e2d1c', class: "stepper" }, hAsync("nv-iconbutton", { key: '1c6f95596b862dad92ca2006e983fbf4b45fa9ee', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), hAsync("nv-iconbutton", { key: '2f08e682805b4c9cf6f09b71c885460ca697de5f', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), hAsync("slot", { key: 'b63dbbaeb358b73105f552de15a0226906f5e547', name: "after-input" })), (this.description ||
|
|
18171
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '43c3f1bd58a36095e69283151ac4d7edcd0eef4a', class: "description" }, hAsync("slot", { key: '0c91c8198be73d7285065d86c1ca1340d3517e0d', name: "description" }, this.description))), (this.errorDescription ||
|
|
18172
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'ecb9e02f67241294215ee3e570006dcf98539537', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '763ddc2a238b85022d72e046d9665fbb433f8476', name: "error-description" }, this.errorDescription)))));
|
|
18181
18173
|
}
|
|
18182
18174
|
static get formAssociated() { return true; }
|
|
18183
18175
|
get el() { return getElement(this); }
|
|
@@ -18318,9 +18310,9 @@ class NvFieldpassword {
|
|
|
18318
18310
|
/****************************************************************************/
|
|
18319
18311
|
//#region RENDER
|
|
18320
18312
|
render() {
|
|
18321
|
-
return (hAsync(Host, { key: '
|
|
18322
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18323
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18313
|
+
return (hAsync(Host, { key: 'a41ed0f04b926fc622c76487c3108d7ee43209bc' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3550a9382c0a5ca66251a364e05b75f0ed6f42ef', htmlFor: this.inputId }, hAsync("slot", { key: 'cb5970e496815804ebdc3ed2cb56a5a8b6b4cb7a', name: "label" }, this.label))), hAsync("div", { key: 'a84fa1d8b7d42a2c3bdd0a4b9baef0a62cb6ff10', class: "input-wrapper" }, hAsync("slot", { key: '18a93e01e9ae700c4bc634cc75dc15b48f1467de', name: "before-input" }), hAsync("div", { key: '902ecacf5d73e9014bffbb3cab058317142d73bc', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '65bacd0ae1d74bf24492961707338b42de8db414', name: "leading-input" }), hAsync("input", { key: '0ee6c86114923f170bd4733d966901c4eaec096a', 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: this.required, 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: '366cd1b889f59207bf6d4969a993b259281e8155', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: '6f1d513c9320436d7f362a6323591925817ec7b1', 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: 'a427f1476ffc5070de6e6ce6158d7d50ce08ab59', name: "after-input" })), (this.description ||
|
|
18314
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '069e32d0137aef7aa8ccb6a56d26aceb1d9f91d6', class: "description" }, hAsync("slot", { key: 'e2cef4e7859979f807b05bdedc0324563313c962', name: "description" }, this.description))), (this.errorDescription ||
|
|
18315
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'e38bba2cd6d438544b883c4e51149039f099faa9', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '1c972064f301444e5774bce210b8868ed01c320b', name: "error-description" }, this.errorDescription)))));
|
|
18324
18316
|
}
|
|
18325
18317
|
static get formAssociated() { return true; }
|
|
18326
18318
|
get el() { return getElement(this); }
|
|
@@ -18447,9 +18439,9 @@ class NvFieldradio {
|
|
|
18447
18439
|
/****************************************************************************/
|
|
18448
18440
|
//#region RENDER
|
|
18449
18441
|
render() {
|
|
18450
|
-
return (hAsync(Host, { key: '
|
|
18451
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18452
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18442
|
+
return (hAsync(Host, { key: 'cab4d25a83792d8f0d3f5de48073a621f8b1823e', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: 'a923e6ad8e76b90c5e00ae17a353614b8f7390b1', 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: '585cc5389b0190e2291447d188637e8325d937aa', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '7e16f9cd7078e11661685a141afbd46472683e0f', htmlFor: this.inputId }, hAsync("slot", { key: '3e9aab3f47e1a0c96a6e3b6f2495428bce324962', name: "label" }, this.label))), (this.description ||
|
|
18443
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '0c2b8b8e49dd877131c37bb23d450e254c58fcdc', class: "description" }, hAsync("slot", { key: 'fd3d99a005667b46260dde7d84f4c6b82e4e4853', name: "description" }, this.description))), (this.errorDescription ||
|
|
18444
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd524f91210f3e28627e68f380484d1c28ab962d9', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '416222f3b3db021de57b35697a64270582f6bad7', name: "error-description" }, this.errorDescription))))));
|
|
18453
18445
|
}
|
|
18454
18446
|
static get formAssociated() { return true; }
|
|
18455
18447
|
get el() { return getElement(this); }
|
|
@@ -18829,13 +18821,13 @@ class NvFieldselect {
|
|
|
18829
18821
|
* @returns {HTMLStencilElement} The HTML element to render.
|
|
18830
18822
|
*/
|
|
18831
18823
|
render() {
|
|
18832
|
-
return (hAsync(Host, { key: '
|
|
18824
|
+
return (hAsync(Host, { key: 'e447f10faacbd9107b3636b711745655b234daaf' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '6949ffbfa4a3d055689aa384521456277336eb31', htmlFor: this.inputId }, hAsync("slot", { key: 'c46be62ffca373acaa64555dd055d0e506731ff8', name: "label" }, this.label))), hAsync("div", { key: '73173b60885c479e76c9d089f40033ac73641597', class: "select-wrapper" }, hAsync("slot", { key: 'a64bbdef05fd860d1534bea9c5d8143abe2aa688', name: "before-input" }), hAsync("div", { key: 'c8d5503afd194397a0385959fbe557544208f7e9', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: '82456f7f21d552459af03787b26363acb9d77cb8', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: '2b02c5f82fd43d2f12d2473ebe68704e7aac2c52', 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
|
|
18833
18825
|
? `${this.inputId}-error`
|
|
18834
|
-
: `${this.inputId}-description` })), hAsync("select", { key: '
|
|
18826
|
+
: `${this.inputId}-description` })), hAsync("select", { key: '597815200ff13a3a94c5f8cf2f31f292630831a1', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
18835
18827
|
? `${this.inputId}-error`
|
|
18836
|
-
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '
|
|
18837
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18838
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18828
|
+
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: 'e7315331865264cfceefc37333f29f503cfaca60', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: '20b2a3b436a31b4528c0a6336433baa20f1dade7', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '6ddb9ce572a0e66670ea3a3f084c08b465a1054f', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '7df5645e762451036ba84e8ae7e533f6d9c9e89e', name: "chevron-down", size: "md", emphasis: "lower", tabIndex: -1 })))), hAsync("slot", { key: '43220cb3c92d9876e2f22645ed695c076439999a', name: "after-input" })), (this.description ||
|
|
18829
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '7ca06f0ec81f82cce825045bef226bdaeaa2774d', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: '008a54ac423cfe534214d0f32d5b557419d60aaf', name: "description" }, this.description))), (this.errorDescription ||
|
|
18830
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '1c5d34d7441cdaa28c463f062c74070b8193433e', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '98a88b41c33a87541d2b3833ca95fc5dff7a8d2e', name: "error-description" }, this.errorDescription)))));
|
|
18839
18831
|
}
|
|
18840
18832
|
static get formAssociated() { return true; }
|
|
18841
18833
|
get el() { return getElement(this); }
|
|
@@ -18988,9 +18980,9 @@ class NvFieldtext {
|
|
|
18988
18980
|
/****************************************************************************/
|
|
18989
18981
|
//#region RENDER
|
|
18990
18982
|
render() {
|
|
18991
|
-
return (hAsync(Host, { key: '
|
|
18992
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18993
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18983
|
+
return (hAsync(Host, { key: '9979c9c835f414965a4ae1ee3db398ee6223c3a9' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '899abb4f3faaa65e1f32738e7ab91440dcc32fd2', htmlFor: this.inputId }, hAsync("slot", { key: 'f82bb9e2e63d56afb8078ffcdaee8da6d2b3df87', name: "label" }, this.label))), hAsync("div", { key: 'b75dfdfc0c875db7019a23c084133b90d957ed8e', class: "input-wrapper" }, hAsync("slot", { key: 'cf4cd32cd106bee88c662fd0960e67ba87dddbc9', name: "before-input" }), hAsync("div", { key: '2f005ef34a722424dcf86c9e189d1ab001bd2495', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '0d554159f716ed6a4dae76a6b0befd05cdf97173', name: "leading-input" }), hAsync("input", { key: '8dbba6bce4617cbd3d9168b897c0101c83fb6e1e', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: 'cb4a0028e53aefcaf9b3127488811ea9d66cd305', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '307fa39a19684d92b5e64ce83301dac337948822', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: 'a8eb4186286fd472b7c0d515be544e6331bad33c', name: "after-input" })), (this.description ||
|
|
18984
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f5bd9926035d6d8829382adea3f68eb633bbf738', class: "description" }, hAsync("slot", { key: '561c28cc04225e9d84a86b161714efde4882debe', name: "description" }, this.description))), (this.errorDescription ||
|
|
18985
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '09e08c344f477d70f698a9c11e38c737667c4ef6', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '117cd688cb63f5411225d468ca2071b19c1be39f', name: "error-description" }, this.errorDescription)))));
|
|
18994
18986
|
}
|
|
18995
18987
|
static get formAssociated() { return true; }
|
|
18996
18988
|
get el() { return getElement(this); }
|
|
@@ -19205,9 +19197,9 @@ class NvFieldtextarea {
|
|
|
19205
19197
|
/****************************************************************************/
|
|
19206
19198
|
//#region RENDER
|
|
19207
19199
|
render() {
|
|
19208
|
-
return (hAsync(Host, { key: '
|
|
19209
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
19210
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
19200
|
+
return (hAsync(Host, { key: '967dc1eda269d0e3df1351d3e34b8be14f9cb639' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '4337acb56fc6712eb0a3e509b2a551043b43eadf', htmlFor: this.inputId }, hAsync("slot", { key: 'c7229aad2d78f79fad1f103908976efefe282b01', name: "label" }, this.label))), hAsync("div", { key: 'a33155dbb4d6b5d481503225136435690eebf819', class: "textarea-wrapper" }, hAsync("div", { key: '14dbd33038acef44773bcf925dcb1fa9531bb6e9', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: 'eee274bac197d25f99114f95684996e1fa933b57', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, 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 ||
|
|
19201
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f3f214c3a3e3ee03b3ac44d7dcf6224f3d58585d', class: "description" }, hAsync("slot", { key: '803bf10aec909ab4c55098818df6bcd3e22a1957', name: "description" }, this.description))), (this.errorDescription ||
|
|
19202
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'aefd1d3ed4ed2535b06cd314ffe0b19506f7510d', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'e43344938bda4acb4523998e9d21f5b6d8300d1a', name: "error-description" }, this.errorDescription)))));
|
|
19211
19203
|
}
|
|
19212
19204
|
static get formAssociated() { return true; }
|
|
19213
19205
|
get el() { return getElement(this); }
|
|
@@ -20231,26 +20223,26 @@ class NvFieldtime {
|
|
|
20231
20223
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
20232
20224
|
}
|
|
20233
20225
|
render() {
|
|
20234
|
-
return (hAsync(Host, { key: '
|
|
20235
|
-
hAsync("input", { key: '
|
|
20226
|
+
return (hAsync(Host, { key: '1ef0b47c6886db0b91833d4680638eeafe886894', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '7f0c658c7ad89e2f0fb5100a4de46d368b8edf85', htmlFor: this.inputId }, hAsync("slot", { key: '2378b6f07660bb1c536e52a9e48b7a633f9d8bca', name: "label" }, this.label))), hAsync("nv-popover", { key: 'cc543c978adc3a58c343688b3b579240abfd244d', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '776927c5aec228f04c0079cc51d7772e50425dae', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '9d5324592d1a1e9aed17a4bcdcdfcd0e5be88632', name: "before-input" }), hAsync("div", { key: 'ed804b5a42ac0bff1c142f2374d5b32c45d3f5bb', class: "input-container" }, hAsync("slot", { key: 'a2085ff4c458cd9cbf5d5824bd2f3624b71560b3', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
|
|
20227
|
+
hAsync("input", { key: 'a21fb6c62075b878dd849d9860bdee7cf8d56e61', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
|
|
20236
20228
|
? `${TimeType.Hours}-${this.name}`
|
|
20237
20229
|
: TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20238
20230
|
], this.format.includes('mm') && [
|
|
20239
|
-
hAsync("span", { key: '
|
|
20240
|
-
hAsync("input", { key: '
|
|
20231
|
+
hAsync("span", { key: 'cb0a76c804e60fb918980271cc2e19c389f6ffbc' }, ":"),
|
|
20232
|
+
hAsync("input", { key: '5ea428290a17350d74e3038728d0992c6fdad28e', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
|
|
20241
20233
|
? `${TimeType.Minutes}-${this.name}`
|
|
20242
20234
|
: TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20243
20235
|
], this.format.includes('ss') && [
|
|
20244
|
-
hAsync("span", { key: '
|
|
20245
|
-
hAsync("input", { key: '
|
|
20236
|
+
hAsync("span", { key: '68c7d188eee595668066e82fbfa60f387d1078f6' }, ":"),
|
|
20237
|
+
hAsync("input", { key: '23345802e5b7b9ea2e98fc47ca0ed88fec1f2176', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
|
|
20246
20238
|
? `${TimeType.Seconds}-${this.name}`
|
|
20247
20239
|
: TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20248
|
-
], hAsync("nv-iconbutton", { key: '
|
|
20240
|
+
], hAsync("nv-iconbutton", { key: '103fc264c69cf3f8cac073d7815d24b3fdf9a821', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: 'c78ec167b3f228a03172eee52fe888a8456f5851', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: '845802ea8ebe47b66701a11663c1b5052a51a7e8', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'd07b15d6baf4960bf12dec9cc883e89a969c08ea', name: "after-input" })), hAsync("div", { key: 'c165f47781a106f0b586f7e39e30902c873faa07', class: "time-dropdown", slot: "content" }, hAsync("div", { key: '2c544ba696b3ed2dc1db98ecc99b00d00f7b1531', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
|
|
20249
20241
|
this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
|
|
20250
20242
|
this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
|
|
20251
20243
|
this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
|
|
20252
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
20253
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
20244
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f096bace0439c56e5707e385df02cd0c8d76665c', class: "description" }, hAsync("slot", { key: '2a90719cfeb9f95ca9f298a1dce3383bbbb99f47', name: "description" }, this.description))), (this.errorDescription ||
|
|
20245
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '62d7d553ac6ad2f1d86d241a3042093a1b95d5d0', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '03ff68aae8a2433f791da59721fd090f2573eebf', name: "error-description" }, this.errorDescription)))));
|
|
20254
20246
|
}
|
|
20255
20247
|
static get formAssociated() { return true; }
|
|
20256
20248
|
get el() { return getElement(this); }
|
|
@@ -20355,7 +20347,7 @@ class NvIcon {
|
|
|
20355
20347
|
/****************************************************************************/
|
|
20356
20348
|
//#region RENDER
|
|
20357
20349
|
render() {
|
|
20358
|
-
return (hAsync(Host, { key: '
|
|
20350
|
+
return (hAsync(Host, { key: '75b6f4f23483a5a1974c683081f47d6382e37230', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: 'bfc8a74c5a62ddf0f218fd55b108aecb2652343a', 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: '627f3dd7d5348c1e7fe060e447e4d0d08a03b0c0', href: `#${this.name}` }))));
|
|
20359
20351
|
}
|
|
20360
20352
|
static get style() { return NvIconStyle0; }
|
|
20361
20353
|
static get cmpMeta() { return {
|
|
@@ -20499,7 +20491,7 @@ class NvIconbutton {
|
|
|
20499
20491
|
/****************************************************************************/
|
|
20500
20492
|
//#region RENDER
|
|
20501
20493
|
render() {
|
|
20502
|
-
return (hAsync(Host, { key: '
|
|
20494
|
+
return (hAsync(Host, { key: '4c8d155b8feb2c43c71075facd4aba91187859e0', role: "button", type: this.type, tabindex: "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: '98e022b368e278aed21335cf593aeea19dba29ee', size: this.size }), !this.loading && hAsync("nv-icon", { key: '5298a3d0a85e97826693e47e04ed9eddcb4f9cd3', name: this.name, size: this.size }), hAsync("slot", { key: '7e239aacae35715d4dc309919a21f0def9c0fa5d' })));
|
|
20503
20495
|
}
|
|
20504
20496
|
static get formAssociated() { return true; }
|
|
20505
20497
|
get el() { return getElement(this); }
|
|
@@ -20547,7 +20539,7 @@ class NvLoader {
|
|
|
20547
20539
|
//#region RENDER
|
|
20548
20540
|
/* <slot> empty to force rendering change */
|
|
20549
20541
|
render() {
|
|
20550
|
-
return (hAsync(Host, { key: '
|
|
20542
|
+
return (hAsync(Host, { key: 'b6b029b8231c2d4a1a6a7f074f42a27b85dff71b', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
20551
20543
|
}
|
|
20552
20544
|
static get style() { return NvLoaderStyle0; }
|
|
20553
20545
|
static get cmpMeta() { return {
|
|
@@ -20779,7 +20771,7 @@ class NvMenu {
|
|
|
20779
20771
|
});
|
|
20780
20772
|
}
|
|
20781
20773
|
render() {
|
|
20782
|
-
return (hAsync(Host, { key: '
|
|
20774
|
+
return (hAsync(Host, { key: '848044034b707f29f791fa984cc51b606498b162' }, hAsync("slot", { key: '385c9081f84034215745ea79d096cf8e3cebbf8e', name: "trigger" }), hAsync("nv-popover", { key: 'b47a09258a76f608e0eba173039ec8ec49b6186a', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (hAsync("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (hAsync("slot", { name: "content" })))));
|
|
20783
20775
|
}
|
|
20784
20776
|
get el() { return getElement(this); }
|
|
20785
20777
|
static get watchers() { return {
|
|
@@ -20854,7 +20846,7 @@ class NvMenuitem {
|
|
|
20854
20846
|
/****************************************************************************/
|
|
20855
20847
|
//#region RENDER
|
|
20856
20848
|
render() {
|
|
20857
|
-
return (hAsync(Host, { key: '
|
|
20849
|
+
return (hAsync(Host, { key: '2b59ea1b8582c9d5beac1e22c9547bebca9a19c0', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: 'bd72a3c8ffb0f2bfcecb11017493ee7476a8b34a', name: this.icon }), hAsync("slot", { key: 'a3f396ca95fcb14fba1861f641e11abac06c7fe8' }), this.label && hAsync("span", { key: 'ffffe933ab348dc617bb2d76f96e6e11e6ea5900', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'cc76611b2a113cfa309ba3655d5c335d996380b3' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '3e90fdb722f845e24d6588b604f292dd7ee2ea4a', name: "chevron-right" })));
|
|
20858
20850
|
}
|
|
20859
20851
|
get el() { return getElement(this); }
|
|
20860
20852
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -23004,9 +22996,11 @@ class NvPopover {
|
|
|
23004
22996
|
return;
|
|
23005
22997
|
if ((_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.contains(event.target))
|
|
23006
22998
|
return;
|
|
23007
|
-
this.
|
|
22999
|
+
this.open = false;
|
|
23008
23000
|
};
|
|
23009
|
-
this.clickEvents = [
|
|
23001
|
+
this.clickEvents = [
|
|
23002
|
+
['click', () => (this.open = !this.open)],
|
|
23003
|
+
];
|
|
23010
23004
|
this.outsideClickEvents = [
|
|
23011
23005
|
['click', this.handleClickOutside],
|
|
23012
23006
|
['touchstart', this.handleClickOutside],
|
|
@@ -23016,28 +23010,28 @@ class NvPopover {
|
|
|
23016
23010
|
'focus',
|
|
23017
23011
|
() => {
|
|
23018
23012
|
clearTimeout(this.hideTimeout);
|
|
23019
|
-
this.showTimeout = setTimeout(() => this.
|
|
23013
|
+
this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
|
|
23020
23014
|
},
|
|
23021
23015
|
],
|
|
23022
23016
|
[
|
|
23023
23017
|
'blur',
|
|
23024
23018
|
() => {
|
|
23025
23019
|
clearTimeout(this.showTimeout);
|
|
23026
|
-
this.hideTimeout = setTimeout(() => this.
|
|
23020
|
+
this.hideTimeout = setTimeout(() => (this.open = false), 50);
|
|
23027
23021
|
},
|
|
23028
23022
|
],
|
|
23029
23023
|
[
|
|
23030
23024
|
'mouseenter',
|
|
23031
23025
|
() => {
|
|
23032
23026
|
clearTimeout(this.hideTimeout);
|
|
23033
|
-
this.showTimeout = setTimeout(() => this.
|
|
23027
|
+
this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
|
|
23034
23028
|
},
|
|
23035
23029
|
],
|
|
23036
23030
|
[
|
|
23037
23031
|
'mouseleave',
|
|
23038
23032
|
() => {
|
|
23039
23033
|
clearTimeout(this.showTimeout);
|
|
23040
|
-
this.hideTimeout = setTimeout(() => this.
|
|
23034
|
+
this.hideTimeout = setTimeout(() => (this.open = false), 100);
|
|
23041
23035
|
},
|
|
23042
23036
|
],
|
|
23043
23037
|
];
|
|
@@ -23046,7 +23040,7 @@ class NvPopover {
|
|
|
23046
23040
|
'keydown',
|
|
23047
23041
|
(e) => {
|
|
23048
23042
|
if (e.key === 'Escape') {
|
|
23049
|
-
this.
|
|
23043
|
+
this.open = false;
|
|
23050
23044
|
}
|
|
23051
23045
|
},
|
|
23052
23046
|
],
|
|
@@ -23156,7 +23150,7 @@ class NvPopover {
|
|
|
23156
23150
|
return;
|
|
23157
23151
|
// This popover should close when another one is opened.
|
|
23158
23152
|
if (event.target !== this.el && event.detail === true)
|
|
23159
|
-
this.
|
|
23153
|
+
this.open = false;
|
|
23160
23154
|
}
|
|
23161
23155
|
async handleOpenChange(open) {
|
|
23162
23156
|
// Prevent multiple animations from running at the same time.
|
|
@@ -23237,7 +23231,7 @@ class NvPopover {
|
|
|
23237
23231
|
/****************************************************************************/
|
|
23238
23232
|
//#region RENDER
|
|
23239
23233
|
render() {
|
|
23240
|
-
return (hAsync(Host, { key: '
|
|
23234
|
+
return (hAsync(Host, { key: '6c72a8b8adc53dea2bd79b4b68afbeebc0281453' }, hAsync("slot", { key: 'c9b7c7327346a53a5e0183785c2ae7f908a46826', name: "trigger" }), hAsync("div", { key: 'd95998b8efc7e3f1c346d4dc516ccdf08bcceb48', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: '59a84c8daa368251b10a1f64a4e1335b9f5716dd', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: '1ab56763bc4ff602d83042a10c67d633b81e5ae9', name: "content" }))));
|
|
23241
23235
|
}
|
|
23242
23236
|
get el() { return getElement(this); }
|
|
23243
23237
|
static get watchers() { return {
|
|
@@ -23282,7 +23276,7 @@ class NvRow {
|
|
|
23282
23276
|
/****************************************************************************/
|
|
23283
23277
|
//#region RENDER
|
|
23284
23278
|
render() {
|
|
23285
|
-
return (hAsync(Host, { key: '
|
|
23279
|
+
return (hAsync(Host, { key: 'd6f9bbc1ed59bfc59a97728896c0443c8e104e59' }, hAsync("slot", { key: '3d9c1c809524d0a4b9d8ad541ead8978d246c998' })));
|
|
23286
23280
|
}
|
|
23287
23281
|
static get style() { return NvRowStyle0; }
|
|
23288
23282
|
static get cmpMeta() { return {
|
|
@@ -23317,7 +23311,7 @@ class NvStack {
|
|
|
23317
23311
|
/****************************************************************************/
|
|
23318
23312
|
//#region RENDER
|
|
23319
23313
|
render() {
|
|
23320
|
-
return (hAsync(Host, { key: '
|
|
23314
|
+
return (hAsync(Host, { key: 'aef0e6f873f68880d20b5ae9f4f56ece40e8a0ee', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gutter-x-${this.gutter}`, this.gutter && this.vertical && `gutter-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, hAsync("slot", { key: 'd003e23ec3c9b4a5c4496bc9f4c170af467b311e' })));
|
|
23321
23315
|
}
|
|
23322
23316
|
static get style() { return NvStackStyle0; }
|
|
23323
23317
|
static get cmpMeta() { return {
|
|
@@ -23651,14 +23645,14 @@ class NvTable {
|
|
|
23651
23645
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
23652
23646
|
? []
|
|
23653
23647
|
: this.table.data;
|
|
23654
|
-
return (hAsync(Host, { key: '
|
|
23648
|
+
return (hAsync(Host, { key: 'bf96a7c40a0960fc68778c33ec63a1d574993408' }, hAsync("div", { key: '77e4ace0a9925ef6f5f7e1f51a2abc0c381d8ba5', class: "hidden" }, hAsync("slot", { key: 'cdeb4abdd65d0e5de7064af63b1a39e661d4b49b' })), hAsync("slot", { key: '4322aeb2858716be200a8d6851ef1d47ee0c44bb', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", { class: "table-header" }, hAsync("tr", null, headerGroups &&
|
|
23655
23649
|
headerGroups.map(col => {
|
|
23656
23650
|
return (hAsync("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
|
|
23657
23651
|
})))), hAsync("tbody", { class: "table-body" }, !rows || rows.length === 0 ? (hAsync("tr", null, hAsync("td", { colSpan: headerGroups.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => (hAsync("tr", { key: JSON.stringify(row) }, headerGroups.map(col => {
|
|
23658
23652
|
var _a;
|
|
23659
23653
|
return (hAsync("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
|
|
23660
23654
|
((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
|
|
23661
|
-
})))))))), hAsync("slot", { key: '
|
|
23655
|
+
})))))))), hAsync("slot", { key: 'e5e490de2ff568c962368f39dbcd5c119e814b0d', name: "after" })));
|
|
23662
23656
|
}
|
|
23663
23657
|
get el() { return getElement(this); }
|
|
23664
23658
|
static get watchers() { return {
|
|
@@ -23714,7 +23708,7 @@ class NvTablecolumn {
|
|
|
23714
23708
|
}; }
|
|
23715
23709
|
}
|
|
23716
23710
|
|
|
23717
|
-
const nvToggleCss = "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:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}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-form-field-border-default);background:var(--components-form-field-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-form-shape-foreground-switch-dot);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-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-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-form-field-background-checked);border-color:var(--components-form-field-background-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-form-shape-foreground-default);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-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", 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}";
|
|
23711
|
+
const nvToggleCss = "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:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;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-form-field-border-default);background:var(--components-form-field-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-form-shape-foreground-switch-dot);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-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-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-form-field-background-checked);border-color:var(--components-form-field-background-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-form-shape-foreground-default);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-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", 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}";
|
|
23718
23712
|
var NvToggleStyle0 = nvToggleCss;
|
|
23719
23713
|
|
|
23720
23714
|
/**
|
|
@@ -23778,8 +23772,8 @@ class NvToggle {
|
|
|
23778
23772
|
/****************************************************************************/
|
|
23779
23773
|
//#region RENDER
|
|
23780
23774
|
render() {
|
|
23781
|
-
return (hAsync(Host, { key: '
|
|
23782
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
23775
|
+
return (hAsync(Host, { key: '6728159c0c7f622fbcc5017a116ec0dd1fe28b39', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: '2155eacf39771790ca730f264f9c490f6e93794b', class: "input-container" }, hAsync("input", { key: '588a638b678c7d26fd0050a54fbd86ab029c18d0', 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: 'ba543a1282f8244449c3682bc43c8481d0c588dd', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'beab39ef75d445e43bf4d127ea9f0c7130bae25f', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'fd60c679cf1514fc2d01c39a8e13e6dc6fd3287e', name: "label" }, this.label))), (this.description ||
|
|
23776
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '42582783ac08557d55bf8f80fa68f2f565f7208f', class: "description" }, hAsync("slot", { key: '889f7408fd401816ffb6dff0c264e265911e3b79', name: "description" }, this.description))))));
|
|
23783
23777
|
}
|
|
23784
23778
|
static get formAssociated() { return true; }
|
|
23785
23779
|
get el() { return getElement(this); }
|
|
@@ -23844,7 +23838,7 @@ class NvTooltip {
|
|
|
23844
23838
|
/****************************************************************************/
|
|
23845
23839
|
//#region RENDER
|
|
23846
23840
|
render() {
|
|
23847
|
-
return (hAsync(Host, { key: '
|
|
23841
|
+
return (hAsync(Host, { key: '8cd2c98bb131f251183acb9af66c9f6f9756ea95' }, hAsync("slot", { key: 'fe6b19ecbf81c75579d2eda7f420dba67d17f6b1' }), hAsync("nv-popover", { key: '4bb59ab06f861d3892de8122ef12eacacb8b4ad5', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: '1f6eca5114ef857086f1263adb806894d5e8e49e', slot: "content" }, this.message), hAsync("slot", { key: '7a359b89785621df4fb4f1c499d4a295f4112aed', name: "content" }))));
|
|
23848
23842
|
}
|
|
23849
23843
|
get el() { return getElement(this); }
|
|
23850
23844
|
static get style() { return NvTooltipStyle0; }
|