@nova-design-system/nova-webcomponents 3.27.0 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-Cfkoz1kc.js → index-eLt3bBQs.js} +13 -1
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/native.cjs.js +2 -2
- package/dist/cjs/nova-datetime-DOtVgYBB.js +10643 -0
- package/dist/cjs/nv-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +2 -2
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +8 -7
- package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +2 -2
- package/dist/cjs/nv-datagrid.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
- package/dist/cjs/nv-datetest.cjs.entry.js +66 -0
- package/dist/cjs/nv-datetimetest.cjs.entry.js +54 -0
- package/dist/cjs/nv-dialog.cjs.entry.js +2 -2
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +7 -5
- package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +5 -3
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddate.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +8 -8
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +6 -6
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +115 -86
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +7 -7
- package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtext.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtime.cjs.entry.js +15 -12
- package/dist/cjs/nv-icon.cjs.entry.js +3 -3
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +2 -2
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -14
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +2 -2
- package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +3 -3
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-split.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-table.cjs.entry.js +3 -3
- package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
- package/dist/cjs/nv-timetest.cjs.entry.js +72 -0
- package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +9 -4
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/nv-accordion/nv-accordion.docs.js +1 -0
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.docs.js +69 -1
- package/dist/collection/components/nv-accordion-item/nv-accordion-item.js +2 -2
- package/dist/collection/components/nv-alert/nv-alert.docs.js +1 -0
- package/dist/collection/components/nv-alert/nv-alert.js +15 -5
- package/dist/collection/components/nv-avatar/nv-avatar.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.docs.js +1 -0
- package/dist/collection/components/nv-badge/nv-badge.js +32 -11
- package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +36 -1
- package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +1 -0
- package/dist/collection/components/nv-button/nv-button.docs.js +1 -0
- package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +1 -0
- package/dist/collection/components/nv-calendar/nv-calendar.docs.js +1 -0
- package/dist/collection/components/nv-col/nv-col.docs.js +2 -0
- package/dist/collection/components/nv-col/nv-col.js +2 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +3 -2
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.docs.js +25 -1
- package/dist/collection/components/nv-datetest/nv-datetest.css +15 -0
- package/dist/collection/components/nv-datetest/nv-datetest.docs.js +12 -0
- package/dist/collection/components/nv-datetest/nv-datetest.js +242 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.css +15 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.docs.js +5 -0
- package/dist/collection/components/nv-datetimetest/nv-datetimetest.js +197 -0
- package/dist/collection/components/nv-dialog/nv-dialog.docs.js +1 -0
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +9 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +35 -13
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +9 -1
- package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
- package/dist/collection/components/nv-drawer/nv-drawer.docs.js +1 -0
- package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +9 -1
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +31 -9
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +9 -1
- package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -0
- package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
- package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -0
- package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
- package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +3 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +1 -0
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -6
- package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +3 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +1 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
- package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +3 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +54 -1
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.css +1 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +42 -1
- package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -0
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +119 -84
- package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +13 -2
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +3 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +1 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +3 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -0
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -0
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +1 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +3 -0
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +3 -1
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +3 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +1 -0
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -0
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +13 -10
- package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +3 -0
- package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
- package/dist/collection/components/nv-icon/nv-icon.js +7 -4
- package/dist/collection/components/nv-icon/nv-icons.js +4 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +1 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +7 -4
- package/dist/collection/components/nv-loader/nv-loader.docs.js +1 -0
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.docs.js +1 -0
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +20 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +6 -3
- package/dist/collection/components/nv-notification/nv-notification.docs.js +1 -0
- package/dist/collection/components/nv-notification/nv-notification.js +15 -5
- package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +1 -0
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.docs.js +24 -1
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -15
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.docs.js +1 -0
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.docs.js +1 -0
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.docs.js +2 -0
- package/dist/collection/components/nv-row/nv-row.js +2 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +1 -0
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +14 -1
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +15 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +9 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +15 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +9 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +10 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +16 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +8 -5
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +15 -1
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.docs.js +1 -0
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.docs.js +1 -0
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.docs.js +1 -0
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-table/styles/nv-table.css +19 -2
- package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +1 -0
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-timetest/nv-timetest.css +15 -0
- package/dist/collection/components/nv-timetest/nv-timetest.docs.js +5 -0
- package/dist/collection/components/nv-timetest/nv-timetest.js +248 -0
- package/dist/collection/components/nv-toggle/nv-toggle.docs.js +1 -0
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +48 -1
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +1 -0
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +1 -0
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +8 -3
- package/dist/collection/index.js +3 -0
- package/dist/collection/interfaces/dates.js +1 -0
- package/dist/collection/utils/nova-datetime.js +144 -0
- package/dist/collection/utils/test/nova-datetime.test.js +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +1 -1
- package/dist/components/nv-breadcrumbs.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-buttongroup.js +1 -1
- package/dist/components/nv-calendar.js +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +1 -1
- package/dist/components/nv-datagridcolumn.js +1 -1
- package/dist/components/nv-datetest.d.ts +11 -0
- package/dist/components/nv-datetest.js +1 -0
- package/dist/components/nv-datetimetest.d.ts +11 -0
- package/dist/components/nv-datetimetest.js +1 -0
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-drawerheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldradio.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +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 +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification-bullet.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.js +1 -1
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-timetest.d.ts +11 -0
- package/dist/components/nv-timetest.js +1 -0
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-CAGzfU3O.js → p-Bl7rc9YV.js} +1 -1
- package/dist/components/{p-BBy1Mdgv.js → p-Bytxo1iR.js} +1 -1
- package/dist/components/p-C47vpaBp.js +1 -0
- package/dist/components/{p-BMpkyzCW.js → p-C99g_PrG.js} +1 -1
- package/dist/components/{p-BvxuoODv.js → p-CBlrNW6n.js} +1 -1
- package/dist/components/{p-DlOgBZa8.js → p-CD12QIMB.js} +2 -2
- package/dist/components/{p-Ho_7-x5W.js → p-CT782LKx.js} +1 -1
- package/dist/components/{p-D-MnI-R8.js → p-CUjRfVPl.js} +1 -1
- package/dist/components/{p-kMTGXpRx.js → p-CfOVizcp.js} +1 -1
- package/dist/components/{p-S18SgvAW.js → p-CgufQqes.js} +1 -1
- package/dist/components/p-ChVdX6FG.js +1 -0
- package/dist/components/{p-Ba1zVklG.js → p-Cnlbk416.js} +1 -1
- package/dist/components/p-Cr_-lRNo.js +1 -0
- package/dist/components/{p-BwYt1BAb.js → p-Cuq_uNwY.js} +1 -1
- package/dist/components/p-CyL2J6O4.js +74 -0
- package/dist/components/p-D1psKXwD.js +1 -0
- package/dist/components/{p-T-bBxAoT.js → p-D3JDACHw.js} +1 -1
- package/dist/components/p-DKgmDzJ1.js +1 -0
- package/dist/components/p-DdcXhR3I.js +1 -0
- package/dist/components/p-EV8CtE4q.js +1 -0
- package/dist/components/{p-DrgqO3gF.js → p-RYxAzR3m.js} +1 -1
- package/dist/components/{p-Db4JZxyy.js → p-_zOMJBOq.js} +1 -1
- package/dist/components/{p-6nAIGZFL.js → p-flcatmxD.js} +1 -1
- package/dist/components/p-p1ofW2Cs.js +1 -0
- package/dist/esm/{index-BCjiE1MF.js → index-DU3Vhh_k.js} +13 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/native.js +3 -3
- package/dist/esm/nova-datetime-CyL2J6O4.js +10636 -0
- package/dist/esm/nv-accordion-item.entry.js +3 -3
- package/dist/esm/nv-accordion.entry.js +1 -1
- package/dist/esm/nv-alert.entry.js +2 -2
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +8 -7
- package/dist/esm/nv-breadcrumb.entry.js +1 -1
- package/dist/esm/nv-breadcrumbs.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-buttongroup.entry.js +1 -1
- package/dist/esm/nv-calendar.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +2 -2
- package/dist/esm/nv-datagrid.entry.js +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +1 -1
- package/dist/esm/nv-datetest.entry.js +64 -0
- package/dist/esm/nv-datetimetest.entry.js +52 -0
- package/dist/esm/nv-dialog.entry.js +2 -2
- package/dist/esm/nv-dialogfooter_2.entry.js +7 -5
- package/dist/esm/nv-drawer.entry.js +2 -2
- package/dist/esm/nv-drawerfooter_2.entry.js +5 -3
- package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
- package/dist/esm/nv-fielddate.entry.js +8 -8
- package/dist/esm/nv-fielddaterange.entry.js +8 -8
- package/dist/esm/nv-fielddropdown.entry.js +6 -6
- package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
- package/dist/esm/nv-fieldmultiselect.entry.js +115 -86
- package/dist/esm/nv-fieldnumber.entry.js +6 -6
- package/dist/esm/nv-fieldpassword.entry.js +6 -6
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +7 -7
- package/dist/esm/nv-fieldslider.entry.js +4 -4
- package/dist/esm/nv-fieldtext.entry.js +6 -6
- package/dist/esm/nv-fieldtextarea.entry.js +5 -5
- package/dist/esm/nv-fieldtime.entry.js +15 -12
- package/dist/esm/nv-icon.entry.js +3 -3
- package/dist/esm/nv-iconbutton_2.entry.js +3 -3
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +2 -2
- package/dist/esm/nv-notification-bullet.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +2 -2
- package/dist/esm/nv-notificationcontainer.entry.js +2 -14
- package/dist/esm/nv-pagination-nav.entry.js +2 -2
- package/dist/esm/nv-paginationtable.entry.js +2 -2
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-sidebar.entry.js +2 -2
- package/dist/esm/nv-sidebarcontent.entry.js +2 -2
- package/dist/esm/nv-sidebardivider.entry.js +2 -2
- package/dist/esm/nv-sidebarfooter.entry.js +2 -2
- package/dist/esm/nv-sidebargroup.entry.js +2 -2
- package/dist/esm/nv-sidebarheader.entry.js +2 -2
- package/dist/esm/nv-sidebarlogo.entry.js +2 -2
- package/dist/esm/nv-sidebarnavitem.entry.js +3 -3
- package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
- package/dist/esm/nv-split.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-table.entry.js +3 -3
- package/dist/esm/nv-tableheader.entry.js +2 -2
- package/dist/esm/nv-timetest.entry.js +70 -0
- package/dist/esm/nv-toggle.entry.js +3 -3
- package/dist/esm/nv-togglebutton.entry.js +2 -2
- package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +9 -4
- package/dist/lib/generators/docs-blazor.js +11 -2
- package/dist/lib/utils/parseToCSharpTypes.js +114 -18
- package/dist/lib/utils/test/parseToCSharpTypes.test.js +95 -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/p-04e40a1e.entry.js +1 -0
- package/dist/native/p-0770997b.entry.js +1 -0
- package/dist/native/p-07f3200b.entry.js +1 -0
- package/dist/native/{p-a6b3256b.entry.js → p-0a17050f.entry.js} +1 -1
- package/dist/native/{p-7d49e88d.entry.js → p-0d03b6ed.entry.js} +1 -1
- package/dist/native/p-0d3ab890.entry.js +1 -0
- package/dist/native/{p-b3964a1c.entry.js → p-0f59cb66.entry.js} +1 -1
- package/dist/native/{p-87758615.entry.js → p-0f9a284e.entry.js} +1 -1
- package/dist/native/{p-90b8b889.entry.js → p-12269ed5.entry.js} +1 -1
- package/dist/native/{p-fd5e27ae.entry.js → p-1450d746.entry.js} +1 -1
- package/dist/native/{p-f9612edf.entry.js → p-16600d93.entry.js} +1 -1
- package/dist/native/{p-1e0ca4df.entry.js → p-1bc76216.entry.js} +1 -1
- package/dist/native/p-1ea2a804.entry.js +1 -0
- package/dist/native/{p-24ce0c8d.entry.js → p-26c0c34b.entry.js} +1 -1
- package/dist/native/{p-9709c7d5.entry.js → p-27ecae3c.entry.js} +1 -1
- package/dist/native/{p-5a7e46ad.entry.js → p-2b1efb98.entry.js} +1 -1
- package/dist/native/{p-927b655d.entry.js → p-2d37df11.entry.js} +1 -1
- package/dist/native/{p-eb8ba7a2.entry.js → p-2d5189eb.entry.js} +1 -1
- package/dist/native/{p-157c5ac8.entry.js → p-2e40d5d9.entry.js} +1 -1
- package/dist/native/{p-0fe84123.entry.js → p-2e932ca4.entry.js} +1 -1
- package/dist/native/{p-5c003e50.entry.js → p-336d63c4.entry.js} +1 -1
- package/dist/native/p-3afa34d1.entry.js +1 -0
- package/dist/native/{p-24f69387.entry.js → p-3ddc967e.entry.js} +1 -1
- package/dist/native/p-48c1bab4.entry.js +1 -0
- package/dist/native/{p-6742f88f.entry.js → p-49c6d122.entry.js} +1 -1
- package/dist/native/{p-8a0dc37b.entry.js → p-4badca4e.entry.js} +1 -1
- package/dist/native/{p-bb43a3b4.entry.js → p-4bb9b387.entry.js} +1 -1
- package/dist/native/{p-39366f18.entry.js → p-568fbdac.entry.js} +1 -1
- package/dist/native/{p-8f76e030.entry.js → p-59ecaf60.entry.js} +1 -1
- package/dist/native/p-5cefca3c.entry.js +1 -0
- package/dist/native/{p-148c1d3e.entry.js → p-5f6e45ca.entry.js} +1 -1
- package/dist/native/{p-fb34fc7d.entry.js → p-6f1213fb.entry.js} +1 -1
- package/dist/native/{p-5ce3d30b.entry.js → p-6f91712c.entry.js} +1 -1
- package/dist/native/{p-1aea6fe0.entry.js → p-706eeea4.entry.js} +1 -1
- package/dist/native/{p-d6e2e120.entry.js → p-7126f67e.entry.js} +1 -1
- package/dist/native/{p-1f8cc03a.entry.js → p-748661f0.entry.js} +1 -1
- package/dist/native/{p-6f3c3e2a.entry.js → p-7b545176.entry.js} +1 -1
- package/dist/native/{p-ecce3e66.entry.js → p-7bb2536f.entry.js} +1 -1
- package/dist/native/{p-a16f8a14.entry.js → p-7fd6f0b0.entry.js} +1 -1
- package/dist/native/p-803759ef.entry.js +1 -0
- package/dist/native/{p-d12a2841.entry.js → p-8e05077a.entry.js} +1 -1
- package/dist/native/{p-25ef7329.entry.js → p-92539825.entry.js} +1 -1
- package/dist/native/p-943a4dfd.entry.js +1 -0
- package/dist/native/{p-7ec28d5d.entry.js → p-96078a63.entry.js} +1 -1
- package/dist/native/{p-56593bf0.entry.js → p-9a05395d.entry.js} +1 -1
- package/dist/native/{p-f9e4daf7.entry.js → p-9b8478a7.entry.js} +1 -1
- package/dist/native/p-CyL2J6O4.js +74 -0
- package/dist/native/{p-BCjiE1MF.js → p-DU3Vhh_k.js} +1 -1
- package/dist/native/{p-67e0680e.entry.js → p-a5e39524.entry.js} +1 -1
- package/dist/native/{p-31ba86b3.entry.js → p-b7436a14.entry.js} +1 -1
- package/dist/native/{p-9fda1976.entry.js → p-bff549dd.entry.js} +1 -1
- package/dist/native/p-c20e0b5f.entry.js +1 -0
- package/dist/native/p-ca4ab8a5.entry.js +1 -0
- package/dist/native/{p-591f3dcc.entry.js → p-d468c445.entry.js} +1 -1
- package/dist/native/p-d5060f92.entry.js +1 -0
- package/dist/native/{p-539c04ad.entry.js → p-d5e931c9.entry.js} +1 -1
- package/dist/native/p-dc647a64.entry.js +1 -0
- package/dist/native/p-df5c6b0c.entry.js +1 -0
- package/dist/native/p-e8569a99.entry.js +1 -0
- package/dist/native/p-eb737344.entry.js +1 -0
- package/dist/native/{p-ebff7ddb.entry.js → p-f078f10a.entry.js} +1 -1
- package/dist/native/p-f3756dfd.entry.js +1 -0
- package/dist/native/p-f3ded7e8.entry.js +1 -0
- package/dist/native/{p-3a35cf46.entry.js → p-f7fdca43.entry.js} +1 -1
- package/dist/types/components/nv-alert/nv-alert.d.ts +3 -1
- package/dist/types/components/nv-badge/nv-badge.d.ts +6 -3
- package/dist/types/components/nv-col/nv-col.d.ts +1 -0
- package/dist/types/components/nv-datetest/nv-datetest.d.ts +48 -0
- package/dist/types/components/nv-datetest/nv-datetest.docs.d.ts +4 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.d.ts +44 -0
- package/dist/types/components/nv-datetimetest/nv-datetimetest.docs.d.ts +4 -0
- package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +5 -2
- package/dist/types/components/nv-drawerfooter/nv-drawerfooter.d.ts +5 -2
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +16 -11
- package/dist/types/components/nv-icon/nv-icon.d.ts +2 -1
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -1
- package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +1 -0
- package/dist/types/components/nv-notification/nv-notification.d.ts +3 -1
- package/dist/types/components/nv-notificationcontainer/nv-notificationcontainer.d.ts +0 -6
- package/dist/types/components/nv-row/nv-row.d.ts +1 -0
- package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +2 -1
- package/dist/types/components/nv-timetest/nv-timetest.d.ts +48 -0
- package/dist/types/components/nv-timetest/nv-timetest.docs.d.ts +4 -0
- package/dist/types/components.d.ts +349 -44
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interfaces/dates.d.ts +8 -0
- package/dist/types/nova-docs.d.ts +8 -0
- package/dist/types/utils/nova-datetime.d.ts +79 -0
- package/dist/types/utils/test/nova-datetime.test.d.ts +1 -0
- package/dist/vscode-data.json +18259 -2581
- package/hydrate/index.js +11008 -219
- package/hydrate/index.mjs +11008 -219
- package/package.json +14 -1
- package/dist/components/p-CV12ukSl.js +0 -1
- package/dist/components/p-CZkFkVd8.js +0 -1
- package/dist/components/p-CcmfuwSa.js +0 -1
- package/dist/components/p-CqJqzGJS.js +0 -1
- package/dist/components/p-D0bGRzSN.js +0 -1
- package/dist/components/p-DC_2597n.js +0 -1
- package/dist/components/p-IzPWk8zx.js +0 -1
- package/dist/components/p-uAXqRBhx.js +0 -1
- package/dist/native/p-03cc1f2c.entry.js +0 -1
- package/dist/native/p-18bdc07a.entry.js +0 -1
- package/dist/native/p-1c97c353.entry.js +0 -1
- package/dist/native/p-23f0ca96.entry.js +0 -1
- package/dist/native/p-34e19b6e.entry.js +0 -1
- package/dist/native/p-46267895.entry.js +0 -1
- package/dist/native/p-597cac0f.entry.js +0 -1
- package/dist/native/p-5f42a7f1.entry.js +0 -1
- package/dist/native/p-7aac0b1a.entry.js +0 -1
- package/dist/native/p-855f7be1.entry.js +0 -1
- package/dist/native/p-99726dd4.entry.js +0 -1
- package/dist/native/p-c0b05d6f.entry.js +0 -1
- package/dist/native/p-c214e4af.entry.js +0 -1
- package/dist/native/p-c29dc907.entry.js +0 -1
- package/dist/native/p-d46bd21a.entry.js +0 -1
- package/dist/native/p-ddedc9c1.entry.js +0 -1
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { nameof } from "../../utils/class.utils";
|
|
3
3
|
const NvButtongroupDocs = {
|
|
4
4
|
component: 'nv-buttongroup',
|
|
5
|
+
parentGroup: 'Button',
|
|
5
6
|
subcomponents: ['nv-button', 'nv-iconbutton', 'nv-menu', 'nv-menuitem'],
|
|
6
7
|
badge: 'new',
|
|
7
8
|
stories: [
|
|
@@ -2,6 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
/**
|
|
4
4
|
* @slot default - The column content.
|
|
5
|
+
* @deprecated since v3.0.0. Use Tailwind CSS classes instead with grid or flexbox utilities.
|
|
5
6
|
*/
|
|
6
7
|
export class NvCol {
|
|
7
8
|
//#endregion PROPERTIES
|
|
@@ -22,7 +23,7 @@ export class NvCol {
|
|
|
22
23
|
/****************************************************************************/
|
|
23
24
|
//#region RENDER
|
|
24
25
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '8170490b65da46794b207e150175c0627ab57b94', class: clsx(this.getColSize()) }, h("slot", { key: '7c4cdb29efdd597af059f7942a6baf89d7d53b34' })));
|
|
26
27
|
}
|
|
27
28
|
static get is() { return "nv-col"; }
|
|
28
29
|
static get originalStyleUrls() {
|
|
@@ -3,6 +3,7 @@ import { nameof } from "../../utils/class.utils";
|
|
|
3
3
|
const NvDatagridDocs = {
|
|
4
4
|
component: 'nv-datagrid',
|
|
5
5
|
badge: 'deprecated',
|
|
6
|
+
parentGroup: 'Table/nv-datagrid',
|
|
6
7
|
subcomponents: ['nv-datagridcolumn', 'nv-iconbutton', 'nv-badge'],
|
|
7
8
|
composedComponents: ['nv-datagridcolumn'],
|
|
8
9
|
stories: [
|
|
@@ -782,7 +783,7 @@ const NvDatagridDocs = {
|
|
|
782
783
|
},
|
|
783
784
|
],
|
|
784
785
|
},
|
|
785
|
-
template: (h("nv-datagrid", { "data-storybook-args": true }, h("nv-datagridcolumn", { accessor: "name", header: "Name" }, h("div", { slot: "header" }, h("strong", null, "Name")), h("div", { slot: "cell" }, h("strong", null, "__name__"))), h("nv-datagridcolumn", { accessor: "age", header: "Age" }, h("div", { slot: "header" }, h("em", null, "Age")), h("div", { slot: "cell" }, h("span", null, "__age__ years old"))), h("nv-datagridcolumn", { accessor: "email", header: "Mail Address" }, h("div", { slot: "cell" }, h("a", { href: "mailto:__email__" }, "__email__"))), h("nv-datagridcolumn", { accessor: "address", header: "Address" }, h("div", { slot: "cell" }, h("span", null, "__address.city__, __address.country__"))), h("nv-datagridcolumn", { accessor: "status", header: "Status" }, h("div", { slot: "header" }, h("span", { "data-class": "text-md font-bold text-low" }, "Status")), h("div", { slot: "cell" }, h("nv-badge", { color: "__status.color__"
|
|
786
|
+
template: (h("nv-datagrid", { "data-storybook-args": true }, h("nv-datagridcolumn", { accessor: "name", header: "Name" }, h("div", { slot: "header" }, h("strong", null, "Name")), h("div", { slot: "cell" }, h("strong", null, "__name__"))), h("nv-datagridcolumn", { accessor: "age", header: "Age" }, h("div", { slot: "header" }, h("em", null, "Age")), h("div", { slot: "cell" }, h("span", null, "__age__ years old"))), h("nv-datagridcolumn", { accessor: "email", header: "Mail Address" }, h("div", { slot: "cell" }, h("a", { href: "mailto:__email__" }, "__email__"))), h("nv-datagridcolumn", { accessor: "address", header: "Address" }, h("div", { slot: "cell" }, h("span", null, "__address.city__, __address.country__"))), h("nv-datagridcolumn", { accessor: "status", header: "Status" }, h("div", { slot: "header" }, h("span", { "data-class": "text-md font-bold text-low" }, "Status")), h("div", { slot: "cell" }, h("nv-badge", { color: "__status.color__" }, "__status.label__"))), h("nv-datagridcolumn", { accessor: "actions" }, h("div", { slot: "header" }), h("div", { slot: "cell" }, h("nv-iconbutton", { size: "xs", name: "pencil", "data-bind-event": "click:edit:id" }), h("nv-iconbutton", { size: "xs", name: "trash", "data-bind-event": "click:delete:id" }), h("nv-iconbutton", { size: "xs", name: "mail", "data-bind-event": "click:sendEmail:id,email" }))))),
|
|
786
787
|
},
|
|
787
788
|
// WithDataAndTemplateComplexDataAndColumnGroup
|
|
788
789
|
{
|
|
@@ -827,7 +828,7 @@ const NvDatagridDocs = {
|
|
|
827
828
|
},
|
|
828
829
|
],
|
|
829
830
|
},
|
|
830
|
-
template: (h("nv-datagrid", { "data-storybook-args": true }, h("nv-datagridcolumn", { accessor: "firstName", header: "FirstName", group: "Name" }, h("div", { slot: "header" }, h("strong", null, "FirstName")), h("div", { slot: "cell" }, h("strong", null, "__firstName__"))), h("nv-datagridcolumn", { accessor: "lastName", header: "LastName", group: "Name" }, h("div", { slot: "header" }, h("strong", null, "LastName")), h("div", { slot: "cell" }, h("strong", null, "__lastName__"))), h("nv-datagridcolumn", { accessor: "age", header: "Age" }, h("div", { slot: "header" }, h("em", null, "Age")), h("div", { slot: "cell" }, h("span", null, "__age__ years old"))), h("nv-datagridcolumn", { accessor: "email", header: "Mail Address", group: "Contact" }, h("div", { slot: "cell" }, h("a", { href: "mailto:__email__" }, "__email__"))), h("nv-datagridcolumn", { accessor: "address", header: "Address", group: "Contact" }, h("div", { slot: "cell" }, h("span", null, "__address.city__, __address.country__"))), h("nv-datagridcolumn", { accessor: "status", header: "Status" }, h("div", { slot: "header" }, h("span", { "data-class": "text-md font-bold text-low" }, "Status")), h("div", { slot: "cell" }, h("nv-badge", { color: "__status.color__"
|
|
831
|
+
template: (h("nv-datagrid", { "data-storybook-args": true }, h("nv-datagridcolumn", { accessor: "firstName", header: "FirstName", group: "Name" }, h("div", { slot: "header" }, h("strong", null, "FirstName")), h("div", { slot: "cell" }, h("strong", null, "__firstName__"))), h("nv-datagridcolumn", { accessor: "lastName", header: "LastName", group: "Name" }, h("div", { slot: "header" }, h("strong", null, "LastName")), h("div", { slot: "cell" }, h("strong", null, "__lastName__"))), h("nv-datagridcolumn", { accessor: "age", header: "Age" }, h("div", { slot: "header" }, h("em", null, "Age")), h("div", { slot: "cell" }, h("span", null, "__age__ years old"))), h("nv-datagridcolumn", { accessor: "email", header: "Mail Address", group: "Contact" }, h("div", { slot: "cell" }, h("a", { href: "mailto:__email__" }, "__email__"))), h("nv-datagridcolumn", { accessor: "address", header: "Address", group: "Contact" }, h("div", { slot: "cell" }, h("span", null, "__address.city__, __address.country__"))), h("nv-datagridcolumn", { accessor: "status", header: "Status" }, h("div", { slot: "header" }, h("span", { "data-class": "text-md font-bold text-low" }, "Status")), h("div", { slot: "cell" }, h("nv-badge", { color: "__status.color__" }, "__status.label__"))), h("nv-datagridcolumn", { accessor: "actions" }, h("div", { slot: "header" }), h("div", { slot: "cell" }, h("nv-iconbutton", { size: "xs", name: "pencil", "data-bind-event": "click:edit:id" }), h("nv-iconbutton", { size: "xs", name: "trash", "data-bind-event": "click:delete:id" }), h("nv-iconbutton", { size: "xs", name: "mail", "data-bind-event": "click:sendEmail:id,email" }))))),
|
|
831
832
|
},
|
|
832
833
|
// WithDataAndTemplateAndMultipleElements
|
|
833
834
|
{
|
|
@@ -1,5 +1,29 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { nameof } from "../../utils/class.utils";
|
|
1
3
|
const NvDatagridcolumnDocs = {
|
|
2
4
|
component: 'nv-datagridcolumn',
|
|
3
|
-
|
|
5
|
+
badge: 'deprecated',
|
|
6
|
+
parentGroup: 'Table/nv-datagrid',
|
|
7
|
+
subcomponents: ['nv-datagrid'],
|
|
8
|
+
stories: [
|
|
9
|
+
// Default
|
|
10
|
+
{
|
|
11
|
+
name: 'Default',
|
|
12
|
+
description: 'Basic column definition for nv-datagrid (deprecated - use nv-datatable instead)',
|
|
13
|
+
template: (h("nv-datagrid", null, h("nv-datagridcolumn", { "data-storybook-args": true, accessor: "name", header: "Name" }, h("div", { slot: "cell" }, "Sample Name")), h("nv-datagridcolumn", { accessor: "email", header: "Email" }, h("div", { slot: "cell" }, "email@example.com")))),
|
|
14
|
+
},
|
|
15
|
+
// accessor
|
|
16
|
+
{
|
|
17
|
+
name: nameof(x => x.accessor),
|
|
18
|
+
description: 'The data accessor this column uses',
|
|
19
|
+
template: (h("nv-datagrid", null, h("nv-datagridcolumn", { accessor: "name", header: "Product" }, h("div", { slot: "cell" }, "Product Name")), h("nv-datagridcolumn", { "data-storybook-args": true, accessor: "price", header: "Price" }, h("div", { slot: "cell" }, "$99.99")))),
|
|
20
|
+
},
|
|
21
|
+
// header
|
|
22
|
+
{
|
|
23
|
+
name: nameof(x => x.header),
|
|
24
|
+
description: 'Column header text',
|
|
25
|
+
template: (h("nv-datagrid", null, h("nv-datagridcolumn", { accessor: "firstName", header: "First Name" }, h("div", { slot: "cell" }, "John")), h("nv-datagridcolumn", { "data-storybook-args": true, accessor: "lastName", header: "Last Name" }, h("div", { slot: "cell" }, "Doe")))),
|
|
26
|
+
},
|
|
27
|
+
],
|
|
4
28
|
};
|
|
5
29
|
export default NvDatagridcolumnDocs;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
nv-datetest {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
nv-datetest label {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
margin-right: 10px;
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
nv-datetest input {
|
|
11
|
+
font-weight: normal;
|
|
12
|
+
padding: var(--spacing-2);
|
|
13
|
+
border-radius: var(--spacing-1);
|
|
14
|
+
border: 1px solid #ccc;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
const NvDatetestDocs = {
|
|
3
|
+
component: 'nv-datetest',
|
|
4
|
+
badge: 'beta',
|
|
5
|
+
stories: [
|
|
6
|
+
{
|
|
7
|
+
name: 'Default',
|
|
8
|
+
template: h("nv-datetest", { "data-storybook-args": true }, "Child Content"),
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
export default NvDatetestDocs;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/* eslint-disable jsdoc/require-jsdoc */
|
|
2
|
+
import { Host, h } from "@stencil/core";
|
|
3
|
+
import { parseDateOnly, formatDateOnly } from "../../utils/nova-datetime";
|
|
4
|
+
/**
|
|
5
|
+
* This is a test component for the new DateOnly type
|
|
6
|
+
* @slot default - Child content of the component.
|
|
7
|
+
*
|
|
8
|
+
* @deprecated [EXPERIMENTAL]
|
|
9
|
+
* @experimental This component is still in development and subject to change in future releases.
|
|
10
|
+
*/
|
|
11
|
+
export class NvDatetest {
|
|
12
|
+
constructor() {
|
|
13
|
+
//#endregion PROPERTIES
|
|
14
|
+
/****************************************************************************/
|
|
15
|
+
//#region METHODS
|
|
16
|
+
this.handleStartChange = (event) => {
|
|
17
|
+
const input = event.target;
|
|
18
|
+
const parsed = parseDateOnly(input.value);
|
|
19
|
+
if (!parsed)
|
|
20
|
+
return;
|
|
21
|
+
const newStart = formatDateOnly(parsed);
|
|
22
|
+
this.value = { start: newStart, end: this.value?.end };
|
|
23
|
+
this.lastChange = newStart;
|
|
24
|
+
this.history = [...(this.history ?? []), newStart];
|
|
25
|
+
this.valueChanged.emit(this.value);
|
|
26
|
+
this.lastChanged.emit({ date: this.lastChange });
|
|
27
|
+
this.historyChanged.emit({ dates: this.history });
|
|
28
|
+
this.valueDateChanged.emit({
|
|
29
|
+
start: this.value?.start
|
|
30
|
+
? new Date(this.value.start + 'T00:00:00')
|
|
31
|
+
: undefined,
|
|
32
|
+
end: this.value?.end ? new Date(this.value.end + 'T00:00:00') : undefined,
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
this.handleEndChange = (event) => {
|
|
36
|
+
const input = event.target;
|
|
37
|
+
const parsed = parseDateOnly(input.value);
|
|
38
|
+
if (!parsed)
|
|
39
|
+
return;
|
|
40
|
+
const newEnd = formatDateOnly(parsed);
|
|
41
|
+
this.value = { start: this.value?.start, end: newEnd };
|
|
42
|
+
this.lastChange = newEnd;
|
|
43
|
+
this.history = [...(this.history ?? []), newEnd];
|
|
44
|
+
this.valueChanged.emit(this.value);
|
|
45
|
+
this.lastChanged.emit({ date: this.lastChange });
|
|
46
|
+
this.historyChanged.emit({ dates: this.history });
|
|
47
|
+
this.valueDateChanged.emit({
|
|
48
|
+
start: this.value?.start
|
|
49
|
+
? new Date(this.value.start + 'T00:00:00')
|
|
50
|
+
: undefined,
|
|
51
|
+
end: this.value?.end ? new Date(this.value.end + 'T00:00:00') : undefined,
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//#endregion EVENTS
|
|
56
|
+
/****************************************************************************/
|
|
57
|
+
//#region RENDER
|
|
58
|
+
render() {
|
|
59
|
+
return (h(Host, { key: '44e383a31e357a45c8ebe011c4ec14641ce43d74' }, h("label", { key: '9be748d4fcbe74b81a7aa03f2a14c806c472f118' }, "Start:", h("input", { key: '262ffa195b8dc8ecaaea00d12b6debe48b375cd1', type: "date", value: this.value?.start ?? '', onInput: this.handleStartChange })), h("label", { key: 'd8934398264595a08eb75f241fd2c5bc50e9f0d2' }, "End:", h("input", { key: '3fdb5b2e410706c6cfedf5244e674fd1dab361a9', type: "date", value: this.value?.end ?? '', onInput: this.handleEndChange })), h("slot", { key: 'bb828cffcff4e2c69a48a314636470644c55d2cc' })));
|
|
60
|
+
}
|
|
61
|
+
static get is() { return "nv-datetest"; }
|
|
62
|
+
static get originalStyleUrls() {
|
|
63
|
+
return {
|
|
64
|
+
"$": ["nv-datetest.scss"]
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static get styleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["nv-datetest.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get properties() {
|
|
73
|
+
return {
|
|
74
|
+
"value": {
|
|
75
|
+
"type": "unknown",
|
|
76
|
+
"mutable": true,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "{ start?: DateOnly; end?: DateOnly }",
|
|
79
|
+
"resolved": "{ start?: `${number}-${number}-${number}`; end?: `${number}-${number}-${number}`; }",
|
|
80
|
+
"references": {
|
|
81
|
+
"DateOnly": {
|
|
82
|
+
"location": "import",
|
|
83
|
+
"path": "../../interfaces/dates",
|
|
84
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
85
|
+
"referenceLocation": "DateOnly"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "The date range value with start and end dates."
|
|
94
|
+
},
|
|
95
|
+
"getter": false,
|
|
96
|
+
"setter": false
|
|
97
|
+
},
|
|
98
|
+
"history": {
|
|
99
|
+
"type": "unknown",
|
|
100
|
+
"mutable": true,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "DateOnly[]",
|
|
103
|
+
"resolved": "`${number}-${number}-${number}`[]",
|
|
104
|
+
"references": {
|
|
105
|
+
"DateOnly": {
|
|
106
|
+
"location": "import",
|
|
107
|
+
"path": "../../interfaces/dates",
|
|
108
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
109
|
+
"referenceLocation": "DateOnly"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": false,
|
|
114
|
+
"optional": false,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": "Array of historical date changes."
|
|
118
|
+
},
|
|
119
|
+
"getter": false,
|
|
120
|
+
"setter": false
|
|
121
|
+
},
|
|
122
|
+
"lastChange": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": true,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "DateOnly",
|
|
127
|
+
"resolved": "`${number}-${number}-${number}`",
|
|
128
|
+
"references": {
|
|
129
|
+
"DateOnly": {
|
|
130
|
+
"location": "import",
|
|
131
|
+
"path": "../../interfaces/dates",
|
|
132
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
133
|
+
"referenceLocation": "DateOnly"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": false,
|
|
138
|
+
"optional": false,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": "The last change."
|
|
142
|
+
},
|
|
143
|
+
"getter": false,
|
|
144
|
+
"setter": false,
|
|
145
|
+
"reflect": false,
|
|
146
|
+
"attribute": "last-change"
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
static get events() {
|
|
151
|
+
return [{
|
|
152
|
+
"method": "valueChanged",
|
|
153
|
+
"name": "valueChanged",
|
|
154
|
+
"bubbles": false,
|
|
155
|
+
"cancelable": true,
|
|
156
|
+
"composed": true,
|
|
157
|
+
"docs": {
|
|
158
|
+
"tags": [{
|
|
159
|
+
"name": "bind",
|
|
160
|
+
"text": "value"
|
|
161
|
+
}],
|
|
162
|
+
"text": "Emitted when the date range value changes."
|
|
163
|
+
},
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "{ start?: DateOnly; end?: DateOnly }",
|
|
166
|
+
"resolved": "{ start?: `${number}-${number}-${number}`; end?: `${number}-${number}-${number}`; }",
|
|
167
|
+
"references": {
|
|
168
|
+
"DateOnly": {
|
|
169
|
+
"location": "import",
|
|
170
|
+
"path": "../../interfaces/dates",
|
|
171
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
172
|
+
"referenceLocation": "DateOnly"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}, {
|
|
177
|
+
"method": "lastChanged",
|
|
178
|
+
"name": "lastChanged",
|
|
179
|
+
"bubbles": false,
|
|
180
|
+
"cancelable": true,
|
|
181
|
+
"composed": true,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": "Emitted when the last change date updates."
|
|
185
|
+
},
|
|
186
|
+
"complexType": {
|
|
187
|
+
"original": "{ date: DateOnly }",
|
|
188
|
+
"resolved": "{ date: `${number}-${number}-${number}`; }",
|
|
189
|
+
"references": {
|
|
190
|
+
"DateOnly": {
|
|
191
|
+
"location": "import",
|
|
192
|
+
"path": "../../interfaces/dates",
|
|
193
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
194
|
+
"referenceLocation": "DateOnly"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
"method": "historyChanged",
|
|
200
|
+
"name": "historyChanged",
|
|
201
|
+
"bubbles": false,
|
|
202
|
+
"cancelable": true,
|
|
203
|
+
"composed": true,
|
|
204
|
+
"docs": {
|
|
205
|
+
"tags": [],
|
|
206
|
+
"text": "Emitted when the history array changes."
|
|
207
|
+
},
|
|
208
|
+
"complexType": {
|
|
209
|
+
"original": "{ dates: DateOnly[] }",
|
|
210
|
+
"resolved": "{ dates: `${number}-${number}-${number}`[]; }",
|
|
211
|
+
"references": {
|
|
212
|
+
"DateOnly": {
|
|
213
|
+
"location": "import",
|
|
214
|
+
"path": "../../interfaces/dates",
|
|
215
|
+
"id": "src/interfaces/dates.ts::DateOnly",
|
|
216
|
+
"referenceLocation": "DateOnly"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}, {
|
|
221
|
+
"method": "valueDateChanged",
|
|
222
|
+
"name": "valueDateChanged",
|
|
223
|
+
"bubbles": false,
|
|
224
|
+
"cancelable": true,
|
|
225
|
+
"composed": true,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "Emitted when the date range value changes as Date objects (local time)."
|
|
229
|
+
},
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "{ start?: Date; end?: Date }",
|
|
232
|
+
"resolved": "{ start?: Date; end?: Date; }",
|
|
233
|
+
"references": {
|
|
234
|
+
"Date": {
|
|
235
|
+
"location": "global",
|
|
236
|
+
"id": "global::Date"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}];
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
nv-datetimetest {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
nv-datetimetest label {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
margin-right: 10px;
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
nv-datetimetest input {
|
|
11
|
+
font-weight: normal;
|
|
12
|
+
padding: var(--spacing-2);
|
|
13
|
+
border-radius: var(--spacing-1);
|
|
14
|
+
border: 1px solid #ccc;
|
|
15
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/* eslint-disable jsdoc/require-jsdoc */
|
|
2
|
+
import { Host, h } from "@stencil/core";
|
|
3
|
+
/**
|
|
4
|
+
* This is a test component for the new DateTimeObject type
|
|
5
|
+
* @slot default - Child content of the component.
|
|
6
|
+
*
|
|
7
|
+
* @deprecated [EXPERIMENTAL]
|
|
8
|
+
* @experimental This component is still in development and subject to change in future releases.
|
|
9
|
+
*/
|
|
10
|
+
export class NvDatetimetest {
|
|
11
|
+
constructor() {
|
|
12
|
+
//#endregion PROPERTIES
|
|
13
|
+
/****************************************************************************/
|
|
14
|
+
//#region METHODS
|
|
15
|
+
this.handleStartChange = (event) => {
|
|
16
|
+
const input = event.target;
|
|
17
|
+
const newStart = new Date(input.value);
|
|
18
|
+
this.value = { start: newStart, end: this.value?.end };
|
|
19
|
+
this.lastChange = newStart;
|
|
20
|
+
this.history = [...(this.history ?? []), newStart];
|
|
21
|
+
this.valueChanged.emit(this.value);
|
|
22
|
+
this.lastChanged.emit({ date: this.lastChange });
|
|
23
|
+
this.historyChanged.emit({ dates: this.history });
|
|
24
|
+
};
|
|
25
|
+
this.handleEndChange = (event) => {
|
|
26
|
+
const input = event.target;
|
|
27
|
+
const newEnd = new Date(input.value);
|
|
28
|
+
this.value = { start: this.value?.start, end: newEnd };
|
|
29
|
+
this.lastChange = newEnd;
|
|
30
|
+
this.history = [...(this.history ?? []), newEnd];
|
|
31
|
+
this.valueChanged.emit(this.value);
|
|
32
|
+
this.lastChanged.emit({ date: this.lastChange });
|
|
33
|
+
this.historyChanged.emit({ dates: this.history });
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//#endregion EVENTS
|
|
37
|
+
/****************************************************************************/
|
|
38
|
+
//#region RENDER
|
|
39
|
+
render() {
|
|
40
|
+
const formatDate = (date) => {
|
|
41
|
+
if (!date)
|
|
42
|
+
return '';
|
|
43
|
+
const d = new Date(date);
|
|
44
|
+
if (isNaN(d.getTime()))
|
|
45
|
+
return '';
|
|
46
|
+
return d.toISOString().slice(0, 16);
|
|
47
|
+
};
|
|
48
|
+
return (h(Host, null, h("label", null, "Start:", h("input", { type: "datetime-local", value: formatDate(this.value?.start), onInput: this.handleStartChange })), h("label", null, "End:", h("input", { type: "datetime-local", value: formatDate(this.value?.end), onInput: this.handleEndChange })), h("slot", null)));
|
|
49
|
+
}
|
|
50
|
+
static get is() { return "nv-datetimetest"; }
|
|
51
|
+
static get originalStyleUrls() {
|
|
52
|
+
return {
|
|
53
|
+
"$": ["nv-datetimetest.scss"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
static get styleUrls() {
|
|
57
|
+
return {
|
|
58
|
+
"$": ["nv-datetimetest.css"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static get properties() {
|
|
62
|
+
return {
|
|
63
|
+
"value": {
|
|
64
|
+
"type": "unknown",
|
|
65
|
+
"mutable": true,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "{ start?: Date; end?: Date }",
|
|
68
|
+
"resolved": "{ start?: Date; end?: Date; }",
|
|
69
|
+
"references": {
|
|
70
|
+
"Date": {
|
|
71
|
+
"location": "global",
|
|
72
|
+
"id": "global::Date"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": false,
|
|
77
|
+
"optional": false,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": "The date range value with start and end dates."
|
|
81
|
+
},
|
|
82
|
+
"getter": false,
|
|
83
|
+
"setter": false
|
|
84
|
+
},
|
|
85
|
+
"history": {
|
|
86
|
+
"type": "unknown",
|
|
87
|
+
"mutable": true,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "Date[]",
|
|
90
|
+
"resolved": "Date[]",
|
|
91
|
+
"references": {
|
|
92
|
+
"Date": {
|
|
93
|
+
"location": "global",
|
|
94
|
+
"id": "global::Date"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Array of historical date changes."
|
|
103
|
+
},
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false
|
|
106
|
+
},
|
|
107
|
+
"lastChange": {
|
|
108
|
+
"type": "unknown",
|
|
109
|
+
"mutable": true,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "Date",
|
|
112
|
+
"resolved": "Date",
|
|
113
|
+
"references": {
|
|
114
|
+
"Date": {
|
|
115
|
+
"location": "global",
|
|
116
|
+
"id": "global::Date"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": "The the last change."
|
|
125
|
+
},
|
|
126
|
+
"getter": false,
|
|
127
|
+
"setter": false
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static get events() {
|
|
132
|
+
return [{
|
|
133
|
+
"method": "valueChanged",
|
|
134
|
+
"name": "valueChanged",
|
|
135
|
+
"bubbles": false,
|
|
136
|
+
"cancelable": true,
|
|
137
|
+
"composed": true,
|
|
138
|
+
"docs": {
|
|
139
|
+
"tags": [{
|
|
140
|
+
"name": "bind",
|
|
141
|
+
"text": "value"
|
|
142
|
+
}],
|
|
143
|
+
"text": "Emitted when the date range value changes."
|
|
144
|
+
},
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "{ start?: Date; end?: Date }",
|
|
147
|
+
"resolved": "{ start?: Date; end?: Date; }",
|
|
148
|
+
"references": {
|
|
149
|
+
"Date": {
|
|
150
|
+
"location": "global",
|
|
151
|
+
"id": "global::Date"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}, {
|
|
156
|
+
"method": "lastChanged",
|
|
157
|
+
"name": "lastChanged",
|
|
158
|
+
"bubbles": false,
|
|
159
|
+
"cancelable": true,
|
|
160
|
+
"composed": true,
|
|
161
|
+
"docs": {
|
|
162
|
+
"tags": [],
|
|
163
|
+
"text": "Emitted when the last change timestamp updates."
|
|
164
|
+
},
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "{ date: Date }",
|
|
167
|
+
"resolved": "{ date: Date; }",
|
|
168
|
+
"references": {
|
|
169
|
+
"Date": {
|
|
170
|
+
"location": "global",
|
|
171
|
+
"id": "global::Date"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
"method": "historyChanged",
|
|
177
|
+
"name": "historyChanged",
|
|
178
|
+
"bubbles": false,
|
|
179
|
+
"cancelable": true,
|
|
180
|
+
"composed": true,
|
|
181
|
+
"docs": {
|
|
182
|
+
"tags": [],
|
|
183
|
+
"text": "Emitted when the history array changes."
|
|
184
|
+
},
|
|
185
|
+
"complexType": {
|
|
186
|
+
"original": "{ dates: Date[] }",
|
|
187
|
+
"resolved": "{ dates: Date[]; }",
|
|
188
|
+
"references": {
|
|
189
|
+
"Date": {
|
|
190
|
+
"location": "global",
|
|
191
|
+
"id": "global::Date"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}];
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -291,7 +291,7 @@ export class NvDialog {
|
|
|
291
291
|
//#region RENDER
|
|
292
292
|
render() {
|
|
293
293
|
const hasForm = this.form || this.el.querySelector('form');
|
|
294
|
-
return (h(Host, { key: '
|
|
294
|
+
return (h(Host, { key: '8a7bd6c255e68d2950802190764221263eedc794' }, h("slot", { key: '3194aed7aa3e70ca0c7d3a9aa310a5ae12a8c55f', name: "trigger" }), h("dialog", { key: '2eb801ffa547e5159e125631de4973c4072228e6', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onPointerDown: this.handleDialogPointerDown, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, h("div", { key: 'be4754c9b659de5186ceca7a038cfe048e36f7e6', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: '6dc502fe058efde6220c15fff444a16c5920e524', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (h("nv-button", { key: 'b9bbc39d6553e268aaabd8a394209302b4c3129d', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, h("nv-icon", { key: 'aa8eb0f8ce6d2d5480b8522c470c61e902fb05fd', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-dialogheader", { id: "dialog-header" })), h("div", { key: '9e53461c4ff39eb272dfc1042047f43aa9afa4cc', class: "content-body", id: "dialog-content" }, h("slot", { key: '26f5bbe3d31dc0a341cf444dd4116f7ffd51f469' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
|
|
295
295
|
}
|
|
296
296
|
static get is() { return "nv-dialog"; }
|
|
297
297
|
static get originalStyleUrls() {
|