@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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Month data structure
|
|
4
|
+
*/
|
|
5
|
+
interface MonthData {
|
|
6
|
+
/** Month value (0-11) */
|
|
7
|
+
value: number;
|
|
8
|
+
/** Month label */
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Props for the CalendarHeader component
|
|
13
|
+
*/
|
|
14
|
+
interface CalendarHeaderProps {
|
|
15
|
+
/** Current displayed date */
|
|
16
|
+
currentDate: Date;
|
|
17
|
+
/** Array of localized months */
|
|
18
|
+
months: MonthData[];
|
|
19
|
+
/** Total number of calendars being displayed */
|
|
20
|
+
numberOfCalendars: number;
|
|
21
|
+
/** Index of this calendar (0-based) */
|
|
22
|
+
calendarIndex: number;
|
|
23
|
+
/** Month offset for this calendar */
|
|
24
|
+
monthOffset: number;
|
|
25
|
+
/** Handler for month navigation */
|
|
26
|
+
onMonthChange: (direction: number) => void;
|
|
27
|
+
/** Handler for month selection from dropdown */
|
|
28
|
+
onMonthSelect: (event: Event, offset: number) => void;
|
|
29
|
+
/** Handler for year input change */
|
|
30
|
+
onYearChange: (event: Event, offset: number) => void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Renders the calendar header with navigation and date controls
|
|
34
|
+
* @param {CalendarHeaderProps} props - Component properties
|
|
35
|
+
* @returns {JSX.Element} JSX element representing the calendar header
|
|
36
|
+
*/
|
|
37
|
+
export declare const CalendarHeader: FunctionalComponent<CalendarHeaderProps>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Shortcut data structure
|
|
4
|
+
*/
|
|
5
|
+
interface ShortcutData {
|
|
6
|
+
/** Label of the shortcut */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Selected date value for single selection mode */
|
|
9
|
+
singleValue?: string;
|
|
10
|
+
/** Date range values for range selection mode */
|
|
11
|
+
rangeValue?: {
|
|
12
|
+
/** ISO string for start date */
|
|
13
|
+
start: string;
|
|
14
|
+
/** ISO string for end date */
|
|
15
|
+
end: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Props for the CalendarShortcuts component
|
|
20
|
+
*/
|
|
21
|
+
interface CalendarShortcutsProps {
|
|
22
|
+
/** Array of shortcut configurations */
|
|
23
|
+
shortcuts: ShortcutData[];
|
|
24
|
+
/** Placement of shortcuts in the calendar */
|
|
25
|
+
placement: 'bottom' | 'left' | 'right';
|
|
26
|
+
/** Handler for shortcut selection */
|
|
27
|
+
onShortcutClick: (shortcut: ShortcutData) => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Renders the shortcuts for quick date selection
|
|
31
|
+
* @param {CalendarShortcutsProps} props - Component properties
|
|
32
|
+
* @returns {JSX.Element | null} JSX element representing the shortcuts or null if no shortcuts
|
|
33
|
+
*/
|
|
34
|
+
export declare const CalendarShortcuts: FunctionalComponent<CalendarShortcutsProps>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the DayCell component
|
|
4
|
+
*/
|
|
5
|
+
interface DayCellProps {
|
|
6
|
+
/** Date object for this cell */
|
|
7
|
+
date: Date;
|
|
8
|
+
/** Day number (1-31) */
|
|
9
|
+
dayOfMonth: number;
|
|
10
|
+
/** Whether this day belongs to the current month */
|
|
11
|
+
isCurrentMonth: boolean;
|
|
12
|
+
/** Whether this day is selected (single mode) */
|
|
13
|
+
isSelected: boolean;
|
|
14
|
+
/** Whether this day is in a selected range */
|
|
15
|
+
isInRange: boolean;
|
|
16
|
+
/** Whether this day is the start of a range */
|
|
17
|
+
isStart: boolean;
|
|
18
|
+
/** Whether this day is the end of a range */
|
|
19
|
+
isEnd: boolean;
|
|
20
|
+
/** Whether this day is today */
|
|
21
|
+
isToday: boolean;
|
|
22
|
+
/** Whether this day is disabled */
|
|
23
|
+
isDisabled: boolean;
|
|
24
|
+
/** Selection type for conditional styling */
|
|
25
|
+
selectionType: 'single' | 'range';
|
|
26
|
+
/** Click handler for day selection */
|
|
27
|
+
onClick?: (date: Date) => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Renders a single day cell in the calendar grid
|
|
31
|
+
* @param {DayCellProps} props - Component properties
|
|
32
|
+
* @returns {JSX.Element} JSX element representing a day cell
|
|
33
|
+
*/
|
|
34
|
+
export declare const DayCell: FunctionalComponent<DayCellProps>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DayCell } from './day-cell';
|
|
2
|
+
export { CalendarActions } from './calendar-actions';
|
|
3
|
+
export { WeekNumbers } from './week-numbers';
|
|
4
|
+
export { CalendarShortcuts } from './calendar-shortcuts';
|
|
5
|
+
export { CalendarHeader } from './calendar-header';
|
|
6
|
+
export { CalendarGrid } from './calendar-grid';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Week data structure
|
|
4
|
+
*/
|
|
5
|
+
interface WeekData {
|
|
6
|
+
/** Date object for this day */
|
|
7
|
+
date: Date;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Props for the WeekNumbers component
|
|
11
|
+
*/
|
|
12
|
+
interface WeekNumbersProps {
|
|
13
|
+
/** Array of weeks with their days */
|
|
14
|
+
weeks: Array<Array<WeekData>>;
|
|
15
|
+
/** Localized text for "week" abbreviation */
|
|
16
|
+
localizedWeekText: string;
|
|
17
|
+
/** Current selection type */
|
|
18
|
+
selectionType: 'single' | 'range';
|
|
19
|
+
/** Handler for week selection in range mode */
|
|
20
|
+
onWeekSelect: (dates: Date[], calendarIndex: number) => void;
|
|
21
|
+
/** Calendar index for multi-calendar setups */
|
|
22
|
+
calendarIndex: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Renders the week numbers column for the calendar
|
|
26
|
+
* @param {WeekNumbersProps} props - Component properties
|
|
27
|
+
* @returns {JSX.Element} JSX element representing the week numbers
|
|
28
|
+
*/
|
|
29
|
+
export declare const WeekNumbers: FunctionalComponent<WeekNumbersProps>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -40,20 +40,6 @@ export declare class NvDatagrid {
|
|
|
40
40
|
* @default []
|
|
41
41
|
*/
|
|
42
42
|
readonly columns: Column[];
|
|
43
|
-
/**
|
|
44
|
-
* The data to display in the data grid.
|
|
45
|
-
* It can be passed directly as an array of objects or as a JSON string.
|
|
46
|
-
* If both `data` and `dataJson` are provided, `data` takes precedence.
|
|
47
|
-
* @example `[{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]`
|
|
48
|
-
*/
|
|
49
|
-
readonly dataJson?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The columns to display in the data grid.
|
|
52
|
-
* It can be passed directly as an array of objects or as a JSON string.
|
|
53
|
-
* If both `columns` and `columnsJson` are provided, `columns` takes precedence.
|
|
54
|
-
* @example `[{"header":"Name","accessor":"name"},{"header":"Age","accessor":"age"},{"header":"Email","accessor":"email"}]`
|
|
55
|
-
*/
|
|
56
|
-
readonly columnsJson?: string;
|
|
57
43
|
/**
|
|
58
44
|
* Fallback value to be displayed when data is not available
|
|
59
45
|
* @default 'N/A'
|
|
@@ -173,9 +159,7 @@ export declare class NvDatagrid {
|
|
|
173
159
|
private getPagination;
|
|
174
160
|
/****************************************************************************/
|
|
175
161
|
parseColumns(newValue: Column[], oldValue?: Column[]): void;
|
|
176
|
-
parseJsonColumns(newValue: string | undefined, oldValue: Column[]): void;
|
|
177
162
|
parseData(newValue: any[], oldValue?: any[]): void;
|
|
178
|
-
parseJsonData(newValue: string | undefined): void;
|
|
179
163
|
handleParsedChange(): void;
|
|
180
164
|
handleGlobalFilterSearchTerm(newValue: string): void;
|
|
181
165
|
handlePaginationState(newValue: PaginationState, oldValue: PaginationState): void;
|
|
@@ -16,6 +16,10 @@ export declare class NvDatagridcolumn {
|
|
|
16
16
|
* Whether the column need to be repeated with the template.
|
|
17
17
|
*/
|
|
18
18
|
readonly repeatTemplate: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the group header of the column.
|
|
21
|
+
*/
|
|
22
|
+
readonly group?: string;
|
|
19
23
|
/****************************************************************************/
|
|
20
24
|
render(): any;
|
|
21
25
|
}
|
|
@@ -65,8 +65,9 @@ export declare class NvFielddate {
|
|
|
65
65
|
readonly autofocus: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* The initial value of the input (date in string format).
|
|
68
|
+
* @bind value
|
|
68
69
|
*/
|
|
69
|
-
|
|
70
|
+
value: string;
|
|
70
71
|
/**
|
|
71
72
|
* The current value of the input date in string format.
|
|
72
73
|
*/
|
|
@@ -149,7 +150,7 @@ export declare class NvFielddate {
|
|
|
149
150
|
private handleInputContainerClick;
|
|
150
151
|
/**
|
|
151
152
|
* Handles the input event on the input element.
|
|
152
|
-
* Updates the singleValue and emits the
|
|
153
|
+
* Updates the singleValue and emits the valueChanged event.
|
|
153
154
|
* @param {Event} event - The input event.
|
|
154
155
|
*/
|
|
155
156
|
private handleInput;
|
|
@@ -162,6 +163,21 @@ export declare class NvFielddate {
|
|
|
162
163
|
* @param {FocusEvent} event - The focus event.
|
|
163
164
|
*/
|
|
164
165
|
private handleFocus;
|
|
166
|
+
/**
|
|
167
|
+
* Prevents the valueChanged event from the calendar from propagating up.
|
|
168
|
+
* @param {CustomEvent} event - The valueChanged event from nv-calendar.
|
|
169
|
+
*/
|
|
170
|
+
private handleCalendarValueChanged;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the reference to the popover element.
|
|
173
|
+
* @param {HTMLNvPopoverElement} el - The popover element.
|
|
174
|
+
*/
|
|
175
|
+
private setPopoverRef;
|
|
176
|
+
/**
|
|
177
|
+
* Sets the reference to the input element.
|
|
178
|
+
* @param {HTMLInputElement} el - The input element.
|
|
179
|
+
*/
|
|
180
|
+
private setInputRef;
|
|
165
181
|
/****************************************************************************/
|
|
166
182
|
connectedCallback(): void;
|
|
167
183
|
componentWillLoad(): void;
|
|
@@ -169,14 +185,10 @@ export declare class NvFielddate {
|
|
|
169
185
|
disconnectedCallback(): void;
|
|
170
186
|
/****************************************************************************/
|
|
171
187
|
/**
|
|
172
|
-
*
|
|
188
|
+
* Emitted when the value changes (unified value binding).
|
|
189
|
+
* @bind value
|
|
173
190
|
*/
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* The date value.
|
|
177
|
-
*/
|
|
178
|
-
value: string;
|
|
179
|
-
}>;
|
|
191
|
+
valueChanged: EventEmitter<string>;
|
|
180
192
|
/**
|
|
181
193
|
* Handles the single date selection event from nv-calendar.
|
|
182
194
|
* Updates the input value and closes the popover.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
11
11
|
export declare class NvFielddaterange {
|
|
12
12
|
el: HTMLNvFielddaterangeElement;
|
|
13
13
|
private popoverElement;
|
|
14
|
+
private calendarElement;
|
|
14
15
|
private popoverId;
|
|
15
16
|
/****************************************************************************/
|
|
16
17
|
/**
|
|
@@ -78,7 +79,7 @@ export declare class NvFielddaterange {
|
|
|
78
79
|
/**
|
|
79
80
|
* The initial value of the date range (in string format).
|
|
80
81
|
*/
|
|
81
|
-
|
|
82
|
+
value: string;
|
|
82
83
|
/**
|
|
83
84
|
* The current value of the start date in string format.
|
|
84
85
|
*/
|
|
@@ -144,6 +145,11 @@ export declare class NvFielddaterange {
|
|
|
144
145
|
*/
|
|
145
146
|
readonly fluid: boolean;
|
|
146
147
|
/****************************************************************************/
|
|
148
|
+
/**
|
|
149
|
+
* Parses the unified value prop and synchronizes with internal state
|
|
150
|
+
* @param {string} value - Value to parse
|
|
151
|
+
*/
|
|
152
|
+
private parseUnifiedValue;
|
|
147
153
|
/**
|
|
148
154
|
* Converts the nv-calendar date format to the format expected by Inputmask.
|
|
149
155
|
* @param {string} format - The date format to convert
|
|
@@ -166,7 +172,7 @@ export declare class NvFielddaterange {
|
|
|
166
172
|
*/
|
|
167
173
|
private handleEndInput;
|
|
168
174
|
/**
|
|
169
|
-
* Update the calendar's rangeValue property
|
|
175
|
+
* Update the calendar's rangeValue property without forcing month change
|
|
170
176
|
*/
|
|
171
177
|
private updateCalendarValue;
|
|
172
178
|
/**
|
|
@@ -186,16 +192,31 @@ export declare class NvFielddaterange {
|
|
|
186
192
|
disconnectedCallback(): void;
|
|
187
193
|
/****************************************************************************/
|
|
188
194
|
/**
|
|
189
|
-
*
|
|
195
|
+
* Emitted when the date range changes.
|
|
190
196
|
*/
|
|
191
197
|
dateRangeChange: EventEmitter<HTMLNvCalendarElementEventMap['rangeDateChange']>;
|
|
198
|
+
/**
|
|
199
|
+
* Emitted when the unified value changes
|
|
200
|
+
* @bind value
|
|
201
|
+
*/
|
|
202
|
+
valueChanged: EventEmitter<string>;
|
|
192
203
|
/**
|
|
193
204
|
* Handles the range date selection event from nv-calendar.
|
|
194
205
|
* @param {CustomEvent<DateRange>} event - The custom event
|
|
195
206
|
*/
|
|
196
207
|
handleRangeDateChange(event: CustomEvent<HTMLNvCalendarElementEventMap['rangeDateChange']>): void;
|
|
208
|
+
/**
|
|
209
|
+
* Handles the unified value change event from nv-calendar
|
|
210
|
+
* @param {CustomEvent<string>} event - The custom event
|
|
211
|
+
*/
|
|
212
|
+
handleCalendarValueChanged(event: CustomEvent<string>): void;
|
|
197
213
|
handleClosePopover(): void;
|
|
198
214
|
handleApplyDateRange(): void;
|
|
215
|
+
/**
|
|
216
|
+
* Handles the reset event from the calendar's cancel button
|
|
217
|
+
* @param {CustomEvent} event - The event emitted by the calendar
|
|
218
|
+
*/
|
|
219
|
+
handleDateReset(event: CustomEvent): void;
|
|
199
220
|
/**
|
|
200
221
|
* Handles keyboard events.
|
|
201
222
|
* @param {KeyboardEvent} event - The keyboard event
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,14 @@ export declare class NvFielddropdown {
|
|
|
13
13
|
el: HTMLNvFielddropdownElement;
|
|
14
14
|
private inputElement;
|
|
15
15
|
private popoverElement;
|
|
16
|
+
/**
|
|
17
|
+
* Timer for debouncing input events.
|
|
18
|
+
* Private property preferred over @State as it:
|
|
19
|
+
* - Doesn't need to trigger re-renders
|
|
20
|
+
* - Is purely for internal logic
|
|
21
|
+
* - Improves performance by avoiding Stencil's reactivity system
|
|
22
|
+
*/
|
|
23
|
+
private debounceTimer;
|
|
16
24
|
/****************************************************************************/
|
|
17
25
|
/**
|
|
18
26
|
* Sets the ID for the input element and the for attribute of the associated
|
|
@@ -21,6 +29,13 @@ export declare class NvFielddropdown {
|
|
|
21
29
|
* accessibility.
|
|
22
30
|
*/
|
|
23
31
|
readonly inputId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Defines the name attribute of the input field, which is crucial for form
|
|
34
|
+
* submission. This value is used as the key in the key-value pair sent to
|
|
35
|
+
* the server, representing the input's data in form submissions. It should be
|
|
36
|
+
* unique within the form to avoid conflicts.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
24
39
|
/**
|
|
25
40
|
* Lets you define the text that explains what users should enter in the text
|
|
26
41
|
* input field. It's a crucial element for making forms clear and
|
|
@@ -40,17 +55,6 @@ export declare class NvFielddropdown {
|
|
|
40
55
|
* The placeholder is displayed only when the filterable option is enabled.
|
|
41
56
|
*/
|
|
42
57
|
readonly placeholder: string;
|
|
43
|
-
/**
|
|
44
|
-
* Defines the name attribute of the input field, which is crucial for form
|
|
45
|
-
* submission. This value is used as the key in the key-value pair sent to
|
|
46
|
-
* the server, representing the input's data in form submissions. It should be
|
|
47
|
-
* unique within the form to avoid conflicts.
|
|
48
|
-
*/
|
|
49
|
-
readonly name: string;
|
|
50
|
-
/**
|
|
51
|
-
* State of the dropdown popover.
|
|
52
|
-
*/
|
|
53
|
-
open: boolean;
|
|
54
58
|
/**
|
|
55
59
|
* The autocomplete prop helps users fill out the input field faster by
|
|
56
60
|
* suggesting entries they've used before, like their email or address.
|
|
@@ -69,6 +73,18 @@ export declare class NvFielddropdown {
|
|
|
69
73
|
* before submitting the form.
|
|
70
74
|
*/
|
|
71
75
|
readonly required: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Display the input field's content without allowing users to change it.
|
|
78
|
+
* Users can still click on it, select, and copy the text, but they won't be
|
|
79
|
+
* able to type or delete anything.
|
|
80
|
+
*/
|
|
81
|
+
readonly readonly: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* The disabled prop lets you turn off the input field so that users can't
|
|
84
|
+
* type in it. When disabled, the field is grayed out and won't respond to
|
|
85
|
+
* clicks or touches.
|
|
86
|
+
*/
|
|
87
|
+
readonly disabled: boolean;
|
|
72
88
|
/**
|
|
73
89
|
* Alters the input field's appearance to indicate an error, helping users
|
|
74
90
|
* identify fields that need correction.
|
|
@@ -82,17 +98,13 @@ export declare class NvFielddropdown {
|
|
|
82
98
|
*/
|
|
83
99
|
readonly errorDescription: string;
|
|
84
100
|
/**
|
|
85
|
-
*
|
|
86
|
-
* Users can still click on it, select, and copy the text, but they won't be
|
|
87
|
-
* able to type or delete anything.
|
|
101
|
+
* Defines the maximum height of the multiselect list when open.
|
|
88
102
|
*/
|
|
89
|
-
readonly
|
|
103
|
+
readonly maxHeight: string;
|
|
90
104
|
/**
|
|
91
|
-
*
|
|
92
|
-
* type in it. When disabled, the field is grayed out and won't respond to
|
|
93
|
-
* clicks or touches.
|
|
105
|
+
* State of the dropdown popover.
|
|
94
106
|
*/
|
|
95
|
-
|
|
107
|
+
open: boolean;
|
|
96
108
|
/**
|
|
97
109
|
* The text to display when no items match the filter.
|
|
98
110
|
*/
|
|
@@ -126,6 +138,11 @@ export declare class NvFielddropdown {
|
|
|
126
138
|
/** Whether this option is pre-selected */
|
|
127
139
|
selected?: boolean;
|
|
128
140
|
}[];
|
|
141
|
+
/**
|
|
142
|
+
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
143
|
+
* @default 300
|
|
144
|
+
*/
|
|
145
|
+
readonly debounceDelay: number;
|
|
129
146
|
/**
|
|
130
147
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
131
148
|
* is equivalent to setting the native autofocus attribute on an <input>
|
|
@@ -137,7 +154,9 @@ export declare class NvFielddropdown {
|
|
|
137
154
|
*/
|
|
138
155
|
readonly fluid: boolean;
|
|
139
156
|
/****************************************************************************/
|
|
140
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* The text entered by the user for filtering dropdown items.
|
|
159
|
+
*/
|
|
141
160
|
filterText: string;
|
|
142
161
|
selectedValues: Set<string>;
|
|
143
162
|
/****************************************************************************/
|
|
@@ -150,13 +169,18 @@ export declare class NvFielddropdown {
|
|
|
150
169
|
* Event emitted when an item is clicked.
|
|
151
170
|
*/
|
|
152
171
|
dropdownItemSelected: EventEmitter<HTMLNvFielddropdownitemElementEventMap['dropdownItemSelected']>;
|
|
153
|
-
|
|
154
|
-
handleOpenChanged(event: CustomEvent<boolean>): void;
|
|
155
|
-
watchValueHandler(newValue: typeof this.value): void;
|
|
172
|
+
/****************************************************************************/
|
|
156
173
|
handleOptionsChange(newValue: typeof this.options): void;
|
|
174
|
+
watchValueHandler(newValue: typeof this.value): void;
|
|
175
|
+
/****************************************************************************/
|
|
176
|
+
handleOpenChanged(event: CustomEvent<boolean>): void;
|
|
177
|
+
handleDropdownItemSelected(event: CustomEvent<HTMLNvFielddropdownitemElementEventMap['dropdownItemSelected']>): void;
|
|
157
178
|
handleBlur(event: FocusEvent): void;
|
|
158
179
|
handleKeyDown(event: KeyboardEvent): void;
|
|
159
180
|
/****************************************************************************/
|
|
181
|
+
componentWillLoad(): void;
|
|
182
|
+
componentDidLoad(): void;
|
|
183
|
+
/****************************************************************************/
|
|
160
184
|
/**
|
|
161
185
|
* Retrieves the current filter text entered by the user.
|
|
162
186
|
* @returns {string} The filter text.
|
|
@@ -178,8 +202,5 @@ export declare class NvFielddropdown {
|
|
|
178
202
|
private clearFilter;
|
|
179
203
|
private updateSelectedItem;
|
|
180
204
|
/****************************************************************************/
|
|
181
|
-
componentWillLoad(): void;
|
|
182
|
-
componentDidLoad(): void;
|
|
183
|
-
/****************************************************************************/
|
|
184
205
|
render(): any;
|
|
185
206
|
}
|