@nova-design-system/nova-webcomponents 3.0.0-beta.38 → 3.0.0-beta.40
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/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{constants-69b40456.js → constants-79d2cdfc.js} +25 -5
- package/dist/cjs/constants-79d2cdfc.js.map +1 -0
- package/dist/cjs/dom.utils-4d43f69a.js +170 -0
- package/dist/cjs/dom.utils-4d43f69a.js.map +1 -0
- package/dist/cjs/index-5910ba06.js +8 -36
- package/dist/cjs/index.cjs.js +3 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nv-alert.cjs.entry.js +32 -9
- package/dist/cjs/nv-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +2 -2
- package/dist/cjs/nv-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-base.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 +34 -12
- package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +984 -0
- package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +325 -165
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -5
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +21 -10
- package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +17 -12
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +10 -4
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +146 -223
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +37 -32
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +12 -11
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +9 -3
- package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +9 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldradio.cjs.entry.js +9 -3
- package/dist/cjs/nv-fieldradio.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldselect.cjs.entry.js +11 -5
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtext.cjs.entry.js +9 -3
- package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +9 -3
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtime.cjs.entry.js +20 -12
- package/dist/cjs/nv-fieldtime.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-icon.cjs.entry.js +20 -13
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-iconbutton.cjs.entry.js +1 -1
- package/dist/cjs/nv-loader.cjs.entry.js +1 -1
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +267 -81
- package/dist/cjs/nv-table.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-tablecolumn.cjs.entry.js +1 -21
- package/dist/cjs/nv-tablecolumn.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/uri.utils-8523ad2b.js +26 -0
- package/dist/cjs/uri.utils-8523ad2b.js.map +1 -0
- package/dist/collection/collection-manifest.json +3 -11
- package/dist/collection/components/nv-alert/nv-alert.docs.js +5 -0
- package/dist/collection/components/nv-alert/nv-alert.docs.js.map +1 -1
- package/dist/collection/components/nv-alert/nv-alert.js +51 -8
- package/dist/collection/components/nv-alert/nv-alert.js.map +1 -1
- package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +2 -2
- package/dist/collection/components/nv-base/nv-base.js +1 -1
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
- package/dist/collection/components/nv-button/nv-button.docs.js +4 -0
- package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -1
- package/dist/collection/components/nv-button/nv-button.js +54 -13
- package/dist/collection/components/nv-button/nv-button.js.map +1 -1
- package/dist/collection/components/nv-calendar/nv-calendar.css +341 -0
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +401 -0
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js.map +1 -0
- package/dist/collection/components/nv-calendar/nv-calendar.js +1328 -0
- package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -0
- package/dist/collection/components/nv-col/nv-col.js +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.css +30 -0
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +25 -77
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +396 -194
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +7 -16
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.css +2 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +6 -9
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +20 -29
- package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +71 -21
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js.map +1 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +8 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +30 -4
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +11 -3
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +197 -252
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- package/dist/collection/components/nv-fielddropdown/{nv-fielddropdown.css → styles/nv-fielddropdown.css} +0 -3
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +55 -47
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js.map +1 -1
- package/dist/collection/components/nv-fielddropdownitem/{nv-fielddropdownitem.css → styles/nv-fielddropdownitem.css} +5 -3
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.css +0 -2
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +10 -2
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +34 -33
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +8 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +29 -3
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +8 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +30 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +8 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +29 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +8 -19
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +31 -5
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +8 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +30 -4
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +8 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +29 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.css +20 -17
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +8 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js.map +1 -1
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +38 -10
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js.map +1 -1
- package/dist/collection/components/nv-icon/nv-icon.js +21 -19
- package/dist/collection/components/nv-icon/nv-icon.js.map +1 -1
- 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.docs.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +3 -3
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +3 -3
- package/dist/collection/components/nv-popover/nv-popover.css +3 -0
- 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.css +30 -0
- package/dist/collection/components/nv-table/nv-table.docs.js +69 -74
- package/dist/collection/components/nv-table/nv-table.docs.js.map +1 -1
- package/dist/collection/components/nv-table/nv-table.js +349 -137
- package/dist/collection/components/nv-table/nv-table.js.map +1 -1
- package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.js +11 -111
- package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.js.map +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/interfaces/ColumnConfig.js +2 -0
- package/dist/collection/interfaces/ColumnConfig.js.map +1 -0
- package/dist/collection/interfaces/actionEvent.js +2 -0
- package/dist/collection/interfaces/actionEvent.js.map +1 -0
- package/dist/collection/interfaces/calendarShortcut.js +2 -0
- package/dist/collection/interfaces/calendarShortcut.js.map +1 -0
- package/dist/collection/interfaces/dateRange.js +2 -0
- package/dist/collection/interfaces/dateRange.js.map +1 -0
- package/dist/collection/interfaces/localization.js +2 -0
- package/dist/collection/interfaces/localization.js.map +1 -0
- package/dist/collection/templates/navigation.docs.js +5 -0
- package/dist/collection/templates/navigation.docs.js.map +1 -1
- package/dist/collection/utils/constants.js +18 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/dom.utils.js +164 -0
- package/dist/collection/utils/dom.utils.js.map +1 -0
- package/dist/collection/utils/test/class.utils.test.js +25 -0
- package/dist/collection/utils/test/class.utils.test.js.map +1 -0
- package/dist/collection/utils/test/dom.utils.test.js +102 -0
- package/dist/collection/utils/test/dom.utils.test.js.map +1 -0
- package/dist/collection/utils/test/uri.utils.test.js +21 -0
- package/dist/collection/utils/test/uri.utils.test.js.map +1 -0
- package/dist/collection/utils/uri.utils.js +15 -0
- package/dist/collection/utils/uri.utils.js.map +1 -0
- package/dist/components/index.js +3 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/nv-alert.js +35 -11
- package/dist/components/nv-alert.js.map +1 -1
- package/dist/components/nv-avatar.js +3 -3
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-base.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-tablerow.d.ts → nv-calendar.d.ts} +4 -4
- package/dist/components/nv-calendar.js +1046 -0
- package/dist/components/nv-calendar.js.map +1 -0
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +332 -173
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +3 -7
- package/dist/components/nv-datagridcolumn.js.map +1 -1
- package/dist/components/nv-dialog.js +26 -16
- package/dist/components/nv-dialog.js.map +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddropdown.js +154 -230
- 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 +21 -19
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +12 -5
- package/dist/components/nv-fieldnumber.js.map +1 -1
- package/dist/components/nv-fieldpassword.js +13 -6
- package/dist/components/nv-fieldpassword.js.map +1 -1
- package/dist/components/nv-fieldradio.js +11 -4
- package/dist/components/nv-fieldradio.js.map +1 -1
- package/dist/components/nv-fieldselect.js +13 -6
- package/dist/components/nv-fieldselect.js.map +1 -1
- package/dist/components/nv-fieldtext.js +12 -5
- package/dist/components/nv-fieldtext.js.map +1 -1
- package/dist/components/nv-fieldtextarea.js +11 -4
- package/dist/components/nv-fieldtextarea.js.map +1 -1
- package/dist/components/nv-fieldtime.js +25 -16
- 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-menu.js.map +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +279 -91
- package/dist/components/nv-table.js.map +1 -1
- package/dist/components/nv-tablecolumn.js +5 -28
- package/dist/components/nv-tablecolumn.js.map +1 -1
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-1c83f303.js → p-11cc38e0.js} +4 -4
- package/dist/components/{p-1c83f303.js.map → p-11cc38e0.js.map} +1 -1
- package/dist/components/{p-802c9204.js → p-1657eba4.js} +23 -16
- package/dist/components/p-1657eba4.js.map +1 -0
- package/dist/components/{p-79bf6acb.js → p-33f9bdb1.js} +4 -4
- package/dist/components/{p-79bf6acb.js.map → p-33f9bdb1.js.map} +1 -1
- package/dist/components/p-4b184820.js +95 -0
- package/dist/components/p-4b184820.js.map +1 -0
- package/dist/components/{p-b877a150.js → p-4bb5eb79.js} +3 -3
- package/dist/components/{p-b877a150.js.map → p-4bb5eb79.js.map} +1 -1
- package/dist/components/{p-ab87be7f.js → p-69543282.js} +3 -3
- package/dist/components/{p-ab87be7f.js.map → p-69543282.js.map} +1 -1
- package/dist/components/p-7e58e7d1.js +23 -0
- package/dist/components/p-7e58e7d1.js.map +1 -0
- package/dist/components/{p-98ff0e5f.js → p-96605453.js} +13 -6
- package/dist/components/p-96605453.js.map +1 -0
- package/dist/components/{p-2768d2c0.js → p-a633892a.js} +2 -2
- package/dist/components/{p-2768d2c0.js.map → p-a633892a.js.map} +1 -1
- package/dist/{esm/constants-0181211f.js → components/p-b316c35d.js} +22 -3
- package/dist/components/p-b316c35d.js.map +1 -0
- package/dist/components/{p-91bf0cb6.js → p-ba145f46.js} +38 -15
- package/dist/components/p-ba145f46.js.map +1 -0
- package/dist/components/p-c1765831.js +89 -0
- package/dist/components/p-c1765831.js.map +1 -0
- package/dist/components/p-cb34aa4f.js +167 -0
- package/dist/components/p-cb34aa4f.js.map +1 -0
- package/dist/components/{p-a9a52105.js → p-d17558a8.js} +1178 -5
- package/dist/components/p-d17558a8.js.map +1 -0
- package/dist/components/{p-18d221e3.js → p-f201db34.js} +2 -2
- package/dist/components/{p-18d221e3.js.map → p-f201db34.js.map} +1 -1
- package/dist/components/{p-d20958c4.js → p-f77c3072.js} +22 -16
- package/dist/components/p-f77c3072.js.map +1 -0
- package/dist/components/{p-16badb3b.js → p-fad78896.js} +3 -3
- package/dist/components/{p-16badb3b.js.map → p-fad78896.js.map} +1 -1
- package/dist/docs.json +1331 -935
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/{components/p-56f71851.js → esm/constants-75e6d7f0.js} +22 -3
- package/dist/esm/constants-75e6d7f0.js.map +1 -0
- package/dist/esm/dom.utils-ac71e0ef.js +167 -0
- package/dist/esm/dom.utils-ac71e0ef.js.map +1 -0
- package/dist/esm/index-fac2d5d2.js +8 -36
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/native.js +2 -2
- package/dist/esm/nv-alert.entry.js +32 -9
- package/dist/esm/nv-alert.entry.js.map +1 -1
- package/dist/esm/nv-avatar.entry.js +2 -2
- package/dist/esm/nv-badge_2.entry.js +3 -3
- package/dist/esm/nv-base.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 +34 -12
- package/dist/esm/nv-button.entry.js.map +1 -1
- package/dist/esm/nv-calendar.entry.js +980 -0
- package/dist/esm/nv-calendar.entry.js.map +1 -0
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +326 -166
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -5
- package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
- package/dist/esm/nv-dialog.entry.js +21 -10
- package/dist/esm/nv-dialog.entry.js.map +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +17 -12
- package/dist/esm/nv-dialogfooter_2.entry.js.map +1 -1
- package/dist/esm/nv-fieldcheckbox.entry.js +10 -4
- package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +146 -223
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +37 -32
- package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +12 -11
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +9 -3
- package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
- package/dist/esm/nv-fieldpassword.entry.js +9 -3
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
- package/dist/esm/nv-fieldradio.entry.js +9 -3
- package/dist/esm/nv-fieldradio.entry.js.map +1 -1
- package/dist/esm/nv-fieldselect.entry.js +11 -5
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldtext.entry.js +9 -3
- package/dist/esm/nv-fieldtext.entry.js.map +1 -1
- package/dist/esm/nv-fieldtextarea.entry.js +9 -3
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
- package/dist/esm/nv-fieldtime.entry.js +20 -12
- package/dist/esm/nv-fieldtime.entry.js.map +1 -1
- package/dist/esm/nv-icon.entry.js +20 -13
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton.entry.js +1 -1
- package/dist/esm/nv-loader.entry.js +1 -1
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js.map +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js.map +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +268 -82
- package/dist/esm/nv-table.entry.js.map +1 -1
- package/dist/esm/nv-tablecolumn.entry.js +2 -22
- package/dist/esm/nv-tablecolumn.entry.js.map +1 -1
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/esm/uri.utils-4c2a1e4c.js +23 -0
- package/dist/esm/uri.utils-4c2a1e4c.js.map +1 -0
- 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-0a2a9f8b.entry.js +2 -0
- package/dist/native/p-0a2a9f8b.entry.js.map +1 -0
- package/dist/native/p-12d08abc.entry.js +2 -0
- package/dist/native/p-12d08abc.entry.js.map +1 -0
- package/dist/native/{p-211f7b19.entry.js → p-15be3d96.entry.js} +2 -2
- package/dist/native/p-184cd119.entry.js +2 -0
- package/dist/native/{p-8ee30013.entry.js.map → p-184cd119.entry.js.map} +1 -1
- package/dist/native/{p-87083363.entry.js → p-1a3d2a74.entry.js} +2 -2
- package/dist/native/{p-87083363.entry.js.map → p-1a3d2a74.entry.js.map} +1 -1
- package/dist/native/{p-4f11286d.entry.js → p-27ad7af2.entry.js} +2 -2
- package/dist/native/p-27ad7af2.entry.js.map +1 -0
- package/dist/native/p-2b2a10f9.entry.js +2 -0
- package/dist/native/p-2b2a10f9.entry.js.map +1 -0
- package/dist/native/{p-a06bafad.entry.js → p-359f0f53.entry.js} +2 -2
- package/dist/native/p-3b65037c.entry.js +2 -0
- package/dist/native/p-3b65037c.entry.js.map +1 -0
- package/dist/native/p-3be2c9a1.entry.js +2 -0
- package/dist/native/p-4283f375.entry.js +2 -0
- package/dist/native/p-4283f375.entry.js.map +1 -0
- package/dist/native/p-487b81bd.entry.js +2 -0
- package/dist/native/p-487b81bd.entry.js.map +1 -0
- package/dist/native/{p-d24586ed.entry.js → p-491f4605.entry.js} +2 -2
- package/dist/native/{p-e3827605.entry.js → p-554f7b44.entry.js} +2 -2
- package/dist/native/p-554f7b44.entry.js.map +1 -0
- package/dist/native/p-69fb1c9d.entry.js +2 -0
- package/dist/native/p-69fb1c9d.entry.js.map +1 -0
- package/dist/native/{p-1bb5a6bd.entry.js → p-729c9d45.entry.js} +2 -2
- package/dist/native/p-729c9d45.entry.js.map +1 -0
- package/dist/native/{p-130f6c47.entry.js → p-78f08578.entry.js} +2 -2
- package/dist/native/p-78f08578.entry.js.map +1 -0
- package/dist/native/p-7e58e7d1.js +2 -0
- package/dist/native/p-7e58e7d1.js.map +1 -0
- package/dist/native/p-8664ab16.entry.js +7 -0
- package/dist/native/p-8664ab16.entry.js.map +1 -0
- package/dist/native/p-87bd53df.entry.js +2 -0
- package/dist/native/p-87bd53df.entry.js.map +1 -0
- package/dist/native/{p-96902bb3.entry.js → p-8d6516a3.entry.js} +2 -2
- package/dist/native/p-951baf95.entry.js +2 -0
- package/dist/native/p-9795090f.entry.js +2 -0
- package/dist/native/p-9795090f.entry.js.map +1 -0
- package/dist/native/p-af60740c.entry.js +2 -0
- package/dist/native/p-af60740c.entry.js.map +1 -0
- package/dist/native/{p-56f71851.js → p-b316c35d.js} +2 -2
- package/dist/native/p-b316c35d.js.map +1 -0
- package/dist/native/p-b58c661b.entry.js +2 -0
- package/dist/native/p-b58c661b.entry.js.map +1 -0
- package/dist/native/p-b7bc918b.entry.js +2 -0
- package/dist/native/p-b7bc918b.entry.js.map +1 -0
- package/dist/native/p-cb34aa4f.js +2 -0
- package/dist/native/p-cb34aa4f.js.map +1 -0
- package/dist/native/{p-a998f8df.entry.js → p-cda56476.entry.js} +2 -2
- package/dist/native/p-d1bf4d77.entry.js +2 -0
- package/dist/native/{p-54df2174.entry.js → p-d7665a07.entry.js} +2 -2
- package/dist/native/p-d7665a07.entry.js.map +1 -0
- package/dist/native/{p-3c004551.entry.js → p-daeb7e22.entry.js} +2 -2
- package/dist/native/p-daeb7e22.entry.js.map +1 -0
- package/dist/native/p-e1255160.js +2 -0
- package/dist/native/p-e1255160.js.map +1 -0
- package/dist/native/{p-61d2cb2e.entry.js → p-e36e956b.entry.js} +2 -2
- package/dist/native/{p-99e7a452.entry.js → p-e9e77494.entry.js} +2 -2
- package/dist/native/p-e9e77494.entry.js.map +1 -0
- package/dist/native/{p-0bf35abc.entry.js → p-edee1c1f.entry.js} +2 -2
- package/dist/native/{p-e192c25c.entry.js → p-f1585fc2.entry.js} +2 -2
- package/dist/native/p-f3579407.entry.js +2 -0
- package/dist/native/p-f3579407.entry.js.map +1 -0
- package/dist/native/p-fca807b4.entry.js +13 -0
- package/dist/native/p-fca807b4.entry.js.map +1 -0
- package/dist/native/{p-d67b7502.entry.js → p-fde56f9c.entry.js} +2 -2
- package/dist/types/components/nv-alert/nv-alert.d.ts +14 -0
- package/dist/types/components/nv-base/nv-base.docs.d.ts +1 -1
- package/dist/types/components/nv-button/nv-button.d.ts +16 -5
- package/dist/types/components/nv-calendar/nv-calendar.d.ts +383 -0
- package/dist/types/components/{nv-tablerow/nv-tablerow.docs.d.ts → nv-calendar/nv-calendar.docs.d.ts} +2 -2
- package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +48 -31
- package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +3 -2
- package/dist/types/components/nv-dialog/nv-dialog.d.ts +1 -7
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +19 -10
- package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.d.ts +6 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +45 -62
- package/dist/types/components/nv-fielddropdownitem/nv-fielddropdownitem.d.ts +27 -13
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +7 -10
- package/dist/types/components/nv-fieldnumber/nv-fieldnumber.d.ts +6 -0
- package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +6 -0
- package/dist/types/components/nv-fieldradio/nv-fieldradio.d.ts +6 -0
- package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +6 -0
- package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +6 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +6 -0
- package/dist/types/components/nv-fieldtime/nv-fieldtime.d.ts +6 -0
- package/dist/types/components/nv-icon/nv-icon.d.ts +6 -4
- package/dist/types/components/nv-table/nv-table.d.ts +51 -39
- package/dist/types/components/nv-tablecolumn/nv-tablecolumn.d.ts +4 -42
- package/dist/types/components.d.ts +428 -284
- package/dist/types/index.d.ts +4 -0
- package/dist/types/interfaces/ColumnConfig.d.ts +13 -0
- package/dist/types/interfaces/actionEvent.d.ts +13 -0
- package/dist/types/interfaces/calendarShortcut.d.ts +17 -0
- package/dist/types/interfaces/dateRange.d.ts +13 -0
- package/dist/types/interfaces/localization.d.ts +9 -0
- package/dist/types/utils/constants.d.ts +2 -0
- package/dist/types/utils/dom.utils.d.ts +12 -0
- package/dist/types/utils/test/uri.utils.test.d.ts +1 -0
- package/dist/types/utils/uri.utils.d.ts +6 -0
- package/hydrate/index.js +3134 -1824
- package/hydrate/index.mjs +3134 -1824
- package/package.json +19 -27
- package/dist/blazor-docs.json +0 -14813
- package/dist/cjs/app-globals-bd4d701e.js +0 -11
- package/dist/cjs/app-globals-bd4d701e.js.map +0 -1
- package/dist/cjs/constants-69b40456.js.map +0 -1
- package/dist/cjs/nv-datagridbody.cjs.entry.js +0 -24
- package/dist/cjs/nv-datagridbody.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-datagriddatacell.cjs.entry.js +0 -25
- package/dist/cjs/nv-datagriddatacell.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-datagridhead.cjs.entry.js +0 -24
- package/dist/cjs/nv-datagridhead.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-datagridrow.cjs.entry.js +0 -24
- package/dist/cjs/nv-datagridrow.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-tablebody.cjs.entry.js +0 -24
- package/dist/cjs/nv-tablebody.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-tabledatacell.cjs.entry.js +0 -43
- package/dist/cjs/nv-tabledatacell.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-tablehead.cjs.entry.js +0 -24
- package/dist/cjs/nv-tablehead.cjs.entry.js.map +0 -1
- package/dist/cjs/nv-tablerow.cjs.entry.js +0 -24
- package/dist/cjs/nv-tablerow.cjs.entry.js.map +0 -1
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.css +0 -0
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.docs.js +0 -8
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.docs.js.map +0 -1
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.js +0 -23
- package/dist/collection/components/nv-datagridbody/nv-datagridbody.js.map +0 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.css +0 -0
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.css +0 -0
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.docs.js +0 -6
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.docs.js.map +0 -1
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.js +0 -50
- package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.js.map +0 -1
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.css +0 -0
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.docs.js +0 -8
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.docs.js.map +0 -1
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.js +0 -23
- package/dist/collection/components/nv-datagridhead/nv-datagridhead.js.map +0 -1
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.css +0 -0
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.docs.js +0 -8
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.docs.js.map +0 -1
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.js +0 -23
- package/dist/collection/components/nv-datagridrow/nv-datagridrow.js.map +0 -1
- package/dist/collection/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.js +0 -2
- package/dist/collection/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.js.map +0 -1
- package/dist/collection/components/nv-tablebody/nv-tablebody.css +0 -0
- package/dist/collection/components/nv-tablebody/nv-tablebody.docs.js +0 -8
- package/dist/collection/components/nv-tablebody/nv-tablebody.docs.js.map +0 -1
- package/dist/collection/components/nv-tablebody/nv-tablebody.js +0 -23
- package/dist/collection/components/nv-tablebody/nv-tablebody.js.map +0 -1
- package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.css +0 -0
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.css +0 -0
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.docs.js +0 -6
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.docs.js.map +0 -1
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.js +0 -116
- package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.js.map +0 -1
- package/dist/collection/components/nv-tablehead/nv-tablehead.css +0 -0
- package/dist/collection/components/nv-tablehead/nv-tablehead.docs.js +0 -8
- package/dist/collection/components/nv-tablehead/nv-tablehead.docs.js.map +0 -1
- package/dist/collection/components/nv-tablehead/nv-tablehead.js +0 -23
- package/dist/collection/components/nv-tablehead/nv-tablehead.js.map +0 -1
- package/dist/collection/components/nv-tablerow/nv-tablerow.css +0 -0
- package/dist/collection/components/nv-tablerow/nv-tablerow.docs.js +0 -8
- package/dist/collection/components/nv-tablerow/nv-tablerow.docs.js.map +0 -1
- package/dist/collection/components/nv-tablerow/nv-tablerow.js +0 -23
- package/dist/collection/components/nv-tablerow/nv-tablerow.js.map +0 -1
- package/dist/collection/dev/dev-components.js +0 -3
- package/dist/collection/dev/dev-components.js.map +0 -1
- package/dist/collection/dev/dev-forms.js +0 -3
- package/dist/collection/dev/dev-forms.js.map +0 -1
- package/dist/collection/dev/dev-root.js +0 -23
- package/dist/collection/dev/dev-root.js.map +0 -1
- package/dist/collection/dev/dev-utils.js +0 -54
- package/dist/collection/dev/dev-utils.js.map +0 -1
- package/dist/collection/global.js +0 -6
- package/dist/collection/global.js.map +0 -1
- package/dist/components/nv-datagridbody.d.ts +0 -11
- package/dist/components/nv-datagridbody.js +0 -38
- package/dist/components/nv-datagridbody.js.map +0 -1
- package/dist/components/nv-datagriddatacell.d.ts +0 -11
- package/dist/components/nv-datagriddatacell.js +0 -41
- package/dist/components/nv-datagriddatacell.js.map +0 -1
- package/dist/components/nv-datagridhead.d.ts +0 -11
- package/dist/components/nv-datagridhead.js +0 -38
- package/dist/components/nv-datagridhead.js.map +0 -1
- package/dist/components/nv-datagridrow.d.ts +0 -11
- package/dist/components/nv-datagridrow.js +0 -38
- package/dist/components/nv-datagridrow.js.map +0 -1
- package/dist/components/nv-tablebody.d.ts +0 -11
- package/dist/components/nv-tablebody.js +0 -38
- package/dist/components/nv-tablebody.js.map +0 -1
- package/dist/components/nv-tabledatacell.d.ts +0 -11
- package/dist/components/nv-tabledatacell.js +0 -61
- package/dist/components/nv-tabledatacell.js.map +0 -1
- package/dist/components/nv-tablehead.d.ts +0 -11
- package/dist/components/nv-tablehead.js +0 -38
- package/dist/components/nv-tablehead.js.map +0 -1
- package/dist/components/nv-tablerow.js +0 -38
- package/dist/components/nv-tablerow.js.map +0 -1
- package/dist/components/p-17714233.js +0 -1263
- package/dist/components/p-17714233.js.map +0 -1
- package/dist/components/p-56f71851.js.map +0 -1
- package/dist/components/p-802c9204.js.map +0 -1
- package/dist/components/p-91bf0cb6.js.map +0 -1
- package/dist/components/p-98ff0e5f.js.map +0 -1
- package/dist/components/p-a9a52105.js.map +0 -1
- package/dist/components/p-d20958c4.js.map +0 -1
- package/dist/components/p-dd34b97d.js +0 -90
- package/dist/components/p-dd34b97d.js.map +0 -1
- package/dist/esm/app-globals-0a94217b.js +0 -9
- package/dist/esm/app-globals-0a94217b.js.map +0 -1
- package/dist/esm/constants-0181211f.js.map +0 -1
- package/dist/esm/nv-datagridbody.entry.js +0 -20
- package/dist/esm/nv-datagridbody.entry.js.map +0 -1
- package/dist/esm/nv-datagriddatacell.entry.js +0 -21
- package/dist/esm/nv-datagriddatacell.entry.js.map +0 -1
- package/dist/esm/nv-datagridhead.entry.js +0 -20
- package/dist/esm/nv-datagridhead.entry.js.map +0 -1
- package/dist/esm/nv-datagridrow.entry.js +0 -20
- package/dist/esm/nv-datagridrow.entry.js.map +0 -1
- package/dist/esm/nv-tablebody.entry.js +0 -20
- package/dist/esm/nv-tablebody.entry.js.map +0 -1
- package/dist/esm/nv-tabledatacell.entry.js +0 -39
- package/dist/esm/nv-tabledatacell.entry.js.map +0 -1
- package/dist/esm/nv-tablehead.entry.js +0 -20
- package/dist/esm/nv-tablehead.entry.js.map +0 -1
- package/dist/esm/nv-tablerow.entry.js +0 -20
- package/dist/esm/nv-tablerow.entry.js.map +0 -1
- package/dist/native/p-02bb8184.entry.js +0 -2
- package/dist/native/p-09850aa9.entry.js +0 -2
- package/dist/native/p-09850aa9.entry.js.map +0 -1
- package/dist/native/p-10ba289c.entry.js +0 -2
- package/dist/native/p-10ba289c.entry.js.map +0 -1
- package/dist/native/p-1208abf2.entry.js +0 -2
- package/dist/native/p-1208abf2.entry.js.map +0 -1
- package/dist/native/p-130f6c47.entry.js.map +0 -1
- package/dist/native/p-180c45ff.entry.js +0 -2
- package/dist/native/p-180c45ff.entry.js.map +0 -1
- package/dist/native/p-1bb5a6bd.entry.js.map +0 -1
- package/dist/native/p-273d55e5.entry.js +0 -2
- package/dist/native/p-273d55e5.entry.js.map +0 -1
- package/dist/native/p-2aebf31b.entry.js +0 -2
- package/dist/native/p-2aebf31b.entry.js.map +0 -1
- package/dist/native/p-2f62f097.entry.js +0 -2
- package/dist/native/p-2f62f097.entry.js.map +0 -1
- package/dist/native/p-3c004551.entry.js.map +0 -1
- package/dist/native/p-46553ffd.entry.js +0 -2
- package/dist/native/p-46553ffd.entry.js.map +0 -1
- package/dist/native/p-4f11286d.entry.js.map +0 -1
- package/dist/native/p-51ad8bcd.entry.js +0 -2
- package/dist/native/p-51ad8bcd.entry.js.map +0 -1
- package/dist/native/p-54df2174.entry.js.map +0 -1
- package/dist/native/p-56f71851.js.map +0 -1
- package/dist/native/p-5f1a7e6e.entry.js +0 -2
- package/dist/native/p-892052c2.entry.js +0 -2
- package/dist/native/p-892052c2.entry.js.map +0 -1
- package/dist/native/p-8c1a6aa6.entry.js +0 -2
- package/dist/native/p-8c1a6aa6.entry.js.map +0 -1
- package/dist/native/p-8ee30013.entry.js +0 -2
- package/dist/native/p-8f4788b9.entry.js +0 -13
- package/dist/native/p-8f4788b9.entry.js.map +0 -1
- package/dist/native/p-99e7a452.entry.js.map +0 -1
- package/dist/native/p-aa2834e2.entry.js +0 -2
- package/dist/native/p-aa2834e2.entry.js.map +0 -1
- package/dist/native/p-ab5a8ce5.entry.js +0 -2
- package/dist/native/p-ab5a8ce5.entry.js.map +0 -1
- package/dist/native/p-bd6d9237.entry.js +0 -7
- package/dist/native/p-bd6d9237.entry.js.map +0 -1
- package/dist/native/p-beab7cbd.entry.js +0 -2
- package/dist/native/p-c398cdb4.entry.js +0 -2
- package/dist/native/p-c398cdb4.entry.js.map +0 -1
- package/dist/native/p-d776ed48.entry.js +0 -2
- package/dist/native/p-d776ed48.entry.js.map +0 -1
- package/dist/native/p-dc9dd5a7.entry.js +0 -2
- package/dist/native/p-dc9dd5a7.entry.js.map +0 -1
- package/dist/native/p-e3827605.entry.js.map +0 -1
- package/dist/native/p-e5a7596b.entry.js +0 -2
- package/dist/native/p-e5a7596b.entry.js.map +0 -1
- package/dist/native/p-e6f45df2.entry.js +0 -2
- package/dist/native/p-e6f45df2.entry.js.map +0 -1
- package/dist/native/p-ed47a702.entry.js +0 -2
- package/dist/native/p-ed47a702.entry.js.map +0 -1
- package/dist/native/p-f30ce086.entry.js +0 -2
- package/dist/native/p-f30ce086.entry.js.map +0 -1
- package/dist/native/p-f3fbdea6.js +0 -2
- package/dist/native/p-f3fbdea6.js.map +0 -1
- package/dist/types/components/nv-datagridbody/nv-datagridbody.d.ts +0 -7
- package/dist/types/components/nv-datagridbody/nv-datagridbody.docs.d.ts +0 -4
- package/dist/types/components/nv-datagriddatacell/nv-datagriddatacell.d.ts +0 -14
- package/dist/types/components/nv-datagriddatacell/nv-datagriddatacell.docs.d.ts +0 -4
- package/dist/types/components/nv-datagridhead/nv-datagridhead.d.ts +0 -7
- package/dist/types/components/nv-datagridhead/nv-datagridhead.docs.d.ts +0 -4
- package/dist/types/components/nv-datagridrow/nv-datagridrow.d.ts +0 -7
- package/dist/types/components/nv-datagridrow/nv-datagridrow.docs.d.ts +0 -4
- package/dist/types/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.d.ts +0 -21
- package/dist/types/components/nv-tablebody/nv-tablebody.d.ts +0 -7
- package/dist/types/components/nv-tablebody/nv-tablebody.docs.d.ts +0 -4
- package/dist/types/components/nv-tabledatacell/nv-tabledatacell.d.ts +0 -30
- package/dist/types/components/nv-tabledatacell/nv-tabledatacell.docs.d.ts +0 -4
- package/dist/types/components/nv-tablehead/nv-tablehead.d.ts +0 -7
- package/dist/types/components/nv-tablehead/nv-tablehead.docs.d.ts +0 -4
- package/dist/types/components/nv-tablerow/nv-tablerow.d.ts +0 -7
- package/dist/types/dev/dev-components.d.ts +0 -2
- package/dist/types/dev/dev-forms.d.ts +0 -2
- package/dist/types/dev/dev-utils.d.ts +0 -17
- package/dist/vscode-data.json +0 -4283
- /package/dist/native/{p-211f7b19.entry.js.map → p-15be3d96.entry.js.map} +0 -0
- /package/dist/native/{p-a06bafad.entry.js.map → p-359f0f53.entry.js.map} +0 -0
- /package/dist/native/{p-beab7cbd.entry.js.map → p-3be2c9a1.entry.js.map} +0 -0
- /package/dist/native/{p-d24586ed.entry.js.map → p-491f4605.entry.js.map} +0 -0
- /package/dist/native/{p-96902bb3.entry.js.map → p-8d6516a3.entry.js.map} +0 -0
- /package/dist/native/{p-5f1a7e6e.entry.js.map → p-951baf95.entry.js.map} +0 -0
- /package/dist/native/{p-a998f8df.entry.js.map → p-cda56476.entry.js.map} +0 -0
- /package/dist/native/{p-02bb8184.entry.js.map → p-d1bf4d77.entry.js.map} +0 -0
- /package/dist/native/{p-61d2cb2e.entry.js.map → p-e36e956b.entry.js.map} +0 -0
- /package/dist/native/{p-0bf35abc.entry.js.map → p-edee1c1f.entry.js.map} +0 -0
- /package/dist/native/{p-e192c25c.entry.js.map → p-f1585fc2.entry.js.map} +0 -0
- /package/dist/native/{p-d67b7502.entry.js.map → p-fde56f9c.entry.js.map} +0 -0
- /package/dist/types/{dev/dev-root.d.ts → utils/test/class.utils.test.d.ts} +0 -0
- /package/dist/types/{global.d.ts → utils/test/dom.utils.test.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as o,h as t,a as n,g as r}from"./p-5439afb8.js";import{c as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as o,h as t,a as n,g as r}from"./p-5439afb8.js";import{c as a}from"./p-8a1a6e56.js";import{v as i}from"./p-f5ff676c.js";const c='nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle label{align-self:stretch;color:var(--components-form-text-label-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-form-field-border-default);background:var(--components-form-field-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-switch-dot);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-background-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:"";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}';const l=c;const s=class{constructor(t){e(this,t);this.checkedChanged=o(this,"checkedChanged",7);this.inputId=i();this.hideLabel=false;this.checked=false;this.disabled=false;this.readonly=false}onCheckedChanged(e){this.checkedChanged.emit(e)}handleChange(e){const o=e.target;if(o.type==="checkbox"&&o.id===this.inputId){if(this.readonly||this.disabled){e.preventDefault();return}this.checked=o.checked}}render(){return t(n,{key:"0ea7a73c5b656d0d7f9342a9526dc00a66a94f83",class:a(this.labelPlacement==="before"&&"label-placement-before")},t("div",{key:"eb294c704b9f3568e03af1817a302d2edfe24486",class:"input-container"},t("input",{key:"777b6e7172691aba435751364c5908f381390f23",type:"checkbox",id:this.inputId,name:this.name,autocomplete:"off",value:this.value,checked:Boolean(this.checked),disabled:this.disabled||this.readonly,readonly:this.readonly})),t("div",{key:"92dbdb51e8c9fc231572009d37e274e070334292",class:"text-container"},(this.label||this.el.querySelector('[slot="label"]'))&&t("label",{key:"9d50bac5932e25c3b3c8dd04fe44e2622e22b6ac",htmlFor:this.inputId,class:a(this.hideLabel&&"visually-hidden")},t("slot",{key:"bf6cb8ff071c11d7809580a5dee61a1dfd89c112",name:"label"},this.label)),(this.description||this.el.querySelector('[slot="description"]'))&&t("div",{key:"db77b501162725dcf3b05b3d7c4b26d0f933ac8b",class:"description"},t("slot",{key:"a201c736b5237e88ee0d8caa3999874caa7f85f3",name:"description"},this.description))))}static get formAssociated(){return true}get el(){return r(this)}static get watchers(){return{checked:["onCheckedChanged"]}}};s.style=l;export{s as nv_toggle};
|
|
2
|
+
//# sourceMappingURL=p-fde56f9c.entry.js.map
|
|
@@ -44,6 +44,10 @@ export declare class NvAlert {
|
|
|
44
44
|
* Controls the visibility of the alert. Will animate with fade and collapse.
|
|
45
45
|
*/
|
|
46
46
|
hidden: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* When true, the alert will not animate when it is hidden or shown.
|
|
49
|
+
*/
|
|
50
|
+
readonly hasNoAnimations: boolean;
|
|
47
51
|
/****************************************************************************/
|
|
48
52
|
/**
|
|
49
53
|
* Emits when the 'hidden' prop changes, reflecting a change in visibility.
|
|
@@ -78,6 +82,16 @@ export declare class NvAlert {
|
|
|
78
82
|
* @returns {string} - The default icon name.
|
|
79
83
|
*/
|
|
80
84
|
private getDefaultIcon;
|
|
85
|
+
/**
|
|
86
|
+
* Updates the visibility state of the alert with optional animations
|
|
87
|
+
* @param {boolean} hidden - Whether the alert should be hidden
|
|
88
|
+
*/
|
|
89
|
+
private updateVisibility;
|
|
90
|
+
/**
|
|
91
|
+
* Toggles the 'hidden' class on the element
|
|
92
|
+
* @param {boolean} hidden - Whether to add or remove the hidden class
|
|
93
|
+
*/
|
|
94
|
+
private toggleHiddenClass;
|
|
81
95
|
/****************************************************************************/
|
|
82
96
|
componentWillLoad(): void;
|
|
83
97
|
/****************************************************************************/
|
|
@@ -47,17 +47,28 @@ export declare class NvButton {
|
|
|
47
47
|
/**
|
|
48
48
|
* Sets the button type to control its function in forms. Use 'submit' to send
|
|
49
49
|
* form data, 'reset' to clear the form, or 'button' for a standard button
|
|
50
|
-
* that doesn
|
|
50
|
+
* that doesn't interact with form submission by default.
|
|
51
51
|
*/
|
|
52
52
|
readonly type: `${ButtonType}`;
|
|
53
|
+
/**
|
|
54
|
+
* Sets the form associated with the button in case the (submit) button is not a child of a form.
|
|
55
|
+
* Matches the native HTML button 'form' attribute behavior.
|
|
56
|
+
*/
|
|
57
|
+
readonly form: string;
|
|
53
58
|
/****************************************************************************/
|
|
54
59
|
/**
|
|
55
|
-
* Handles form
|
|
56
|
-
*
|
|
57
|
-
*
|
|
60
|
+
* Handles button click events, managing form actions and disabled states.
|
|
61
|
+
* Prevents default behavior when button is disabled or loading, and
|
|
62
|
+
* processes form submissions/resets when appropriate.
|
|
58
63
|
* @param {Event} event - The click event.
|
|
59
64
|
*/
|
|
60
|
-
private
|
|
65
|
+
private handleButtonClick;
|
|
66
|
+
/**
|
|
67
|
+
* Processes form-related actions by finding the associated form element
|
|
68
|
+
* and triggering the appropriate action (submit/reset) based on button type.
|
|
69
|
+
* Falls back to ElementInternals form if no explicit form ID is provided.
|
|
70
|
+
*/
|
|
71
|
+
private processFormAction;
|
|
61
72
|
/****************************************************************************/
|
|
62
73
|
handleKeyDown(event: KeyboardEvent): void;
|
|
63
74
|
handleTouchStart(event: TouchEvent): void;
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { DateRange } from '../../interfaces/dateRange';
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Child content of the component.
|
|
5
|
+
* @slot actions - Child content of the component.
|
|
6
|
+
*/
|
|
7
|
+
export declare class NvCalendar {
|
|
8
|
+
el: HTMLNvCalendarElement;
|
|
9
|
+
/****************************************************************************/
|
|
10
|
+
/**
|
|
11
|
+
* First day of the week (0 = Sunday, 1 = Monday, etc.)
|
|
12
|
+
* @default 0
|
|
13
|
+
*/
|
|
14
|
+
readonly firstDayOfWeek: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of calendars to display
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
numberOfCalendars: number;
|
|
20
|
+
/**
|
|
21
|
+
* Selected date (ISO string format)
|
|
22
|
+
* ex: "2025-03-15"
|
|
23
|
+
*/
|
|
24
|
+
singleValue: string;
|
|
25
|
+
/**
|
|
26
|
+
* Selected date range
|
|
27
|
+
* format: { start: ISO string, end: ISO string }
|
|
28
|
+
* ex: { start: "2025-03-15", end: "2025-03-20" }
|
|
29
|
+
*/
|
|
30
|
+
rangeValue: string;
|
|
31
|
+
/**
|
|
32
|
+
* Minimum date for selection (ISO string format, ex: "2025-01-01")
|
|
33
|
+
*/
|
|
34
|
+
readonly min?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Maximum date for selection (ISO string format, ex: "2025-12-31")
|
|
37
|
+
*/
|
|
38
|
+
readonly max?: string;
|
|
39
|
+
/** Disabled dates (ISO string array)
|
|
40
|
+
* @default '[]'
|
|
41
|
+
*/
|
|
42
|
+
readonly disabledDates: string;
|
|
43
|
+
/** Locale for date formatting
|
|
44
|
+
* @default 'en-BE'
|
|
45
|
+
*/
|
|
46
|
+
readonly locale: string;
|
|
47
|
+
/** Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
|
|
48
|
+
* @default 'YYYY-MM-DD'
|
|
49
|
+
* @note If the date format is in UTC mode, the date will be displayed in UTC time.
|
|
50
|
+
* @note If the date format is not in UTC mode, the date will be displayed in the local time.
|
|
51
|
+
*/
|
|
52
|
+
readonly dateFormat: string;
|
|
53
|
+
/**
|
|
54
|
+
* Footer placement
|
|
55
|
+
* @default 'bottom'
|
|
56
|
+
*/
|
|
57
|
+
readonly shortcutsPlacement: 'bottom' | 'left' | 'right';
|
|
58
|
+
/**
|
|
59
|
+
* Selection type (single date or date range)
|
|
60
|
+
* @default 'single'
|
|
61
|
+
*/
|
|
62
|
+
readonly selectionType: 'single' | 'range';
|
|
63
|
+
/**
|
|
64
|
+
* Show action buttons
|
|
65
|
+
* @default false
|
|
66
|
+
*/
|
|
67
|
+
readonly showActions: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Custom actions to display in the footer
|
|
70
|
+
* JSON array of objects with the following properties:
|
|
71
|
+
* - label: string
|
|
72
|
+
* - onClick: function
|
|
73
|
+
* @default '[]'
|
|
74
|
+
*/
|
|
75
|
+
readonly shortcuts: string;
|
|
76
|
+
/**
|
|
77
|
+
* Show week numbers
|
|
78
|
+
* @default true
|
|
79
|
+
*/
|
|
80
|
+
readonly showWeekNumbers: boolean;
|
|
81
|
+
/** Cache for parsed disabled dates */
|
|
82
|
+
private parsedDisabledDates;
|
|
83
|
+
/****************************************************************************/
|
|
84
|
+
/** Current date */
|
|
85
|
+
currentDate: Date;
|
|
86
|
+
/** Selected date */
|
|
87
|
+
selectedDate: Date | null;
|
|
88
|
+
/** Start date */
|
|
89
|
+
startDate: Date | null;
|
|
90
|
+
/** End date */
|
|
91
|
+
endDate: Date | null;
|
|
92
|
+
/** List of formatted months for the selector */
|
|
93
|
+
private months;
|
|
94
|
+
/****************************************************************************/
|
|
95
|
+
/**
|
|
96
|
+
* Emitted when a single date is selected
|
|
97
|
+
*/
|
|
98
|
+
singleDateChange: EventEmitter<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Emitted when a date range is selected
|
|
101
|
+
*/
|
|
102
|
+
rangeDateChange: EventEmitter<DateRange>;
|
|
103
|
+
/****************************************************************************/
|
|
104
|
+
componentWillLoad(): void;
|
|
105
|
+
/****************************************************************************/
|
|
106
|
+
/**
|
|
107
|
+
* Change the displayed month
|
|
108
|
+
* @param {number} offset - Month offset (-1 for previous, 1 for next)
|
|
109
|
+
* @param {number} calendarOffset - Month offset for the calendar (0 by default)
|
|
110
|
+
*/
|
|
111
|
+
private changeMonth;
|
|
112
|
+
/**
|
|
113
|
+
* Handles date selection based on the mode
|
|
114
|
+
* @param {Date} date - Selected date
|
|
115
|
+
*/
|
|
116
|
+
private handleDateSelection;
|
|
117
|
+
/**
|
|
118
|
+
* Handles single date selection
|
|
119
|
+
* @param {Date} date - Selected date
|
|
120
|
+
*/
|
|
121
|
+
private handleSingleSelection;
|
|
122
|
+
/**
|
|
123
|
+
* Handles range date selection
|
|
124
|
+
* @param {Date} date - Selected date
|
|
125
|
+
*/
|
|
126
|
+
private handleRangeSelection;
|
|
127
|
+
/**
|
|
128
|
+
* Calculates the ISO week number
|
|
129
|
+
* @param {Date} date - Date to calculate
|
|
130
|
+
* @returns {number} Week number
|
|
131
|
+
*/
|
|
132
|
+
private getWeekNumber;
|
|
133
|
+
/**
|
|
134
|
+
* Checks if a date is disabled.
|
|
135
|
+
* Disabled if:
|
|
136
|
+
* - The date is before min (if defined)
|
|
137
|
+
* - The date is after max (if defined)
|
|
138
|
+
* - The date is in the disabledDates array
|
|
139
|
+
* @param {Date} date - Date to check
|
|
140
|
+
* @returns {boolean} true if the date is disabled
|
|
141
|
+
*/
|
|
142
|
+
private isDateDisabled;
|
|
143
|
+
/**
|
|
144
|
+
* Checks if a date is in the selected range
|
|
145
|
+
* @param {Date} date - Date to check
|
|
146
|
+
* @returns {boolean} true if the date is in the range
|
|
147
|
+
*/
|
|
148
|
+
private isDateInRange;
|
|
149
|
+
/**
|
|
150
|
+
* Retrieves the localized day names
|
|
151
|
+
* @returns {string[]} Array of short day names
|
|
152
|
+
*/
|
|
153
|
+
private getDayNames;
|
|
154
|
+
/**
|
|
155
|
+
* Generates the days of the current month
|
|
156
|
+
* @param {number} offset - Month offset (0 by default)
|
|
157
|
+
* @param {number} totalCalendars - Number of calendars to display (1 by default)
|
|
158
|
+
* @returns {Array<{ dayOfMonth: number | null, date: Date | null, isSelected: boolean, isDisabled: boolean }>} Array of formatted days
|
|
159
|
+
*/
|
|
160
|
+
private getDaysInMonth;
|
|
161
|
+
/** Initializes the list of formatted months according to the locale */
|
|
162
|
+
private initializeMonths;
|
|
163
|
+
/**
|
|
164
|
+
* Retrieves the localized abbreviation for "week"
|
|
165
|
+
* @returns {string} Localized abbreviation for "week"
|
|
166
|
+
*/
|
|
167
|
+
private getLocalizedWeekText;
|
|
168
|
+
/**
|
|
169
|
+
* Handles month change in the selector
|
|
170
|
+
* @param {Event} event - Month change event
|
|
171
|
+
* @param {number} calendarOffset - Calendar offset (0 by default)
|
|
172
|
+
*/
|
|
173
|
+
private handleMonthChange;
|
|
174
|
+
/**
|
|
175
|
+
* Handles year change in the numeric entry
|
|
176
|
+
* @param {Event} event - Year change event
|
|
177
|
+
* @param {number} calendarOffset - Calendar offset (0 by default)
|
|
178
|
+
*/
|
|
179
|
+
private handleYearChange;
|
|
180
|
+
/**
|
|
181
|
+
* Handles week selection
|
|
182
|
+
* @param {Date[]} weekDays - Selected week days
|
|
183
|
+
* @param {number} calendarIndex - Calendar index from which the selection is made
|
|
184
|
+
*/
|
|
185
|
+
private handleWeekSelection;
|
|
186
|
+
/**
|
|
187
|
+
* Checks if a date corresponds to today
|
|
188
|
+
* @param {Date} date - Date to check
|
|
189
|
+
* @returns {boolean} true if the date is today
|
|
190
|
+
*/
|
|
191
|
+
private isToday;
|
|
192
|
+
/**
|
|
193
|
+
* Watches the changes of the number of calendars
|
|
194
|
+
* @watch numberOfCalendars
|
|
195
|
+
* @param {number} newValue - New number of calendars
|
|
196
|
+
*/
|
|
197
|
+
validateNumberOfCalendars(newValue: number): void;
|
|
198
|
+
/**
|
|
199
|
+
* Watches the changes of the selected date range
|
|
200
|
+
* @watch rangeValue
|
|
201
|
+
* @param {Object} newValue - New rangeValue value
|
|
202
|
+
* @param {string} newValue.start - Start date
|
|
203
|
+
* @param {string} newValue.end - End date
|
|
204
|
+
*/
|
|
205
|
+
onRangeValueChange(newValue: string): void;
|
|
206
|
+
/**
|
|
207
|
+
* Watches the changes of the disabled dates
|
|
208
|
+
* @watch disabledDates
|
|
209
|
+
* @description Watches the changes of the disabled dates
|
|
210
|
+
*/
|
|
211
|
+
handleDisabledDatesChange(): void;
|
|
212
|
+
/**
|
|
213
|
+
* Convert a date string/Date to a Date without timezone offset
|
|
214
|
+
* @param {string | Date} dateInput - Date under string or Date object form
|
|
215
|
+
* @returns {Date} Date in Date form without timezone offset
|
|
216
|
+
*/
|
|
217
|
+
private parseDate;
|
|
218
|
+
/**
|
|
219
|
+
* Formats a date to a string according to the format
|
|
220
|
+
* @param {Date} date - Date to format
|
|
221
|
+
* @returns {string} Formatted date
|
|
222
|
+
*/
|
|
223
|
+
private formatDate;
|
|
224
|
+
/**
|
|
225
|
+
* Parse and cache the disabled dates
|
|
226
|
+
* @description Parse and cache the disabled dates
|
|
227
|
+
*/
|
|
228
|
+
private parseDisabledDates;
|
|
229
|
+
/**
|
|
230
|
+
* Checks if two dates are identical
|
|
231
|
+
* @param {Date | null} date1 - First date
|
|
232
|
+
* @param {Date | null} date2 - Second date
|
|
233
|
+
* @returns {boolean} true if the dates are identical
|
|
234
|
+
*/
|
|
235
|
+
private isSameDate;
|
|
236
|
+
/**
|
|
237
|
+
* Checks if a date is identical or after another date
|
|
238
|
+
* @param {Date} date - Date to check
|
|
239
|
+
* @param {Date} compareDate - Reference date
|
|
240
|
+
* @returns {boolean} true if `date` >= `compareDate`
|
|
241
|
+
*/
|
|
242
|
+
private isSameOrAfter;
|
|
243
|
+
/**
|
|
244
|
+
* Checks if a date is identical or before another date
|
|
245
|
+
* @param {Date} date - Date to check
|
|
246
|
+
* @param {Date} compareDate - Reference date
|
|
247
|
+
* @returns {boolean} true if `date` <= `compareDate`
|
|
248
|
+
*/
|
|
249
|
+
private isSameOrBefore;
|
|
250
|
+
/**
|
|
251
|
+
* Applies a shortcut selection
|
|
252
|
+
* @param {Object} shortcut - Shortcut to apply
|
|
253
|
+
* @param {string | Date} shortcut.singleValue - Selected date value
|
|
254
|
+
* @param {Object} shortcut.rangeValue - Start and end date values
|
|
255
|
+
* @param {string | Date} shortcut.rangeValue.start - Start date value
|
|
256
|
+
* @param {string | Date} shortcut.rangeValue.end - End date value
|
|
257
|
+
* @param {string} shortcut.label - Label
|
|
258
|
+
*/
|
|
259
|
+
private applyShortcut;
|
|
260
|
+
/**
|
|
261
|
+
* Method to force the complete calendar update (and fix the persistent hover problem)
|
|
262
|
+
* @param {Date} newDate - Date to force
|
|
263
|
+
*/
|
|
264
|
+
private forceCalendarUpdate;
|
|
265
|
+
/**
|
|
266
|
+
* Function to reset the touch effect (Mobile fix)
|
|
267
|
+
*/
|
|
268
|
+
private clearTouchState;
|
|
269
|
+
/**
|
|
270
|
+
* Handles month change with an offset
|
|
271
|
+
* @param {number} direction - Direction (-1 for previous, 1 for next)
|
|
272
|
+
* @param {number} offset - Month offset (0 by default)
|
|
273
|
+
* @returns {Function} Change month handler
|
|
274
|
+
*/
|
|
275
|
+
private getChangeMonthHandler;
|
|
276
|
+
/**
|
|
277
|
+
* Handles month change from an event (ex: dropdown)
|
|
278
|
+
* @param {number} offset - Month offset (0 by default)
|
|
279
|
+
* @returns {Function} Change month handler
|
|
280
|
+
*/
|
|
281
|
+
private getHandleMonthChange;
|
|
282
|
+
/**
|
|
283
|
+
* Handles year change from an event (ex: dropdown)
|
|
284
|
+
* @param {number} offset - Year offset (0 by default)
|
|
285
|
+
* @returns {Function} Change year handler
|
|
286
|
+
*/
|
|
287
|
+
private getHandleYearChange;
|
|
288
|
+
/**
|
|
289
|
+
* Handles day click
|
|
290
|
+
* @param {Date} date - Date to handle
|
|
291
|
+
* @param {boolean} isDisabled - Whether the date is disabled
|
|
292
|
+
* @returns {Function} Day click handler
|
|
293
|
+
*/
|
|
294
|
+
private getDayClickHandler;
|
|
295
|
+
/**
|
|
296
|
+
* Handles shortcut selection
|
|
297
|
+
* @param {Object} shortcut - Shortcut to handle
|
|
298
|
+
* @param {string | Date} shortcut.singleValue - Selected date value
|
|
299
|
+
* @param {Object} shortcut.rangeValue - Start and end date values
|
|
300
|
+
* @param {string | Date} shortcut.rangeValue.start - Start date value
|
|
301
|
+
* @param {string | Date} shortcut.rangeValue.end - End date value
|
|
302
|
+
* @param {string} shortcut.label - Label
|
|
303
|
+
* @returns {Function} Shortcut selection handler
|
|
304
|
+
*/
|
|
305
|
+
private getShortcutHandler;
|
|
306
|
+
/**
|
|
307
|
+
* Handles week selection
|
|
308
|
+
* @param {Date[]} dates - Dates to handle
|
|
309
|
+
* @param {number} index - Calendar index
|
|
310
|
+
* @returns {Function} Week selection handler
|
|
311
|
+
*/
|
|
312
|
+
private getWeekSelectionHandler;
|
|
313
|
+
private parsedShortcuts;
|
|
314
|
+
/**
|
|
315
|
+
* Checks if the date format is in UTC mode
|
|
316
|
+
* @returns {boolean} true if the date format is in UTC mode
|
|
317
|
+
*/
|
|
318
|
+
private get isUTCMode();
|
|
319
|
+
/**
|
|
320
|
+
* Checks if shortcuts are visible
|
|
321
|
+
* @returns {boolean} true if shortcuts are visible
|
|
322
|
+
*/
|
|
323
|
+
private get hasShortcuts();
|
|
324
|
+
/**
|
|
325
|
+
* Checks if actions are visible
|
|
326
|
+
* @returns {boolean} true if actions are visible
|
|
327
|
+
*/
|
|
328
|
+
private get hasActions();
|
|
329
|
+
/**
|
|
330
|
+
* Resets the current selection
|
|
331
|
+
*/
|
|
332
|
+
private resetSelection;
|
|
333
|
+
/**
|
|
334
|
+
* Confirms the current selection
|
|
335
|
+
*/
|
|
336
|
+
private confirmSelection;
|
|
337
|
+
/****************************************************************************/
|
|
338
|
+
/**
|
|
339
|
+
* Renders the header
|
|
340
|
+
* @param {number} offset - Month offset
|
|
341
|
+
* @param {number} index - Calendar index
|
|
342
|
+
* @returns {JSX.Element} Header
|
|
343
|
+
* @description Renders the header of the calendar
|
|
344
|
+
*/
|
|
345
|
+
private renderHeader;
|
|
346
|
+
/**
|
|
347
|
+
* Renders the week numbers
|
|
348
|
+
* @param {Array<{date: Date}>} weeks - Weeks to render
|
|
349
|
+
* @param {number} index - Calendar index
|
|
350
|
+
* @returns {JSX.Element} Week numbers
|
|
351
|
+
* @description Renders the week numbers of the calendar
|
|
352
|
+
*/
|
|
353
|
+
private renderWeekNumbers;
|
|
354
|
+
private renderDaysGrid;
|
|
355
|
+
/**
|
|
356
|
+
* Renders the calendar
|
|
357
|
+
* @param {number} index - Calendar index
|
|
358
|
+
* @param {number} offset - Month offset
|
|
359
|
+
* @returns {JSX.Element} Calendar
|
|
360
|
+
* @description Renders the calendar of the calendar
|
|
361
|
+
*/
|
|
362
|
+
private renderCalendar;
|
|
363
|
+
/**
|
|
364
|
+
* Renders the shortcuts
|
|
365
|
+
* @returns {JSX.Element} Shortcuts
|
|
366
|
+
* @description Renders the shortcuts of the calendar
|
|
367
|
+
*/
|
|
368
|
+
private renderShortcuts;
|
|
369
|
+
/**
|
|
370
|
+
* Renders the actions
|
|
371
|
+
* @returns {JSX.Element} Actions
|
|
372
|
+
* @description Renders the actions of the calendar
|
|
373
|
+
* @slot actions - Child content of the component.
|
|
374
|
+
*/
|
|
375
|
+
private renderActions;
|
|
376
|
+
/**
|
|
377
|
+
* Renders the datepicker
|
|
378
|
+
* @returns {JSX.Element} Datepicker
|
|
379
|
+
* @description Renders the datepicker of the calendar
|
|
380
|
+
* @slot default - Child content of the component.
|
|
381
|
+
*/
|
|
382
|
+
render(): any;
|
|
383
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { NovaDocs } from '../../nova-docs';
|
|
2
2
|
import { Components } from '../../components';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const NvCalendarDocs: NovaDocs<Components.NvCalendar>;
|
|
4
|
+
export default NvCalendarDocs;
|
|
@@ -1,24 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { Column } from '../../interfaces/Column';
|
|
3
|
+
import { ActionEvent } from '../../interfaces/actionEvent';
|
|
2
4
|
/**
|
|
3
5
|
* A flexible data grid component powered by `@tanstack/table-core`.
|
|
4
6
|
* @slot default - Use this slot to insert HTML into the data grid content.
|
|
5
|
-
* @slot head - Use this slot to insert HTML into the data grid header.
|
|
6
7
|
* @slot before - Use this slot to insert HTML before the data grid.
|
|
7
8
|
* @slot after - Use this slot to insert HTML after the data grid.
|
|
8
|
-
* @slot body - Use this slot to insert HTML into the data grid body.
|
|
9
9
|
*
|
|
10
10
|
* @deprecated [EXPERIMENTAL]
|
|
11
11
|
* @experimental - This component is still under development and is not ready for use.
|
|
12
12
|
*/
|
|
13
13
|
export declare class NvDatagrid {
|
|
14
14
|
el: HTMLNvDatagridElement;
|
|
15
|
+
private readonly templateCache;
|
|
16
|
+
private readonly headerTemplateCache;
|
|
15
17
|
/****************************************************************************/
|
|
16
18
|
private table;
|
|
17
19
|
parsedColumns: Column[];
|
|
18
20
|
parsedData: any[];
|
|
19
|
-
hasSlotHead: boolean;
|
|
20
|
-
hasSlotBody: boolean;
|
|
21
21
|
/****************************************************************************/
|
|
22
|
+
/**
|
|
23
|
+
* The data to display in the data grid.
|
|
24
|
+
* @example [{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]
|
|
25
|
+
* @default []
|
|
26
|
+
*/
|
|
27
|
+
readonly data: any[];
|
|
22
28
|
/**
|
|
23
29
|
* The columns to display in the data grid.
|
|
24
30
|
* @example
|
|
@@ -30,28 +36,25 @@ export declare class NvDatagrid {
|
|
|
30
36
|
* @default []
|
|
31
37
|
*/
|
|
32
38
|
readonly columns: Column[];
|
|
39
|
+
/**
|
|
40
|
+
* The data to display in the data grid.
|
|
41
|
+
* It can be passed directly as an array of objects or as a JSON string.
|
|
42
|
+
* If both `data` and `dataJson` are provided, `data` takes precedence.
|
|
43
|
+
* @example `[{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]`
|
|
44
|
+
*/
|
|
45
|
+
readonly dataJson?: string;
|
|
33
46
|
/**
|
|
34
47
|
* The columns to display in the data grid.
|
|
35
|
-
* It can be passed directly as an array of objects or as a JSON string
|
|
36
|
-
* (e.g., `[{"header":"Name","accessor":"name"},{"header":"Age","accessor":"age"},{"header":"Email","accessor":"email"}]`).
|
|
48
|
+
* It can be passed directly as an array of objects or as a JSON string.
|
|
37
49
|
* If both `columns` and `columnsJson` are provided, `columns` takes precedence.
|
|
38
50
|
* @example `[{"header":"Name","accessor":"name"},{"header":"Age","accessor":"age"},{"header":"Email","accessor":"email"}]`
|
|
39
51
|
*/
|
|
40
52
|
readonly columnsJson?: string;
|
|
41
53
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @
|
|
44
|
-
* @default []
|
|
54
|
+
* Fallback value to be displayed when data is not available
|
|
55
|
+
* @default 'N/A'
|
|
45
56
|
*/
|
|
46
|
-
readonly
|
|
47
|
-
/**
|
|
48
|
-
* The data to display in the data grid.
|
|
49
|
-
* It can be passed directly as an array of objects or as a JSON string
|
|
50
|
-
* (e.g., `[{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]`).
|
|
51
|
-
* If both `data` and `dataJson` are provided, `data` takes precedence.
|
|
52
|
-
* @example `[{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]`
|
|
53
|
-
*/
|
|
54
|
-
readonly dataJson?: string;
|
|
57
|
+
readonly fallbackValue: string;
|
|
55
58
|
/**
|
|
56
59
|
* The message to display when there is no data available.
|
|
57
60
|
* @default 'No data available'
|
|
@@ -63,28 +66,42 @@ export declare class NvDatagrid {
|
|
|
63
66
|
*/
|
|
64
67
|
readonly noColumnsNoDataMessage: string;
|
|
65
68
|
/****************************************************************************/
|
|
66
|
-
parseColumns(newValue: Column[], oldValue: Column[]): void;
|
|
67
|
-
parseJsonColumns(newValue: string | undefined): void;
|
|
68
|
-
parseData(newValue: any[], oldValue: any[]): void;
|
|
69
|
-
parseJsonData(newValue: string | undefined): void;
|
|
70
|
-
handleParsedChange(): void;
|
|
71
|
-
/****************************************************************************/
|
|
72
|
-
private initializeTable;
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @param {Column[]} newValue - The new value of the columns array.
|
|
76
|
-
* @param {Column[]} oldValue - The old value of the columns array.
|
|
70
|
+
* Caches templates for cells and headers upfront to improve performance.
|
|
77
71
|
*/
|
|
78
|
-
private
|
|
72
|
+
private cacheTemplates;
|
|
73
|
+
private parseDataAndColumns;
|
|
74
|
+
private deepEqual;
|
|
79
75
|
/**
|
|
80
|
-
* Parses the data array
|
|
76
|
+
* Parses the data array and sets the state accordingly
|
|
81
77
|
* @param {any[]} newValue - The new value of the data array.
|
|
82
78
|
* @param {any[]} oldValue - The old value of the data array.
|
|
83
79
|
*/
|
|
84
80
|
private parseDataArray;
|
|
81
|
+
/**
|
|
82
|
+
* Parses the columns array and sets the state accordingly
|
|
83
|
+
* @param {Column[]} newValue - The new value of the columns array.
|
|
84
|
+
* @param {Column[]} oldValue - The old value of the columns array.
|
|
85
|
+
*/
|
|
86
|
+
private parseColumnsArray;
|
|
87
|
+
private initializeTable;
|
|
88
|
+
private generateColumns;
|
|
89
|
+
private getTableData;
|
|
90
|
+
private renderTemplate;
|
|
91
|
+
private replaceKeyWithValue;
|
|
92
|
+
private replacePlaceholdersTextContent;
|
|
93
|
+
private replacePlaceholdersAttributes;
|
|
94
|
+
private replacePlaceholdersProperties;
|
|
95
|
+
/****************************************************************************/
|
|
96
|
+
parseColumns(newValue: Column[], oldValue?: Column[]): void;
|
|
97
|
+
parseJsonColumns(newValue: string | undefined, oldValue: Column[]): void;
|
|
98
|
+
parseData(newValue: any[], oldValue?: any[]): void;
|
|
99
|
+
parseJsonData(newValue: string | undefined): void;
|
|
100
|
+
handleParsedChange(): void;
|
|
85
101
|
/****************************************************************************/
|
|
86
102
|
componentWillLoad(): void;
|
|
87
|
-
|
|
103
|
+
/****************************************************************************/
|
|
104
|
+
action: EventEmitter<ActionEvent>;
|
|
88
105
|
/****************************************************************************/
|
|
89
106
|
render(): any;
|
|
90
107
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @slot
|
|
2
|
+
* @slot header - Defines how to render the header of the column.
|
|
3
|
+
* @slot cell - Defines how to render every cell of the column.
|
|
3
4
|
*/
|
|
4
5
|
export declare class NvDatagridcolumn {
|
|
5
6
|
/****************************************************************************/
|
|
6
7
|
/**
|
|
7
8
|
* Defines the header of the column.
|
|
8
9
|
*/
|
|
9
|
-
readonly header
|
|
10
|
+
readonly header?: string;
|
|
10
11
|
/**
|
|
11
12
|
* Defines the accessor of the column.
|
|
12
13
|
*/
|
|
@@ -9,6 +9,7 @@ export declare class NvDialog {
|
|
|
9
9
|
el: HTMLNvDialogElement;
|
|
10
10
|
private dialogElement;
|
|
11
11
|
private eventsAttached;
|
|
12
|
+
private form;
|
|
12
13
|
/****************************************************************************/
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
@@ -41,12 +42,6 @@ export declare class NvDialog {
|
|
|
41
42
|
* If true, the dialog will be closed when the backdrop is clicked.
|
|
42
43
|
*/
|
|
43
44
|
readonly clickOutside: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Controls the dialog's autofocus behavior. When false (default), the dialog will
|
|
46
|
-
* automatically focus the first focusable element. When true, automatic focus is
|
|
47
|
-
* disabled and you must manually set focus on an element for accessibility compliance.
|
|
48
|
-
*/
|
|
49
|
-
readonly manualFocus: boolean;
|
|
50
45
|
/**
|
|
51
46
|
* If true, the dialog visibility is managed manually through methods or the open prop.
|
|
52
47
|
*/
|
|
@@ -99,7 +94,6 @@ export declare class NvDialog {
|
|
|
99
94
|
private handleDialogClose;
|
|
100
95
|
/**
|
|
101
96
|
* Handles the keydown event to optionally prevent the native dialog from closing when the escape key is pressed.
|
|
102
|
-
|
|
103
97
|
* @param {KeyboardEvent} event - The keydown event.
|
|
104
98
|
*/
|
|
105
99
|
handleKeyDown(event: KeyboardEvent): void;
|