@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
|
@@ -64,10 +64,6 @@ const NvFieldmultiselect = class {
|
|
|
64
64
|
* State of the multiselect popover.
|
|
65
65
|
*/
|
|
66
66
|
this.open = false;
|
|
67
|
-
/**
|
|
68
|
-
* Options configuration for the multiselect items.
|
|
69
|
-
*/
|
|
70
|
-
this.parsedOptions = [];
|
|
71
67
|
/**
|
|
72
68
|
* List of selected values in the multiselect.
|
|
73
69
|
*/
|
|
@@ -80,21 +76,11 @@ const NvFieldmultiselect = class {
|
|
|
80
76
|
* The text entered by the user for filtering multiselect items.
|
|
81
77
|
*/
|
|
82
78
|
this.filterText = '';
|
|
83
|
-
/**
|
|
84
|
-
* Determines whether the multiselect is filterable.
|
|
85
|
-
*/
|
|
86
|
-
this.isFilterable = this.filterable;
|
|
87
79
|
/**
|
|
88
80
|
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
89
81
|
* @default 300
|
|
90
82
|
*/
|
|
91
83
|
this.debounceDelay = 300;
|
|
92
|
-
/**
|
|
93
|
-
* State for the mode of the multiselect.
|
|
94
|
-
* @type {'options' | 'slots'}
|
|
95
|
-
* @default 'options'
|
|
96
|
-
*/
|
|
97
|
-
this.modeState = 'options'; // Default value
|
|
98
84
|
this.isHandlingEscape = false;
|
|
99
85
|
/**
|
|
100
86
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
@@ -115,7 +101,7 @@ const NvFieldmultiselect = class {
|
|
|
115
101
|
item.style.display = '';
|
|
116
102
|
});
|
|
117
103
|
// Reorder options without the divider since there are no selected elements
|
|
118
|
-
this.
|
|
104
|
+
this.options = this.options.filter(option => !option.isDivider);
|
|
119
105
|
// Reorder options without the divider since there are no selected elements
|
|
120
106
|
this.reorderOptionsContent();
|
|
121
107
|
};
|
|
@@ -143,13 +129,6 @@ const NvFieldmultiselect = class {
|
|
|
143
129
|
return;
|
|
144
130
|
}
|
|
145
131
|
this.filterText = '';
|
|
146
|
-
// Only reorder based on the mode
|
|
147
|
-
if (this.modeState === 'options') {
|
|
148
|
-
this.reorderOptionsContent();
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
this.reorderSlotContent();
|
|
152
|
-
}
|
|
153
132
|
// Reset filter if needed
|
|
154
133
|
if (this.filterable) {
|
|
155
134
|
this.resetFilter();
|
|
@@ -318,14 +297,14 @@ const NvFieldmultiselect = class {
|
|
|
318
297
|
* @returns {any} The JSX for options mode
|
|
319
298
|
*/
|
|
320
299
|
this.renderOptionsMode = () => {
|
|
321
|
-
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect" }, index.h("slot", { name: "leading-input" }), index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
300
|
+
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect" }, index.h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (index.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 ? (index.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 })) : (index.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 }, index.h("span", null, this.value || this.placeholder))), this.error && (index.h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), index.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 })), index.h("slot", { name: "after-input" })), index.h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, index.h("ul", { role: "content" }, this.options.map(option => (index.h("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), index.h("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
322
301
|
};
|
|
323
302
|
/**
|
|
324
303
|
* Renders the component in slots mode
|
|
325
304
|
* @returns {any} The JSX for slots mode
|
|
326
305
|
*/
|
|
327
306
|
this.renderSlotsMode = () => {
|
|
328
|
-
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, index.h("slot", { name: "leading-input" }), index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
307
|
+
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, index.h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (index.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 ? (index.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 })) : (index.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 }, index.h("span", null, this.value || this.placeholder))), this.error && (index.h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), index.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 })), index.h("slot", { name: "after-input" })), index.h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, index.h("slot", { name: "content" }))), this.renderDescriptions()));
|
|
329
308
|
};
|
|
330
309
|
}
|
|
331
310
|
//#endregion PROPERTIES
|
|
@@ -341,13 +320,13 @@ const NvFieldmultiselect = class {
|
|
|
341
320
|
* Set the mode state and handle options change.
|
|
342
321
|
*/
|
|
343
322
|
componentWillLoad() {
|
|
344
|
-
|
|
323
|
+
var _a;
|
|
345
324
|
// Don't call handleOptionsChange if we are in slots mode
|
|
346
|
-
if (this.
|
|
325
|
+
if (this.options) {
|
|
347
326
|
this.handleOptionsChange(this.options);
|
|
348
327
|
}
|
|
349
328
|
// Specific initialization for slots mode
|
|
350
|
-
if (this.
|
|
329
|
+
if (!this.options) {
|
|
351
330
|
Promise.resolve().then(() => {
|
|
352
331
|
const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
353
332
|
// Initialize selectedValues with checked items
|
|
@@ -361,8 +340,8 @@ const NvFieldmultiselect = class {
|
|
|
361
340
|
});
|
|
362
341
|
}
|
|
363
342
|
// Initialize the sorted options array with the parsed options for initial rendering
|
|
364
|
-
if (this.
|
|
365
|
-
this.sortedOptions = [...this.
|
|
343
|
+
if (this.options) {
|
|
344
|
+
this.sortedOptions = [...((_a = this.options) !== null && _a !== void 0 ? _a : [])];
|
|
366
345
|
}
|
|
367
346
|
// Apply filtering if the multiselect is filterable and there is a value
|
|
368
347
|
if (this.filterable && this.value) {
|
|
@@ -378,10 +357,8 @@ const NvFieldmultiselect = class {
|
|
|
378
357
|
* Force reorder if options mode in componentDidLoad because of the initial render not trigger @watch
|
|
379
358
|
*/
|
|
380
359
|
componentDidLoad() {
|
|
381
|
-
if (this.
|
|
382
|
-
|
|
383
|
-
this.reorderOptionsContent();
|
|
384
|
-
});
|
|
360
|
+
if (this.options) {
|
|
361
|
+
this.handleOptionsChange(this.options);
|
|
385
362
|
}
|
|
386
363
|
}
|
|
387
364
|
/**
|
|
@@ -406,6 +383,12 @@ const NvFieldmultiselect = class {
|
|
|
406
383
|
else {
|
|
407
384
|
this.handlePopoverClose();
|
|
408
385
|
}
|
|
386
|
+
if (this.options) {
|
|
387
|
+
this.reorderOptionsContent();
|
|
388
|
+
}
|
|
389
|
+
else {
|
|
390
|
+
this.reorderSlotContent();
|
|
391
|
+
}
|
|
409
392
|
}
|
|
410
393
|
/**
|
|
411
394
|
* Listen for the `itemChecked` event emitted by child items.
|
|
@@ -439,41 +422,13 @@ const NvFieldmultiselect = class {
|
|
|
439
422
|
console.warn('Received itemChecked event with undefined or null value'); // Warning log
|
|
440
423
|
}
|
|
441
424
|
}
|
|
442
|
-
/**
|
|
443
|
-
* Emitted when the options change.
|
|
444
|
-
* @param {string | Array<{label: string, value: string, isDivider?: boolean, disabled?: boolean, description?: string, checked?: boolean}>} newValue - The new value of the options.
|
|
445
|
-
*/
|
|
446
425
|
handleOptionsChange(newValue) {
|
|
447
|
-
if (
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
this.parsedOptions = [...parsedOpts];
|
|
454
|
-
}
|
|
455
|
-
catch (error) {
|
|
456
|
-
console.error('Error parsing options:', error);
|
|
457
|
-
this.parsedOptions = [];
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
else if (Array.isArray(newValue)) {
|
|
461
|
-
this.selectedValues = newValue
|
|
462
|
-
.filter(option => option.checked)
|
|
463
|
-
.map(option => option.value);
|
|
464
|
-
this.parsedOptions = [...newValue];
|
|
465
|
-
}
|
|
466
|
-
else {
|
|
467
|
-
this.parsedOptions = [];
|
|
468
|
-
}
|
|
469
|
-
// Wait for the options to be fully loaded
|
|
470
|
-
Promise.resolve().then(() => {
|
|
471
|
-
requestAnimationFrame(() => {
|
|
472
|
-
if (this.modeState === 'options') {
|
|
473
|
-
this.reorderOptionsContent();
|
|
474
|
-
}
|
|
475
|
-
});
|
|
476
|
-
});
|
|
426
|
+
if (!newValue)
|
|
427
|
+
return;
|
|
428
|
+
this.selectedValues = newValue
|
|
429
|
+
.filter(option => option.checked)
|
|
430
|
+
.map(option => option.value);
|
|
431
|
+
this.reorderOptionsContent();
|
|
477
432
|
}
|
|
478
433
|
/**
|
|
479
434
|
* Emitted when the value changes.
|
|
@@ -482,14 +437,6 @@ const NvFieldmultiselect = class {
|
|
|
482
437
|
// Handle value change and update the corresponding multiselect item if it exists
|
|
483
438
|
this.setInitialSelection();
|
|
484
439
|
}
|
|
485
|
-
/**
|
|
486
|
-
* Emitted when the filterable property changes.
|
|
487
|
-
* @param {boolean} newValue - The new value of the filterable property.
|
|
488
|
-
*/
|
|
489
|
-
watchFilterableHandler(newValue) {
|
|
490
|
-
this.isFilterable = newValue;
|
|
491
|
-
this.filterable = newValue;
|
|
492
|
-
}
|
|
493
440
|
// Add a listener for the slot content
|
|
494
441
|
handleSlotChange(event) {
|
|
495
442
|
// Check: we only want to reorder if it's the "content" slot
|
|
@@ -578,7 +525,7 @@ const NvFieldmultiselect = class {
|
|
|
578
525
|
* Reorder the content of the slot.
|
|
579
526
|
*/
|
|
580
527
|
reorderSlotContent() {
|
|
581
|
-
if (this.
|
|
528
|
+
if (this.options)
|
|
582
529
|
return;
|
|
583
530
|
const ul = this.el.querySelector('ul');
|
|
584
531
|
if (!ul)
|
|
@@ -642,7 +589,7 @@ const NvFieldmultiselect = class {
|
|
|
642
589
|
existingEmptyMessage.remove();
|
|
643
590
|
}
|
|
644
591
|
if (!this.filterText.trim()) {
|
|
645
|
-
if (this.
|
|
592
|
+
if (this.options && this.options.length > 0) {
|
|
646
593
|
// Reset options display
|
|
647
594
|
const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
648
595
|
items.forEach(item => {
|
|
@@ -665,11 +612,11 @@ const NvFieldmultiselect = class {
|
|
|
665
612
|
}
|
|
666
613
|
const normalizedFilter = this.normalizeText(this.filterText);
|
|
667
614
|
let hasVisibleItems = false;
|
|
668
|
-
if (this.
|
|
615
|
+
if (this.options && this.options.length > 0) {
|
|
669
616
|
// Filter options mode
|
|
670
617
|
const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
|
|
671
618
|
items.forEach(item => {
|
|
672
|
-
const option = this.
|
|
619
|
+
const option = this.options.find(opt => opt.value === item.getAttribute('value'));
|
|
673
620
|
if (option && !option.isDivider) {
|
|
674
621
|
const matchesFilter = this.normalizeText(option.label).includes(normalizedFilter) ||
|
|
675
622
|
this.normalizeText(option.value).includes(normalizedFilter);
|
|
@@ -754,7 +701,7 @@ const NvFieldmultiselect = class {
|
|
|
754
701
|
* Filter multiselect items in slots mode
|
|
755
702
|
*/
|
|
756
703
|
filterSlotsItems() {
|
|
757
|
-
if (this.
|
|
704
|
+
if (this.options)
|
|
758
705
|
return;
|
|
759
706
|
const ul = this.el.querySelector('ul');
|
|
760
707
|
if (!ul)
|
|
@@ -890,7 +837,7 @@ const NvFieldmultiselect = class {
|
|
|
890
837
|
// Do the reorder and wait a bit before closing
|
|
891
838
|
const handleEscape = async () => {
|
|
892
839
|
this.isHandlingEscape = true; // Disable the hide listener
|
|
893
|
-
if (this.
|
|
840
|
+
if (this.options) {
|
|
894
841
|
this.reorderOptionsContent();
|
|
895
842
|
}
|
|
896
843
|
else {
|
|
@@ -1002,16 +949,13 @@ const NvFieldmultiselect = class {
|
|
|
1002
949
|
* @returns {any} The JSX for the component
|
|
1003
950
|
*/
|
|
1004
951
|
render() {
|
|
1005
|
-
return this.
|
|
1006
|
-
? this.renderOptionsMode()
|
|
1007
|
-
: this.renderSlotsMode();
|
|
952
|
+
return this.options ? this.renderOptionsMode() : this.renderSlotsMode();
|
|
1008
953
|
}
|
|
1009
954
|
static get formAssociated() { return true; }
|
|
1010
955
|
get el() { return index.getElement(this); }
|
|
1011
956
|
static get watchers() { return {
|
|
1012
957
|
"options": ["handleOptionsChange"],
|
|
1013
|
-
"value": ["watchValueHandler"]
|
|
1014
|
-
"filterable": ["watchFilterableHandler"]
|
|
958
|
+
"value": ["watchValueHandler"]
|
|
1015
959
|
}; }
|
|
1016
960
|
};
|
|
1017
961
|
NvFieldmultiselect.style = NvFieldmultiselectStyle0;
|