@exhaustive-ui/core 22.0.0-alpha.0 → 22.0.0-alpha.10
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/README.md +24 -6
- package/fesm2022/exhaustive-ui-core-accordion.mjs +7 -1
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +7 -5
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +20 -9
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autofocus.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +8 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +31 -9
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-card.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +8 -3
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +56 -19
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +9 -3
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +9 -4
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +131 -87
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +28 -11
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-divider.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dom.mjs +3 -1
- package/fesm2022/exhaustive-ui-core-dom.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +12 -3
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +10 -6
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fluid.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-focustrap.mjs +0 -2
- package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +11 -3
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +30 -6
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +30 -3
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +16 -4
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs +27 -17
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +12 -3
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +18 -7
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +58 -14
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-message.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +14 -12
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +11 -5
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlay.mjs +4 -0
- package/fesm2022/exhaustive-ui-core-overlay.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +9 -5
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +8 -10
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +33 -13
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +57 -9
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +14 -7
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressbar.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs +7 -2
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-ripple.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-ripple.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +14 -4
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +11 -3
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +47 -14
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +3 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-skeleton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +11 -2
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +9 -5
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +23 -7
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-stepper.mjs +11 -10
- package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +242 -103
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs +16 -10
- package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tag.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +10 -2
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +28 -14
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs +4 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +6 -2
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +25 -6
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +37 -2
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +77 -9
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-utils.mjs +2 -1
- package/fesm2022/exhaustive-ui-core-utils.mjs.map +1 -1
- package/package.json +6 -6
- package/schematics/migrate-from-primeng/index.js +1 -1
- package/schematics/migrations/remove-dead-inputs/migration.js +5 -4
- package/schematics/migrations/remove-dead-outputs/migration.js +6 -5
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +1 -1
- package/types/exhaustive-ui-core-autocomplete.d.ts +3 -1
- package/types/exhaustive-ui-core-autofocus.d.ts +1 -1
- package/types/exhaustive-ui-core-avatar.d.ts +1 -1
- package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
- package/types/exhaustive-ui-core-badge.d.ts +1 -1
- package/types/exhaustive-ui-core-blockui.d.ts +1 -1
- package/types/exhaustive-ui-core-breadcrumb.d.ts +1 -1
- package/types/exhaustive-ui-core-button.d.ts +13 -2
- package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
- package/types/exhaustive-ui-core-card.d.ts +1 -1
- package/types/exhaustive-ui-core-carousel.d.ts +1 -1
- package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-chart.d.ts +1 -1
- package/types/exhaustive-ui-core-checkbox.d.ts +1 -1
- package/types/exhaustive-ui-core-chip.d.ts +1 -1
- package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
- package/types/exhaustive-ui-core-confirmdialog.d.ts +15 -4
- package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
- package/types/exhaustive-ui-core-contextmenu.d.ts +1 -1
- package/types/exhaustive-ui-core-dataview.d.ts +1 -1
- package/types/exhaustive-ui-core-datepicker.d.ts +8 -2
- package/types/exhaustive-ui-core-dialog.d.ts +3 -1
- package/types/exhaustive-ui-core-divider.d.ts +1 -1
- package/types/exhaustive-ui-core-dock.d.ts +1 -1
- package/types/exhaustive-ui-core-drawer.d.ts +1 -1
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +3 -3
- package/types/exhaustive-ui-core-editor.d.ts +1 -1
- package/types/exhaustive-ui-core-fieldset.d.ts +1 -1
- package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
- package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
- package/types/exhaustive-ui-core-fluid.d.ts +1 -1
- package/types/exhaustive-ui-core-galleria.d.ts +1 -1
- package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +1 -1
- package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
- package/types/exhaustive-ui-core-image.d.ts +7 -2
- package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
- package/types/exhaustive-ui-core-inplace.d.ts +1 -1
- package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
- package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
- package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
- package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
- package/types/exhaustive-ui-core-inputtext.d.ts +1 -1
- package/types/exhaustive-ui-core-keyfilter.d.ts +1 -0
- package/types/exhaustive-ui-core-knob.d.ts +1 -1
- package/types/exhaustive-ui-core-listbox.d.ts +1 -1
- package/types/exhaustive-ui-core-megamenu.d.ts +1 -1
- package/types/exhaustive-ui-core-menu.d.ts +3 -1
- package/types/exhaustive-ui-core-menubar.d.ts +6 -1
- package/types/exhaustive-ui-core-message.d.ts +1 -1
- package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
- package/types/exhaustive-ui-core-multiselect.d.ts +2 -2
- package/types/exhaustive-ui-core-orderlist.d.ts +7 -2
- package/types/exhaustive-ui-core-organizationchart.d.ts +1 -1
- package/types/exhaustive-ui-core-paginator.d.ts +2 -1
- package/types/exhaustive-ui-core-panel.d.ts +1 -1
- package/types/exhaustive-ui-core-panelmenu.d.ts +6 -1
- package/types/exhaustive-ui-core-password.d.ts +3 -1
- package/types/exhaustive-ui-core-picklist.d.ts +4 -4
- package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
- package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
- package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
- package/types/exhaustive-ui-core-rating.d.ts +1 -1
- package/types/exhaustive-ui-core-ripple.d.ts +1 -1
- package/types/exhaustive-ui-core-scroller.d.ts +1 -1
- package/types/exhaustive-ui-core-scrollpanel.d.ts +1 -1
- package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
- package/types/exhaustive-ui-core-select.d.ts +4 -2
- package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
- package/types/exhaustive-ui-core-skeleton.d.ts +1 -1
- package/types/exhaustive-ui-core-slider.d.ts +1 -1
- package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
- package/types/exhaustive-ui-core-splitbutton.d.ts +3 -2
- package/types/exhaustive-ui-core-splitter.d.ts +7 -2
- package/types/exhaustive-ui-core-stepper.d.ts +1 -1
- package/types/exhaustive-ui-core-steps.d.ts +1 -1
- package/types/exhaustive-ui-core-table.d.ts +9 -3
- package/types/exhaustive-ui-core-tabs.d.ts +2 -1
- package/types/exhaustive-ui-core-tag.d.ts +1 -1
- package/types/exhaustive-ui-core-terminal.d.ts +1 -1
- package/types/exhaustive-ui-core-textarea.d.ts +1 -1
- package/types/exhaustive-ui-core-tieredmenu.d.ts +3 -1
- package/types/exhaustive-ui-core-timeline.d.ts +1 -1
- package/types/exhaustive-ui-core-toast.d.ts +1 -1
- package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
- package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
- package/types/exhaustive-ui-core-toolbar.d.ts +1 -1
- package/types/exhaustive-ui-core-tooltip.d.ts +1 -1
- package/types/exhaustive-ui-core-tree.d.ts +3 -1
- package/types/exhaustive-ui-core-treeselect.d.ts +7 -1
- package/types/exhaustive-ui-core-treetable.d.ts +23 -3
|
@@ -610,7 +610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
610
610
|
*
|
|
611
611
|
* TreeTable is used to display hierarchical data in tabular format.
|
|
612
612
|
*
|
|
613
|
-
* [Live Demo](https://exhaustive-ui.
|
|
613
|
+
* [Live Demo](https://exhaustive-ui.com/treetable/)
|
|
614
614
|
*
|
|
615
615
|
* @module treetablestyle
|
|
616
616
|
*
|
|
@@ -764,6 +764,13 @@ var TreeTableClasses;
|
|
|
764
764
|
})(TreeTableClasses || (TreeTableClasses = {}));
|
|
765
765
|
|
|
766
766
|
const TREETABLE_INSTANCE = new InjectionToken('TREETABLE_INSTANCE');
|
|
767
|
+
/**
|
|
768
|
+
* Whether a key event comes from a form field inside a row (e.g. a cell editor), whose keys must not drive the row.
|
|
769
|
+
*/
|
|
770
|
+
function isEditableTarget(event) {
|
|
771
|
+
const target = event.target;
|
|
772
|
+
return target !== event.currentTarget && (target.isContentEditable || ['INPUT', 'TEXTAREA', 'SELECT'].includes(target.nodeName));
|
|
773
|
+
}
|
|
767
774
|
class TreeTableService {
|
|
768
775
|
sortSource = new Subject();
|
|
769
776
|
selectionSource = new Subject();
|
|
@@ -1522,6 +1529,8 @@ class TreeTable extends BaseComponent {
|
|
|
1522
1529
|
}
|
|
1523
1530
|
}
|
|
1524
1531
|
this.selectionKeysChange.emit(selectionKeys);
|
|
1532
|
+
// checkboxes refresh on selection changes only: notify them of keys assigned from outside (e.g. loaded asynchronously)
|
|
1533
|
+
this.tableService.onSelectionChange();
|
|
1525
1534
|
});
|
|
1526
1535
|
});
|
|
1527
1536
|
}
|
|
@@ -1711,7 +1720,7 @@ class TreeTable extends BaseComponent {
|
|
|
1711
1720
|
}
|
|
1712
1721
|
if (this.customSort()) {
|
|
1713
1722
|
this.sortFunction.emit({
|
|
1714
|
-
data:
|
|
1723
|
+
data: nodes,
|
|
1715
1724
|
mode: this.sortMode(),
|
|
1716
1725
|
multiSortMeta: this._multiSortMeta()
|
|
1717
1726
|
});
|
|
@@ -2344,6 +2353,10 @@ class TreeTable extends BaseComponent {
|
|
|
2344
2353
|
this.propagateUp(node.parent, check);
|
|
2345
2354
|
}
|
|
2346
2355
|
this.selectionKeysChange.emit(this.selectionKeys());
|
|
2356
|
+
if (check)
|
|
2357
|
+
this.onNodeSelect.emit({ originalEvent, node });
|
|
2358
|
+
else
|
|
2359
|
+
this.onNodeUnselect.emit({ originalEvent, node });
|
|
2347
2360
|
}
|
|
2348
2361
|
else {
|
|
2349
2362
|
this.toggleNodeWithCheckbox({ originalEvent, rowNode });
|
|
@@ -3898,6 +3911,9 @@ class TTSelectableRow extends BaseComponent {
|
|
|
3898
3911
|
}
|
|
3899
3912
|
}
|
|
3900
3913
|
onKeyDown(event) {
|
|
3914
|
+
if (isEditableTarget(event)) {
|
|
3915
|
+
return;
|
|
3916
|
+
}
|
|
3901
3917
|
switch (event.code) {
|
|
3902
3918
|
case 'Enter':
|
|
3903
3919
|
case 'Space':
|
|
@@ -4070,6 +4086,18 @@ class TTCheckbox extends BaseComponent {
|
|
|
4070
4086
|
hostName = 'TreeTable';
|
|
4071
4087
|
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
4072
4088
|
rowNode = input(undefined, { ...(ngDevMode ? { debugName: "rowNode" } : /* istanbul ignore next */ {}), alias: 'value' });
|
|
4089
|
+
/**
|
|
4090
|
+
* Defines a string that labels the checkbox for accessibility.
|
|
4091
|
+
* @group Props
|
|
4092
|
+
*/
|
|
4093
|
+
ariaLabel = input(/* @ts-ignore */
|
|
4094
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
4095
|
+
/**
|
|
4096
|
+
* Establishes relationships between the checkbox and its label(s), where its value should be one or more element IDs.
|
|
4097
|
+
* @group Props
|
|
4098
|
+
*/
|
|
4099
|
+
ariaLabelledBy = input(/* @ts-ignore */
|
|
4100
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
4073
4101
|
checked = signal(undefined, /* @ts-ignore */
|
|
4074
4102
|
...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
4075
4103
|
partialChecked = signal(undefined, /* @ts-ignore */
|
|
@@ -4133,7 +4161,7 @@ class TTCheckbox extends BaseComponent {
|
|
|
4133
4161
|
}
|
|
4134
4162
|
}
|
|
4135
4163
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TTCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4136
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TTCheckbox, isStandalone: false, selector: "p-treeTableCheckbox, p-treetable-checkbox, p-tree-table-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, rowNode: { classPropertyName: "rowNode", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
4164
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TTCheckbox, isStandalone: false, selector: "p-treeTableCheckbox, p-treetable-checkbox, p-tree-table-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, rowNode: { classPropertyName: "rowNode", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
4137
4165
|
<p-checkbox
|
|
4138
4166
|
[ngModel]="checked()"
|
|
4139
4167
|
[ngModelOptions]="{ standalone: true }"
|
|
@@ -4144,6 +4172,8 @@ class TTCheckbox extends BaseComponent {
|
|
|
4144
4172
|
[indeterminate]="partialChecked()"
|
|
4145
4173
|
[class]="cx('pcNodeCheckbox')"
|
|
4146
4174
|
[tabIndex]="-1"
|
|
4175
|
+
[ariaLabel]="ariaLabel()"
|
|
4176
|
+
[ariaLabelledBy]="ariaLabelledBy()"
|
|
4147
4177
|
[unstyled]="unstyled()"
|
|
4148
4178
|
>
|
|
4149
4179
|
@if (tt.checkboxIconTemplate() || tt._checkboxIconTemplate()) {
|
|
@@ -4170,6 +4200,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
4170
4200
|
[indeterminate]="partialChecked()"
|
|
4171
4201
|
[class]="cx('pcNodeCheckbox')"
|
|
4172
4202
|
[tabIndex]="-1"
|
|
4203
|
+
[ariaLabel]="ariaLabel()"
|
|
4204
|
+
[ariaLabelledBy]="ariaLabelledBy()"
|
|
4173
4205
|
[unstyled]="unstyled()"
|
|
4174
4206
|
>
|
|
4175
4207
|
@if (tt.checkboxIconTemplate() || tt._checkboxIconTemplate()) {
|
|
@@ -4183,10 +4215,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
4183
4215
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4184
4216
|
providers: [TreeTableStyle]
|
|
4185
4217
|
}]
|
|
4186
|
-
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], rowNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
4218
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], rowNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }] } });
|
|
4187
4219
|
class TTHeaderCheckbox extends BaseComponent {
|
|
4188
4220
|
tt = inject(TreeTable);
|
|
4189
4221
|
tableService = inject(TreeTableService);
|
|
4222
|
+
/**
|
|
4223
|
+
* Defines a string that labels the checkbox for accessibility.
|
|
4224
|
+
* @group Props
|
|
4225
|
+
*/
|
|
4226
|
+
ariaLabel = input(/* @ts-ignore */
|
|
4227
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
4228
|
+
/**
|
|
4229
|
+
* Establishes relationships between the checkbox and its label(s), where its value should be one or more element IDs.
|
|
4230
|
+
* @group Props
|
|
4231
|
+
*/
|
|
4232
|
+
ariaLabelledBy = input(/* @ts-ignore */
|
|
4233
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
4190
4234
|
checked = signal(undefined, /* @ts-ignore */
|
|
4191
4235
|
...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
4192
4236
|
disabled;
|
|
@@ -4252,8 +4296,18 @@ class TTHeaderCheckbox extends BaseComponent {
|
|
|
4252
4296
|
return checked;
|
|
4253
4297
|
}
|
|
4254
4298
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TTHeaderCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4255
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TTHeaderCheckbox, isStandalone: false, selector: "p-treeTableHeaderCheckbox", usesInheritance: true, ngImport: i0, template: `
|
|
4256
|
-
<p-checkbox
|
|
4299
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TTHeaderCheckbox, isStandalone: false, selector: "p-treeTableHeaderCheckbox", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
4300
|
+
<p-checkbox
|
|
4301
|
+
[ngModel]="checked()"
|
|
4302
|
+
[ngModelOptions]="{ standalone: true }"
|
|
4303
|
+
[pt]="ptm('pcHeaderCheckbox')"
|
|
4304
|
+
(onChange)="onClick($event)"
|
|
4305
|
+
[binary]="true"
|
|
4306
|
+
[disabled]="!tt.value() || tt.value()!.length === 0"
|
|
4307
|
+
[ariaLabel]="ariaLabel()"
|
|
4308
|
+
[ariaLabelledBy]="ariaLabelledBy()"
|
|
4309
|
+
[unstyled]="unstyled()"
|
|
4310
|
+
>
|
|
4257
4311
|
@if (tt.headerCheckboxIconTemplate() || tt._headerCheckboxIconTemplate()) {
|
|
4258
4312
|
<ng-template pTemplate="icon">
|
|
4259
4313
|
<ng-template *ngTemplateOutlet="tt.headerCheckboxIconTemplate() || tt._headerCheckboxIconTemplate(); context: { $implicit: checked() }"></ng-template>
|
|
@@ -4268,7 +4322,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
4268
4322
|
selector: 'p-treeTableHeaderCheckbox',
|
|
4269
4323
|
standalone: false,
|
|
4270
4324
|
template: `
|
|
4271
|
-
<p-checkbox
|
|
4325
|
+
<p-checkbox
|
|
4326
|
+
[ngModel]="checked()"
|
|
4327
|
+
[ngModelOptions]="{ standalone: true }"
|
|
4328
|
+
[pt]="ptm('pcHeaderCheckbox')"
|
|
4329
|
+
(onChange)="onClick($event)"
|
|
4330
|
+
[binary]="true"
|
|
4331
|
+
[disabled]="!tt.value() || tt.value()!.length === 0"
|
|
4332
|
+
[ariaLabel]="ariaLabel()"
|
|
4333
|
+
[ariaLabelledBy]="ariaLabelledBy()"
|
|
4334
|
+
[unstyled]="unstyled()"
|
|
4335
|
+
>
|
|
4272
4336
|
@if (tt.headerCheckboxIconTemplate() || tt._headerCheckboxIconTemplate()) {
|
|
4273
4337
|
<ng-template pTemplate="icon">
|
|
4274
4338
|
<ng-template *ngTemplateOutlet="tt.headerCheckboxIconTemplate() || tt._headerCheckboxIconTemplate(); context: { $implicit: checked() }"></ng-template>
|
|
@@ -4279,7 +4343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
4279
4343
|
encapsulation: ViewEncapsulation.None,
|
|
4280
4344
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4281
4345
|
}]
|
|
4282
|
-
}], ctorParameters: () => [] });
|
|
4346
|
+
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }] } });
|
|
4283
4347
|
class TTEditableColumn extends BaseComponent {
|
|
4284
4348
|
tt = inject(TreeTable);
|
|
4285
4349
|
zone = inject(NgZone);
|
|
@@ -4531,6 +4595,9 @@ class TTRow extends BaseComponent {
|
|
|
4531
4595
|
rowNode = input(undefined, { ...(ngDevMode ? { debugName: "rowNode" } : /* istanbul ignore next */ {}), alias: 'ttRow' });
|
|
4532
4596
|
_componentStyle = inject(TreeTableStyle);
|
|
4533
4597
|
onKeyDown(event) {
|
|
4598
|
+
if (isEditableTarget(event)) {
|
|
4599
|
+
return;
|
|
4600
|
+
}
|
|
4534
4601
|
switch (event.code) {
|
|
4535
4602
|
case 'ArrowDown':
|
|
4536
4603
|
this.onArrowDownKey(event);
|
|
@@ -4573,7 +4640,8 @@ class TTRow extends BaseComponent {
|
|
|
4573
4640
|
}
|
|
4574
4641
|
onArrowRightKey(event) {
|
|
4575
4642
|
const currentTarget = event.currentTarget;
|
|
4576
|
-
|
|
4643
|
+
// a row may have no toggler, e.g. the unfrozen part of a row when frozen columns are used
|
|
4644
|
+
const isHiddenIcon = findSingle(currentTarget, 'button')?.style.visibility === 'hidden';
|
|
4577
4645
|
if (!isHiddenIcon && !this.expanded && this.rowNode().node['children']) {
|
|
4578
4646
|
this.expand(event);
|
|
4579
4647
|
currentTarget.tabIndex = -1;
|