@nova-design-system/nova-webcomponents 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-9bda5507.js → index-c56424e5.js} +34 -186
- package/dist/cjs/index-c56424e5.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -23
- package/dist/cjs/native.cjs.js.map +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +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 +384 -172
- 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 +95 -103
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +1 -1
- package/dist/cjs/nv-fielddate.cjs.entry.js +45 -11
- package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +128 -42
- package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +84 -60
- 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 +116 -104
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldradio.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldselect.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldslider.cjs.entry.js +668 -0
- package/dist/cjs/nv-fieldslider.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtime.cjs.entry.js +11 -11
- package/dist/cjs/nv-fieldtime.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-tablecolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/nv-calendar/nv-calendar.css +6 -2
- package/dist/collection/components/nv-calendar/nv-calendar.js +247 -169
- package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.utils.js +12 -3
- package/dist/collection/components/nv-calendar/nv-calendar.utils.js.map +1 -1
- package/dist/collection/components/nv-calendar/partials/calendar-actions.js +11 -0
- package/dist/collection/components/nv-calendar/partials/calendar-actions.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/calendar-grid.js +24 -0
- package/dist/collection/components/nv-calendar/partials/calendar-grid.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/calendar-header.js +38 -0
- package/dist/collection/components/nv-calendar/partials/calendar-header.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/calendar-shortcuts.js +22 -0
- package/dist/collection/components/nv-calendar/partials/calendar-shortcuts.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/day-cell.js +31 -0
- package/dist/collection/components/nv-calendar/partials/day-cell.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/index.js +7 -0
- package/dist/collection/components/nv-calendar/partials/index.js.map +1 -0
- package/dist/collection/components/nv-calendar/partials/week-numbers.js +36 -0
- package/dist/collection/components/nv-calendar/partials/week-numbers.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +692 -651
- package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js.map +1 -1
- package/dist/collection/components/nv-calendar/test/partials/calendar-actions.logic.test.js +169 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-actions.logic.test.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js +262 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-header.logic.test.js +208 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-header.logic.test.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js +355 -0
- package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js +250 -0
- package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js.map +1 -0
- package/dist/collection/components/nv-calendar/test/partials/week-numbers.logic.test.js +217 -0
- package/dist/collection/components/nv-calendar/test/partials/week-numbers.logic.test.js.map +1 -0
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +131 -48
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +94 -152
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +20 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +56 -16
- package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
- package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +51 -1
- package/dist/collection/components/nv-fielddate/test/nv-fielddate.logic.test.js +196 -0
- package/dist/collection/components/nv-fielddate/test/nv-fielddate.logic.test.js.map +1 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +165 -41
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +51 -1
- package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +137 -0
- package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js.map +1 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +8 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +173 -106
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +77 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +202 -190
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/{nv-fieldmultiselect.css → styles/nv-fieldmultiselect.css} +61 -4
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +51 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +51 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.css +51 -1
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +264 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +1036 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js +77 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/partials/field-input.js +33 -0
- package/dist/collection/components/nv-fieldslider/partials/field-input.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/partials/range-thumb.js +34 -0
- package/dist/collection/components/nv-fieldslider/partials/range-thumb.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/partials/single-thumb.js +18 -0
- package/dist/collection/components/nv-fieldslider/partials/single-thumb.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/partials/tick-marks.js +18 -0
- package/dist/collection/components/nv-fieldslider/partials/tick-marks.js.map +1 -0
- package/dist/collection/components/nv-fieldslider/styles/nv-fieldslider.css +338 -0
- package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js +159 -0
- package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js.map +1 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +59 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +9 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +45 -1
- 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-fieldtime/styles/nv-fieldtime.css +51 -1
- package/dist/collection/components/nv-icon/nv-icon.js +1 -1
- package/dist/collection/components/nv-icon/nv-icons.js +1 -0
- package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +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.js +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.css +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/interfaces/Column.js.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-alert.js +2 -2
- package/dist/components/nv-avatar.js +2 -2
- 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 +97 -109
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +4 -3
- 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 +53 -25
- package/dist/components/nv-fielddate.js.map +1 -1
- package/dist/components/nv-fielddaterange.js +137 -57
- package/dist/components/nv-fielddaterange.js.map +1 -1
- package/dist/components/nv-fielddropdown.js +98 -72
- 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 +132 -120
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +5 -5
- package/dist/components/nv-fieldnumber.js.map +1 -1
- package/dist/components/nv-fieldpassword.js +5 -5
- package/dist/components/nv-fieldpassword.js.map +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +5 -5
- package/dist/components/nv-fieldselect.js.map +1 -1
- package/dist/components/nv-fieldslider.d.ts +11 -0
- package/dist/components/nv-fieldslider.js +731 -0
- package/dist/components/nv-fieldslider.js.map +1 -0
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +5 -5
- package/dist/components/nv-fieldtextarea.js.map +1 -1
- package/dist/components/nv-fieldtime.js +15 -15
- package/dist/components/nv-fieldtime.js.map +1 -1
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +5 -5
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +2 -2
- package/dist/components/nv-stack.js +2 -2
- package/dist/components/nv-table.js +3 -3
- package/dist/components/nv-tablecolumn.js +1 -1
- package/dist/components/nv-toggle.js +3 -3
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-eb632278.js → p-2ae214d2.js} +3 -3
- package/dist/components/{p-eb632278.js.map → p-2ae214d2.js.map} +1 -1
- package/dist/components/{p-f76bb0c3.js → p-3e32b5a1.js} +5 -5
- package/dist/components/p-3e32b5a1.js.map +1 -0
- package/dist/components/{p-854c32dc.js → p-5e90b9b8.js} +389 -199
- package/dist/components/p-5e90b9b8.js.map +1 -0
- package/dist/components/{p-a2527411.js → p-5ee4015d.js} +3 -3
- package/dist/components/{p-a2527411.js.map → p-5ee4015d.js.map} +1 -1
- package/dist/components/{p-02752770.js → p-6277f746.js} +2 -2
- package/dist/components/{p-02752770.js.map → p-6277f746.js.map} +1 -1
- package/dist/components/p-7935c1cb.js +167 -0
- package/dist/components/p-7935c1cb.js.map +1 -0
- package/dist/components/{p-b48d5a94.js → p-8d92f0e1.js} +4 -4
- package/dist/components/{p-b48d5a94.js.map → p-8d92f0e1.js.map} +1 -1
- package/dist/components/{p-41c56ddc.js → p-95a7581c.js} +5 -5
- package/dist/components/{p-41c56ddc.js.map → p-95a7581c.js.map} +1 -1
- package/dist/components/{p-e00cbb8a.js → p-9e6e26cb.js} +2 -2
- package/dist/components/{p-e00cbb8a.js.map → p-9e6e26cb.js.map} +1 -1
- package/dist/components/p-9fa0de38.js +88 -0
- package/dist/components/p-9fa0de38.js.map +1 -0
- package/dist/components/{p-1c45c0f2.js → p-aff3ed68.js} +24 -177
- package/dist/components/p-aff3ed68.js.map +1 -0
- package/dist/components/{p-608eb9da.js → p-b6d858b2.js} +2 -2
- package/dist/components/{p-608eb9da.js.map → p-b6d858b2.js.map} +1 -1
- package/dist/components/{p-f5cb0a63.js → p-bb6d1e4e.js} +3 -3
- package/dist/components/{p-f5cb0a63.js.map → p-bb6d1e4e.js.map} +1 -1
- package/dist/components/{p-35a70c5e.js → p-c07c32d2.js} +3 -3
- package/dist/components/{p-35a70c5e.js.map → p-c07c32d2.js.map} +1 -1
- package/dist/components/{p-10faa938.js → p-c9006520.js} +5 -5
- package/dist/components/{p-10faa938.js.map → p-c9006520.js.map} +1 -1
- package/dist/components/{p-0a0f6daf.js → p-e28c4707.js} +3 -3
- package/dist/components/{p-0a0f6daf.js.map → p-e28c4707.js.map} +1 -1
- package/dist/components/{p-10b37876.js → p-eabbc885.js} +3 -3
- package/dist/components/{p-10b37876.js.map → p-eabbc885.js.map} +1 -1
- package/dist/esm/{constants-b97e736d.js → constants-4faa1fae.js} +2 -2
- package/dist/esm/{constants-b97e736d.js.map → constants-4faa1fae.js.map} +1 -1
- package/dist/esm/{index-1fb7a9a6.js → index-a1936cd0.js} +35 -186
- package/dist/esm/index-a1936cd0.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -24
- package/dist/esm/native.js.map +1 -1
- package/dist/esm/nv-alert.entry.js +2 -2
- package/dist/esm/nv-avatar.entry.js +2 -2
- package/dist/esm/nv-badge_2.entry.js +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 +2 -2
- package/dist/esm/nv-calendar.entry.js +385 -173
- 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 +96 -104
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +2 -2
- package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
- package/dist/esm/nv-dialog.entry.js +2 -2
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +1 -1
- package/dist/esm/nv-fielddate.entry.js +45 -11
- package/dist/esm/nv-fielddate.entry.js.map +1 -1
- package/dist/esm/nv-fielddaterange.entry.js +128 -42
- package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +84 -60
- 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 +116 -104
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +2 -2
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
- package/dist/esm/nv-fieldpassword.entry.js +2 -2
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
- package/dist/esm/nv-fieldradio.entry.js +1 -1
- package/dist/esm/nv-fieldselect.entry.js +2 -2
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldslider.entry.js +664 -0
- package/dist/esm/nv-fieldslider.entry.js.map +1 -0
- package/dist/esm/nv-fieldtext.entry.js +5 -5
- package/dist/esm/nv-fieldtext.entry.js.map +1 -1
- package/dist/esm/nv-fieldtextarea.entry.js +5 -5
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
- package/dist/esm/nv-fieldtime.entry.js +12 -12
- package/dist/esm/nv-fieldtime.entry.js.map +1 -1
- package/dist/esm/nv-icon.entry.js +4 -4
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-table.entry.js +3 -3
- package/dist/esm/nv-tablecolumn.entry.js +1 -1
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-tooltip.entry.js +3 -3
- package/dist/esm/nv-tooltip.entry.js.map +1 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/index.esm.js.map +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-050d6c6c.entry.js +2 -0
- package/dist/native/{p-4d164ed6.entry.js.map → p-050d6c6c.entry.js.map} +1 -1
- package/dist/native/{p-615947e7.entry.js → p-08ca678c.entry.js} +2 -2
- package/dist/native/p-1a5d3b87.entry.js +2 -0
- package/dist/native/{p-efe6a46c.entry.js.map → p-1a5d3b87.entry.js.map} +1 -1
- package/dist/native/{p-7fd4d13d.entry.js → p-1c1ecd38.entry.js} +2 -2
- package/dist/native/{p-c7b201cd.entry.js → p-1d98477d.entry.js} +2 -2
- package/dist/native/{p-1da72182.entry.js → p-2006f5d4.entry.js} +2 -2
- package/dist/native/p-26cf4938.entry.js +2 -0
- package/dist/native/p-26cf4938.entry.js.map +1 -0
- package/dist/native/p-3817efb2.entry.js +2 -0
- package/dist/native/{p-fc97f071.entry.js.map → p-3817efb2.entry.js.map} +1 -1
- package/dist/native/p-45459dbb.entry.js +2 -0
- package/dist/native/{p-7042ba8a.entry.js.map → p-45459dbb.entry.js.map} +1 -1
- package/dist/native/p-45cbe6e4.entry.js +2 -0
- package/dist/native/{p-9135fdf5.entry.js.map → p-45cbe6e4.entry.js.map} +1 -1
- package/dist/native/p-46428304.entry.js +2 -0
- package/dist/native/p-46428304.entry.js.map +1 -0
- package/dist/native/p-4f9cdf0b.entry.js +2 -0
- package/dist/native/{p-3b7ef609.entry.js → p-58bb90ad.entry.js} +2 -2
- package/dist/native/p-59b07b36.entry.js +2 -0
- package/dist/native/p-59b07b36.entry.js.map +1 -0
- package/dist/native/{p-3cd77d82.entry.js → p-5b6c59e0.entry.js} +2 -2
- package/dist/native/p-6029e51b.entry.js +2 -0
- package/dist/native/{p-244f56ac.entry.js.map → p-6029e51b.entry.js.map} +1 -1
- package/dist/native/{p-08a75cfa.entry.js → p-60c64f2b.entry.js} +2 -2
- package/dist/native/p-64a76565.entry.js +2 -0
- package/dist/native/p-64a76565.entry.js.map +1 -0
- package/dist/native/{p-c67186f8.entry.js → p-83288db0.entry.js} +2 -2
- package/dist/native/p-838f7842.entry.js +2 -0
- package/dist/native/p-838f7842.entry.js.map +1 -0
- package/dist/native/{p-0245863d.entry.js → p-86ab23ea.entry.js} +2 -2
- package/dist/native/p-87784622.entry.js +2 -0
- package/dist/native/p-8fb4e5c0.entry.js +2 -0
- package/dist/native/{p-b94d9f0b.entry.js.map → p-8fb4e5c0.entry.js.map} +1 -1
- package/dist/native/{p-14c07207.entry.js → p-914da1e1.entry.js} +2 -2
- package/dist/native/p-abbe5d69.entry.js +2 -0
- package/dist/native/p-abbe5d69.entry.js.map +1 -0
- package/dist/native/p-abc251aa.entry.js +2 -0
- package/dist/native/p-abc251aa.entry.js.map +1 -0
- package/dist/native/{p-c0f79bac.entry.js → p-ad128108.entry.js} +2 -2
- package/dist/native/{p-e5de64d5.entry.js → p-b5b9190a.entry.js} +2 -2
- package/dist/native/{p-470588c2.entry.js → p-b8f2c1e7.entry.js} +3 -3
- package/dist/native/p-b8f2c1e7.entry.js.map +1 -0
- package/dist/native/{p-b8b6875d.entry.js → p-d040bd61.entry.js} +2 -2
- package/dist/native/p-d0a33e64.js +3 -0
- package/dist/native/p-d0a33e64.js.map +1 -0
- package/dist/native/{p-3953464e.entry.js → p-d21b2da2.entry.js} +3 -3
- package/dist/native/{p-90e6d9dd.entry.js → p-d53e8795.entry.js} +2 -2
- package/dist/native/p-dc7dd7f3.entry.js +2 -0
- package/dist/native/{p-ae7ab110.entry.js.map → p-dc7dd7f3.entry.js.map} +1 -1
- package/dist/native/p-e2c1992e.entry.js +2 -0
- package/dist/native/{p-656c56f0.entry.js.map → p-e2c1992e.entry.js.map} +1 -1
- package/dist/native/{p-f85c08f1.js → p-e2d0a77d.js} +2 -2
- package/dist/native/p-ed6019fe.entry.js +2 -0
- package/dist/native/p-ed6019fe.entry.js.map +1 -0
- package/dist/native/p-f94d7054.entry.js +2 -0
- package/dist/native/{p-49cac014.entry.js.map → p-f94d7054.entry.js.map} +1 -1
- package/dist/native/p-fdea17ce.entry.js +2 -0
- package/dist/native/p-fdea17ce.entry.js.map +1 -0
- package/dist/types/components/nv-calendar/nv-calendar.d.ts +26 -50
- package/dist/types/components/nv-calendar/partials/calendar-actions.d.ts +19 -0
- package/dist/types/components/nv-calendar/partials/calendar-grid.d.ts +46 -0
- package/dist/types/components/nv-calendar/partials/calendar-header.d.ts +38 -0
- package/dist/types/components/nv-calendar/partials/calendar-shortcuts.d.ts +35 -0
- package/dist/types/components/nv-calendar/partials/day-cell.d.ts +35 -0
- package/dist/types/components/nv-calendar/partials/index.d.ts +6 -0
- package/dist/types/components/nv-calendar/partials/week-numbers.d.ts +30 -0
- package/dist/types/components/nv-calendar/test/partials/calendar-actions.logic.test.d.ts +1 -0
- package/dist/types/components/nv-calendar/test/partials/calendar-grid.logic.test.d.ts +1 -0
- package/dist/types/components/nv-calendar/test/partials/calendar-header.logic.test.d.ts +1 -0
- package/dist/types/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.d.ts +1 -0
- package/dist/types/components/nv-calendar/test/partials/day-cell.logic.test.d.ts +1 -0
- package/dist/types/components/nv-calendar/test/partials/week-numbers.logic.test.d.ts +1 -0
- package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +0 -16
- package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
- package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +21 -9
- package/dist/types/components/nv-fielddate/test/nv-fielddate.logic.test.d.ts +1 -0
- package/dist/types/components/nv-fielddaterange/nv-fielddaterange.d.ts +24 -3
- package/dist/types/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.d.ts +1 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +47 -26
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +61 -55
- package/dist/types/components/nv-fieldslider/nv-fieldslider.d.ts +229 -0
- package/dist/types/components/nv-fieldslider/nv-fieldslider.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldslider/nv-fieldslider.utils.d.ts +46 -0
- package/dist/types/components/nv-fieldslider/partials/field-input.d.ts +45 -0
- package/dist/types/components/nv-fieldslider/partials/range-thumb.d.ts +37 -0
- package/dist/types/components/nv-fieldslider/partials/single-thumb.d.ts +35 -0
- package/dist/types/components/nv-fieldslider/partials/tick-marks.d.ts +28 -0
- package/dist/types/components/nv-fieldslider/test/nv-fieldslider.utils.test.d.ts +1 -0
- package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +1 -0
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components.d.ts +402 -54
- package/dist/types/interfaces/Column.d.ts +5 -1
- package/dist/vscode-data.json +121 -9
- package/hydrate/index.js +1664 -584
- package/hydrate/index.mjs +1664 -584
- package/package.json +6 -2
- package/dist/cjs/index-9bda5507.js.map +0 -1
- package/dist/components/p-1c45c0f2.js.map +0 -1
- package/dist/components/p-76646ce9.js +0 -88
- package/dist/components/p-76646ce9.js.map +0 -1
- package/dist/components/p-854c32dc.js.map +0 -1
- package/dist/components/p-9decffb6.js +0 -167
- package/dist/components/p-9decffb6.js.map +0 -1
- package/dist/components/p-f76bb0c3.js.map +0 -1
- package/dist/esm/index-1fb7a9a6.js.map +0 -1
- package/dist/native/p-244f56ac.entry.js +0 -2
- package/dist/native/p-2523eead.entry.js +0 -2
- package/dist/native/p-2523eead.entry.js.map +0 -1
- package/dist/native/p-470588c2.entry.js.map +0 -1
- package/dist/native/p-49cac014.entry.js +0 -2
- package/dist/native/p-4d164ed6.entry.js +0 -2
- package/dist/native/p-4dc1d036.entry.js +0 -2
- package/dist/native/p-4e635fa7.entry.js +0 -2
- package/dist/native/p-4e635fa7.entry.js.map +0 -1
- package/dist/native/p-5d21532a.entry.js +0 -2
- package/dist/native/p-5d21532a.entry.js.map +0 -1
- package/dist/native/p-656c56f0.entry.js +0 -2
- package/dist/native/p-7042ba8a.entry.js +0 -2
- package/dist/native/p-7e154bfd.entry.js +0 -2
- package/dist/native/p-7e154bfd.entry.js.map +0 -1
- package/dist/native/p-7eba904e.entry.js +0 -2
- package/dist/native/p-7eba904e.entry.js.map +0 -1
- package/dist/native/p-9135fdf5.entry.js +0 -2
- package/dist/native/p-ab002252.js +0 -3
- package/dist/native/p-ab002252.js.map +0 -1
- package/dist/native/p-ae7ab110.entry.js +0 -2
- package/dist/native/p-b94d9f0b.entry.js +0 -2
- package/dist/native/p-c71c6f23.entry.js +0 -2
- package/dist/native/p-c71c6f23.entry.js.map +0 -1
- package/dist/native/p-d9a52884.entry.js +0 -2
- package/dist/native/p-d9a52884.entry.js.map +0 -1
- package/dist/native/p-efe6a46c.entry.js +0 -2
- package/dist/native/p-f2ef6771.entry.js +0 -2
- package/dist/native/p-f5f68992.entry.js +0 -2
- package/dist/native/p-f5f68992.entry.js.map +0 -1
- package/dist/native/p-fc97f071.entry.js +0 -2
- /package/dist/native/{p-615947e7.entry.js.map → p-08ca678c.entry.js.map} +0 -0
- /package/dist/native/{p-7fd4d13d.entry.js.map → p-1c1ecd38.entry.js.map} +0 -0
- /package/dist/native/{p-c7b201cd.entry.js.map → p-1d98477d.entry.js.map} +0 -0
- /package/dist/native/{p-1da72182.entry.js.map → p-2006f5d4.entry.js.map} +0 -0
- /package/dist/native/{p-f2ef6771.entry.js.map → p-4f9cdf0b.entry.js.map} +0 -0
- /package/dist/native/{p-3b7ef609.entry.js.map → p-58bb90ad.entry.js.map} +0 -0
- /package/dist/native/{p-3cd77d82.entry.js.map → p-5b6c59e0.entry.js.map} +0 -0
- /package/dist/native/{p-08a75cfa.entry.js.map → p-60c64f2b.entry.js.map} +0 -0
- /package/dist/native/{p-c67186f8.entry.js.map → p-83288db0.entry.js.map} +0 -0
- /package/dist/native/{p-0245863d.entry.js.map → p-86ab23ea.entry.js.map} +0 -0
- /package/dist/native/{p-4dc1d036.entry.js.map → p-87784622.entry.js.map} +0 -0
- /package/dist/native/{p-14c07207.entry.js.map → p-914da1e1.entry.js.map} +0 -0
- /package/dist/native/{p-c0f79bac.entry.js.map → p-ad128108.entry.js.map} +0 -0
- /package/dist/native/{p-e5de64d5.entry.js.map → p-b5b9190a.entry.js.map} +0 -0
- /package/dist/native/{p-b8b6875d.entry.js.map → p-d040bd61.entry.js.map} +0 -0
- /package/dist/native/{p-3953464e.entry.js.map → p-d21b2da2.entry.js.map} +0 -0
- /package/dist/native/{p-90e6d9dd.entry.js.map → p-d53e8795.entry.js.map} +0 -0
- /package/dist/native/{p-f85c08f1.js.map → p-e2d0a77d.js.map} +0 -0
|
@@ -20,10 +20,6 @@ export class NvFielddropdown {
|
|
|
20
20
|
* accessibility.
|
|
21
21
|
*/
|
|
22
22
|
this.inputId = uuidv4();
|
|
23
|
-
/**
|
|
24
|
-
* State of the dropdown popover.
|
|
25
|
-
*/
|
|
26
|
-
this.open = false;
|
|
27
23
|
/**
|
|
28
24
|
* The autocomplete prop helps users fill out the input field faster by
|
|
29
25
|
* suggesting entries they've used before, like their email or address.
|
|
@@ -36,12 +32,6 @@ export class NvFielddropdown {
|
|
|
36
32
|
* before submitting the form.
|
|
37
33
|
*/
|
|
38
34
|
this.required = false;
|
|
39
|
-
/**
|
|
40
|
-
* Alters the input field's appearance to indicate an error, helping users
|
|
41
|
-
* identify fields that need correction.
|
|
42
|
-
* @validator error
|
|
43
|
-
*/
|
|
44
|
-
this.error = false;
|
|
45
35
|
/**
|
|
46
36
|
* Display the input field's content without allowing users to change it.
|
|
47
37
|
* Users can still click on it, select, and copy the text, but they won't be
|
|
@@ -54,6 +44,20 @@ export class NvFielddropdown {
|
|
|
54
44
|
* clicks or touches.
|
|
55
45
|
*/
|
|
56
46
|
this.disabled = false;
|
|
47
|
+
/**
|
|
48
|
+
* Alters the input field's appearance to indicate an error, helping users
|
|
49
|
+
* identify fields that need correction.
|
|
50
|
+
* @validator error
|
|
51
|
+
*/
|
|
52
|
+
this.error = false;
|
|
53
|
+
/**
|
|
54
|
+
* Defines the maximum height of the multiselect list when open.
|
|
55
|
+
*/
|
|
56
|
+
this.maxHeight = '';
|
|
57
|
+
/**
|
|
58
|
+
* State of the dropdown popover.
|
|
59
|
+
*/
|
|
60
|
+
this.open = false;
|
|
57
61
|
/**
|
|
58
62
|
* The text to display when no items match the filter.
|
|
59
63
|
*/
|
|
@@ -62,6 +66,11 @@ export class NvFielddropdown {
|
|
|
62
66
|
* Enables or disables the filtering feature for the dropdown items.
|
|
63
67
|
*/
|
|
64
68
|
this.filterable = false;
|
|
69
|
+
/**
|
|
70
|
+
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
71
|
+
* @default 300
|
|
72
|
+
*/
|
|
73
|
+
this.debounceDelay = 300;
|
|
65
74
|
/**
|
|
66
75
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
67
76
|
* is equivalent to setting the native autofocus attribute on an <input>
|
|
@@ -75,7 +84,9 @@ export class NvFielddropdown {
|
|
|
75
84
|
//#endregion PROPERTIES
|
|
76
85
|
/****************************************************************************/
|
|
77
86
|
//#region STATE
|
|
78
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* The text entered by the user for filtering dropdown items.
|
|
89
|
+
*/
|
|
79
90
|
this.filterText = '';
|
|
80
91
|
this.selectedValues = new Set();
|
|
81
92
|
this.handleInputContainerClick = (event) => {
|
|
@@ -106,8 +117,15 @@ export class NvFielddropdown {
|
|
|
106
117
|
}
|
|
107
118
|
const input = event.target;
|
|
108
119
|
this.open = true;
|
|
109
|
-
|
|
110
|
-
this.
|
|
120
|
+
// Clear any existing timer
|
|
121
|
+
if (this.debounceTimer) {
|
|
122
|
+
window.clearTimeout(this.debounceTimer);
|
|
123
|
+
}
|
|
124
|
+
// Set a new timer for filtering
|
|
125
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
126
|
+
this.filterText = input.value.toLowerCase();
|
|
127
|
+
this.filterItems();
|
|
128
|
+
}, this.debounceDelay);
|
|
111
129
|
};
|
|
112
130
|
this.handleInputFocus = () => {
|
|
113
131
|
if (this.disabled || this.readonly)
|
|
@@ -143,6 +161,31 @@ export class NvFielddropdown {
|
|
|
143
161
|
this.filterItems();
|
|
144
162
|
};
|
|
145
163
|
}
|
|
164
|
+
//#endregion EVENTS
|
|
165
|
+
/****************************************************************************/
|
|
166
|
+
//#region WATCHERS
|
|
167
|
+
handleOptionsChange(newValue) {
|
|
168
|
+
var _a;
|
|
169
|
+
if (!newValue)
|
|
170
|
+
return;
|
|
171
|
+
if (!this.value) {
|
|
172
|
+
const defaultValue = newValue.find(option => option.selected);
|
|
173
|
+
this.value = (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value) !== null && _a !== void 0 ? _a : '';
|
|
174
|
+
this.updateSelectedItem(this.value);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
watchValueHandler(newValue) {
|
|
178
|
+
this.valueChanged.emit(newValue);
|
|
179
|
+
}
|
|
180
|
+
//#endregion WATCHERS
|
|
181
|
+
/****************************************************************************/
|
|
182
|
+
//#region LISTENERS
|
|
183
|
+
handleOpenChanged(event) {
|
|
184
|
+
// Stop propagation to prevent the event from affecting parent components like dialogs
|
|
185
|
+
event.stopPropagation();
|
|
186
|
+
// Update `open` based on the popover state
|
|
187
|
+
this.open = event.detail;
|
|
188
|
+
}
|
|
146
189
|
handleDropdownItemSelected(event) {
|
|
147
190
|
if (this.disabled || this.readonly)
|
|
148
191
|
return;
|
|
@@ -159,25 +202,6 @@ export class NvFielddropdown {
|
|
|
159
202
|
this.value = event.detail.value;
|
|
160
203
|
this.open = false;
|
|
161
204
|
}
|
|
162
|
-
handleOpenChanged(event) {
|
|
163
|
-
// Stop propagation to prevent the event from affecting parent components like dialogs
|
|
164
|
-
event.stopPropagation();
|
|
165
|
-
// Update `open` based on the popover state
|
|
166
|
-
this.open = event.detail;
|
|
167
|
-
}
|
|
168
|
-
watchValueHandler(newValue) {
|
|
169
|
-
this.valueChanged.emit(newValue);
|
|
170
|
-
}
|
|
171
|
-
handleOptionsChange(newValue) {
|
|
172
|
-
var _a;
|
|
173
|
-
if (!newValue)
|
|
174
|
-
return;
|
|
175
|
-
if (!this.value) {
|
|
176
|
-
const defaultValue = newValue.find(option => option.selected);
|
|
177
|
-
this.value = (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value) !== null && _a !== void 0 ? _a : '';
|
|
178
|
-
this.updateSelectedItem(this.value);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
205
|
handleBlur(event) {
|
|
182
206
|
const target = event.relatedTarget;
|
|
183
207
|
if (!(target instanceof Node) || !this.el.contains(target)) {
|
|
@@ -219,7 +243,27 @@ export class NvFielddropdown {
|
|
|
219
243
|
this.open = false;
|
|
220
244
|
}
|
|
221
245
|
}
|
|
222
|
-
//#endregion
|
|
246
|
+
//#endregion LISTENERS
|
|
247
|
+
/****************************************************************************/
|
|
248
|
+
//#region LIFECYCLE
|
|
249
|
+
componentWillLoad() {
|
|
250
|
+
this.resetFilter();
|
|
251
|
+
if (this.filterable && this.filterText) {
|
|
252
|
+
this.filterItems();
|
|
253
|
+
}
|
|
254
|
+
if (this.options) {
|
|
255
|
+
this.handleOptionsChange(this.options);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
componentDidLoad() {
|
|
259
|
+
if (this.value) {
|
|
260
|
+
this.updateSelectedItem(this.value);
|
|
261
|
+
}
|
|
262
|
+
if (this.inputElement) {
|
|
263
|
+
this.inputElement.value = this.getSelectedLabel();
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
//#endregion LIFECYCLE
|
|
223
267
|
/****************************************************************************/
|
|
224
268
|
//#region METHODS
|
|
225
269
|
/**
|
|
@@ -308,32 +352,12 @@ export class NvFielddropdown {
|
|
|
308
352
|
}
|
|
309
353
|
//#endregion METHODS
|
|
310
354
|
/****************************************************************************/
|
|
311
|
-
//#region LIFECYCLE
|
|
312
|
-
componentWillLoad() {
|
|
313
|
-
this.resetFilter();
|
|
314
|
-
if (this.filterable && this.filterText) {
|
|
315
|
-
this.filterItems();
|
|
316
|
-
}
|
|
317
|
-
if (this.options) {
|
|
318
|
-
this.handleOptionsChange(this.options);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
componentDidLoad() {
|
|
322
|
-
if (this.value) {
|
|
323
|
-
this.updateSelectedItem(this.value);
|
|
324
|
-
}
|
|
325
|
-
if (this.inputElement) {
|
|
326
|
-
this.inputElement.value = this.getSelectedLabel();
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
//#endregion LIFECYCLE
|
|
330
|
-
/****************************************************************************/
|
|
331
355
|
//#region RENDER
|
|
332
356
|
render() {
|
|
333
357
|
var _a;
|
|
334
|
-
return (h(Host, { key: '
|
|
335
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
336
|
-
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '
|
|
358
|
+
return (h(Host, { key: '3864f366575665c4730dde8fd0d8e37c4ee11d82', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '8ce42f691251468c6c054464ee3695e2bea90bd5', htmlFor: this.inputId }, h("slot", { key: '7e779704e1c3f9f6ee71455679c0e1d5d4ee8795', name: "label" }, this.label))), h("nv-popover", { key: '82cdd318e195ef44513684afba0e9c9772cad448', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '1189c8fd06db511cb51721ac14cdc54ef286691c', class: "input-wrapper", slot: "trigger" }, h("slot", { key: '9069907e055d77a19c30c045e29eaf4bf998f9a0', name: "before-input" }), h("div", { key: '2c57f017b25754d4b5baf44e3457e95256dfdccf', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '939e749473e4df95a28fcf98e8b6d455408bff71', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h("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 })) : (h("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.filterable && this.filterText && this.open && (h("nv-iconbutton", { key: 'dcf54042b261665e5317ac122a93ca12fcedd9bc', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (h("nv-icon", { key: '3551957d94021648d731f97c1ba7ecdc8a325c15', name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'e8576d20f760219f236aa9ba52a34f762cc8d23e', "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 })), h("slot", { key: '48e9ae570e34cde3d20594a3f6518298ebbad02e', name: "after-input" })), h("div", { key: 'cec0a670f4158ca91aa45dcee7a5c25a584226f9', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h("ul", null, this.options.map(option => (h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (h("slot", { name: "content" })))), (this.description ||
|
|
359
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: 'e24dbfc170fb20e48ca2a474508a7c9beac6b87e', class: "description" }, h("slot", { key: '3b4429e2dd0b4f070309b00c6cba94cd343e7165', name: "description" }, this.description))), (this.errorDescription ||
|
|
360
|
+
this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'b59ecbf446b142840f5c5933c505900abf126378', hidden: !this.error, class: "error-description" }, h("slot", { key: 'bf3c16d6a9fdc7a10741518153465a736eff808c', name: "error-description" }, this.errorDescription)))));
|
|
337
361
|
}
|
|
338
362
|
static get is() { return "nv-fielddropdown"; }
|
|
339
363
|
static get formAssociated() { return true; }
|
|
@@ -369,7 +393,7 @@ export class NvFielddropdown {
|
|
|
369
393
|
"reflect": true,
|
|
370
394
|
"defaultValue": "uuidv4()"
|
|
371
395
|
},
|
|
372
|
-
"
|
|
396
|
+
"name": {
|
|
373
397
|
"type": "string",
|
|
374
398
|
"mutable": false,
|
|
375
399
|
"complexType": {
|
|
@@ -381,14 +405,14 @@ export class NvFielddropdown {
|
|
|
381
405
|
"optional": false,
|
|
382
406
|
"docs": {
|
|
383
407
|
"tags": [],
|
|
384
|
-
"text": "
|
|
408
|
+
"text": "Defines the name attribute of the input field, which is crucial for form\nsubmission. This value is used as the key in the key-value pair sent to\nthe server, representing the input's data in form submissions. It should be\nunique within the form to avoid conflicts."
|
|
385
409
|
},
|
|
386
410
|
"getter": false,
|
|
387
411
|
"setter": false,
|
|
388
|
-
"attribute": "
|
|
412
|
+
"attribute": "name",
|
|
389
413
|
"reflect": true
|
|
390
414
|
},
|
|
391
|
-
"
|
|
415
|
+
"label": {
|
|
392
416
|
"type": "string",
|
|
393
417
|
"mutable": false,
|
|
394
418
|
"complexType": {
|
|
@@ -400,14 +424,14 @@ export class NvFielddropdown {
|
|
|
400
424
|
"optional": false,
|
|
401
425
|
"docs": {
|
|
402
426
|
"tags": [],
|
|
403
|
-
"text": "
|
|
427
|
+
"text": "Lets you define the text that explains what users should enter in the text\ninput field. It's a crucial element for making forms clear and\nuser-friendly."
|
|
404
428
|
},
|
|
405
429
|
"getter": false,
|
|
406
430
|
"setter": false,
|
|
407
|
-
"attribute": "
|
|
431
|
+
"attribute": "label",
|
|
408
432
|
"reflect": true
|
|
409
433
|
},
|
|
410
|
-
"
|
|
434
|
+
"description": {
|
|
411
435
|
"type": "string",
|
|
412
436
|
"mutable": false,
|
|
413
437
|
"complexType": {
|
|
@@ -419,14 +443,14 @@ export class NvFielddropdown {
|
|
|
419
443
|
"optional": false,
|
|
420
444
|
"docs": {
|
|
421
445
|
"tags": [],
|
|
422
|
-
"text": "
|
|
446
|
+
"text": "Add helpful hints or extra information under the text input field. This is\nwhere you can clarify what users should enter or provide additional\ninstructions, making the form easier to fill out correctly."
|
|
423
447
|
},
|
|
424
448
|
"getter": false,
|
|
425
449
|
"setter": false,
|
|
426
|
-
"attribute": "
|
|
450
|
+
"attribute": "description",
|
|
427
451
|
"reflect": true
|
|
428
452
|
},
|
|
429
|
-
"
|
|
453
|
+
"placeholder": {
|
|
430
454
|
"type": "string",
|
|
431
455
|
"mutable": false,
|
|
432
456
|
"complexType": {
|
|
@@ -438,33 +462,13 @@ export class NvFielddropdown {
|
|
|
438
462
|
"optional": false,
|
|
439
463
|
"docs": {
|
|
440
464
|
"tags": [],
|
|
441
|
-
"text": "
|
|
465
|
+
"text": "Display temporary text inside the input field to give users a hint about\nwhat to type. It's a great way to provide examples or suggestions directly\nin the field before they start typing.\nThe placeholder is displayed only when the filterable option is enabled."
|
|
442
466
|
},
|
|
443
467
|
"getter": false,
|
|
444
468
|
"setter": false,
|
|
445
|
-
"attribute": "
|
|
469
|
+
"attribute": "placeholder",
|
|
446
470
|
"reflect": true
|
|
447
471
|
},
|
|
448
|
-
"open": {
|
|
449
|
-
"type": "boolean",
|
|
450
|
-
"mutable": true,
|
|
451
|
-
"complexType": {
|
|
452
|
-
"original": "boolean",
|
|
453
|
-
"resolved": "boolean",
|
|
454
|
-
"references": {}
|
|
455
|
-
},
|
|
456
|
-
"required": false,
|
|
457
|
-
"optional": false,
|
|
458
|
-
"docs": {
|
|
459
|
-
"tags": [],
|
|
460
|
-
"text": "State of the dropdown popover."
|
|
461
|
-
},
|
|
462
|
-
"getter": false,
|
|
463
|
-
"setter": false,
|
|
464
|
-
"attribute": "open",
|
|
465
|
-
"reflect": true,
|
|
466
|
-
"defaultValue": "false"
|
|
467
|
-
},
|
|
468
472
|
"autocomplete": {
|
|
469
473
|
"type": "string",
|
|
470
474
|
"mutable": false,
|
|
@@ -530,6 +534,46 @@ export class NvFielddropdown {
|
|
|
530
534
|
"reflect": true,
|
|
531
535
|
"defaultValue": "false"
|
|
532
536
|
},
|
|
537
|
+
"readonly": {
|
|
538
|
+
"type": "boolean",
|
|
539
|
+
"mutable": false,
|
|
540
|
+
"complexType": {
|
|
541
|
+
"original": "boolean",
|
|
542
|
+
"resolved": "boolean",
|
|
543
|
+
"references": {}
|
|
544
|
+
},
|
|
545
|
+
"required": false,
|
|
546
|
+
"optional": false,
|
|
547
|
+
"docs": {
|
|
548
|
+
"tags": [],
|
|
549
|
+
"text": "Display the input field's content without allowing users to change it.\nUsers can still click on it, select, and copy the text, but they won't be\nable to type or delete anything."
|
|
550
|
+
},
|
|
551
|
+
"getter": false,
|
|
552
|
+
"setter": false,
|
|
553
|
+
"attribute": "readonly",
|
|
554
|
+
"reflect": true,
|
|
555
|
+
"defaultValue": "false"
|
|
556
|
+
},
|
|
557
|
+
"disabled": {
|
|
558
|
+
"type": "boolean",
|
|
559
|
+
"mutable": false,
|
|
560
|
+
"complexType": {
|
|
561
|
+
"original": "boolean",
|
|
562
|
+
"resolved": "boolean",
|
|
563
|
+
"references": {}
|
|
564
|
+
},
|
|
565
|
+
"required": false,
|
|
566
|
+
"optional": false,
|
|
567
|
+
"docs": {
|
|
568
|
+
"tags": [],
|
|
569
|
+
"text": "The disabled prop lets you turn off the input field so that users can't\ntype in it. When disabled, the field is grayed out and won't respond to\nclicks or touches."
|
|
570
|
+
},
|
|
571
|
+
"getter": false,
|
|
572
|
+
"setter": false,
|
|
573
|
+
"attribute": "disabled",
|
|
574
|
+
"reflect": true,
|
|
575
|
+
"defaultValue": "false"
|
|
576
|
+
},
|
|
533
577
|
"error": {
|
|
534
578
|
"type": "boolean",
|
|
535
579
|
"mutable": false,
|
|
@@ -575,29 +619,29 @@ export class NvFielddropdown {
|
|
|
575
619
|
"attribute": "error-description",
|
|
576
620
|
"reflect": true
|
|
577
621
|
},
|
|
578
|
-
"
|
|
579
|
-
"type": "
|
|
622
|
+
"maxHeight": {
|
|
623
|
+
"type": "string",
|
|
580
624
|
"mutable": false,
|
|
581
625
|
"complexType": {
|
|
582
|
-
"original": "
|
|
583
|
-
"resolved": "
|
|
626
|
+
"original": "string",
|
|
627
|
+
"resolved": "string",
|
|
584
628
|
"references": {}
|
|
585
629
|
},
|
|
586
630
|
"required": false,
|
|
587
631
|
"optional": false,
|
|
588
632
|
"docs": {
|
|
589
633
|
"tags": [],
|
|
590
|
-
"text": "
|
|
634
|
+
"text": "Defines the maximum height of the multiselect list when open."
|
|
591
635
|
},
|
|
592
636
|
"getter": false,
|
|
593
637
|
"setter": false,
|
|
594
|
-
"attribute": "
|
|
638
|
+
"attribute": "max-height",
|
|
595
639
|
"reflect": true,
|
|
596
|
-
"defaultValue": "
|
|
640
|
+
"defaultValue": "''"
|
|
597
641
|
},
|
|
598
|
-
"
|
|
642
|
+
"open": {
|
|
599
643
|
"type": "boolean",
|
|
600
|
-
"mutable":
|
|
644
|
+
"mutable": true,
|
|
601
645
|
"complexType": {
|
|
602
646
|
"original": "boolean",
|
|
603
647
|
"resolved": "boolean",
|
|
@@ -607,11 +651,11 @@ export class NvFielddropdown {
|
|
|
607
651
|
"optional": false,
|
|
608
652
|
"docs": {
|
|
609
653
|
"tags": [],
|
|
610
|
-
"text": "
|
|
654
|
+
"text": "State of the dropdown popover."
|
|
611
655
|
},
|
|
612
656
|
"getter": false,
|
|
613
657
|
"setter": false,
|
|
614
|
-
"attribute": "
|
|
658
|
+
"attribute": "open",
|
|
615
659
|
"reflect": true,
|
|
616
660
|
"defaultValue": "false"
|
|
617
661
|
},
|
|
@@ -675,6 +719,29 @@ export class NvFielddropdown {
|
|
|
675
719
|
"getter": false,
|
|
676
720
|
"setter": false
|
|
677
721
|
},
|
|
722
|
+
"debounceDelay": {
|
|
723
|
+
"type": "number",
|
|
724
|
+
"mutable": false,
|
|
725
|
+
"complexType": {
|
|
726
|
+
"original": "number",
|
|
727
|
+
"resolved": "number",
|
|
728
|
+
"references": {}
|
|
729
|
+
},
|
|
730
|
+
"required": false,
|
|
731
|
+
"optional": false,
|
|
732
|
+
"docs": {
|
|
733
|
+
"tags": [{
|
|
734
|
+
"name": "default",
|
|
735
|
+
"text": "300"
|
|
736
|
+
}],
|
|
737
|
+
"text": "Delay in milliseconds before the search is triggered when typing in the filter input."
|
|
738
|
+
},
|
|
739
|
+
"getter": false,
|
|
740
|
+
"setter": false,
|
|
741
|
+
"attribute": "debounce-delay",
|
|
742
|
+
"reflect": true,
|
|
743
|
+
"defaultValue": "300"
|
|
744
|
+
},
|
|
678
745
|
"autofocus": {
|
|
679
746
|
"type": "boolean",
|
|
680
747
|
"mutable": false,
|
|
@@ -791,23 +858,23 @@ export class NvFielddropdown {
|
|
|
791
858
|
static get elementRef() { return "el"; }
|
|
792
859
|
static get watchers() {
|
|
793
860
|
return [{
|
|
794
|
-
"propName": "value",
|
|
795
|
-
"methodName": "watchValueHandler"
|
|
796
|
-
}, {
|
|
797
861
|
"propName": "options",
|
|
798
862
|
"methodName": "handleOptionsChange"
|
|
863
|
+
}, {
|
|
864
|
+
"propName": "value",
|
|
865
|
+
"methodName": "watchValueHandler"
|
|
799
866
|
}];
|
|
800
867
|
}
|
|
801
868
|
static get listeners() {
|
|
802
869
|
return [{
|
|
803
|
-
"name": "
|
|
804
|
-
"method": "
|
|
870
|
+
"name": "openChanged",
|
|
871
|
+
"method": "handleOpenChanged",
|
|
805
872
|
"target": undefined,
|
|
806
873
|
"capture": false,
|
|
807
874
|
"passive": false
|
|
808
875
|
}, {
|
|
809
|
-
"name": "
|
|
810
|
-
"method": "
|
|
876
|
+
"name": "dropdownItemSelected",
|
|
877
|
+
"method": "handleDropdownItemSelected",
|
|
811
878
|
"target": undefined,
|
|
812
879
|
"capture": false,
|
|
813
880
|
"passive": false
|