cax-design-system 2.8.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -46
- package/api/confirmation.d.ts +4 -10
- package/api/message.d.ts +0 -1
- package/autocomplete/autocomplete.d.ts +23 -6
- package/autocomplete/autocomplete.module.d.ts +8 -7
- package/avatar/avatar.d.ts +23 -1
- package/badge/badge.d.ts +4 -0
- package/button/button.d.ts +8 -1
- package/button/button.directive.d.ts +3 -1
- package/calendar/calendar.d.ts +33 -11
- package/card/card.d.ts +2 -6
- package/cascadeselect/cascadeselect.d.ts +32 -2
- package/categorycard/categorycard.d.ts +11 -0
- package/categorycard/categorycard.module.d.ts +7 -0
- package/categorycard/index.d.ts +5 -0
- package/categorycard/public_api.d.ts +2 -0
- package/checkbox/checkbox.d.ts +2 -2
- package/chip/chip.d.ts +3 -4
- package/commentbox/commentbox.d.ts +1 -1
- package/comments/comments.d.ts +83 -0
- package/comments/comments.module.d.ts +7 -0
- package/{chips → comments}/index.d.ts +1 -1
- package/comments/public_api.d.ts +2 -0
- package/comparecard/comaparecard.module.d.ts +11 -0
- package/comparecard/comparecard.component.d.ts +44 -0
- package/comparecard/index.d.ts +5 -0
- package/comparecard/public_api.d.ts +2 -0
- package/confirmdialog/confirmdialog.d.ts +13 -22
- package/divider/divider.d.ts +9 -1
- package/dom/domhandler.d.ts +2 -2
- package/dropdown/dropdown-item.d.ts +2 -1
- package/dropdown/dropdown.d.ts +24 -2
- package/editor/editor.d.ts +6 -1
- package/fesm2022/cax-design-system-accordion.mjs +22 -17
- package/fesm2022/cax-design-system-accordion.mjs.map +1 -1
- package/fesm2022/cax-design-system-animate.mjs +7 -7
- package/fesm2022/cax-design-system-animate.mjs.map +1 -1
- package/fesm2022/cax-design-system-animateonscroll.mjs +7 -7
- package/fesm2022/cax-design-system-animateonscroll.mjs.map +1 -1
- package/fesm2022/cax-design-system-api.mjs +37 -37
- package/fesm2022/cax-design-system-api.mjs.map +1 -1
- package/fesm2022/cax-design-system-autocomplete.mjs +101 -47
- package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -1
- package/fesm2022/cax-design-system-autofocus.mjs +7 -7
- package/fesm2022/cax-design-system-autofocus.mjs.map +1 -1
- package/fesm2022/cax-design-system-avatar.mjs +39 -8
- package/fesm2022/cax-design-system-avatar.mjs.map +1 -1
- package/fesm2022/cax-design-system-avatargroup.mjs +8 -8
- package/fesm2022/cax-design-system-avatargroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-badge.mjs +16 -12
- package/fesm2022/cax-design-system-badge.mjs.map +1 -1
- package/fesm2022/cax-design-system-baseicon.mjs +3 -3
- package/fesm2022/cax-design-system-baseicon.mjs.map +1 -1
- package/fesm2022/cax-design-system-blockui.mjs +7 -7
- package/fesm2022/cax-design-system-blockui.mjs.map +1 -1
- package/fesm2022/cax-design-system-breadcrumb.mjs +10 -11
- package/fesm2022/cax-design-system-breadcrumb.mjs.map +1 -1
- package/fesm2022/cax-design-system-button.mjs +93 -39
- package/fesm2022/cax-design-system-button.mjs.map +1 -1
- package/fesm2022/cax-design-system-buttongroup.mjs +7 -7
- package/fesm2022/cax-design-system-buttongroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-calendar.mjs +388 -100
- package/fesm2022/cax-design-system-calendar.mjs.map +1 -1
- package/fesm2022/cax-design-system-card.mjs +12 -25
- package/fesm2022/cax-design-system-card.mjs.map +1 -1
- package/fesm2022/cax-design-system-carousel.mjs +7 -7
- package/fesm2022/cax-design-system-carousel.mjs.map +1 -1
- package/fesm2022/cax-design-system-cascadeselect.mjs +90 -30
- package/fesm2022/cax-design-system-cascadeselect.mjs.map +1 -1
- package/fesm2022/cax-design-system-categorycard.mjs +57 -0
- package/fesm2022/cax-design-system-categorycard.mjs.map +1 -0
- package/fesm2022/cax-design-system-chart.mjs +7 -7
- package/fesm2022/cax-design-system-chart.mjs.map +1 -1
- package/fesm2022/cax-design-system-checkbox.mjs +15 -14
- package/fesm2022/cax-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/cax-design-system-chip.mjs +14 -12
- package/fesm2022/cax-design-system-chip.mjs.map +1 -1
- package/fesm2022/cax-design-system-colorpicker.mjs +8 -8
- package/fesm2022/cax-design-system-colorpicker.mjs.map +1 -1
- package/fesm2022/cax-design-system-commentbox.mjs +8 -8
- package/fesm2022/cax-design-system-commentbox.mjs.map +1 -1
- package/fesm2022/cax-design-system-comments.mjs +385 -0
- package/fesm2022/cax-design-system-comments.mjs.map +1 -0
- package/fesm2022/cax-design-system-comparecard.mjs +143 -0
- package/fesm2022/cax-design-system-comparecard.mjs.map +1 -0
- package/fesm2022/cax-design-system-confirmdialog.mjs +54 -50
- package/fesm2022/cax-design-system-confirmdialog.mjs.map +1 -1
- package/fesm2022/cax-design-system-confirmpopup.mjs +8 -8
- package/fesm2022/cax-design-system-confirmpopup.mjs.map +1 -1
- package/fesm2022/cax-design-system-contextmenu.mjs +10 -10
- package/fesm2022/cax-design-system-contextmenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-dataview.mjs +10 -10
- package/fesm2022/cax-design-system-dataview.mjs.map +1 -1
- package/fesm2022/cax-design-system-defer.mjs +7 -7
- package/fesm2022/cax-design-system-defer.mjs.map +1 -1
- package/fesm2022/cax-design-system-dialog.mjs +12 -13
- package/fesm2022/cax-design-system-dialog.mjs.map +1 -1
- package/fesm2022/cax-design-system-divider.mjs +21 -11
- package/fesm2022/cax-design-system-divider.mjs.map +1 -1
- package/fesm2022/cax-design-system-dock.mjs +7 -7
- package/fesm2022/cax-design-system-dock.mjs.map +1 -1
- package/fesm2022/cax-design-system-dom.mjs +16 -6
- package/fesm2022/cax-design-system-dom.mjs.map +1 -1
- package/fesm2022/cax-design-system-dragdrop.mjs +10 -10
- package/fesm2022/cax-design-system-dragdrop.mjs.map +1 -1
- package/fesm2022/cax-design-system-dropdown.mjs +57 -22
- package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/cax-design-system-dynamicdialog.mjs +15 -15
- package/fesm2022/cax-design-system-dynamicdialog.mjs.map +1 -1
- package/fesm2022/cax-design-system-editor.mjs +55 -15
- package/fesm2022/cax-design-system-editor.mjs.map +1 -1
- package/fesm2022/cax-design-system-fieldset.mjs +8 -8
- package/fesm2022/cax-design-system-fieldset.mjs.map +1 -1
- package/fesm2022/cax-design-system-fileupload.mjs +7 -7
- package/fesm2022/cax-design-system-fileupload.mjs.map +1 -1
- package/fesm2022/cax-design-system-floatlabel.mjs +7 -7
- package/fesm2022/cax-design-system-floatlabel.mjs.map +1 -1
- package/fesm2022/cax-design-system-focustrap.mjs +7 -7
- package/fesm2022/cax-design-system-focustrap.mjs.map +1 -1
- package/fesm2022/cax-design-system-galleria.mjs +19 -19
- package/fesm2022/cax-design-system-galleria.mjs.map +1 -1
- package/fesm2022/cax-design-system-iconfield.mjs +7 -7
- package/fesm2022/cax-design-system-iconfield.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angledoubledown.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angledoubleleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angledoubleright.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angledoubleup.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angledown.mjs +4 -4
- package/fesm2022/cax-design-system-icons-angledown.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angleleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angleleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angleright.mjs +3 -3
- package/fesm2022/cax-design-system-icons-angleright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-angleup.mjs +4 -4
- package/fesm2022/cax-design-system-icons-angleup.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowdown.mjs +4 -4
- package/fesm2022/cax-design-system-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowdownleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowdownright.mjs +3 -3
- package/fesm2022/cax-design-system-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowright.mjs +3 -3
- package/fesm2022/cax-design-system-icons-arrowright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-arrowup.mjs +4 -4
- package/fesm2022/cax-design-system-icons-arrowup.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-ban.mjs +3 -3
- package/fesm2022/cax-design-system-icons-ban.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-bars.mjs +3 -3
- package/fesm2022/cax-design-system-icons-bars.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-blank.mjs +4 -4
- package/fesm2022/cax-design-system-icons-blank.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-calendar.mjs +4 -4
- package/fesm2022/cax-design-system-icons-calendar.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-caretleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-caretleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-caretright.mjs +3 -3
- package/fesm2022/cax-design-system-icons-caretright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-check.mjs +4 -4
- package/fesm2022/cax-design-system-icons-check.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-chevrondown.mjs +4 -4
- package/fesm2022/cax-design-system-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-chevronleft.mjs +3 -3
- package/fesm2022/cax-design-system-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-chevronright.mjs +4 -4
- package/fesm2022/cax-design-system-icons-chevronright.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-chevronup.mjs +4 -4
- package/fesm2022/cax-design-system-icons-chevronup.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs +3 -3
- package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-eye.mjs +4 -4
- package/fesm2022/cax-design-system-icons-eye.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-eyeslash.mjs +3 -3
- package/fesm2022/cax-design-system-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-filter.mjs +3 -3
- package/fesm2022/cax-design-system-icons-filter.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-filterslash.mjs +4 -4
- package/fesm2022/cax-design-system-icons-filterslash.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-home.mjs +3 -3
- package/fesm2022/cax-design-system-icons-home.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-infocircle.mjs +3 -3
- package/fesm2022/cax-design-system-icons-infocircle.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-minus.mjs +3 -3
- package/fesm2022/cax-design-system-icons-minus.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-pencil.mjs +3 -3
- package/fesm2022/cax-design-system-icons-pencil.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-plus.mjs +4 -4
- package/fesm2022/cax-design-system-icons-plus.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-refresh.mjs +4 -4
- package/fesm2022/cax-design-system-icons-refresh.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-search.mjs +4 -4
- package/fesm2022/cax-design-system-icons-search.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-searchminus.mjs +4 -4
- package/fesm2022/cax-design-system-icons-searchminus.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-searchplus.mjs +4 -4
- package/fesm2022/cax-design-system-icons-searchplus.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-sortalt.mjs +3 -3
- package/fesm2022/cax-design-system-icons-sortalt.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-sortamountdown.mjs +3 -3
- package/fesm2022/cax-design-system-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-sortamountupalt.mjs +3 -3
- package/fesm2022/cax-design-system-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-spinner.mjs +4 -4
- package/fesm2022/cax-design-system-icons-spinner.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-star.mjs +3 -3
- package/fesm2022/cax-design-system-icons-star.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-starfill.mjs +3 -3
- package/fesm2022/cax-design-system-icons-starfill.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-thlarge.mjs +3 -3
- package/fesm2022/cax-design-system-icons-thlarge.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-times.mjs +4 -4
- package/fesm2022/cax-design-system-icons-times.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-timescircle.mjs +4 -4
- package/fesm2022/cax-design-system-icons-timescircle.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-trash.mjs +4 -4
- package/fesm2022/cax-design-system-icons-trash.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-undo.mjs +4 -4
- package/fesm2022/cax-design-system-icons-undo.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-upload.mjs +3 -3
- package/fesm2022/cax-design-system-icons-upload.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-windowmaximize.mjs +3 -3
- package/fesm2022/cax-design-system-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/cax-design-system-icons-windowminimize.mjs +3 -3
- package/fesm2022/cax-design-system-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/cax-design-system-image.mjs +8 -8
- package/fesm2022/cax-design-system-image.mjs.map +1 -1
- package/fesm2022/cax-design-system-inplace.mjs +13 -13
- package/fesm2022/cax-design-system-inplace.mjs.map +1 -1
- package/fesm2022/{cax-design-system-chips.mjs → cax-design-system-inputchips.mjs} +66 -27
- package/fesm2022/cax-design-system-inputchips.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputgroup.mjs +54 -10
- package/fesm2022/cax-design-system-inputgroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputgroupaddon.mjs +8 -8
- package/fesm2022/cax-design-system-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputicon.mjs +7 -7
- package/fesm2022/cax-design-system-inputicon.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputmask.mjs +33 -20
- package/fesm2022/cax-design-system-inputmask.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputnumber.mjs +64 -30
- package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputotp.mjs +7 -7
- package/fesm2022/cax-design-system-inputotp.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputswitch.mjs +7 -7
- package/fesm2022/cax-design-system-inputswitch.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputtext.mjs +30 -14
- package/fesm2022/cax-design-system-inputtext.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputtextarea.mjs +49 -18
- package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -1
- package/fesm2022/cax-design-system-keyfilter.mjs +7 -7
- package/fesm2022/cax-design-system-keyfilter.mjs.map +1 -1
- package/fesm2022/cax-design-system-knob.mjs +7 -7
- package/fesm2022/cax-design-system-knob.mjs.map +1 -1
- package/fesm2022/cax-design-system-listbox.mjs +39 -369
- package/fesm2022/cax-design-system-listbox.mjs.map +1 -1
- package/fesm2022/cax-design-system-logo.mjs +8 -8
- package/fesm2022/cax-design-system-logo.mjs.map +1 -1
- package/fesm2022/cax-design-system-logocard.mjs +37 -0
- package/fesm2022/cax-design-system-logocard.mjs.map +1 -0
- package/fesm2022/cax-design-system-megamenu.mjs +10 -10
- package/fesm2022/cax-design-system-megamenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-menu.mjs +15 -15
- package/fesm2022/cax-design-system-menu.mjs.map +1 -1
- package/fesm2022/cax-design-system-menubar.mjs +13 -13
- package/fesm2022/cax-design-system-menubar.mjs.map +1 -1
- package/fesm2022/cax-design-system-message.mjs +7 -7
- package/fesm2022/cax-design-system-message.mjs.map +1 -1
- package/fesm2022/cax-design-system-messages.mjs +17 -44
- package/fesm2022/cax-design-system-messages.mjs.map +1 -1
- package/fesm2022/cax-design-system-metergroup.mjs +10 -10
- package/fesm2022/cax-design-system-metergroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-multiselect.mjs +58 -24
- package/fesm2022/cax-design-system-multiselect.mjs.map +1 -1
- package/fesm2022/cax-design-system-navigation.mjs +193 -105
- package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
- package/fesm2022/cax-design-system-orderlist.mjs +7 -7
- package/fesm2022/cax-design-system-orderlist.mjs.map +1 -1
- package/fesm2022/cax-design-system-organizationchart.mjs +11 -11
- package/fesm2022/cax-design-system-organizationchart.mjs.map +1 -1
- package/fesm2022/cax-design-system-overlay.mjs +8 -8
- package/fesm2022/cax-design-system-overlay.mjs.map +1 -1
- package/fesm2022/cax-design-system-overlaypanel.mjs +17 -11
- package/fesm2022/cax-design-system-overlaypanel.mjs.map +1 -1
- package/fesm2022/cax-design-system-paginator.mjs +8 -8
- package/fesm2022/cax-design-system-paginator.mjs.map +1 -1
- package/fesm2022/cax-design-system-panel.mjs +8 -8
- package/fesm2022/cax-design-system-panel.mjs.map +1 -1
- package/fesm2022/cax-design-system-panelmenu.mjs +14 -14
- package/fesm2022/cax-design-system-panelmenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-password.mjs +14 -14
- package/fesm2022/cax-design-system-password.mjs.map +1 -1
- package/fesm2022/cax-design-system-picklist.mjs +7 -7
- package/fesm2022/cax-design-system-picklist.mjs.map +1 -1
- package/fesm2022/cax-design-system-productcard.mjs +90 -0
- package/fesm2022/cax-design-system-productcard.mjs.map +1 -0
- package/fesm2022/cax-design-system-progressbar.mjs +31 -9
- package/fesm2022/cax-design-system-progressbar.mjs.map +1 -1
- package/fesm2022/cax-design-system-progressspinner.mjs +17 -15
- package/fesm2022/cax-design-system-progressspinner.mjs.map +1 -1
- package/fesm2022/cax-design-system-radiobutton.mjs +27 -15
- package/fesm2022/cax-design-system-radiobutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-rating.mjs +7 -7
- package/fesm2022/cax-design-system-rating.mjs.map +1 -1
- package/fesm2022/cax-design-system-ripple.mjs +7 -7
- package/fesm2022/cax-design-system-ripple.mjs.map +1 -1
- package/fesm2022/cax-design-system-scroller.mjs +8 -8
- package/fesm2022/cax-design-system-scroller.mjs.map +1 -1
- package/fesm2022/cax-design-system-scrollpanel.mjs +7 -7
- package/fesm2022/cax-design-system-scrollpanel.mjs.map +1 -1
- package/fesm2022/cax-design-system-scrolltop.mjs +8 -8
- package/fesm2022/cax-design-system-scrolltop.mjs.map +1 -1
- package/fesm2022/cax-design-system-selectbutton.mjs +79 -9
- package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-sidebar.mjs +10 -10
- package/fesm2022/cax-design-system-sidebar.mjs.map +1 -1
- package/fesm2022/cax-design-system-skeleton.mjs +11 -10
- package/fesm2022/cax-design-system-skeleton.mjs.map +1 -1
- package/fesm2022/cax-design-system-slidemenu.mjs +10 -10
- package/fesm2022/cax-design-system-slidemenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-slider.mjs +14 -199
- package/fesm2022/cax-design-system-slider.mjs.map +1 -1
- package/fesm2022/cax-design-system-speeddial.mjs +16 -9
- package/fesm2022/cax-design-system-speeddial.mjs.map +1 -1
- package/fesm2022/cax-design-system-spinner.mjs +7 -7
- package/fesm2022/cax-design-system-spinner.mjs.map +1 -1
- package/fesm2022/cax-design-system-splitbutton.mjs +10 -13
- package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-splitter.mjs +8 -8
- package/fesm2022/cax-design-system-splitter.mjs.map +1 -1
- package/fesm2022/cax-design-system-stepper.mjs +20 -20
- package/fesm2022/cax-design-system-stepper.mjs.map +1 -1
- package/fesm2022/cax-design-system-steps.mjs +30 -11
- package/fesm2022/cax-design-system-steps.mjs.map +1 -1
- package/fesm2022/cax-design-system-styleclass.mjs +7 -7
- package/fesm2022/cax-design-system-styleclass.mjs.map +1 -1
- package/fesm2022/cax-design-system-subscriptioncard.mjs +97 -0
- package/fesm2022/cax-design-system-subscriptioncard.mjs.map +1 -0
- package/fesm2022/cax-design-system-table-paginator.mjs +129 -0
- package/fesm2022/cax-design-system-table-paginator.mjs.map +1 -0
- package/fesm2022/cax-design-system-table.mjs +284 -400
- package/fesm2022/cax-design-system-table.mjs.map +1 -1
- package/fesm2022/cax-design-system-tableconfiguration.mjs +19 -10
- package/fesm2022/cax-design-system-tableconfiguration.mjs.map +1 -1
- package/fesm2022/cax-design-system-tabmenu.mjs +7 -7
- package/fesm2022/cax-design-system-tabmenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-tabview.mjs +168 -95
- package/fesm2022/cax-design-system-tabview.mjs.map +1 -1
- package/fesm2022/cax-design-system-tag.mjs +71 -15
- package/fesm2022/cax-design-system-tag.mjs.map +1 -1
- package/fesm2022/cax-design-system-terminal.mjs +14 -14
- package/fesm2022/cax-design-system-terminal.mjs.map +1 -1
- package/fesm2022/cax-design-system-tieredmenu.mjs +21 -14
- package/fesm2022/cax-design-system-tieredmenu.mjs.map +1 -1
- package/fesm2022/cax-design-system-timeline.mjs +8 -8
- package/fesm2022/cax-design-system-timeline.mjs.map +1 -1
- package/fesm2022/cax-design-system-toast.mjs +13 -25
- package/fesm2022/cax-design-system-toast.mjs.map +1 -1
- package/fesm2022/cax-design-system-togglebutton.mjs +9 -9
- package/fesm2022/cax-design-system-togglebutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-toggleswitch.mjs +26 -8
- package/fesm2022/cax-design-system-toggleswitch.mjs.map +1 -1
- package/fesm2022/cax-design-system-toolbar.mjs +7 -7
- package/fesm2022/cax-design-system-toolbar.mjs.map +1 -1
- package/fesm2022/cax-design-system-tooltip.mjs +40 -20
- package/fesm2022/cax-design-system-tooltip.mjs.map +1 -1
- package/fesm2022/cax-design-system-tree.mjs +12 -12
- package/fesm2022/cax-design-system-tree.mjs.map +1 -1
- package/fesm2022/cax-design-system-treeselect.mjs +8 -8
- package/fesm2022/cax-design-system-treeselect.mjs.map +1 -1
- package/fesm2022/cax-design-system-treetable.mjs +55 -55
- package/fesm2022/cax-design-system-treetable.mjs.map +1 -1
- package/fesm2022/cax-design-system-tristatecheckbox.mjs +8 -8
- package/fesm2022/cax-design-system-tristatecheckbox.mjs.map +1 -1
- package/fesm2022/cax-design-system-upload.mjs +209 -96
- package/fesm2022/cax-design-system-upload.mjs.map +1 -1
- package/fesm2022/cax-design-system-utils.mjs.map +1 -1
- package/fesm2022/cax-design-system-virtualscroller.mjs +7 -7
- package/fesm2022/cax-design-system-virtualscroller.mjs.map +1 -1
- package/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/fonts/Inter/OFL.txt +93 -0
- package/fonts/Inter/README.txt +118 -0
- package/fonts/Inter/static/Inter_18pt-Black.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-BlackItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Bold.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-BoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-ExtraBold.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-ExtraLight.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Italic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Light.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-LightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Medium.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-MediumItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Regular.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-SemiBold.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-Thin.ttf +0 -0
- package/fonts/Inter/static/Inter_18pt-ThinItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Black.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-BlackItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Bold.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-BoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-ExtraBold.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-ExtraLight.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Italic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Light.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-LightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Medium.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-MediumItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Regular.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-SemiBold.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-Thin.ttf +0 -0
- package/fonts/Inter/static/Inter_24pt-ThinItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Black.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-BlackItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Bold.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-BoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-ExtraBold.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-ExtraLight.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Italic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Light.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-LightItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Medium.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-MediumItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Regular.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-SemiBold.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-Thin.ttf +0 -0
- package/fonts/Inter/static/Inter_28pt-ThinItalic.ttf +0 -0
- package/inputchips/index.d.ts +5 -0
- package/{chips/chips.d.ts → inputchips/inputchips.d.ts} +24 -6
- package/{chips/chips.interface.d.ts → inputchips/inputchips.interface.d.ts} +1 -1
- package/inputchips/inputchips.module.d.ts +14 -0
- package/inputchips/public_api.d.ts +3 -0
- package/inputgroup/inputgroup.d.ts +32 -1
- package/inputmask/inputmask.d.ts +9 -3
- package/inputnumber/inputnumber.d.ts +30 -4
- package/inputtext/inputtext.component.d.ts +2 -1
- package/inputtext/inputtext.directive.d.ts +3 -1
- package/inputtextarea/inputtextarea.component.d.ts +8 -1
- package/inputtextarea/inputtextarea.directive.d.ts +12 -1
- package/listbox/listbox.d.ts +14 -16
- package/listbox/listbox.module.d.ts +14 -0
- package/listbox/public_api.d.ts +1 -0
- package/logocard/index.d.ts +5 -0
- package/logocard/logocard.d.ts +6 -0
- package/logocard/logocard.module.d.ts +7 -0
- package/logocard/public_api.d.ts +2 -0
- package/messages/messages.d.ts +2 -11
- package/messages/messages.interface.d.ts +0 -2
- package/multiselect/multiselect.d.ts +28 -2
- package/navigation/navigation.d.ts +17 -12
- package/overlaypanel/overlaypanel.d.ts +6 -1
- package/package.json +240 -220
- package/productcard/index.d.ts +5 -0
- package/productcard/productcard.d.ts +19 -0
- package/productcard/productcard.module.d.ts +7 -0
- package/productcard/public_api.d.ts +2 -0
- package/progressbar/progressbar.d.ts +17 -2
- package/radiobutton/radiobutton.d.ts +1 -0
- package/resources/cax.min.scss +6351 -1
- package/resources/cax.scss +11281 -12539
- package/resources/components/accordion/accordion.scss +0 -46
- package/resources/components/autocomplete/autocomplete.scss +249 -184
- package/resources/components/avatar/avatar.scss +30 -34
- package/resources/components/avatargroup/avatargroup.scss +10 -10
- package/resources/components/badge/badge.scss +68 -67
- package/resources/components/blockui/blockui.css +26 -26
- package/resources/components/breadcrumb/breadcrumb.scss +36 -33
- package/resources/components/button/button.scss +160 -163
- package/resources/components/calendar/calendar.scss +368 -231
- package/resources/components/card/card.scss +9 -50
- package/resources/components/carousel/carousel.css +71 -71
- package/resources/components/cascadeselect/cascadeselect.scss +104 -105
- package/resources/components/categorycard/categorycard.scss +46 -0
- package/resources/components/checkbox/checkbox.scss +30 -30
- package/resources/components/chip/chip.scss +6 -6
- package/resources/components/colorpicker/colorpicker-images.scss +7 -7
- package/resources/components/colorpicker/colorpicker.scss +82 -82
- package/resources/components/commentbox/commentbox.scss +621 -611
- package/resources/components/comments/comments.scss +0 -0
- package/resources/components/common/common.scss +183 -183
- package/resources/components/comparecard/comparecard.component.scss +50 -0
- package/resources/components/confirmpopup/confirmpopup.css +53 -53
- package/resources/components/contextmenu/contextmenu.css +42 -42
- package/resources/components/dataview/dataview.css +13 -13
- package/resources/components/dialog/dialog.scss +193 -171
- package/resources/components/divider/divider.scss +0 -86
- package/resources/components/dock/dock.css +107 -107
- package/resources/components/dropdown/dropdown.scss +93 -94
- package/resources/components/editor/editor.scss +97 -4
- package/resources/components/fieldset/fieldset.css +30 -30
- package/resources/components/fileupload/fileupload.css +47 -47
- package/resources/components/galleria/galleria.css +281 -281
- package/resources/components/iconfield/iconfield.css +5 -5
- package/resources/components/image/image.scss +97 -92
- package/resources/components/inplace/inplace.css +19 -19
- package/resources/components/{chips/chips.scss → inputchips/inputchips.scss} +181 -205
- package/resources/components/inputicon/inputicon.css +6 -6
- package/resources/components/inputmask/inputmask.scss +48 -12
- package/resources/components/inputnumber/inputnumber.scss +109 -109
- package/resources/components/inputotp/inputotp.css +2 -2
- package/resources/components/inputswitch/inputswitch.css +23 -23
- package/resources/components/inputtext/inputtext.scss +138 -145
- package/resources/components/inputtextarea/inputtextarea.scss +15 -10
- package/resources/components/knob/knob.css +20 -20
- package/resources/components/listbox/listbox.scss +49 -0
- package/resources/components/logocard/logocard.scss +6 -0
- package/resources/components/megamenu/megamenu.css +108 -108
- package/resources/components/menu/menu.scss +31 -31
- package/resources/components/menubar/menubar.css +81 -81
- package/resources/components/message/message.css +17 -17
- package/resources/components/messages/messages.scss +53 -55
- package/resources/components/multiselect/multiselect.scss +132 -132
- package/resources/components/navigation/navigation.scss +236 -197
- package/resources/components/orderlist/orderlist.css +78 -78
- package/resources/components/organizationchart/organizationchart.css +62 -62
- package/resources/components/overlay/overlay.scss +80 -80
- package/resources/components/overlaypanel/overlaypanel.scss +84 -66
- package/resources/components/paginator/paginator.scss +41 -41
- package/resources/components/panel/panel.css +29 -29
- package/resources/components/panelmenu/panelmenu.css +45 -45
- package/resources/components/password/password.css +54 -54
- package/resources/components/picklist/picklist.css +60 -60
- package/resources/components/productcard/productcard.scss +95 -0
- package/resources/components/progressbar/progressbar.scss +107 -107
- package/resources/components/progressspinner/progressspinner.scss +0 -94
- package/resources/components/radiobutton/radiobutton.scss +34 -34
- package/resources/components/rating/rating.css +15 -15
- package/resources/components/ripple/ripple.scss +29 -29
- package/resources/components/scroller/scroller.scss +58 -58
- package/resources/components/scrollpanel/scrollpanel.css +50 -50
- package/resources/components/scrolltop/scrolltop.css +18 -18
- package/resources/components/sidebar/sidebar.scss +117 -117
- package/resources/components/skeleton/skeleton.scss +24 -25
- package/resources/components/slidemenu/slidemenu.css +100 -100
- package/resources/components/slider/{slider.css → slider.scss} +41 -41
- package/resources/components/speeddial/speeddial.scss +131 -122
- package/resources/components/spinner/spinner.css +63 -63
- package/resources/components/splitbutton/splitbutton.scss +57 -53
- package/resources/components/splitter/splitter.scss +73 -73
- package/resources/components/stepper/stepper.css +9 -9
- package/resources/components/steps/steps.scss +49 -50
- package/resources/components/subscriptioncard/subscriptioncard.component.scss +65 -0
- package/resources/components/table/table.scss +511 -458
- package/resources/components/table-paginator/table-paginator.component.scss +72 -0
- package/resources/components/tableconfiguration/tableconfiguration.scss +3 -125
- package/resources/components/tabmenu/tabmenu.css +80 -80
- package/resources/components/tabview/tabview.scss +206 -198
- package/resources/components/tag/tag.scss +7 -23
- package/resources/components/terminal/terminal.css +24 -24
- package/resources/components/tieredmenu/tieredmenu.scss +55 -55
- package/resources/components/timeline/timeline.scss +128 -128
- package/resources/components/toast/toast.scss +78 -87
- package/resources/components/toggleswitch/toggleswitch.scss +45 -36
- package/resources/components/toolbar/toolbar.css +19 -19
- package/resources/components/tooltip/tooltip.scss +124 -124
- package/resources/components/tree/tree.scss +154 -154
- package/resources/components/treeselect/treeselect.scss +114 -114
- package/resources/components/treetable/treetable.css +205 -205
- package/resources/components/upload/upload.component.scss +84 -145
- package/resources/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/resources/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/resources/fonts/Inter/OFL.txt +93 -0
- package/resources/fonts/Inter/README.txt +118 -0
- package/resources/fonts/Inter/static/Inter_18pt-Black.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-BlackItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Bold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-BoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-ExtraBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-ExtraLight.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Italic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Light.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-LightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Medium.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-MediumItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Regular.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-SemiBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-Thin.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_18pt-ThinItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Black.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-BlackItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Bold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-BoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-ExtraBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-ExtraLight.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Italic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Light.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-LightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Medium.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-MediumItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Regular.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-SemiBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-Thin.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_24pt-ThinItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Black.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-BlackItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Bold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-BoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-ExtraBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-ExtraLight.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Italic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Light.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-LightItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Medium.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-MediumItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Regular.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-SemiBold.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-Thin.ttf +0 -0
- package/resources/fonts/Inter/static/Inter_28pt-ThinItalic.ttf +0 -0
- package/resources/logo/cax-intro-logo.svg +75 -0
- package/resources/logo/cax-sidebar-logo.svg +6 -0
- package/resources/logo/dataX-dark.svg +12 -12
- package/resources/logo/dataX-icon-dark.svg +5 -5
- package/resources/logo/dataX-icon.svg +5 -5
- package/resources/logo/dataX.svg +12 -12
- package/resources/styles/colors.scss +568 -397
- package/resources/styles/fonts.scss +15 -0
- package/resources/styles/transitions.scss +23 -0
- package/resources/styles/typography.scss +555 -116
- package/resources/styles/variables.scss +85 -0
- package/selectbutton/selectbutton.d.ts +50 -1
- package/slider/public_api.d.ts +1 -0
- package/slider/slider.d.ts +1 -8
- package/slider/slider.module.d.ts +9 -0
- package/speeddial/speeddial.d.ts +6 -1
- package/splitbutton/splitbutton.d.ts +2 -2
- package/steps/steps.d.ts +11 -4
- package/steps/steps.module.d.ts +2 -1
- package/subscriptioncard/index.d.ts +5 -0
- package/subscriptioncard/public_api.d.ts +2 -0
- package/subscriptioncard/subscriptioncard.component.d.ts +33 -0
- package/subscriptioncard/subscriptioncard.module.d.ts +11 -0
- package/table/components/column-filter/column-filter.d.ts +0 -34
- package/table/components/table-header-checkbox/table-header-checkbox.d.ts +3 -1
- package/table/directives/cell-extend.directive.d.ts +14 -0
- package/table/directives/cell-highlight.directive.d.ts +4 -6
- package/table/public_api.d.ts +1 -0
- package/table/table.d.ts +34 -60
- package/table/table.interface.d.ts +21 -0
- package/table/table.module.d.ts +4 -3
- package/table-paginator/index.d.ts +5 -0
- package/table-paginator/public_api.d.ts +3 -0
- package/table-paginator/table-paginator.component.d.ts +28 -0
- package/table-paginator/table-paginator.interface.d.ts +21 -0
- package/table-paginator/table-paginator.module.d.ts +9 -0
- package/tableconfiguration/tableconfiguration.d.ts +3 -1
- package/tabview/tabview.d.ts +14 -12
- package/tabview/tabview.module.d.ts +2 -1
- package/tag/tag.d.ts +43 -5
- package/terminal/terminal.d.ts +1 -1
- package/tieredmenu/tieredmenu.d.ts +6 -1
- package/toast/toast.d.ts +1 -9
- package/toggleswitch/toggleswitch.d.ts +5 -0
- package/upload/upload.component.d.ts +51 -19
- package/chips/chips.module.d.ts +0 -14
- package/chips/public_api.d.ts +0 -3
- package/fesm2022/cax-design-system-chips.mjs.map +0 -1
- package/resources/components/listbox/listbox.css +0 -40
- package/resources/styles/shadow-blur.scss +0 -22
- package/resources/styles/space-radius-border.scss +0 -49
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, EventEmitter, booleanAttribute, numberAttribute,
|
|
2
|
+
import { forwardRef, EventEmitter, booleanAttribute, numberAttribute, Input, Output, ChangeDetectionStrategy, ViewEncapsulation, Component, signal, computed, effect, ContentChildren, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
4
|
import * as i1 from 'cax-design-system/api';
|
|
5
5
|
import { TranslationKeys, CaxTemplate, SharedModule } from 'cax-design-system/api';
|
|
@@ -7,15 +7,14 @@ import { DomHandler } from 'cax-design-system/dom';
|
|
|
7
7
|
import { ObjectUtils, UniqueComponentId } from 'cax-design-system/utils';
|
|
8
8
|
import * as i2 from '@angular/common';
|
|
9
9
|
import { CommonModule } from '@angular/common';
|
|
10
|
-
import * as i3 from 'cax-design-system/
|
|
11
|
-
import { AngleRightIcon } from 'cax-design-system/icons/angleright';
|
|
12
|
-
import * as i4 from 'cax-design-system/overlay';
|
|
10
|
+
import * as i3 from 'cax-design-system/overlay';
|
|
13
11
|
import { OverlayModule } from 'cax-design-system/overlay';
|
|
14
|
-
import * as
|
|
15
|
-
import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
|
|
16
|
-
import * as i6 from 'cax-design-system/icons/times';
|
|
17
|
-
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
12
|
+
import * as i4 from 'cax-design-system/autofocus';
|
|
18
13
|
import { AutoFocusModule } from 'cax-design-system/autofocus';
|
|
14
|
+
import * as i5 from 'cax-design-system/icons/times';
|
|
15
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
16
|
+
import { AngleRightIcon } from 'cax-design-system/icons/angleright';
|
|
17
|
+
import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
|
|
19
18
|
import { RippleModule } from 'cax-design-system/ripple';
|
|
20
19
|
|
|
21
20
|
const CASCADESELECT_VALUE_ACCESSOR = {
|
|
@@ -42,6 +41,7 @@ class CascadeSelectSub {
|
|
|
42
41
|
dirty;
|
|
43
42
|
root;
|
|
44
43
|
onChange = new EventEmitter();
|
|
44
|
+
size = 'md';
|
|
45
45
|
get listLabel() {
|
|
46
46
|
return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];
|
|
47
47
|
}
|
|
@@ -116,12 +116,12 @@ class CascadeSelectSub {
|
|
|
116
116
|
this.el.nativeElement.children[0].style.left = '-200%';
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
120
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectSub, deps: [{ token: i0.ElementRef }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
120
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.21", type: CascadeSelectSub, isStandalone: false, selector: "cax-cascadeSelectSub", inputs: { role: "role", selectId: "selectId", activeOptionPath: "activeOptionPath", optionDisabled: "optionDisabled", focusedOptionId: "focusedOptionId", options: "options", optionGroupChildren: "optionGroupChildren", optionTemplate: "optionTemplate", groupIconTemplate: "groupIconTemplate", level: ["level", "level", numberAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionGroupLabel: "optionGroupLabel", dirty: ["dirty", "dirty", booleanAttribute], root: ["root", "root", booleanAttribute], size: "size" }, outputs: { onChange: "onChange" }, ngImport: i0, template: "<ul class=\"cax-cascadeselect-items\" [ngClass]=\"{ 'cax-cascadeselect-panel-root': root }\" [attr.role]=\"role\" aria-orientation=\"horizontal\" [attr.data-pc-section]=\"level === 0 ? 'list' : 'sublist'\" [attr.aria-label]=\"listLabel\">\n <ng-template ngFor let-processedOption [ngForOf]=\"options\" let-i=\"index\">\n <li\n [ngClass]=\"getItemClass(processedOption)\"\n role=\"treeitem\"\n [attr.aria-level]=\"level + 1\"\n [attr.aria-setsize]=\"options.length\"\n [attr.data-pc-section]=\"'item'\"\n [id]=\"getOptionId(processedOption)\"\n [attr.aria-label]=\"getOptionLabelToRender(processedOption)\"\n [attr.aria-selected]=\"isOptionGroup(processedOption) ? undefined : isOptionSelected(processedOption)\"\n [attr.aria-posinset]=\"i + 1\"\n >\n <div class=\"cax-cascadeselect-item-content\" (click)=\"onOptionClick($event, processedOption)\" [attr.tabindex]=\"0\" pRipple [attr.data-pc-section]=\"'content'\">\n <ng-container *ngIf=\"optionTemplate; else defaultOptionTemplate\">\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: { $implicit: processedOption.option }\"></ng-container>\n </ng-container>\n <ng-template #defaultOptionTemplate>\n <span class=\"cax-cascadeselect-item-text\" [attr.data-pc-section]=\"'text'\" [ngClass]=\"{ 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\"\n >{{ getOptionLabelToRender(processedOption) }}</span\n >\n </ng-template>\n <span class=\"cax-cascadeselect-group-icon\" *ngIf=\"isOptionGroup(processedOption)\" [attr.data-pc-section]=\"'groupIcon'\">\n <!-- <AngleRightIcon *ngIf=\"!groupIconTemplate\" /> -->\n <i *ngIf=\"!groupIconTemplate\" class=\"cax cax-alt-arrow-right\"></i>\n <ng-template *ngTemplateOutlet=\"groupIconTemplate\"></ng-template>\n </span>\n </div>\n <cax-cascadeSelectSub\n *ngIf=\"isOptionGroup(processedOption) && isOptionActive(processedOption)\"\n [role]=\"'group'\"\n class=\"cax-cascadeselect-sublist\"\n [selectId]=\"selectId\"\n [focusedOptionId]=\"focusedOptionId\"\n [activeOptionPath]=\"activeOptionPath\"\n [options]=\"getOptionGroupChildren(processedOption)\"\n [optionLabel]=\"optionLabel\"\n [optionValue]=\"optionValue\"\n [level]=\"level + 1\"\n (onChange)=\"onOptionChange($event)\"\n [optionGroupLabel]=\"optionGroupLabel\"\n [optionGroupChildren]=\"optionGroupChildren\"\n [dirty]=\"dirty\"\n [optionTemplate]=\"optionTemplate\"\n [size]=\"size\"\n >\n </cax-cascadeSelectSub>\n </li>\n </ng-template>\n</ul>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CascadeSelectSub, selector: "cax-cascadeSelectSub", inputs: ["role", "selectId", "activeOptionPath", "optionDisabled", "focusedOptionId", "options", "optionGroupChildren", "optionTemplate", "groupIconTemplate", "level", "optionLabel", "optionValue", "optionGroupLabel", "dirty", "root", "size"], outputs: ["onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectSub, decorators: [{
|
|
123
123
|
type: Component,
|
|
124
|
-
args: [{ selector: 'cax-cascadeSelectSub', encapsulation: ViewEncapsulation.None, standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"cax-cascadeselect-
|
|
124
|
+
args: [{ selector: 'cax-cascadeSelectSub', encapsulation: ViewEncapsulation.None, standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"cax-cascadeselect-items\" [ngClass]=\"{ 'cax-cascadeselect-panel-root': root }\" [attr.role]=\"role\" aria-orientation=\"horizontal\" [attr.data-pc-section]=\"level === 0 ? 'list' : 'sublist'\" [attr.aria-label]=\"listLabel\">\n <ng-template ngFor let-processedOption [ngForOf]=\"options\" let-i=\"index\">\n <li\n [ngClass]=\"getItemClass(processedOption)\"\n role=\"treeitem\"\n [attr.aria-level]=\"level + 1\"\n [attr.aria-setsize]=\"options.length\"\n [attr.data-pc-section]=\"'item'\"\n [id]=\"getOptionId(processedOption)\"\n [attr.aria-label]=\"getOptionLabelToRender(processedOption)\"\n [attr.aria-selected]=\"isOptionGroup(processedOption) ? undefined : isOptionSelected(processedOption)\"\n [attr.aria-posinset]=\"i + 1\"\n >\n <div class=\"cax-cascadeselect-item-content\" (click)=\"onOptionClick($event, processedOption)\" [attr.tabindex]=\"0\" pRipple [attr.data-pc-section]=\"'content'\">\n <ng-container *ngIf=\"optionTemplate; else defaultOptionTemplate\">\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: { $implicit: processedOption.option }\"></ng-container>\n </ng-container>\n <ng-template #defaultOptionTemplate>\n <span class=\"cax-cascadeselect-item-text\" [attr.data-pc-section]=\"'text'\" [ngClass]=\"{ 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\"\n >{{ getOptionLabelToRender(processedOption) }}</span\n >\n </ng-template>\n <span class=\"cax-cascadeselect-group-icon\" *ngIf=\"isOptionGroup(processedOption)\" [attr.data-pc-section]=\"'groupIcon'\">\n <!-- <AngleRightIcon *ngIf=\"!groupIconTemplate\" /> -->\n <i *ngIf=\"!groupIconTemplate\" class=\"cax cax-alt-arrow-right\"></i>\n <ng-template *ngTemplateOutlet=\"groupIconTemplate\"></ng-template>\n </span>\n </div>\n <cax-cascadeSelectSub\n *ngIf=\"isOptionGroup(processedOption) && isOptionActive(processedOption)\"\n [role]=\"'group'\"\n class=\"cax-cascadeselect-sublist\"\n [selectId]=\"selectId\"\n [focusedOptionId]=\"focusedOptionId\"\n [activeOptionPath]=\"activeOptionPath\"\n [options]=\"getOptionGroupChildren(processedOption)\"\n [optionLabel]=\"optionLabel\"\n [optionValue]=\"optionValue\"\n [level]=\"level + 1\"\n (onChange)=\"onOptionChange($event)\"\n [optionGroupLabel]=\"optionGroupLabel\"\n [optionGroupChildren]=\"optionGroupChildren\"\n [dirty]=\"dirty\"\n [optionTemplate]=\"optionTemplate\"\n [size]=\"size\"\n >\n </cax-cascadeSelectSub>\n </li>\n </ng-template>\n</ul>\n" }]
|
|
125
125
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.caxConfig }], propDecorators: { role: [{
|
|
126
126
|
type: Input
|
|
127
127
|
}], selectId: [{
|
|
@@ -157,6 +157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
157
157
|
args: [{ transform: booleanAttribute }]
|
|
158
158
|
}], onChange: [{
|
|
159
159
|
type: Output
|
|
160
|
+
}], size: [{
|
|
161
|
+
type: Input
|
|
160
162
|
}] } });
|
|
161
163
|
/**
|
|
162
164
|
* CascadeSelect is a form component to select a value from a nested structure of options.
|
|
@@ -348,6 +350,11 @@ class CascadeSelect {
|
|
|
348
350
|
* @group Props
|
|
349
351
|
*/
|
|
350
352
|
variant = 'outlined';
|
|
353
|
+
/**
|
|
354
|
+
* Size of the component.
|
|
355
|
+
* @group Props
|
|
356
|
+
*/
|
|
357
|
+
size = 'md';
|
|
351
358
|
/**
|
|
352
359
|
* Whether the dropdown is in loading state.
|
|
353
360
|
* @group Props
|
|
@@ -358,6 +365,26 @@ class CascadeSelect {
|
|
|
358
365
|
* @group Props
|
|
359
366
|
*/
|
|
360
367
|
loadingIcon;
|
|
368
|
+
/**
|
|
369
|
+
* Label text to display above the component.
|
|
370
|
+
* @group Props
|
|
371
|
+
*/
|
|
372
|
+
labelText;
|
|
373
|
+
/**
|
|
374
|
+
* When present, it specifies that the component is invalid.
|
|
375
|
+
* @group Props
|
|
376
|
+
*/
|
|
377
|
+
invalid = false;
|
|
378
|
+
/**
|
|
379
|
+
* Text to display when validation fails.
|
|
380
|
+
* @group Props
|
|
381
|
+
*/
|
|
382
|
+
errorText;
|
|
383
|
+
/**
|
|
384
|
+
* Helper text to display below the input.
|
|
385
|
+
* @group Props
|
|
386
|
+
*/
|
|
387
|
+
successText;
|
|
361
388
|
/**
|
|
362
389
|
* Transition options of the hide animation.
|
|
363
390
|
* @group Props
|
|
@@ -463,7 +490,10 @@ class CascadeSelect {
|
|
|
463
490
|
return {
|
|
464
491
|
'cax-cascadeselect-label': true,
|
|
465
492
|
'cax-placeholder': this.label() === this.placeholder,
|
|
466
|
-
'cax-cascadeselect-label-empty': !this.value && (this.label() === 'cax-emptylabel' || this.label().length === 0)
|
|
493
|
+
'cax-cascadeselect-label-empty': !this.value && (this.label() === 'cax-emptylabel' || this.label().length === 0),
|
|
494
|
+
'cax-text-action-sm-medium': this.size == 'sm',
|
|
495
|
+
'cax-text-action-md-medium': this.size == 'md',
|
|
496
|
+
'cax-text-action-lg-medium': this.size == 'lg'
|
|
467
497
|
};
|
|
468
498
|
}
|
|
469
499
|
get focusedOptionId() {
|
|
@@ -732,8 +762,10 @@ class CascadeSelect {
|
|
|
732
762
|
}
|
|
733
763
|
autoUpdateModel() {
|
|
734
764
|
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption()) {
|
|
735
|
-
|
|
736
|
-
|
|
765
|
+
const index = this.findFirstFocusedOptionIndex();
|
|
766
|
+
const focusedOptionInfo = this.focusedOptionInfo();
|
|
767
|
+
this.focusedOptionInfo.set({ ...focusedOptionInfo, index });
|
|
768
|
+
this.onOptionChange({ originalEvent: null, value: this.visibleOptions()[index], isHide: false });
|
|
737
769
|
!this.overlayVisible && this.focusedOptionInfo.set({ index: -1, level: 0, parentKey: '' });
|
|
738
770
|
}
|
|
739
771
|
}
|
|
@@ -751,7 +783,7 @@ class CascadeSelect {
|
|
|
751
783
|
this.scrollInView();
|
|
752
784
|
}
|
|
753
785
|
if (this.selectOnFocus) {
|
|
754
|
-
this.onOptionChange({ originalEvent: event,
|
|
786
|
+
this.onOptionChange({ originalEvent: event, value: this.visibleOptions()[index], isHide: false });
|
|
755
787
|
}
|
|
756
788
|
}
|
|
757
789
|
onOptionChange(event) {
|
|
@@ -760,21 +792,36 @@ class CascadeSelect {
|
|
|
760
792
|
return;
|
|
761
793
|
const { index, level, parentKey, children } = value;
|
|
762
794
|
const grouped = ObjectUtils.isNotEmpty(children);
|
|
763
|
-
const
|
|
795
|
+
const isActive = this.activeOptionPath().some((p) => p.key === value.key);
|
|
796
|
+
if (isActive && grouped) {
|
|
797
|
+
this.activeOptionPath.set([...this.activeOptionPath().filter((p) => p.level < level)]);
|
|
798
|
+
this.focusedOptionInfo.set({ index, level, parentKey });
|
|
799
|
+
this.dirty = true;
|
|
800
|
+
if (isFocus) {
|
|
801
|
+
DomHandler.focus(this.focusInputViewChild.nativeElement);
|
|
802
|
+
}
|
|
803
|
+
this.cd.markForCheck();
|
|
804
|
+
return;
|
|
805
|
+
}
|
|
806
|
+
const activeOptionPath = this.activeOptionPath().filter((p) => p.level < level);
|
|
764
807
|
activeOptionPath.push(value);
|
|
765
808
|
this.focusedOptionInfo.set({ index, level, parentKey });
|
|
766
|
-
this.activeOptionPath.set(activeOptionPath);
|
|
809
|
+
this.activeOptionPath.set([...activeOptionPath]);
|
|
767
810
|
grouped ? this.onOptionGroupSelect({ originalEvent, value, isFocus: false }) : this.onOptionSelect({ originalEvent, value, isFocus });
|
|
768
|
-
|
|
811
|
+
if (isFocus) {
|
|
812
|
+
DomHandler.focus(this.focusInputViewChild.nativeElement);
|
|
813
|
+
}
|
|
814
|
+
this.cd.markForCheck();
|
|
769
815
|
}
|
|
770
816
|
onOptionSelect(event) {
|
|
771
817
|
const { originalEvent, value, isFocus } = event;
|
|
772
818
|
const newValue = this.getOptionValue(value.option);
|
|
773
|
-
const activeOptionPath = this.activeOptionPath();
|
|
819
|
+
const activeOptionPath = [...this.activeOptionPath()];
|
|
774
820
|
activeOptionPath.forEach((p) => (p.selected = true));
|
|
775
821
|
this.activeOptionPath.set(activeOptionPath);
|
|
776
822
|
this.updateModel(newValue, originalEvent);
|
|
777
|
-
isFocus && this.hide(true);
|
|
823
|
+
isFocus && this.hide(originalEvent, true);
|
|
824
|
+
this.cd.markForCheck();
|
|
778
825
|
}
|
|
779
826
|
onOptionGroupSelect(event) {
|
|
780
827
|
this.dirty = true;
|
|
@@ -900,6 +947,7 @@ class CascadeSelect {
|
|
|
900
947
|
this.focusedOptionInfo.set({ index: -1, level: 0, parentKey: '' });
|
|
901
948
|
isFocus && DomHandler.focus(this.focusInputViewChild.nativeElement);
|
|
902
949
|
this.onHide.emit(event);
|
|
950
|
+
this.cd.markForCheck();
|
|
903
951
|
};
|
|
904
952
|
setTimeout(() => {
|
|
905
953
|
_hide();
|
|
@@ -909,7 +957,7 @@ class CascadeSelect {
|
|
|
909
957
|
this.onShow.emit(event);
|
|
910
958
|
this.overlayVisible = true;
|
|
911
959
|
const activeOptionPath = this.hasSelectedOption() ? this.findOptionPathByValue(this.modelValue()) : this.activeOptionPath();
|
|
912
|
-
this.activeOptionPath.set(activeOptionPath);
|
|
960
|
+
this.activeOptionPath.set([...activeOptionPath]);
|
|
913
961
|
let focusedOptionInfo;
|
|
914
962
|
if (this.hasSelectedOption() && ObjectUtils.isNotEmpty(this.activeOptionPath())) {
|
|
915
963
|
const processedOption = this.activeOptionPath()[this.activeOptionPath().length - 1];
|
|
@@ -920,6 +968,7 @@ class CascadeSelect {
|
|
|
920
968
|
}
|
|
921
969
|
this.focusedOptionInfo.set(focusedOptionInfo);
|
|
922
970
|
isFocus && DomHandler.focus(this.focusInputViewChild.nativeElement);
|
|
971
|
+
this.cd.markForCheck();
|
|
923
972
|
}
|
|
924
973
|
clear(event) {
|
|
925
974
|
if (ObjectUtils.isNotEmpty(this.modelValue()) && this.showClear) {
|
|
@@ -1014,17 +1063,17 @@ class CascadeSelect {
|
|
|
1014
1063
|
this.disabled = val;
|
|
1015
1064
|
this.cd.markForCheck();
|
|
1016
1065
|
}
|
|
1017
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1018
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.16", type: CascadeSelect, isStandalone: false, selector: "cax-cascadeSelect", inputs: { id: "id", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchMessage: "searchMessage", emptyMessage: "emptyMessage", selectionMessage: "selectionMessage", emptySearchMessage: "emptySearchMessage", emptySelectionMessage: "emptySelectionMessage", searchLocale: "searchLocale", optionDisabled: "optionDisabled", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], styleClass: "styleClass", style: "style", options: "options", optionLabel: "optionLabel", optionValue: "optionValue", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", placeholder: "placeholder", value: "value", dataKey: "dataKey", inputId: "inputId", tabindex: ["tabindex", "tabindex", numberAttribute], ariaLabelledBy: "ariaLabelledBy", inputLabel: "inputLabel", ariaLabel: "ariaLabel", appendTo: "appendTo", disabled: ["disabled", "disabled", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", overlayOptions: "overlayOptions", autofocus: ["autofocus", "autofocus", booleanAttribute], showTransitionOptions: "showTransitionOptions", variant: "variant", loading: ["loading", "loading", booleanAttribute], loadingIcon: "loadingIcon", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onChange: "onChange", onGroupChange: "onGroupChange", onShow: "onShow", onHide: "onHide", onClear: "onClear", onBeforeShow: "onBeforeShow", onBeforeHide: "onBeforeHide", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class.cax-inputwrapper-filled": "filled", "class.cax-inputwrapper-focus": "focused || overlayVisible", "class.cax-cascadeselect-clearable": "showClear && !disabled" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [CASCADESELECT_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "panelViewChild", first: true, predicate: ["panel"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div #container [ngClass]=\"containerClass\" [class]=\"styleClass\" [ngStyle]=\"style\" (click)=\"onContainerClick($event)\" [attr.data-pc-name]=\"'cascadeselect'\" [attr.data-pc-section]=\"'root'\">\r\n <div class=\"cax-hidden-accessible\" [attr.data-pc-section]=\"'hiddenInputWrapper'\">\r\n <input\r\n #focusInput\r\n readonly\r\n type=\"text\"\r\n role=\"combobox\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder\"\r\n [tabindex]=\"!disabled ? tabindex : -1\"\r\n [attr.id]=\"inputId\"\r\n [attr.aria-label]=\"ariaLabel\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n aria-haspopup=\"tree\"\r\n [attr.aria-expanded]=\"overlayVisible ?? false\"\r\n [attr.aria-controls]=\"overlayVisible ? id + '_tree' : null\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n (keydown)=\"onInputKeyDown($event)\"\r\n pAutoFocus\r\n [autofocus]=\"autofocus\"\r\n />\r\n </div>\r\n <span [ngClass]=\"labelClass\" [attr.data-pc-section]=\"'label'\">\r\n <ng-container *ngIf=\"valueTemplate; else defaultValueTemplate\">\r\n <ng-container *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value, placeholder: placeholder }\"></ng-container>\r\n </ng-container>\r\n <ng-template #defaultValueTemplate> {{ label() }} </ng-template>\r\n </span>\r\n\r\n <ng-container *ngIf=\"filled && !disabled && showClear\">\r\n <TimesIcon *ngIf=\"!clearIconTemplate\" [styleClass]=\"'cax-cascadeselect-clear-icon'\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\" />\r\n <span *ngIf=\"clearIconTemplate\" class=\"cax-cascadeselect-clear-icon\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n\r\n <div class=\"cax-cascadeselect-trigger\" role=\"button\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'dropdownIcon'\" [attr.aria-hidden]=\"true\">\r\n <ng-container *ngIf=\"loading; else elseBlock\">\r\n <ng-container *ngIf=\"loadingIconTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!loadingIconTemplate\">\r\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-cascadeselect-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\r\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-cascadeselect-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseBlock>\r\n <ChevronDownIcon *ngIf=\"!triggerIconTemplate\" [styleClass]=\"'cax-cascadeselect-trigger-icon'\" />\r\n <span *ngIf=\"triggerIconTemplate\" class=\"cax-cascadeselect-trigger-icon\">\r\n <ng-template *ngTemplateOutlet=\"triggerIconTemplate\"></ng-template>\r\n </span>\r\n </ng-template>\r\n </div>\r\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ searchResultMessageText }} </span>\r\n <cax-overlay\r\n #overlay\r\n [(visible)]=\"overlayVisible\"\r\n [options]=\"overlayOptions\"\r\n [target]=\"'@parent'\"\r\n [appendTo]=\"appendTo\"\r\n [showTransitionOptions]=\"showTransitionOptions\"\r\n [hideTransitionOptions]=\"hideTransitionOptions\"\r\n (onAnimationDone)=\"onOverlayAnimationDone($event)\"\r\n (onBeforeShow)=\"onBeforeShow.emit($event)\"\r\n (onShow)=\"show($event)\"\r\n (onBeforeHide)=\"onBeforeHide.emit($event)\"\r\n (onHide)=\"hide($event)\"\r\n >\r\n <ng-template caxTemplate=\"content\">\r\n <div #panel class=\"cax-cascadeselect-panel cax-component cax-overlay-scroll\" [class]=\"panelStyleClass\" [ngStyle]=\"panelStyle\" [attr.data-pc-section]=\"'panel'\">\r\n <div class=\"cax-cascadeselect-items-wrapper\" [attr.data-pc-section]=\"'wrapper'\">\r\n <cax-cascadeSelectSub\r\n [options]=\"processedOptions\"\r\n [selectId]=\"id\"\r\n [focusedOptionId]=\"focused ? focusedOptionId : undefined\"\r\n [activeOptionPath]=\"activeOptionPath()\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [level]=\"0\"\r\n [optionTemplate]=\"optionTemplate\"\r\n [groupIconTemplate]=\"groupIconTemplate\"\r\n [optionGroupLabel]=\"optionGroupLabel\"\r\n [optionGroupChildren]=\"optionGroupChildren\"\r\n [optionDisabled]=\"optionDisabled\"\r\n [optionValue]=\"optionValue\"\r\n [optionLabel]=\"optionLabel\"\r\n [root]=\"true\"\r\n (onChange)=\"onOptionChange($event)\"\r\n [dirty]=\"dirty\"\r\n [role]=\"'tree'\"\r\n >\r\n </cax-cascadeSelectSub>\r\n </div>\r\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ selectedMessageText }} </span>\r\n </div>\r\n </ng-template>\r\n </cax-overlay>\r\n</div>\r\n", styles: ["@layer cax{.cax-cascadeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.cax-cascadeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-cascadeselect-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-cascadeselect-label-empty{overflow:hidden;visibility:hidden}.cax-cascadeselect-item{cursor:pointer;font-weight:400;white-space:nowrap}.cax-cascadeselect-item-content{display:flex;align-items:center;overflow:hidden;position:relative}.cax-cascadeselect-group-icon{margin-left:auto;display:inline-flex}.cax-cascadeselect-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-cascadeselect{display:flex}.cax-fluid .cax-cascadeselect .cax-cascadeselect-label{width:1%}.cax-cascadeselect-sublist{position:absolute;min-width:100%;z-index:1;display:none;max-height:300px}.cax-cascadeselect-items-wrapper{overflow-x:hidden}.cax-cascadeselect-item-active{overflow:visible!important}.cax-cascadeselect-item-active>.cax-cascadeselect-sublist{display:block;left:100%;top:4px;margin-left:8px}.cax-cascadeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.cax-cascadeselect-clearable,.cax-overlay-modal .cax-cascadeselect-sublist{position:relative}.cax-overlay-modal .cax-cascadeselect-item-active>.cax-cascadeselect-sublist{left:0}}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.Overlay, selector: "cax-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i1.CaxTemplate, selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "component", type: i5.ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: i6.TimesIcon, selector: "TimesIcon" }, { kind: "component", type: CascadeSelectSub, selector: "cax-cascadeSelectSub", inputs: ["role", "selectId", "activeOptionPath", "optionDisabled", "focusedOptionId", "options", "optionGroupChildren", "optionTemplate", "groupIconTemplate", "level", "optionLabel", "optionValue", "optionGroupLabel", "dirty", "root"], outputs: ["onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1066
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelect, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.caxConfig }, { token: i1.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1067
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.21", type: CascadeSelect, isStandalone: false, selector: "cax-cascadeSelect", inputs: { id: "id", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchMessage: "searchMessage", emptyMessage: "emptyMessage", selectionMessage: "selectionMessage", emptySearchMessage: "emptySearchMessage", emptySelectionMessage: "emptySelectionMessage", searchLocale: "searchLocale", optionDisabled: "optionDisabled", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], styleClass: "styleClass", style: "style", options: "options", optionLabel: "optionLabel", optionValue: "optionValue", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", placeholder: "placeholder", value: "value", dataKey: "dataKey", inputId: "inputId", tabindex: ["tabindex", "tabindex", numberAttribute], ariaLabelledBy: "ariaLabelledBy", inputLabel: "inputLabel", ariaLabel: "ariaLabel", appendTo: "appendTo", disabled: ["disabled", "disabled", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", overlayOptions: "overlayOptions", autofocus: ["autofocus", "autofocus", booleanAttribute], showTransitionOptions: "showTransitionOptions", variant: "variant", size: "size", loading: ["loading", "loading", booleanAttribute], loadingIcon: "loadingIcon", labelText: "labelText", invalid: ["invalid", "invalid", booleanAttribute], errorText: "errorText", successText: "successText", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onChange: "onChange", onGroupChange: "onGroupChange", onShow: "onShow", onHide: "onHide", onClear: "onClear", onBeforeShow: "onBeforeShow", onBeforeHide: "onBeforeHide", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class.cax-inputwrapper-filled": "filled", "class.cax-inputwrapper-focus": "focused || overlayVisible", "class.cax-cascadeselect-clearable": "showClear && !disabled" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [CASCADESELECT_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "panelViewChild", first: true, predicate: ["panel"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"cax-input-container\" [class]=\"styleClass\" [ngClass]=\"['cax-cascadeselect-' + size]\" [ngStyle]=\"style\" [class.cax-disabled]=\"disabled\">\n <div [ngClass]=\"{'cax-cascadeselect-main-label': labelText}\">\n <label *ngIf=\"labelText\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-semibold': size == 'sm', 'cax-text-action-md-semibold': size == 'md', 'cax-text-action-lg-semibold': size == 'lg' }\">{{ labelText }}</label>\n </div>\n <div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [attr.data-pc-name]=\"'cascadeselect'\" [attr.data-pc-section]=\"'root'\">\n <div class=\"cax-hidden-accessible\" [attr.data-pc-section]=\"'hiddenInputWrapper'\">\n <input\n #focusInput\n readonly\n type=\"text\"\n role=\"combobox\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [tabindex]=\"!disabled ? tabindex : -1\"\n [attr.id]=\"inputId\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n aria-haspopup=\"tree\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? id + '_tree' : null\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keydown)=\"onInputKeyDown($event)\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [ngClass]=\"{ 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\"\n />\n </div>\n <span [ngClass]=\"labelClass\" [attr.data-pc-section]=\"'label'\">\n <ng-container *ngIf=\"valueTemplate; else defaultValueTemplate\">\n <ng-container *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value, placeholder: placeholder }\"></ng-container>\n </ng-container>\n <ng-template #defaultValueTemplate> {{ label() }} </ng-template>\n </span>\n\n <ng-container *ngIf=\"filled && !disabled && showClear\">\n <TimesIcon *ngIf=\"!clearIconTemplate\" [styleClass]=\"'cax-cascadeselect-clear-icon'\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\" />\n <span *ngIf=\"clearIconTemplate\" class=\"cax-cascadeselect-clear-icon\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\n </span>\n </ng-container>\n\n <div class=\"cax-cascadeselect-trigger\" role=\"button\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'dropdownIcon'\" [attr.aria-hidden]=\"true\">\n <ng-container *ngIf=\"loading; else elseBlock\">\n <ng-container *ngIf=\"loadingIconTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!loadingIconTemplate\">\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-cascadeselect-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-cascadeselect-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\n </ng-container>\n </ng-container>\n <ng-template #elseBlock>\n <!-- <ChevronDownIcon *ngIf=\"!triggerIconTemplate\" [styleClass]=\"'cax-cascadeselect-trigger-icon'\" /> -->\n <i *ngIf=\"!triggerIconTemplate && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\n <i *ngIf=\"!triggerIconTemplate && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\n <span *ngIf=\"triggerIconTemplate\" class=\"cax-cascadeselect-trigger-icon\">\n <ng-template *ngTemplateOutlet=\"triggerIconTemplate\"></ng-template>\n </span>\n </ng-template>\n </div>\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ searchResultMessageText }} </span>\n <cax-overlay\n #overlay\n [(visible)]=\"overlayVisible\"\n [options]=\"overlayOptions\"\n [target]=\"'@parent'\"\n [appendTo]=\"appendTo\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n (onAnimationDone)=\"onOverlayAnimationDone($event)\"\n (onBeforeShow)=\"onBeforeShow.emit($event)\"\n (onShow)=\"show($event)\"\n (onBeforeHide)=\"onBeforeHide.emit($event)\"\n (onHide)=\"hide($event)\"\n >\n <ng-template caxTemplate=\"content\">\n <div #panel class=\"cax-cascadeselect-panel cax-component cax-overlay-scroll\" [class]=\"panelStyleClass\" [ngStyle]=\"panelStyle\" [attr.data-pc-section]=\"'panel'\">\n <div class=\"cax-cascadeselect-items-wrapper\" [attr.data-pc-section]=\"'wrapper'\">\n <cax-cascadeSelectSub\n [options]=\"processedOptions\"\n [selectId]=\"id\"\n [focusedOptionId]=\"focused ? focusedOptionId : undefined\"\n [activeOptionPath]=\"activeOptionPath()\"\n [optionLabel]=\"optionLabel\"\n [optionValue]=\"optionValue\"\n [level]=\"0\"\n [optionTemplate]=\"optionTemplate\"\n [groupIconTemplate]=\"groupIconTemplate\"\n [optionGroupLabel]=\"optionGroupLabel\"\n [optionGroupChildren]=\"optionGroupChildren\"\n [optionDisabled]=\"optionDisabled\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [root]=\"true\"\n (onChange)=\"onOptionChange($event)\"\n [dirty]=\"dirty\"\n [role]=\"'tree'\"\n [size]=\"size\"\n >\n </cax-cascadeSelectSub>\n </div>\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ selectedMessageText }} </span>\n </div>\n </ng-template>\n </cax-overlay>\n </div>\n <!-- Error Message with conditional opacity -->\n <small *ngIf=\"invalid\" class=\"cax-error disabled-opacity\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\">\n {{ errorText }}\n </small>\n\n <!-- Helper Text with conditional opacity -->\n <small *ngIf=\"successText && !invalid\" class=\"cax-helper-text\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\">\n {{ successText }}\n </small>\n</div>\n", styles: ["@layer cax{.cax-cascadeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.cax-cascadeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-cascadeselect-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-cascadeselect-label-empty{overflow:hidden;visibility:hidden}.cax-cascadeselect-item{cursor:pointer;font-weight:400;white-space:nowrap}.cax-cascadeselect-item-content{display:flex;align-items:center;overflow:hidden;position:relative}.cax-cascadeselect-group-icon{margin-left:auto;display:inline-flex}.cax-cascadeselect-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-cascadeselect{display:flex}.cax-fluid .cax-cascadeselect .cax-cascadeselect-label{width:1%}.cax-cascadeselect-sublist{position:absolute;min-width:100%;z-index:1;display:none;max-height:300px}.cax-cascadeselect-items-wrapper{overflow-x:hidden}.cax-cascadeselect-item-active{overflow:visible!important}.cax-cascadeselect-item-active>.cax-cascadeselect-sublist{display:block;left:100%;top:4px;margin-left:8px}.cax-cascadeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.cax-cascadeselect-clearable,.cax-overlay-modal .cax-cascadeselect-sublist{position:relative}.cax-overlay-modal .cax-cascadeselect-item-active>.cax-cascadeselect-sublist{left:0}}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.Overlay, selector: "cax-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i1.CaxTemplate, selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "directive", type: i4.AutoFocus, selector: "[caxAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: i5.TimesIcon, selector: "TimesIcon" }, { kind: "component", type: CascadeSelectSub, selector: "cax-cascadeSelectSub", inputs: ["role", "selectId", "activeOptionPath", "optionDisabled", "focusedOptionId", "options", "optionGroupChildren", "optionTemplate", "groupIconTemplate", "level", "optionLabel", "optionValue", "optionGroupLabel", "dirty", "root", "size"], outputs: ["onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1019
1068
|
}
|
|
1020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelect, decorators: [{
|
|
1021
1070
|
type: Component,
|
|
1022
1071
|
args: [{ selector: 'cax-cascadeSelect', host: {
|
|
1023
1072
|
class: 'cax-element cax-inputwrapper',
|
|
1024
1073
|
'[class.cax-inputwrapper-filled]': 'filled',
|
|
1025
1074
|
'[class.cax-inputwrapper-focus]': 'focused || overlayVisible',
|
|
1026
1075
|
'[class.cax-cascadeselect-clearable]': 'showClear && !disabled'
|
|
1027
|
-
}, providers: [CASCADESELECT_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<div
|
|
1076
|
+
}, providers: [CASCADESELECT_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"cax-input-container\" [class]=\"styleClass\" [ngClass]=\"['cax-cascadeselect-' + size]\" [ngStyle]=\"style\" [class.cax-disabled]=\"disabled\">\n <div [ngClass]=\"{'cax-cascadeselect-main-label': labelText}\">\n <label *ngIf=\"labelText\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-semibold': size == 'sm', 'cax-text-action-md-semibold': size == 'md', 'cax-text-action-lg-semibold': size == 'lg' }\">{{ labelText }}</label>\n </div>\n <div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [attr.data-pc-name]=\"'cascadeselect'\" [attr.data-pc-section]=\"'root'\">\n <div class=\"cax-hidden-accessible\" [attr.data-pc-section]=\"'hiddenInputWrapper'\">\n <input\n #focusInput\n readonly\n type=\"text\"\n role=\"combobox\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [tabindex]=\"!disabled ? tabindex : -1\"\n [attr.id]=\"inputId\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n aria-haspopup=\"tree\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? id + '_tree' : null\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keydown)=\"onInputKeyDown($event)\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [ngClass]=\"{ 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\"\n />\n </div>\n <span [ngClass]=\"labelClass\" [attr.data-pc-section]=\"'label'\">\n <ng-container *ngIf=\"valueTemplate; else defaultValueTemplate\">\n <ng-container *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value, placeholder: placeholder }\"></ng-container>\n </ng-container>\n <ng-template #defaultValueTemplate> {{ label() }} </ng-template>\n </span>\n\n <ng-container *ngIf=\"filled && !disabled && showClear\">\n <TimesIcon *ngIf=\"!clearIconTemplate\" [styleClass]=\"'cax-cascadeselect-clear-icon'\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\" />\n <span *ngIf=\"clearIconTemplate\" class=\"cax-cascadeselect-clear-icon\" (click)=\"clear($event)\" [attr.data-pc-section]=\"'clearicon'\" [attr.aria-hidden]=\"true\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\n </span>\n </ng-container>\n\n <div class=\"cax-cascadeselect-trigger\" role=\"button\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'dropdownIcon'\" [attr.aria-hidden]=\"true\">\n <ng-container *ngIf=\"loading; else elseBlock\">\n <ng-container *ngIf=\"loadingIconTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!loadingIconTemplate\">\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-cascadeselect-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-cascadeselect-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\n </ng-container>\n </ng-container>\n <ng-template #elseBlock>\n <!-- <ChevronDownIcon *ngIf=\"!triggerIconTemplate\" [styleClass]=\"'cax-cascadeselect-trigger-icon'\" /> -->\n <i *ngIf=\"!triggerIconTemplate && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\n <i *ngIf=\"!triggerIconTemplate && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\n <span *ngIf=\"triggerIconTemplate\" class=\"cax-cascadeselect-trigger-icon\">\n <ng-template *ngTemplateOutlet=\"triggerIconTemplate\"></ng-template>\n </span>\n </ng-template>\n </div>\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ searchResultMessageText }} </span>\n <cax-overlay\n #overlay\n [(visible)]=\"overlayVisible\"\n [options]=\"overlayOptions\"\n [target]=\"'@parent'\"\n [appendTo]=\"appendTo\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n (onAnimationDone)=\"onOverlayAnimationDone($event)\"\n (onBeforeShow)=\"onBeforeShow.emit($event)\"\n (onShow)=\"show($event)\"\n (onBeforeHide)=\"onBeforeHide.emit($event)\"\n (onHide)=\"hide($event)\"\n >\n <ng-template caxTemplate=\"content\">\n <div #panel class=\"cax-cascadeselect-panel cax-component cax-overlay-scroll\" [class]=\"panelStyleClass\" [ngStyle]=\"panelStyle\" [attr.data-pc-section]=\"'panel'\">\n <div class=\"cax-cascadeselect-items-wrapper\" [attr.data-pc-section]=\"'wrapper'\">\n <cax-cascadeSelectSub\n [options]=\"processedOptions\"\n [selectId]=\"id\"\n [focusedOptionId]=\"focused ? focusedOptionId : undefined\"\n [activeOptionPath]=\"activeOptionPath()\"\n [optionLabel]=\"optionLabel\"\n [optionValue]=\"optionValue\"\n [level]=\"0\"\n [optionTemplate]=\"optionTemplate\"\n [groupIconTemplate]=\"groupIconTemplate\"\n [optionGroupLabel]=\"optionGroupLabel\"\n [optionGroupChildren]=\"optionGroupChildren\"\n [optionDisabled]=\"optionDisabled\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [root]=\"true\"\n (onChange)=\"onOptionChange($event)\"\n [dirty]=\"dirty\"\n [role]=\"'tree'\"\n [size]=\"size\"\n >\n </cax-cascadeSelectSub>\n </div>\n <span role=\"status\" aria-live=\"polite\" class=\"cax-hidden-accessible\"> {{ selectedMessageText }} </span>\n </div>\n </ng-template>\n </cax-overlay>\n </div>\n <!-- Error Message with conditional opacity -->\n <small *ngIf=\"invalid\" class=\"cax-error disabled-opacity\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\">\n {{ errorText }}\n </small>\n\n <!-- Helper Text with conditional opacity -->\n <small *ngIf=\"successText && !invalid\" class=\"cax-helper-text\" [ngClass]=\"{ 'disabled-opacity': disabled, 'cax-text-action-sm-medium': size == 'sm', 'cax-text-action-md-regular': size == 'md', 'cax-text-action-lg-regular': size == 'lg' }\">\n {{ successText }}\n </small>\n</div>\n", styles: ["@layer cax{.cax-cascadeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.cax-cascadeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-cascadeselect-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-cascadeselect-label-empty{overflow:hidden;visibility:hidden}.cax-cascadeselect-item{cursor:pointer;font-weight:400;white-space:nowrap}.cax-cascadeselect-item-content{display:flex;align-items:center;overflow:hidden;position:relative}.cax-cascadeselect-group-icon{margin-left:auto;display:inline-flex}.cax-cascadeselect-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-cascadeselect{display:flex}.cax-fluid .cax-cascadeselect .cax-cascadeselect-label{width:1%}.cax-cascadeselect-sublist{position:absolute;min-width:100%;z-index:1;display:none;max-height:300px}.cax-cascadeselect-items-wrapper{overflow-x:hidden}.cax-cascadeselect-item-active{overflow:visible!important}.cax-cascadeselect-item-active>.cax-cascadeselect-sublist{display:block;left:100%;top:4px;margin-left:8px}.cax-cascadeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.cax-cascadeselect-clearable,.cax-overlay-modal .cax-cascadeselect-sublist{position:relative}.cax-overlay-modal .cax-cascadeselect-item-active>.cax-cascadeselect-sublist{left:0}}\n"] }]
|
|
1028
1077
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.caxConfig }, { type: i1.OverlayService }], propDecorators: { id: [{
|
|
1029
1078
|
type: Input
|
|
1030
1079
|
}], selectOnFocus: [{
|
|
@@ -1099,11 +1148,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
1099
1148
|
type: Input
|
|
1100
1149
|
}], variant: [{
|
|
1101
1150
|
type: Input
|
|
1151
|
+
}], size: [{
|
|
1152
|
+
type: Input
|
|
1102
1153
|
}], loading: [{
|
|
1103
1154
|
type: Input,
|
|
1104
1155
|
args: [{ transform: booleanAttribute }]
|
|
1105
1156
|
}], loadingIcon: [{
|
|
1106
1157
|
type: Input
|
|
1158
|
+
}], labelText: [{
|
|
1159
|
+
type: Input
|
|
1160
|
+
}], invalid: [{
|
|
1161
|
+
type: Input,
|
|
1162
|
+
args: [{ transform: booleanAttribute }]
|
|
1163
|
+
}], errorText: [{
|
|
1164
|
+
type: Input
|
|
1165
|
+
}], successText: [{
|
|
1166
|
+
type: Input
|
|
1107
1167
|
}], hideTransitionOptions: [{
|
|
1108
1168
|
type: Input
|
|
1109
1169
|
}], onChange: [{
|
|
@@ -1142,11 +1202,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
1142
1202
|
}] } });
|
|
1143
1203
|
|
|
1144
1204
|
class CascadeSelectModule {
|
|
1145
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1146
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
1147
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
1205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1206
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectModule, declarations: [CascadeSelect, CascadeSelectSub], imports: [CommonModule, OverlayModule, SharedModule, RippleModule, AutoFocusModule, ChevronDownIcon, AngleRightIcon, TimesIcon], exports: [CascadeSelect, OverlayModule, CascadeSelectSub, SharedModule] });
|
|
1207
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectModule, imports: [CommonModule, OverlayModule, SharedModule, RippleModule, AutoFocusModule, ChevronDownIcon, AngleRightIcon, TimesIcon, OverlayModule, SharedModule] });
|
|
1148
1208
|
}
|
|
1149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: CascadeSelectModule, decorators: [{
|
|
1150
1210
|
type: NgModule,
|
|
1151
1211
|
args: [{
|
|
1152
1212
|
imports: [CommonModule, OverlayModule, SharedModule, RippleModule, AutoFocusModule, ChevronDownIcon, AngleRightIcon, TimesIcon],
|