@nova-design-system/nova-webcomponents 3.0.0-beta.39 → 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/{constants-2ae3d9eb.js → constants-79d2cdfc.js} +4 -4
- 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 +0 -32
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- 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 +2 -2
- 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 +20 -9
- 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 +4 -4
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -3
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtime.cjs.entry.js +10 -10
- 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.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 +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/collection/collection-manifest.json +1 -9
- 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.js +1 -1
- 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.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.js +4 -4
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
- package/dist/collection/components/nv-icon/nv-icon.js +3 -3
- package/dist/collection/components/nv-icon/nv-icon.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.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/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/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/components/index.js +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-calendar.js +6 -6
- 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 +25 -15
- 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 +8 -8
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +7 -7
- package/dist/components/nv-fieldnumber.js +4 -4
- package/dist/components/nv-fieldpassword.js +6 -6
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +6 -6
- package/dist/components/nv-fieldtext.js +4 -4
- package/dist/components/nv-fieldtextarea.js +3 -3
- package/dist/components/nv-fieldtime.js +14 -14
- 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-659a5ae4.js → p-11cc38e0.js} +4 -4
- package/dist/components/{p-659a5ae4.js.map → p-11cc38e0.js.map} +1 -1
- package/dist/components/{p-17b6705f.js → p-1657eba4.js} +23 -16
- package/dist/components/p-1657eba4.js.map +1 -0
- package/dist/components/{p-88165c0e.js → p-33f9bdb1.js} +4 -4
- package/dist/components/{p-88165c0e.js.map → p-33f9bdb1.js.map} +1 -1
- package/dist/components/{p-f40a7e2f.js → p-4b184820.js} +3 -3
- package/dist/components/{p-f40a7e2f.js.map → p-4b184820.js.map} +1 -1
- package/dist/components/{p-48317c2c.js → p-4bb5eb79.js} +3 -3
- package/dist/components/{p-48317c2c.js.map → p-4bb5eb79.js.map} +1 -1
- package/dist/components/{p-842afd9a.js → p-69543282.js} +3 -3
- package/dist/components/{p-842afd9a.js.map → p-69543282.js.map} +1 -1
- package/dist/components/{p-fdf57d25.js → p-96605453.js} +5 -5
- package/dist/components/{p-fdf57d25.js.map → p-96605453.js.map} +1 -1
- package/dist/components/{p-33e07c91.js → p-a633892a.js} +2 -2
- package/dist/components/{p-33e07c91.js.map → p-a633892a.js.map} +1 -1
- package/dist/components/{p-fd65c51f.js → p-b316c35d.js} +2 -2
- package/dist/components/p-b316c35d.js.map +1 -0
- package/dist/components/{p-8d7a57d1.js → p-ba145f46.js} +38 -15
- package/dist/components/p-ba145f46.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-492ad81d.js → p-d17558a8.js} +2 -2
- package/dist/components/{p-492ad81d.js.map → p-d17558a8.js.map} +1 -1
- package/dist/components/{p-73e703a1.js → p-f201db34.js} +2 -2
- package/dist/components/{p-73e703a1.js.map → p-f201db34.js.map} +1 -1
- package/dist/components/{p-5f5e2bf2.js → p-f77c3072.js} +4 -4
- package/dist/components/p-f77c3072.js.map +1 -0
- package/dist/components/{p-83e1177b.js → p-fad78896.js} +3 -3
- package/dist/components/{p-83e1177b.js.map → p-fad78896.js.map} +1 -1
- package/dist/docs.json +352 -679
- package/dist/esm/{constants-8243d2ea.js → constants-75e6d7f0.js} +2 -2
- 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 +0 -32
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- 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 +2 -2
- 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 +20 -9
- 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 +4 -4
- package/dist/esm/nv-fielddropdown.entry.js +3 -3
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldpassword.entry.js +3 -3
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldtext.entry.js +3 -3
- package/dist/esm/nv-fieldtextarea.entry.js +3 -3
- package/dist/esm/nv-fieldtime.entry.js +10 -10
- package/dist/esm/nv-icon.entry.js +3 -3
- 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 +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/native/index.esm.js +1 -1
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/native.esm.js.map +1 -1
- package/dist/native/{p-e1b22ca7.entry.js → p-0a2a9f8b.entry.js} +2 -2
- package/dist/native/{p-46c9aa04.entry.js → p-12d08abc.entry.js} +2 -2
- package/dist/native/{p-63c894f0.entry.js → p-15be3d96.entry.js} +2 -2
- package/dist/native/{p-943a19a5.entry.js → p-184cd119.entry.js} +2 -2
- package/dist/native/{p-2b99e720.entry.js → p-1a3d2a74.entry.js} +2 -2
- package/dist/native/{p-bac62e20.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-3b2c7871.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-fa33ec18.entry.js → p-491f4605.entry.js} +2 -2
- package/dist/native/{p-39b4ec02.entry.js → p-554f7b44.entry.js} +2 -2
- package/dist/native/{p-44e7e3e8.entry.js → p-69fb1c9d.entry.js} +2 -2
- package/dist/native/{p-cba14168.entry.js → p-729c9d45.entry.js} +2 -2
- package/dist/native/{p-6acbf729.entry.js → p-78f08578.entry.js} +2 -2
- package/dist/native/p-8664ab16.entry.js +7 -0
- package/dist/native/p-8664ab16.entry.js.map +1 -0
- package/dist/native/p-8d6516a3.entry.js +2 -0
- package/dist/native/{p-4a7fa613.entry.js.map → p-8d6516a3.entry.js.map} +1 -1
- package/dist/native/p-951baf95.entry.js +2 -0
- package/dist/native/{p-b2ace8e9.entry.js → p-9795090f.entry.js} +2 -2
- package/dist/native/{p-b2ace8e9.entry.js.map → p-9795090f.entry.js.map} +1 -1
- package/dist/native/p-af60740c.entry.js +2 -0
- package/dist/native/{p-3bfd5a30.entry.js.map → p-af60740c.entry.js.map} +1 -1
- package/dist/native/{p-fd65c51f.js → p-b316c35d.js} +2 -2
- package/dist/native/{p-fd65c51f.js.map → p-b316c35d.js.map} +1 -1
- 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-4eacd598.entry.js → p-cda56476.entry.js} +2 -2
- package/dist/native/{p-dbb89408.entry.js → p-d1bf4d77.entry.js} +2 -2
- package/dist/native/{p-b13b2663.entry.js → p-d7665a07.entry.js} +2 -2
- package/dist/native/{p-833af1bf.entry.js → p-daeb7e22.entry.js} +2 -2
- package/dist/native/{p-634b49fe.entry.js → p-e36e956b.entry.js} +2 -2
- package/dist/native/{p-afc16010.entry.js → p-e9e77494.entry.js} +2 -2
- package/dist/native/{p-0bf35abc.entry.js → p-edee1c1f.entry.js} +2 -2
- package/dist/native/{p-4db7add6.entry.js → p-f1585fc2.entry.js} +2 -2
- package/dist/native/{p-ac81e143.entry.js → p-f3579407.entry.js} +2 -2
- package/dist/native/p-fca807b4.entry.js +13 -0
- package/dist/native/p-fca807b4.entry.js.map +1 -0
- package/dist/native/{p-2151f564.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-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-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 +136 -256
- package/dist/types/interfaces/ColumnConfig.d.ts +13 -0
- package/dist/types/interfaces/actionEvent.d.ts +13 -0
- package/dist/types/utils/dom.utils.d.ts +12 -0
- package/dist/types/utils/test/class.utils.test.d.ts +1 -0
- package/dist/types/utils/test/dom.utils.test.d.ts +1 -0
- package/hydrate/index.js +958 -667
- package/hydrate/index.mjs +958 -667
- package/package.json +13 -25
- package/dist/blazor-docs.json +0 -15543
- package/dist/cjs/constants-2ae3d9eb.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-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/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.d.ts +0 -11
- package/dist/components/nv-tablerow.js +0 -38
- package/dist/components/nv-tablerow.js.map +0 -1
- package/dist/components/p-17b6705f.js.map +0 -1
- package/dist/components/p-5f5e2bf2.js.map +0 -1
- package/dist/components/p-8d7a57d1.js.map +0 -1
- package/dist/components/p-fd65c51f.js.map +0 -1
- package/dist/esm/constants-8243d2ea.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-1bae8cdd.entry.js +0 -13
- package/dist/native/p-1bae8cdd.entry.js.map +0 -1
- package/dist/native/p-1ca72f74.entry.js +0 -2
- package/dist/native/p-1ca72f74.entry.js.map +0 -1
- package/dist/native/p-3422397d.entry.js +0 -2
- package/dist/native/p-3422397d.entry.js.map +0 -1
- package/dist/native/p-3bfd5a30.entry.js +0 -2
- package/dist/native/p-4a7fa613.entry.js +0 -2
- package/dist/native/p-51e0c5d3.entry.js +0 -2
- package/dist/native/p-51e0c5d3.entry.js.map +0 -1
- package/dist/native/p-57513eb0.entry.js +0 -2
- package/dist/native/p-57513eb0.entry.js.map +0 -1
- package/dist/native/p-5851fbed.entry.js +0 -2
- package/dist/native/p-5851fbed.entry.js.map +0 -1
- package/dist/native/p-5f1a7e6e.entry.js +0 -2
- package/dist/native/p-7211a3cb.entry.js +0 -7
- package/dist/native/p-7211a3cb.entry.js.map +0 -1
- package/dist/native/p-79765c7d.entry.js +0 -2
- package/dist/native/p-79765c7d.entry.js.map +0 -1
- package/dist/native/p-8b323a15.entry.js +0 -2
- package/dist/native/p-8b323a15.entry.js.map +0 -1
- package/dist/native/p-9c8eadde.entry.js +0 -2
- package/dist/native/p-9c8eadde.entry.js.map +0 -1
- package/dist/native/p-bac62e20.entry.js.map +0 -1
- package/dist/native/p-beab7cbd.entry.js +0 -2
- package/dist/native/p-bfb6e22c.entry.js +0 -2
- package/dist/native/p-bfb6e22c.entry.js.map +0 -1
- package/dist/native/p-c29be15d.entry.js +0 -2
- package/dist/native/p-c29be15d.entry.js.map +0 -1
- package/dist/native/p-ef9b66d4.entry.js +0 -2
- package/dist/native/p-ef9b66d4.entry.js.map +0 -1
- package/dist/native/p-f867541d.entry.js +0 -2
- package/dist/native/p-f867541d.entry.js.map +0 -1
- package/dist/native/p-f954a077.entry.js +0 -2
- package/dist/native/p-f954a077.entry.js.map +0 -1
- package/dist/native/p-ff7eea0e.entry.js +0 -2
- package/dist/native/p-ff7eea0e.entry.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-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/components/nv-tablerow/nv-tablerow.docs.d.ts +0 -4
- package/dist/vscode-data.json +0 -4407
- /package/dist/native/{p-e1b22ca7.entry.js.map → p-0a2a9f8b.entry.js.map} +0 -0
- /package/dist/native/{p-46c9aa04.entry.js.map → p-12d08abc.entry.js.map} +0 -0
- /package/dist/native/{p-63c894f0.entry.js.map → p-15be3d96.entry.js.map} +0 -0
- /package/dist/native/{p-943a19a5.entry.js.map → p-184cd119.entry.js.map} +0 -0
- /package/dist/native/{p-2b99e720.entry.js.map → p-1a3d2a74.entry.js.map} +0 -0
- /package/dist/native/{p-3b2c7871.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-fa33ec18.entry.js.map → p-491f4605.entry.js.map} +0 -0
- /package/dist/native/{p-39b4ec02.entry.js.map → p-554f7b44.entry.js.map} +0 -0
- /package/dist/native/{p-44e7e3e8.entry.js.map → p-69fb1c9d.entry.js.map} +0 -0
- /package/dist/native/{p-cba14168.entry.js.map → p-729c9d45.entry.js.map} +0 -0
- /package/dist/native/{p-6acbf729.entry.js.map → p-78f08578.entry.js.map} +0 -0
- /package/dist/native/{p-5f1a7e6e.entry.js.map → p-951baf95.entry.js.map} +0 -0
- /package/dist/native/{p-4eacd598.entry.js.map → p-cda56476.entry.js.map} +0 -0
- /package/dist/native/{p-dbb89408.entry.js.map → p-d1bf4d77.entry.js.map} +0 -0
- /package/dist/native/{p-b13b2663.entry.js.map → p-d7665a07.entry.js.map} +0 -0
- /package/dist/native/{p-833af1bf.entry.js.map → p-daeb7e22.entry.js.map} +0 -0
- /package/dist/native/{p-634b49fe.entry.js.map → p-e36e956b.entry.js.map} +0 -0
- /package/dist/native/{p-afc16010.entry.js.map → p-e9e77494.entry.js.map} +0 -0
- /package/dist/native/{p-0bf35abc.entry.js.map → p-edee1c1f.entry.js.map} +0 -0
- /package/dist/native/{p-4db7add6.entry.js.map → p-f1585fc2.entry.js.map} +0 -0
- /package/dist/native/{p-ac81e143.entry.js.map → p-f3579407.entry.js.map} +0 -0
- /package/dist/native/{p-2151f564.entry.js.map → p-fde56f9c.entry.js.map} +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;
|
|
@@ -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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ButtonType } from '../../utils/constants';
|
|
2
3
|
/**
|
|
3
4
|
* @slot default - Custom content for the dialog footer. When provided, the default buttons will not be rendered.
|
|
4
5
|
*/
|
|
@@ -8,7 +9,7 @@ export declare class NvDialogfooter {
|
|
|
8
9
|
private hasSlot;
|
|
9
10
|
/****************************************************************************/
|
|
10
11
|
/**
|
|
11
|
-
* Disables the
|
|
12
|
+
* Disables the primary button, preventing user interaction.
|
|
12
13
|
*/
|
|
13
14
|
readonly disabled: boolean;
|
|
14
15
|
/**
|
|
@@ -17,15 +18,15 @@ export declare class NvDialogfooter {
|
|
|
17
18
|
*/
|
|
18
19
|
readonly undismissable: boolean;
|
|
19
20
|
/**
|
|
20
|
-
* Sets the leading icon for the
|
|
21
|
+
* Sets the leading icon for the primary button.
|
|
21
22
|
*/
|
|
22
23
|
readonly leadingIcon: string;
|
|
23
24
|
/**
|
|
24
|
-
* Sets the trailing icon for the
|
|
25
|
+
* Sets the trailing icon for the primary button.
|
|
25
26
|
*/
|
|
26
27
|
readonly trailingIcon: string;
|
|
27
28
|
/**
|
|
28
|
-
* Sets the danger state for the
|
|
29
|
+
* Sets the danger state for the primary button.
|
|
29
30
|
*/
|
|
30
31
|
readonly danger: boolean;
|
|
31
32
|
/**
|
|
@@ -33,24 +34,32 @@ export declare class NvDialogfooter {
|
|
|
33
34
|
*/
|
|
34
35
|
readonly cancelLabel: string;
|
|
35
36
|
/**
|
|
36
|
-
* Sets the label for the
|
|
37
|
+
* Sets the label for the primary button.
|
|
37
38
|
*/
|
|
38
|
-
readonly
|
|
39
|
+
readonly primaryLabel: string;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the type of the primary button.
|
|
42
|
+
*/
|
|
43
|
+
readonly primaryButtonType: `${ButtonType}`;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the form for the dialog footer.
|
|
46
|
+
*/
|
|
47
|
+
readonly form: string;
|
|
39
48
|
/****************************************************************************/
|
|
40
49
|
/**
|
|
41
50
|
* Emitted when the cancel button is clicked. This will close the dialog.
|
|
42
51
|
*/
|
|
43
52
|
nvDialogCanceled: EventEmitter<void>;
|
|
44
53
|
/**
|
|
45
|
-
* Emitted when the
|
|
54
|
+
* Emitted when the primary button is clicked. This allows to handle the primary action and potential data capture before closing the dialog.
|
|
46
55
|
*/
|
|
47
|
-
|
|
56
|
+
nvDialogPrimaryClicked: EventEmitter<void>;
|
|
48
57
|
/****************************************************************************/
|
|
49
58
|
/**
|
|
50
|
-
* Handles the
|
|
59
|
+
* Handles the primary action when the primary button is clicked.
|
|
51
60
|
* @param {Event} event - The click event.
|
|
52
61
|
*/
|
|
53
|
-
private
|
|
62
|
+
private handlePrimary;
|
|
54
63
|
/**
|
|
55
64
|
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
56
65
|
* @param {Event} event - The click event.
|
|
@@ -1,48 +1,42 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ColumnConfig } from '../../interfaces/ColumnConfig';
|
|
3
|
+
import { ActionEvent } from '../../interfaces/actionEvent';
|
|
1
4
|
/**
|
|
2
|
-
* @slot default -
|
|
3
|
-
* @slot head - Use this slot to insert HTML into the table header.
|
|
5
|
+
* @slot default - Slot for the composed table columns
|
|
4
6
|
* @slot before - Use this slot to insert HTML before the table.
|
|
5
7
|
* @slot after - Use this slot to insert HTML after the table.
|
|
6
|
-
* @slot body - Use this slot to insert HTML into the table body.
|
|
7
|
-
*
|
|
8
|
-
* @deprecated [EXPERIMENTAL]
|
|
9
|
-
* @experimental - This component is still under development and is not ready for use.
|
|
10
8
|
*/
|
|
11
9
|
export declare class NvTable {
|
|
12
10
|
el: HTMLNvTableElement;
|
|
11
|
+
private readonly templateCache;
|
|
12
|
+
private readonly headerTemplateCache;
|
|
13
13
|
/****************************************************************************/
|
|
14
|
-
parsedColumns:
|
|
14
|
+
parsedColumns: ColumnConfig[];
|
|
15
15
|
parsedData: any[];
|
|
16
|
-
|
|
17
|
-
hasSlotBody: boolean;
|
|
16
|
+
private table;
|
|
18
17
|
/****************************************************************************/
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @example ['Name', 'Age', 'Email']
|
|
22
|
-
* @default []
|
|
19
|
+
* Data to be displayed in the table
|
|
23
20
|
*/
|
|
24
|
-
readonly
|
|
21
|
+
readonly data: any[];
|
|
25
22
|
/**
|
|
26
|
-
*
|
|
27
|
-
* It can be passed directly as an array of strings or as a JSON string.
|
|
28
|
-
* @example '["Name", "Age", "Email"]'
|
|
23
|
+
* Configuration of the columns of the table
|
|
29
24
|
*/
|
|
30
|
-
readonly
|
|
25
|
+
readonly columnsConfig: ColumnConfig[];
|
|
31
26
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @example [{ name: 'Alice', age: 25, email: 'alice@mail.com' }, { name: 'Bob', age: 30, email: 'bob@mail.com' }]
|
|
34
|
-
* @default []
|
|
27
|
+
* Data to be displayed in the table
|
|
35
28
|
*/
|
|
36
|
-
readonly
|
|
29
|
+
readonly dataJson?: string;
|
|
37
30
|
/**
|
|
38
|
-
*
|
|
39
|
-
* It can be passed directly as an array of objects or as a JSON string.
|
|
40
|
-
* @example '[{ "name": "Alice", "age": "25", "email": "alice@mail.com" },{ "name": "Bob", "age": "30", "email": "bob@mail.com" }]'
|
|
31
|
+
* Configuration of the columns of the table
|
|
41
32
|
*/
|
|
42
|
-
readonly
|
|
33
|
+
readonly columnsConfigJson?: string;
|
|
43
34
|
/**
|
|
44
|
-
*
|
|
45
|
-
|
|
35
|
+
* Fallback value to be displayed when data is not available
|
|
36
|
+
*/
|
|
37
|
+
readonly fallbackValue: string;
|
|
38
|
+
/**
|
|
39
|
+
* Message to be displayed when no data is available
|
|
46
40
|
*/
|
|
47
41
|
readonly noDataMessage: string;
|
|
48
42
|
/**
|
|
@@ -51,25 +45,43 @@ export declare class NvTable {
|
|
|
51
45
|
*/
|
|
52
46
|
readonly noColumnsNoDataMessage: string;
|
|
53
47
|
/****************************************************************************/
|
|
54
|
-
parseColumns(newValue: string[], oldValue: string[]): void;
|
|
55
|
-
parseJsonColumns(newValue: string | undefined): void;
|
|
56
|
-
parseData(newValue: any[], oldValue: any[]): void;
|
|
57
|
-
parseJsonData(newValue: string | undefined): void;
|
|
58
|
-
/****************************************************************************/
|
|
59
48
|
/**
|
|
60
|
-
*
|
|
61
|
-
* @param {string[]} newValue - The new value of the columns array.
|
|
62
|
-
* @param {string[]} oldValue - The old value of the columns array.
|
|
49
|
+
* Caches templates for cells and headers upfront to improve performance.
|
|
63
50
|
*/
|
|
64
|
-
private
|
|
51
|
+
private cacheTemplates;
|
|
52
|
+
private parseDataAndColumns;
|
|
53
|
+
private deepEqual;
|
|
65
54
|
/**
|
|
66
|
-
* Parses the data array
|
|
67
|
-
* @param {any[]} newValue -
|
|
68
|
-
* @param {any[]} oldValue -
|
|
55
|
+
* Parses the data array and sets the state accordingly
|
|
56
|
+
* @param {any[]} newValue - New value of the data array
|
|
57
|
+
* @param {any[]} oldValue - Old value of the data array
|
|
58
|
+
* @returns {void}
|
|
69
59
|
*/
|
|
70
60
|
private parseDataArray;
|
|
61
|
+
/**
|
|
62
|
+
* Parses the columns array and sets the state accordingly
|
|
63
|
+
* @param {ColumnConfig[]} newValue - New value of the columns array
|
|
64
|
+
* @param {ColumnConfig[]} oldValue - Old value of the columns array
|
|
65
|
+
* @returns {void}
|
|
66
|
+
*/
|
|
67
|
+
private parseColumnsArray;
|
|
68
|
+
private initializeTable;
|
|
69
|
+
private getTableData;
|
|
70
|
+
private replaceKeyWithValue;
|
|
71
|
+
private renderTemplate;
|
|
72
|
+
private replacePlaceholdersTextContent;
|
|
73
|
+
private replacePlaceholdersAttributes;
|
|
74
|
+
private replacePlaceholdersProperties;
|
|
75
|
+
/****************************************************************************/
|
|
76
|
+
parseColumns(newValue: ColumnConfig[], oldValue: ColumnConfig[]): void;
|
|
77
|
+
parseJsonColumns(newValue: string | undefined, oldValue: ColumnConfig[]): void;
|
|
78
|
+
parseData(newValue: any[], oldValue: any[]): void;
|
|
79
|
+
parseJsonData(newValue: string | undefined): void;
|
|
80
|
+
handleParsedChange(): void;
|
|
71
81
|
/****************************************************************************/
|
|
72
82
|
componentWillLoad(): void;
|
|
73
83
|
/****************************************************************************/
|
|
84
|
+
action: EventEmitter<ActionEvent>;
|
|
85
|
+
/****************************************************************************/
|
|
74
86
|
render(): any;
|
|
75
87
|
}
|
|
@@ -1,51 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @slot default - Use this slot to insert HTML into the table column.
|
|
3
|
-
*/
|
|
4
1
|
export declare class NvTablecolumn {
|
|
5
2
|
/****************************************************************************/
|
|
6
3
|
/**
|
|
7
|
-
*
|
|
8
|
-
* alternative label to use for the header cell when referencing the cell in other
|
|
9
|
-
* contexts. Some user-agents, such as speech readers, may present this description
|
|
10
|
-
* before the content itself.
|
|
4
|
+
* Name of the column and data accessor
|
|
11
5
|
*/
|
|
12
|
-
readonly
|
|
6
|
+
readonly name: string;
|
|
13
7
|
/**
|
|
14
|
-
*
|
|
15
|
-
* or extends. The default value is 1. User agents dismiss values higher than 1000
|
|
16
|
-
* as incorrect, defaulting such values to 1.
|
|
17
|
-
* @default 1
|
|
8
|
+
* Header of the column to be displayed
|
|
18
9
|
*/
|
|
19
|
-
readonly
|
|
20
|
-
/**
|
|
21
|
-
* A non-negative integer value indicating how many rows the header cell spans or
|
|
22
|
-
* extends. The default value is 1; if its value is set to 0, the header cell will
|
|
23
|
-
* extends to the end of the table grouping section (`<thead>`, `<tbody>`, `<tfoot>`,
|
|
24
|
-
* even if implicitly defined), that the `<th>` belongs to. Values higher than 65534
|
|
25
|
-
* are clipped at 65534.
|
|
26
|
-
* @default 1
|
|
27
|
-
*/
|
|
28
|
-
readonly rowspan: number;
|
|
29
|
-
/**
|
|
30
|
-
* A list of space-separated strings corresponding to the id attributes of the `<th>`
|
|
31
|
-
* elements that provide the headers for this header cell.
|
|
32
|
-
* @example 'col1 col2'
|
|
33
|
-
*/
|
|
34
|
-
readonly headers: string;
|
|
35
|
-
/**
|
|
36
|
-
* Defines the cells that the header (defined in the `<th>`) element relates to.
|
|
37
|
-
* Possible enumerated values are:
|
|
38
|
-
*
|
|
39
|
-
* - `col`: The header relates to all cells of the column it belongs to.
|
|
40
|
-
* - `row`: The header relates to all cells of the row it belongs to.
|
|
41
|
-
* - `colgroup`: The header relates to all cells of the column group it belongs to.
|
|
42
|
-
* - `rowgroup`: The header relates to all cells of the row group it belongs to.
|
|
43
|
-
*
|
|
44
|
-
* If the `scope` attribute is not specified, or its value is not `row`, `col`,
|
|
45
|
-
* `rowgroup`, or `colgroup`, then browsers automatically select the set of cells to
|
|
46
|
-
* which the header cell applies.
|
|
47
|
-
*/
|
|
48
|
-
readonly scope: 'col' | 'row' | 'colgroup' | 'rowgroup';
|
|
10
|
+
readonly header?: string;
|
|
49
11
|
/****************************************************************************/
|
|
50
12
|
render(): any;
|
|
51
13
|
}
|