@nova-design-system/nova-webcomponents 3.0.0-beta.45 → 3.0.0-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-9bda5507.js +0 -4
- 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 +4 -4
- package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +48 -19
- package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +378 -85
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +5 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
- 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 +15 -35
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +30 -86
- 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-fieldnumber.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +9 -7
- package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
- 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 +18 -44
- package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/nv-badge/nv-badge.js +4 -3
- package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.js +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +0 -9
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.js +48 -19
- package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +560 -63
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +393 -88
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +27 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-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.docs.js +8 -8
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +24 -50
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- 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.docs.js +6 -6
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +37 -103
- 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-fieldnumber/nv-fieldnumber.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +9 -7
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
- 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-fieldselect/nv-fieldselect.js.map +1 -1
- 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.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.docs.js +3 -3
- package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +37 -65
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.docs.js +7 -6
- package/dist/collection/components/nv-stack/nv-stack.docs.js.map +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js.map +1 -1
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- 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-breadcrumb.js +3 -3
- 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 +386 -87
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +7 -2
- package/dist/components/nv-datagridcolumn.js.map +1 -1
- package/dist/components/nv-dialog.js +6 -6
- 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 +22 -45
- package/dist/components/nv-fielddropdown.js.map +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +40 -100
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +6 -6
- package/dist/components/nv-fieldnumber.js.map +1 -1
- package/dist/components/nv-fieldpassword.js +12 -10
- package/dist/components/nv-fieldpassword.js.map +1 -1
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +8 -8
- package/dist/components/nv-fieldselect.js.map +1 -1
- 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 +23 -52
- package/dist/components/nv-menu.js.map +1 -1
- 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-stack.js.map +1 -1
- package/dist/components/nv-table.js +2 -2
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-4c6d8df7.js → p-02752770.js} +2 -2
- package/dist/components/{p-4c6d8df7.js.map → p-02752770.js.map} +1 -1
- package/dist/components/{p-3a3ba5b1.js → p-150daf68.js} +2 -2
- package/dist/components/{p-3a3ba5b1.js.map → p-150daf68.js.map} +1 -1
- package/dist/components/{p-ef255589.js → p-2012b8ba.js} +3 -3
- package/dist/components/{p-ef255589.js.map → p-2012b8ba.js.map} +1 -1
- package/dist/components/{p-103756d6.js → p-2d9ba7d3.js} +3 -3
- package/dist/components/{p-103756d6.js.map → p-2d9ba7d3.js.map} +1 -1
- package/dist/components/{p-0f59f38e.js → p-373926aa.js} +5 -5
- package/dist/components/p-373926aa.js.map +1 -0
- package/dist/components/{p-8ea5e3c0.js → p-4d3ec142.js} +3 -3
- package/dist/components/{p-8ea5e3c0.js.map → p-4d3ec142.js.map} +1 -1
- package/dist/components/{p-78b00756.js → p-591730e7.js} +2 -2
- package/dist/components/{p-78b00756.js.map → p-591730e7.js.map} +1 -1
- package/dist/components/{p-b5821dbb.js → p-6c364a23.js} +5 -5
- package/dist/components/{p-b5821dbb.js.map → p-6c364a23.js.map} +1 -1
- package/dist/components/{p-aeeb5b1c.js → p-a30b55fc.js} +2 -2
- package/dist/components/{p-aeeb5b1c.js.map → p-a30b55fc.js.map} +1 -1
- package/dist/components/{p-e46c2e31.js → p-b7b78e64.js} +2 -2
- package/dist/components/{p-e46c2e31.js.map → p-b7b78e64.js.map} +1 -1
- package/dist/components/{p-3561c093.js → p-c14f6b8e.js} +3 -3
- package/dist/components/{p-3561c093.js.map → p-c14f6b8e.js.map} +1 -1
- package/dist/components/{p-3b096098.js → p-dc3faba3.js} +4 -4
- package/dist/components/{p-3b096098.js.map → p-dc3faba3.js.map} +1 -1
- package/dist/components/{p-933d4d06.js → p-e00cbb8a.js} +5 -5
- package/dist/components/{p-933d4d06.js.map → p-e00cbb8a.js.map} +1 -1
- package/dist/components/{p-78e0e7b0.js → p-f331117c.js} +53 -24
- package/dist/components/p-f331117c.js.map +1 -0
- package/dist/components/{p-863974b2.js → p-f4d86795.js} +3 -3
- package/dist/components/{p-863974b2.js.map → p-f4d86795.js.map} +1 -1
- package/dist/esm/index-1fb7a9a6.js +0 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +4 -4
- package/dist/esm/nv-badge_2.entry.js.map +1 -1
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-calendar.entry.js +48 -19
- package/dist/esm/nv-calendar.entry.js.map +1 -1
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +378 -85
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +5 -1
- package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
- package/dist/esm/nv-dialog.entry.js +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
- 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 +15 -35
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +30 -86
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
- package/dist/esm/nv-fieldpassword.entry.js +9 -7
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- 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 +18 -44
- package/dist/esm/nv-menu.entry.js.map +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js.map +1 -1
- package/dist/esm/nv-table.entry.js +2 -2
- package/dist/esm/nv-toggle.entry.js +2 -2
- 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-0245863d.entry.js +2 -0
- package/dist/native/{p-19fd6594.entry.js → p-0ee428d5.entry.js} +2 -2
- package/dist/native/p-0ee428d5.entry.js.map +1 -0
- package/dist/native/{p-c10e5113.entry.js → p-244f56ac.entry.js} +2 -2
- package/dist/native/p-2691e02d.entry.js +2 -0
- package/dist/native/{p-31184fdd.entry.js → p-37f0210e.entry.js} +2 -2
- package/dist/native/{p-31184fdd.entry.js.map → p-37f0210e.entry.js.map} +1 -1
- package/dist/native/{p-162f4840.entry.js → p-39bb95ff.entry.js} +2 -2
- package/dist/native/{p-abeda2cf.entry.js → p-4ae26462.entry.js} +2 -2
- package/dist/native/p-4d9c4618.entry.js +2 -0
- package/dist/native/p-4d9c4618.entry.js.map +1 -0
- package/dist/native/{p-314d2b34.entry.js → p-59e0bd2b.entry.js} +2 -2
- package/dist/native/{p-314d2b34.entry.js.map → p-59e0bd2b.entry.js.map} +1 -1
- package/dist/native/{p-e6904ae4.entry.js → p-5c00f092.entry.js} +2 -2
- package/dist/native/p-63e6aed3.entry.js +2 -0
- package/dist/native/p-63e6aed3.entry.js.map +1 -0
- package/dist/native/{p-40f4a6e7.entry.js → p-6b348684.entry.js} +2 -2
- package/dist/native/{p-442f04f9.entry.js → p-6ff228da.entry.js} +2 -2
- package/dist/native/{p-442f04f9.entry.js.map → p-6ff228da.entry.js.map} +1 -1
- package/dist/native/{p-603a99ed.entry.js → p-701b5557.entry.js} +2 -2
- package/dist/native/{p-2281d5ef.entry.js → p-7f5eb2ac.entry.js} +2 -2
- package/dist/native/{p-f5e0d5c5.entry.js → p-84a73e2a.entry.js} +2 -2
- package/dist/native/p-9135fdf5.entry.js +2 -0
- package/dist/native/p-9135fdf5.entry.js.map +1 -0
- package/dist/native/p-93dc2f47.entry.js +2 -0
- package/dist/native/{p-45577c7f.entry.js.map → p-93dc2f47.entry.js.map} +1 -1
- package/dist/native/{p-d9624254.entry.js → p-9a267f16.entry.js} +2 -2
- package/dist/native/p-9a267f16.entry.js.map +1 -0
- package/dist/native/{p-ecc28398.entry.js → p-9d6431c7.entry.js} +2 -2
- package/dist/native/p-9d6431c7.entry.js.map +1 -0
- package/dist/native/{p-514101d6.entry.js → p-b094296d.entry.js} +2 -2
- package/dist/native/{p-464ef88f.entry.js → p-b2ce83ad.entry.js} +2 -2
- package/dist/native/p-bad11367.entry.js +2 -0
- package/dist/native/{p-0172095c.entry.js → p-c7b201cd.entry.js} +2 -2
- package/dist/native/{p-725e0abd.entry.js → p-d7a76400.entry.js} +2 -2
- package/dist/native/p-e1a4f776.entry.js +2 -0
- package/dist/native/p-e1a4f776.entry.js.map +1 -0
- package/dist/native/p-e49bbd02.entry.js +2 -0
- package/dist/native/p-e49bbd02.entry.js.map +1 -0
- package/dist/native/{p-17bf1233.entry.js → p-e5de64d5.entry.js} +2 -2
- package/dist/native/p-eee01062.entry.js +2 -0
- package/dist/native/{p-e197d90b.entry.js.map → p-eee01062.entry.js.map} +1 -1
- package/dist/native/{p-332c5d6c.entry.js → p-f6bdc270.entry.js} +2 -2
- package/dist/native/{p-3af5bcc1.entry.js → p-f85aca27.entry.js} +2 -2
- package/dist/native/{p-7fade532.entry.js → p-fa77a591.entry.js} +2 -2
- package/dist/native/{p-f01a34c5.entry.js → p-fb5bddba.entry.js} +2 -2
- package/dist/types/components/nv-badge/nv-badge.d.ts +1 -0
- package/dist/types/components/nv-calendar/nv-calendar.d.ts +10 -7
- package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +38 -2
- package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +17 -23
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +17 -44
- package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +2 -0
- package/dist/types/components/nv-menu/nv-menu.d.ts +50 -16
- package/dist/types/components.d.ts +192 -45
- package/dist/types/nova-docs.d.ts +5 -0
- package/dist/vscode-data.json +43 -51
- package/hydrate/index.js +587 -438
- package/hydrate/index.mjs +587 -438
- package/package.json +5 -3
- package/dist/cjs/nv-base.cjs.entry.js +0 -74
- package/dist/cjs/nv-base.cjs.entry.js.map +0 -1
- package/dist/collection/components/nv-base/nv-base.docs.js +0 -5
- package/dist/collection/components/nv-base/nv-base.docs.js.map +0 -1
- package/dist/collection/components/nv-base/nv-base.js +0 -68
- package/dist/collection/components/nv-base/nv-base.js.map +0 -1
- package/dist/components/nv-base.d.ts +0 -11
- package/dist/components/nv-base.js +0 -88
- package/dist/components/nv-base.js.map +0 -1
- package/dist/components/p-0f59f38e.js.map +0 -1
- package/dist/components/p-78e0e7b0.js.map +0 -1
- package/dist/esm/nv-base.entry.js +0 -70
- package/dist/esm/nv-base.entry.js.map +0 -1
- package/dist/native/p-19fd6594.entry.js.map +0 -1
- package/dist/native/p-1a46cb52.entry.js +0 -2
- package/dist/native/p-1a46cb52.entry.js.map +0 -1
- package/dist/native/p-331da074.entry.js +0 -2
- package/dist/native/p-42d020a7.entry.js +0 -2
- package/dist/native/p-42d020a7.entry.js.map +0 -1
- package/dist/native/p-4403e3af.entry.js +0 -2
- package/dist/native/p-4403e3af.entry.js.map +0 -1
- package/dist/native/p-45577c7f.entry.js +0 -2
- package/dist/native/p-46aa1136.entry.js +0 -2
- package/dist/native/p-54b6ce07.entry.js +0 -2
- package/dist/native/p-54b6ce07.entry.js.map +0 -1
- package/dist/native/p-665db087.entry.js +0 -2
- package/dist/native/p-942f8e92.entry.js +0 -2
- package/dist/native/p-942f8e92.entry.js.map +0 -1
- package/dist/native/p-d9624254.entry.js.map +0 -1
- package/dist/native/p-e197d90b.entry.js +0 -2
- package/dist/native/p-ecc28398.entry.js.map +0 -1
- package/dist/native/p-f89b7d06.entry.js +0 -2
- package/dist/native/p-f89b7d06.entry.js.map +0 -1
- package/dist/types/components/nv-base/nv-base.d.ts +0 -17
- package/dist/types/components/nv-base/nv-base.docs.d.ts +0 -5
- /package/dist/native/{p-665db087.entry.js.map → p-0245863d.entry.js.map} +0 -0
- /package/dist/native/{p-c10e5113.entry.js.map → p-244f56ac.entry.js.map} +0 -0
- /package/dist/native/{p-46aa1136.entry.js.map → p-2691e02d.entry.js.map} +0 -0
- /package/dist/native/{p-162f4840.entry.js.map → p-39bb95ff.entry.js.map} +0 -0
- /package/dist/native/{p-abeda2cf.entry.js.map → p-4ae26462.entry.js.map} +0 -0
- /package/dist/native/{p-e6904ae4.entry.js.map → p-5c00f092.entry.js.map} +0 -0
- /package/dist/native/{p-40f4a6e7.entry.js.map → p-6b348684.entry.js.map} +0 -0
- /package/dist/native/{p-603a99ed.entry.js.map → p-701b5557.entry.js.map} +0 -0
- /package/dist/native/{p-2281d5ef.entry.js.map → p-7f5eb2ac.entry.js.map} +0 -0
- /package/dist/native/{p-f5e0d5c5.entry.js.map → p-84a73e2a.entry.js.map} +0 -0
- /package/dist/native/{p-514101d6.entry.js.map → p-b094296d.entry.js.map} +0 -0
- /package/dist/native/{p-464ef88f.entry.js.map → p-b2ce83ad.entry.js.map} +0 -0
- /package/dist/native/{p-331da074.entry.js.map → p-bad11367.entry.js.map} +0 -0
- /package/dist/native/{p-0172095c.entry.js.map → p-c7b201cd.entry.js.map} +0 -0
- /package/dist/native/{p-725e0abd.entry.js.map → p-d7a76400.entry.js.map} +0 -0
- /package/dist/native/{p-17bf1233.entry.js.map → p-e5de64d5.entry.js.map} +0 -0
- /package/dist/native/{p-332c5d6c.entry.js.map → p-f6bdc270.entry.js.map} +0 -0
- /package/dist/native/{p-3af5bcc1.entry.js.map → p-f85aca27.entry.js.map} +0 -0
- /package/dist/native/{p-7fade532.entry.js.map → p-fa77a591.entry.js.map} +0 -0
- /package/dist/native/{p-f01a34c5.entry.js.map → p-fb5bddba.entry.js.map} +0 -0
|
@@ -60,10 +60,6 @@ const NvFieldmultiselect = class {
|
|
|
60
60
|
* State of the multiselect popover.
|
|
61
61
|
*/
|
|
62
62
|
this.open = false;
|
|
63
|
-
/**
|
|
64
|
-
* Options configuration for the multiselect items.
|
|
65
|
-
*/
|
|
66
|
-
this.parsedOptions = [];
|
|
67
63
|
/**
|
|
68
64
|
* List of selected values in the multiselect.
|
|
69
65
|
*/
|
|
@@ -76,21 +72,11 @@ const NvFieldmultiselect = class {
|
|
|
76
72
|
* The text entered by the user for filtering multiselect items.
|
|
77
73
|
*/
|
|
78
74
|
this.filterText = '';
|
|
79
|
-
/**
|
|
80
|
-
* Determines whether the multiselect is filterable.
|
|
81
|
-
*/
|
|
82
|
-
this.isFilterable = this.filterable;
|
|
83
75
|
/**
|
|
84
76
|
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
85
77
|
* @default 300
|
|
86
78
|
*/
|
|
87
79
|
this.debounceDelay = 300;
|
|
88
|
-
/**
|
|
89
|
-
* State for the mode of the multiselect.
|
|
90
|
-
* @type {'options' | 'slots'}
|
|
91
|
-
* @default 'options'
|
|
92
|
-
*/
|
|
93
|
-
this.modeState = 'options'; // Default value
|
|
94
80
|
this.isHandlingEscape = false;
|
|
95
81
|
/**
|
|
96
82
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
@@ -111,7 +97,7 @@ const NvFieldmultiselect = class {
|
|
|
111
97
|
item.style.display = '';
|
|
112
98
|
});
|
|
113
99
|
// Reorder options without the divider since there are no selected elements
|
|
114
|
-
this.
|
|
100
|
+
this.options = this.options.filter(option => !option.isDivider);
|
|
115
101
|
// Reorder options without the divider since there are no selected elements
|
|
116
102
|
this.reorderOptionsContent();
|
|
117
103
|
};
|
|
@@ -139,13 +125,6 @@ const NvFieldmultiselect = class {
|
|
|
139
125
|
return;
|
|
140
126
|
}
|
|
141
127
|
this.filterText = '';
|
|
142
|
-
// Only reorder based on the mode
|
|
143
|
-
if (this.modeState === 'options') {
|
|
144
|
-
this.reorderOptionsContent();
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
this.reorderSlotContent();
|
|
148
|
-
}
|
|
149
128
|
// Reset filter if needed
|
|
150
129
|
if (this.filterable) {
|
|
151
130
|
this.resetFilter();
|
|
@@ -314,14 +293,14 @@ const NvFieldmultiselect = class {
|
|
|
314
293
|
* @returns {any} The JSX for options mode
|
|
315
294
|
*/
|
|
316
295
|
this.renderOptionsMode = () => {
|
|
317
|
-
return (h(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { htmlFor: this.inputId }, h("slot", { name: "label" }, this.label))), h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h("slot", { name: "before-input" }), h("div", { class: "input-container-multiselect" }, h("slot", { name: "leading-input" }), h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
296
|
+
return (h(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { htmlFor: this.inputId }, h("slot", { name: "label" }, this.label))), h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h("slot", { name: "before-input" }), h("div", { class: "input-container-multiselect" }, h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (h("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (h("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, h("span", null, this.value || this.placeholder))), this.error && (h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { "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.togglePopoverOptions })), h("slot", { name: "after-input" })), h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h("ul", { role: "content" }, this.options.map(option => (h("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), h("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
318
297
|
};
|
|
319
298
|
/**
|
|
320
299
|
* Renders the component in slots mode
|
|
321
300
|
* @returns {any} The JSX for slots mode
|
|
322
301
|
*/
|
|
323
302
|
this.renderSlotsMode = () => {
|
|
324
|
-
return (h(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { htmlFor: this.inputId }, h("slot", { name: "label" }, this.label))), h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h("slot", { name: "before-input" }), h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h("slot", { name: "leading-input" }), h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
303
|
+
return (h(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { htmlFor: this.inputId }, h("slot", { name: "label" }, this.label))), h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h("slot", { name: "before-input" }), h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (h("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (h("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, h("span", null, this.value || this.placeholder))), this.error && (h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { "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.togglePopoverSlots })), h("slot", { name: "after-input" })), h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h("slot", { name: "content" }))), this.renderDescriptions()));
|
|
325
304
|
};
|
|
326
305
|
}
|
|
327
306
|
//#endregion PROPERTIES
|
|
@@ -337,13 +316,13 @@ const NvFieldmultiselect = class {
|
|
|
337
316
|
* Set the mode state and handle options change.
|
|
338
317
|
*/
|
|
339
318
|
componentWillLoad() {
|
|
340
|
-
|
|
319
|
+
var _a;
|
|
341
320
|
// Don't call handleOptionsChange if we are in slots mode
|
|
342
|
-
if (this.
|
|
321
|
+
if (this.options) {
|
|
343
322
|
this.handleOptionsChange(this.options);
|
|
344
323
|
}
|
|
345
324
|
// Specific initialization for slots mode
|
|
346
|
-
if (this.
|
|
325
|
+
if (!this.options) {
|
|
347
326
|
Promise.resolve().then(() => {
|
|
348
327
|
const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
349
328
|
// Initialize selectedValues with checked items
|
|
@@ -357,8 +336,8 @@ const NvFieldmultiselect = class {
|
|
|
357
336
|
});
|
|
358
337
|
}
|
|
359
338
|
// Initialize the sorted options array with the parsed options for initial rendering
|
|
360
|
-
if (this.
|
|
361
|
-
this.sortedOptions = [...this.
|
|
339
|
+
if (this.options) {
|
|
340
|
+
this.sortedOptions = [...((_a = this.options) !== null && _a !== void 0 ? _a : [])];
|
|
362
341
|
}
|
|
363
342
|
// Apply filtering if the multiselect is filterable and there is a value
|
|
364
343
|
if (this.filterable && this.value) {
|
|
@@ -374,10 +353,8 @@ const NvFieldmultiselect = class {
|
|
|
374
353
|
* Force reorder if options mode in componentDidLoad because of the initial render not trigger @watch
|
|
375
354
|
*/
|
|
376
355
|
componentDidLoad() {
|
|
377
|
-
if (this.
|
|
378
|
-
|
|
379
|
-
this.reorderOptionsContent();
|
|
380
|
-
});
|
|
356
|
+
if (this.options) {
|
|
357
|
+
this.handleOptionsChange(this.options);
|
|
381
358
|
}
|
|
382
359
|
}
|
|
383
360
|
/**
|
|
@@ -402,6 +379,12 @@ const NvFieldmultiselect = class {
|
|
|
402
379
|
else {
|
|
403
380
|
this.handlePopoverClose();
|
|
404
381
|
}
|
|
382
|
+
if (this.options) {
|
|
383
|
+
this.reorderOptionsContent();
|
|
384
|
+
}
|
|
385
|
+
else {
|
|
386
|
+
this.reorderSlotContent();
|
|
387
|
+
}
|
|
405
388
|
}
|
|
406
389
|
/**
|
|
407
390
|
* Listen for the `itemChecked` event emitted by child items.
|
|
@@ -435,41 +418,13 @@ const NvFieldmultiselect = class {
|
|
|
435
418
|
console.warn('Received itemChecked event with undefined or null value'); // Warning log
|
|
436
419
|
}
|
|
437
420
|
}
|
|
438
|
-
/**
|
|
439
|
-
* Emitted when the options change.
|
|
440
|
-
* @param {string | Array<{label: string, value: string, isDivider?: boolean, disabled?: boolean, description?: string, checked?: boolean}>} newValue - The new value of the options.
|
|
441
|
-
*/
|
|
442
421
|
handleOptionsChange(newValue) {
|
|
443
|
-
if (
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
this.parsedOptions = [...parsedOpts];
|
|
450
|
-
}
|
|
451
|
-
catch (error) {
|
|
452
|
-
console.error('Error parsing options:', error);
|
|
453
|
-
this.parsedOptions = [];
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
else if (Array.isArray(newValue)) {
|
|
457
|
-
this.selectedValues = newValue
|
|
458
|
-
.filter(option => option.checked)
|
|
459
|
-
.map(option => option.value);
|
|
460
|
-
this.parsedOptions = [...newValue];
|
|
461
|
-
}
|
|
462
|
-
else {
|
|
463
|
-
this.parsedOptions = [];
|
|
464
|
-
}
|
|
465
|
-
// Wait for the options to be fully loaded
|
|
466
|
-
Promise.resolve().then(() => {
|
|
467
|
-
requestAnimationFrame(() => {
|
|
468
|
-
if (this.modeState === 'options') {
|
|
469
|
-
this.reorderOptionsContent();
|
|
470
|
-
}
|
|
471
|
-
});
|
|
472
|
-
});
|
|
422
|
+
if (!newValue)
|
|
423
|
+
return;
|
|
424
|
+
this.selectedValues = newValue
|
|
425
|
+
.filter(option => option.checked)
|
|
426
|
+
.map(option => option.value);
|
|
427
|
+
this.reorderOptionsContent();
|
|
473
428
|
}
|
|
474
429
|
/**
|
|
475
430
|
* Emitted when the value changes.
|
|
@@ -478,14 +433,6 @@ const NvFieldmultiselect = class {
|
|
|
478
433
|
// Handle value change and update the corresponding multiselect item if it exists
|
|
479
434
|
this.setInitialSelection();
|
|
480
435
|
}
|
|
481
|
-
/**
|
|
482
|
-
* Emitted when the filterable property changes.
|
|
483
|
-
* @param {boolean} newValue - The new value of the filterable property.
|
|
484
|
-
*/
|
|
485
|
-
watchFilterableHandler(newValue) {
|
|
486
|
-
this.isFilterable = newValue;
|
|
487
|
-
this.filterable = newValue;
|
|
488
|
-
}
|
|
489
436
|
// Add a listener for the slot content
|
|
490
437
|
handleSlotChange(event) {
|
|
491
438
|
// Check: we only want to reorder if it's the "content" slot
|
|
@@ -574,7 +521,7 @@ const NvFieldmultiselect = class {
|
|
|
574
521
|
* Reorder the content of the slot.
|
|
575
522
|
*/
|
|
576
523
|
reorderSlotContent() {
|
|
577
|
-
if (this.
|
|
524
|
+
if (this.options)
|
|
578
525
|
return;
|
|
579
526
|
const ul = this.el.querySelector('ul');
|
|
580
527
|
if (!ul)
|
|
@@ -638,7 +585,7 @@ const NvFieldmultiselect = class {
|
|
|
638
585
|
existingEmptyMessage.remove();
|
|
639
586
|
}
|
|
640
587
|
if (!this.filterText.trim()) {
|
|
641
|
-
if (this.
|
|
588
|
+
if (this.options && this.options.length > 0) {
|
|
642
589
|
// Reset options display
|
|
643
590
|
const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
644
591
|
items.forEach(item => {
|
|
@@ -661,11 +608,11 @@ const NvFieldmultiselect = class {
|
|
|
661
608
|
}
|
|
662
609
|
const normalizedFilter = this.normalizeText(this.filterText);
|
|
663
610
|
let hasVisibleItems = false;
|
|
664
|
-
if (this.
|
|
611
|
+
if (this.options && this.options.length > 0) {
|
|
665
612
|
// Filter options mode
|
|
666
613
|
const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
667
614
|
items.forEach(item => {
|
|
668
|
-
const option = this.
|
|
615
|
+
const option = this.options.find(opt => opt.value === item.getAttribute('value'));
|
|
669
616
|
if (option && !option.isDivider) {
|
|
670
617
|
const matchesFilter = this.normalizeText(option.label).includes(normalizedFilter) ||
|
|
671
618
|
this.normalizeText(option.value).includes(normalizedFilter);
|
|
@@ -750,7 +697,7 @@ const NvFieldmultiselect = class {
|
|
|
750
697
|
* Filter multiselect items in slots mode
|
|
751
698
|
*/
|
|
752
699
|
filterSlotsItems() {
|
|
753
|
-
if (this.
|
|
700
|
+
if (this.options)
|
|
754
701
|
return;
|
|
755
702
|
const ul = this.el.querySelector('ul');
|
|
756
703
|
if (!ul)
|
|
@@ -886,7 +833,7 @@ const NvFieldmultiselect = class {
|
|
|
886
833
|
// Do the reorder and wait a bit before closing
|
|
887
834
|
const handleEscape = async () => {
|
|
888
835
|
this.isHandlingEscape = true; // Disable the hide listener
|
|
889
|
-
if (this.
|
|
836
|
+
if (this.options) {
|
|
890
837
|
this.reorderOptionsContent();
|
|
891
838
|
}
|
|
892
839
|
else {
|
|
@@ -998,16 +945,13 @@ const NvFieldmultiselect = class {
|
|
|
998
945
|
* @returns {any} The JSX for the component
|
|
999
946
|
*/
|
|
1000
947
|
render() {
|
|
1001
|
-
return this.
|
|
1002
|
-
? this.renderOptionsMode()
|
|
1003
|
-
: this.renderSlotsMode();
|
|
948
|
+
return this.options ? this.renderOptionsMode() : this.renderSlotsMode();
|
|
1004
949
|
}
|
|
1005
950
|
static get formAssociated() { return true; }
|
|
1006
951
|
get el() { return getElement(this); }
|
|
1007
952
|
static get watchers() { return {
|
|
1008
953
|
"options": ["handleOptionsChange"],
|
|
1009
|
-
"value": ["watchValueHandler"]
|
|
1010
|
-
"filterable": ["watchFilterableHandler"]
|
|
954
|
+
"value": ["watchValueHandler"]
|
|
1011
955
|
}; }
|
|
1012
956
|
};
|
|
1013
957
|
NvFieldmultiselect.style = NvFieldmultiselectStyle0;
|