primeng 19.0.6 → 19.0.7
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/dataview/dataview.interface.d.ts +9 -19
- package/dragdrop/dragdrop.d.ts +3 -2
- package/dynamicdialog/dynamicdialog.d.ts +1 -1
- package/fesm2022/primeng-accordion.mjs +347 -560
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +37 -40
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +79 -89
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +505 -786
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +26 -27
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +70 -120
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +44 -54
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +62 -71
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +6 -6
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +15 -15
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +66 -87
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +175 -386
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +223 -328
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +36 -40
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +727 -1127
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +88 -192
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +218 -405
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +392 -576
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +57 -63
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +131 -183
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +92 -188
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +142 -167
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +12 -12
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +220 -347
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +161 -251
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +336 -450
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +249 -352
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +740 -1136
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +25 -31
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +277 -478
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +68 -77
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +138 -167
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +85 -79
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +171 -268
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +529 -867
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +152 -301
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +118 -156
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +153 -247
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +370 -687
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +38 -46
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +33 -41
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +23 -24
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +529 -761
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +42 -51
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +17 -19
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +17 -19
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +17 -19
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +17 -19
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +19 -19
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +26 -26
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +24 -26
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +19 -19
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +28 -33
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +14 -16
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +17 -19
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +17 -19
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +17 -19
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +17 -19
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +17 -19
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +17 -19
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +19 -19
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +24 -26
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +26 -26
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +26 -26
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +26 -26
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +17 -19
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +24 -26
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +24 -26
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +26 -26
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +26 -26
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +26 -26
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +26 -26
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +30 -26
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +24 -26
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +24 -26
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +24 -26
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +26 -26
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +17 -19
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +26 -26
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +26 -26
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +26 -26
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +26 -26
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +32 -38
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +189 -370
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +57 -86
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +108 -206
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +40 -50
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +39 -48
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +156 -181
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +299 -416
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +97 -121
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +87 -92
- package/fesm2022/primeng-inputswitch.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +51 -57
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +50 -55
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +44 -47
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +105 -111
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +473 -790
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +377 -611
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +289 -460
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +357 -549
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +156 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +162 -278
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +135 -264
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +655 -1132
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +228 -330
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +161 -311
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +135 -147
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +50 -58
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +134 -154
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +212 -447
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +219 -317
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +439 -783
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +268 -408
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +560 -856
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +129 -148
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +81 -121
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +48 -58
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +115 -106
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +120 -208
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +28 -29
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +167 -295
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +96 -116
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +106 -150
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +579 -955
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +106 -133
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +151 -239
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +46 -54
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +186 -182
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +192 -254
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +211 -231
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +126 -159
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +227 -342
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +117 -170
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +50 -53
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +1808 -2584
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +173 -319
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +185 -300
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +263 -435
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +63 -110
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +60 -104
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +56 -61
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +338 -457
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +90 -156
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +251 -358
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +113 -150
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +98 -121
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +62 -121
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +73 -74
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +441 -730
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +342 -531
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +1026 -1583
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +6 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/listbox/listbox.d.ts +2 -2
- package/package.json +178 -179
- package/password/password.d.ts +7 -1
- package/picklist/picklist.d.ts +11 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { trigger, state,
|
1
|
+
import { trigger, state, transition, style, animate } from '@angular/animations';
|
2
2
|
import * as i1 from '@angular/common';
|
3
3
|
import { CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, forwardRef, booleanAttribute,
|
5
|
+
import { Injectable, forwardRef, booleanAttribute, Input, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, EventEmitter, inject, ContentChild, ContentChildren, Output, NgModule } from '@angular/core';
|
6
6
|
import { hasClass } from '@primeuix/utils';
|
7
7
|
import { SharedModule, PrimeTemplate } from 'primeng/api';
|
8
8
|
import { BaseComponent } from 'primeng/basecomponent';
|
@@ -139,12 +139,12 @@ class OrganizationChartStyle extends BaseStyle {
|
|
139
139
|
name = 'organizationchart';
|
140
140
|
theme = theme;
|
141
141
|
classes = classes;
|
142
|
-
static ɵfac =
|
143
|
-
static ɵprov =
|
142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
143
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle });
|
144
144
|
}
|
145
|
-
(
|
146
|
-
|
147
|
-
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle, decorators: [{
|
146
|
+
type: Injectable
|
147
|
+
}] });
|
148
148
|
/**
|
149
149
|
*
|
150
150
|
* OrganizationChart visualizes hierarchical organization data.
|
@@ -198,200 +198,6 @@ var OrganizationChartClasses;
|
|
198
198
|
OrganizationChartClasses["nodeChildren"] = "p-organizationchart-node-children";
|
199
199
|
})(OrganizationChartClasses || (OrganizationChartClasses = {}));
|
200
200
|
|
201
|
-
const _c0 = ["pOrganizationChartNode", ""];
|
202
|
-
const _c1 = (a0, a1) => ({ "p-organizationchart-node": true, "p-organizationchart-node-selectable": a0, "p-organizationchart-node-selected": a1 });
|
203
|
-
const _c2 = a0 => ({ $implicit: a0 });
|
204
|
-
const _c3 = a0 => ({ "p-organizationchart-connector-top": a0 });
|
205
|
-
function OrganizationChartNode_tbody_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
206
|
-
i0.ɵɵelementStart(0, "div");
|
207
|
-
i0.ɵɵtext(1);
|
208
|
-
i0.ɵɵelementEnd();
|
209
|
-
} if (rf & 2) {
|
210
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
211
|
-
i0.ɵɵadvance();
|
212
|
-
i0.ɵɵtextInterpolate(ctx_r1.node.label);
|
213
|
-
} }
|
214
|
-
function OrganizationChartNode_tbody_0_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
215
|
-
i0.ɵɵelementContainer(0);
|
216
|
-
} }
|
217
|
-
function OrganizationChartNode_tbody_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
218
|
-
i0.ɵɵelementStart(0, "div");
|
219
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_div_5_ng_container_1_Template, 1, 0, "ng-container", 6);
|
220
|
-
i0.ɵɵelementEnd();
|
221
|
-
} if (rf & 2) {
|
222
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
223
|
-
i0.ɵɵadvance();
|
224
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chart.getTemplateForNode(ctx_r1.node))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r1.node));
|
225
|
-
} }
|
226
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronDownIcon_1_Template(rf, ctx) { if (rf & 1) {
|
227
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 11);
|
228
|
-
} if (rf & 2) {
|
229
|
-
i0.ɵɵproperty("styleClass", "p-organizationchart-node-toggle-button-icon");
|
230
|
-
i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
|
231
|
-
} }
|
232
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
233
|
-
i0.ɵɵelement(0, "ChevronUpIcon", 11);
|
234
|
-
} if (rf & 2) {
|
235
|
-
i0.ɵɵproperty("styleClass", "p-organizationchart-node-toggle-button-icon");
|
236
|
-
i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
|
237
|
-
} }
|
238
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
239
|
-
i0.ɵɵelementContainerStart(0);
|
240
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronDownIcon_1_Template, 1, 2, "ChevronDownIcon", 10)(2, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronUpIcon_2_Template, 1, 2, "ChevronUpIcon", 10);
|
241
|
-
i0.ɵɵelementContainerEnd();
|
242
|
-
} if (rf & 2) {
|
243
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
244
|
-
i0.ɵɵadvance();
|
245
|
-
i0.ɵɵproperty("ngIf", ctx_r1.node.expanded);
|
246
|
-
i0.ɵɵadvance();
|
247
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.node.expanded);
|
248
|
-
} }
|
249
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_ng_template_0_Template(rf, ctx) { }
|
250
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
251
|
-
i0.ɵɵtemplate(0, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
252
|
-
} }
|
253
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
254
|
-
i0.ɵɵelementStart(0, "span", 12);
|
255
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_Template, 1, 0, null, 6);
|
256
|
-
i0.ɵɵelementEnd();
|
257
|
-
} if (rf & 2) {
|
258
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
259
|
-
i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
|
260
|
-
i0.ɵɵadvance();
|
261
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chart.togglerIconTemplate || ctx_r1.chart._togglerIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2, ctx_r1.node.expanded));
|
262
|
-
} }
|
263
|
-
function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template(rf, ctx) { if (rf & 1) {
|
264
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
265
|
-
i0.ɵɵelementStart(0, "a", 8);
|
266
|
-
i0.ɵɵlistener("click", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); })("keydown.enter", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); })("keydown.space", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_keydown_space_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); });
|
267
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_Template, 3, 2, "ng-container", 0)(2, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_Template, 2, 5, "span", 9);
|
268
|
-
i0.ɵɵelementEnd();
|
269
|
-
} if (rf & 2) {
|
270
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
271
|
-
i0.ɵɵattribute("data-pc-section", "nodeToggler");
|
272
|
-
i0.ɵɵadvance();
|
273
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.chart.togglerIconTemplate && !ctx_r1.chart._togglerIconTemplate);
|
274
|
-
i0.ɵɵadvance();
|
275
|
-
i0.ɵɵproperty("ngIf", ctx_r1.chart.togglerIconTemplate || ctx_r1.chart._togglerIconTemplate);
|
276
|
-
} }
|
277
|
-
function OrganizationChartNode_tbody_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
278
|
-
i0.ɵɵelementContainerStart(0);
|
279
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_Template, 3, 3, "a", 7);
|
280
|
-
i0.ɵɵelementContainerEnd();
|
281
|
-
} if (rf & 2) {
|
282
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
283
|
-
i0.ɵɵadvance();
|
284
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.leaf);
|
285
|
-
} }
|
286
|
-
function OrganizationChartNode_tbody_0_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
287
|
-
i0.ɵɵelementContainerStart(0);
|
288
|
-
i0.ɵɵelementStart(1, "td");
|
289
|
-
i0.ɵɵelement(2, "div", 3);
|
290
|
-
i0.ɵɵelementEnd();
|
291
|
-
i0.ɵɵelementContainerEnd();
|
292
|
-
} if (rf & 2) {
|
293
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
294
|
-
i0.ɵɵadvance();
|
295
|
-
i0.ɵɵattribute("data-pc-section", "lineCell")("colspan", ctx_r1.colspan);
|
296
|
-
i0.ɵɵadvance();
|
297
|
-
i0.ɵɵattribute("data-pc-section", "lineDown");
|
298
|
-
} }
|
299
|
-
function OrganizationChartNode_tbody_0_ng_container_12_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
300
|
-
i0.ɵɵelementStart(0, "td", 14);
|
301
|
-
i0.ɵɵtext(1, "\u00A0");
|
302
|
-
i0.ɵɵelementEnd();
|
303
|
-
i0.ɵɵelementStart(2, "td", 15);
|
304
|
-
i0.ɵɵtext(3, "\u00A0");
|
305
|
-
i0.ɵɵelementEnd();
|
306
|
-
} if (rf & 2) {
|
307
|
-
const first_r4 = ctx.first;
|
308
|
-
const last_r5 = ctx.last;
|
309
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c3, !first_r4));
|
310
|
-
i0.ɵɵattribute("data-pc-section", "lineLeft");
|
311
|
-
i0.ɵɵadvance(2);
|
312
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c3, !last_r5));
|
313
|
-
i0.ɵɵattribute("data-pc-section", "lineRight");
|
314
|
-
} }
|
315
|
-
function OrganizationChartNode_tbody_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
316
|
-
i0.ɵɵelementContainerStart(0);
|
317
|
-
i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_12_ng_template_1_Template, 4, 8, "ng-template", 13);
|
318
|
-
i0.ɵɵelementContainerEnd();
|
319
|
-
} if (rf & 2) {
|
320
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
321
|
-
i0.ɵɵadvance();
|
322
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.node.children);
|
323
|
-
} }
|
324
|
-
function OrganizationChartNode_tbody_0_td_14_Template(rf, ctx) { if (rf & 1) {
|
325
|
-
i0.ɵɵelementStart(0, "td", 16);
|
326
|
-
i0.ɵɵelement(1, "table", 17);
|
327
|
-
i0.ɵɵelementEnd();
|
328
|
-
} if (rf & 2) {
|
329
|
-
const child_r6 = ctx.$implicit;
|
330
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
331
|
-
i0.ɵɵattribute("data-pc-section", "nodeCell");
|
332
|
-
i0.ɵɵadvance();
|
333
|
-
i0.ɵɵproperty("node", child_r6)("collapsible", ctx_r1.node.children && ctx_r1.node.children.length > 0 && ctx_r1.collapsible);
|
334
|
-
} }
|
335
|
-
function OrganizationChartNode_tbody_0_Template(rf, ctx) { if (rf & 1) {
|
336
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
337
|
-
i0.ɵɵelementStart(0, "tbody")(1, "tr")(2, "td")(3, "div", 1);
|
338
|
-
i0.ɵɵlistener("click", function OrganizationChartNode_tbody_0_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onNodeClick($event, ctx_r1.node)); });
|
339
|
-
i0.ɵɵtemplate(4, OrganizationChartNode_tbody_0_div_4_Template, 2, 1, "div", 0)(5, OrganizationChartNode_tbody_0_div_5_Template, 2, 4, "div", 0)(6, OrganizationChartNode_tbody_0_ng_container_6_Template, 2, 1, "ng-container", 0);
|
340
|
-
i0.ɵɵelementEnd()()();
|
341
|
-
i0.ɵɵelementStart(7, "tr", 2)(8, "td");
|
342
|
-
i0.ɵɵelement(9, "div", 3);
|
343
|
-
i0.ɵɵelementEnd()();
|
344
|
-
i0.ɵɵelementStart(10, "tr", 2);
|
345
|
-
i0.ɵɵtemplate(11, OrganizationChartNode_tbody_0_ng_container_11_Template, 3, 3, "ng-container", 0)(12, OrganizationChartNode_tbody_0_ng_container_12_Template, 2, 1, "ng-container", 0);
|
346
|
-
i0.ɵɵelementEnd();
|
347
|
-
i0.ɵɵelementStart(13, "tr", 4);
|
348
|
-
i0.ɵɵtemplate(14, OrganizationChartNode_tbody_0_td_14_Template, 2, 3, "td", 5);
|
349
|
-
i0.ɵɵelementEnd()();
|
350
|
-
} if (rf & 2) {
|
351
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
352
|
-
i0.ɵɵattribute("data-pc-section", "body");
|
353
|
-
i0.ɵɵadvance();
|
354
|
-
i0.ɵɵattribute("data-pc-section", "row");
|
355
|
-
i0.ɵɵadvance();
|
356
|
-
i0.ɵɵattribute("colspan", ctx_r1.colspan)("data-pc-section", "cell");
|
357
|
-
i0.ɵɵadvance();
|
358
|
-
i0.ɵɵclassMap(ctx_r1.node.styleClass);
|
359
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(26, _c1, ctx_r1.chart.selectionMode && ctx_r1.node.selectable !== false, ctx_r1.isSelected()));
|
360
|
-
i0.ɵɵattribute("data-pc-section", "node");
|
361
|
-
i0.ɵɵadvance();
|
362
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.chart.getTemplateForNode(ctx_r1.node));
|
363
|
-
i0.ɵɵadvance();
|
364
|
-
i0.ɵɵproperty("ngIf", ctx_r1.chart.getTemplateForNode(ctx_r1.node));
|
365
|
-
i0.ɵɵadvance();
|
366
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collapsible);
|
367
|
-
i0.ɵɵadvance();
|
368
|
-
i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
|
369
|
-
i0.ɵɵattribute("data-pc-section", "lines");
|
370
|
-
i0.ɵɵadvance();
|
371
|
-
i0.ɵɵattribute("data-pc-section", "lineCell")("colspan", ctx_r1.colspan);
|
372
|
-
i0.ɵɵadvance();
|
373
|
-
i0.ɵɵattribute("data-pc-section", "lineDown");
|
374
|
-
i0.ɵɵadvance();
|
375
|
-
i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
|
376
|
-
i0.ɵɵattribute("data-pc-section", "lines");
|
377
|
-
i0.ɵɵadvance();
|
378
|
-
i0.ɵɵproperty("ngIf", ctx_r1.node.children && ctx_r1.node.children.length === 1);
|
379
|
-
i0.ɵɵadvance();
|
380
|
-
i0.ɵɵproperty("ngIf", ctx_r1.node.children && ctx_r1.node.children.length > 1);
|
381
|
-
i0.ɵɵadvance();
|
382
|
-
i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
|
383
|
-
i0.ɵɵattribute("data-pc-section", "nodes");
|
384
|
-
i0.ɵɵadvance();
|
385
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.node.children);
|
386
|
-
} }
|
387
|
-
const _c4 = ["togglericon"];
|
388
|
-
const _c5 = a0 => ({ "p-organizationchart p-component": true, "p-organizationchart-preservespace": a0 });
|
389
|
-
function OrganizationChart_table_1_Template(rf, ctx) { if (rf & 1) {
|
390
|
-
i0.ɵɵelement(0, "table", 2);
|
391
|
-
} if (rf & 2) {
|
392
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
393
|
-
i0.ɵɵproperty("collapsible", ctx_r0.collapsible)("node", ctx_r0.root);
|
394
|
-
} }
|
395
201
|
class OrganizationChartNode {
|
396
202
|
cd;
|
397
203
|
node;
|
@@ -440,20 +246,80 @@ class OrganizationChartNode {
|
|
440
246
|
ngOnDestroy() {
|
441
247
|
this.subscription.unsubscribe();
|
442
248
|
}
|
443
|
-
static ɵfac =
|
444
|
-
static ɵcmp =
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
249
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartNode, deps: [{ token: forwardRef(() => OrganizationChart) }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
250
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: OrganizationChartNode, isStandalone: true, selector: "[pOrganizationChartNode]", inputs: { node: "node", root: ["root", "root", booleanAttribute], first: ["first", "first", booleanAttribute], last: ["last", "last", booleanAttribute], collapsible: ["collapsible", "collapsible", booleanAttribute] }, ngImport: i0, template: `
|
251
|
+
<tbody *ngIf="node" [attr.data-pc-section]="'body'">
|
252
|
+
<tr [attr.data-pc-section]="'row'">
|
253
|
+
<td [attr.colspan]="colspan" [attr.data-pc-section]="'cell'">
|
254
|
+
<div
|
255
|
+
[class]="node.styleClass"
|
256
|
+
[ngClass]="{
|
257
|
+
'p-organizationchart-node': true,
|
258
|
+
'p-organizationchart-node-selectable': chart.selectionMode && node.selectable !== false,
|
259
|
+
'p-organizationchart-node-selected': isSelected()
|
260
|
+
}"
|
261
|
+
(click)="onNodeClick($event, node)"
|
262
|
+
[attr.data-pc-section]="'node'"
|
263
|
+
>
|
264
|
+
<div *ngIf="!chart.getTemplateForNode(node)">{{ node.label }}</div>
|
265
|
+
<div *ngIf="chart.getTemplateForNode(node)">
|
266
|
+
<ng-container *ngTemplateOutlet="chart.getTemplateForNode(node); context: { $implicit: node }"></ng-container>
|
267
|
+
</div>
|
268
|
+
<ng-container *ngIf="collapsible">
|
269
|
+
<a
|
270
|
+
*ngIf="!leaf"
|
271
|
+
tabindex="0"
|
272
|
+
class="p-organizationchart-node-toggle-button"
|
273
|
+
(click)="toggleNode($event, node)"
|
274
|
+
(keydown.enter)="toggleNode($event, node)"
|
275
|
+
(keydown.space)="toggleNode($event, node)"
|
276
|
+
[attr.data-pc-section]="'nodeToggler'"
|
277
|
+
>
|
278
|
+
<ng-container *ngIf="!chart.togglerIconTemplate && !chart._togglerIconTemplate">
|
279
|
+
<ChevronDownIcon *ngIf="node.expanded" [styleClass]="'p-organizationchart-node-toggle-button-icon'" [attr.data-pc-section]="'nodeTogglerIcon'" />
|
280
|
+
<ChevronUpIcon *ngIf="!node.expanded" [styleClass]="'p-organizationchart-node-toggle-button-icon'" [attr.data-pc-section]="'nodeTogglerIcon'" />
|
281
|
+
</ng-container>
|
282
|
+
<span class="p-organizationchart-node-toggle-button-icon" *ngIf="chart.togglerIconTemplate || chart._togglerIconTemplate" [attr.data-pc-section]="'nodeTogglerIcon'">
|
283
|
+
<ng-template *ngTemplateOutlet="chart.togglerIconTemplate || chart._togglerIconTemplate; context: { $implicit: node.expanded }"></ng-template>
|
284
|
+
</span>
|
285
|
+
</a>
|
286
|
+
</ng-container>
|
287
|
+
</div>
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
<tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-connectors" [@childState]="'in'" [attr.data-pc-section]="'lines'">
|
291
|
+
<td [attr.data-pc-section]="'lineCell'" [attr.colspan]="colspan">
|
292
|
+
<div [attr.data-pc-section]="'lineDown'" class="p-organizationchart-connector-down"></div>
|
293
|
+
</td>
|
294
|
+
</tr>
|
295
|
+
<tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-connectors" [@childState]="'in'" [attr.data-pc-section]="'lines'">
|
296
|
+
<ng-container *ngIf="node.children && node.children.length === 1">
|
297
|
+
<td [attr.data-pc-section]="'lineCell'" [attr.colspan]="colspan">
|
298
|
+
<div [attr.data-pc-section]="'lineDown'" class="p-organizationchart-connector-down"></div>
|
299
|
+
</td>
|
300
|
+
</ng-container>
|
301
|
+
<ng-container *ngIf="node.children && node.children.length > 1">
|
302
|
+
<ng-template ngFor let-child [ngForOf]="node.children" let-first="first" let-last="last">
|
303
|
+
<td [attr.data-pc-section]="'lineLeft'" class="p-organizationchart-connector-left" [ngClass]="{ 'p-organizationchart-connector-top': !first }"> </td>
|
304
|
+
<td [attr.data-pc-section]="'lineRight'" class="p-organizationchart-connector-right" [ngClass]="{ 'p-organizationchart-connector-top': !last }"> </td>
|
305
|
+
</ng-template>
|
306
|
+
</ng-container>
|
307
|
+
</tr>
|
308
|
+
<tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-node-children" [@childState]="'in'" [attr.data-pc-section]="'nodes'">
|
309
|
+
<td *ngFor="let child of node.children" colspan="2" [attr.data-pc-section]="'nodeCell'">
|
310
|
+
<table class="p-organizationchart-table" pOrganizationChartNode [node]="child" [collapsible]="node.children && node.children.length > 0 && collapsible"></table>
|
311
|
+
</td>
|
312
|
+
</tr>
|
313
|
+
</tbody>
|
314
|
+
`, isInline: true, dependencies: [{ kind: "component", type: OrganizationChartNode, selector: "[pOrganizationChartNode]", inputs: ["node", "root", "first", "last", "collapsible"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }, { kind: "ngmodule", type: SharedModule }], animations: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
449
315
|
}
|
450
|
-
(
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartNode, decorators: [{
|
317
|
+
type: Component,
|
318
|
+
args: [{
|
319
|
+
selector: '[pOrganizationChartNode]',
|
320
|
+
standalone: true,
|
321
|
+
imports: [CommonModule, ChevronDownIcon, ChevronUpIcon, SharedModule],
|
322
|
+
template: `
|
457
323
|
<tbody *ngIf="node" [attr.data-pc-section]="'body'">
|
458
324
|
<tr [attr.data-pc-section]="'row'">
|
459
325
|
<td [attr.colspan]="colspan" [attr.data-pc-section]="'cell'">
|
@@ -518,29 +384,28 @@ class OrganizationChartNode {
|
|
518
384
|
</tr>
|
519
385
|
</tbody>
|
520
386
|
`,
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrganizationChartNode, { className: "OrganizationChartNode", filePath: "organizationchart.ts", lineNumber: 106 }); })();
|
387
|
+
animations: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])],
|
388
|
+
encapsulation: ViewEncapsulation.None,
|
389
|
+
changeDetection: ChangeDetectionStrategy.Default
|
390
|
+
}]
|
391
|
+
}], ctorParameters: () => [{ type: OrganizationChart, decorators: [{
|
392
|
+
type: Inject,
|
393
|
+
args: [forwardRef(() => OrganizationChart)]
|
394
|
+
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { node: [{
|
395
|
+
type: Input
|
396
|
+
}], root: [{
|
397
|
+
type: Input,
|
398
|
+
args: [{ transform: booleanAttribute }]
|
399
|
+
}], first: [{
|
400
|
+
type: Input,
|
401
|
+
args: [{ transform: booleanAttribute }]
|
402
|
+
}], last: [{
|
403
|
+
type: Input,
|
404
|
+
args: [{ transform: booleanAttribute }]
|
405
|
+
}], collapsible: [{
|
406
|
+
type: Input,
|
407
|
+
args: [{ transform: booleanAttribute }]
|
408
|
+
}] } });
|
544
409
|
/**
|
545
410
|
* OrganizationChart visualizes hierarchical organization data.
|
546
411
|
* @group Components
|
@@ -712,87 +577,72 @@ class OrganizationChart extends BaseComponent {
|
|
712
577
|
isSelected(node) {
|
713
578
|
return this.findIndexInSelection(node) != -1;
|
714
579
|
}
|
715
|
-
static ɵfac =
|
716
|
-
static ɵcmp =
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.togglerIconTemplate = _t.first);
|
722
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
723
|
-
} }, inputs: { value: "value", style: "style", styleClass: "styleClass", selectionMode: "selectionMode", collapsible: [2, "collapsible", "collapsible", booleanAttribute], preserveSpace: [2, "preserveSpace", "preserveSpace", booleanAttribute], selection: "selection" }, outputs: { selectionChange: "selectionChange", onNodeSelect: "onNodeSelect", onNodeUnselect: "onNodeUnselect", onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse" }, features: [i0.ɵɵProvidersFeature([OrganizationChartStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 8, consts: [[3, "ngStyle", "ngClass"], ["class", "p-organizationchart-table", "pOrganizationChartNode", "", 3, "collapsible", "node", 4, "ngIf"], ["pOrganizationChartNode", "", 1, "p-organizationchart-table", 3, "collapsible", "node"]], template: function OrganizationChart_Template(rf, ctx) { if (rf & 1) {
|
724
|
-
i0.ɵɵelementStart(0, "div", 0);
|
725
|
-
i0.ɵɵtemplate(1, OrganizationChart_table_1_Template, 1, 2, "table", 1);
|
726
|
-
i0.ɵɵelementEnd();
|
727
|
-
} if (rf & 2) {
|
728
|
-
i0.ɵɵclassMap(ctx.styleClass);
|
729
|
-
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction1(6, _c5, ctx.preserveSpace));
|
730
|
-
i0.ɵɵattribute("data-pc-section", "root");
|
731
|
-
i0.ɵɵadvance();
|
732
|
-
i0.ɵɵproperty("ngIf", ctx.root);
|
733
|
-
} }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgStyle, OrganizationChartNode, SharedModule], encapsulation: 2 });
|
580
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChart, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
581
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: OrganizationChart, isStandalone: true, selector: "p-organizationChart, p-organization-chart, p-organizationchart", inputs: { value: "value", style: "style", styleClass: "styleClass", selectionMode: "selectionMode", collapsible: ["collapsible", "collapsible", booleanAttribute], preserveSpace: ["preserveSpace", "preserveSpace", booleanAttribute], selection: "selection" }, outputs: { selectionChange: "selectionChange", onNodeSelect: "onNodeSelect", onNodeUnselect: "onNodeUnselect", onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse" }, providers: [OrganizationChartStyle], queries: [{ propertyName: "togglerIconTemplate", first: true, predicate: ["togglericon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
|
582
|
+
<div [ngStyle]="style" [class]="styleClass" [ngClass]="{ 'p-organizationchart p-component': true, 'p-organizationchart-preservespace': preserveSpace }" [attr.data-pc-section]="'root'">
|
583
|
+
<table class="p-organizationchart-table" [collapsible]="collapsible" pOrganizationChartNode [node]="root" *ngIf="root"></table>
|
584
|
+
</div>
|
585
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: OrganizationChartNode, selector: "[pOrganizationChartNode]", inputs: ["node", "root", "first", "last", "collapsible"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
734
586
|
}
|
735
|
-
(
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChart, decorators: [{
|
588
|
+
type: Component,
|
589
|
+
args: [{
|
590
|
+
selector: 'p-organizationChart, p-organization-chart, p-organizationchart',
|
591
|
+
standalone: true,
|
592
|
+
imports: [CommonModule, OrganizationChartNode, SharedModule],
|
593
|
+
template: `
|
742
594
|
<div [ngStyle]="style" [class]="styleClass" [ngClass]="{ 'p-organizationchart p-component': true, 'p-organizationchart-preservespace': preserveSpace }" [attr.data-pc-section]="'root'">
|
743
595
|
<table class="p-organizationchart-table" [collapsible]="collapsible" pOrganizationChartNode [node]="root" *ngIf="root"></table>
|
744
596
|
</div>
|
745
597
|
`,
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrganizationChart, { className: "OrganizationChart", filePath: "organizationchart.ts", lineNumber: 185 }); })();
|
598
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
599
|
+
providers: [OrganizationChartStyle]
|
600
|
+
}]
|
601
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { value: [{
|
602
|
+
type: Input
|
603
|
+
}], style: [{
|
604
|
+
type: Input
|
605
|
+
}], styleClass: [{
|
606
|
+
type: Input
|
607
|
+
}], selectionMode: [{
|
608
|
+
type: Input
|
609
|
+
}], collapsible: [{
|
610
|
+
type: Input,
|
611
|
+
args: [{ transform: booleanAttribute }]
|
612
|
+
}], preserveSpace: [{
|
613
|
+
type: Input,
|
614
|
+
args: [{ transform: booleanAttribute }]
|
615
|
+
}], selection: [{
|
616
|
+
type: Input
|
617
|
+
}], selectionChange: [{
|
618
|
+
type: Output
|
619
|
+
}], onNodeSelect: [{
|
620
|
+
type: Output
|
621
|
+
}], onNodeUnselect: [{
|
622
|
+
type: Output
|
623
|
+
}], onNodeExpand: [{
|
624
|
+
type: Output
|
625
|
+
}], onNodeCollapse: [{
|
626
|
+
type: Output
|
627
|
+
}], templates: [{
|
628
|
+
type: ContentChildren,
|
629
|
+
args: [PrimeTemplate]
|
630
|
+
}], togglerIconTemplate: [{
|
631
|
+
type: ContentChild,
|
632
|
+
args: ['togglericon', { descendants: false }]
|
633
|
+
}] } });
|
783
634
|
class OrganizationChartModule {
|
784
|
-
static ɵfac =
|
785
|
-
static ɵmod =
|
786
|
-
static ɵinj =
|
635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
636
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, imports: [OrganizationChart, OrganizationChartNode, SharedModule], exports: [OrganizationChart, OrganizationChartNode, SharedModule] });
|
637
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, imports: [OrganizationChart, OrganizationChartNode, SharedModule, SharedModule] });
|
787
638
|
}
|
788
|
-
(
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(OrganizationChartModule, { imports: [OrganizationChart, OrganizationChartNode, SharedModule], exports: [OrganizationChart, OrganizationChartNode, SharedModule] }); })();
|
639
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, decorators: [{
|
640
|
+
type: NgModule,
|
641
|
+
args: [{
|
642
|
+
imports: [OrganizationChart, OrganizationChartNode, SharedModule],
|
643
|
+
exports: [OrganizationChart, OrganizationChartNode, SharedModule]
|
644
|
+
}]
|
645
|
+
}] });
|
796
646
|
|
797
647
|
/**
|
798
648
|
* Generated bundle index. Do not edit.
|