@nova-design-system/nova-webcomponents 3.0.0-beta.45 → 3.0.0-beta.46
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/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-badge_2.cjs.entry.js +4 -4
- package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
- 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 +1 -1
- package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-datagrid.cjs.entry.js +38 -5
- package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js +5 -1
- package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
- package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
- package/dist/cjs/nv-fielddate.cjs.entry.js +5 -5
- package/dist/cjs/nv-fielddaterange.cjs.entry.js +4 -4
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -9
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +3 -16
- package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +9 -7
- package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
- 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 +9 -9
- package/dist/cjs/nv-icon.cjs.entry.js +1 -1
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +4 -3
- package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
- 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.js +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.docs.js +30 -0
- package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
- package/dist/collection/components/nv-datagrid/nv-datagrid.js +40 -6
- package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +27 -1
- package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
- package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +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-fielddate/nv-fielddate.js +5 -5
- package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +4 -4
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +5 -14
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
- 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-fieldmultiselect/nv-fieldmultiselect.js +3 -19
- package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +9 -7
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
- 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-fieldselect/nv-fieldselect.js.map +1 -1
- 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 +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +7 -7
- package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +2 -2
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-tooltip/nv-tooltip.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-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 +1 -1
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-datagrid.js +40 -6
- package/dist/components/nv-datagrid.js.map +1 -1
- package/dist/components/nv-datagridcolumn.js +7 -2
- package/dist/components/nv-datagridcolumn.js.map +1 -1
- package/dist/components/nv-dialog.js +6 -6
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-dialogheader.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddate.js +12 -12
- package/dist/components/nv-fielddaterange.js +11 -11
- package/dist/components/nv-fielddropdown.js +9 -17
- package/dist/components/nv-fielddropdown.js.map +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fielddropdownitemcheck.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +12 -27
- package/dist/components/nv-fieldmultiselect.js.map +1 -1
- package/dist/components/nv-fieldnumber.js +6 -6
- package/dist/components/nv-fieldpassword.js +12 -10
- package/dist/components/nv-fieldpassword.js.map +1 -1
- package/dist/components/nv-fieldradio.js +3 -3
- package/dist/components/nv-fieldselect.js +8 -8
- package/dist/components/nv-fieldselect.js.map +1 -1
- package/dist/components/nv-fieldtext.js +4 -4
- package/dist/components/nv-fieldtextarea.js +3 -3
- package/dist/components/nv-fieldtime.js +13 -13
- 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 +6 -6
- 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 +2 -2
- package/dist/components/nv-toggle.js +2 -2
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-863974b2.js → p-18bc0291.js} +3 -3
- package/dist/components/{p-863974b2.js.map → p-18bc0291.js.map} +1 -1
- package/dist/components/{p-ef255589.js → p-56ef8131.js} +3 -3
- package/dist/components/{p-ef255589.js.map → p-56ef8131.js.map} +1 -1
- package/dist/components/{p-0f59f38e.js → p-5a5f11c2.js} +5 -5
- package/dist/components/p-5a5f11c2.js.map +1 -0
- package/dist/components/{p-e46c2e31.js → p-664c5a14.js} +2 -2
- package/dist/components/{p-e46c2e31.js.map → p-664c5a14.js.map} +1 -1
- package/dist/components/{p-3a3ba5b1.js → p-7b89fb48.js} +2 -2
- package/dist/components/{p-3a3ba5b1.js.map → p-7b89fb48.js.map} +1 -1
- package/dist/components/{p-103756d6.js → p-8674c7af.js} +3 -3
- package/dist/components/{p-103756d6.js.map → p-8674c7af.js.map} +1 -1
- package/dist/components/{p-3561c093.js → p-8c5a861b.js} +3 -3
- package/dist/components/{p-3561c093.js.map → p-8c5a861b.js.map} +1 -1
- package/dist/components/{p-78b00756.js → p-91b58443.js} +2 -2
- package/dist/components/{p-78b00756.js.map → p-91b58443.js.map} +1 -1
- package/dist/components/{p-933d4d06.js → p-9d6aaf76.js} +5 -5
- package/dist/components/{p-933d4d06.js.map → p-9d6aaf76.js.map} +1 -1
- package/dist/components/{p-3b096098.js → p-a9e1bf70.js} +4 -4
- package/dist/components/{p-3b096098.js.map → p-a9e1bf70.js.map} +1 -1
- package/dist/components/{p-78e0e7b0.js → p-a9f162a8.js} +6 -6
- package/dist/components/{p-78e0e7b0.js.map → p-a9f162a8.js.map} +1 -1
- package/dist/components/{p-b5821dbb.js → p-b4768da6.js} +5 -5
- package/dist/components/{p-b5821dbb.js.map → p-b4768da6.js.map} +1 -1
- package/dist/components/{p-4c6d8df7.js → p-d88ced51.js} +2 -2
- package/dist/components/{p-4c6d8df7.js.map → p-d88ced51.js.map} +1 -1
- package/dist/components/{p-8ea5e3c0.js → p-dcabc6fa.js} +3 -3
- package/dist/components/{p-8ea5e3c0.js.map → p-dcabc6fa.js.map} +1 -1
- package/dist/components/{p-aeeb5b1c.js → p-f469df15.js} +2 -2
- package/dist/components/{p-aeeb5b1c.js.map → p-f469df15.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-badge_2.entry.js +4 -4
- package/dist/esm/nv-badge_2.entry.js.map +1 -1
- 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 +1 -1
- package/dist/esm/nv-calendar.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-datagrid.entry.js +38 -5
- package/dist/esm/nv-datagrid.entry.js.map +1 -1
- package/dist/esm/nv-datagridcolumn.entry.js +5 -1
- package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
- package/dist/esm/nv-dialog.entry.js +1 -1
- package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
- package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
- package/dist/esm/nv-fielddate.entry.js +5 -5
- package/dist/esm/nv-fielddaterange.entry.js +4 -4
- package/dist/esm/nv-fielddropdown.entry.js +3 -9
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldmultiselect.entry.js +3 -16
- package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
- package/dist/esm/nv-fieldnumber.entry.js +3 -3
- package/dist/esm/nv-fieldpassword.entry.js +9 -7
- package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
- package/dist/esm/nv-fieldradio.entry.js +3 -3
- package/dist/esm/nv-fieldselect.entry.js +5 -5
- package/dist/esm/nv-fieldselect.entry.js.map +1 -1
- 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 +9 -9
- package/dist/esm/nv-icon.entry.js +1 -1
- package/dist/esm/nv-iconbutton_2.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.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-162f4840.entry.js → p-000ef9c9.entry.js} +2 -2
- package/dist/native/{p-2281d5ef.entry.js → p-002e7bf1.entry.js} +2 -2
- package/dist/native/p-115ad66c.entry.js +2 -0
- package/dist/native/{p-7fade532.entry.js → p-1e5453be.entry.js} +2 -2
- package/dist/native/{p-1a46cb52.entry.js → p-2ed9934a.entry.js} +2 -2
- package/dist/native/{p-e197d90b.entry.js → p-3df6febe.entry.js} +2 -2
- package/dist/native/{p-464ef88f.entry.js → p-43cc98dc.entry.js} +2 -2
- package/dist/native/{p-46aa1136.entry.js → p-4977fcd0.entry.js} +2 -2
- package/dist/native/{p-725e0abd.entry.js → p-4c859a14.entry.js} +2 -2
- package/dist/native/{p-40f4a6e7.entry.js → p-4fe5ebe9.entry.js} +2 -2
- package/dist/native/{p-3af5bcc1.entry.js → p-50dcce07.entry.js} +2 -2
- package/dist/native/{p-ecc28398.entry.js → p-60d6ffa3.entry.js} +2 -2
- package/dist/native/p-60d6ffa3.entry.js.map +1 -0
- package/dist/native/{p-e6904ae4.entry.js → p-626a1372.entry.js} +2 -2
- package/dist/native/{p-0172095c.entry.js → p-6603d939.entry.js} +2 -2
- package/dist/native/{p-603a99ed.entry.js → p-74f7f404.entry.js} +2 -2
- package/dist/native/p-75f4bfe8.entry.js +2 -0
- package/dist/native/{p-54b6ce07.entry.js.map → p-75f4bfe8.entry.js.map} +1 -1
- package/dist/native/{p-abeda2cf.entry.js → p-76cd466a.entry.js} +2 -2
- package/dist/native/{p-45577c7f.entry.js → p-7e1fa44c.entry.js} +2 -2
- package/dist/native/{p-19fd6594.entry.js → p-8946883b.entry.js} +2 -2
- package/dist/native/p-8946883b.entry.js.map +1 -0
- package/dist/native/{p-c10e5113.entry.js → p-8f7c1bb8.entry.js} +2 -2
- package/dist/native/{p-17bf1233.entry.js → p-98030346.entry.js} +2 -2
- package/dist/native/{p-442f04f9.entry.js → p-aa957898.entry.js} +2 -2
- package/dist/native/{p-31184fdd.entry.js → p-aeac63ea.entry.js} +2 -2
- package/dist/native/{p-31184fdd.entry.js.map → p-aeac63ea.entry.js.map} +1 -1
- package/dist/native/{p-514101d6.entry.js → p-b11fdaed.entry.js} +2 -2
- package/dist/native/{p-332c5d6c.entry.js → p-b6164ebc.entry.js} +2 -2
- package/dist/native/p-b8b58064.entry.js +2 -0
- package/dist/native/p-b8b58064.entry.js.map +1 -0
- package/dist/native/{p-d9624254.entry.js → p-be5f62e5.entry.js} +2 -2
- package/dist/native/p-be5f62e5.entry.js.map +1 -0
- package/dist/native/p-c6fe73a9.entry.js +2 -0
- package/dist/native/p-c6fe73a9.entry.js.map +1 -0
- package/dist/native/{p-665db087.entry.js → p-ce64d562.entry.js} +2 -2
- package/dist/native/p-d352a8b3.entry.js +2 -0
- package/dist/native/p-d352a8b3.entry.js.map +1 -0
- package/dist/native/{p-314d2b34.entry.js → p-d4e48d08.entry.js} +2 -2
- package/dist/native/{p-f01a34c5.entry.js → p-d5158e27.entry.js} +2 -2
- package/dist/native/{p-942f8e92.entry.js → p-e200185a.entry.js} +2 -2
- package/dist/native/p-e200185a.entry.js.map +1 -0
- package/dist/native/{p-f5e0d5c5.entry.js → p-e4f84faa.entry.js} +2 -2
- package/dist/types/components/nv-badge/nv-badge.d.ts +1 -0
- package/dist/types/components/nv-base/nv-base.docs.d.ts +1 -1
- package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +1 -0
- package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +1 -3
- package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +1 -10
- package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +2 -0
- package/dist/types/components/nv-menu/nv-menu.d.ts +4 -4
- package/dist/types/components.d.ts +18 -2
- package/dist/types/nova-docs.d.ts +5 -0
- package/dist/vscode-data.json +35 -31
- package/hydrate/index.js +136 -115
- package/hydrate/index.mjs +136 -115
- package/package.json +3 -2
- package/dist/components/p-0f59f38e.js.map +0 -1
- package/dist/native/p-19fd6594.entry.js.map +0 -1
- package/dist/native/p-331da074.entry.js +0 -2
- package/dist/native/p-42d020a7.entry.js +0 -2
- package/dist/native/p-42d020a7.entry.js.map +0 -1
- package/dist/native/p-4403e3af.entry.js +0 -2
- package/dist/native/p-4403e3af.entry.js.map +0 -1
- package/dist/native/p-54b6ce07.entry.js +0 -2
- package/dist/native/p-942f8e92.entry.js.map +0 -1
- package/dist/native/p-d9624254.entry.js.map +0 -1
- package/dist/native/p-ecc28398.entry.js.map +0 -1
- package/dist/native/p-f89b7d06.entry.js +0 -2
- package/dist/native/p-f89b7d06.entry.js.map +0 -1
- /package/dist/native/{p-162f4840.entry.js.map → p-000ef9c9.entry.js.map} +0 -0
- /package/dist/native/{p-2281d5ef.entry.js.map → p-002e7bf1.entry.js.map} +0 -0
- /package/dist/native/{p-331da074.entry.js.map → p-115ad66c.entry.js.map} +0 -0
- /package/dist/native/{p-7fade532.entry.js.map → p-1e5453be.entry.js.map} +0 -0
- /package/dist/native/{p-1a46cb52.entry.js.map → p-2ed9934a.entry.js.map} +0 -0
- /package/dist/native/{p-e197d90b.entry.js.map → p-3df6febe.entry.js.map} +0 -0
- /package/dist/native/{p-464ef88f.entry.js.map → p-43cc98dc.entry.js.map} +0 -0
- /package/dist/native/{p-46aa1136.entry.js.map → p-4977fcd0.entry.js.map} +0 -0
- /package/dist/native/{p-725e0abd.entry.js.map → p-4c859a14.entry.js.map} +0 -0
- /package/dist/native/{p-40f4a6e7.entry.js.map → p-4fe5ebe9.entry.js.map} +0 -0
- /package/dist/native/{p-3af5bcc1.entry.js.map → p-50dcce07.entry.js.map} +0 -0
- /package/dist/native/{p-e6904ae4.entry.js.map → p-626a1372.entry.js.map} +0 -0
- /package/dist/native/{p-0172095c.entry.js.map → p-6603d939.entry.js.map} +0 -0
- /package/dist/native/{p-603a99ed.entry.js.map → p-74f7f404.entry.js.map} +0 -0
- /package/dist/native/{p-abeda2cf.entry.js.map → p-76cd466a.entry.js.map} +0 -0
- /package/dist/native/{p-45577c7f.entry.js.map → p-7e1fa44c.entry.js.map} +0 -0
- /package/dist/native/{p-c10e5113.entry.js.map → p-8f7c1bb8.entry.js.map} +0 -0
- /package/dist/native/{p-17bf1233.entry.js.map → p-98030346.entry.js.map} +0 -0
- /package/dist/native/{p-442f04f9.entry.js.map → p-aa957898.entry.js.map} +0 -0
- /package/dist/native/{p-514101d6.entry.js.map → p-b11fdaed.entry.js.map} +0 -0
- /package/dist/native/{p-332c5d6c.entry.js.map → p-b6164ebc.entry.js.map} +0 -0
- /package/dist/native/{p-665db087.entry.js.map → p-ce64d562.entry.js.map} +0 -0
- /package/dist/native/{p-314d2b34.entry.js.map → p-d4e48d08.entry.js.map} +0 -0
- /package/dist/native/{p-f01a34c5.entry.js.map → p-d5158e27.entry.js.map} +0 -0
- /package/dist/native/{p-f5e0d5c5.entry.js.map → p-e4f84faa.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -5279,6 +5279,7 @@ var NvBadgeStyle0 = nvBadgeCss;
|
|
|
5279
5279
|
|
|
5280
5280
|
/**
|
|
5281
5281
|
* @slot leading-icon - Icon before the label.
|
|
5282
|
+
* @slot default - for custom content, for pure text use label instead.
|
|
5282
5283
|
*/
|
|
5283
5284
|
class NvBadge {
|
|
5284
5285
|
constructor(hostRef) {
|
|
@@ -5316,7 +5317,6 @@ class NvBadge {
|
|
|
5316
5317
|
* Controls the visibility of the badge. Will animate with fade and collapse.
|
|
5317
5318
|
*/
|
|
5318
5319
|
this.hidden = false; // eslint-disable-line @stencil-community/reserved-member-names
|
|
5319
|
-
this._isHidden = this.hidden;
|
|
5320
5320
|
/**
|
|
5321
5321
|
* When true, the alert does not automatically close upon dismissing.
|
|
5322
5322
|
* Useful for externally controlled component behavior.
|
|
@@ -5385,6 +5385,7 @@ class NvBadge {
|
|
|
5385
5385
|
this.leadIcon = this.icon;
|
|
5386
5386
|
}
|
|
5387
5387
|
if (this.hidden) {
|
|
5388
|
+
this._isHidden = true;
|
|
5388
5389
|
const { setCollapsed } = useCollapse(this.ref);
|
|
5389
5390
|
const { setFadeOut } = useFade(this.ref);
|
|
5390
5391
|
setCollapsed();
|
|
@@ -5395,11 +5396,11 @@ class NvBadge {
|
|
|
5395
5396
|
/****************************************************************************/
|
|
5396
5397
|
//#region RENDER
|
|
5397
5398
|
render() {
|
|
5398
|
-
return (hAsync(Host, { key: '
|
|
5399
|
+
return (hAsync(Host, { key: '8d97eed4a84f2f913e4f8cd64d08c806d9724f33', class: clsx(`badge-${this.color}`, {
|
|
5399
5400
|
'has-close': this.dismissible,
|
|
5400
5401
|
'with-gap': this.dismissible || this.label,
|
|
5401
5402
|
'visually-hidden': this._isHidden,
|
|
5402
|
-
}) }, hAsync("slot", { key: '
|
|
5403
|
+
}) }, hAsync("slot", { key: '34c2c387727e6b68d37fe2b2ac68c82799356e3d', name: "leading-icon" }, this.leadIcon && hAsync("nv-icon", { key: '0c23dd58e48fce39d7935549c6289f87f1fb66af', name: this.leadIcon, size: "sm" })), hAsync("slot", { key: '7485f570aa3cf519b030bedfa8ccf6a6d37d2c1b' }, this.label && hAsync("span", { key: 'eb7afa0eb52582c6d782d2383dfe2eeb41a9649b' }, this.label)), this.dismissible && (hAsync("button", { key: 'bc07eed3e1328a8009cb2c8add026a7f8a5335da', onClick: this.handleClose, class: "close", type: "button" }, hAsync("nv-icon", { key: 'ab0b2c6224f4b8b147e8158856acbf1ab987b392', name: "x", size: "sm" })))));
|
|
5403
5404
|
}
|
|
5404
5405
|
get ref() { return getElement(this); }
|
|
5405
5406
|
static get watchers() { return {
|
|
@@ -5493,7 +5494,7 @@ class NvBaseComponent {
|
|
|
5493
5494
|
/****************************************************************************/
|
|
5494
5495
|
//#region RENDER
|
|
5495
5496
|
render() {
|
|
5496
|
-
return (hAsync(Host, { key: '
|
|
5497
|
+
return (hAsync(Host, { key: 'ba3d284241a61fa30bd434f563b7e4962ea3f238', style: { display: 'block' } }, hAsync("slot", { key: '44a0f1bc5267cf7e7bd0c1d258e8d9b8020a59f3' })));
|
|
5497
5498
|
}
|
|
5498
5499
|
get el() { return getElement(this); }
|
|
5499
5500
|
static get cmpMeta() { return {
|
|
@@ -5538,7 +5539,7 @@ class NvBreadcrumb {
|
|
|
5538
5539
|
/****************************************************************************/
|
|
5539
5540
|
//#region RENDER
|
|
5540
5541
|
render() {
|
|
5541
|
-
return (hAsync(Host, { key: '
|
|
5542
|
+
return (hAsync(Host, { key: '8ffa46d8714261924aaab55940c7dc6b36f2a9f9', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (hAsync("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (hAsync("slot", null)), this.tooltip && (hAsync("nv-tooltip", { key: 'a2beda9f4b9a5eb71962a1cc060f5467fd2b0134', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (hAsync("nv-popover", { key: 'd4a837d21c07697d6ef01506169474bd5cf5a304', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, hAsync("ul", { key: 'bf089278cfe03ed3ae4beeac57ad67dc029b91cf', slot: "content" }, hAsync("slot", { key: '23f21367fc803a5f176947720e55dba4201f64c4' })))), hAsync("span", { key: 'e1a9414f3be1fd6ef3450f3e7b99d7ff091ec2f0', "data-scope": "separator" }, "/")));
|
|
5542
5543
|
}
|
|
5543
5544
|
get el() { return getElement(this); }
|
|
5544
5545
|
static get style() { return NvBreadcrumbStyle0; }
|
|
@@ -5568,7 +5569,7 @@ class NvBreadcrumbs {
|
|
|
5568
5569
|
}
|
|
5569
5570
|
//#region RENDER
|
|
5570
5571
|
render() {
|
|
5571
|
-
return (hAsync(Host, { key: '
|
|
5572
|
+
return (hAsync(Host, { key: '5ab0f09cb86a92464ffcd06d8129543539bdcddf', role: "navigation", "aria-label": "breadcrumbs" }, hAsync("ol", { key: 'a7624a2400d9a91ec477694bbd3600960e198981' }, hAsync("slot", { key: '7c4102ceebe110377bf212e0695bdec6b455ea74' }))));
|
|
5572
5573
|
}
|
|
5573
5574
|
static get style() { return NvBreadcrumbsStyle0; }
|
|
5574
5575
|
static get cmpMeta() { return {
|
|
@@ -5732,7 +5733,7 @@ class NvButton {
|
|
|
5732
5733
|
/****************************************************************************/
|
|
5733
5734
|
//#region RENDER
|
|
5734
5735
|
render() {
|
|
5735
|
-
return (hAsync(Host, { key: '
|
|
5736
|
+
return (hAsync(Host, { key: '751fa0a552eaf13a193a15f9c9d6fe0c257b93e8', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (hAsync("nv-loader", { key: 'ae8b39b13bfd6cd8a33f7a30afea19e426d0064d', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), hAsync("slot", { key: 'e1a213305895c9b35d517bedce3a61f49e39642a', name: "leading-icon" }), hAsync("slot", { key: '2e9e5ed4381790f3c1c06f1a4bf5f60bda79bd1c' }), hAsync("slot", { key: 'e960ec4f4eca0a2a941ca7f3b96a4e31603fa633', name: "trailing-icon" })));
|
|
5736
5737
|
}
|
|
5737
5738
|
static get formAssociated() { return true; }
|
|
5738
5739
|
get el() { return getElement(this); }
|
|
@@ -6787,7 +6788,7 @@ class NvCalendar {
|
|
|
6787
6788
|
* @slot default - Child content of the component.
|
|
6788
6789
|
*/
|
|
6789
6790
|
render() {
|
|
6790
|
-
return (hAsync(Host, { key: '
|
|
6791
|
+
return (hAsync(Host, { key: '49bdf5cc44f9e8f13b0fd61936d3b015e6105d18' }, hAsync("div", { key: 'e1a0fcc20c7c12930df31c36751824a64fae053f', class: "datepicker-root" }, hAsync("div", { key: '48cd6f6d92c41c748fdd05a6d932cbb634e3dfd6', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, hAsync("div", { key: 'f5d5ca631e448067cbfb04f0bcc74695b5c6fb5e', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (hAsync("div", { key: 'cb1ebc42e3616b9c35d147c227a53924fd2c73c8', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), hAsync("slot", { key: 'e9bec2dd219502e8855c6195ebe69bff8fff0da5' })));
|
|
6791
6792
|
}
|
|
6792
6793
|
get el() { return getElement(this); }
|
|
6793
6794
|
static get watchers() { return {
|
|
@@ -6855,7 +6856,7 @@ class NvCol {
|
|
|
6855
6856
|
/****************************************************************************/
|
|
6856
6857
|
//#region RENDER
|
|
6857
6858
|
render() {
|
|
6858
|
-
return (hAsync(Host, { key: '
|
|
6859
|
+
return (hAsync(Host, { key: '8c6efe159aa3b9d853d07897e17045adabf5716c', class: clsx(this.getColSize()) }, hAsync("slot", { key: '5438e2dd941088fde68b17495a4d231cc56fba3c' })));
|
|
6859
6860
|
}
|
|
6860
6861
|
static get style() { return NvColStyle0; }
|
|
6861
6862
|
static get cmpMeta() { return {
|
|
@@ -10217,6 +10218,7 @@ class NvDatagrid {
|
|
|
10217
10218
|
this.parsedColumns = []; // Parsed array
|
|
10218
10219
|
this.parsedData = []; // Parsed array
|
|
10219
10220
|
this.globalFilter = '';
|
|
10221
|
+
this.columnData = [];
|
|
10220
10222
|
//#endregion STATES
|
|
10221
10223
|
/****************************************************************************/
|
|
10222
10224
|
//#region PROPERTIES
|
|
@@ -10292,6 +10294,7 @@ class NvDatagrid {
|
|
|
10292
10294
|
*/
|
|
10293
10295
|
cacheTemplates() {
|
|
10294
10296
|
const columns = Array.from(this.el.querySelectorAll('nv-datagridcolumn'));
|
|
10297
|
+
this.columnData = [];
|
|
10295
10298
|
columns.forEach((col) => {
|
|
10296
10299
|
const key = col.accessor;
|
|
10297
10300
|
const cellSlot = col.querySelector('[slot="cell"]');
|
|
@@ -10312,6 +10315,12 @@ class NvDatagrid {
|
|
|
10312
10315
|
this.headerTemplateCache.set(key, headerDiv);
|
|
10313
10316
|
}
|
|
10314
10317
|
}
|
|
10318
|
+
const colData = {
|
|
10319
|
+
header: col.header,
|
|
10320
|
+
accessor: col.accessor,
|
|
10321
|
+
repeatTemplate: col.hasAttribute('repeat-template'),
|
|
10322
|
+
};
|
|
10323
|
+
this.columnData.push(colData);
|
|
10315
10324
|
});
|
|
10316
10325
|
}
|
|
10317
10326
|
parseDataAndColumns() {
|
|
@@ -10593,7 +10602,25 @@ class NvDatagrid {
|
|
|
10593
10602
|
}
|
|
10594
10603
|
}
|
|
10595
10604
|
// Handle single-level key lookup
|
|
10596
|
-
|
|
10605
|
+
if (key in cellValue) {
|
|
10606
|
+
return String(cellValue[key]);
|
|
10607
|
+
}
|
|
10608
|
+
else if (Array.isArray(cellValue)) {
|
|
10609
|
+
// Handle array of objects
|
|
10610
|
+
const response = cellValue.map((item) => {
|
|
10611
|
+
if (typeof item !== 'object') {
|
|
10612
|
+
return item.toString();
|
|
10613
|
+
}
|
|
10614
|
+
else if (key in item) {
|
|
10615
|
+
return item[key];
|
|
10616
|
+
}
|
|
10617
|
+
else {
|
|
10618
|
+
return item.toString();
|
|
10619
|
+
}
|
|
10620
|
+
});
|
|
10621
|
+
return response.join(', ');
|
|
10622
|
+
}
|
|
10623
|
+
return this.fallbackValue;
|
|
10597
10624
|
}
|
|
10598
10625
|
// If cellValue is a primitive (string, number, boolean, etc.), return it as a string
|
|
10599
10626
|
return (_a = cellValue === null || cellValue === void 0 ? void 0 : cellValue.toString()) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
@@ -10704,7 +10731,7 @@ class NvDatagrid {
|
|
|
10704
10731
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
10705
10732
|
? []
|
|
10706
10733
|
: (_c = (_b = this.table) === null || _b === void 0 ? void 0 : _b.getRowModel()) === null || _c === void 0 ? void 0 : _c.rows;
|
|
10707
|
-
return (hAsync(Host, { key: '
|
|
10734
|
+
return (hAsync(Host, { key: '94163c2c73d03dca35795bfb536c5743cb3aa0dc' }, hAsync("div", { key: '022776844872a4a6fcf9d7bdc71651e946e83724', class: "hidden" }, hAsync("slot", { key: 'a479cfc2b5ee53aa83450ec784451625e1ae7667' })), hAsync("slot", { key: '9beeb16975a685d8ce05981923c999ab2ffa004e', name: "before" }), this.enableGlobalFilter && this.table && (hAsync("div", { key: '57efcd1ee55fae941a0071000dc665ee76615f32', class: "search-container" }, hAsync("input", { key: 'd7352618ce123a7c14d8ebcc0b228136ae2df66a', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", null, this.parsedColumns.length > 0 && headerGroups
|
|
10708
10735
|
? headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups.map(headerGroup => (hAsync("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
|
|
10709
10736
|
return (hAsync("th", { key: header.id }, header.isPlaceholder
|
|
10710
10737
|
? null
|
|
@@ -10714,12 +10741,19 @@ class NvDatagrid {
|
|
|
10714
10741
|
const rowId = row.id;
|
|
10715
10742
|
const visibleCells = row === null || row === void 0 ? void 0 : row.getVisibleCells();
|
|
10716
10743
|
return (hAsync("tr", { key: rowId }, visibleCells.map(cell => {
|
|
10744
|
+
var _a, _b;
|
|
10717
10745
|
const cellAccessors = cell.column.id;
|
|
10718
10746
|
const cellValue = cell.getValue();
|
|
10719
|
-
return (hAsync("td", { key: cell.id, "data-row-id": rowId },
|
|
10720
|
-
|
|
10747
|
+
return (hAsync("td", { key: cell.id, "data-row-id": rowId }, ((_a = this.columnData.find(x => x.accessor === cellAccessors)) === null || _a === void 0 ? void 0 : _a.repeatTemplate) && Array.isArray(cellValue)
|
|
10748
|
+
? cellValue.map((item) => {
|
|
10749
|
+
var _a;
|
|
10750
|
+
return (_a = (this.renderTemplate(this.templateCache.get(cellAccessors), item, row) ||
|
|
10751
|
+
item)) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
10752
|
+
})
|
|
10753
|
+
: (_b = (this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
|
|
10754
|
+
cellValue)) !== null && _b !== void 0 ? _b : this.fallbackValue));
|
|
10721
10755
|
})));
|
|
10722
|
-
}))))), hAsync("slot", { key: '
|
|
10756
|
+
}))))), hAsync("slot", { key: '15815f259d3936559c89ff943dc349f99fda34fa', name: "after" })));
|
|
10723
10757
|
}
|
|
10724
10758
|
get el() { return getElement(this); }
|
|
10725
10759
|
static get watchers() { return {
|
|
@@ -10748,7 +10782,8 @@ class NvDatagrid {
|
|
|
10748
10782
|
"table": [32],
|
|
10749
10783
|
"parsedColumns": [32],
|
|
10750
10784
|
"parsedData": [32],
|
|
10751
|
-
"globalFilter": [32]
|
|
10785
|
+
"globalFilter": [32],
|
|
10786
|
+
"columnData": [32]
|
|
10752
10787
|
},
|
|
10753
10788
|
"$listeners$": undefined,
|
|
10754
10789
|
"$lazyBundleId$": "-",
|
|
@@ -10763,23 +10798,28 @@ class NvDatagrid {
|
|
|
10763
10798
|
class NvDatagridcolumn {
|
|
10764
10799
|
constructor(hostRef) {
|
|
10765
10800
|
registerInstance(this, hostRef);
|
|
10801
|
+
/**
|
|
10802
|
+
* Whether the column need to be repeated with the template.
|
|
10803
|
+
*/
|
|
10804
|
+
this.repeatTemplate = false;
|
|
10766
10805
|
}
|
|
10767
10806
|
//#endregion PROPERTIES
|
|
10768
10807
|
/****************************************************************************/
|
|
10769
10808
|
//#region RENDER
|
|
10770
10809
|
render() {
|
|
10771
|
-
return (hAsync(Host, { key: '
|
|
10810
|
+
return (hAsync(Host, { key: '462144dc8ea401f4f3e3683bdafba983c7147737' }, hAsync("slot", { key: '9af4055567f5199f6b4393e37a8a77b884ce82b9', name: "header" }), hAsync("slot", { key: '36b8cfd9bc974ed9d2a249418ababa504b66091d', name: "cell" })));
|
|
10772
10811
|
}
|
|
10773
10812
|
static get cmpMeta() { return {
|
|
10774
10813
|
"$flags$": 4,
|
|
10775
10814
|
"$tagName$": "nv-datagridcolumn",
|
|
10776
10815
|
"$members$": {
|
|
10777
10816
|
"header": [513],
|
|
10778
|
-
"accessor": [513]
|
|
10817
|
+
"accessor": [513],
|
|
10818
|
+
"repeatTemplate": [516, "repeat-template"]
|
|
10779
10819
|
},
|
|
10780
10820
|
"$listeners$": undefined,
|
|
10781
10821
|
"$lazyBundleId$": "-",
|
|
10782
|
-
"$attrsToReflect$": [["header", "header"], ["accessor", "accessor"]]
|
|
10822
|
+
"$attrsToReflect$": [["header", "header"], ["accessor", "accessor"], ["repeatTemplate", "repeat-template"]]
|
|
10783
10823
|
}; }
|
|
10784
10824
|
}
|
|
10785
10825
|
|
|
@@ -11639,7 +11679,7 @@ class NvDialog {
|
|
|
11639
11679
|
//#region RENDER
|
|
11640
11680
|
render() {
|
|
11641
11681
|
const hasForm = this.form || this.el.querySelector('form');
|
|
11642
|
-
return (hAsync(Host, { key: '
|
|
11682
|
+
return (hAsync(Host, { key: '61eba0f85db952b244052a3ee2ef7b7f87fd326c' }, hAsync("slot", { key: '44c72cba8610442c45386055285fcc81b9fccc4f', name: "trigger" }), hAsync("dialog", { key: 'db3983ac428f7e537037884f5556d97330928238', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '9ec2a2df306d68ac4cea2c5b2c303d3b491d5e34', class: "content" }, !this.undismissable && (hAsync("nv-button", { key: 'a586462512605de60726b912897fa16c39f8f68f', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '95eb4b492442aa0eb43dcab3f9111d9961421322', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: 'f9c1cf75b545166afc4dbb3d650e90042a83ea7a', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: '7716af492453f1a9f142aaf2a8af06689e4ded82' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
|
|
11643
11683
|
}
|
|
11644
11684
|
get el() { return getElement(this); }
|
|
11645
11685
|
static get watchers() { return {
|
|
@@ -11755,7 +11795,7 @@ class NvDialogfooter {
|
|
|
11755
11795
|
/****************************************************************************/
|
|
11756
11796
|
//#region RENDER
|
|
11757
11797
|
render() {
|
|
11758
|
-
return (hAsync(Host, { key: '
|
|
11798
|
+
return (hAsync(Host, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (hAsync(Fragment, null, !this.undismissable && (hAsync("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (hAsync("slot", null))));
|
|
11759
11799
|
}
|
|
11760
11800
|
static get formAssociated() { return true; }
|
|
11761
11801
|
get el() { return getElement(this); }
|
|
@@ -11811,7 +11851,7 @@ class NvDialogheader {
|
|
|
11811
11851
|
/****************************************************************************/
|
|
11812
11852
|
//#region RENDER
|
|
11813
11853
|
render() {
|
|
11814
|
-
return (hAsync(Host, { key: '
|
|
11854
|
+
return (hAsync(Host, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
|
|
11815
11855
|
}
|
|
11816
11856
|
get el() { return getElement(this); }
|
|
11817
11857
|
static get style() { return NvDialogheaderStyle0; }
|
|
@@ -11948,13 +11988,13 @@ class NvFieldcheckbox {
|
|
|
11948
11988
|
/****************************************************************************/
|
|
11949
11989
|
//#region RENDER
|
|
11950
11990
|
render() {
|
|
11951
|
-
return (hAsync(Host, { key: '
|
|
11991
|
+
return (hAsync(Host, { key: '1d627199f94d133d82bbef8f20de86590d9a3813', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: 'bca54e59576da2ec632a7ef7c5f8adb6fb3c77fb', class: "input-container" }, hAsync("input", { key: '4f27772a35e74cc945fc4de202099866fbd8a317', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
|
|
11952
11992
|
if (el) {
|
|
11953
11993
|
el.indeterminate = this.indeterminate;
|
|
11954
11994
|
}
|
|
11955
|
-
} }), hAsync("span", { key: '
|
|
11956
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
11957
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
11995
|
+
} }), hAsync("span", { key: 'd575209c82fe0cbb4f3136a50eb78a9db12cacc0', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: 'c265cb54bc4d76962203e8ee0298508e9f96bc58', name: "checked-icon" }, hAsync("svg", { key: '03d326e69ac11bf22bc3ce43a80023f8c2ff8401', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'ae602d5613c82569f89f97d9e1b6994940f03f9c', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: '9f90d9b9a63a50bd0ecd4433b390d4c03604e124', name: "indeterminate-icon" }, hAsync("svg", { key: '7681c9b1203240f419fb7cf93644cef77f8438f6', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'c28a5d22adace616ede31baa3a4edbc8cb899f01', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("div", { key: '9213ad654a4c4f9576160c80195aec378559f2a0', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '73f6c22fe57659b0618216e69289a5704ac231eb', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'fd70342006329609c2b0f9b501d0e2e7ad311f07', name: "label" }, this.label))), (this.description ||
|
|
11996
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '17fb2ed0060b24b1ef797efe34b53c94a755a1ac', class: "description" }, hAsync("slot", { key: '96d6c1b135f716de40c1223f35a479d3c8cc6c0d', name: "description" }, this.description))), (this.errorDescription ||
|
|
11997
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c63392b6d315d5104087561ca2abf166e190f0f7', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '154010b1ec725f95d88bbf18a9e5d309b73affdd', name: "error-description" }, this.errorDescription))))));
|
|
11958
11998
|
}
|
|
11959
11999
|
static get formAssociated() { return true; }
|
|
11960
12000
|
get el() { return getElement(this); }
|
|
@@ -16011,12 +16051,12 @@ class NvFielddate {
|
|
|
16011
16051
|
/****************************************************************************/
|
|
16012
16052
|
//#region RENDER
|
|
16013
16053
|
render() {
|
|
16014
|
-
return (hAsync(Host, { key: '
|
|
16015
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
16054
|
+
return (hAsync(Host, { key: 'c7df11a97881887a55ebcedcb2b92aa1ac24097e' }, ((this.label && this.label.length > 0) ||
|
|
16055
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a1b973f2de3b2510e7ed9c4a02d38ebc96cf5261', htmlFor: this.inputId }, hAsync("slot", { key: '8a236ef847c3c65994fa47fad12f7c1a84820859', name: "label" }, this.label))), hAsync("nv-popover", { key: '76448ee54d85eeed56bc700b6cf5c92bfbad75b3', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '1e3610ab28f294d1075aa78a971ee80a2c5f67bc', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '1ddf6042b74ba760238a92a4bd76e1385ed5b964', name: "before-input" }), hAsync("div", { key: 'ed60189f121928bc42fdf6f419a92fe2733ad2a3', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '27d9c9302a8cb2d9d803020e2bc7b86b8c2c673b', name: "leading-input" }), hAsync("input", { key: 'c8edffba97c6c51ef545c218459a8ce80698b3c4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), hAsync("nv-iconbutton", { key: 'e69bf0edb9726c201659f5a4aa7453eb3f5067ac', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
16016
16056
|
,
|
|
16017
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '
|
|
16018
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
16019
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16057
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'd8231b608d9d08abb88e261118f9dd02cf8f5c2c', name: "after-input" })), hAsync("div", { key: 'c8bb3d4a753e8ad311db1947717f1dad109999c1', slot: "content" }, hAsync("nv-calendar", { key: 'bd73bc48c48e708f3655c112b874135003f1a16f', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
|
|
16058
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'dee7ad7eaa2854756e616ef033264c4a2cf8f96c', class: "description" }, hAsync("slot", { key: '5556239ae6ed962cd2d51944d2f394f8d7741fb0', name: "description" }, this.description))), (this.errorDescription ||
|
|
16059
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '82ba5366e053563fe5fc9471493fb99c78bf078f', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '1fda22554d69a5998b99d3f8c95362a926b44fb3' })));
|
|
16020
16060
|
}
|
|
16021
16061
|
get el() { return getElement(this); }
|
|
16022
16062
|
static get watchers() { return {
|
|
@@ -16398,15 +16438,15 @@ class NvFielddaterange {
|
|
|
16398
16438
|
/****************************************************************************/
|
|
16399
16439
|
//#region RENDER
|
|
16400
16440
|
render() {
|
|
16401
|
-
return (hAsync(Host, { key: '
|
|
16402
|
-
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '
|
|
16441
|
+
return (hAsync(Host, { key: '357f98b39d7cade75f24caaba007eec4279cd24e' }, ((this.label && this.label.length > 0) ||
|
|
16442
|
+
this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '0731f0d5ad79d323dade2f023f5a9c3088c744b2', htmlFor: this.startInputId }, hAsync("slot", { key: '75309cb4161e1652f0445ba924c6d7a58de140c3', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f66e2544956ea3dedd249719a4b436077bdc85c0', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'c1a3b117056a521f6f778a978b4bc8edac32a111', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '5fbe2aff9687456dd299792016904470386dfb94', name: "before-input" }), hAsync("div", { key: '46726768e9724e983063479e0f301c3d09169669', class: "input-container" }, hAsync("slot", { key: 'f4a405be4a98566bd40dc9d19087d2c5c0ac798f', name: "leading-input" }), hAsync("div", { key: 'd1abc5e239272e57f0fdbf4c0e9e76ca86230996', class: "range-inputs" }, hAsync("input", { key: 'd13584d024b50162d47a74e68592c05206484876', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), hAsync("svg", { key: '641dda60614637939d8ffaa25052e8f2bcb234d8', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, hAsync("path", { key: 'c6245bd4ffa2bb12df3a295a6a10ce8386b5f54b', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), hAsync("path", { key: 'c1b3400148e367dae092eecec9da410cfa2e7547', d: "M18 9l3 3l-3 3" }), hAsync("path", { key: '08bc414df54afe457775aec97897ed0acf2dca38', d: "M15 12h6" }), hAsync("path", { key: 'd9136526597df7a8193f71414caba9481248ebf2', d: "M6 9l-3 3l3 3" }), hAsync("path", { key: '1d194b3449c53be3f05458ade789e99998861371', d: "M3 12h6" })), hAsync("input", { key: '5ed58df2a2680b1fa66916f65c2dc48dc648e461', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), hAsync("nv-iconbutton", { key: 'e06b3a9326245e581998a60627634560be7124f0', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'bf0ea3f63a5476e7ff4a6954fb200c15a493d6ac', name: "after-input" })), hAsync("div", { key: '32fcfbafe86ce08d87d597d40ad25702dd059ed6', slot: "content" }, hAsync("nv-calendar", { key: 'ef670618ecca933d976adefaec9996f172f95d7a', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
|
|
16403
16443
|
? JSON.stringify({
|
|
16404
16444
|
start: this.startValue,
|
|
16405
16445
|
end: this.endValue,
|
|
16406
16446
|
})
|
|
16407
16447
|
: '', firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range" }))), ((this.description && this.description.length > 0) ||
|
|
16408
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
16409
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16448
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '15dbab39d7ceaf406246462812d8a1307dad40bb', class: "description" }, hAsync("slot", { key: '1c5f74676b312a6bbca659a783473da7c3936829', name: "description" }, this.description))), (this.errorDescription ||
|
|
16449
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '8f48ac666968cddfdd2c282366ed2f6dccd3013c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '92dc673a2d62a34d3830cf6644b84103b73b695b' })));
|
|
16410
16450
|
}
|
|
16411
16451
|
get el() { return getElement(this); }
|
|
16412
16452
|
static get watchers() { return {
|
|
@@ -16533,7 +16573,6 @@ class NvFielddropdown {
|
|
|
16533
16573
|
//#region STATE
|
|
16534
16574
|
/** The text entered by the user for filtering dropdown items. */
|
|
16535
16575
|
this.filterText = '';
|
|
16536
|
-
this.isFilterable = this.filterable;
|
|
16537
16576
|
this.selectedValues = new Set();
|
|
16538
16577
|
/**
|
|
16539
16578
|
* Options configuration for the dropdown items.
|
|
@@ -16623,10 +16662,6 @@ class NvFielddropdown {
|
|
|
16623
16662
|
handleOpenChanged(event) {
|
|
16624
16663
|
this.open = event.detail; // Update `open` based on the popover state
|
|
16625
16664
|
}
|
|
16626
|
-
watchFilterableHandler(newValue) {
|
|
16627
|
-
this.isFilterable = newValue;
|
|
16628
|
-
this.filterable = newValue;
|
|
16629
|
-
}
|
|
16630
16665
|
watchValueHandler(newValue) {
|
|
16631
16666
|
this.valueChanged.emit(newValue);
|
|
16632
16667
|
}
|
|
@@ -16803,14 +16838,13 @@ class NvFielddropdown {
|
|
|
16803
16838
|
/****************************************************************************/
|
|
16804
16839
|
//#region RENDER
|
|
16805
16840
|
render() {
|
|
16806
|
-
return (hAsync(Host, { key: '
|
|
16807
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
16808
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
16841
|
+
return (hAsync(Host, { key: '9624c909eb35f0e6d9a9875cbeaec8ffb8122d40', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '27389b0b422af6b7714cea6654ac243d1e9c242f', htmlFor: this.inputId }, hAsync("slot", { key: 'd77573395386ba0c0afa2233f420fa250b86ac9f', name: "label" }, this.label))), hAsync("nv-popover", { key: '0b1dda746e71b810ab6050cd8ef6a6bb9a44866e', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '437a94f2230891674dd9c820595fcecfcea48e77', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'e01c2e4bda2806b21c0016bfe710969044994dfc', name: "before-input" }), hAsync("div", { key: '310d387f5cc22ad85232c0f491763a810833befc', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'c16096b15be3fe16ad8f5fb4a730050f6f797342', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (hAsync("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && this.open && (hAsync("nv-iconbutton", { key: '208c945944cddcb1c67a3b560428f21ca056b17b', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: 'e3797d5e47e54fd328c0bcd86d14e80ee5e21e17', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '1ccb8f3bb1ad086339b9888bf89e929164576910', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '92a66b2da4f7ada21fdb8199d2b047840050be13', name: "after-input" })), hAsync("div", { key: '51ba49500cb0e03531c5b4b939e76817f432be57', slot: "content" }, this.parsedOptions.length > 0 ? (hAsync("ul", null, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (hAsync("slot", { name: "content" })))), (this.description ||
|
|
16842
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3cb31c8bfb17db1862af12e817f6646480cd697c', class: "description" }, hAsync("slot", { key: '830538f4e63f9de6a613fcce23a80370d941e9da', name: "description" }, this.description))), (this.errorDescription ||
|
|
16843
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '8ffee4c7d2c9a93bc4de344f812ff568e3d6a23e', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '8f534be6233f54e6b43e2271d0a151a02148d5d8', name: "error-description" }, this.errorDescription)))));
|
|
16809
16844
|
}
|
|
16810
16845
|
static get formAssociated() { return true; }
|
|
16811
16846
|
get el() { return getElement(this); }
|
|
16812
16847
|
static get watchers() { return {
|
|
16813
|
-
"filterable": ["watchFilterableHandler"],
|
|
16814
16848
|
"value": ["watchValueHandler"],
|
|
16815
16849
|
"options": ["handleOptionsChange"]
|
|
16816
16850
|
}; }
|
|
@@ -16833,11 +16867,10 @@ class NvFielddropdown {
|
|
|
16833
16867
|
"readonly": [516],
|
|
16834
16868
|
"disabled": [516],
|
|
16835
16869
|
"emptyResult": [513, "empty-result"],
|
|
16836
|
-
"filterable": [
|
|
16870
|
+
"filterable": [516],
|
|
16837
16871
|
"options": [513],
|
|
16838
16872
|
"autofocus": [516],
|
|
16839
16873
|
"filterText": [32],
|
|
16840
|
-
"isFilterable": [32],
|
|
16841
16874
|
"selectedValues": [32],
|
|
16842
16875
|
"parsedOptions": [32],
|
|
16843
16876
|
"getFilterText": [64]
|
|
@@ -16907,7 +16940,7 @@ class NvFielddropdownitem {
|
|
|
16907
16940
|
/****************************************************************************/
|
|
16908
16941
|
//#region RENDER
|
|
16909
16942
|
render() {
|
|
16910
|
-
return (hAsync(Host, { key: '
|
|
16943
|
+
return (hAsync(Host, { key: '228a213b0a8acb108676e412ed2aa8bcd3f2e88d', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: '4578676f2a58e9a3a3a5173ff4659ca8e65755df' }), !this.composed && (hAsync("div", { key: 'a4f670296e56319007852726fd5fa3dca1ea3d04', class: "text-wrapper" }, hAsync("span", { key: '2b69bca3ee6e1d7e8db57befdfb57bd27c096658', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '869900dc55ef7e35550d9de1aea06478e90ba890', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
16911
16944
|
}
|
|
16912
16945
|
get el() { return getElement(this); }
|
|
16913
16946
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
@@ -16972,7 +17005,7 @@ class NvFielddropdownitemcheck {
|
|
|
16972
17005
|
};
|
|
16973
17006
|
}
|
|
16974
17007
|
render() {
|
|
16975
|
-
return (hAsync(Host, { key: '
|
|
17008
|
+
return (hAsync(Host, { key: '69e403031200efea98b211ed6d69d3a21338bea0', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: '0d12dbeef8532087d950bfc4e14994821b1cd3f1', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
|
|
16976
17009
|
}
|
|
16977
17010
|
get el() { return getElement(this); }
|
|
16978
17011
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
@@ -17077,10 +17110,6 @@ class NvFieldmultiselect {
|
|
|
17077
17110
|
* The text entered by the user for filtering multiselect items.
|
|
17078
17111
|
*/
|
|
17079
17112
|
this.filterText = '';
|
|
17080
|
-
/**
|
|
17081
|
-
* Determines whether the multiselect is filterable.
|
|
17082
|
-
*/
|
|
17083
|
-
this.isFilterable = this.filterable;
|
|
17084
17113
|
/**
|
|
17085
17114
|
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
17086
17115
|
* @default 300
|
|
@@ -17315,14 +17344,14 @@ class NvFieldmultiselect {
|
|
|
17315
17344
|
* @returns {any} The JSX for options mode
|
|
17316
17345
|
*/
|
|
17317
17346
|
this.renderOptionsMode = () => {
|
|
17318
|
-
return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect" }, hAsync("slot", { name: "leading-input" }), hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
17347
|
+
return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect" }, hAsync("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (hAsync("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverOptions })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("ul", { role: "content" }, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), hAsync("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
17319
17348
|
};
|
|
17320
17349
|
/**
|
|
17321
17350
|
* Renders the component in slots mode
|
|
17322
17351
|
* @returns {any} The JSX for slots mode
|
|
17323
17352
|
*/
|
|
17324
17353
|
this.renderSlotsMode = () => {
|
|
17325
|
-
return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, hAsync("slot", { name: "leading-input" }), hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
17354
|
+
return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, hAsync("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (hAsync("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverSlots })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("slot", { name: "content" }))), this.renderDescriptions()));
|
|
17326
17355
|
};
|
|
17327
17356
|
}
|
|
17328
17357
|
//#endregion PROPERTIES
|
|
@@ -17479,14 +17508,6 @@ class NvFieldmultiselect {
|
|
|
17479
17508
|
// Handle value change and update the corresponding multiselect item if it exists
|
|
17480
17509
|
this.setInitialSelection();
|
|
17481
17510
|
}
|
|
17482
|
-
/**
|
|
17483
|
-
* Emitted when the filterable property changes.
|
|
17484
|
-
* @param {boolean} newValue - The new value of the filterable property.
|
|
17485
|
-
*/
|
|
17486
|
-
watchFilterableHandler(newValue) {
|
|
17487
|
-
this.isFilterable = newValue;
|
|
17488
|
-
this.filterable = newValue;
|
|
17489
|
-
}
|
|
17490
17511
|
// Add a listener for the slot content
|
|
17491
17512
|
handleSlotChange(event) {
|
|
17492
17513
|
// Check: we only want to reorder if it's the "content" slot
|
|
@@ -18007,8 +18028,7 @@ class NvFieldmultiselect {
|
|
|
18007
18028
|
get el() { return getElement(this); }
|
|
18008
18029
|
static get watchers() { return {
|
|
18009
18030
|
"options": ["handleOptionsChange"],
|
|
18010
|
-
"value": ["watchValueHandler"]
|
|
18011
|
-
"filterable": ["watchFilterableHandler"]
|
|
18031
|
+
"value": ["watchValueHandler"]
|
|
18012
18032
|
}; }
|
|
18013
18033
|
static get style() { return NvFieldmultiselectStyle0; }
|
|
18014
18034
|
static get cmpMeta() { return {
|
|
@@ -18029,7 +18049,7 @@ class NvFieldmultiselect {
|
|
|
18029
18049
|
"readonly": [516],
|
|
18030
18050
|
"disabled": [516],
|
|
18031
18051
|
"autocomplete": [513],
|
|
18032
|
-
"filterable": [
|
|
18052
|
+
"filterable": [516],
|
|
18033
18053
|
"value": [1537],
|
|
18034
18054
|
"open": [1540],
|
|
18035
18055
|
"options": [513],
|
|
@@ -18039,7 +18059,6 @@ class NvFieldmultiselect {
|
|
|
18039
18059
|
"selectedValues": [32],
|
|
18040
18060
|
"sortedOptions": [32],
|
|
18041
18061
|
"filterText": [32],
|
|
18042
|
-
"isFilterable": [32],
|
|
18043
18062
|
"modeState": [32],
|
|
18044
18063
|
"isHandlingEscape": [32],
|
|
18045
18064
|
"getFilterText": [64],
|
|
@@ -18167,9 +18186,9 @@ class NvFieldnumber {
|
|
|
18167
18186
|
/****************************************************************************/
|
|
18168
18187
|
//#region RENDER
|
|
18169
18188
|
render() {
|
|
18170
|
-
return (hAsync(Host, { key: '
|
|
18171
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18172
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18189
|
+
return (hAsync(Host, { key: '99076502efb577ad65e43827f4d4959fb1f84055' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '365821e9e3cb25367591680279f05d951f6a5fd9', htmlFor: this.inputId }, hAsync("slot", { key: '92273b991f6c6bd34fe6a302dedb808d46abb71d', name: "label" }, this.label))), hAsync("div", { key: 'ab849355fa1719ed40b5379a8aeee160f98ea798', class: "input-wrapper" }, hAsync("slot", { key: '71e4de7753f3880756cd763a7a8955832066d0e7', name: "before-input" }), hAsync("div", { key: '6da56e990c4ad0329c5d974868e9520cb5ac7a99', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'd09eb9350067116d5236142951f0e7ed81d9aa5c', name: "leading-input" }), hAsync("input", { key: '6df1d2f3acb880000b57e5be990f6d843c7d3b2c', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: '85deaf9197825370d0bc7d81bd82cf9fd86b7a05', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '68ed66eb7a9af38f974e515d554eed6e3d28a915', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '16b0e4b303cce4ee7df29ea411e8fee808e5ddb0', class: "stepper" }, hAsync("nv-iconbutton", { key: '6dec84d7c05b467b5178177351e6fa769d2a9433', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), hAsync("nv-iconbutton", { key: '66391588b961555aa20a1974098c114aadceadd1', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), hAsync("slot", { key: '4549e591971e83d5d14f08b56a8d5357c5d6aaf0', name: "after-input" })), (this.description ||
|
|
18190
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'cef21ffaf75f976708d0c8b51f928daea26f1221', class: "description" }, hAsync("slot", { key: 'be36b7c3c6a606847805dc1a50f762a80155d695', name: "description" }, this.description))), (this.errorDescription ||
|
|
18191
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '91b5b8c969520bb10bccd59066ddea32d6fa58f3', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '7e0729d42390a1fc62d320841de4e016e01e2485', name: "error-description" }, this.errorDescription)))));
|
|
18173
18192
|
}
|
|
18174
18193
|
static get formAssociated() { return true; }
|
|
18175
18194
|
get el() { return getElement(this); }
|
|
@@ -18278,10 +18297,6 @@ class NvFieldpassword {
|
|
|
18278
18297
|
* Show/hide the password programmatically.
|
|
18279
18298
|
*/
|
|
18280
18299
|
this.showPassword = false;
|
|
18281
|
-
/**
|
|
18282
|
-
* Defines whether the password is visible or not.
|
|
18283
|
-
*/
|
|
18284
|
-
this.showPasswordState = this.showPassword;
|
|
18285
18300
|
/**
|
|
18286
18301
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
18287
18302
|
* is equivalent to setting the native autofocus attribute on an <input>
|
|
@@ -18308,11 +18323,17 @@ class NvFieldpassword {
|
|
|
18308
18323
|
}
|
|
18309
18324
|
//#endregion METHODS
|
|
18310
18325
|
/****************************************************************************/
|
|
18326
|
+
//#region LIFECYCLE
|
|
18327
|
+
componentWillLoad() {
|
|
18328
|
+
this.showPasswordState = this.showPassword;
|
|
18329
|
+
}
|
|
18330
|
+
//#endregion LIFECYCLE
|
|
18331
|
+
/****************************************************************************/
|
|
18311
18332
|
//#region RENDER
|
|
18312
18333
|
render() {
|
|
18313
|
-
return (hAsync(Host, { key: '
|
|
18314
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18315
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18334
|
+
return (hAsync(Host, { key: '79c87deb52017b4500b695a513dc4100e7359d97' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'bd4785278a21ea61de41ed694e429228286f853b', htmlFor: this.inputId }, hAsync("slot", { key: '7c3cd8188e35aa00c0377ffdefb1d5e9c380ac59', name: "label" }, this.label))), hAsync("div", { key: '61f0e04b056ba1b08e9e3ede89d5975b4549705f', class: "input-wrapper" }, hAsync("slot", { key: '96070a1d584277de90962700a9e6764f0bd36a38', name: "before-input" }), hAsync("div", { key: 'ea04afadccfb828f5d081b1f30ef3d4619659b80', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'cfd54cbdf3d9d03c31cdd781491097cc6db405bd', name: "leading-input" }), hAsync("input", { key: '04bf191014aef621d314973d531533ffa50d8b2f', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (hAsync("nv-icon", { key: 'b2e57a5f496bda92dbb877850e67ffb921a288df', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: '2664cbcbfd7aa04a5292a6821fa79a1cb12e1578', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), hAsync("slot", { key: '959a8d098548c85db4b1a8f9c0d2d8a8cdc5e386', name: "after-input" })), (this.description ||
|
|
18335
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c7b85cb8d2f1f42d133e9937bccb8d3edd9d1cf8', class: "description" }, hAsync("slot", { key: 'fd41c7389e871ad4d57df283f9872c6964176bb3', name: "description" }, this.description))), (this.errorDescription ||
|
|
18336
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '014db98dbf132a493b8842ffcc45ced808e9f52c', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '3909a8e0ac73dae4731e23806875f26bfb2185ff', name: "error-description" }, this.errorDescription)))));
|
|
18316
18337
|
}
|
|
18317
18338
|
static get formAssociated() { return true; }
|
|
18318
18339
|
get el() { return getElement(this); }
|
|
@@ -18439,9 +18460,9 @@ class NvFieldradio {
|
|
|
18439
18460
|
/****************************************************************************/
|
|
18440
18461
|
//#region RENDER
|
|
18441
18462
|
render() {
|
|
18442
|
-
return (hAsync(Host, { key: '
|
|
18443
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18444
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18463
|
+
return (hAsync(Host, { key: 'fd326df67c5617156ef00d50d789d3328584788e', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: 'fae44c510d1f43c508a837b94cc16f8094617813', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), hAsync("div", { key: 'd4e9378e300691439bf57a580e8381a8142d8c78', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '56cdbda0feb823825f5ba5e125a478db23321379', htmlFor: this.inputId }, hAsync("slot", { key: '83e67f52228b7d6313fd35cd4a46edeeabc83a1b', name: "label" }, this.label))), (this.description ||
|
|
18464
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '8bb15a57d23f2826dfff31a7a3101ed263618e5f', class: "description" }, hAsync("slot", { key: '6d339430073e1eada1557ea762d9abeda7f338e1', name: "description" }, this.description))), (this.errorDescription ||
|
|
18465
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd4b3c8ef17c70442839c61cf19bc0d9598be57c2', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'ca609be33a5253f85ed5101786c1981101f83743', name: "error-description" }, this.errorDescription))))));
|
|
18445
18466
|
}
|
|
18446
18467
|
static get formAssociated() { return true; }
|
|
18447
18468
|
get el() { return getElement(this); }
|
|
@@ -18821,13 +18842,13 @@ class NvFieldselect {
|
|
|
18821
18842
|
* @returns {HTMLStencilElement} The HTML element to render.
|
|
18822
18843
|
*/
|
|
18823
18844
|
render() {
|
|
18824
|
-
return (hAsync(Host, { key: '
|
|
18845
|
+
return (hAsync(Host, { key: '017364e5a5df156be42741e3acc4457414f8e6ee' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '2e4b247018a759307ea5e3920a4066a2c1c14e92', htmlFor: this.inputId }, hAsync("slot", { key: '1bbad9d0b4be9fc35c0cc63859ba6dcdb4375377', name: "label" }, this.label))), hAsync("div", { key: '572073518f738014fd27d8de84fc856a01889636', class: "select-wrapper" }, hAsync("slot", { key: '490730d4fc16f78284a8ca40ab952870eb01b503', name: "before-input" }), hAsync("div", { key: 'a92ea3295f64ce1c6d8da5cf439d7c796493fdf5', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: 'f80e732415ec42a4c7b02922f1b50d2cf3950e88', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: 'b1ee7e799434d0e36d1f98031338137347bcedea', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
|
|
18825
18846
|
? `${this.inputId}-error`
|
|
18826
|
-
: `${this.inputId}-description` })), hAsync("select", { key: '
|
|
18847
|
+
: `${this.inputId}-description` })), hAsync("select", { key: '9a8b48a7a41522b09b65a5c76b7e861b5d6eef49', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
18827
18848
|
? `${this.inputId}-error`
|
|
18828
|
-
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '
|
|
18829
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18830
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
18849
|
+
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '7ecac0a159ca2b4925b8a940c80f8aef94a2ca1d', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: 'fd3d75a5c621a49f45550d9596f4910ef01a56b2', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '45b3e11a48f5f700ac9c21ba276ee9c93640d0d9', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '07171fbe1fc88f4c7af0513ed718376ce1a1aeb3', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), hAsync("slot", { key: '096bf49c55359062fc790d31660b331a5988ad22', name: "after-input" })), (this.description ||
|
|
18850
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '7b292eeb3a1ca29b7cb1b631926b591183ab50fc', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: 'a2fdc1929f7aa2571cd11d01e2c1ed165afb856c', name: "description" }, this.description))), (this.errorDescription ||
|
|
18851
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '3d189e87ff7cee9a43ccad85c6e84fcdb3343f1f', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '515059b75c8e2c1e600a28124135cbd7af87ccbf', name: "error-description" }, this.errorDescription)))));
|
|
18831
18852
|
}
|
|
18832
18853
|
static get formAssociated() { return true; }
|
|
18833
18854
|
get el() { return getElement(this); }
|
|
@@ -18980,9 +19001,9 @@ class NvFieldtext {
|
|
|
18980
19001
|
/****************************************************************************/
|
|
18981
19002
|
//#region RENDER
|
|
18982
19003
|
render() {
|
|
18983
|
-
return (hAsync(Host, { key: '
|
|
18984
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
18985
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
19004
|
+
return (hAsync(Host, { key: 'ffcbe1c8f14257f6380d28f2c50fe8b77ae73027' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3b84598a05eedc7625312def01ca726dc68fa247', htmlFor: this.inputId }, hAsync("slot", { key: '8c8f0d2f86742dd0699b8b309cbea0dca1d294ce', name: "label" }, this.label))), hAsync("div", { key: 'c2adf3acc7780a7eba5d4762b7275d1c63304bf5', class: "input-wrapper" }, hAsync("slot", { key: 'c49756d1daaba476222ebda2df4854b1094655b3', name: "before-input" }), hAsync("div", { key: '723c34f09e6c073bdef2db799246da72ffd52703', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '4e94bcac72ac2e5147a8d5e33396a13359820009', name: "leading-input" }), hAsync("input", { key: '96cbf022912735445467320600e372fba03de4e4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: '39a55c42a49006d316e5dcc5389793c6264d2b09', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'bf1b6040dbb392b5c46b3b9af665d7cdc7389d29', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: 'bb2256bf3fc5165e61f162fe89dd7be564a989c0', name: "after-input" })), (this.description ||
|
|
19005
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3d2c5a89247042184b3a110ca7982b793b0bd86a', class: "description" }, hAsync("slot", { key: '2358cc5217d6ba65b4d4baa927b397dbe62982e8', name: "description" }, this.description))), (this.errorDescription ||
|
|
19006
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cdef4117d71b8a6bdde19fea1a0f4070ba02ab2e', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '66a2b100ab641aa9c2e22fdfc9a987bb86cd44a0', name: "error-description" }, this.errorDescription)))));
|
|
18986
19007
|
}
|
|
18987
19008
|
static get formAssociated() { return true; }
|
|
18988
19009
|
get el() { return getElement(this); }
|
|
@@ -19197,9 +19218,9 @@ class NvFieldtextarea {
|
|
|
19197
19218
|
/****************************************************************************/
|
|
19198
19219
|
//#region RENDER
|
|
19199
19220
|
render() {
|
|
19200
|
-
return (hAsync(Host, { key: '
|
|
19201
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
19202
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
19221
|
+
return (hAsync(Host, { key: 'b5d6707fa7ebbd64f3b1616c9f61746f394e347d' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '6fd76411b08da2d22d86d0a4ef81ce99534d0112', htmlFor: this.inputId }, hAsync("slot", { key: '634339fa1bd5ccb2627dab03117535b2bc09b9cc', name: "label" }, this.label))), hAsync("div", { key: '6a521f191ebae60a874c4d48a1872b7a61181c54', class: "textarea-wrapper" }, hAsync("div", { key: 'ecca606c8775282c5b21b8f8e12a9c98df7aa410', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: '7547d01134c155c9f76e1978f08075d1e8ff50fd', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
19222
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'fc436e3cc4dbdf8730920173a74f4da249678e39', class: "description" }, hAsync("slot", { key: '27aa71e73818742bc92f3860dd0071eef182474a', name: "description" }, this.description))), (this.errorDescription ||
|
|
19223
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cc3733783b2f5985358d1c21e502845f7bab8406', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '1db584479ed23d616d88dc9fc28fe1e0acd7a463', name: "error-description" }, this.errorDescription)))));
|
|
19203
19224
|
}
|
|
19204
19225
|
static get formAssociated() { return true; }
|
|
19205
19226
|
get el() { return getElement(this); }
|
|
@@ -20223,26 +20244,26 @@ class NvFieldtime {
|
|
|
20223
20244
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
20224
20245
|
}
|
|
20225
20246
|
render() {
|
|
20226
|
-
return (hAsync(Host, { key: '
|
|
20227
|
-
hAsync("input", { key: '
|
|
20247
|
+
return (hAsync(Host, { key: 'd9b980ce6cf9d4c00da007608b03261983ae49b7', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'ff69b45e9b30ee4b0dd2034c1e29b698796f8796', htmlFor: this.inputId }, hAsync("slot", { key: '6cfd62e39f69451c326b5266a3c8b33520366ac7', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f2c68b4286769203b9f4af8cc61375dc60795589', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'eb45e4d83e5d9754336bc7d03a2937931fa56378', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '644faecac37927eae57da8eb039a79154ebf5787', name: "before-input" }), hAsync("div", { key: '10b656c08d991100a5ef0fe87299af7a3d0a7831', class: "input-container" }, hAsync("slot", { key: '3908fc76c97f4a362974199f30bdc2535172e4dc', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
|
|
20248
|
+
hAsync("input", { key: 'b68e32193ab056a230138dfbb2d14240fa700b1d', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
|
|
20228
20249
|
? `${TimeType.Hours}-${this.name}`
|
|
20229
20250
|
: TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20230
20251
|
], this.format.includes('mm') && [
|
|
20231
|
-
hAsync("span", { key: '
|
|
20232
|
-
hAsync("input", { key: '
|
|
20252
|
+
hAsync("span", { key: 'ebef6f727c34aa8f9348c65c02ab970a409cce2e' }, ":"),
|
|
20253
|
+
hAsync("input", { key: 'd4aa6001b2f462d64eae1bdda7f46d97a926802e', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
|
|
20233
20254
|
? `${TimeType.Minutes}-${this.name}`
|
|
20234
20255
|
: TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20235
20256
|
], this.format.includes('ss') && [
|
|
20236
|
-
hAsync("span", { key: '
|
|
20237
|
-
hAsync("input", { key: '
|
|
20257
|
+
hAsync("span", { key: '9ce4067c241aae590f4cd4383b1ece3a7510a2c7' }, ":"),
|
|
20258
|
+
hAsync("input", { key: 'f42706c6e606c59e739b0460b9c9016c796542da', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
|
|
20238
20259
|
? `${TimeType.Seconds}-${this.name}`
|
|
20239
20260
|
: TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
|
|
20240
|
-
], hAsync("nv-iconbutton", { key: '
|
|
20261
|
+
], hAsync("nv-iconbutton", { key: '4c233506c36553289c0e21d889e6c77c46e2862a', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: '9dcf992cc15a5462269208daecec4dbfc7fc9183', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: '3614bfd444d8243c110bf2b458e0d2d5f296566f', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'e703a923e7c98e2d9fd5d69a5741f1f67c9710b4', name: "after-input" })), hAsync("div", { key: '6a56bd36fac3051ae1a40cbb450a51a415c00db2', class: "time-dropdown", slot: "content" }, hAsync("div", { key: 'c001e4f3afa3fadf49df9186ef38ac10ca3c1f70', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
|
|
20241
20262
|
this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
|
|
20242
20263
|
this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
|
|
20243
20264
|
this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
|
|
20244
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
20245
|
-
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '
|
|
20265
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '62782d291c7e065b79c91a51ebd61afcef60c058', class: "description" }, hAsync("slot", { key: '70d29b36d481bfc5ec8a9435e2eadf0007aa95c3', name: "description" }, this.description))), (this.errorDescription ||
|
|
20266
|
+
this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '71818050156b31a39daf70e4cf8cb1a03f809458', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'cb7fb776375e7afaaa22ae90f8e6eb533e066e53', name: "error-description" }, this.errorDescription)))));
|
|
20246
20267
|
}
|
|
20247
20268
|
static get formAssociated() { return true; }
|
|
20248
20269
|
get el() { return getElement(this); }
|
|
@@ -20347,7 +20368,7 @@ class NvIcon {
|
|
|
20347
20368
|
/****************************************************************************/
|
|
20348
20369
|
//#region RENDER
|
|
20349
20370
|
render() {
|
|
20350
|
-
return (hAsync(Host, { key: '
|
|
20371
|
+
return (hAsync(Host, { key: 'a5d7dbfd9cf1be24ba19e8a8902a5a7adb89cc24', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: 'b35bc42c038fd288022e13650556086d1dc3604d', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, hAsync("use", { key: '41833d3d27433422c859b513f28dc48a202d5919', href: `#${this.name}` }))));
|
|
20351
20372
|
}
|
|
20352
20373
|
static get style() { return NvIconStyle0; }
|
|
20353
20374
|
static get cmpMeta() { return {
|
|
@@ -20491,7 +20512,7 @@ class NvIconbutton {
|
|
|
20491
20512
|
/****************************************************************************/
|
|
20492
20513
|
//#region RENDER
|
|
20493
20514
|
render() {
|
|
20494
|
-
return (hAsync(Host, { key: '
|
|
20515
|
+
return (hAsync(Host, { key: 'e67f2cfb172fc315ea4d12290000cd92ff683e88', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && hAsync("nv-loader", { key: '6477c82dcaa79147d03ae730d9ab2835959bcde6', size: this.size }), !this.loading && hAsync("nv-icon", { key: '8ffecf3db1d721ff88ba3c7b4e08543e48adedd5', name: this.name, size: this.size }), hAsync("slot", { key: 'c03cccb5aff47a9f758fc23b4e2226301d2d2fcc' })));
|
|
20495
20516
|
}
|
|
20496
20517
|
static get formAssociated() { return true; }
|
|
20497
20518
|
get el() { return getElement(this); }
|
|
@@ -20539,7 +20560,7 @@ class NvLoader {
|
|
|
20539
20560
|
//#region RENDER
|
|
20540
20561
|
/* <slot> empty to force rendering change */
|
|
20541
20562
|
render() {
|
|
20542
|
-
return (hAsync(Host, { key: '
|
|
20563
|
+
return (hAsync(Host, { key: '701552c6cf9126e60d81f844648ec1d29079fdd3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
20543
20564
|
}
|
|
20544
20565
|
static get style() { return NvLoaderStyle0; }
|
|
20545
20566
|
static get cmpMeta() { return {
|
|
@@ -20559,8 +20580,8 @@ const nvMenuCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;w
|
|
|
20559
20580
|
var NvMenuStyle0 = nvMenuCss;
|
|
20560
20581
|
|
|
20561
20582
|
/**
|
|
20562
|
-
* @slot trigger -
|
|
20563
|
-
* @slot content -
|
|
20583
|
+
* @slot trigger - The button element that toggles the menu popover
|
|
20584
|
+
* @slot content - The content of the menu, should be wrapped in a ul element containing nv-menuitem elements
|
|
20564
20585
|
*/
|
|
20565
20586
|
class NvMenu {
|
|
20566
20587
|
constructor(hostRef) {
|
|
@@ -20585,8 +20606,8 @@ class NvMenu {
|
|
|
20585
20606
|
*/
|
|
20586
20607
|
this.disableCloseOnSelect = false;
|
|
20587
20608
|
/**
|
|
20588
|
-
* Decides where the menu shows up next to the button it
|
|
20589
|
-
* below, to the sides). If there isn
|
|
20609
|
+
* Decides where the menu shows up next to the button it's linked to (above,
|
|
20610
|
+
* below, to the sides). If there isn't enough room, it will adjust its
|
|
20590
20611
|
* position on the axis to fit on the screen, so users can always see it.
|
|
20591
20612
|
*/
|
|
20592
20613
|
this.placement = 'bottom-end';
|
|
@@ -20771,7 +20792,7 @@ class NvMenu {
|
|
|
20771
20792
|
});
|
|
20772
20793
|
}
|
|
20773
20794
|
render() {
|
|
20774
|
-
return (hAsync(Host, { key: '
|
|
20795
|
+
return (hAsync(Host, { key: '8334eee36cadee43d5d78d227841b43da86a46c6' }, hAsync("slot", { key: 'a4f260a9161dc239eabfc9c43178b1394721f37d', name: "trigger" }), hAsync("nv-popover", { key: '6f163bc5c02afba3af1e9bb43cf3b6bfec1e9374', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (hAsync("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (hAsync("slot", { name: "content" })))));
|
|
20775
20796
|
}
|
|
20776
20797
|
get el() { return getElement(this); }
|
|
20777
20798
|
static get watchers() { return {
|
|
@@ -20846,7 +20867,7 @@ class NvMenuitem {
|
|
|
20846
20867
|
/****************************************************************************/
|
|
20847
20868
|
//#region RENDER
|
|
20848
20869
|
render() {
|
|
20849
|
-
return (hAsync(Host, { key: '
|
|
20870
|
+
return (hAsync(Host, { key: 'd1d9969a8e812f22d2097dca29b8e46b54115709', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '4dd5c1c2fdd741cec06ca112788d8d00863b0ac7', name: this.icon }), hAsync("slot", { key: '6030b5a030b46281d54ca139e55163e8ede064fe' }), this.label && hAsync("span", { key: 'f253f5eb0fed0853a46ed08c211a42bace1784f6', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'b7c445db91af3ae3e2a845a839fee7c77a768045' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '54bcd0bc879136d542b5e2c4241949f623258ad0', name: "chevron-right" })));
|
|
20850
20871
|
}
|
|
20851
20872
|
get el() { return getElement(this); }
|
|
20852
20873
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -23231,7 +23252,7 @@ class NvPopover {
|
|
|
23231
23252
|
/****************************************************************************/
|
|
23232
23253
|
//#region RENDER
|
|
23233
23254
|
render() {
|
|
23234
|
-
return (hAsync(Host, { key: '
|
|
23255
|
+
return (hAsync(Host, { key: 'efab8d78e1163d23e197ca04786b9f99f248ce05' }, hAsync("slot", { key: 'b8197a385e5d9cda08d6b3e0232c052fb7238d01', name: "trigger" }), hAsync("div", { key: '480c3cc8352bc833216cd64c8bfcf75ba9c79130', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: '8b1b10a15427ef05bc267460161e4a53be4cc3d1', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: '8c9a8708a36fae6cac5e533b5c1a3128d7375195', name: "content" }))));
|
|
23235
23256
|
}
|
|
23236
23257
|
get el() { return getElement(this); }
|
|
23237
23258
|
static get watchers() { return {
|
|
@@ -23276,7 +23297,7 @@ class NvRow {
|
|
|
23276
23297
|
/****************************************************************************/
|
|
23277
23298
|
//#region RENDER
|
|
23278
23299
|
render() {
|
|
23279
|
-
return (hAsync(Host, { key: '
|
|
23300
|
+
return (hAsync(Host, { key: '0b27560267e6f5186ca4237658ad35f3a436b70d' }, hAsync("slot", { key: 'b2805eb6abe9d02b57f030c91344ecf4927136d8' })));
|
|
23280
23301
|
}
|
|
23281
23302
|
static get style() { return NvRowStyle0; }
|
|
23282
23303
|
static get cmpMeta() { return {
|
|
@@ -23311,7 +23332,7 @@ class NvStack {
|
|
|
23311
23332
|
/****************************************************************************/
|
|
23312
23333
|
//#region RENDER
|
|
23313
23334
|
render() {
|
|
23314
|
-
return (hAsync(Host, { key: '
|
|
23335
|
+
return (hAsync(Host, { key: '9869c0eaa423e363482bd4685dbd082dfba017f5', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gutter-x-${this.gutter}`, this.gutter && this.vertical && `gutter-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, hAsync("slot", { key: 'd4b597ec95f71c47edf99d58d22c95a5540e904c' })));
|
|
23315
23336
|
}
|
|
23316
23337
|
static get style() { return NvStackStyle0; }
|
|
23317
23338
|
static get cmpMeta() { return {
|
|
@@ -23645,14 +23666,14 @@ class NvTable {
|
|
|
23645
23666
|
const rows = !this.table || this.table === undefined || this.parsedData.length === 0
|
|
23646
23667
|
? []
|
|
23647
23668
|
: this.table.data;
|
|
23648
|
-
return (hAsync(Host, { key: '
|
|
23669
|
+
return (hAsync(Host, { key: '89d230b38e5f853a9d8246b3634d25f3add88bb0' }, hAsync("div", { key: '130f44d0833635aec8eb1ff5db6f92f5342e39b4', class: "hidden" }, hAsync("slot", { key: 'e68523ead80fd187bfb0fc6710aaea42e1d9c4e7' })), hAsync("slot", { key: '087164f8a817d99091d54ed841b4faa5f01b215e', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", { class: "table-header" }, hAsync("tr", null, headerGroups &&
|
|
23649
23670
|
headerGroups.map(col => {
|
|
23650
23671
|
return (hAsync("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
|
|
23651
23672
|
})))), hAsync("tbody", { class: "table-body" }, !rows || rows.length === 0 ? (hAsync("tr", null, hAsync("td", { colSpan: headerGroups.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => (hAsync("tr", { key: JSON.stringify(row) }, headerGroups.map(col => {
|
|
23652
23673
|
var _a;
|
|
23653
23674
|
return (hAsync("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
|
|
23654
23675
|
((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
|
|
23655
|
-
})))))))), hAsync("slot", { key: '
|
|
23676
|
+
})))))))), hAsync("slot", { key: '046b1b705c5885eb2685a0e8780e6eec2f1ca50e', name: "after" })));
|
|
23656
23677
|
}
|
|
23657
23678
|
get el() { return getElement(this); }
|
|
23658
23679
|
static get watchers() { return {
|
|
@@ -23772,8 +23793,8 @@ class NvToggle {
|
|
|
23772
23793
|
/****************************************************************************/
|
|
23773
23794
|
//#region RENDER
|
|
23774
23795
|
render() {
|
|
23775
|
-
return (hAsync(Host, { key: '
|
|
23776
|
-
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '
|
|
23796
|
+
return (hAsync(Host, { key: '6e18c6145fccdf7926bcc64a2414e6b41d364487', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: 'fda6ce7b087d1acef0f2afb24edbdc2566ca6cbf', class: "input-container" }, hAsync("input", { key: '53569ce97f75b7a2ac0c94a702096d3f9215432a', 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 })), hAsync("div", { key: '26f0a6f570b8ef4150d53a7733c832f1c5f4343d', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '5ff30cca4abfd0c2f4283eab6c7ae678653748d3', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'c6cc3536fa741fb89ebb24dfe455957b66edd77b', name: "label" }, this.label))), (this.description ||
|
|
23797
|
+
this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '0b1804f9e5407f15037fb6e5c80d7b8dafee5599', class: "description" }, hAsync("slot", { key: '8f1b272158ffebb03992ed8c3b115e52504ff8ce', name: "description" }, this.description))))));
|
|
23777
23798
|
}
|
|
23778
23799
|
static get formAssociated() { return true; }
|
|
23779
23800
|
get el() { return getElement(this); }
|
|
@@ -23838,7 +23859,7 @@ class NvTooltip {
|
|
|
23838
23859
|
/****************************************************************************/
|
|
23839
23860
|
//#region RENDER
|
|
23840
23861
|
render() {
|
|
23841
|
-
return (hAsync(Host, { key: '
|
|
23862
|
+
return (hAsync(Host, { key: '42d55bd749a31fc808d6685b75b5002b10575b63' }, hAsync("slot", { key: '7ccb801774290a4e47c9bf6e61994936f0cb793e' }), hAsync("nv-popover", { key: '6c67ddae0787dbc9e24d239e3b34218dfa997747', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: '900d3a61fc7adb7aee3f9982d932c6e2f9889ab3', slot: "content" }, this.message), hAsync("slot", { key: '3f5e490d760e723271acef897cf4e0247ca7cd44', name: "content" }))));
|
|
23842
23863
|
}
|
|
23843
23864
|
get el() { return getElement(this); }
|
|
23844
23865
|
static get style() { return NvTooltipStyle0; }
|