cax-design-system 1.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 +47 -0
- package/accordion/accordion.d.ts +220 -0
- package/accordion/accordion.interface.d.ts +49 -0
- package/accordion/accordion.module.d.ts +13 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/public_api.d.ts +3 -0
- package/animate/animate.d.ts +40 -0
- package/animate/index.d.ts +5 -0
- package/animate/public_api.d.ts +1 -0
- package/animateonscroll/animateonscroll.d.ts +75 -0
- package/animateonscroll/index.d.ts +5 -0
- package/animateonscroll/public_api.d.ts +1 -0
- package/api/blockableui.d.ts +10 -0
- package/api/caxconfig.d.ts +24 -0
- package/api/confirmaeventtype.d.ts +8 -0
- package/api/confirmation.d.ts +91 -0
- package/api/confirmationservice.d.ts +30 -0
- package/api/contextmenuservice.d.ts +11 -0
- package/api/filtermatchmode.d.ts +22 -0
- package/api/filtermetadata.d.ts +18 -0
- package/api/filteroperator.d.ts +4 -0
- package/api/filterservice.d.ts +10 -0
- package/api/index.d.ts +5 -0
- package/api/lazyloadevent.d.ts +47 -0
- package/api/lazyloadmeta.d.ts +19 -0
- package/api/megamenuitem.d.ts +130 -0
- package/api/menuitem.d.ts +176 -0
- package/api/message.d.ts +30 -0
- package/api/messageservice.d.ts +32 -0
- package/api/overlayoptions.d.ts +188 -0
- package/api/overlayservice.d.ts +9 -0
- package/api/primeicons.d.ts +313 -0
- package/api/public_api.d.ts +33 -0
- package/api/scrolleroptions.d.ts +116 -0
- package/api/selectitem.d.ts +12 -0
- package/api/selectitemgroup.d.ts +10 -0
- package/api/shared.d.ts +24 -0
- package/api/sortevent.d.ts +12 -0
- package/api/sortmeta.d.ts +8 -0
- package/api/tablestate.d.ts +60 -0
- package/api/tooltipoptions.d.ts +69 -0
- package/api/translation.d.ts +135 -0
- package/api/translationkeys.d.ts +50 -0
- package/api/treedragdropservice.d.ts +12 -0
- package/api/treenode.d.ts +86 -0
- package/api/treenodedragevent.d.ts +27 -0
- package/api/treetablenode.d.ts +36 -0
- package/autocomplete/autocomplete.d.ts +629 -0
- package/autocomplete/autocomplete.interface.d.ts +164 -0
- package/autocomplete/index.d.ts +5 -0
- package/autocomplete/public_api.d.ts +2 -0
- package/autofocus/autofocus.d.ts +28 -0
- package/autofocus/index.d.ts +5 -0
- package/autofocus/public_api.d.ts +1 -0
- package/avatar/avatar.d.ts +73 -0
- package/avatar/avatar.module.d.ts +7 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/public_api.d.ts +2 -0
- package/avatargroup/avatargroup.d.ts +27 -0
- package/avatargroup/index.d.ts +5 -0
- package/avatargroup/public_api.d.ts +1 -0
- package/badge/badge.d.ts +23 -0
- package/badge/badge.directive.d.ts +33 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +5 -0
- package/badge/public_api.d.ts +3 -0
- package/baseicon/baseicon.d.ts +15 -0
- package/baseicon/index.d.ts +5 -0
- package/baseicon/public_api.d.ts +1 -0
- package/blockui/blockui.d.ts +64 -0
- package/blockui/blockui.interface.d.ts +11 -0
- package/blockui/index.d.ts +5 -0
- package/blockui/public_api.d.ts +2 -0
- package/breadcrumb/breadcrumb.d.ts +55 -0
- package/breadcrumb/breadcrumb.interface.d.ts +38 -0
- package/breadcrumb/breadcrumb.module.d.ts +13 -0
- package/breadcrumb/index.d.ts +5 -0
- package/breadcrumb/public_api.d.ts +3 -0
- package/button/button.d.ts +84 -0
- package/button/button.directive.d.ts +46 -0
- package/button/button.interface.d.ts +30 -0
- package/button/button.module.d.ts +9 -0
- package/button/index.d.ts +5 -0
- package/button/public_api.d.ts +4 -0
- package/buttongroup/buttongroup.d.ts +11 -0
- package/buttongroup/index.d.ts +5 -0
- package/buttongroup/public_api.d.ts +1 -0
- package/calendar/calendar.d.ts +712 -0
- package/calendar/calendar.interface.d.ts +204 -0
- package/calendar/calendar.module.d.ts +9 -0
- package/calendar/index.d.ts +5 -0
- package/calendar/public_api.d.ts +3 -0
- package/card/card.d.ts +53 -0
- package/card/card.interface.d.ts +27 -0
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/card/public_api.d.ts +3 -0
- package/carousel/carousel.d.ts +227 -0
- package/carousel/carousel.interface.d.ts +63 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/public_api.d.ts +2 -0
- package/cascadeselect/cascadeselect.d.ts +435 -0
- package/cascadeselect/cascadeselect.interface.d.ts +115 -0
- package/cascadeselect/cascadeselect.module.d.ts +15 -0
- package/cascadeselect/index.d.ts +5 -0
- package/cascadeselect/public_api.d.ts +3 -0
- package/chart/chart.d.ts +87 -0
- package/chart/index.d.ts +5 -0
- package/chart/public_api.d.ts +1 -0
- package/checkbox/checkbox.d.ts +164 -0
- package/checkbox/checkbox.interface.d.ts +26 -0
- package/checkbox/checkbox.module.d.ts +10 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public_api.d.ts +3 -0
- package/chip/chip.d.ts +37 -0
- package/chip/chip.interface.d.ts +15 -0
- package/chip/chip.module.d.ts +10 -0
- package/chip/index.d.ts +5 -0
- package/chip/public_api.d.ts +3 -0
- package/chips/chips.d.ts +221 -0
- package/chips/chips.interface.d.ts +58 -0
- package/chips/chips.module.d.ts +13 -0
- package/chips/index.d.ts +5 -0
- package/chips/public_api.d.ts +3 -0
- package/colorpicker/colorpicker.d.ts +247 -0
- package/colorpicker/colorpicker.interface.d.ts +15 -0
- package/colorpicker/index.d.ts +5 -0
- package/colorpicker/public_api.d.ts +2 -0
- package/confirmdialog/confirmdialog.d.ts +273 -0
- package/confirmdialog/confirmdialog.interface.d.ts +39 -0
- package/confirmdialog/index.d.ts +5 -0
- package/confirmdialog/public_api.d.ts +2 -0
- package/confirmpopup/confirmpopup.d.ts +119 -0
- package/confirmpopup/confirmpopup.interface.d.ts +27 -0
- package/confirmpopup/index.d.ts +5 -0
- package/confirmpopup/public_api.d.ts +2 -0
- package/contextmenu/contextmenu.d.ts +260 -0
- package/contextmenu/index.d.ts +5 -0
- package/contextmenu/public_api.d.ts +1 -0
- package/dataview/dataview.d.ts +274 -0
- package/dataview/dataview.interface.d.ts +183 -0
- package/dataview/index.d.ts +5 -0
- package/dataview/public_api.d.ts +2 -0
- package/defer/defer.d.ts +39 -0
- package/defer/index.d.ts +5 -0
- package/defer/public_api.d.ts +1 -0
- package/dialog/dialog.d.ts +373 -0
- package/dialog/dialog.interface.d.ts +31 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/public_api.d.ts +2 -0
- package/divider/divider.d.ts +49 -0
- package/divider/divider.module.d.ts +7 -0
- package/divider/index.d.ts +5 -0
- package/divider/public_api.d.ts +2 -0
- package/dock/dock.d.ts +115 -0
- package/dock/dock.interface.d.ts +19 -0
- package/dock/index.d.ts +5 -0
- package/dock/public_api.d.ts +2 -0
- package/dom/connectedoverlayscrollhandler.d.ts +9 -0
- package/dom/domhandler.d.ts +95 -0
- package/dom/index.d.ts +5 -0
- package/dom/public_api.d.ts +2 -0
- package/dragdrop/dragdrop.d.ts +112 -0
- package/dragdrop/dragdrop.module.d.ts +8 -0
- package/dragdrop/index.d.ts +5 -0
- package/dragdrop/public_api.d.ts +2 -0
- package/dropdown/dropdown-item.d.ts +30 -0
- package/dropdown/dropdown.d.ts +627 -0
- package/dropdown/dropdown.interface.d.ts +154 -0
- package/dropdown/dropdown.module.d.ts +11 -0
- package/dropdown/index.d.ts +5 -0
- package/dropdown/public_api.d.ts +4 -0
- package/dynamicdialog/dialogservice.d.ts +35 -0
- package/dynamicdialog/dynamicdialog-config.d.ts +221 -0
- package/dynamicdialog/dynamicdialog-injector.d.ts +7 -0
- package/dynamicdialog/dynamicdialog-ref.d.ts +101 -0
- package/dynamicdialog/dynamicdialog.d.ts +124 -0
- package/dynamicdialog/dynamicdialogcontent.d.ts +8 -0
- package/dynamicdialog/index.d.ts +5 -0
- package/dynamicdialog/public_api.d.ts +6 -0
- package/editor/editor.d.ts +111 -0
- package/editor/editor.interface.d.ts +64 -0
- package/editor/index.d.ts +5 -0
- package/editor/public_api.d.ts +2 -0
- package/esm2022/accordion/accordion.interface.mjs +2 -0
- package/esm2022/accordion/accordion.mjs +591 -0
- package/esm2022/accordion/accordion.module.mjs +23 -0
- package/esm2022/accordion/cax-design-system-accordion.mjs +5 -0
- package/esm2022/accordion/public_api.mjs +4 -0
- package/esm2022/animate/animate.mjs +101 -0
- package/esm2022/animate/cax-design-system-animate.mjs +5 -0
- package/esm2022/animate/public_api.mjs +2 -0
- package/esm2022/animateonscroll/animateonscroll.mjs +185 -0
- package/esm2022/animateonscroll/cax-design-system-animateonscroll.mjs +5 -0
- package/esm2022/animateonscroll/public_api.mjs +2 -0
- package/esm2022/api/blockableui.mjs +2 -0
- package/esm2022/api/cax-design-system-api.mjs +5 -0
- package/esm2022/api/caxconfig.mjs +163 -0
- package/esm2022/api/confirmaeventtype.mjs +10 -0
- package/esm2022/api/confirmation.mjs +2 -0
- package/esm2022/api/confirmationservice.mjs +43 -0
- package/esm2022/api/contextmenuservice.mjs +22 -0
- package/esm2022/api/filtermatchmode.mjs +23 -0
- package/esm2022/api/filtermetadata.mjs +2 -0
- package/esm2022/api/filteroperator.mjs +5 -0
- package/esm2022/api/filterservice.mjs +225 -0
- package/esm2022/api/lazyloadevent.mjs +2 -0
- package/esm2022/api/lazyloadmeta.mjs +2 -0
- package/esm2022/api/megamenuitem.mjs +2 -0
- package/esm2022/api/menuitem.mjs +2 -0
- package/esm2022/api/message.mjs +2 -0
- package/esm2022/api/messageservice.mjs +47 -0
- package/esm2022/api/overlayoptions.mjs +2 -0
- package/esm2022/api/overlayservice.mjs +19 -0
- package/esm2022/api/primeicons.mjs +314 -0
- package/esm2022/api/public_api.mjs +34 -0
- package/esm2022/api/scrolleroptions.mjs +2 -0
- package/esm2022/api/selectitem.mjs +2 -0
- package/esm2022/api/selectitemgroup.mjs +2 -0
- package/esm2022/api/shared.mjs +65 -0
- package/esm2022/api/sortevent.mjs +2 -0
- package/esm2022/api/sortmeta.mjs +2 -0
- package/esm2022/api/tablestate.mjs +2 -0
- package/esm2022/api/tooltipoptions.mjs +2 -0
- package/esm2022/api/translation.mjs +2 -0
- package/esm2022/api/translationkeys.mjs +51 -0
- package/esm2022/api/treedragdropservice.mjs +21 -0
- package/esm2022/api/treenode.mjs +2 -0
- package/esm2022/api/treenodedragevent.mjs +2 -0
- package/esm2022/api/treetablenode.mjs +2 -0
- package/esm2022/autocomplete/autocomplete.interface.mjs +2 -0
- package/esm2022/autocomplete/autocomplete.mjs +1880 -0
- package/esm2022/autocomplete/cax-design-system-autocomplete.mjs +5 -0
- package/esm2022/autocomplete/public_api.mjs +3 -0
- package/esm2022/autofocus/autofocus.mjs +78 -0
- package/esm2022/autofocus/cax-design-system-autofocus.mjs +5 -0
- package/esm2022/autofocus/public_api.mjs +2 -0
- package/esm2022/avatar/avatar.mjs +104 -0
- package/esm2022/avatar/avatar.module.mjs +16 -0
- package/esm2022/avatar/cax-design-system-avatar.mjs +5 -0
- package/esm2022/avatar/public_api.mjs +3 -0
- package/esm2022/avatargroup/avatargroup.mjs +54 -0
- package/esm2022/avatargroup/cax-design-system-avatargroup.mjs +5 -0
- package/esm2022/avatargroup/public_api.mjs +2 -0
- package/esm2022/badge/badge.directive.mjs +199 -0
- package/esm2022/badge/badge.mjs +51 -0
- package/esm2022/badge/badge.module.mjs +20 -0
- package/esm2022/badge/cax-design-system-badge.mjs +5 -0
- package/esm2022/badge/public_api.mjs +4 -0
- package/esm2022/baseicon/baseicon.mjs +45 -0
- package/esm2022/baseicon/cax-design-system-baseicon.mjs +5 -0
- package/esm2022/baseicon/public_api.mjs +2 -0
- package/esm2022/blockui/blockui.interface.mjs +2 -0
- package/esm2022/blockui/blockui.mjs +206 -0
- package/esm2022/blockui/cax-design-system-blockui.mjs +5 -0
- package/esm2022/blockui/public_api.mjs +3 -0
- package/esm2022/breadcrumb/breadcrumb.interface.mjs +2 -0
- package/esm2022/breadcrumb/breadcrumb.mjs +120 -0
- package/esm2022/breadcrumb/breadcrumb.module.mjs +23 -0
- package/esm2022/breadcrumb/cax-design-system-breadcrumb.mjs +5 -0
- package/esm2022/breadcrumb/public_api.mjs +4 -0
- package/esm2022/button/button.directive.mjs +227 -0
- package/esm2022/button/button.interface.mjs +2 -0
- package/esm2022/button/button.mjs +189 -0
- package/esm2022/button/button.module.mjs +18 -0
- package/esm2022/button/cax-design-system-button.mjs +5 -0
- package/esm2022/button/public_api.mjs +5 -0
- package/esm2022/buttongroup/buttongroup.mjs +38 -0
- package/esm2022/buttongroup/cax-design-system-buttongroup.mjs +5 -0
- package/esm2022/buttongroup/public_api.mjs +2 -0
- package/esm2022/calendar/calendar.interface.mjs +2 -0
- package/esm2022/calendar/calendar.mjs +3192 -0
- package/esm2022/calendar/calendar.module.mjs +18 -0
- package/esm2022/calendar/cax-design-system-calendar.mjs +5 -0
- package/esm2022/calendar/public_api.mjs +4 -0
- package/esm2022/card/card.interface.mjs +2 -0
- package/esm2022/card/card.mjs +117 -0
- package/esm2022/card/card.module.mjs +21 -0
- package/esm2022/card/cax-design-system-card.mjs +5 -0
- package/esm2022/card/public_api.mjs +4 -0
- package/esm2022/carousel/carousel.interface.mjs +2 -0
- package/esm2022/carousel/carousel.mjs +968 -0
- package/esm2022/carousel/cax-design-system-carousel.mjs +5 -0
- package/esm2022/carousel/public_api.mjs +3 -0
- package/esm2022/cascadeselect/cascadeselect.interface.mjs +2 -0
- package/esm2022/cascadeselect/cascadeselect.mjs +1135 -0
- package/esm2022/cascadeselect/cascadeselect.module.mjs +25 -0
- package/esm2022/cascadeselect/cax-design-system-cascadeselect.mjs +5 -0
- package/esm2022/cascadeselect/public_api.mjs +4 -0
- package/esm2022/cax-design-system.mjs +5 -0
- package/esm2022/chart/cax-design-system-chart.mjs +5 -0
- package/esm2022/chart/chart.mjs +236 -0
- package/esm2022/chart/public_api.mjs +2 -0
- package/esm2022/checkbox/cax-design-system-checkbox.mjs +5 -0
- package/esm2022/checkbox/checkbox.interface.mjs +2 -0
- package/esm2022/checkbox/checkbox.mjs +303 -0
- package/esm2022/checkbox/checkbox.module.mjs +20 -0
- package/esm2022/checkbox/public_api.mjs +4 -0
- package/esm2022/chip/cax-design-system-chip.mjs +5 -0
- package/esm2022/chip/chip.interface.mjs +2 -0
- package/esm2022/chip/chip.mjs +86 -0
- package/esm2022/chip/chip.module.mjs +20 -0
- package/esm2022/chip/public_api.mjs +4 -0
- package/esm2022/chips/cax-design-system-chips.mjs +5 -0
- package/esm2022/chips/chips.interface.mjs +2 -0
- package/esm2022/chips/chips.mjs +568 -0
- package/esm2022/chips/chips.module.mjs +22 -0
- package/esm2022/chips/public_api.mjs +4 -0
- package/esm2022/colorpicker/cax-design-system-colorpicker.mjs +5 -0
- package/esm2022/colorpicker/colorpicker.interface.mjs +2 -0
- package/esm2022/colorpicker/colorpicker.mjs +829 -0
- package/esm2022/colorpicker/public_api.mjs +3 -0
- package/esm2022/confirmdialog/cax-design-system-confirmdialog.mjs +5 -0
- package/esm2022/confirmdialog/confirmdialog.interface.mjs +2 -0
- package/esm2022/confirmdialog/confirmdialog.mjs +689 -0
- package/esm2022/confirmdialog/public_api.mjs +3 -0
- package/esm2022/confirmpopup/cax-design-system-confirmpopup.mjs +5 -0
- package/esm2022/confirmpopup/confirmpopup.interface.mjs +2 -0
- package/esm2022/confirmpopup/confirmpopup.mjs +499 -0
- package/esm2022/confirmpopup/public_api.mjs +3 -0
- package/esm2022/contextmenu/cax-design-system-contextmenu.mjs +5 -0
- package/esm2022/contextmenu/contextmenu.mjs +1304 -0
- package/esm2022/contextmenu/public_api.mjs +2 -0
- package/esm2022/dataview/cax-design-system-dataview.mjs +5 -0
- package/esm2022/dataview/dataview.interface.mjs +2 -0
- package/esm2022/dataview/dataview.mjs +723 -0
- package/esm2022/dataview/public_api.mjs +3 -0
- package/esm2022/defer/cax-design-system-defer.mjs +5 -0
- package/esm2022/defer/defer.mjs +111 -0
- package/esm2022/defer/public_api.mjs +2 -0
- package/esm2022/dialog/cax-design-system-dialog.mjs +5 -0
- package/esm2022/dialog/dialog.interface.mjs +2 -0
- package/esm2022/dialog/dialog.mjs +1168 -0
- package/esm2022/dialog/public_api.mjs +3 -0
- package/esm2022/divider/cax-design-system-divider.mjs +5 -0
- package/esm2022/divider/divider.mjs +69 -0
- package/esm2022/divider/divider.module.mjs +16 -0
- package/esm2022/divider/public_api.mjs +3 -0
- package/esm2022/dock/cax-design-system-dock.mjs +5 -0
- package/esm2022/dock/dock.interface.mjs +2 -0
- package/esm2022/dock/dock.mjs +431 -0
- package/esm2022/dock/public_api.mjs +3 -0
- package/esm2022/dom/cax-design-system-dom.mjs +5 -0
- package/esm2022/dom/connectedoverlayscrollhandler.mjs +30 -0
- package/esm2022/dom/domhandler.mjs +722 -0
- package/esm2022/dom/public_api.mjs +3 -0
- package/esm2022/dragdrop/cax-design-system-dragdrop.mjs +5 -0
- package/esm2022/dragdrop/dragdrop.mjs +309 -0
- package/esm2022/dragdrop/dragdrop.module.mjs +18 -0
- package/esm2022/dragdrop/public_api.mjs +3 -0
- package/esm2022/dropdown/cax-design-system-dropdown.mjs +5 -0
- package/esm2022/dropdown/dropdown-item.mjs +72 -0
- package/esm2022/dropdown/dropdown.interface.mjs +2 -0
- package/esm2022/dropdown/dropdown.mjs +1597 -0
- package/esm2022/dropdown/dropdown.module.mjs +20 -0
- package/esm2022/dropdown/public_api.mjs +5 -0
- package/esm2022/dynamicdialog/cax-design-system-dynamicdialog.mjs +5 -0
- package/esm2022/dynamicdialog/dialogservice.mjs +102 -0
- package/esm2022/dynamicdialog/dynamicdialog-config.mjs +187 -0
- package/esm2022/dynamicdialog/dynamicdialog-injector.mjs +15 -0
- package/esm2022/dynamicdialog/dynamicdialog-ref.mjs +119 -0
- package/esm2022/dynamicdialog/dynamicdialog.mjs +696 -0
- package/esm2022/dynamicdialog/dynamicdialogcontent.mjs +20 -0
- package/esm2022/dynamicdialog/public_api.mjs +7 -0
- package/esm2022/editor/cax-design-system-editor.mjs +5 -0
- package/esm2022/editor/editor.interface.mjs +2 -0
- package/esm2022/editor/editor.mjs +392 -0
- package/esm2022/editor/public_api.mjs +3 -0
- package/esm2022/fieldset/cax-design-system-fieldset.mjs +5 -0
- package/esm2022/fieldset/fieldset.interface.mjs +2 -0
- package/esm2022/fieldset/fieldset.mjs +297 -0
- package/esm2022/fieldset/public_api.mjs +3 -0
- package/esm2022/fileupload/cax-design-system-fileupload.mjs +5 -0
- package/esm2022/fileupload/fileupload.interface.mjs +2 -0
- package/esm2022/fileupload/fileupload.mjs +1188 -0
- package/esm2022/fileupload/public_api.mjs +3 -0
- package/esm2022/floatlabel/cax-design-system-floatlabel.mjs +5 -0
- package/esm2022/floatlabel/floatlabel.mjs +44 -0
- package/esm2022/floatlabel/public_api.mjs +2 -0
- package/esm2022/focustrap/cax-design-system-focustrap.mjs +5 -0
- package/esm2022/focustrap/focustrap.mjs +103 -0
- package/esm2022/focustrap/public_api.mjs +2 -0
- package/esm2022/galleria/cax-design-system-galleria.mjs +5 -0
- package/esm2022/galleria/galleria.interface.mjs +2 -0
- package/esm2022/galleria/galleria.mjs +1668 -0
- package/esm2022/galleria/public_api.mjs +3 -0
- package/esm2022/iconfield/cax-design-system-iconfield.mjs +5 -0
- package/esm2022/iconfield/iconfield.mjs +44 -0
- package/esm2022/iconfield/public_api.mjs +2 -0
- package/esm2022/icons/angledoubledown/angledoubledown.mjs +35 -0
- package/esm2022/icons/angledoubledown/cax-design-system-icons-angledoubledown.mjs +5 -0
- package/esm2022/icons/angledoubledown/public_api.mjs +2 -0
- package/esm2022/icons/angledoubleleft/angledoubleleft.mjs +35 -0
- package/esm2022/icons/angledoubleleft/cax-design-system-icons-angledoubleleft.mjs +5 -0
- package/esm2022/icons/angledoubleleft/public_api.mjs +2 -0
- package/esm2022/icons/angledoubleright/angledoubleright.mjs +35 -0
- package/esm2022/icons/angledoubleright/cax-design-system-icons-angledoubleright.mjs +5 -0
- package/esm2022/icons/angledoubleright/public_api.mjs +2 -0
- package/esm2022/icons/angledoubleup/angledoubleup.mjs +35 -0
- package/esm2022/icons/angledoubleup/cax-design-system-icons-angledoubleup.mjs +5 -0
- package/esm2022/icons/angledoubleup/public_api.mjs +2 -0
- package/esm2022/icons/angledown/angledown.mjs +31 -0
- package/esm2022/icons/angledown/cax-design-system-icons-angledown.mjs +5 -0
- package/esm2022/icons/angledown/public_api.mjs +2 -0
- package/esm2022/icons/angleleft/angleleft.mjs +31 -0
- package/esm2022/icons/angleleft/cax-design-system-icons-angleleft.mjs +5 -0
- package/esm2022/icons/angleleft/public_api.mjs +2 -0
- package/esm2022/icons/angleright/angleright.mjs +31 -0
- package/esm2022/icons/angleright/cax-design-system-icons-angleright.mjs +5 -0
- package/esm2022/icons/angleright/public_api.mjs +2 -0
- package/esm2022/icons/angleup/angleup.mjs +31 -0
- package/esm2022/icons/angleup/cax-design-system-icons-angleup.mjs +5 -0
- package/esm2022/icons/angleup/public_api.mjs +2 -0
- package/esm2022/icons/arrowdown/arrowdown.mjs +54 -0
- package/esm2022/icons/arrowdown/cax-design-system-icons-arrowdown.mjs +5 -0
- package/esm2022/icons/arrowdown/public_api.mjs +2 -0
- package/esm2022/icons/arrowdownleft/arrowdownleft.mjs +31 -0
- package/esm2022/icons/arrowdownleft/cax-design-system-icons-arrowdownleft.mjs +5 -0
- package/esm2022/icons/arrowdownleft/public_api.mjs +2 -0
- package/esm2022/icons/arrowdownright/arrowdownright.mjs +31 -0
- package/esm2022/icons/arrowdownright/cax-design-system-icons-arrowdownright.mjs +5 -0
- package/esm2022/icons/arrowdownright/public_api.mjs +2 -0
- package/esm2022/icons/arrowleft/arrowleft.mjs +54 -0
- package/esm2022/icons/arrowleft/cax-design-system-icons-arrowleft.mjs +5 -0
- package/esm2022/icons/arrowleft/public_api.mjs +2 -0
- package/esm2022/icons/arrowright/arrowright.mjs +35 -0
- package/esm2022/icons/arrowright/cax-design-system-icons-arrowright.mjs +5 -0
- package/esm2022/icons/arrowright/public_api.mjs +2 -0
- package/esm2022/icons/arrowup/arrowup.mjs +54 -0
- package/esm2022/icons/arrowup/cax-design-system-icons-arrowup.mjs +5 -0
- package/esm2022/icons/arrowup/public_api.mjs +2 -0
- package/esm2022/icons/ban/ban.mjs +50 -0
- package/esm2022/icons/ban/cax-design-system-icons-ban.mjs +5 -0
- package/esm2022/icons/ban/public_api.mjs +2 -0
- package/esm2022/icons/bars/bars.mjs +35 -0
- package/esm2022/icons/bars/cax-design-system-icons-bars.mjs +5 -0
- package/esm2022/icons/bars/public_api.mjs +2 -0
- package/esm2022/icons/blank/blank.mjs +25 -0
- package/esm2022/icons/blank/cax-design-system-icons-blank.mjs +5 -0
- package/esm2022/icons/blank/public_api.mjs +2 -0
- package/esm2022/icons/calendar/calendar.mjs +31 -0
- package/esm2022/icons/calendar/cax-design-system-icons-calendar.mjs +5 -0
- package/esm2022/icons/calendar/public_api.mjs +2 -0
- package/esm2022/icons/caretleft/caretleft.mjs +31 -0
- package/esm2022/icons/caretleft/cax-design-system-icons-caretleft.mjs +5 -0
- package/esm2022/icons/caretleft/public_api.mjs +2 -0
- package/esm2022/icons/caretright/caretright.mjs +31 -0
- package/esm2022/icons/caretright/cax-design-system-icons-caretright.mjs +5 -0
- package/esm2022/icons/caretright/public_api.mjs +2 -0
- package/esm2022/icons/check/cax-design-system-icons-check.mjs +5 -0
- package/esm2022/icons/check/check.mjs +31 -0
- package/esm2022/icons/check/public_api.mjs +2 -0
- package/esm2022/icons/chevrondown/cax-design-system-icons-chevrondown.mjs +5 -0
- package/esm2022/icons/chevrondown/chevrondown.mjs +31 -0
- package/esm2022/icons/chevrondown/public_api.mjs +2 -0
- package/esm2022/icons/chevronleft/cax-design-system-icons-chevronleft.mjs +5 -0
- package/esm2022/icons/chevronleft/chevronleft.mjs +31 -0
- package/esm2022/icons/chevronleft/public_api.mjs +2 -0
- package/esm2022/icons/chevronright/cax-design-system-icons-chevronright.mjs +5 -0
- package/esm2022/icons/chevronright/chevronright.mjs +31 -0
- package/esm2022/icons/chevronright/public_api.mjs +2 -0
- package/esm2022/icons/chevronup/cax-design-system-icons-chevronup.mjs +5 -0
- package/esm2022/icons/chevronup/chevronup.mjs +31 -0
- package/esm2022/icons/chevronup/public_api.mjs +2 -0
- package/esm2022/icons/exclamationtriangle/cax-design-system-icons-exclamationtriangle.mjs +5 -0
- package/esm2022/icons/exclamationtriangle/exclamationtriangle.mjs +66 -0
- package/esm2022/icons/exclamationtriangle/public_api.mjs +2 -0
- package/esm2022/icons/eye/cax-design-system-icons-eye.mjs +5 -0
- package/esm2022/icons/eye/eye.mjs +35 -0
- package/esm2022/icons/eye/public_api.mjs +2 -0
- package/esm2022/icons/eyeslash/cax-design-system-icons-eyeslash.mjs +5 -0
- package/esm2022/icons/eyeslash/eyeslash.mjs +54 -0
- package/esm2022/icons/eyeslash/public_api.mjs +2 -0
- package/esm2022/icons/filter/cax-design-system-icons-filter.mjs +5 -0
- package/esm2022/icons/filter/filter.mjs +50 -0
- package/esm2022/icons/filter/public_api.mjs +2 -0
- package/esm2022/icons/filterslash/cax-design-system-icons-filterslash.mjs +5 -0
- package/esm2022/icons/filterslash/filterslash.mjs +54 -0
- package/esm2022/icons/filterslash/public_api.mjs +2 -0
- package/esm2022/icons/home/cax-design-system-icons-home.mjs +5 -0
- package/esm2022/icons/home/home.mjs +54 -0
- package/esm2022/icons/home/public_api.mjs +2 -0
- package/esm2022/icons/infocircle/cax-design-system-icons-infocircle.mjs +5 -0
- package/esm2022/icons/infocircle/infocircle.mjs +54 -0
- package/esm2022/icons/infocircle/public_api.mjs +2 -0
- package/esm2022/icons/minus/cax-design-system-icons-minus.mjs +5 -0
- package/esm2022/icons/minus/minus.mjs +32 -0
- package/esm2022/icons/minus/public_api.mjs +2 -0
- package/esm2022/icons/pencil/cax-design-system-icons-pencil.mjs +5 -0
- package/esm2022/icons/pencil/pencil.mjs +50 -0
- package/esm2022/icons/pencil/public_api.mjs +2 -0
- package/esm2022/icons/plus/cax-design-system-icons-plus.mjs +5 -0
- package/esm2022/icons/plus/plus.mjs +50 -0
- package/esm2022/icons/plus/public_api.mjs +2 -0
- package/esm2022/icons/refresh/cax-design-system-icons-refresh.mjs +5 -0
- package/esm2022/icons/refresh/public_api.mjs +2 -0
- package/esm2022/icons/refresh/refresh.mjs +54 -0
- package/esm2022/icons/search/cax-design-system-icons-search.mjs +5 -0
- package/esm2022/icons/search/public_api.mjs +2 -0
- package/esm2022/icons/search/search.mjs +54 -0
- package/esm2022/icons/searchminus/cax-design-system-icons-searchminus.mjs +5 -0
- package/esm2022/icons/searchminus/public_api.mjs +2 -0
- package/esm2022/icons/searchminus/searchminus.mjs +54 -0
- package/esm2022/icons/searchplus/cax-design-system-icons-searchplus.mjs +5 -0
- package/esm2022/icons/searchplus/public_api.mjs +2 -0
- package/esm2022/icons/searchplus/searchplus.mjs +54 -0
- package/esm2022/icons/sortalt/cax-design-system-icons-sortalt.mjs +5 -0
- package/esm2022/icons/sortalt/public_api.mjs +2 -0
- package/esm2022/icons/sortalt/sortalt.mjs +62 -0
- package/esm2022/icons/sortamountdown/cax-design-system-icons-sortamountdown.mjs +5 -0
- package/esm2022/icons/sortamountdown/public_api.mjs +2 -0
- package/esm2022/icons/sortamountdown/sortamountdown.mjs +50 -0
- package/esm2022/icons/sortamountupalt/cax-design-system-icons-sortamountupalt.mjs +5 -0
- package/esm2022/icons/sortamountupalt/public_api.mjs +2 -0
- package/esm2022/icons/sortamountupalt/sortamountupalt.mjs +50 -0
- package/esm2022/icons/spinner/cax-design-system-icons-spinner.mjs +5 -0
- package/esm2022/icons/spinner/public_api.mjs +2 -0
- package/esm2022/icons/spinner/spinner.mjs +50 -0
- package/esm2022/icons/star/cax-design-system-icons-star.mjs +5 -0
- package/esm2022/icons/star/public_api.mjs +2 -0
- package/esm2022/icons/star/star.mjs +50 -0
- package/esm2022/icons/starfill/cax-design-system-icons-starfill.mjs +5 -0
- package/esm2022/icons/starfill/public_api.mjs +2 -0
- package/esm2022/icons/starfill/starfill.mjs +50 -0
- package/esm2022/icons/thlarge/cax-design-system-icons-thlarge.mjs +5 -0
- package/esm2022/icons/thlarge/public_api.mjs +2 -0
- package/esm2022/icons/thlarge/thlarge.mjs +54 -0
- package/esm2022/icons/times/cax-design-system-icons-times.mjs +5 -0
- package/esm2022/icons/times/public_api.mjs +2 -0
- package/esm2022/icons/times/times.mjs +31 -0
- package/esm2022/icons/timescircle/cax-design-system-icons-timescircle.mjs +5 -0
- package/esm2022/icons/timescircle/public_api.mjs +2 -0
- package/esm2022/icons/timescircle/timescircle.mjs +54 -0
- package/esm2022/icons/trash/cax-design-system-icons-trash.mjs +5 -0
- package/esm2022/icons/trash/public_api.mjs +2 -0
- package/esm2022/icons/trash/trash.mjs +54 -0
- package/esm2022/icons/undo/cax-design-system-icons-undo.mjs +5 -0
- package/esm2022/icons/undo/public_api.mjs +2 -0
- package/esm2022/icons/undo/undo.mjs +54 -0
- package/esm2022/icons/upload/cax-design-system-icons-upload.mjs +5 -0
- package/esm2022/icons/upload/public_api.mjs +2 -0
- package/esm2022/icons/upload/upload.mjs +54 -0
- package/esm2022/icons/windowmaximize/cax-design-system-icons-windowmaximize.mjs +5 -0
- package/esm2022/icons/windowmaximize/public_api.mjs +2 -0
- package/esm2022/icons/windowmaximize/windowmaximize.mjs +54 -0
- package/esm2022/icons/windowminimize/cax-design-system-icons-windowminimize.mjs +5 -0
- package/esm2022/icons/windowminimize/public_api.mjs +2 -0
- package/esm2022/icons/windowminimize/windowminimize.mjs +54 -0
- package/esm2022/image/cax-design-system-image.mjs +5 -0
- package/esm2022/image/image.interface.mjs +2 -0
- package/esm2022/image/image.mjs +418 -0
- package/esm2022/image/image.module.mjs +17 -0
- package/esm2022/image/public_api.mjs +4 -0
- package/esm2022/inplace/cax-design-system-inplace.mjs +5 -0
- package/esm2022/inplace/inplace.interface.mjs +2 -0
- package/esm2022/inplace/inplace.mjs +243 -0
- package/esm2022/inplace/public_api.mjs +3 -0
- package/esm2022/inputgroup/cax-design-system-inputgroup.mjs +5 -0
- package/esm2022/inputgroup/inputgroup.mjs +48 -0
- package/esm2022/inputgroup/inputgroup.module.mjs +25 -0
- package/esm2022/inputgroup/public_api.mjs +3 -0
- package/esm2022/inputgroupaddon/cax-design-system-inputgroupaddon.mjs +5 -0
- package/esm2022/inputgroupaddon/inputgroupaddon.mjs +32 -0
- package/esm2022/inputgroupaddon/inputgroupaddon.module.mjs +24 -0
- package/esm2022/inputgroupaddon/public_api.mjs +3 -0
- package/esm2022/inputicon/cax-design-system-inputicon.mjs +5 -0
- package/esm2022/inputicon/inputicon.mjs +38 -0
- package/esm2022/inputicon/public_api.mjs +2 -0
- package/esm2022/inputmask/cax-design-system-inputmask.mjs +5 -0
- package/esm2022/inputmask/inputmask.interface.mjs +2 -0
- package/esm2022/inputmask/inputmask.mjs +914 -0
- package/esm2022/inputmask/public_api.mjs +3 -0
- package/esm2022/inputnumber/cax-design-system-inputnumber.mjs +5 -0
- package/esm2022/inputnumber/inputnumber.interface.mjs +2 -0
- package/esm2022/inputnumber/inputnumber.mjs +1290 -0
- package/esm2022/inputnumber/inputnumber.module.mjs +17 -0
- package/esm2022/inputnumber/public_api.mjs +4 -0
- package/esm2022/inputotp/cax-design-system-inputotp.mjs +5 -0
- package/esm2022/inputotp/inputotp.interface.mjs +2 -0
- package/esm2022/inputotp/inputotp.mjs +381 -0
- package/esm2022/inputotp/public_api.mjs +3 -0
- package/esm2022/inputswitch/cax-design-system-inputswitch.mjs +5 -0
- package/esm2022/inputswitch/inputswitch.interface.mjs +2 -0
- package/esm2022/inputswitch/inputswitch.mjs +244 -0
- package/esm2022/inputswitch/public_api.mjs +3 -0
- package/esm2022/inputtext/cax-design-system-inputtext.mjs +5 -0
- package/esm2022/inputtext/inputtext.component.mjs +74 -0
- package/esm2022/inputtext/inputtext.directive.mjs +52 -0
- package/esm2022/inputtext/inputtext.module.mjs +20 -0
- package/esm2022/inputtext/public_api.mjs +4 -0
- package/esm2022/inputtextarea/cax-design-system-inputtextarea.mjs +5 -0
- package/esm2022/inputtextarea/inputtextarea.mjs +135 -0
- package/esm2022/inputtextarea/public_api.mjs +2 -0
- package/esm2022/keyfilter/cax-design-system-keyfilter.mjs +5 -0
- package/esm2022/keyfilter/keyfilter.interface.mjs +2 -0
- package/esm2022/keyfilter/keyfilter.mjs +265 -0
- package/esm2022/keyfilter/public_api.mjs +3 -0
- package/esm2022/knob/cax-design-system-knob.mjs +5 -0
- package/esm2022/knob/knob.mjs +464 -0
- package/esm2022/knob/public_api.mjs +2 -0
- package/esm2022/listbox/cax-design-system-listbox.mjs +5 -0
- package/esm2022/listbox/listbox.interface.mjs +2 -0
- package/esm2022/listbox/listbox.mjs +1555 -0
- package/esm2022/listbox/public_api.mjs +3 -0
- package/esm2022/logo/cax-design-system-logo.mjs +5 -0
- package/esm2022/logo/logo.mjs +45 -0
- package/esm2022/logo/logo.module.mjs +16 -0
- package/esm2022/logo/public_api.mjs +3 -0
- package/esm2022/megamenu/cax-design-system-megamenu.mjs +5 -0
- package/esm2022/megamenu/megamenu.interface.mjs +2 -0
- package/esm2022/megamenu/megamenu.mjs +1190 -0
- package/esm2022/megamenu/public_api.mjs +3 -0
- package/esm2022/menu/cax-design-system-menu.mjs +5 -0
- package/esm2022/menu/menu.mjs +953 -0
- package/esm2022/menu/public_api.mjs +2 -0
- package/esm2022/menubar/cax-design-system-menubar.mjs +5 -0
- package/esm2022/menubar/menubar.interface.mjs +2 -0
- package/esm2022/menubar/menubar.mjs +1249 -0
- package/esm2022/menubar/public_api.mjs +3 -0
- package/esm2022/message/cax-design-system-message.mjs +5 -0
- package/esm2022/message/message.mjs +112 -0
- package/esm2022/message/public_api.mjs +2 -0
- package/esm2022/messages/cax-design-system-messages.mjs +5 -0
- package/esm2022/messages/messages.interface.mjs +2 -0
- package/esm2022/messages/messages.mjs +283 -0
- package/esm2022/messages/messages.module.mjs +17 -0
- package/esm2022/messages/public_api.mjs +4 -0
- package/esm2022/metergroup/cax-design-system-metergroup.mjs +5 -0
- package/esm2022/metergroup/metergroup.interface.mjs +2 -0
- package/esm2022/metergroup/metergroup.mjs +280 -0
- package/esm2022/metergroup/public_api.mjs +3 -0
- package/esm2022/multiselect/cax-design-system-multiselect.mjs +5 -0
- package/esm2022/multiselect/multiselect.interface.mjs +2 -0
- package/esm2022/multiselect/multiselect.mjs +2525 -0
- package/esm2022/multiselect/public_api.mjs +3 -0
- package/esm2022/navigation/cax-design-system-navigation.mjs +5 -0
- package/esm2022/navigation/navigation.interface.mjs +2 -0
- package/esm2022/navigation/navigation.mjs +261 -0
- package/esm2022/navigation/navigation.module.mjs +16 -0
- package/esm2022/navigation/public_api.mjs +3 -0
- package/esm2022/orderlist/cax-design-system-orderlist.mjs +5 -0
- package/esm2022/orderlist/orderlist.interface.mjs +2 -0
- package/esm2022/orderlist/orderlist.mjs +993 -0
- package/esm2022/orderlist/public_api.mjs +3 -0
- package/esm2022/organizationchart/cax-design-system-organizationchart.mjs +5 -0
- package/esm2022/organizationchart/organizationchart.interface.mjs +2 -0
- package/esm2022/organizationchart/organizationchart.mjs +416 -0
- package/esm2022/organizationchart/public_api.mjs +3 -0
- package/esm2022/overlay/cax-design-system-overlay.mjs +5 -0
- package/esm2022/overlay/overlay.mjs +579 -0
- package/esm2022/overlay/overlay.module.mjs +17 -0
- package/esm2022/overlay/public_api.mjs +3 -0
- package/esm2022/overlaypanel/cax-design-system-overlaypanel.mjs +5 -0
- package/esm2022/overlaypanel/overlaypanel.mjs +470 -0
- package/esm2022/overlaypanel/overlaypanel.module.mjs +17 -0
- package/esm2022/overlaypanel/public_api.mjs +3 -0
- package/esm2022/paginator/cax-design-system-paginator.mjs +5 -0
- package/esm2022/paginator/paginator.interface.mjs +2 -0
- package/esm2022/paginator/paginator.mjs +424 -0
- package/esm2022/paginator/paginator.module.mjs +27 -0
- package/esm2022/paginator/public_api.mjs +4 -0
- package/esm2022/panel/cax-design-system-panel.mjs +5 -0
- package/esm2022/panel/panel.interface.mjs +2 -0
- package/esm2022/panel/panel.mjs +393 -0
- package/esm2022/panel/public_api.mjs +3 -0
- package/esm2022/panelmenu/cax-design-system-panelmenu.mjs +5 -0
- package/esm2022/panelmenu/panelmenu.interface.mjs +2 -0
- package/esm2022/panelmenu/panelmenu.mjs +1276 -0
- package/esm2022/panelmenu/public_api.mjs +3 -0
- package/esm2022/password/cax-design-system-password.mjs +5 -0
- package/esm2022/password/password.mjs +1017 -0
- package/esm2022/password/public_api.mjs +2 -0
- package/esm2022/picklist/cax-design-system-picklist.mjs +5 -0
- package/esm2022/picklist/picklist.interface.mjs +2 -0
- package/esm2022/picklist/picklist.mjs +1909 -0
- package/esm2022/picklist/public_api.mjs +3 -0
- package/esm2022/progressbar/cax-design-system-progressbar.mjs +5 -0
- package/esm2022/progressbar/progressbar.mjs +86 -0
- package/esm2022/progressbar/progressbar.module.mjs +18 -0
- package/esm2022/progressbar/public_api.mjs +3 -0
- package/esm2022/progressspinner/cax-design-system-progressspinner.mjs +5 -0
- package/esm2022/progressspinner/progressspinner.mjs +112 -0
- package/esm2022/progressspinner/progressspinner.module.mjs +18 -0
- package/esm2022/progressspinner/public_api.mjs +3 -0
- package/esm2022/public_api.mjs +2 -0
- package/esm2022/radiobutton/cax-design-system-radiobutton.mjs +5 -0
- package/esm2022/radiobutton/public_api.mjs +4 -0
- package/esm2022/radiobutton/radiobutton.interface.mjs +2 -0
- package/esm2022/radiobutton/radiobutton.mjs +277 -0
- package/esm2022/radiobutton/radiobutton.module.mjs +16 -0
- package/esm2022/rating/cax-design-system-rating.mjs +5 -0
- package/esm2022/rating/public_api.mjs +3 -0
- package/esm2022/rating/rating.interface.mjs +2 -0
- package/esm2022/rating/rating.mjs +388 -0
- package/esm2022/ripple/cax-design-system-ripple.mjs +5 -0
- package/esm2022/ripple/public_api.mjs +3 -0
- package/esm2022/ripple/ripple.mjs +129 -0
- package/esm2022/ripple/ripple.module.mjs +16 -0
- package/esm2022/scroller/cax-design-system-scroller.mjs +5 -0
- package/esm2022/scroller/public_api.mjs +4 -0
- package/esm2022/scroller/scroller.interface.mjs +2 -0
- package/esm2022/scroller/scroller.mjs +981 -0
- package/esm2022/scroller/scroller.module.mjs +17 -0
- package/esm2022/scrollpanel/cax-design-system-scrollpanel.mjs +5 -0
- package/esm2022/scrollpanel/public_api.mjs +3 -0
- package/esm2022/scrollpanel/scrollpanel.interface.mjs +2 -0
- package/esm2022/scrollpanel/scrollpanel.mjs +501 -0
- package/esm2022/scrolltop/cax-design-system-scrolltop.mjs +5 -0
- package/esm2022/scrolltop/public_api.mjs +3 -0
- package/esm2022/scrolltop/scrolltop.interface.mjs +2 -0
- package/esm2022/scrolltop/scrolltop.mjs +282 -0
- package/esm2022/selectbutton/cax-design-system-selectbutton.mjs +5 -0
- package/esm2022/selectbutton/public_api.mjs +3 -0
- package/esm2022/selectbutton/selectbutton.interface.mjs +2 -0
- package/esm2022/selectbutton/selectbutton.mjs +378 -0
- package/esm2022/sidebar/cax-design-system-sidebar.mjs +5 -0
- package/esm2022/sidebar/public_api.mjs +4 -0
- package/esm2022/sidebar/sidebar.interface.mjs +2 -0
- package/esm2022/sidebar/sidebar.mjs +419 -0
- package/esm2022/sidebar/sidebar.module.mjs +21 -0
- package/esm2022/skeleton/cax-design-system-skeleton.mjs +5 -0
- package/esm2022/skeleton/public_api.mjs +3 -0
- package/esm2022/skeleton/skeleton.mjs +87 -0
- package/esm2022/skeleton/skeleton.module.mjs +18 -0
- package/esm2022/slidemenu/cax-design-system-slidemenu.mjs +5 -0
- package/esm2022/slidemenu/public_api.mjs +3 -0
- package/esm2022/slidemenu/slidemenu.interface.mjs +2 -0
- package/esm2022/slidemenu/slidemenu.mjs +1501 -0
- package/esm2022/slider/cax-design-system-slider.mjs +5 -0
- package/esm2022/slider/public_api.mjs +3 -0
- package/esm2022/slider/slider.interface.mjs +2 -0
- package/esm2022/slider/slider.mjs +796 -0
- package/esm2022/speeddial/cax-design-system-speeddial.mjs +5 -0
- package/esm2022/speeddial/public_api.mjs +4 -0
- package/esm2022/speeddial/speeddial.interface.mjs +2 -0
- package/esm2022/speeddial/speeddial.mjs +611 -0
- package/esm2022/speeddial/speeddial.module.mjs +24 -0
- package/esm2022/spinner/cax-design-system-spinner.mjs +5 -0
- package/esm2022/spinner/public_api.mjs +2 -0
- package/esm2022/spinner/spinner.mjs +447 -0
- package/esm2022/splitbutton/cax-design-system-splitbutton.mjs +5 -0
- package/esm2022/splitbutton/public_api.mjs +4 -0
- package/esm2022/splitbutton/splitbutton.interface.mjs +2 -0
- package/esm2022/splitbutton/splitbutton.mjs +364 -0
- package/esm2022/splitbutton/splitbutton.module.mjs +22 -0
- package/esm2022/splitter/cax-design-system-splitter.mjs +5 -0
- package/esm2022/splitter/public_api.mjs +3 -0
- package/esm2022/splitter/splitter.interface.mjs +2 -0
- package/esm2022/splitter/splitter.mjs +562 -0
- package/esm2022/stepper/cax-design-system-stepper.mjs +5 -0
- package/esm2022/stepper/public_api.mjs +3 -0
- package/esm2022/stepper/stepper.interface.mjs +2 -0
- package/esm2022/stepper/stepper.mjs +677 -0
- package/esm2022/steps/cax-design-system-steps.mjs +5 -0
- package/esm2022/steps/public_api.mjs +2 -0
- package/esm2022/steps/steps.mjs +345 -0
- package/esm2022/styleclass/cax-design-system-styleclass.mjs +5 -0
- package/esm2022/styleclass/public_api.mjs +2 -0
- package/esm2022/styleclass/styleclass.mjs +316 -0
- package/esm2022/table/cax-design-system-table.mjs +5 -0
- package/esm2022/table/columnfilter.interface.mjs +2 -0
- package/esm2022/table/components/cell-editor/cell-editor.mjs +52 -0
- package/esm2022/table/components/column-filter/column-filter.mjs +685 -0
- package/esm2022/table/components/column-filter-form-element/column-filter-form-element.mjs +106 -0
- package/esm2022/table/components/sort-icon/sort-icon.mjs +75 -0
- package/esm2022/table/components/table-body/table-body.mjs +152 -0
- package/esm2022/table/components/table-checkbox/table-checkbox.mjs +82 -0
- package/esm2022/table/components/table-header-checkbox/table-header-checkbox.mjs +92 -0
- package/esm2022/table/components/table-radio-button/table-radio-button.mjs +79 -0
- package/esm2022/table/directives/cancel-editable-row.directive.mjs +32 -0
- package/esm2022/table/directives/content-menu-row.directive.mjs +70 -0
- package/esm2022/table/directives/editable-column.directive.mjs +344 -0
- package/esm2022/table/directives/editable-row.directive.mjs +32 -0
- package/esm2022/table/directives/frozen-column.directive.mjs +77 -0
- package/esm2022/table/directives/init-editable-row.directive.mjs +32 -0
- package/esm2022/table/directives/reorderable-column.directive.mjs +115 -0
- package/esm2022/table/directives/reorderable-row-handle.directive.mjs +25 -0
- package/esm2022/table/directives/reorderable-row.directive.mjs +122 -0
- package/esm2022/table/directives/resizable-column.directive.mjs +123 -0
- package/esm2022/table/directives/row-group-header.directive.mjs +26 -0
- package/esm2022/table/directives/row-toggler.directive.mjs +42 -0
- package/esm2022/table/directives/save-editable-row.directive.mjs +32 -0
- package/esm2022/table/directives/selectable-row-double-click.directive.mjs +71 -0
- package/esm2022/table/directives/selectable-row.directive.mjs +243 -0
- package/esm2022/table/directives/sortable-column.directive.mjs +90 -0
- package/esm2022/table/public_api.mjs +29 -0
- package/esm2022/table/table.interface.mjs +2 -0
- package/esm2022/table/table.mjs +2721 -0
- package/esm2022/table/table.module.mjs +147 -0
- package/esm2022/table/table.service.mjs +42 -0
- package/esm2022/tabmenu/cax-design-system-tabmenu.mjs +5 -0
- package/esm2022/tabmenu/public_api.mjs +3 -0
- package/esm2022/tabmenu/tabmenu.interface.mjs +2 -0
- package/esm2022/tabmenu/tabmenu.mjs +576 -0
- package/esm2022/tabview/cax-design-system-tabview.mjs +5 -0
- package/esm2022/tabview/public_api.mjs +4 -0
- package/esm2022/tabview/tabview.interface.mjs +2 -0
- package/esm2022/tabview/tabview.mjs +824 -0
- package/esm2022/tabview/tabview.module.mjs +24 -0
- package/esm2022/tag/cax-design-system-tag.mjs +5 -0
- package/esm2022/tag/public_api.mjs +4 -0
- package/esm2022/tag/tag.interface.mjs +2 -0
- package/esm2022/tag/tag.mjs +95 -0
- package/esm2022/tag/tag.module.mjs +19 -0
- package/esm2022/terminal/cax-design-system-terminal.mjs +5 -0
- package/esm2022/terminal/public_api.mjs +3 -0
- package/esm2022/terminal/terminal.mjs +143 -0
- package/esm2022/terminal/terminalservice.mjs +25 -0
- package/esm2022/tieredmenu/cax-design-system-tieredmenu.mjs +5 -0
- package/esm2022/tieredmenu/public_api.mjs +4 -0
- package/esm2022/tieredmenu/tieredmenu.interface.mjs +2 -0
- package/esm2022/tieredmenu/tieredmenu.mjs +1289 -0
- package/esm2022/tieredmenu/tiredmenu.module.mjs +23 -0
- package/esm2022/timeline/cax-design-system-timeline.mjs +5 -0
- package/esm2022/timeline/public_api.mjs +3 -0
- package/esm2022/timeline/timeline.interface.mjs +2 -0
- package/esm2022/timeline/timeline.mjs +167 -0
- package/esm2022/toast/cax-design-system-toast.mjs +5 -0
- package/esm2022/toast/public_api.mjs +4 -0
- package/esm2022/toast/toast.interface.mjs +2 -0
- package/esm2022/toast/toast.mjs +324 -0
- package/esm2022/toast/toast.module.mjs +18 -0
- package/esm2022/toast/toastitem.mjs +170 -0
- package/esm2022/togglebutton/cax-design-system-togglebutton.mjs +5 -0
- package/esm2022/togglebutton/public_api.mjs +3 -0
- package/esm2022/togglebutton/togglebutton.interface.mjs +2 -0
- package/esm2022/togglebutton/togglebutton.mjs +274 -0
- package/esm2022/toggleswitch/cax-design-system-toggleswitch.mjs +5 -0
- package/esm2022/toggleswitch/public_api.mjs +3 -0
- package/esm2022/toggleswitch/toggleswitch.mjs +34 -0
- package/esm2022/toggleswitch/toggleswitch.module.mjs +19 -0
- package/esm2022/toolbar/cax-design-system-toolbar.mjs +5 -0
- package/esm2022/toolbar/public_api.mjs +3 -0
- package/esm2022/toolbar/toolbar.interface.mjs +2 -0
- package/esm2022/toolbar/toolbar.mjs +111 -0
- package/esm2022/tooltip/cax-design-system-tooltip.mjs +5 -0
- package/esm2022/tooltip/public_api.mjs +3 -0
- package/esm2022/tooltip/tooltip.mjs +889 -0
- package/esm2022/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/tree/cax-design-system-tree.mjs +5 -0
- package/esm2022/tree/public_api.mjs +4 -0
- package/esm2022/tree/tree.interface.mjs +2 -0
- package/esm2022/tree/tree.mjs +1495 -0
- package/esm2022/tree/tree.module.mjs +29 -0
- package/esm2022/treeselect/cax-design-system-treeselect.mjs +5 -0
- package/esm2022/treeselect/public_api.mjs +3 -0
- package/esm2022/treeselect/treeselect.interface.mjs +2 -0
- package/esm2022/treeselect/treeselect.mjs +1193 -0
- package/esm2022/treetable/cax-design-system-treetable.mjs +5 -0
- package/esm2022/treetable/public_api.mjs +3 -0
- package/esm2022/treetable/treetable.interface.mjs +2 -0
- package/esm2022/treetable/treetable.mjs +4111 -0
- package/esm2022/tristatecheckbox/cax-design-system-tristatecheckbox.mjs +5 -0
- package/esm2022/tristatecheckbox/public_api.mjs +4 -0
- package/esm2022/tristatecheckbox/tristatecheckbox.interface.mjs +2 -0
- package/esm2022/tristatecheckbox/tristatecheckbox.mjs +215 -0
- package/esm2022/tristatecheckbox/tristatecheckbox.module.mjs +17 -0
- package/esm2022/ts-helpers/cax-design-system-ts-helpers.mjs +5 -0
- package/esm2022/ts-helpers/public_api.mjs +2 -0
- package/esm2022/ts-helpers/ts-helpers.mjs +2 -0
- package/esm2022/utils/cax-design-system-utils.mjs +5 -0
- package/esm2022/utils/objectutils.mjs +258 -0
- package/esm2022/utils/public_api.mjs +5 -0
- package/esm2022/utils/uniquecomponentid.mjs +6 -0
- package/esm2022/utils/zindexutils.mjs +35 -0
- package/esm2022/virtualscroller/cax-design-system-virtualscroller.mjs +5 -0
- package/esm2022/virtualscroller/public_api.mjs +3 -0
- package/esm2022/virtualscroller/virtualscroller.interface.mjs +2 -0
- package/esm2022/virtualscroller/virtualscroller.mjs +215 -0
- package/fesm2022/cax-design-system-accordion.mjs +617 -0
- package/fesm2022/cax-design-system-accordion.mjs.map +1 -0
- package/fesm2022/cax-design-system-animate.mjs +108 -0
- package/fesm2022/cax-design-system-animate.mjs.map +1 -0
- package/fesm2022/cax-design-system-animateonscroll.mjs +192 -0
- package/fesm2022/cax-design-system-animateonscroll.mjs.map +1 -0
- package/fesm2022/cax-design-system-api.mjs +995 -0
- package/fesm2022/cax-design-system-api.mjs.map +1 -0
- package/fesm2022/cax-design-system-autocomplete.mjs +1887 -0
- package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -0
- package/fesm2022/cax-design-system-autofocus.mjs +85 -0
- package/fesm2022/cax-design-system-autofocus.mjs.map +1 -0
- package/fesm2022/cax-design-system-avatar.mjs +124 -0
- package/fesm2022/cax-design-system-avatar.mjs.map +1 -0
- package/fesm2022/cax-design-system-avatargroup.mjs +61 -0
- package/fesm2022/cax-design-system-avatargroup.mjs.map +1 -0
- package/fesm2022/cax-design-system-badge.mjs +270 -0
- package/fesm2022/cax-design-system-badge.mjs.map +1 -0
- package/fesm2022/cax-design-system-baseicon.mjs +52 -0
- package/fesm2022/cax-design-system-baseicon.mjs.map +1 -0
- package/fesm2022/cax-design-system-blockui.mjs +213 -0
- package/fesm2022/cax-design-system-blockui.mjs.map +1 -0
- package/fesm2022/cax-design-system-breadcrumb.mjs +146 -0
- package/fesm2022/cax-design-system-breadcrumb.mjs.map +1 -0
- package/fesm2022/cax-design-system-button.mjs +431 -0
- package/fesm2022/cax-design-system-button.mjs.map +1 -0
- package/fesm2022/cax-design-system-buttongroup.mjs +45 -0
- package/fesm2022/cax-design-system-buttongroup.mjs.map +1 -0
- package/fesm2022/cax-design-system-calendar.mjs +3212 -0
- package/fesm2022/cax-design-system-calendar.mjs.map +1 -0
- package/fesm2022/cax-design-system-card.mjs +141 -0
- package/fesm2022/cax-design-system-card.mjs.map +1 -0
- package/fesm2022/cax-design-system-carousel.mjs +975 -0
- package/fesm2022/cax-design-system-carousel.mjs.map +1 -0
- package/fesm2022/cax-design-system-cascadeselect.mjs +1163 -0
- package/fesm2022/cax-design-system-cascadeselect.mjs.map +1 -0
- package/fesm2022/cax-design-system-chart.mjs +243 -0
- package/fesm2022/cax-design-system-chart.mjs.map +1 -0
- package/fesm2022/cax-design-system-checkbox.mjs +326 -0
- package/fesm2022/cax-design-system-checkbox.mjs.map +1 -0
- package/fesm2022/cax-design-system-chip.mjs +109 -0
- package/fesm2022/cax-design-system-chip.mjs.map +1 -0
- package/fesm2022/cax-design-system-chips.mjs +588 -0
- package/fesm2022/cax-design-system-chips.mjs.map +1 -0
- package/fesm2022/cax-design-system-colorpicker.mjs +836 -0
- package/fesm2022/cax-design-system-colorpicker.mjs.map +1 -0
- package/fesm2022/cax-design-system-confirmdialog.mjs +696 -0
- package/fesm2022/cax-design-system-confirmdialog.mjs.map +1 -0
- package/fesm2022/cax-design-system-confirmpopup.mjs +506 -0
- package/fesm2022/cax-design-system-confirmpopup.mjs.map +1 -0
- package/fesm2022/cax-design-system-contextmenu.mjs +1311 -0
- package/fesm2022/cax-design-system-contextmenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-dataview.mjs +730 -0
- package/fesm2022/cax-design-system-dataview.mjs.map +1 -0
- package/fesm2022/cax-design-system-defer.mjs +118 -0
- package/fesm2022/cax-design-system-defer.mjs.map +1 -0
- package/fesm2022/cax-design-system-dialog.mjs +1175 -0
- package/fesm2022/cax-design-system-dialog.mjs.map +1 -0
- package/fesm2022/cax-design-system-divider.mjs +89 -0
- package/fesm2022/cax-design-system-divider.mjs.map +1 -0
- package/fesm2022/cax-design-system-dock.mjs +438 -0
- package/fesm2022/cax-design-system-dock.mjs.map +1 -0
- package/fesm2022/cax-design-system-dom.mjs +757 -0
- package/fesm2022/cax-design-system-dom.mjs.map +1 -0
- package/fesm2022/cax-design-system-dragdrop.mjs +331 -0
- package/fesm2022/cax-design-system-dragdrop.mjs.map +1 -0
- package/fesm2022/cax-design-system-dropdown.mjs +1684 -0
- package/fesm2022/cax-design-system-dropdown.mjs.map +1 -0
- package/fesm2022/cax-design-system-dynamicdialog.mjs +1133 -0
- package/fesm2022/cax-design-system-dynamicdialog.mjs.map +1 -0
- package/fesm2022/cax-design-system-editor.mjs +399 -0
- package/fesm2022/cax-design-system-editor.mjs.map +1 -0
- package/fesm2022/cax-design-system-fieldset.mjs +304 -0
- package/fesm2022/cax-design-system-fieldset.mjs.map +1 -0
- package/fesm2022/cax-design-system-fileupload.mjs +1195 -0
- package/fesm2022/cax-design-system-fileupload.mjs.map +1 -0
- package/fesm2022/cax-design-system-floatlabel.mjs +51 -0
- package/fesm2022/cax-design-system-floatlabel.mjs.map +1 -0
- package/fesm2022/cax-design-system-focustrap.mjs +110 -0
- package/fesm2022/cax-design-system-focustrap.mjs.map +1 -0
- package/fesm2022/cax-design-system-galleria.mjs +1675 -0
- package/fesm2022/cax-design-system-galleria.mjs.map +1 -0
- package/fesm2022/cax-design-system-iconfield.mjs +51 -0
- package/fesm2022/cax-design-system-iconfield.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angledoubledown.mjs +42 -0
- package/fesm2022/cax-design-system-icons-angledoubledown.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angledoubleleft.mjs +42 -0
- package/fesm2022/cax-design-system-icons-angledoubleleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angledoubleright.mjs +42 -0
- package/fesm2022/cax-design-system-icons-angledoubleright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angledoubleup.mjs +42 -0
- package/fesm2022/cax-design-system-icons-angledoubleup.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angledown.mjs +38 -0
- package/fesm2022/cax-design-system-icons-angledown.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angleleft.mjs +38 -0
- package/fesm2022/cax-design-system-icons-angleleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angleright.mjs +38 -0
- package/fesm2022/cax-design-system-icons-angleright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-angleup.mjs +38 -0
- package/fesm2022/cax-design-system-icons-angleup.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowdown.mjs +61 -0
- package/fesm2022/cax-design-system-icons-arrowdown.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowdownleft.mjs +38 -0
- package/fesm2022/cax-design-system-icons-arrowdownleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowdownright.mjs +38 -0
- package/fesm2022/cax-design-system-icons-arrowdownright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowleft.mjs +61 -0
- package/fesm2022/cax-design-system-icons-arrowleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowright.mjs +42 -0
- package/fesm2022/cax-design-system-icons-arrowright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-arrowup.mjs +61 -0
- package/fesm2022/cax-design-system-icons-arrowup.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-ban.mjs +57 -0
- package/fesm2022/cax-design-system-icons-ban.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-bars.mjs +42 -0
- package/fesm2022/cax-design-system-icons-bars.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-blank.mjs +32 -0
- package/fesm2022/cax-design-system-icons-blank.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-calendar.mjs +38 -0
- package/fesm2022/cax-design-system-icons-calendar.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-caretleft.mjs +38 -0
- package/fesm2022/cax-design-system-icons-caretleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-caretright.mjs +38 -0
- package/fesm2022/cax-design-system-icons-caretright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-check.mjs +38 -0
- package/fesm2022/cax-design-system-icons-check.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-chevrondown.mjs +38 -0
- package/fesm2022/cax-design-system-icons-chevrondown.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-chevronleft.mjs +38 -0
- package/fesm2022/cax-design-system-icons-chevronleft.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-chevronright.mjs +38 -0
- package/fesm2022/cax-design-system-icons-chevronright.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-chevronup.mjs +38 -0
- package/fesm2022/cax-design-system-icons-chevronup.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs +73 -0
- package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-eye.mjs +42 -0
- package/fesm2022/cax-design-system-icons-eye.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-eyeslash.mjs +61 -0
- package/fesm2022/cax-design-system-icons-eyeslash.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-filter.mjs +57 -0
- package/fesm2022/cax-design-system-icons-filter.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-filterslash.mjs +61 -0
- package/fesm2022/cax-design-system-icons-filterslash.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-home.mjs +61 -0
- package/fesm2022/cax-design-system-icons-home.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-infocircle.mjs +61 -0
- package/fesm2022/cax-design-system-icons-infocircle.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-minus.mjs +39 -0
- package/fesm2022/cax-design-system-icons-minus.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-pencil.mjs +57 -0
- package/fesm2022/cax-design-system-icons-pencil.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-plus.mjs +57 -0
- package/fesm2022/cax-design-system-icons-plus.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-refresh.mjs +61 -0
- package/fesm2022/cax-design-system-icons-refresh.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-search.mjs +61 -0
- package/fesm2022/cax-design-system-icons-search.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-searchminus.mjs +61 -0
- package/fesm2022/cax-design-system-icons-searchminus.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-searchplus.mjs +61 -0
- package/fesm2022/cax-design-system-icons-searchplus.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-sortalt.mjs +69 -0
- package/fesm2022/cax-design-system-icons-sortalt.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-sortamountdown.mjs +57 -0
- package/fesm2022/cax-design-system-icons-sortamountdown.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-sortamountupalt.mjs +57 -0
- package/fesm2022/cax-design-system-icons-sortamountupalt.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-spinner.mjs +57 -0
- package/fesm2022/cax-design-system-icons-spinner.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-star.mjs +57 -0
- package/fesm2022/cax-design-system-icons-star.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-starfill.mjs +57 -0
- package/fesm2022/cax-design-system-icons-starfill.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-thlarge.mjs +61 -0
- package/fesm2022/cax-design-system-icons-thlarge.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-times.mjs +38 -0
- package/fesm2022/cax-design-system-icons-times.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-timescircle.mjs +61 -0
- package/fesm2022/cax-design-system-icons-timescircle.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-trash.mjs +61 -0
- package/fesm2022/cax-design-system-icons-trash.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-undo.mjs +61 -0
- package/fesm2022/cax-design-system-icons-undo.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-upload.mjs +61 -0
- package/fesm2022/cax-design-system-icons-upload.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-windowmaximize.mjs +61 -0
- package/fesm2022/cax-design-system-icons-windowmaximize.mjs.map +1 -0
- package/fesm2022/cax-design-system-icons-windowminimize.mjs +61 -0
- package/fesm2022/cax-design-system-icons-windowminimize.mjs.map +1 -0
- package/fesm2022/cax-design-system-image.mjs +438 -0
- package/fesm2022/cax-design-system-image.mjs.map +1 -0
- package/fesm2022/cax-design-system-inplace.mjs +250 -0
- package/fesm2022/cax-design-system-inplace.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputgroup.mjs +77 -0
- package/fesm2022/cax-design-system-inputgroup.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputgroupaddon.mjs +60 -0
- package/fesm2022/cax-design-system-inputgroupaddon.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputicon.mjs +45 -0
- package/fesm2022/cax-design-system-inputicon.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputmask.mjs +921 -0
- package/fesm2022/cax-design-system-inputmask.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputnumber.mjs +1310 -0
- package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputotp.mjs +388 -0
- package/fesm2022/cax-design-system-inputotp.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputswitch.mjs +251 -0
- package/fesm2022/cax-design-system-inputswitch.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputtext.mjs +145 -0
- package/fesm2022/cax-design-system-inputtext.mjs.map +1 -0
- package/fesm2022/cax-design-system-inputtextarea.mjs +142 -0
- package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -0
- package/fesm2022/cax-design-system-keyfilter.mjs +272 -0
- package/fesm2022/cax-design-system-keyfilter.mjs.map +1 -0
- package/fesm2022/cax-design-system-knob.mjs +471 -0
- package/fesm2022/cax-design-system-knob.mjs.map +1 -0
- package/fesm2022/cax-design-system-listbox.mjs +1562 -0
- package/fesm2022/cax-design-system-listbox.mjs.map +1 -0
- package/fesm2022/cax-design-system-logo.mjs +65 -0
- package/fesm2022/cax-design-system-logo.mjs.map +1 -0
- package/fesm2022/cax-design-system-megamenu.mjs +1197 -0
- package/fesm2022/cax-design-system-megamenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-menu.mjs +960 -0
- package/fesm2022/cax-design-system-menu.mjs.map +1 -0
- package/fesm2022/cax-design-system-menubar.mjs +1256 -0
- package/fesm2022/cax-design-system-menubar.mjs.map +1 -0
- package/fesm2022/cax-design-system-message.mjs +119 -0
- package/fesm2022/cax-design-system-message.mjs.map +1 -0
- package/fesm2022/cax-design-system-messages.mjs +303 -0
- package/fesm2022/cax-design-system-messages.mjs.map +1 -0
- package/fesm2022/cax-design-system-metergroup.mjs +287 -0
- package/fesm2022/cax-design-system-metergroup.mjs.map +1 -0
- package/fesm2022/cax-design-system-multiselect.mjs +2532 -0
- package/fesm2022/cax-design-system-multiselect.mjs.map +1 -0
- package/fesm2022/cax-design-system-navigation.mjs +281 -0
- package/fesm2022/cax-design-system-navigation.mjs.map +1 -0
- package/fesm2022/cax-design-system-orderlist.mjs +1000 -0
- package/fesm2022/cax-design-system-orderlist.mjs.map +1 -0
- package/fesm2022/cax-design-system-organizationchart.mjs +423 -0
- package/fesm2022/cax-design-system-organizationchart.mjs.map +1 -0
- package/fesm2022/cax-design-system-overlay.mjs +599 -0
- package/fesm2022/cax-design-system-overlay.mjs.map +1 -0
- package/fesm2022/cax-design-system-overlaypanel.mjs +490 -0
- package/fesm2022/cax-design-system-overlaypanel.mjs.map +1 -0
- package/fesm2022/cax-design-system-paginator.mjs +454 -0
- package/fesm2022/cax-design-system-paginator.mjs.map +1 -0
- package/fesm2022/cax-design-system-panel.mjs +400 -0
- package/fesm2022/cax-design-system-panel.mjs.map +1 -0
- package/fesm2022/cax-design-system-panelmenu.mjs +1283 -0
- package/fesm2022/cax-design-system-panelmenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-password.mjs +1024 -0
- package/fesm2022/cax-design-system-password.mjs.map +1 -0
- package/fesm2022/cax-design-system-picklist.mjs +1916 -0
- package/fesm2022/cax-design-system-picklist.mjs.map +1 -0
- package/fesm2022/cax-design-system-progressbar.mjs +108 -0
- package/fesm2022/cax-design-system-progressbar.mjs.map +1 -0
- package/fesm2022/cax-design-system-progressspinner.mjs +134 -0
- package/fesm2022/cax-design-system-progressspinner.mjs.map +1 -0
- package/fesm2022/cax-design-system-radiobutton.mjs +297 -0
- package/fesm2022/cax-design-system-radiobutton.mjs.map +1 -0
- package/fesm2022/cax-design-system-rating.mjs +395 -0
- package/fesm2022/cax-design-system-rating.mjs.map +1 -0
- package/fesm2022/cax-design-system-ripple.mjs +149 -0
- package/fesm2022/cax-design-system-ripple.mjs.map +1 -0
- package/fesm2022/cax-design-system-scroller.mjs +1001 -0
- package/fesm2022/cax-design-system-scroller.mjs.map +1 -0
- package/fesm2022/cax-design-system-scrollpanel.mjs +508 -0
- package/fesm2022/cax-design-system-scrollpanel.mjs.map +1 -0
- package/fesm2022/cax-design-system-scrolltop.mjs +289 -0
- package/fesm2022/cax-design-system-scrolltop.mjs.map +1 -0
- package/fesm2022/cax-design-system-selectbutton.mjs +385 -0
- package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -0
- package/fesm2022/cax-design-system-sidebar.mjs +439 -0
- package/fesm2022/cax-design-system-sidebar.mjs.map +1 -0
- package/fesm2022/cax-design-system-skeleton.mjs +109 -0
- package/fesm2022/cax-design-system-skeleton.mjs.map +1 -0
- package/fesm2022/cax-design-system-slidemenu.mjs +1508 -0
- package/fesm2022/cax-design-system-slidemenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-slider.mjs +803 -0
- package/fesm2022/cax-design-system-slider.mjs.map +1 -0
- package/fesm2022/cax-design-system-speeddial.mjs +637 -0
- package/fesm2022/cax-design-system-speeddial.mjs.map +1 -0
- package/fesm2022/cax-design-system-spinner.mjs +454 -0
- package/fesm2022/cax-design-system-spinner.mjs.map +1 -0
- package/fesm2022/cax-design-system-splitbutton.mjs +390 -0
- package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -0
- package/fesm2022/cax-design-system-splitter.mjs +569 -0
- package/fesm2022/cax-design-system-splitter.mjs.map +1 -0
- package/fesm2022/cax-design-system-stepper.mjs +684 -0
- package/fesm2022/cax-design-system-stepper.mjs.map +1 -0
- package/fesm2022/cax-design-system-steps.mjs +352 -0
- package/fesm2022/cax-design-system-steps.mjs.map +1 -0
- package/fesm2022/cax-design-system-styleclass.mjs +323 -0
- package/fesm2022/cax-design-system-styleclass.mjs.map +1 -0
- package/fesm2022/cax-design-system-table.mjs +5562 -0
- package/fesm2022/cax-design-system-table.mjs.map +1 -0
- package/fesm2022/cax-design-system-tabmenu.mjs +583 -0
- package/fesm2022/cax-design-system-tabmenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-tabview.mjs +850 -0
- package/fesm2022/cax-design-system-tabview.mjs.map +1 -0
- package/fesm2022/cax-design-system-tag.mjs +117 -0
- package/fesm2022/cax-design-system-tag.mjs.map +1 -0
- package/fesm2022/cax-design-system-terminal.mjs +172 -0
- package/fesm2022/cax-design-system-terminal.mjs.map +1 -0
- package/fesm2022/cax-design-system-tieredmenu.mjs +1314 -0
- package/fesm2022/cax-design-system-tieredmenu.mjs.map +1 -0
- package/fesm2022/cax-design-system-timeline.mjs +174 -0
- package/fesm2022/cax-design-system-timeline.mjs.map +1 -0
- package/fesm2022/cax-design-system-toast.mjs +507 -0
- package/fesm2022/cax-design-system-toast.mjs.map +1 -0
- package/fesm2022/cax-design-system-togglebutton.mjs +281 -0
- package/fesm2022/cax-design-system-togglebutton.mjs.map +1 -0
- package/fesm2022/cax-design-system-toggleswitch.mjs +57 -0
- package/fesm2022/cax-design-system-toggleswitch.mjs.map +1 -0
- package/fesm2022/cax-design-system-toolbar.mjs +118 -0
- package/fesm2022/cax-design-system-toolbar.mjs.map +1 -0
- package/fesm2022/cax-design-system-tooltip.mjs +910 -0
- package/fesm2022/cax-design-system-tooltip.mjs.map +1 -0
- package/fesm2022/cax-design-system-tree.mjs +1527 -0
- package/fesm2022/cax-design-system-tree.mjs.map +1 -0
- package/fesm2022/cax-design-system-treeselect.mjs +1200 -0
- package/fesm2022/cax-design-system-treeselect.mjs.map +1 -0
- package/fesm2022/cax-design-system-treetable.mjs +4118 -0
- package/fesm2022/cax-design-system-treetable.mjs.map +1 -0
- package/fesm2022/cax-design-system-tristatecheckbox.mjs +235 -0
- package/fesm2022/cax-design-system-tristatecheckbox.mjs.map +1 -0
- package/fesm2022/cax-design-system-ts-helpers.mjs +4 -0
- package/fesm2022/cax-design-system-ts-helpers.mjs.map +1 -0
- package/fesm2022/cax-design-system-utils.mjs +305 -0
- package/fesm2022/cax-design-system-utils.mjs.map +1 -0
- package/fesm2022/cax-design-system-virtualscroller.mjs +222 -0
- package/fesm2022/cax-design-system-virtualscroller.mjs.map +1 -0
- package/fesm2022/cax-design-system.mjs +6 -0
- package/fesm2022/cax-design-system.mjs.map +1 -0
- package/fieldset/fieldset.d.ts +93 -0
- package/fieldset/fieldset.interface.d.ts +46 -0
- package/fieldset/index.d.ts +5 -0
- package/fieldset/public_api.d.ts +2 -0
- package/fileupload/fileupload.d.ts +380 -0
- package/fileupload/fileupload.interface.d.ts +226 -0
- package/fileupload/index.d.ts +5 -0
- package/fileupload/public_api.d.ts +2 -0
- package/floatlabel/floatlabel.d.ts +17 -0
- package/floatlabel/index.d.ts +5 -0
- package/floatlabel/public_api.d.ts +1 -0
- package/focustrap/focustrap.d.ts +34 -0
- package/focustrap/index.d.ts +5 -0
- package/focustrap/public_api.d.ts +1 -0
- package/galleria/galleria.d.ts +404 -0
- package/galleria/galleria.interface.d.ts +97 -0
- package/galleria/index.d.ts +5 -0
- package/galleria/public_api.d.ts +2 -0
- package/iconfield/iconfield.d.ts +25 -0
- package/iconfield/index.d.ts +5 -0
- package/iconfield/public_api.d.ts +1 -0
- package/icons/angledoubledown/angledoubledown.d.ts +6 -0
- package/icons/angledoubledown/index.d.ts +5 -0
- package/icons/angledoubledown/public_api.d.ts +1 -0
- package/icons/angledoubleleft/angledoubleleft.d.ts +6 -0
- package/icons/angledoubleleft/index.d.ts +5 -0
- package/icons/angledoubleleft/public_api.d.ts +1 -0
- package/icons/angledoubleright/angledoubleright.d.ts +6 -0
- package/icons/angledoubleright/index.d.ts +5 -0
- package/icons/angledoubleright/public_api.d.ts +1 -0
- package/icons/angledoubleup/angledoubleup.d.ts +6 -0
- package/icons/angledoubleup/index.d.ts +5 -0
- package/icons/angledoubleup/public_api.d.ts +1 -0
- package/icons/angledown/angledown.d.ts +6 -0
- package/icons/angledown/index.d.ts +5 -0
- package/icons/angledown/public_api.d.ts +1 -0
- package/icons/angleleft/angleleft.d.ts +6 -0
- package/icons/angleleft/index.d.ts +5 -0
- package/icons/angleleft/public_api.d.ts +1 -0
- package/icons/angleright/angleright.d.ts +6 -0
- package/icons/angleright/index.d.ts +5 -0
- package/icons/angleright/public_api.d.ts +1 -0
- package/icons/angleup/angleup.d.ts +6 -0
- package/icons/angleup/index.d.ts +5 -0
- package/icons/angleup/public_api.d.ts +1 -0
- package/icons/arrowdown/arrowdown.d.ts +9 -0
- package/icons/arrowdown/index.d.ts +5 -0
- package/icons/arrowdown/public_api.d.ts +1 -0
- package/icons/arrowdownleft/arrowdownleft.d.ts +6 -0
- package/icons/arrowdownleft/index.d.ts +5 -0
- package/icons/arrowdownleft/public_api.d.ts +1 -0
- package/icons/arrowdownright/arrowdownright.d.ts +6 -0
- package/icons/arrowdownright/index.d.ts +5 -0
- package/icons/arrowdownright/public_api.d.ts +1 -0
- package/icons/arrowleft/arrowleft.d.ts +8 -0
- package/icons/arrowleft/index.d.ts +5 -0
- package/icons/arrowleft/public_api.d.ts +1 -0
- package/icons/arrowright/arrowright.d.ts +6 -0
- package/icons/arrowright/index.d.ts +5 -0
- package/icons/arrowright/public_api.d.ts +1 -0
- package/icons/arrowup/arrowup.d.ts +8 -0
- package/icons/arrowup/index.d.ts +5 -0
- package/icons/arrowup/public_api.d.ts +1 -0
- package/icons/ban/ban.d.ts +8 -0
- package/icons/ban/index.d.ts +5 -0
- package/icons/ban/public_api.d.ts +1 -0
- package/icons/bars/bars.d.ts +6 -0
- package/icons/bars/index.d.ts +5 -0
- package/icons/bars/public_api.d.ts +1 -0
- package/icons/blank/blank.d.ts +6 -0
- package/icons/blank/index.d.ts +5 -0
- package/icons/blank/public_api.d.ts +1 -0
- package/icons/calendar/calendar.d.ts +6 -0
- package/icons/calendar/index.d.ts +5 -0
- package/icons/calendar/public_api.d.ts +1 -0
- package/icons/caretleft/caretleft.d.ts +6 -0
- package/icons/caretleft/index.d.ts +5 -0
- package/icons/caretleft/public_api.d.ts +1 -0
- package/icons/caretright/caretright.d.ts +6 -0
- package/icons/caretright/index.d.ts +5 -0
- package/icons/caretright/public_api.d.ts +1 -0
- package/icons/check/check.d.ts +6 -0
- package/icons/check/index.d.ts +5 -0
- package/icons/check/public_api.d.ts +1 -0
- package/icons/chevrondown/chevrondown.d.ts +6 -0
- package/icons/chevrondown/index.d.ts +5 -0
- package/icons/chevrondown/public_api.d.ts +1 -0
- package/icons/chevronleft/chevronleft.d.ts +6 -0
- package/icons/chevronleft/index.d.ts +5 -0
- package/icons/chevronleft/public_api.d.ts +1 -0
- package/icons/chevronright/chevronright.d.ts +6 -0
- package/icons/chevronright/index.d.ts +5 -0
- package/icons/chevronright/public_api.d.ts +1 -0
- package/icons/chevronup/chevronup.d.ts +6 -0
- package/icons/chevronup/index.d.ts +5 -0
- package/icons/chevronup/public_api.d.ts +1 -0
- package/icons/exclamationtriangle/exclamationtriangle.d.ts +9 -0
- package/icons/exclamationtriangle/index.d.ts +5 -0
- package/icons/exclamationtriangle/public_api.d.ts +1 -0
- package/icons/eye/eye.d.ts +6 -0
- package/icons/eye/index.d.ts +5 -0
- package/icons/eye/public_api.d.ts +1 -0
- package/icons/eyeslash/eyeslash.d.ts +8 -0
- package/icons/eyeslash/index.d.ts +5 -0
- package/icons/eyeslash/public_api.d.ts +1 -0
- package/icons/filter/filter.d.ts +8 -0
- package/icons/filter/index.d.ts +5 -0
- package/icons/filter/public_api.d.ts +1 -0
- package/icons/filterslash/filterslash.d.ts +8 -0
- package/icons/filterslash/index.d.ts +5 -0
- package/icons/filterslash/public_api.d.ts +1 -0
- package/icons/home/home.d.ts +8 -0
- package/icons/home/index.d.ts +5 -0
- package/icons/home/public_api.d.ts +1 -0
- package/icons/infocircle/index.d.ts +5 -0
- package/icons/infocircle/infocircle.d.ts +8 -0
- package/icons/infocircle/public_api.d.ts +1 -0
- package/icons/minus/index.d.ts +5 -0
- package/icons/minus/minus.d.ts +6 -0
- package/icons/minus/public_api.d.ts +1 -0
- package/icons/pencil/index.d.ts +5 -0
- package/icons/pencil/pencil.d.ts +8 -0
- package/icons/pencil/public_api.d.ts +1 -0
- package/icons/plus/index.d.ts +5 -0
- package/icons/plus/plus.d.ts +8 -0
- package/icons/plus/public_api.d.ts +1 -0
- package/icons/refresh/index.d.ts +5 -0
- package/icons/refresh/public_api.d.ts +1 -0
- package/icons/refresh/refresh.d.ts +8 -0
- package/icons/search/index.d.ts +5 -0
- package/icons/search/public_api.d.ts +1 -0
- package/icons/search/search.d.ts +8 -0
- package/icons/searchminus/index.d.ts +5 -0
- package/icons/searchminus/public_api.d.ts +1 -0
- package/icons/searchminus/searchminus.d.ts +8 -0
- package/icons/searchplus/index.d.ts +5 -0
- package/icons/searchplus/public_api.d.ts +1 -0
- package/icons/searchplus/searchplus.d.ts +8 -0
- package/icons/sortalt/index.d.ts +5 -0
- package/icons/sortalt/public_api.d.ts +1 -0
- package/icons/sortalt/sortalt.d.ts +8 -0
- package/icons/sortamountdown/index.d.ts +5 -0
- package/icons/sortamountdown/public_api.d.ts +1 -0
- package/icons/sortamountdown/sortamountdown.d.ts +8 -0
- package/icons/sortamountupalt/index.d.ts +5 -0
- package/icons/sortamountupalt/public_api.d.ts +1 -0
- package/icons/sortamountupalt/sortamountupalt.d.ts +8 -0
- package/icons/spinner/index.d.ts +5 -0
- package/icons/spinner/public_api.d.ts +1 -0
- package/icons/spinner/spinner.d.ts +8 -0
- package/icons/star/index.d.ts +5 -0
- package/icons/star/public_api.d.ts +1 -0
- package/icons/star/star.d.ts +8 -0
- package/icons/starfill/index.d.ts +5 -0
- package/icons/starfill/public_api.d.ts +1 -0
- package/icons/starfill/starfill.d.ts +8 -0
- package/icons/thlarge/index.d.ts +5 -0
- package/icons/thlarge/public_api.d.ts +1 -0
- package/icons/thlarge/thlarge.d.ts +8 -0
- package/icons/times/index.d.ts +5 -0
- package/icons/times/public_api.d.ts +1 -0
- package/icons/times/times.d.ts +6 -0
- package/icons/timescircle/index.d.ts +5 -0
- package/icons/timescircle/public_api.d.ts +1 -0
- package/icons/timescircle/timescircle.d.ts +8 -0
- package/icons/trash/index.d.ts +5 -0
- package/icons/trash/public_api.d.ts +1 -0
- package/icons/trash/trash.d.ts +8 -0
- package/icons/undo/index.d.ts +5 -0
- package/icons/undo/public_api.d.ts +1 -0
- package/icons/undo/undo.d.ts +8 -0
- package/icons/upload/index.d.ts +5 -0
- package/icons/upload/public_api.d.ts +1 -0
- package/icons/upload/upload.d.ts +8 -0
- package/icons/windowmaximize/index.d.ts +5 -0
- package/icons/windowmaximize/public_api.d.ts +1 -0
- package/icons/windowmaximize/windowmaximize.d.ts +8 -0
- package/icons/windowminimize/index.d.ts +5 -0
- package/icons/windowminimize/public_api.d.ts +1 -0
- package/icons/windowminimize/windowminimize.d.ts +8 -0
- package/image/image.d.ts +188 -0
- package/image/image.interface.d.ts +31 -0
- package/image/image.module.d.ts +8 -0
- package/image/index.d.ts +5 -0
- package/image/public_api.d.ts +3 -0
- package/index.d.ts +5 -0
- package/inplace/index.d.ts +5 -0
- package/inplace/inplace.d.ts +109 -0
- package/inplace/inplace.interface.d.ts +19 -0
- package/inplace/public_api.d.ts +2 -0
- package/inputgroup/index.d.ts +5 -0
- package/inputgroup/inputgroup.d.ts +28 -0
- package/inputgroup/inputgroup.module.d.ts +15 -0
- package/inputgroup/public_api.d.ts +2 -0
- package/inputgroupaddon/index.d.ts +5 -0
- package/inputgroupaddon/inputgroupaddon.d.ts +21 -0
- package/inputgroupaddon/inputgroupaddon.module.d.ts +14 -0
- package/inputgroupaddon/public_api.d.ts +2 -0
- package/inputicon/index.d.ts +5 -0
- package/inputicon/inputicon.d.ts +21 -0
- package/inputicon/public_api.d.ts +1 -0
- package/inputmask/index.d.ts +5 -0
- package/inputmask/inputmask.d.ts +273 -0
- package/inputmask/inputmask.interface.d.ts +19 -0
- package/inputmask/public_api.d.ts +2 -0
- package/inputnumber/index.d.ts +5 -0
- package/inputnumber/inputnumber.d.ts +392 -0
- package/inputnumber/inputnumber.interface.d.ts +38 -0
- package/inputnumber/inputnumber.module.d.ts +8 -0
- package/inputnumber/public_api.d.ts +3 -0
- package/inputotp/index.d.ts +5 -0
- package/inputotp/inputotp.d.ts +123 -0
- package/inputotp/inputotp.interface.d.ts +65 -0
- package/inputotp/public_api.d.ts +2 -0
- package/inputswitch/index.d.ts +5 -0
- package/inputswitch/inputswitch.d.ts +106 -0
- package/inputswitch/inputswitch.interface.d.ts +15 -0
- package/inputswitch/public_api.d.ts +2 -0
- package/inputtext/index.d.ts +5 -0
- package/inputtext/inputtext.component.d.ts +25 -0
- package/inputtext/inputtext.directive.d.ts +20 -0
- package/inputtext/inputtext.module.d.ts +10 -0
- package/inputtext/public_api.d.ts +3 -0
- package/inputtextarea/index.d.ts +5 -0
- package/inputtextarea/inputtextarea.d.ts +53 -0
- package/inputtextarea/public_api.d.ts +1 -0
- package/keyfilter/index.d.ts +5 -0
- package/keyfilter/keyfilter.d.ts +58 -0
- package/keyfilter/keyfilter.interface.d.ts +5 -0
- package/keyfilter/public_api.d.ts +2 -0
- package/knob/index.d.ts +5 -0
- package/knob/knob.d.ts +178 -0
- package/knob/public_api.d.ts +1 -0
- package/listbox/index.d.ts +5 -0
- package/listbox/listbox.d.ts +463 -0
- package/listbox/listbox.interface.d.ts +156 -0
- package/listbox/public_api.d.ts +2 -0
- package/logo/index.d.ts +5 -0
- package/logo/logo.d.ts +11 -0
- package/logo/logo.module.d.ts +7 -0
- package/logo/public_api.d.ts +2 -0
- package/megamenu/index.d.ts +5 -0
- package/megamenu/megamenu.d.ts +198 -0
- package/megamenu/megamenu.interface.d.ts +31 -0
- package/megamenu/public_api.d.ts +2 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu.d.ts +220 -0
- package/menu/public_api.d.ts +1 -0
- package/menubar/index.d.ts +5 -0
- package/menubar/menubar.d.ts +248 -0
- package/menubar/menubar.interface.d.ts +40 -0
- package/menubar/public_api.d.ts +2 -0
- package/message/index.d.ts +5 -0
- package/message/message.d.ts +52 -0
- package/message/public_api.d.ts +1 -0
- package/messages/index.d.ts +5 -0
- package/messages/messages.d.ts +115 -0
- package/messages/messages.interface.d.ts +18 -0
- package/messages/messages.module.d.ts +8 -0
- package/messages/public_api.d.ts +3 -0
- package/metergroup/index.d.ts +5 -0
- package/metergroup/metergroup.d.ts +101 -0
- package/metergroup/metergroup.interface.d.ts +122 -0
- package/metergroup/public_api.d.ts +2 -0
- package/multiselect/index.d.ts +5 -0
- package/multiselect/multiselect.d.ts +724 -0
- package/multiselect/multiselect.interface.d.ts +247 -0
- package/multiselect/public_api.d.ts +2 -0
- package/navigation/index.d.ts +5 -0
- package/navigation/navigation.d.ts +54 -0
- package/navigation/navigation.interface.d.ts +23 -0
- package/navigation/navigation.module.d.ts +7 -0
- package/navigation/public_api.d.ts +2 -0
- package/orderlist/index.d.ts +5 -0
- package/orderlist/orderlist.d.ts +270 -0
- package/orderlist/orderlist.interface.d.ts +110 -0
- package/orderlist/public_api.d.ts +2 -0
- package/organizationchart/index.d.ts +5 -0
- package/organizationchart/organizationchart.d.ts +132 -0
- package/organizationchart/organizationchart.interface.d.ts +59 -0
- package/organizationchart/public_api.d.ts +2 -0
- package/overlay/index.d.ts +5 -0
- package/overlay/overlay.d.ts +238 -0
- package/overlay/overlay.module.d.ts +8 -0
- package/overlay/public_api.d.ts +2 -0
- package/overlaypanel/index.d.ts +5 -0
- package/overlaypanel/overlaypanel.d.ts +162 -0
- package/overlaypanel/overlaypanel.module.d.ts +8 -0
- package/overlaypanel/public_api.d.ts +2 -0
- package/package.json +1033 -0
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator.d.ts +192 -0
- package/paginator/paginator.interface.d.ts +37 -0
- package/paginator/paginator.module.d.ts +17 -0
- package/paginator/public_api.d.ts +3 -0
- package/panel/index.d.ts +5 -0
- package/panel/panel.d.ts +126 -0
- package/panel/panel.interface.d.ts +58 -0
- package/panel/public_api.d.ts +2 -0
- package/panelmenu/index.d.ts +5 -0
- package/panelmenu/panelmenu.d.ts +225 -0
- package/panelmenu/panelmenu.interface.d.ts +23 -0
- package/panelmenu/public_api.d.ts +2 -0
- package/password/index.d.ts +5 -0
- package/password/password.d.ts +342 -0
- package/password/public_api.d.ts +1 -0
- package/picklist/index.d.ts +5 -0
- package/picklist/picklist.d.ts +453 -0
- package/picklist/picklist.interface.d.ts +242 -0
- package/picklist/public_api.d.ts +2 -0
- package/progressbar/index.d.ts +5 -0
- package/progressbar/progressbar.d.ts +54 -0
- package/progressbar/progressbar.module.d.ts +8 -0
- package/progressbar/public_api.d.ts +2 -0
- package/progressspinner/index.d.ts +5 -0
- package/progressspinner/progressspinner.d.ts +50 -0
- package/progressspinner/progressspinner.module.d.ts +8 -0
- package/progressspinner/public_api.d.ts +2 -0
- package/public_api.d.ts +2 -0
- package/radiobutton/index.d.ts +5 -0
- package/radiobutton/public_api.d.ts +3 -0
- package/radiobutton/radiobutton.d.ts +145 -0
- package/radiobutton/radiobutton.interface.d.ts +15 -0
- package/radiobutton/radiobutton.module.d.ts +7 -0
- package/rating/index.d.ts +5 -0
- package/rating/public_api.d.ts +2 -0
- package/rating/rating.d.ts +146 -0
- package/rating/rating.interface.d.ts +34 -0
- package/resources/cax.min.scss +1 -0
- package/resources/cax.scss +784 -0
- package/resources/components/accordion/accordion.scss +44 -0
- package/resources/components/autocomplete/autocomplete.css +104 -0
- package/resources/components/avatar/avatar.scss +33 -0
- package/resources/components/avatargroup/avatargroup.css +10 -0
- package/resources/components/badge/badge.scss +34 -0
- package/resources/components/blockui/blockui.css +26 -0
- package/resources/components/breadcrumb/breadcrumb.scss +33 -0
- package/resources/components/button/button.scss +117 -0
- package/resources/components/calendar/calendar.scss +177 -0
- package/resources/components/card/card.scss +50 -0
- package/resources/components/carousel/carousel.css +71 -0
- package/resources/components/cascadeselect/cascadeselect.scss +99 -0
- package/resources/components/checkbox/checkbox.scss +30 -0
- package/resources/components/chip/chip.scss +63 -0
- package/resources/components/chips/chips.scss +156 -0
- package/resources/components/colorpicker/colorpicker-images.css +7 -0
- package/resources/components/colorpicker/colorpicker.css +83 -0
- package/resources/components/colorpicker/images/color.png +0 -0
- package/resources/components/colorpicker/images/hue.png +0 -0
- package/resources/components/common/common.scss +182 -0
- package/resources/components/confirmpopup/confirmpopup.css +53 -0
- package/resources/components/contextmenu/contextmenu.css +42 -0
- package/resources/components/dataview/dataview.css +13 -0
- package/resources/components/dialog/dialog.scss +164 -0
- package/resources/components/divider/divider.scss +86 -0
- package/resources/components/dock/dock.css +107 -0
- package/resources/components/dropdown/dropdown.scss +92 -0
- package/resources/components/editor/editor.css +4 -0
- package/resources/components/fieldset/fieldset.css +30 -0
- package/resources/components/fileupload/fileupload.css +47 -0
- package/resources/components/galleria/galleria.css +281 -0
- package/resources/components/iconfield/iconfield.css +5 -0
- package/resources/components/image/image.scss +97 -0
- package/resources/components/inplace/inplace.css +19 -0
- package/resources/components/inputicon/inputicon.css +6 -0
- package/resources/components/inputmask/inputmask.css +12 -0
- package/resources/components/inputnumber/inputnumber.scss +116 -0
- package/resources/components/inputotp/inputotp.css +2 -0
- package/resources/components/inputswitch/inputswitch.css +23 -0
- package/resources/components/inputtext/inputtext.scss +150 -0
- package/resources/components/inputtextarea/inputtextarea.css +10 -0
- package/resources/components/knob/knob.css +20 -0
- package/resources/components/listbox/listbox.css +40 -0
- package/resources/components/logo/logo.scss +0 -0
- package/resources/components/megamenu/megamenu.css +108 -0
- package/resources/components/menu/menu.css +30 -0
- package/resources/components/menubar/menubar.css +81 -0
- package/resources/components/message/message.css +17 -0
- package/resources/components/messages/messages.scss +55 -0
- package/resources/components/multiselect/multiselect.css +116 -0
- package/resources/components/navigation/navigation.scss +217 -0
- package/resources/components/orderlist/orderlist.css +78 -0
- package/resources/components/organizationchart/organizationchart.css +62 -0
- package/resources/components/overlay/overlay.scss +80 -0
- package/resources/components/overlaypanel/overlaypanel.scss +63 -0
- package/resources/components/paginator/paginator.scss +37 -0
- package/resources/components/panel/panel.css +29 -0
- package/resources/components/panelmenu/panelmenu.css +45 -0
- package/resources/components/password/images/password-meter.png +0 -0
- package/resources/components/password/password.css +54 -0
- package/resources/components/picklist/picklist.css +60 -0
- package/resources/components/progressbar/progressbar.scss +122 -0
- package/resources/components/progressspinner/progressspinner.scss +94 -0
- package/resources/components/radiobutton/radiobutton.scss +38 -0
- package/resources/components/rating/rating.css +15 -0
- package/resources/components/ripple/ripple.scss +29 -0
- package/resources/components/scroller/scroller.scss +58 -0
- package/resources/components/scrollpanel/scrollpanel.css +50 -0
- package/resources/components/scrolltop/scrolltop.css +18 -0
- package/resources/components/sidebar/sidebar.scss +114 -0
- package/resources/components/skeleton/skeleton.scss +25 -0
- package/resources/components/slidemenu/slidemenu.css +100 -0
- package/resources/components/slider/slider.css +41 -0
- package/resources/components/speeddial/speeddial.scss +122 -0
- package/resources/components/spinner/spinner.css +63 -0
- package/resources/components/splitbutton/splitbutton.scss +48 -0
- package/resources/components/splitter/splitter.css +70 -0
- package/resources/components/stepper/stepper.css +9 -0
- package/resources/components/steps/steps.css +49 -0
- package/resources/components/table/table.scss +249 -0
- package/resources/components/tabmenu/tabmenu.css +80 -0
- package/resources/components/tabview/tabview.scss +163 -0
- package/resources/components/tag/tag.scss +17 -0
- package/resources/components/terminal/terminal.css +24 -0
- package/resources/components/tieredmenu/tieredmenu.scss +55 -0
- package/resources/components/timeline/timeline.css +114 -0
- package/resources/components/toast/toast.scss +83 -0
- package/resources/components/toggleswitch/toggleswitch.scss +30 -0
- package/resources/components/toolbar/toolbar.css +19 -0
- package/resources/components/tooltip/tooltip.scss +124 -0
- package/resources/components/tree/images/line.gif +0 -0
- package/resources/components/tree/tree.scss +158 -0
- package/resources/components/treeselect/treeselect.css +98 -0
- package/resources/components/treetable/treetable.css +205 -0
- package/resources/images/color.png +0 -0
- package/resources/images/hue.png +0 -0
- package/resources/images/line.gif +0 -0
- package/resources/images/password-meter.png +0 -0
- package/resources/logo/dataX-dark.svg +12 -0
- package/resources/logo/dataX-icon-dark.svg +6 -0
- package/resources/logo/dataX-icon.svg +6 -0
- package/resources/logo/dataX.svg +12 -0
- package/resources/logo/usercard.png +0 -0
- package/resources/themes/cax-theme.scss +9272 -0
- package/ripple/index.d.ts +5 -0
- package/ripple/public_api.d.ts +2 -0
- package/ripple/ripple.d.ts +30 -0
- package/ripple/ripple.module.d.ts +7 -0
- package/scroller/index.d.ts +5 -0
- package/scroller/public_api.d.ts +3 -0
- package/scroller/scroller.d.ts +343 -0
- package/scroller/scroller.interface.d.ts +177 -0
- package/scroller/scroller.module.d.ts +8 -0
- package/scrollpanel/index.d.ts +5 -0
- package/scrollpanel/public_api.d.ts +2 -0
- package/scrollpanel/scrollpanel.d.ts +103 -0
- package/scrollpanel/scrollpanel.interface.d.ts +11 -0
- package/scrolltop/index.d.ts +5 -0
- package/scrolltop/public_api.d.ts +2 -0
- package/scrolltop/scrolltop.d.ts +97 -0
- package/scrolltop/scrolltop.interface.d.ts +18 -0
- package/selectbutton/index.d.ts +5 -0
- package/selectbutton/public_api.d.ts +2 -0
- package/selectbutton/selectbutton.d.ts +136 -0
- package/selectbutton/selectbutton.interface.d.ts +45 -0
- package/sidebar/index.d.ts +5 -0
- package/sidebar/public_api.d.ts +3 -0
- package/sidebar/sidebar.d.ts +158 -0
- package/sidebar/sidebar.interface.d.ts +27 -0
- package/sidebar/sidebar.module.d.ts +12 -0
- package/skeleton/index.d.ts +5 -0
- package/skeleton/public_api.d.ts +2 -0
- package/skeleton/skeleton.d.ts +61 -0
- package/skeleton/skeleton.module.d.ts +8 -0
- package/slidemenu/index.d.ts +5 -0
- package/slidemenu/public_api.d.ts +2 -0
- package/slidemenu/slidemenu.d.ts +322 -0
- package/slidemenu/slidemenu.interface.d.ts +15 -0
- package/slider/index.d.ts +5 -0
- package/slider/public_api.d.ts +2 -0
- package/slider/slider.d.ts +174 -0
- package/slider/slider.interface.d.ts +38 -0
- package/speeddial/index.d.ts +5 -0
- package/speeddial/public_api.d.ts +3 -0
- package/speeddial/speeddial.d.ts +277 -0
- package/speeddial/speeddial.interface.d.ts +28 -0
- package/speeddial/speeddial.module.d.ts +14 -0
- package/spinner/index.d.ts +5 -0
- package/spinner/public_api.d.ts +1 -0
- package/spinner/spinner.d.ts +90 -0
- package/splitbutton/index.d.ts +5 -0
- package/splitbutton/public_api.d.ts +3 -0
- package/splitbutton/splitbutton.d.ts +221 -0
- package/splitbutton/splitbutton.interface.d.ts +30 -0
- package/splitbutton/splitbutton.module.d.ts +12 -0
- package/splitter/index.d.ts +5 -0
- package/splitter/public_api.d.ts +2 -0
- package/splitter/splitter.d.ts +164 -0
- package/splitter/splitter.interface.d.ts +34 -0
- package/stepper/index.d.ts +5 -0
- package/stepper/public_api.d.ts +2 -0
- package/stepper/stepper.d.ts +117 -0
- package/stepper/stepper.interface.d.ts +26 -0
- package/steps/index.d.ts +5 -0
- package/steps/public_api.d.ts +1 -0
- package/steps/steps.d.ts +85 -0
- package/styleclass/index.d.ts +5 -0
- package/styleclass/public_api.d.ts +1 -0
- package/styleclass/styleclass.d.ts +108 -0
- package/table/columnfilter.interface.d.ts +247 -0
- package/table/components/cell-editor/cell-editor.d.ts +20 -0
- package/table/components/column-filter/column-filter.d.ts +256 -0
- package/table/components/column-filter-form-element/column-filter-form-element.d.ts +37 -0
- package/table/components/sort-icon/sort-icon.d.ts +21 -0
- package/table/components/table-body/table-body.d.ts +36 -0
- package/table/components/table-checkbox/table-checkbox.d.ts +31 -0
- package/table/components/table-header-checkbox/table-header-checkbox.d.ts +29 -0
- package/table/components/table-radio-button/table-radio-button.d.ts +29 -0
- package/table/directives/cancel-editable-row.directive.d.ts +11 -0
- package/table/directives/content-menu-row.directive.d.ts +22 -0
- package/table/directives/editable-column.directive.d.ts +40 -0
- package/table/directives/editable-row.directive.d.ts +12 -0
- package/table/directives/frozen-column.directive.d.ts +16 -0
- package/table/directives/init-editable-row.directive.d.ts +11 -0
- package/table/directives/reorderable-column.directive.d.ts +32 -0
- package/table/directives/reorderable-row-handle.directive.d.ts +9 -0
- package/table/directives/reorderable-row.directive.d.ts +34 -0
- package/table/directives/resizable-column.directive.d.ts +35 -0
- package/table/directives/row-group-header.directive.d.ts +9 -0
- package/table/directives/row-toggler.directive.d.ts +13 -0
- package/table/directives/save-editable-row.directive.d.ts +11 -0
- package/table/directives/selectable-row-double-click.directive.d.ts +22 -0
- package/table/directives/selectable-row.directive.d.ts +37 -0
- package/table/directives/sortable-column.directive.d.ts +24 -0
- package/table/index.d.ts +5 -0
- package/table/public_api.d.ts +28 -0
- package/table/table.d.ts +859 -0
- package/table/table.interface.d.ts +623 -0
- package/table/table.module.d.ts +32 -0
- package/table/table.service.d.ts +24 -0
- package/tabmenu/index.d.ts +5 -0
- package/tabmenu/public_api.d.ts +2 -0
- package/tabmenu/tabmenu.d.ts +126 -0
- package/tabmenu/tabmenu.interface.d.ts +32 -0
- package/tabview/index.d.ts +5 -0
- package/tabview/public_api.d.ts +3 -0
- package/tabview/tabview.d.ts +281 -0
- package/tabview/tabview.interface.d.ts +49 -0
- package/tabview/tabview.module.d.ts +14 -0
- package/tag/index.d.ts +5 -0
- package/tag/public_api.d.ts +3 -0
- package/tag/tag.d.ts +61 -0
- package/tag/tag.interface.d.ts +11 -0
- package/tag/tag.module.d.ts +9 -0
- package/terminal/index.d.ts +5 -0
- package/terminal/public_api.d.ts +2 -0
- package/terminal/terminal.d.ts +56 -0
- package/terminal/terminalservice.d.ts +11 -0
- package/tieredmenu/index.d.ts +5 -0
- package/tieredmenu/public_api.d.ts +3 -0
- package/tieredmenu/tieredmenu.d.ts +266 -0
- package/tieredmenu/tieredmenu.interface.d.ts +27 -0
- package/tieredmenu/tiredmenu.module.d.ts +13 -0
- package/timeline/index.d.ts +5 -0
- package/timeline/public_api.d.ts +2 -0
- package/timeline/timeline.d.ts +54 -0
- package/timeline/timeline.interface.d.ts +43 -0
- package/toast/index.d.ts +5 -0
- package/toast/public_api.d.ts +3 -0
- package/toast/toast.d.ts +142 -0
- package/toast/toast.interface.d.ts +52 -0
- package/toast/toast.module.d.ts +9 -0
- package/toast/toastitem.d.ts +37 -0
- package/togglebutton/index.d.ts +5 -0
- package/togglebutton/public_api.d.ts +2 -0
- package/togglebutton/togglebutton.d.ts +115 -0
- package/togglebutton/togglebutton.interface.d.ts +34 -0
- package/toggleswitch/index.d.ts +5 -0
- package/toggleswitch/public_api.d.ts +2 -0
- package/toggleswitch/toggleswitch.d.ts +13 -0
- package/toggleswitch/toggleswitch.module.d.ts +9 -0
- package/toolbar/index.d.ts +5 -0
- package/toolbar/public_api.d.ts +2 -0
- package/toolbar/toolbar.d.ts +43 -0
- package/toolbar/toolbar.interface.d.ts +19 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/public_api.d.ts +2 -0
- package/tooltip/tooltip.d.ts +208 -0
- package/tooltip/tooltip.module.d.ts +8 -0
- package/tree/index.d.ts +5 -0
- package/tree/public_api.d.ts +3 -0
- package/tree/tree.d.ts +449 -0
- package/tree/tree.interface.d.ts +193 -0
- package/tree/tree.module.d.ts +19 -0
- package/treeselect/index.d.ts +5 -0
- package/treeselect/public_api.d.ts +2 -0
- package/treeselect/treeselect.d.ts +405 -0
- package/treeselect/treeselect.interface.d.ts +108 -0
- package/treetable/index.d.ts +5 -0
- package/treetable/public_api.d.ts +2 -0
- package/treetable/treetable.d.ts +988 -0
- package/treetable/treetable.interface.d.ts +472 -0
- package/tristatecheckbox/index.d.ts +5 -0
- package/tristatecheckbox/public_api.d.ts +3 -0
- package/tristatecheckbox/tristatecheckbox.d.ts +117 -0
- package/tristatecheckbox/tristatecheckbox.interface.d.ts +30 -0
- package/tristatecheckbox/tristatecheckbox.module.d.ts +8 -0
- package/ts-helpers/index.d.ts +5 -0
- package/ts-helpers/public_api.d.ts +1 -0
- package/ts-helpers/ts-helpers.d.ts +4 -0
- package/utils/index.d.ts +5 -0
- package/utils/objectutils.d.ts +24 -0
- package/utils/public_api.d.ts +4 -0
- package/utils/uniquecomponentid.d.ts +2 -0
- package/utils/zindexutils.d.ts +7 -0
- package/virtualscroller/index.d.ts +5 -0
- package/virtualscroller/public_api.d.ts +2 -0
- package/virtualscroller/virtualscroller.d.ts +89 -0
- package/virtualscroller/virtualscroller.interface.d.ts +72 -0
|
@@ -0,0 +1,2532 @@
|
|
|
1
|
+
import * as i2 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, signal, computed, effect, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
|
5
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
|
+
import * as i1 from 'cax-design-system/api';
|
|
7
|
+
import { TranslationKeys, Footer, Header, CaxTemplate, SharedModule } from 'cax-design-system/api';
|
|
8
|
+
import { DomHandler } from 'cax-design-system/dom';
|
|
9
|
+
import * as i3 from 'cax-design-system/overlay';
|
|
10
|
+
import { OverlayModule } from 'cax-design-system/overlay';
|
|
11
|
+
import { RippleModule } from 'cax-design-system/ripple';
|
|
12
|
+
import * as i5 from 'cax-design-system/scroller';
|
|
13
|
+
import { ScrollerModule } from 'cax-design-system/scroller';
|
|
14
|
+
import * as i4 from 'cax-design-system/tooltip';
|
|
15
|
+
import { TooltipModule } from 'cax-design-system/tooltip';
|
|
16
|
+
import { ObjectUtils, UniqueComponentId } from 'cax-design-system/utils';
|
|
17
|
+
import { CheckIcon } from 'cax-design-system/icons/check';
|
|
18
|
+
import { SearchIcon } from 'cax-design-system/icons/search';
|
|
19
|
+
import { TimesCircleIcon } from 'cax-design-system/icons/timescircle';
|
|
20
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
21
|
+
import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
|
|
22
|
+
import { AutoFocusModule } from 'cax-design-system/autofocus';
|
|
23
|
+
import { MinusIcon } from 'cax-design-system/icons/minus';
|
|
24
|
+
|
|
25
|
+
const MULTISELECT_VALUE_ACCESSOR = {
|
|
26
|
+
provide: NG_VALUE_ACCESSOR,
|
|
27
|
+
useExisting: forwardRef(() => MultiSelect),
|
|
28
|
+
multi: true
|
|
29
|
+
};
|
|
30
|
+
class MultiSelectItem {
|
|
31
|
+
config;
|
|
32
|
+
id;
|
|
33
|
+
option;
|
|
34
|
+
selected;
|
|
35
|
+
label;
|
|
36
|
+
disabled;
|
|
37
|
+
itemSize;
|
|
38
|
+
focused;
|
|
39
|
+
ariaPosInset;
|
|
40
|
+
ariaSetSize;
|
|
41
|
+
template;
|
|
42
|
+
checkIconTemplate;
|
|
43
|
+
itemCheckboxIconTemplate;
|
|
44
|
+
onClick = new EventEmitter();
|
|
45
|
+
onMouseEnter = new EventEmitter();
|
|
46
|
+
constructor(config) {
|
|
47
|
+
this.config = config;
|
|
48
|
+
}
|
|
49
|
+
onOptionClick(event) {
|
|
50
|
+
this.onClick.emit({
|
|
51
|
+
originalEvent: event,
|
|
52
|
+
option: this.option,
|
|
53
|
+
selected: this.selected
|
|
54
|
+
});
|
|
55
|
+
event.stopPropagation();
|
|
56
|
+
}
|
|
57
|
+
onOptionMouseEnter(event) {
|
|
58
|
+
this.onMouseEnter.emit({
|
|
59
|
+
originalEvent: event,
|
|
60
|
+
option: this.option,
|
|
61
|
+
selected: this.selected
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectItem, deps: [{ token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: MultiSelectItem, selector: "p-multiSelectItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], focused: ["focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, host: { classAttribute: "cax-element" }, ngImport: i0, template: `
|
|
66
|
+
<li
|
|
67
|
+
pRipple
|
|
68
|
+
role="option"
|
|
69
|
+
[ngStyle]="{ height: itemSize + 'px' }"
|
|
70
|
+
class="p-multiselect-item"
|
|
71
|
+
[ngClass]="{ 'p-multiselect-item': true, 'p-disabled': disabled, 'p-focus': focused }"
|
|
72
|
+
[id]="id"
|
|
73
|
+
[attr.aria-label]="label"
|
|
74
|
+
[attr.aria-setsize]="ariaSetSize"
|
|
75
|
+
[attr.aria-posinset]="ariaPosInset"
|
|
76
|
+
[attr.aria-selected]="selected"
|
|
77
|
+
[attr.data-p-focused]="focused"
|
|
78
|
+
[attr.data-p-highlight]="selected"
|
|
79
|
+
[attr.data-p-disabled]="disabled"
|
|
80
|
+
[attr.aria-checked]="selected"
|
|
81
|
+
(click)="onOptionClick($event)"
|
|
82
|
+
(mouseenter)="onOptionMouseEnter($event)"
|
|
83
|
+
>
|
|
84
|
+
<div class="p-checkbox p-component" [ngClass]="{ 'p-variant-filled': config.inputStyle() === 'filled' }">
|
|
85
|
+
<div class="p-checkbox-box" [ngClass]="{ 'p-highlight': selected }">
|
|
86
|
+
<ng-container *ngIf="selected">
|
|
87
|
+
<CheckIcon *ngIf="!checkIconTemplate && !itemCheckboxIconTemplate" [styleClass]="'p-checkbox-icon'" [attr.aria-hidden]="true" />
|
|
88
|
+
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
89
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate"></ng-template>
|
|
90
|
+
</span>
|
|
91
|
+
<span *ngIf="itemCheckboxIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
92
|
+
<ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { $implicit: selected }"></ng-template>
|
|
93
|
+
</span>
|
|
94
|
+
</ng-container>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<span *ngIf="!template">{{ label ?? 'empty' }}</span>
|
|
98
|
+
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
|
99
|
+
</li>
|
|
100
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }], encapsulation: i0.ViewEncapsulation.None });
|
|
101
|
+
}
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectItem, decorators: [{
|
|
103
|
+
type: Component,
|
|
104
|
+
args: [{
|
|
105
|
+
selector: 'p-multiSelectItem',
|
|
106
|
+
template: `
|
|
107
|
+
<li
|
|
108
|
+
pRipple
|
|
109
|
+
role="option"
|
|
110
|
+
[ngStyle]="{ height: itemSize + 'px' }"
|
|
111
|
+
class="p-multiselect-item"
|
|
112
|
+
[ngClass]="{ 'p-multiselect-item': true, 'p-disabled': disabled, 'p-focus': focused }"
|
|
113
|
+
[id]="id"
|
|
114
|
+
[attr.aria-label]="label"
|
|
115
|
+
[attr.aria-setsize]="ariaSetSize"
|
|
116
|
+
[attr.aria-posinset]="ariaPosInset"
|
|
117
|
+
[attr.aria-selected]="selected"
|
|
118
|
+
[attr.data-p-focused]="focused"
|
|
119
|
+
[attr.data-p-highlight]="selected"
|
|
120
|
+
[attr.data-p-disabled]="disabled"
|
|
121
|
+
[attr.aria-checked]="selected"
|
|
122
|
+
(click)="onOptionClick($event)"
|
|
123
|
+
(mouseenter)="onOptionMouseEnter($event)"
|
|
124
|
+
>
|
|
125
|
+
<div class="p-checkbox p-component" [ngClass]="{ 'p-variant-filled': config.inputStyle() === 'filled' }">
|
|
126
|
+
<div class="p-checkbox-box" [ngClass]="{ 'p-highlight': selected }">
|
|
127
|
+
<ng-container *ngIf="selected">
|
|
128
|
+
<CheckIcon *ngIf="!checkIconTemplate && !itemCheckboxIconTemplate" [styleClass]="'p-checkbox-icon'" [attr.aria-hidden]="true" />
|
|
129
|
+
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
130
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate"></ng-template>
|
|
131
|
+
</span>
|
|
132
|
+
<span *ngIf="itemCheckboxIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
133
|
+
<ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { $implicit: selected }"></ng-template>
|
|
134
|
+
</span>
|
|
135
|
+
</ng-container>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
<span *ngIf="!template">{{ label ?? 'empty' }}</span>
|
|
139
|
+
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
|
140
|
+
</li>
|
|
141
|
+
`,
|
|
142
|
+
encapsulation: ViewEncapsulation.None,
|
|
143
|
+
host: {
|
|
144
|
+
class: 'cax-element'
|
|
145
|
+
}
|
|
146
|
+
}]
|
|
147
|
+
}], ctorParameters: () => [{ type: i1.caxConfig }], propDecorators: { id: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], option: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], selected: [{
|
|
152
|
+
type: Input,
|
|
153
|
+
args: [{ transform: booleanAttribute }]
|
|
154
|
+
}], label: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], disabled: [{
|
|
157
|
+
type: Input,
|
|
158
|
+
args: [{ transform: booleanAttribute }]
|
|
159
|
+
}], itemSize: [{
|
|
160
|
+
type: Input,
|
|
161
|
+
args: [{ transform: numberAttribute }]
|
|
162
|
+
}], focused: [{
|
|
163
|
+
type: Input,
|
|
164
|
+
args: [{ transform: booleanAttribute }]
|
|
165
|
+
}], ariaPosInset: [{
|
|
166
|
+
type: Input
|
|
167
|
+
}], ariaSetSize: [{
|
|
168
|
+
type: Input
|
|
169
|
+
}], template: [{
|
|
170
|
+
type: Input
|
|
171
|
+
}], checkIconTemplate: [{
|
|
172
|
+
type: Input
|
|
173
|
+
}], itemCheckboxIconTemplate: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], onClick: [{
|
|
176
|
+
type: Output
|
|
177
|
+
}], onMouseEnter: [{
|
|
178
|
+
type: Output
|
|
179
|
+
}] } });
|
|
180
|
+
/**
|
|
181
|
+
* MultiSelect is used to select multiple items from a collection.
|
|
182
|
+
* @group Components
|
|
183
|
+
*/
|
|
184
|
+
class MultiSelect {
|
|
185
|
+
el;
|
|
186
|
+
renderer;
|
|
187
|
+
cd;
|
|
188
|
+
zone;
|
|
189
|
+
filterService;
|
|
190
|
+
config;
|
|
191
|
+
overlayService;
|
|
192
|
+
/**
|
|
193
|
+
* Unique identifier of the component
|
|
194
|
+
* @group Props
|
|
195
|
+
*/
|
|
196
|
+
id;
|
|
197
|
+
/**
|
|
198
|
+
* Defines a string that labels the input for accessibility.
|
|
199
|
+
* @group Props
|
|
200
|
+
*/
|
|
201
|
+
ariaLabel;
|
|
202
|
+
/**
|
|
203
|
+
* Inline style of the element.
|
|
204
|
+
* @group Props
|
|
205
|
+
*/
|
|
206
|
+
style;
|
|
207
|
+
/**
|
|
208
|
+
* Style class of the element.
|
|
209
|
+
* @group Props
|
|
210
|
+
*/
|
|
211
|
+
styleClass;
|
|
212
|
+
/**
|
|
213
|
+
* Inline style of the overlay panel.
|
|
214
|
+
* @group Props
|
|
215
|
+
*/
|
|
216
|
+
panelStyle;
|
|
217
|
+
/**
|
|
218
|
+
* Style class of the overlay panel element.
|
|
219
|
+
* @group Props
|
|
220
|
+
*/
|
|
221
|
+
panelStyleClass;
|
|
222
|
+
/**
|
|
223
|
+
* Identifier of the focus input to match a label defined for the component.
|
|
224
|
+
* @group Props
|
|
225
|
+
*/
|
|
226
|
+
inputId;
|
|
227
|
+
/**
|
|
228
|
+
* When present, it specifies that the element should be disabled.
|
|
229
|
+
* @group Props
|
|
230
|
+
*/
|
|
231
|
+
disabled;
|
|
232
|
+
/**
|
|
233
|
+
* When present, it specifies that the component cannot be edited.
|
|
234
|
+
* @group Props
|
|
235
|
+
*/
|
|
236
|
+
readonly;
|
|
237
|
+
/**
|
|
238
|
+
* Whether to display options as grouped when nested options are provided.
|
|
239
|
+
* @group Props
|
|
240
|
+
*/
|
|
241
|
+
group;
|
|
242
|
+
/**
|
|
243
|
+
* When specified, displays an input field to filter the items on keyup.
|
|
244
|
+
* @group Props
|
|
245
|
+
*/
|
|
246
|
+
filter = true;
|
|
247
|
+
/**
|
|
248
|
+
* Defines placeholder of the filter input.
|
|
249
|
+
* @group Props
|
|
250
|
+
*/
|
|
251
|
+
filterPlaceHolder;
|
|
252
|
+
/**
|
|
253
|
+
* Locale to use in filtering. The default locale is the host environment's current locale.
|
|
254
|
+
* @group Props
|
|
255
|
+
*/
|
|
256
|
+
filterLocale;
|
|
257
|
+
/**
|
|
258
|
+
* Specifies the visibility of the options panel.
|
|
259
|
+
* @group Props
|
|
260
|
+
*/
|
|
261
|
+
overlayVisible;
|
|
262
|
+
/**
|
|
263
|
+
* Index of the element in tabbing order.
|
|
264
|
+
* @group Props
|
|
265
|
+
*/
|
|
266
|
+
tabindex = 0;
|
|
267
|
+
/**
|
|
268
|
+
* Specifies the input variant of the component.
|
|
269
|
+
* @group Props
|
|
270
|
+
*/
|
|
271
|
+
variant = 'outlined';
|
|
272
|
+
/**
|
|
273
|
+
* Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
|
|
274
|
+
* @group Props
|
|
275
|
+
*/
|
|
276
|
+
appendTo;
|
|
277
|
+
/**
|
|
278
|
+
* A property to uniquely identify a value in options.
|
|
279
|
+
* @group Props
|
|
280
|
+
*/
|
|
281
|
+
dataKey;
|
|
282
|
+
/**
|
|
283
|
+
* Name of the input element.
|
|
284
|
+
* @group Props
|
|
285
|
+
*/
|
|
286
|
+
name;
|
|
287
|
+
/**
|
|
288
|
+
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
|
289
|
+
* @group Props
|
|
290
|
+
*/
|
|
291
|
+
ariaLabelledBy;
|
|
292
|
+
/**
|
|
293
|
+
* Whether to show labels of selected item labels or use default label.
|
|
294
|
+
* @group Props
|
|
295
|
+
* @defaultValue true
|
|
296
|
+
*/
|
|
297
|
+
set displaySelectedLabel(val) {
|
|
298
|
+
this._displaySelectedLabel = val;
|
|
299
|
+
}
|
|
300
|
+
get displaySelectedLabel() {
|
|
301
|
+
return this._displaySelectedLabel;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Decides how many selected item labels to show at most.
|
|
305
|
+
* @group Props
|
|
306
|
+
* @defaultValue 3
|
|
307
|
+
*/
|
|
308
|
+
set maxSelectedLabels(val) {
|
|
309
|
+
this._maxSelectedLabels = val;
|
|
310
|
+
}
|
|
311
|
+
get maxSelectedLabels() {
|
|
312
|
+
return this._maxSelectedLabels;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Decides how many selected item labels to show at most.
|
|
316
|
+
* @group Props
|
|
317
|
+
*/
|
|
318
|
+
selectionLimit;
|
|
319
|
+
/**
|
|
320
|
+
* Label to display after exceeding max selected labels e.g. ({0} items selected), defaults "ellipsis" keyword to indicate a text-overflow.
|
|
321
|
+
* @group Props
|
|
322
|
+
*/
|
|
323
|
+
selectedItemsLabel;
|
|
324
|
+
/**
|
|
325
|
+
* Whether to show the checkbox at header to toggle all items at once.
|
|
326
|
+
* @group Props
|
|
327
|
+
*/
|
|
328
|
+
showToggleAll = true;
|
|
329
|
+
/**
|
|
330
|
+
* Text to display when filtering does not return any results.
|
|
331
|
+
* @group Props
|
|
332
|
+
*/
|
|
333
|
+
emptyFilterMessage = '';
|
|
334
|
+
/**
|
|
335
|
+
* Text to display when there is no data. Defaults to global value in i18n translation configuration.
|
|
336
|
+
* @group Props
|
|
337
|
+
*/
|
|
338
|
+
emptyMessage = '';
|
|
339
|
+
/**
|
|
340
|
+
* Clears the filter value when hiding the dropdown.
|
|
341
|
+
* @group Props
|
|
342
|
+
*/
|
|
343
|
+
resetFilterOnHide = false;
|
|
344
|
+
/**
|
|
345
|
+
* Icon class of the dropdown icon.
|
|
346
|
+
* @group Props
|
|
347
|
+
*/
|
|
348
|
+
dropdownIcon;
|
|
349
|
+
/**
|
|
350
|
+
* Name of the label field of an option.
|
|
351
|
+
* @group Props
|
|
352
|
+
*/
|
|
353
|
+
optionLabel;
|
|
354
|
+
/**
|
|
355
|
+
* Name of the value field of an option.
|
|
356
|
+
* @group Props
|
|
357
|
+
*/
|
|
358
|
+
optionValue;
|
|
359
|
+
/**
|
|
360
|
+
* Name of the disabled field of an option.
|
|
361
|
+
* @group Props
|
|
362
|
+
*/
|
|
363
|
+
optionDisabled;
|
|
364
|
+
/**
|
|
365
|
+
* Name of the label field of an option group.
|
|
366
|
+
* @group Props
|
|
367
|
+
*/
|
|
368
|
+
optionGroupLabel = 'label';
|
|
369
|
+
/**
|
|
370
|
+
* Name of the options field of an option group.
|
|
371
|
+
* @group Props
|
|
372
|
+
*/
|
|
373
|
+
optionGroupChildren = 'items';
|
|
374
|
+
/**
|
|
375
|
+
* Whether to show the header.
|
|
376
|
+
* @group Props
|
|
377
|
+
*/
|
|
378
|
+
showHeader = true;
|
|
379
|
+
/**
|
|
380
|
+
* When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.
|
|
381
|
+
* @group Props
|
|
382
|
+
*/
|
|
383
|
+
filterBy;
|
|
384
|
+
/**
|
|
385
|
+
* Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.
|
|
386
|
+
* @group Props
|
|
387
|
+
*/
|
|
388
|
+
scrollHeight = '200px';
|
|
389
|
+
/**
|
|
390
|
+
* Defines if data is loaded and interacted with in lazy manner.
|
|
391
|
+
* @group Props
|
|
392
|
+
*/
|
|
393
|
+
lazy = false;
|
|
394
|
+
/**
|
|
395
|
+
* Whether the data should be loaded on demand during scroll.
|
|
396
|
+
* @group Props
|
|
397
|
+
*/
|
|
398
|
+
virtualScroll;
|
|
399
|
+
/**
|
|
400
|
+
* Whether the multiselect is in loading state.
|
|
401
|
+
* @group Props
|
|
402
|
+
*/
|
|
403
|
+
loading = false;
|
|
404
|
+
/**
|
|
405
|
+
* Height of an item in the list for VirtualScrolling.
|
|
406
|
+
* @group Props
|
|
407
|
+
*/
|
|
408
|
+
virtualScrollItemSize;
|
|
409
|
+
/**
|
|
410
|
+
* Icon to display in loading state.
|
|
411
|
+
* @group Props
|
|
412
|
+
*/
|
|
413
|
+
loadingIcon;
|
|
414
|
+
/**
|
|
415
|
+
* Whether to use the scroller feature. The properties of scroller component can be used like an object in it.
|
|
416
|
+
* @group Props
|
|
417
|
+
*/
|
|
418
|
+
virtualScrollOptions;
|
|
419
|
+
/**
|
|
420
|
+
* Whether to use overlay API feature. The properties of overlay API can be used like an object in it.
|
|
421
|
+
* @group Props
|
|
422
|
+
*/
|
|
423
|
+
overlayOptions;
|
|
424
|
+
/**
|
|
425
|
+
* Defines a string that labels the filter input.
|
|
426
|
+
* @group Props
|
|
427
|
+
*/
|
|
428
|
+
ariaFilterLabel;
|
|
429
|
+
/**
|
|
430
|
+
* Defines how the items are filtered.
|
|
431
|
+
* @group Props
|
|
432
|
+
*/
|
|
433
|
+
filterMatchMode = 'contains';
|
|
434
|
+
/**
|
|
435
|
+
* Advisory information to display in a tooltip on hover.
|
|
436
|
+
* @group Props
|
|
437
|
+
*/
|
|
438
|
+
tooltip = '';
|
|
439
|
+
/**
|
|
440
|
+
* Position of the tooltip.
|
|
441
|
+
* @group Props
|
|
442
|
+
*/
|
|
443
|
+
tooltipPosition = 'right';
|
|
444
|
+
/**
|
|
445
|
+
* Type of CSS position.
|
|
446
|
+
* @group Props
|
|
447
|
+
*/
|
|
448
|
+
tooltipPositionStyle = 'absolute';
|
|
449
|
+
/**
|
|
450
|
+
* Style class of the tooltip.
|
|
451
|
+
* @group Props
|
|
452
|
+
*/
|
|
453
|
+
tooltipStyleClass;
|
|
454
|
+
/**
|
|
455
|
+
* Applies focus to the filter element when the overlay is shown.
|
|
456
|
+
* @group Props
|
|
457
|
+
*/
|
|
458
|
+
autofocusFilter = true;
|
|
459
|
+
/**
|
|
460
|
+
* Defines how the selected items are displayed.
|
|
461
|
+
* @group Props
|
|
462
|
+
*/
|
|
463
|
+
display = 'comma';
|
|
464
|
+
/**
|
|
465
|
+
* Defines the autocomplete is active.
|
|
466
|
+
* @group Props
|
|
467
|
+
*/
|
|
468
|
+
autocomplete = 'off';
|
|
469
|
+
/**
|
|
470
|
+
* When enabled, a clear icon is displayed to clear the value.
|
|
471
|
+
* @group Props
|
|
472
|
+
*/
|
|
473
|
+
showClear = false;
|
|
474
|
+
/**
|
|
475
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
476
|
+
* @group Props
|
|
477
|
+
*/
|
|
478
|
+
autofocus;
|
|
479
|
+
/**
|
|
480
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
481
|
+
* Whether to automatically manage layering.
|
|
482
|
+
* @group Props
|
|
483
|
+
*/
|
|
484
|
+
get autoZIndex() {
|
|
485
|
+
return this._autoZIndex;
|
|
486
|
+
}
|
|
487
|
+
set autoZIndex(val) {
|
|
488
|
+
this._autoZIndex = val;
|
|
489
|
+
console.warn('The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
493
|
+
* Base zIndex value to use in layering.
|
|
494
|
+
* @group Props
|
|
495
|
+
*/
|
|
496
|
+
get baseZIndex() {
|
|
497
|
+
return this._baseZIndex;
|
|
498
|
+
}
|
|
499
|
+
set baseZIndex(val) {
|
|
500
|
+
this._baseZIndex = val;
|
|
501
|
+
console.warn('The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Transition options of the show animation.
|
|
505
|
+
* @group Props
|
|
506
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
507
|
+
*/
|
|
508
|
+
get showTransitionOptions() {
|
|
509
|
+
return this._showTransitionOptions;
|
|
510
|
+
}
|
|
511
|
+
set showTransitionOptions(val) {
|
|
512
|
+
this._showTransitionOptions = val;
|
|
513
|
+
console.warn('The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Transition options of the hide animation.
|
|
517
|
+
* @group Props
|
|
518
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
519
|
+
*/
|
|
520
|
+
get hideTransitionOptions() {
|
|
521
|
+
return this._hideTransitionOptions;
|
|
522
|
+
}
|
|
523
|
+
set hideTransitionOptions(val) {
|
|
524
|
+
this._hideTransitionOptions = val;
|
|
525
|
+
console.warn('The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Label to display when there are no selections.
|
|
529
|
+
* @group Props
|
|
530
|
+
* @deprecated Use placeholder instead.
|
|
531
|
+
*/
|
|
532
|
+
set defaultLabel(val) {
|
|
533
|
+
this._defaultLabel = val;
|
|
534
|
+
console.warn('defaultLabel property is deprecated since 16.6.0, use placeholder instead');
|
|
535
|
+
}
|
|
536
|
+
get defaultLabel() {
|
|
537
|
+
return this._defaultLabel;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Label to display when there are no selections.
|
|
541
|
+
* @group Props
|
|
542
|
+
*/
|
|
543
|
+
set placeholder(val) {
|
|
544
|
+
this._placeholder.set(val);
|
|
545
|
+
}
|
|
546
|
+
get placeholder() {
|
|
547
|
+
return this._placeholder.asReadonly();
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* An array of objects to display as the available options.
|
|
551
|
+
* @group Props
|
|
552
|
+
*/
|
|
553
|
+
get options() {
|
|
554
|
+
const options = this._options();
|
|
555
|
+
return options;
|
|
556
|
+
}
|
|
557
|
+
set options(val) {
|
|
558
|
+
if (!ObjectUtils.deepEquals(this._options(), val)) {
|
|
559
|
+
this._options.set(val);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* When specified, filter displays with this value.
|
|
564
|
+
* @group Props
|
|
565
|
+
*/
|
|
566
|
+
get filterValue() {
|
|
567
|
+
return this._filterValue();
|
|
568
|
+
}
|
|
569
|
+
set filterValue(val) {
|
|
570
|
+
this._filterValue.set(val);
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Item size of item to be virtual scrolled.
|
|
574
|
+
* @group Props
|
|
575
|
+
* @deprecated use virtualScrollItemSize property instead.
|
|
576
|
+
*/
|
|
577
|
+
get itemSize() {
|
|
578
|
+
return this._itemSize;
|
|
579
|
+
}
|
|
580
|
+
set itemSize(val) {
|
|
581
|
+
this._itemSize = val;
|
|
582
|
+
console.warn('The itemSize property is deprecated, use virtualScrollItemSize property instead.');
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Whether all data is selected.
|
|
586
|
+
* @group Props
|
|
587
|
+
*/
|
|
588
|
+
get selectAll() {
|
|
589
|
+
return this._selectAll;
|
|
590
|
+
}
|
|
591
|
+
set selectAll(value) {
|
|
592
|
+
this._selectAll = value;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Indicates whether to focus on options when hovering over them, defaults to optionLabel.
|
|
596
|
+
* @group Props
|
|
597
|
+
*/
|
|
598
|
+
focusOnHover = false;
|
|
599
|
+
/**
|
|
600
|
+
* Fields used when filtering the options, defaults to optionLabel.
|
|
601
|
+
* @group Props
|
|
602
|
+
*/
|
|
603
|
+
filterFields;
|
|
604
|
+
/**
|
|
605
|
+
* Determines if the option will be selected on focus.
|
|
606
|
+
* @group Props
|
|
607
|
+
*/
|
|
608
|
+
selectOnFocus = false;
|
|
609
|
+
/**
|
|
610
|
+
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
|
611
|
+
* @group Props
|
|
612
|
+
*/
|
|
613
|
+
autoOptionFocus = true;
|
|
614
|
+
/**
|
|
615
|
+
* Callback to invoke when value changes.
|
|
616
|
+
* @param {MultiSelectChangeEvent} event - Custom change event.
|
|
617
|
+
* @group Emits
|
|
618
|
+
*/
|
|
619
|
+
onChange = new EventEmitter();
|
|
620
|
+
/**
|
|
621
|
+
* Callback to invoke when data is filtered.
|
|
622
|
+
* @param {MultiSelectFilterEvent} event - Custom filter event.
|
|
623
|
+
* @group Emits
|
|
624
|
+
*/
|
|
625
|
+
onFilter = new EventEmitter();
|
|
626
|
+
/**
|
|
627
|
+
* Callback to invoke when multiselect receives focus.
|
|
628
|
+
* @param {MultiSelectFocusEvent} event - Custom focus event.
|
|
629
|
+
* @group Emits
|
|
630
|
+
*/
|
|
631
|
+
onFocus = new EventEmitter();
|
|
632
|
+
/**
|
|
633
|
+
* Callback to invoke when multiselect loses focus.
|
|
634
|
+
* @param {MultiSelectBlurEvent} event - Custom blur event.
|
|
635
|
+
* @group Emits
|
|
636
|
+
*/
|
|
637
|
+
onBlur = new EventEmitter();
|
|
638
|
+
/**
|
|
639
|
+
* Callback to invoke when component is clicked.
|
|
640
|
+
* @param {Event} event - Browser event.
|
|
641
|
+
* @group Emits
|
|
642
|
+
*/
|
|
643
|
+
onClick = new EventEmitter();
|
|
644
|
+
/**
|
|
645
|
+
* Callback to invoke when input field is cleared.
|
|
646
|
+
* @group Emits
|
|
647
|
+
*/
|
|
648
|
+
onClear = new EventEmitter();
|
|
649
|
+
/**
|
|
650
|
+
* Callback to invoke when overlay panel becomes visible.
|
|
651
|
+
* @group Emits
|
|
652
|
+
*/
|
|
653
|
+
onPanelShow = new EventEmitter();
|
|
654
|
+
/**
|
|
655
|
+
* Callback to invoke when overlay panel becomes hidden.
|
|
656
|
+
* @group Emits
|
|
657
|
+
*/
|
|
658
|
+
onPanelHide = new EventEmitter();
|
|
659
|
+
/**
|
|
660
|
+
* Callback to invoke in lazy mode to load new data.
|
|
661
|
+
* @param {MultiSelectLazyLoadEvent} event - Lazy load event.
|
|
662
|
+
* @group Emits
|
|
663
|
+
*/
|
|
664
|
+
onLazyLoad = new EventEmitter();
|
|
665
|
+
/**
|
|
666
|
+
* Callback to invoke in lazy mode to load new data.
|
|
667
|
+
* @param {MultiSelectRemoveEvent} event - Remove event.
|
|
668
|
+
* @group Emits
|
|
669
|
+
*/
|
|
670
|
+
onRemove = new EventEmitter();
|
|
671
|
+
/**
|
|
672
|
+
* Callback to invoke when all data is selected.
|
|
673
|
+
* @param {MultiSelectSelectAllChangeEvent} event - Custom select event.
|
|
674
|
+
* @group Emits
|
|
675
|
+
*/
|
|
676
|
+
onSelectAllChange = new EventEmitter();
|
|
677
|
+
containerViewChild;
|
|
678
|
+
overlayViewChild;
|
|
679
|
+
filterInputChild;
|
|
680
|
+
focusInputViewChild;
|
|
681
|
+
itemsViewChild;
|
|
682
|
+
scroller;
|
|
683
|
+
lastHiddenFocusableElementOnOverlay;
|
|
684
|
+
firstHiddenFocusableElementOnOverlay;
|
|
685
|
+
headerCheckboxViewChild;
|
|
686
|
+
footerFacet;
|
|
687
|
+
headerFacet;
|
|
688
|
+
templates;
|
|
689
|
+
searchValue;
|
|
690
|
+
searchTimeout;
|
|
691
|
+
_selectAll = null;
|
|
692
|
+
_autoZIndex;
|
|
693
|
+
_baseZIndex;
|
|
694
|
+
_showTransitionOptions;
|
|
695
|
+
_hideTransitionOptions;
|
|
696
|
+
_defaultLabel;
|
|
697
|
+
_placeholder = signal(undefined);
|
|
698
|
+
_itemSize;
|
|
699
|
+
_selectionLimit;
|
|
700
|
+
_disableTooltip = false;
|
|
701
|
+
value;
|
|
702
|
+
_filteredOptions;
|
|
703
|
+
onModelChange = () => { };
|
|
704
|
+
onModelTouched = () => { };
|
|
705
|
+
valuesAsString;
|
|
706
|
+
focus;
|
|
707
|
+
filtered;
|
|
708
|
+
itemTemplate;
|
|
709
|
+
groupTemplate;
|
|
710
|
+
loaderTemplate;
|
|
711
|
+
headerTemplate;
|
|
712
|
+
filterTemplate;
|
|
713
|
+
footerTemplate;
|
|
714
|
+
emptyFilterTemplate;
|
|
715
|
+
emptyTemplate;
|
|
716
|
+
selectedItemsTemplate;
|
|
717
|
+
checkIconTemplate;
|
|
718
|
+
loadingIconTemplate;
|
|
719
|
+
filterIconTemplate;
|
|
720
|
+
removeTokenIconTemplate;
|
|
721
|
+
closeIconTemplate;
|
|
722
|
+
clearIconTemplate;
|
|
723
|
+
dropdownIconTemplate;
|
|
724
|
+
itemCheckboxIconTemplate;
|
|
725
|
+
headerCheckboxIconTemplate;
|
|
726
|
+
headerCheckboxFocus;
|
|
727
|
+
filterOptions;
|
|
728
|
+
preventModelTouched;
|
|
729
|
+
preventDocumentDefault;
|
|
730
|
+
focused = false;
|
|
731
|
+
itemsWrapper;
|
|
732
|
+
_displaySelectedLabel = true;
|
|
733
|
+
_maxSelectedLabels = 3;
|
|
734
|
+
modelValue = signal(null);
|
|
735
|
+
_filterValue = signal(null);
|
|
736
|
+
_options = signal(null);
|
|
737
|
+
startRangeIndex = signal(-1);
|
|
738
|
+
focusedOptionIndex = signal(-1);
|
|
739
|
+
selectedOptions;
|
|
740
|
+
clickInProgress = false;
|
|
741
|
+
get containerClass() {
|
|
742
|
+
return {
|
|
743
|
+
'p-multiselect p-component p-inputwrapper': true,
|
|
744
|
+
'p-disabled': this.disabled,
|
|
745
|
+
'p-multiselect-clearable': this.showClear && !this.disabled,
|
|
746
|
+
'p-multiselect-chip': this.display === 'chip',
|
|
747
|
+
'p-focus': this.focused,
|
|
748
|
+
'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled'
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
get inputClass() {
|
|
752
|
+
return {
|
|
753
|
+
'p-multiselect-label p-inputtext': true,
|
|
754
|
+
'p-placeholder': (this.placeholder() || this.defaultLabel) && (this.label() === this.placeholder() || this.label() === this.defaultLabel),
|
|
755
|
+
'p-multiselect-label-empty': !this.selectedItemsTemplate && (this.label() === 'p-emptylabel' || this.label().length === 0)
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
get panelClass() {
|
|
759
|
+
return {
|
|
760
|
+
'p-multiselect-panel p-component': true,
|
|
761
|
+
'p-input-filled': this.config.inputStyle() === 'filled',
|
|
762
|
+
'p-ripple-disabled': this.config.ripple === false
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
get labelClass() {
|
|
766
|
+
return {
|
|
767
|
+
'p-multiselect-label': true,
|
|
768
|
+
'p-placeholder': this.label() === this.placeholder() || this.label() === this.defaultLabel,
|
|
769
|
+
'p-multiselect-label-empty': !this.placeholder() && !this.defaultLabel && (!this.modelValue() || this.modelValue().length === 0)
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
get emptyMessageLabel() {
|
|
773
|
+
return this.emptyMessage || this.config.getTranslation(TranslationKeys.EMPTY_MESSAGE);
|
|
774
|
+
}
|
|
775
|
+
get emptyFilterMessageLabel() {
|
|
776
|
+
return this.emptyFilterMessage || this.config.getTranslation(TranslationKeys.EMPTY_FILTER_MESSAGE);
|
|
777
|
+
}
|
|
778
|
+
get filled() {
|
|
779
|
+
if (typeof this.modelValue() === 'string')
|
|
780
|
+
return !!this.modelValue();
|
|
781
|
+
return ObjectUtils.isNotEmpty(this.modelValue());
|
|
782
|
+
}
|
|
783
|
+
get isVisibleClearIcon() {
|
|
784
|
+
return this.modelValue() != null && this.modelValue() !== '' && ObjectUtils.isNotEmpty(this.modelValue()) && this.showClear && !this.disabled && this.filled;
|
|
785
|
+
}
|
|
786
|
+
get toggleAllAriaLabel() {
|
|
787
|
+
return this.config.translation.aria ? this.config.translation.aria[this.allSelected() ? 'selectAll' : 'unselectAll'] : undefined;
|
|
788
|
+
}
|
|
789
|
+
get closeAriaLabel() {
|
|
790
|
+
return this.config.translation.aria ? this.config.translation.aria.close : undefined;
|
|
791
|
+
}
|
|
792
|
+
get listLabel() {
|
|
793
|
+
return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];
|
|
794
|
+
}
|
|
795
|
+
getAllVisibleAndNonVisibleOptions() {
|
|
796
|
+
return this.group ? this.flatOptions(this.options) : this.options || [];
|
|
797
|
+
}
|
|
798
|
+
visibleOptions = computed(() => {
|
|
799
|
+
const options = this.getAllVisibleAndNonVisibleOptions();
|
|
800
|
+
const isArrayOfObjects = ObjectUtils.isArray(options) && ObjectUtils.isObject(options[0]);
|
|
801
|
+
if (this._filterValue()) {
|
|
802
|
+
let filteredOptions;
|
|
803
|
+
if (isArrayOfObjects) {
|
|
804
|
+
filteredOptions = this.filterService.filter(options, this.searchFields(), this._filterValue(), this.filterMatchMode, this.filterLocale);
|
|
805
|
+
}
|
|
806
|
+
else {
|
|
807
|
+
filteredOptions = options.filter((option) => option.toString().toLocaleLowerCase().includes(this._filterValue().toLocaleLowerCase()));
|
|
808
|
+
}
|
|
809
|
+
if (this.group) {
|
|
810
|
+
const optionGroups = this.options || [];
|
|
811
|
+
const filtered = [];
|
|
812
|
+
optionGroups.forEach((group) => {
|
|
813
|
+
const groupChildren = this.getOptionGroupChildren(group);
|
|
814
|
+
const filteredItems = groupChildren.filter((item) => filteredOptions.includes(item));
|
|
815
|
+
if (filteredItems.length > 0)
|
|
816
|
+
filtered.push({ ...group, [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems] });
|
|
817
|
+
});
|
|
818
|
+
return this.flatOptions(filtered);
|
|
819
|
+
}
|
|
820
|
+
return filteredOptions;
|
|
821
|
+
}
|
|
822
|
+
return options;
|
|
823
|
+
});
|
|
824
|
+
label = computed(() => {
|
|
825
|
+
let label;
|
|
826
|
+
const modelValue = this.modelValue();
|
|
827
|
+
if (modelValue && modelValue.length && this.displaySelectedLabel) {
|
|
828
|
+
if (ObjectUtils.isNotEmpty(this.maxSelectedLabels) && modelValue.length > this.maxSelectedLabels) {
|
|
829
|
+
return this.getSelectedItemsLabel();
|
|
830
|
+
}
|
|
831
|
+
else {
|
|
832
|
+
label = '';
|
|
833
|
+
for (let i = 0; i < modelValue.length; i++) {
|
|
834
|
+
if (i !== 0) {
|
|
835
|
+
label += ', ';
|
|
836
|
+
}
|
|
837
|
+
label += this.getLabelByValue(modelValue[i]);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
else {
|
|
842
|
+
label = this.placeholder() || this.defaultLabel || '';
|
|
843
|
+
}
|
|
844
|
+
return label;
|
|
845
|
+
});
|
|
846
|
+
chipSelectedItems = computed(() => {
|
|
847
|
+
return ObjectUtils.isNotEmpty(this.maxSelectedLabels) && this.modelValue() && this.modelValue().length > this.maxSelectedLabels ? this.modelValue().slice(0, this.maxSelectedLabels) : this.modelValue();
|
|
848
|
+
});
|
|
849
|
+
constructor(el, renderer, cd, zone, filterService, config, overlayService) {
|
|
850
|
+
this.el = el;
|
|
851
|
+
this.renderer = renderer;
|
|
852
|
+
this.cd = cd;
|
|
853
|
+
this.zone = zone;
|
|
854
|
+
this.filterService = filterService;
|
|
855
|
+
this.config = config;
|
|
856
|
+
this.overlayService = overlayService;
|
|
857
|
+
effect(() => {
|
|
858
|
+
const modelValue = this.modelValue();
|
|
859
|
+
const visibleOptions = this.visibleOptions();
|
|
860
|
+
if (visibleOptions && ObjectUtils.isNotEmpty(visibleOptions)) {
|
|
861
|
+
if (this.optionValue && this.optionLabel && modelValue) {
|
|
862
|
+
this.selectedOptions = visibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
|
|
863
|
+
}
|
|
864
|
+
else {
|
|
865
|
+
this.selectedOptions = modelValue;
|
|
866
|
+
}
|
|
867
|
+
this.cd.markForCheck();
|
|
868
|
+
}
|
|
869
|
+
});
|
|
870
|
+
}
|
|
871
|
+
ngOnInit() {
|
|
872
|
+
this.id = this.id || UniqueComponentId();
|
|
873
|
+
this.autoUpdateModel();
|
|
874
|
+
if (this.filterBy) {
|
|
875
|
+
this.filterOptions = {
|
|
876
|
+
filter: (value) => this.onFilterInputChange(value),
|
|
877
|
+
reset: () => this.resetFilter()
|
|
878
|
+
};
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
maxSelectionLimitReached() {
|
|
882
|
+
return ObjectUtils.isNotEmpty(this.selectionLimit) && this.modelValue() && this.modelValue().length === this.selectionLimit;
|
|
883
|
+
}
|
|
884
|
+
ngAfterContentInit() {
|
|
885
|
+
this.templates.forEach((item) => {
|
|
886
|
+
switch (item.getType()) {
|
|
887
|
+
case 'item':
|
|
888
|
+
this.itemTemplate = item.template;
|
|
889
|
+
break;
|
|
890
|
+
case 'group':
|
|
891
|
+
this.groupTemplate = item.template;
|
|
892
|
+
break;
|
|
893
|
+
case 'selectedItems':
|
|
894
|
+
this.selectedItemsTemplate = item.template;
|
|
895
|
+
break;
|
|
896
|
+
case 'header':
|
|
897
|
+
this.headerTemplate = item.template;
|
|
898
|
+
break;
|
|
899
|
+
case 'filter':
|
|
900
|
+
this.filterTemplate = item.template;
|
|
901
|
+
break;
|
|
902
|
+
case 'emptyfilter':
|
|
903
|
+
this.emptyFilterTemplate = item.template;
|
|
904
|
+
break;
|
|
905
|
+
case 'empty':
|
|
906
|
+
this.emptyTemplate = item.template;
|
|
907
|
+
break;
|
|
908
|
+
case 'footer':
|
|
909
|
+
this.footerTemplate = item.template;
|
|
910
|
+
break;
|
|
911
|
+
case 'loader':
|
|
912
|
+
this.loaderTemplate = item.template;
|
|
913
|
+
break;
|
|
914
|
+
case 'checkicon':
|
|
915
|
+
this.checkIconTemplate = item.template;
|
|
916
|
+
console.warn('checkicon is deprecated and will removed in v18. Use itemcheckboxicon or headercheckboxicon templates instead.');
|
|
917
|
+
break;
|
|
918
|
+
case 'headercheckboxicon':
|
|
919
|
+
this.headerCheckboxIconTemplate = item.template;
|
|
920
|
+
break;
|
|
921
|
+
case 'loadingicon':
|
|
922
|
+
this.loadingIconTemplate = item.template;
|
|
923
|
+
break;
|
|
924
|
+
case 'filtericon':
|
|
925
|
+
this.filterIconTemplate = item.template;
|
|
926
|
+
break;
|
|
927
|
+
case 'removetokenicon':
|
|
928
|
+
this.removeTokenIconTemplate = item.template;
|
|
929
|
+
break;
|
|
930
|
+
case 'closeicon':
|
|
931
|
+
this.closeIconTemplate = item.template;
|
|
932
|
+
break;
|
|
933
|
+
case 'clearicon':
|
|
934
|
+
this.clearIconTemplate = item.template;
|
|
935
|
+
break;
|
|
936
|
+
case 'dropdownicon':
|
|
937
|
+
this.dropdownIconTemplate = item.template;
|
|
938
|
+
break;
|
|
939
|
+
case 'itemcheckboxicon':
|
|
940
|
+
this.itemCheckboxIconTemplate = item.template;
|
|
941
|
+
break;
|
|
942
|
+
default:
|
|
943
|
+
this.itemTemplate = item.template;
|
|
944
|
+
break;
|
|
945
|
+
}
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
ngAfterViewInit() {
|
|
949
|
+
if (this.overlayVisible) {
|
|
950
|
+
this.show();
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
ngAfterViewChecked() {
|
|
954
|
+
if (this.filtered) {
|
|
955
|
+
this.zone.runOutsideAngular(() => {
|
|
956
|
+
setTimeout(() => {
|
|
957
|
+
this.overlayViewChild?.alignOverlay();
|
|
958
|
+
}, 1);
|
|
959
|
+
});
|
|
960
|
+
this.filtered = false;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
flatOptions(options) {
|
|
964
|
+
return (options || []).reduce((result, option, index) => {
|
|
965
|
+
result.push({ optionGroup: option, group: true, index });
|
|
966
|
+
const optionGroupChildren = this.getOptionGroupChildren(option);
|
|
967
|
+
optionGroupChildren && optionGroupChildren.forEach((o) => result.push(o));
|
|
968
|
+
return result;
|
|
969
|
+
}, []);
|
|
970
|
+
}
|
|
971
|
+
autoUpdateModel() {
|
|
972
|
+
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption()) {
|
|
973
|
+
this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());
|
|
974
|
+
const value = this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);
|
|
975
|
+
this.onOptionSelect({ originalEvent: null, option: [value] });
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* Updates the model value.
|
|
980
|
+
* @group Method
|
|
981
|
+
*/
|
|
982
|
+
updateModel(value, event) {
|
|
983
|
+
this.value = value;
|
|
984
|
+
this.onModelChange(value);
|
|
985
|
+
this.modelValue.set(value);
|
|
986
|
+
}
|
|
987
|
+
onInputClick(event) {
|
|
988
|
+
event.stopPropagation();
|
|
989
|
+
event.preventDefault();
|
|
990
|
+
this.focusedOptionIndex.set(-1);
|
|
991
|
+
}
|
|
992
|
+
onOptionSelect(event, isFocus = false, index = -1) {
|
|
993
|
+
const { originalEvent, option } = event;
|
|
994
|
+
if (this.disabled || this.isOptionDisabled(option)) {
|
|
995
|
+
return;
|
|
996
|
+
}
|
|
997
|
+
let selected = this.isSelected(option);
|
|
998
|
+
let value = null;
|
|
999
|
+
if (selected) {
|
|
1000
|
+
value = this.modelValue().filter((val) => !ObjectUtils.equals(val, this.getOptionValue(option), this.equalityKey()));
|
|
1001
|
+
this.onRemove.emit({ newValue: this.value, removed: this.getOptionValue(option) });
|
|
1002
|
+
}
|
|
1003
|
+
else {
|
|
1004
|
+
value = [...(this.modelValue() || []), this.getOptionValue(option)];
|
|
1005
|
+
}
|
|
1006
|
+
this.updateModel(value, originalEvent);
|
|
1007
|
+
index !== -1 && this.focusedOptionIndex.set(index);
|
|
1008
|
+
isFocus && DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
1009
|
+
this.onChange.emit({
|
|
1010
|
+
originalEvent: { ...event, selected: !event.selected },
|
|
1011
|
+
value: value,
|
|
1012
|
+
itemValue: option
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
findSelectedOptionIndex() {
|
|
1016
|
+
return this.hasSelectedOption() ? this.visibleOptions().findIndex((option) => this.isValidSelectedOption(option)) : -1;
|
|
1017
|
+
}
|
|
1018
|
+
onOptionSelectRange(event, start = -1, end = -1) {
|
|
1019
|
+
start === -1 && (start = this.findNearestSelectedOptionIndex(end, true));
|
|
1020
|
+
end === -1 && (end = this.findNearestSelectedOptionIndex(start));
|
|
1021
|
+
if (start !== -1 && end !== -1) {
|
|
1022
|
+
const rangeStart = Math.min(start, end);
|
|
1023
|
+
const rangeEnd = Math.max(start, end);
|
|
1024
|
+
const value = this.visibleOptions()
|
|
1025
|
+
.slice(rangeStart, rangeEnd + 1)
|
|
1026
|
+
.filter((option) => this.isValidOption(option))
|
|
1027
|
+
.map((option) => this.getOptionValue(option));
|
|
1028
|
+
this.updateModel(value, event);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
searchFields() {
|
|
1032
|
+
return (this.filterBy || this.optionLabel || 'label').split(',');
|
|
1033
|
+
}
|
|
1034
|
+
findNearestSelectedOptionIndex(index, firstCheckUp = false) {
|
|
1035
|
+
let matchedOptionIndex = -1;
|
|
1036
|
+
if (this.hasSelectedOption()) {
|
|
1037
|
+
if (firstCheckUp) {
|
|
1038
|
+
matchedOptionIndex = this.findPrevSelectedOptionIndex(index);
|
|
1039
|
+
matchedOptionIndex = matchedOptionIndex === -1 ? this.findNextSelectedOptionIndex(index) : matchedOptionIndex;
|
|
1040
|
+
}
|
|
1041
|
+
else {
|
|
1042
|
+
matchedOptionIndex = this.findNextSelectedOptionIndex(index);
|
|
1043
|
+
matchedOptionIndex = matchedOptionIndex === -1 ? this.findPrevSelectedOptionIndex(index) : matchedOptionIndex;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
1047
|
+
}
|
|
1048
|
+
findPrevSelectedOptionIndex(index) {
|
|
1049
|
+
const matchedOptionIndex = this.hasSelectedOption() && index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions().slice(0, index), (option) => this.isValidSelectedOption(option)) : -1;
|
|
1050
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : -1;
|
|
1051
|
+
}
|
|
1052
|
+
findFirstFocusedOptionIndex() {
|
|
1053
|
+
const selectedIndex = this.findFirstSelectedOptionIndex();
|
|
1054
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
1055
|
+
}
|
|
1056
|
+
findFirstOptionIndex() {
|
|
1057
|
+
return this.visibleOptions().findIndex((option) => this.isValidOption(option));
|
|
1058
|
+
}
|
|
1059
|
+
findFirstSelectedOptionIndex() {
|
|
1060
|
+
return this.hasSelectedOption() ? this.visibleOptions().findIndex((option) => this.isValidSelectedOption(option)) : -1;
|
|
1061
|
+
}
|
|
1062
|
+
findNextSelectedOptionIndex(index) {
|
|
1063
|
+
const matchedOptionIndex = this.hasSelectedOption() && index < this.visibleOptions().length - 1
|
|
1064
|
+
? this.visibleOptions()
|
|
1065
|
+
.slice(index + 1)
|
|
1066
|
+
.findIndex((option) => this.isValidSelectedOption(option))
|
|
1067
|
+
: -1;
|
|
1068
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : -1;
|
|
1069
|
+
}
|
|
1070
|
+
equalityKey() {
|
|
1071
|
+
return this.optionValue ? null : this.dataKey;
|
|
1072
|
+
}
|
|
1073
|
+
hasSelectedOption() {
|
|
1074
|
+
return ObjectUtils.isNotEmpty(this.modelValue());
|
|
1075
|
+
}
|
|
1076
|
+
isSelectionAllDisabled() {
|
|
1077
|
+
return this.showToggleAll && ObjectUtils.isEmpty(this.selectionLimit);
|
|
1078
|
+
}
|
|
1079
|
+
isValidSelectedOption(option) {
|
|
1080
|
+
return this.isValidOption(option) && this.isSelected(option);
|
|
1081
|
+
}
|
|
1082
|
+
isOptionGroup(option) {
|
|
1083
|
+
return (this.group || this.optionGroupLabel) && option.optionGroup && option.group;
|
|
1084
|
+
}
|
|
1085
|
+
isValidOption(option) {
|
|
1086
|
+
return option && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
|
|
1087
|
+
}
|
|
1088
|
+
isOptionDisabled(option) {
|
|
1089
|
+
if (this.maxSelectionLimitReached() && !this.isSelected(option)) {
|
|
1090
|
+
return true;
|
|
1091
|
+
}
|
|
1092
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false;
|
|
1093
|
+
}
|
|
1094
|
+
isSelected(option) {
|
|
1095
|
+
const optionValue = this.getOptionValue(option);
|
|
1096
|
+
return (this.modelValue() || []).some((value) => ObjectUtils.equals(value, optionValue, this.equalityKey()));
|
|
1097
|
+
}
|
|
1098
|
+
isOptionMatched(option) {
|
|
1099
|
+
return this.isValidOption(option) && this.getOptionLabel(option).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
|
|
1100
|
+
}
|
|
1101
|
+
isEmpty() {
|
|
1102
|
+
return !this._options() || (this.visibleOptions() && this.visibleOptions().length === 0);
|
|
1103
|
+
}
|
|
1104
|
+
getOptionIndex(index, scrollerOptions) {
|
|
1105
|
+
return this.virtualScrollerDisabled ? index : scrollerOptions && scrollerOptions.getItemOptions(index)['index'];
|
|
1106
|
+
}
|
|
1107
|
+
getAriaPosInset(index) {
|
|
1108
|
+
return ((this.optionGroupLabel
|
|
1109
|
+
? index -
|
|
1110
|
+
this.visibleOptions()
|
|
1111
|
+
.slice(0, index)
|
|
1112
|
+
.filter((option) => this.isOptionGroup(option)).length
|
|
1113
|
+
: index) + 1);
|
|
1114
|
+
}
|
|
1115
|
+
get ariaSetSize() {
|
|
1116
|
+
return this.visibleOptions().filter((option) => !this.isOptionGroup(option)).length;
|
|
1117
|
+
}
|
|
1118
|
+
getLabelByValue(value) {
|
|
1119
|
+
const options = this.group ? this.flatOptions(this._options()) : this._options() || [];
|
|
1120
|
+
const matchedOption = options.find((option) => !this.isOptionGroup(option) && ObjectUtils.equals(this.getOptionValue(option), value, this.equalityKey()));
|
|
1121
|
+
return matchedOption ? this.getOptionLabel(matchedOption) : null;
|
|
1122
|
+
}
|
|
1123
|
+
getSelectedItemsLabel() {
|
|
1124
|
+
let pattern = /{(.*?)}/;
|
|
1125
|
+
let message = this.selectedItemsLabel ? this.selectedItemsLabel : this.config.getTranslation(TranslationKeys.SELECTION_MESSAGE);
|
|
1126
|
+
if (pattern.test(message)) {
|
|
1127
|
+
return message.replace(message.match(pattern)[0], this.modelValue().length + '');
|
|
1128
|
+
}
|
|
1129
|
+
return message;
|
|
1130
|
+
}
|
|
1131
|
+
getOptionLabel(option) {
|
|
1132
|
+
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option && option.label != undefined ? option.label : option;
|
|
1133
|
+
}
|
|
1134
|
+
getOptionValue(option) {
|
|
1135
|
+
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : !this.optionLabel && option && option.value !== undefined ? option.value : option;
|
|
1136
|
+
}
|
|
1137
|
+
getOptionGroupLabel(optionGroup) {
|
|
1138
|
+
return this.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel) : optionGroup && optionGroup.label != undefined ? optionGroup.label : optionGroup;
|
|
1139
|
+
}
|
|
1140
|
+
getOptionGroupChildren(optionGroup) {
|
|
1141
|
+
return this.optionGroupChildren ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;
|
|
1142
|
+
}
|
|
1143
|
+
onKeyDown(event) {
|
|
1144
|
+
if (this.disabled) {
|
|
1145
|
+
event.preventDefault();
|
|
1146
|
+
return;
|
|
1147
|
+
}
|
|
1148
|
+
const metaKey = event.metaKey || event.ctrlKey;
|
|
1149
|
+
switch (event.code) {
|
|
1150
|
+
case 'ArrowDown':
|
|
1151
|
+
this.onArrowDownKey(event);
|
|
1152
|
+
break;
|
|
1153
|
+
case 'ArrowUp':
|
|
1154
|
+
this.onArrowUpKey(event);
|
|
1155
|
+
break;
|
|
1156
|
+
case 'Home':
|
|
1157
|
+
this.onHomeKey(event);
|
|
1158
|
+
break;
|
|
1159
|
+
case 'End':
|
|
1160
|
+
this.onEndKey(event);
|
|
1161
|
+
break;
|
|
1162
|
+
case 'PageDown':
|
|
1163
|
+
this.onPageDownKey(event);
|
|
1164
|
+
break;
|
|
1165
|
+
case 'PageUp':
|
|
1166
|
+
this.onPageUpKey(event);
|
|
1167
|
+
break;
|
|
1168
|
+
case 'Enter':
|
|
1169
|
+
case 'Space':
|
|
1170
|
+
this.onEnterKey(event);
|
|
1171
|
+
break;
|
|
1172
|
+
case 'Escape':
|
|
1173
|
+
this.onEscapeKey(event);
|
|
1174
|
+
break;
|
|
1175
|
+
case 'Tab':
|
|
1176
|
+
this.onTabKey(event);
|
|
1177
|
+
break;
|
|
1178
|
+
case 'ShiftLeft':
|
|
1179
|
+
case 'ShiftRight':
|
|
1180
|
+
this.onShiftKey();
|
|
1181
|
+
break;
|
|
1182
|
+
default:
|
|
1183
|
+
if (event.code === 'KeyA' && metaKey) {
|
|
1184
|
+
const value = this.visibleOptions()
|
|
1185
|
+
.filter((option) => this.isValidOption(option))
|
|
1186
|
+
.map((option) => this.getOptionValue(option));
|
|
1187
|
+
this.updateModel(value, event);
|
|
1188
|
+
event.preventDefault();
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
|
|
1192
|
+
!this.overlayVisible && this.show();
|
|
1193
|
+
this.searchOptions(event, event.key);
|
|
1194
|
+
event.preventDefault();
|
|
1195
|
+
}
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
onFilterKeyDown(event) {
|
|
1200
|
+
switch (event.code) {
|
|
1201
|
+
case 'ArrowDown':
|
|
1202
|
+
this.onArrowDownKey(event);
|
|
1203
|
+
break;
|
|
1204
|
+
case 'ArrowUp':
|
|
1205
|
+
this.onArrowUpKey(event, true);
|
|
1206
|
+
break;
|
|
1207
|
+
case 'ArrowLeft':
|
|
1208
|
+
case 'ArrowRight':
|
|
1209
|
+
this.onArrowLeftKey(event, true);
|
|
1210
|
+
break;
|
|
1211
|
+
case 'Home':
|
|
1212
|
+
this.onHomeKey(event, true);
|
|
1213
|
+
break;
|
|
1214
|
+
case 'End':
|
|
1215
|
+
this.onEndKey(event, true);
|
|
1216
|
+
break;
|
|
1217
|
+
case 'Enter':
|
|
1218
|
+
case 'NumpadEnter':
|
|
1219
|
+
this.onEnterKey(event);
|
|
1220
|
+
break;
|
|
1221
|
+
case 'Escape':
|
|
1222
|
+
this.onEscapeKey(event);
|
|
1223
|
+
break;
|
|
1224
|
+
case 'Tab':
|
|
1225
|
+
this.onTabKey(event, true);
|
|
1226
|
+
break;
|
|
1227
|
+
default:
|
|
1228
|
+
break;
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
onArrowLeftKey(event, pressedInInputText = false) {
|
|
1232
|
+
pressedInInputText && this.focusedOptionIndex.set(-1);
|
|
1233
|
+
}
|
|
1234
|
+
onArrowDownKey(event) {
|
|
1235
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.findFirstFocusedOptionIndex();
|
|
1236
|
+
if (event.shiftKey) {
|
|
1237
|
+
this.onOptionSelectRange(event, this.startRangeIndex(), optionIndex);
|
|
1238
|
+
}
|
|
1239
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1240
|
+
!this.overlayVisible && this.show();
|
|
1241
|
+
event.preventDefault();
|
|
1242
|
+
event.stopPropagation();
|
|
1243
|
+
}
|
|
1244
|
+
onArrowUpKey(event, pressedInInputText = false) {
|
|
1245
|
+
if (event.altKey && !pressedInInputText) {
|
|
1246
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1247
|
+
this.onOptionSelect(event, this.visibleOptions()[this.focusedOptionIndex()]);
|
|
1248
|
+
}
|
|
1249
|
+
this.overlayVisible && this.hide();
|
|
1250
|
+
event.preventDefault();
|
|
1251
|
+
}
|
|
1252
|
+
else {
|
|
1253
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.findLastFocusedOptionIndex();
|
|
1254
|
+
if (event.shiftKey) {
|
|
1255
|
+
this.onOptionSelectRange(event, optionIndex, this.startRangeIndex());
|
|
1256
|
+
}
|
|
1257
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1258
|
+
!this.overlayVisible && this.show();
|
|
1259
|
+
event.preventDefault();
|
|
1260
|
+
}
|
|
1261
|
+
event.stopPropagation();
|
|
1262
|
+
}
|
|
1263
|
+
onHomeKey(event, pressedInInputText = false) {
|
|
1264
|
+
const { currentTarget } = event;
|
|
1265
|
+
if (pressedInInputText) {
|
|
1266
|
+
const len = currentTarget.value.length;
|
|
1267
|
+
currentTarget.setSelectionRange(0, event.shiftKey ? len : 0);
|
|
1268
|
+
this.focusedOptionIndex.set(-1);
|
|
1269
|
+
}
|
|
1270
|
+
else {
|
|
1271
|
+
let metaKey = event.metaKey || event.ctrlKey;
|
|
1272
|
+
let optionIndex = this.findFirstOptionIndex();
|
|
1273
|
+
if (event.shiftKey && metaKey) {
|
|
1274
|
+
this.onOptionSelectRange(event, optionIndex, this.startRangeIndex());
|
|
1275
|
+
}
|
|
1276
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1277
|
+
!this.overlayVisible && this.show();
|
|
1278
|
+
}
|
|
1279
|
+
event.preventDefault();
|
|
1280
|
+
}
|
|
1281
|
+
onEndKey(event, pressedInInputText = false) {
|
|
1282
|
+
const { currentTarget } = event;
|
|
1283
|
+
if (pressedInInputText) {
|
|
1284
|
+
const len = currentTarget.value.length;
|
|
1285
|
+
currentTarget.setSelectionRange(event.shiftKey ? 0 : len, len);
|
|
1286
|
+
this.focusedOptionIndex.set(-1);
|
|
1287
|
+
}
|
|
1288
|
+
else {
|
|
1289
|
+
let metaKey = event.metaKey || event.ctrlKey;
|
|
1290
|
+
let optionIndex = this.findLastFocusedOptionIndex();
|
|
1291
|
+
if (event.shiftKey && metaKey) {
|
|
1292
|
+
this.onOptionSelectRange(event, this.startRangeIndex(), optionIndex);
|
|
1293
|
+
}
|
|
1294
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1295
|
+
!this.overlayVisible && this.show();
|
|
1296
|
+
}
|
|
1297
|
+
event.preventDefault();
|
|
1298
|
+
}
|
|
1299
|
+
onPageDownKey(event) {
|
|
1300
|
+
this.scrollInView(this.visibleOptions().length - 1);
|
|
1301
|
+
event.preventDefault();
|
|
1302
|
+
}
|
|
1303
|
+
onPageUpKey(event) {
|
|
1304
|
+
this.scrollInView(0);
|
|
1305
|
+
event.preventDefault();
|
|
1306
|
+
}
|
|
1307
|
+
onEnterKey(event) {
|
|
1308
|
+
if (!this.overlayVisible) {
|
|
1309
|
+
this.onArrowDownKey(event);
|
|
1310
|
+
}
|
|
1311
|
+
else {
|
|
1312
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1313
|
+
if (event.shiftKey) {
|
|
1314
|
+
this.onOptionSelectRange(event, this.focusedOptionIndex());
|
|
1315
|
+
}
|
|
1316
|
+
else {
|
|
1317
|
+
this.onOptionSelect({ originalEvent: event, option: this.visibleOptions()[this.focusedOptionIndex()] });
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
event.preventDefault();
|
|
1322
|
+
}
|
|
1323
|
+
onEscapeKey(event) {
|
|
1324
|
+
this.overlayVisible && this.hide(true);
|
|
1325
|
+
event.preventDefault();
|
|
1326
|
+
}
|
|
1327
|
+
onDeleteKey(event) {
|
|
1328
|
+
if (this.showClear) {
|
|
1329
|
+
this.clear(event);
|
|
1330
|
+
event.preventDefault();
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
onTabKey(event, pressedInInputText = false) {
|
|
1334
|
+
if (!pressedInInputText) {
|
|
1335
|
+
if (this.overlayVisible && this.hasFocusableElements()) {
|
|
1336
|
+
DomHandler.focus(event.shiftKey ? this.lastHiddenFocusableElementOnOverlay.nativeElement : this.firstHiddenFocusableElementOnOverlay.nativeElement);
|
|
1337
|
+
event.preventDefault();
|
|
1338
|
+
}
|
|
1339
|
+
else {
|
|
1340
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1341
|
+
this.onOptionSelect({ originalEvent: event, option: this.visibleOptions()[this.focusedOptionIndex()] });
|
|
1342
|
+
}
|
|
1343
|
+
this.overlayVisible && this.hide(this.filter);
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
onShiftKey() {
|
|
1348
|
+
this.startRangeIndex.set(this.focusedOptionIndex());
|
|
1349
|
+
}
|
|
1350
|
+
onContainerClick(event) {
|
|
1351
|
+
if (this.disabled || this.loading || this.readonly || event.target.isSameNode(this.focusInputViewChild?.nativeElement)) {
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1354
|
+
if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.closest('[data-pc-section="clearicon"]')) {
|
|
1355
|
+
event.preventDefault();
|
|
1356
|
+
return;
|
|
1357
|
+
}
|
|
1358
|
+
else if (!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(event.target)) {
|
|
1359
|
+
if (this.clickInProgress) {
|
|
1360
|
+
return;
|
|
1361
|
+
}
|
|
1362
|
+
this.clickInProgress = true;
|
|
1363
|
+
setTimeout(() => {
|
|
1364
|
+
this.clickInProgress = false;
|
|
1365
|
+
}, 150);
|
|
1366
|
+
this.overlayVisible ? this.hide(true) : this.show(true);
|
|
1367
|
+
}
|
|
1368
|
+
this.focusInputViewChild?.nativeElement.focus({ preventScroll: true });
|
|
1369
|
+
this.onClick.emit(event);
|
|
1370
|
+
this.cd.detectChanges();
|
|
1371
|
+
}
|
|
1372
|
+
onFirstHiddenFocus(event) {
|
|
1373
|
+
const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement
|
|
1374
|
+
? DomHandler.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-p-hidden-focusable="true"])')
|
|
1375
|
+
: this.focusInputViewChild?.nativeElement;
|
|
1376
|
+
DomHandler.focus(focusableEl);
|
|
1377
|
+
}
|
|
1378
|
+
onInputFocus(event) {
|
|
1379
|
+
this.focused = true;
|
|
1380
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
1381
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
1382
|
+
this.overlayVisible && this.scrollInView(this.focusedOptionIndex());
|
|
1383
|
+
this.onFocus.emit({ originalEvent: event });
|
|
1384
|
+
}
|
|
1385
|
+
onInputBlur(event) {
|
|
1386
|
+
this.focused = false;
|
|
1387
|
+
this.onBlur.emit({ originalEvent: event });
|
|
1388
|
+
if (!this.preventModelTouched) {
|
|
1389
|
+
this.onModelTouched();
|
|
1390
|
+
}
|
|
1391
|
+
this.preventModelTouched = false;
|
|
1392
|
+
}
|
|
1393
|
+
onFilterInputChange(event) {
|
|
1394
|
+
let value = event.target.value;
|
|
1395
|
+
this._filterValue.set(value);
|
|
1396
|
+
this.focusedOptionIndex.set(-1);
|
|
1397
|
+
this.onFilter.emit({ originalEvent: event, filter: this._filterValue() });
|
|
1398
|
+
!this.virtualScrollerDisabled && this.scroller.scrollToIndex(0);
|
|
1399
|
+
setTimeout(() => {
|
|
1400
|
+
this.overlayViewChild.alignOverlay();
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
onLastHiddenFocus(event) {
|
|
1404
|
+
const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement
|
|
1405
|
+
? DomHandler.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-p-hidden-focusable="true"])')
|
|
1406
|
+
: this.focusInputViewChild?.nativeElement;
|
|
1407
|
+
DomHandler.focus(focusableEl);
|
|
1408
|
+
}
|
|
1409
|
+
onOptionMouseEnter(event, index) {
|
|
1410
|
+
if (this.focusOnHover) {
|
|
1411
|
+
this.changeFocusedOptionIndex(event, index);
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
onHeaderCheckboxKeyDown(event) {
|
|
1415
|
+
if (this.disabled) {
|
|
1416
|
+
event.preventDefault();
|
|
1417
|
+
return;
|
|
1418
|
+
}
|
|
1419
|
+
switch (event.code) {
|
|
1420
|
+
case 'Space':
|
|
1421
|
+
this.onToggleAll(event);
|
|
1422
|
+
break;
|
|
1423
|
+
case 'Enter':
|
|
1424
|
+
this.onToggleAll(event);
|
|
1425
|
+
break;
|
|
1426
|
+
default:
|
|
1427
|
+
break;
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
onFilterBlur(event) {
|
|
1431
|
+
this.focusedOptionIndex.set(-1);
|
|
1432
|
+
}
|
|
1433
|
+
onHeaderCheckboxFocus() {
|
|
1434
|
+
this.headerCheckboxFocus = true;
|
|
1435
|
+
}
|
|
1436
|
+
onHeaderCheckboxBlur() {
|
|
1437
|
+
this.headerCheckboxFocus = false;
|
|
1438
|
+
}
|
|
1439
|
+
onToggleAll(event) {
|
|
1440
|
+
if (this.disabled || this.readonly) {
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
if (this.selectAll != null) {
|
|
1444
|
+
this.onSelectAllChange.emit({
|
|
1445
|
+
originalEvent: event,
|
|
1446
|
+
checked: !this.allSelected()
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
else {
|
|
1450
|
+
// pre-selected disabled options should always be selected.
|
|
1451
|
+
const selectedDisabledOptions = this.getAllVisibleAndNonVisibleOptions().filter((option) => this.isSelected(option) && (this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false));
|
|
1452
|
+
const visibleOptions = this.allSelected()
|
|
1453
|
+
? this.visibleOptions().filter((option) => !this.isValidOption(option) && this.isSelected(option))
|
|
1454
|
+
: this.visibleOptions().filter((option) => this.isSelected(option) || this.isValidOption(option));
|
|
1455
|
+
const optionValues = [...selectedDisabledOptions, ...visibleOptions].map((option) => this.getOptionValue(option));
|
|
1456
|
+
const value = [...new Set(optionValues)];
|
|
1457
|
+
this.updateModel(value, event);
|
|
1458
|
+
// because onToggleAll could have been called during filtering, this additional test needs to be performed before calling onSelectAllChange.emit
|
|
1459
|
+
if (!value.length || value.length === this.getAllVisibleAndNonVisibleOptions().length) {
|
|
1460
|
+
this.onSelectAllChange.emit({
|
|
1461
|
+
originalEvent: event,
|
|
1462
|
+
checked: !!value.length
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
if (this.partialSelected()) {
|
|
1467
|
+
this.selectedOptions = null;
|
|
1468
|
+
this.cd.markForCheck();
|
|
1469
|
+
}
|
|
1470
|
+
this.onChange.emit({ originalEvent: event, value: this.value });
|
|
1471
|
+
DomHandler.focus(this.headerCheckboxViewChild?.nativeElement);
|
|
1472
|
+
this.headerCheckboxFocus = true;
|
|
1473
|
+
event.preventDefault();
|
|
1474
|
+
event.stopPropagation();
|
|
1475
|
+
}
|
|
1476
|
+
changeFocusedOptionIndex(event, index) {
|
|
1477
|
+
if (this.focusedOptionIndex() !== index) {
|
|
1478
|
+
this.focusedOptionIndex.set(index);
|
|
1479
|
+
this.scrollInView();
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
get virtualScrollerDisabled() {
|
|
1483
|
+
return !this.virtualScroll;
|
|
1484
|
+
}
|
|
1485
|
+
scrollInView(index = -1) {
|
|
1486
|
+
const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;
|
|
1487
|
+
if (this.itemsViewChild && this.itemsViewChild.nativeElement) {
|
|
1488
|
+
const element = DomHandler.findSingle(this.itemsViewChild.nativeElement, `li[id="${id}"]`);
|
|
1489
|
+
if (element) {
|
|
1490
|
+
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
1491
|
+
}
|
|
1492
|
+
else if (!this.virtualScrollerDisabled) {
|
|
1493
|
+
setTimeout(() => {
|
|
1494
|
+
this.virtualScroll && this.scroller?.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex());
|
|
1495
|
+
}, 0);
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
get focusedOptionId() {
|
|
1500
|
+
return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;
|
|
1501
|
+
}
|
|
1502
|
+
writeValue(value) {
|
|
1503
|
+
this.value = value;
|
|
1504
|
+
if (!ObjectUtils.isEmpty(this.selectionLimit) && ObjectUtils.isEmpty(this.value)) {
|
|
1505
|
+
this.modelValue.set([]);
|
|
1506
|
+
}
|
|
1507
|
+
else {
|
|
1508
|
+
this.modelValue.set(this.value);
|
|
1509
|
+
}
|
|
1510
|
+
this.cd.markForCheck();
|
|
1511
|
+
}
|
|
1512
|
+
registerOnChange(fn) {
|
|
1513
|
+
this.onModelChange = fn;
|
|
1514
|
+
}
|
|
1515
|
+
registerOnTouched(fn) {
|
|
1516
|
+
this.onModelTouched = fn;
|
|
1517
|
+
}
|
|
1518
|
+
setDisabledState(val) {
|
|
1519
|
+
this.disabled = val;
|
|
1520
|
+
this.cd.markForCheck();
|
|
1521
|
+
}
|
|
1522
|
+
allSelected() {
|
|
1523
|
+
return this.selectAll !== null ? this.selectAll : ObjectUtils.isNotEmpty(this.visibleOptions()) && this.visibleOptions().every((option) => this.isOptionGroup(option) || this.isOptionDisabled(option) || this.isSelected(option));
|
|
1524
|
+
}
|
|
1525
|
+
partialSelected() {
|
|
1526
|
+
return this.selectedOptions && this.selectedOptions.length > 0 && this.selectedOptions.length < this.options.length;
|
|
1527
|
+
}
|
|
1528
|
+
/**
|
|
1529
|
+
* Displays the panel.
|
|
1530
|
+
* @group Method
|
|
1531
|
+
*/
|
|
1532
|
+
show(isFocus) {
|
|
1533
|
+
this.overlayVisible = true;
|
|
1534
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
1535
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
1536
|
+
if (isFocus) {
|
|
1537
|
+
DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
1538
|
+
}
|
|
1539
|
+
this.cd.markForCheck();
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Hides the panel.
|
|
1543
|
+
* @group Method
|
|
1544
|
+
*/
|
|
1545
|
+
hide(isFocus) {
|
|
1546
|
+
this.overlayVisible = false;
|
|
1547
|
+
this.focusedOptionIndex.set(-1);
|
|
1548
|
+
if (this.filter && this.resetFilterOnHide) {
|
|
1549
|
+
this.resetFilter();
|
|
1550
|
+
}
|
|
1551
|
+
if (this.overlayOptions?.mode === 'modal') {
|
|
1552
|
+
DomHandler.unblockBodyScroll();
|
|
1553
|
+
}
|
|
1554
|
+
isFocus && DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
1555
|
+
this.onPanelHide.emit();
|
|
1556
|
+
this.cd.markForCheck();
|
|
1557
|
+
}
|
|
1558
|
+
onOverlayAnimationStart(event) {
|
|
1559
|
+
switch (event.toState) {
|
|
1560
|
+
case 'visible':
|
|
1561
|
+
this.itemsWrapper = DomHandler.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-items-wrapper');
|
|
1562
|
+
this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
|
|
1563
|
+
if (this._options() && this._options().length) {
|
|
1564
|
+
if (this.virtualScroll) {
|
|
1565
|
+
const selectedIndex = ObjectUtils.isNotEmpty(this.modelValue()) ? this.focusedOptionIndex() : -1;
|
|
1566
|
+
if (selectedIndex !== -1) {
|
|
1567
|
+
this.scroller?.scrollToIndex(selectedIndex);
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
else {
|
|
1571
|
+
let selectedListItem = DomHandler.findSingle(this.itemsWrapper, '[data-p-highlight="true"]');
|
|
1572
|
+
if (selectedListItem) {
|
|
1573
|
+
selectedListItem.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
if (this.filterInputChild && this.filterInputChild.nativeElement) {
|
|
1578
|
+
this.preventModelTouched = true;
|
|
1579
|
+
if (this.autofocusFilter) {
|
|
1580
|
+
this.filterInputChild.nativeElement.focus();
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
this.onPanelShow.emit();
|
|
1584
|
+
case 'void':
|
|
1585
|
+
this.itemsWrapper = null;
|
|
1586
|
+
this.onModelTouched();
|
|
1587
|
+
break;
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
resetFilter() {
|
|
1591
|
+
if (this.filterInputChild && this.filterInputChild.nativeElement) {
|
|
1592
|
+
this.filterInputChild.nativeElement.value = '';
|
|
1593
|
+
}
|
|
1594
|
+
this._filterValue.set(null);
|
|
1595
|
+
this._filteredOptions = null;
|
|
1596
|
+
}
|
|
1597
|
+
close(event) {
|
|
1598
|
+
this.hide();
|
|
1599
|
+
event.preventDefault();
|
|
1600
|
+
event.stopPropagation();
|
|
1601
|
+
}
|
|
1602
|
+
clear(event) {
|
|
1603
|
+
this.value = null;
|
|
1604
|
+
this.updateModel(null, event);
|
|
1605
|
+
this.selectedOptions = null;
|
|
1606
|
+
this.onClear.emit();
|
|
1607
|
+
this._disableTooltip = true;
|
|
1608
|
+
event.stopPropagation();
|
|
1609
|
+
}
|
|
1610
|
+
labelContainerMouseLeave() {
|
|
1611
|
+
if (this._disableTooltip)
|
|
1612
|
+
this._disableTooltip = false;
|
|
1613
|
+
}
|
|
1614
|
+
removeOption(optionValue, event) {
|
|
1615
|
+
let value = this.modelValue().filter((val) => !ObjectUtils.equals(val, optionValue, this.equalityKey()));
|
|
1616
|
+
this.updateModel(value, event);
|
|
1617
|
+
this.onChange.emit({
|
|
1618
|
+
originalEvent: event,
|
|
1619
|
+
value: value,
|
|
1620
|
+
itemValue: optionValue
|
|
1621
|
+
});
|
|
1622
|
+
event && event.stopPropagation();
|
|
1623
|
+
}
|
|
1624
|
+
findNextItem(item) {
|
|
1625
|
+
let nextItem = item.nextElementSibling;
|
|
1626
|
+
if (nextItem)
|
|
1627
|
+
return DomHandler.hasClass(nextItem.children[0], 'p-disabled') || DomHandler.isHidden(nextItem.children[0]) || DomHandler.hasClass(nextItem, 'p-multiselect-item-group') ? this.findNextItem(nextItem) : nextItem.children[0];
|
|
1628
|
+
else
|
|
1629
|
+
return null;
|
|
1630
|
+
}
|
|
1631
|
+
findPrevItem(item) {
|
|
1632
|
+
let prevItem = item.previousElementSibling;
|
|
1633
|
+
if (prevItem)
|
|
1634
|
+
return DomHandler.hasClass(prevItem.children[0], 'p-disabled') || DomHandler.isHidden(prevItem.children[0]) || DomHandler.hasClass(prevItem, 'p-multiselect-item-group') ? this.findPrevItem(prevItem) : prevItem.children[0];
|
|
1635
|
+
else
|
|
1636
|
+
return null;
|
|
1637
|
+
}
|
|
1638
|
+
findNextOptionIndex(index) {
|
|
1639
|
+
const matchedOptionIndex = index < this.visibleOptions().length - 1
|
|
1640
|
+
? this.visibleOptions()
|
|
1641
|
+
.slice(index + 1)
|
|
1642
|
+
.findIndex((option) => this.isValidOption(option))
|
|
1643
|
+
: -1;
|
|
1644
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
1645
|
+
}
|
|
1646
|
+
findPrevOptionIndex(index) {
|
|
1647
|
+
const matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions().slice(0, index), (option) => this.isValidOption(option)) : -1;
|
|
1648
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
1649
|
+
}
|
|
1650
|
+
findLastSelectedOptionIndex() {
|
|
1651
|
+
return this.hasSelectedOption() ? ObjectUtils.findLastIndex(this.visibleOptions(), (option) => this.isValidSelectedOption(option)) : -1;
|
|
1652
|
+
}
|
|
1653
|
+
findLastFocusedOptionIndex() {
|
|
1654
|
+
const selectedIndex = this.findLastSelectedOptionIndex();
|
|
1655
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
1656
|
+
}
|
|
1657
|
+
findLastOptionIndex() {
|
|
1658
|
+
return ObjectUtils.findLastIndex(this.visibleOptions(), (option) => this.isValidOption(option));
|
|
1659
|
+
}
|
|
1660
|
+
searchOptions(event, char) {
|
|
1661
|
+
this.searchValue = (this.searchValue || '') + char;
|
|
1662
|
+
let optionIndex = -1;
|
|
1663
|
+
let matched = false;
|
|
1664
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1665
|
+
optionIndex = this.visibleOptions()
|
|
1666
|
+
.slice(this.focusedOptionIndex())
|
|
1667
|
+
.findIndex((option) => this.isOptionMatched(option));
|
|
1668
|
+
optionIndex =
|
|
1669
|
+
optionIndex === -1
|
|
1670
|
+
? this.visibleOptions()
|
|
1671
|
+
.slice(0, this.focusedOptionIndex())
|
|
1672
|
+
.findIndex((option) => this.isOptionMatched(option))
|
|
1673
|
+
: optionIndex + this.focusedOptionIndex();
|
|
1674
|
+
}
|
|
1675
|
+
else {
|
|
1676
|
+
optionIndex = this.visibleOptions().findIndex((option) => this.isOptionMatched(option));
|
|
1677
|
+
}
|
|
1678
|
+
if (optionIndex !== -1) {
|
|
1679
|
+
matched = true;
|
|
1680
|
+
}
|
|
1681
|
+
if (optionIndex === -1 && this.focusedOptionIndex() === -1) {
|
|
1682
|
+
optionIndex = this.findFirstFocusedOptionIndex();
|
|
1683
|
+
}
|
|
1684
|
+
if (optionIndex !== -1) {
|
|
1685
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1686
|
+
}
|
|
1687
|
+
if (this.searchTimeout) {
|
|
1688
|
+
clearTimeout(this.searchTimeout);
|
|
1689
|
+
}
|
|
1690
|
+
this.searchTimeout = setTimeout(() => {
|
|
1691
|
+
this.searchValue = '';
|
|
1692
|
+
this.searchTimeout = null;
|
|
1693
|
+
}, 500);
|
|
1694
|
+
return matched;
|
|
1695
|
+
}
|
|
1696
|
+
activateFilter() {
|
|
1697
|
+
if (this.hasFilter() && this._options) {
|
|
1698
|
+
if (this.group) {
|
|
1699
|
+
let filteredGroups = [];
|
|
1700
|
+
for (let optgroup of this.options) {
|
|
1701
|
+
let filteredSubOptions = this.filterService.filter(this.getOptionGroupChildren(optgroup), this.searchFields(), this.filterValue, this.filterMatchMode, this.filterLocale);
|
|
1702
|
+
if (filteredSubOptions && filteredSubOptions.length) {
|
|
1703
|
+
filteredGroups.push({ ...optgroup, ...{ [this.optionGroupChildren]: filteredSubOptions } });
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
this._filteredOptions = filteredGroups;
|
|
1707
|
+
}
|
|
1708
|
+
else {
|
|
1709
|
+
this._filteredOptions = this.filterService.filter(this.options, this.searchFields(), this.filterValue, this.filterMatchMode, this.filterLocale);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
else {
|
|
1713
|
+
this._filteredOptions = null;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
hasFocusableElements() {
|
|
1717
|
+
return DomHandler.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement, ':not([data-p-hidden-focusable="true"])').length > 0;
|
|
1718
|
+
}
|
|
1719
|
+
hasFilter() {
|
|
1720
|
+
return this._filterValue() && this._filterValue().trim().length > 0;
|
|
1721
|
+
}
|
|
1722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelect, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.FilterService }, { token: i1.caxConfig }, { token: i1.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1723
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: MultiSelect, selector: "p-multiSelect", inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], group: ["group", "group", booleanAttribute], filter: ["filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: ["overlayVisible", "overlayVisible", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: ["selectionLimit", "selectionLimit", (value) => numberAttribute(value, null)], selectedItemsLabel: "selectedItemsLabel", showToggleAll: ["showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: ["showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], loading: ["loading", "loading", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { properties: { "class.p-inputwrapper-focus": "focused || overlayVisible", "class.p-inputwrapper-filled": "filled" }, classAttribute: "cax-element p-inputwrapper" }, providers: [MULTISELECT_VALUE_ACCESSOR], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], ngImport: i0, template: `
|
|
1724
|
+
<div #container [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (click)="onContainerClick($event)">
|
|
1725
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
|
1726
|
+
<input
|
|
1727
|
+
#focusInput
|
|
1728
|
+
[caxTooltip]="tooltip"
|
|
1729
|
+
[tooltipPosition]="tooltipPosition"
|
|
1730
|
+
[positionStyle]="tooltipPositionStyle"
|
|
1731
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
|
1732
|
+
[attr.aria-disabled]="disabled"
|
|
1733
|
+
[attr.id]="inputId"
|
|
1734
|
+
role="combobox"
|
|
1735
|
+
[attr.aria-label]="ariaLabel"
|
|
1736
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
1737
|
+
[attr.aria-haspopup]="'listbox'"
|
|
1738
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
1739
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
1740
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
|
1741
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1742
|
+
(focus)="onInputFocus($event)"
|
|
1743
|
+
(blur)="onInputBlur($event)"
|
|
1744
|
+
(keydown)="onKeyDown($event)"
|
|
1745
|
+
pAutoFocus
|
|
1746
|
+
[autofocus]="autofocus"
|
|
1747
|
+
[attr.value]="label() || 'empty'"
|
|
1748
|
+
/>
|
|
1749
|
+
</div>
|
|
1750
|
+
<div
|
|
1751
|
+
class="p-multiselect-label-container"
|
|
1752
|
+
[caxTooltip]="tooltip"
|
|
1753
|
+
(mouseleave)="labelContainerMouseLeave()"
|
|
1754
|
+
[tooltipDisabled]="_disableTooltip"
|
|
1755
|
+
[tooltipPosition]="tooltipPosition"
|
|
1756
|
+
[positionStyle]="tooltipPositionStyle"
|
|
1757
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
|
1758
|
+
>
|
|
1759
|
+
<div [ngClass]="labelClass">
|
|
1760
|
+
<ng-container *ngIf="!selectedItemsTemplate">
|
|
1761
|
+
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
|
1762
|
+
<ng-container *ngIf="display === 'chip'">
|
|
1763
|
+
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-token">
|
|
1764
|
+
<span class="p-multiselect-token-label">{{ getLabelByValue(item) }}</span>
|
|
1765
|
+
<ng-container *ngIf="!disabled">
|
|
1766
|
+
<TimesCircleIcon
|
|
1767
|
+
*ngIf="!removeTokenIconTemplate"
|
|
1768
|
+
[ngClass]="{ 'p-disabled': isOptionDisabled(item) }"
|
|
1769
|
+
[styleClass]="'p-multiselect-token-icon'"
|
|
1770
|
+
(click)="removeOption(item, event)"
|
|
1771
|
+
[attr.data-pc-section]="'clearicon'"
|
|
1772
|
+
[attr.aria-hidden]="true"
|
|
1773
|
+
/>
|
|
1774
|
+
<span *ngIf="removeTokenIconTemplate" class="p-multiselect-token-icon" (click)="removeOption(item, event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
|
1775
|
+
<ng-container *ngTemplateOutlet="removeTokenIconTemplate"></ng-container>
|
|
1776
|
+
</span>
|
|
1777
|
+
</ng-container>
|
|
1778
|
+
</div>
|
|
1779
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
|
1780
|
+
</ng-container>
|
|
1781
|
+
</ng-container>
|
|
1782
|
+
<ng-container *ngTemplateOutlet="selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
|
|
1783
|
+
</div>
|
|
1784
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
|
1785
|
+
<TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-multiselect-clear-icon'" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
|
|
1786
|
+
<span *ngIf="clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
|
1787
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
|
1788
|
+
</span>
|
|
1789
|
+
</ng-container>
|
|
1790
|
+
</div>
|
|
1791
|
+
<div class="p-multiselect-trigger">
|
|
1792
|
+
<ng-container *ngIf="loading; else elseBlock">
|
|
1793
|
+
<ng-container *ngIf="loadingIconTemplate">
|
|
1794
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate"></ng-container>
|
|
1795
|
+
</ng-container>
|
|
1796
|
+
<ng-container *ngIf="!loadingIconTemplate">
|
|
1797
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-trigger-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
|
1798
|
+
<span *ngIf="!loadingIcon" [class]="'p-multiselect-trigger-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
|
1799
|
+
</ng-container>
|
|
1800
|
+
</ng-container>
|
|
1801
|
+
<ng-template #elseBlock>
|
|
1802
|
+
<ng-container *ngIf="!dropdownIconTemplate">
|
|
1803
|
+
<span *ngIf="dropdownIcon" class="p-multiselect-trigger-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
|
|
1804
|
+
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-trigger-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
|
|
1805
|
+
</ng-container>
|
|
1806
|
+
<span *ngIf="dropdownIconTemplate" class="p-multiselect-trigger-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
|
|
1807
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
|
1808
|
+
</span>
|
|
1809
|
+
</ng-template>
|
|
1810
|
+
</div>
|
|
1811
|
+
<cax-overlay
|
|
1812
|
+
#overlay
|
|
1813
|
+
[(visible)]="overlayVisible"
|
|
1814
|
+
[options]="overlayOptions"
|
|
1815
|
+
[target]="'@parent'"
|
|
1816
|
+
[appendTo]="appendTo"
|
|
1817
|
+
[autoZIndex]="autoZIndex"
|
|
1818
|
+
[baseZIndex]="baseZIndex"
|
|
1819
|
+
[showTransitionOptions]="showTransitionOptions"
|
|
1820
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
|
1821
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
|
1822
|
+
(onHide)="hide()"
|
|
1823
|
+
>
|
|
1824
|
+
<ng-template caxTemplate="content">
|
|
1825
|
+
<div [attr.id]="id + '_list'" [ngClass]="'p-multiselect-panel p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
|
|
1826
|
+
<span
|
|
1827
|
+
#firstHiddenFocusableEl
|
|
1828
|
+
role="presentation"
|
|
1829
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
1830
|
+
[attr.tabindex]="0"
|
|
1831
|
+
(focus)="onFirstHiddenFocus($event)"
|
|
1832
|
+
[attr.data-p-hidden-accessible]="true"
|
|
1833
|
+
[attr.data-p-hidden-focusable]="true"
|
|
1834
|
+
>
|
|
1835
|
+
</span>
|
|
1836
|
+
<div class="p-multiselect-header" *ngIf="showHeader">
|
|
1837
|
+
<ng-content select="cax-header"></ng-content>
|
|
1838
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
1839
|
+
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
|
1840
|
+
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
|
1841
|
+
</ng-container>
|
|
1842
|
+
<ng-template #builtInFilterElement>
|
|
1843
|
+
<div
|
|
1844
|
+
class="p-checkbox p-component"
|
|
1845
|
+
*ngIf="isSelectionAllDisabled()"
|
|
1846
|
+
[ngClass]="{ 'p-variant-filled': variant === 'filled' || config.inputStyle() === 'filled', 'p-checkbox-disabled': disabled || toggleAllDisabled }"
|
|
1847
|
+
(click)="onToggleAll($event)"
|
|
1848
|
+
(keydown)="onHeaderCheckboxKeyDown($event)"
|
|
1849
|
+
>
|
|
1850
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
|
1851
|
+
<input
|
|
1852
|
+
#headerCheckbox
|
|
1853
|
+
type="checkbox"
|
|
1854
|
+
[readonly]="readonly"
|
|
1855
|
+
[attr.checked]="allSelected()"
|
|
1856
|
+
(focus)="onHeaderCheckboxFocus()"
|
|
1857
|
+
(blur)="onHeaderCheckboxBlur()"
|
|
1858
|
+
[disabled]="disabled || toggleAllDisabled"
|
|
1859
|
+
[attr.aria-label]="toggleAllAriaLabel"
|
|
1860
|
+
/>
|
|
1861
|
+
</div>
|
|
1862
|
+
<div
|
|
1863
|
+
class="p-checkbox-box"
|
|
1864
|
+
role="checkbox"
|
|
1865
|
+
[attr.aria-label]="toggleAllAriaLabel"
|
|
1866
|
+
[attr.aria-checked]="allSelected()"
|
|
1867
|
+
[ngClass]="{ 'p-highlight': allSelected(), 'p-focus': headerCheckboxFocus, 'p-disabled': disabled || toggleAllDisabled }"
|
|
1868
|
+
>
|
|
1869
|
+
<ng-container *ngIf="allSelected() || partialSelected()">
|
|
1870
|
+
<ng-container *ngIf="!checkIconTemplate && !headerCheckboxIconTemplate">
|
|
1871
|
+
<CheckIcon [styleClass]="'p-checkbox-icon'" *ngIf="allSelected()" [attr.aria-hidden]="true" />
|
|
1872
|
+
</ng-container>
|
|
1873
|
+
|
|
1874
|
+
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
1875
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate; context: { $implicit: allSelected() }"></ng-template>
|
|
1876
|
+
</span>
|
|
1877
|
+
<span *ngIf="headerCheckboxIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
1878
|
+
<ng-template *ngTemplateOutlet="headerCheckboxIconTemplate; context: { $implicit: allSelected(), partialSelected: partialSelected() }"></ng-template>
|
|
1879
|
+
</span>
|
|
1880
|
+
</ng-container>
|
|
1881
|
+
</div>
|
|
1882
|
+
</div>
|
|
1883
|
+
<div class="p-multiselect-filter-container" *ngIf="filter">
|
|
1884
|
+
<input
|
|
1885
|
+
#filterInput
|
|
1886
|
+
type="text"
|
|
1887
|
+
role="searchbox"
|
|
1888
|
+
[attr.autocomplete]="autocomplete"
|
|
1889
|
+
[attr.placeholder]="filterPlaceHolder"
|
|
1890
|
+
role="searchbox"
|
|
1891
|
+
[attr.aria-owns]="id + '_list'"
|
|
1892
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
|
1893
|
+
[value]="_filterValue() || ''"
|
|
1894
|
+
(input)="onFilterInputChange($event)"
|
|
1895
|
+
(keydown)="onFilterKeyDown($event)"
|
|
1896
|
+
(click)="onInputClick($event)"
|
|
1897
|
+
(blur)="onFilterBlur($event)"
|
|
1898
|
+
class="p-multiselect-filter p-inputtext p-component"
|
|
1899
|
+
[disabled]="disabled"
|
|
1900
|
+
[attr.placeholder]="filterPlaceHolder"
|
|
1901
|
+
[attr.aria-label]="ariaFilterLabel"
|
|
1902
|
+
/>
|
|
1903
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
|
1904
|
+
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
|
1905
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
|
1906
|
+
</span>
|
|
1907
|
+
</div>
|
|
1908
|
+
|
|
1909
|
+
<button class="p-multiselect-close p-link p-button-icon-only" type="button" (click)="close($event)" pRipple [attr.aria-label]="closeAriaLabel">
|
|
1910
|
+
<TimesIcon [styleClass]="'p-multiselect-close-icon'" *ngIf="!closeIconTemplate" />
|
|
1911
|
+
<span *ngIf="closeIconTemplate" class="p-multiselect-close-icon">
|
|
1912
|
+
<ng-template *ngTemplateOutlet="closeIconTemplate"></ng-template>
|
|
1913
|
+
</span>
|
|
1914
|
+
</button>
|
|
1915
|
+
</ng-template>
|
|
1916
|
+
</div>
|
|
1917
|
+
<div class="p-multiselect-items-wrapper" [ngStyle]="{ 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto' }">
|
|
1918
|
+
<cax-scroller
|
|
1919
|
+
*ngIf="virtualScroll"
|
|
1920
|
+
#scroller
|
|
1921
|
+
[items]="visibleOptions()"
|
|
1922
|
+
[style]="{ height: scrollHeight }"
|
|
1923
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
|
1924
|
+
[autoSize]="true"
|
|
1925
|
+
[tabindex]="-1"
|
|
1926
|
+
[lazy]="lazy"
|
|
1927
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
1928
|
+
[options]="virtualScrollOptions"
|
|
1929
|
+
>
|
|
1930
|
+
<ng-template caxTemplate="content" let-items let-scrollerOptions="options">
|
|
1931
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
1932
|
+
</ng-template>
|
|
1933
|
+
<ng-container *ngIf="loaderTemplate">
|
|
1934
|
+
<ng-template caxTemplate="loader" let-scrollerOptions="options">
|
|
1935
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
|
1936
|
+
</ng-template>
|
|
1937
|
+
</ng-container>
|
|
1938
|
+
</cax-scroller>
|
|
1939
|
+
<ng-container *ngIf="!virtualScroll">
|
|
1940
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
1941
|
+
</ng-container>
|
|
1942
|
+
|
|
1943
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
1944
|
+
<ul #items class="p-multiselect-items p-component" [ngClass]="scrollerOptions.contentStyleClass" [ngStyle]="scrollerOptions.contentStyle" role="listbox" aria-multiselectable="true" [attr.aria-label]="listLabel">
|
|
1945
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
|
1946
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
|
1947
|
+
<li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-multiselect-item-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1948
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
1949
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
|
1950
|
+
</li>
|
|
1951
|
+
</ng-container>
|
|
1952
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
|
1953
|
+
<p-multiSelectItem
|
|
1954
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
|
1955
|
+
[option]="option"
|
|
1956
|
+
[selected]="isSelected(option)"
|
|
1957
|
+
[label]="getOptionLabel(option)"
|
|
1958
|
+
[disabled]="isOptionDisabled(option)"
|
|
1959
|
+
[template]="itemTemplate"
|
|
1960
|
+
[checkIconTemplate]="checkIconTemplate"
|
|
1961
|
+
[itemCheckboxIconTemplate]="itemCheckboxIconTemplate"
|
|
1962
|
+
[itemSize]="scrollerOptions.itemSize"
|
|
1963
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
|
1964
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
|
1965
|
+
[ariaSetSize]="ariaSetSize"
|
|
1966
|
+
(onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
|
|
1967
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
1968
|
+
></p-multiSelectItem>
|
|
1969
|
+
</ng-container>
|
|
1970
|
+
</ng-template>
|
|
1971
|
+
|
|
1972
|
+
<li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1973
|
+
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
|
1974
|
+
{{ emptyFilterMessageLabel }}
|
|
1975
|
+
</ng-container>
|
|
1976
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
|
1977
|
+
</li>
|
|
1978
|
+
<li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1979
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
|
1980
|
+
{{ emptyMessageLabel }}
|
|
1981
|
+
</ng-container>
|
|
1982
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
|
1983
|
+
</li>
|
|
1984
|
+
</ul>
|
|
1985
|
+
</ng-template>
|
|
1986
|
+
</div>
|
|
1987
|
+
<div class="p-multiselect-footer" *ngIf="footerFacet || footerTemplate">
|
|
1988
|
+
<ng-content select="cax-footer"></ng-content>
|
|
1989
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
1990
|
+
</div>
|
|
1991
|
+
|
|
1992
|
+
<span
|
|
1993
|
+
#lastHiddenFocusableEl
|
|
1994
|
+
role="presentation"
|
|
1995
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
1996
|
+
[attr.tabindex]="0"
|
|
1997
|
+
(focus)="onLastHiddenFocus($event)"
|
|
1998
|
+
[attr.data-p-hidden-accessible]="true"
|
|
1999
|
+
[attr.data-p-hidden-focusable]="true"
|
|
2000
|
+
></span>
|
|
2001
|
+
</div>
|
|
2002
|
+
</ng-template>
|
|
2003
|
+
</cax-overlay>
|
|
2004
|
+
</div>
|
|
2005
|
+
`, isInline: true, styles: ["@layer cax{.p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-multiselect-clearable{position:relative}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => 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: i0.forwardRef(() => i1.CaxTemplate), selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i4.Tooltip), selector: "[caxTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "caxTooltip", "tooltipDisabled", "tooltipOptions", "linkUrl", "linkText"] }, { kind: "component", type: i0.forwardRef(() => i5.Scroller), selector: "cax-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(() => SearchIcon), selector: "SearchIcon" }, { kind: "component", type: i0.forwardRef(() => TimesCircleIcon), selector: "TimesCircleIcon" }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "ChevronDownIcon" }, { kind: "component", type: i0.forwardRef(() => MultiSelectItem), selector: "p-multiSelectItem", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "template", "checkIconTemplate", "itemCheckboxIconTemplate"], outputs: ["onClick", "onMouseEnter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2006
|
+
}
|
|
2007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelect, decorators: [{
|
|
2008
|
+
type: Component,
|
|
2009
|
+
args: [{ selector: 'p-multiSelect', template: `
|
|
2010
|
+
<div #container [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (click)="onContainerClick($event)">
|
|
2011
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
|
2012
|
+
<input
|
|
2013
|
+
#focusInput
|
|
2014
|
+
[caxTooltip]="tooltip"
|
|
2015
|
+
[tooltipPosition]="tooltipPosition"
|
|
2016
|
+
[positionStyle]="tooltipPositionStyle"
|
|
2017
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
|
2018
|
+
[attr.aria-disabled]="disabled"
|
|
2019
|
+
[attr.id]="inputId"
|
|
2020
|
+
role="combobox"
|
|
2021
|
+
[attr.aria-label]="ariaLabel"
|
|
2022
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
2023
|
+
[attr.aria-haspopup]="'listbox'"
|
|
2024
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
2025
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
2026
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
|
2027
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
2028
|
+
(focus)="onInputFocus($event)"
|
|
2029
|
+
(blur)="onInputBlur($event)"
|
|
2030
|
+
(keydown)="onKeyDown($event)"
|
|
2031
|
+
pAutoFocus
|
|
2032
|
+
[autofocus]="autofocus"
|
|
2033
|
+
[attr.value]="label() || 'empty'"
|
|
2034
|
+
/>
|
|
2035
|
+
</div>
|
|
2036
|
+
<div
|
|
2037
|
+
class="p-multiselect-label-container"
|
|
2038
|
+
[caxTooltip]="tooltip"
|
|
2039
|
+
(mouseleave)="labelContainerMouseLeave()"
|
|
2040
|
+
[tooltipDisabled]="_disableTooltip"
|
|
2041
|
+
[tooltipPosition]="tooltipPosition"
|
|
2042
|
+
[positionStyle]="tooltipPositionStyle"
|
|
2043
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
|
2044
|
+
>
|
|
2045
|
+
<div [ngClass]="labelClass">
|
|
2046
|
+
<ng-container *ngIf="!selectedItemsTemplate">
|
|
2047
|
+
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
|
2048
|
+
<ng-container *ngIf="display === 'chip'">
|
|
2049
|
+
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-token">
|
|
2050
|
+
<span class="p-multiselect-token-label">{{ getLabelByValue(item) }}</span>
|
|
2051
|
+
<ng-container *ngIf="!disabled">
|
|
2052
|
+
<TimesCircleIcon
|
|
2053
|
+
*ngIf="!removeTokenIconTemplate"
|
|
2054
|
+
[ngClass]="{ 'p-disabled': isOptionDisabled(item) }"
|
|
2055
|
+
[styleClass]="'p-multiselect-token-icon'"
|
|
2056
|
+
(click)="removeOption(item, event)"
|
|
2057
|
+
[attr.data-pc-section]="'clearicon'"
|
|
2058
|
+
[attr.aria-hidden]="true"
|
|
2059
|
+
/>
|
|
2060
|
+
<span *ngIf="removeTokenIconTemplate" class="p-multiselect-token-icon" (click)="removeOption(item, event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
|
2061
|
+
<ng-container *ngTemplateOutlet="removeTokenIconTemplate"></ng-container>
|
|
2062
|
+
</span>
|
|
2063
|
+
</ng-container>
|
|
2064
|
+
</div>
|
|
2065
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
|
2066
|
+
</ng-container>
|
|
2067
|
+
</ng-container>
|
|
2068
|
+
<ng-container *ngTemplateOutlet="selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
|
|
2069
|
+
</div>
|
|
2070
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
|
2071
|
+
<TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-multiselect-clear-icon'" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
|
|
2072
|
+
<span *ngIf="clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
|
2073
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
|
2074
|
+
</span>
|
|
2075
|
+
</ng-container>
|
|
2076
|
+
</div>
|
|
2077
|
+
<div class="p-multiselect-trigger">
|
|
2078
|
+
<ng-container *ngIf="loading; else elseBlock">
|
|
2079
|
+
<ng-container *ngIf="loadingIconTemplate">
|
|
2080
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate"></ng-container>
|
|
2081
|
+
</ng-container>
|
|
2082
|
+
<ng-container *ngIf="!loadingIconTemplate">
|
|
2083
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-trigger-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
|
2084
|
+
<span *ngIf="!loadingIcon" [class]="'p-multiselect-trigger-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
|
2085
|
+
</ng-container>
|
|
2086
|
+
</ng-container>
|
|
2087
|
+
<ng-template #elseBlock>
|
|
2088
|
+
<ng-container *ngIf="!dropdownIconTemplate">
|
|
2089
|
+
<span *ngIf="dropdownIcon" class="p-multiselect-trigger-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
|
|
2090
|
+
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-trigger-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
|
|
2091
|
+
</ng-container>
|
|
2092
|
+
<span *ngIf="dropdownIconTemplate" class="p-multiselect-trigger-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
|
|
2093
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
|
2094
|
+
</span>
|
|
2095
|
+
</ng-template>
|
|
2096
|
+
</div>
|
|
2097
|
+
<cax-overlay
|
|
2098
|
+
#overlay
|
|
2099
|
+
[(visible)]="overlayVisible"
|
|
2100
|
+
[options]="overlayOptions"
|
|
2101
|
+
[target]="'@parent'"
|
|
2102
|
+
[appendTo]="appendTo"
|
|
2103
|
+
[autoZIndex]="autoZIndex"
|
|
2104
|
+
[baseZIndex]="baseZIndex"
|
|
2105
|
+
[showTransitionOptions]="showTransitionOptions"
|
|
2106
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
|
2107
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
|
2108
|
+
(onHide)="hide()"
|
|
2109
|
+
>
|
|
2110
|
+
<ng-template caxTemplate="content">
|
|
2111
|
+
<div [attr.id]="id + '_list'" [ngClass]="'p-multiselect-panel p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
|
|
2112
|
+
<span
|
|
2113
|
+
#firstHiddenFocusableEl
|
|
2114
|
+
role="presentation"
|
|
2115
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
2116
|
+
[attr.tabindex]="0"
|
|
2117
|
+
(focus)="onFirstHiddenFocus($event)"
|
|
2118
|
+
[attr.data-p-hidden-accessible]="true"
|
|
2119
|
+
[attr.data-p-hidden-focusable]="true"
|
|
2120
|
+
>
|
|
2121
|
+
</span>
|
|
2122
|
+
<div class="p-multiselect-header" *ngIf="showHeader">
|
|
2123
|
+
<ng-content select="cax-header"></ng-content>
|
|
2124
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
2125
|
+
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
|
2126
|
+
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
|
2127
|
+
</ng-container>
|
|
2128
|
+
<ng-template #builtInFilterElement>
|
|
2129
|
+
<div
|
|
2130
|
+
class="p-checkbox p-component"
|
|
2131
|
+
*ngIf="isSelectionAllDisabled()"
|
|
2132
|
+
[ngClass]="{ 'p-variant-filled': variant === 'filled' || config.inputStyle() === 'filled', 'p-checkbox-disabled': disabled || toggleAllDisabled }"
|
|
2133
|
+
(click)="onToggleAll($event)"
|
|
2134
|
+
(keydown)="onHeaderCheckboxKeyDown($event)"
|
|
2135
|
+
>
|
|
2136
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
|
2137
|
+
<input
|
|
2138
|
+
#headerCheckbox
|
|
2139
|
+
type="checkbox"
|
|
2140
|
+
[readonly]="readonly"
|
|
2141
|
+
[attr.checked]="allSelected()"
|
|
2142
|
+
(focus)="onHeaderCheckboxFocus()"
|
|
2143
|
+
(blur)="onHeaderCheckboxBlur()"
|
|
2144
|
+
[disabled]="disabled || toggleAllDisabled"
|
|
2145
|
+
[attr.aria-label]="toggleAllAriaLabel"
|
|
2146
|
+
/>
|
|
2147
|
+
</div>
|
|
2148
|
+
<div
|
|
2149
|
+
class="p-checkbox-box"
|
|
2150
|
+
role="checkbox"
|
|
2151
|
+
[attr.aria-label]="toggleAllAriaLabel"
|
|
2152
|
+
[attr.aria-checked]="allSelected()"
|
|
2153
|
+
[ngClass]="{ 'p-highlight': allSelected(), 'p-focus': headerCheckboxFocus, 'p-disabled': disabled || toggleAllDisabled }"
|
|
2154
|
+
>
|
|
2155
|
+
<ng-container *ngIf="allSelected() || partialSelected()">
|
|
2156
|
+
<ng-container *ngIf="!checkIconTemplate && !headerCheckboxIconTemplate">
|
|
2157
|
+
<CheckIcon [styleClass]="'p-checkbox-icon'" *ngIf="allSelected()" [attr.aria-hidden]="true" />
|
|
2158
|
+
</ng-container>
|
|
2159
|
+
|
|
2160
|
+
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
2161
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate; context: { $implicit: allSelected() }"></ng-template>
|
|
2162
|
+
</span>
|
|
2163
|
+
<span *ngIf="headerCheckboxIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
|
|
2164
|
+
<ng-template *ngTemplateOutlet="headerCheckboxIconTemplate; context: { $implicit: allSelected(), partialSelected: partialSelected() }"></ng-template>
|
|
2165
|
+
</span>
|
|
2166
|
+
</ng-container>
|
|
2167
|
+
</div>
|
|
2168
|
+
</div>
|
|
2169
|
+
<div class="p-multiselect-filter-container" *ngIf="filter">
|
|
2170
|
+
<input
|
|
2171
|
+
#filterInput
|
|
2172
|
+
type="text"
|
|
2173
|
+
role="searchbox"
|
|
2174
|
+
[attr.autocomplete]="autocomplete"
|
|
2175
|
+
[attr.placeholder]="filterPlaceHolder"
|
|
2176
|
+
role="searchbox"
|
|
2177
|
+
[attr.aria-owns]="id + '_list'"
|
|
2178
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
|
2179
|
+
[value]="_filterValue() || ''"
|
|
2180
|
+
(input)="onFilterInputChange($event)"
|
|
2181
|
+
(keydown)="onFilterKeyDown($event)"
|
|
2182
|
+
(click)="onInputClick($event)"
|
|
2183
|
+
(blur)="onFilterBlur($event)"
|
|
2184
|
+
class="p-multiselect-filter p-inputtext p-component"
|
|
2185
|
+
[disabled]="disabled"
|
|
2186
|
+
[attr.placeholder]="filterPlaceHolder"
|
|
2187
|
+
[attr.aria-label]="ariaFilterLabel"
|
|
2188
|
+
/>
|
|
2189
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
|
2190
|
+
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
|
2191
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
|
2192
|
+
</span>
|
|
2193
|
+
</div>
|
|
2194
|
+
|
|
2195
|
+
<button class="p-multiselect-close p-link p-button-icon-only" type="button" (click)="close($event)" pRipple [attr.aria-label]="closeAriaLabel">
|
|
2196
|
+
<TimesIcon [styleClass]="'p-multiselect-close-icon'" *ngIf="!closeIconTemplate" />
|
|
2197
|
+
<span *ngIf="closeIconTemplate" class="p-multiselect-close-icon">
|
|
2198
|
+
<ng-template *ngTemplateOutlet="closeIconTemplate"></ng-template>
|
|
2199
|
+
</span>
|
|
2200
|
+
</button>
|
|
2201
|
+
</ng-template>
|
|
2202
|
+
</div>
|
|
2203
|
+
<div class="p-multiselect-items-wrapper" [ngStyle]="{ 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto' }">
|
|
2204
|
+
<cax-scroller
|
|
2205
|
+
*ngIf="virtualScroll"
|
|
2206
|
+
#scroller
|
|
2207
|
+
[items]="visibleOptions()"
|
|
2208
|
+
[style]="{ height: scrollHeight }"
|
|
2209
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
|
2210
|
+
[autoSize]="true"
|
|
2211
|
+
[tabindex]="-1"
|
|
2212
|
+
[lazy]="lazy"
|
|
2213
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
2214
|
+
[options]="virtualScrollOptions"
|
|
2215
|
+
>
|
|
2216
|
+
<ng-template caxTemplate="content" let-items let-scrollerOptions="options">
|
|
2217
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
2218
|
+
</ng-template>
|
|
2219
|
+
<ng-container *ngIf="loaderTemplate">
|
|
2220
|
+
<ng-template caxTemplate="loader" let-scrollerOptions="options">
|
|
2221
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
|
2222
|
+
</ng-template>
|
|
2223
|
+
</ng-container>
|
|
2224
|
+
</cax-scroller>
|
|
2225
|
+
<ng-container *ngIf="!virtualScroll">
|
|
2226
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
2227
|
+
</ng-container>
|
|
2228
|
+
|
|
2229
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
2230
|
+
<ul #items class="p-multiselect-items p-component" [ngClass]="scrollerOptions.contentStyleClass" [ngStyle]="scrollerOptions.contentStyle" role="listbox" aria-multiselectable="true" [attr.aria-label]="listLabel">
|
|
2231
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
|
2232
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
|
2233
|
+
<li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-multiselect-item-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
2234
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
2235
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
|
2236
|
+
</li>
|
|
2237
|
+
</ng-container>
|
|
2238
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
|
2239
|
+
<p-multiSelectItem
|
|
2240
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
|
2241
|
+
[option]="option"
|
|
2242
|
+
[selected]="isSelected(option)"
|
|
2243
|
+
[label]="getOptionLabel(option)"
|
|
2244
|
+
[disabled]="isOptionDisabled(option)"
|
|
2245
|
+
[template]="itemTemplate"
|
|
2246
|
+
[checkIconTemplate]="checkIconTemplate"
|
|
2247
|
+
[itemCheckboxIconTemplate]="itemCheckboxIconTemplate"
|
|
2248
|
+
[itemSize]="scrollerOptions.itemSize"
|
|
2249
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
|
2250
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
|
2251
|
+
[ariaSetSize]="ariaSetSize"
|
|
2252
|
+
(onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
|
|
2253
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
2254
|
+
></p-multiSelectItem>
|
|
2255
|
+
</ng-container>
|
|
2256
|
+
</ng-template>
|
|
2257
|
+
|
|
2258
|
+
<li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
2259
|
+
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
|
2260
|
+
{{ emptyFilterMessageLabel }}
|
|
2261
|
+
</ng-container>
|
|
2262
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
|
2263
|
+
</li>
|
|
2264
|
+
<li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
2265
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
|
2266
|
+
{{ emptyMessageLabel }}
|
|
2267
|
+
</ng-container>
|
|
2268
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
|
2269
|
+
</li>
|
|
2270
|
+
</ul>
|
|
2271
|
+
</ng-template>
|
|
2272
|
+
</div>
|
|
2273
|
+
<div class="p-multiselect-footer" *ngIf="footerFacet || footerTemplate">
|
|
2274
|
+
<ng-content select="cax-footer"></ng-content>
|
|
2275
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
2276
|
+
</div>
|
|
2277
|
+
|
|
2278
|
+
<span
|
|
2279
|
+
#lastHiddenFocusableEl
|
|
2280
|
+
role="presentation"
|
|
2281
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
2282
|
+
[attr.tabindex]="0"
|
|
2283
|
+
(focus)="onLastHiddenFocus($event)"
|
|
2284
|
+
[attr.data-p-hidden-accessible]="true"
|
|
2285
|
+
[attr.data-p-hidden-focusable]="true"
|
|
2286
|
+
></span>
|
|
2287
|
+
</div>
|
|
2288
|
+
</ng-template>
|
|
2289
|
+
</cax-overlay>
|
|
2290
|
+
</div>
|
|
2291
|
+
`, host: {
|
|
2292
|
+
class: 'cax-element p-inputwrapper',
|
|
2293
|
+
'[class.p-inputwrapper-focus]': 'focused || overlayVisible',
|
|
2294
|
+
'[class.p-inputwrapper-filled]': 'filled'
|
|
2295
|
+
}, providers: [MULTISELECT_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@layer cax{.p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-multiselect-clearable{position:relative}}\n"] }]
|
|
2296
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.FilterService }, { type: i1.caxConfig }, { type: i1.OverlayService }], propDecorators: { id: [{
|
|
2297
|
+
type: Input
|
|
2298
|
+
}], ariaLabel: [{
|
|
2299
|
+
type: Input
|
|
2300
|
+
}], style: [{
|
|
2301
|
+
type: Input
|
|
2302
|
+
}], styleClass: [{
|
|
2303
|
+
type: Input
|
|
2304
|
+
}], panelStyle: [{
|
|
2305
|
+
type: Input
|
|
2306
|
+
}], panelStyleClass: [{
|
|
2307
|
+
type: Input
|
|
2308
|
+
}], inputId: [{
|
|
2309
|
+
type: Input
|
|
2310
|
+
}], disabled: [{
|
|
2311
|
+
type: Input,
|
|
2312
|
+
args: [{ transform: booleanAttribute }]
|
|
2313
|
+
}], readonly: [{
|
|
2314
|
+
type: Input,
|
|
2315
|
+
args: [{ transform: booleanAttribute }]
|
|
2316
|
+
}], group: [{
|
|
2317
|
+
type: Input,
|
|
2318
|
+
args: [{ transform: booleanAttribute }]
|
|
2319
|
+
}], filter: [{
|
|
2320
|
+
type: Input,
|
|
2321
|
+
args: [{ transform: booleanAttribute }]
|
|
2322
|
+
}], filterPlaceHolder: [{
|
|
2323
|
+
type: Input
|
|
2324
|
+
}], filterLocale: [{
|
|
2325
|
+
type: Input
|
|
2326
|
+
}], overlayVisible: [{
|
|
2327
|
+
type: Input,
|
|
2328
|
+
args: [{ transform: booleanAttribute }]
|
|
2329
|
+
}], tabindex: [{
|
|
2330
|
+
type: Input,
|
|
2331
|
+
args: [{ transform: numberAttribute }]
|
|
2332
|
+
}], variant: [{
|
|
2333
|
+
type: Input
|
|
2334
|
+
}], appendTo: [{
|
|
2335
|
+
type: Input
|
|
2336
|
+
}], dataKey: [{
|
|
2337
|
+
type: Input
|
|
2338
|
+
}], name: [{
|
|
2339
|
+
type: Input
|
|
2340
|
+
}], ariaLabelledBy: [{
|
|
2341
|
+
type: Input
|
|
2342
|
+
}], displaySelectedLabel: [{
|
|
2343
|
+
type: Input
|
|
2344
|
+
}], maxSelectedLabels: [{
|
|
2345
|
+
type: Input
|
|
2346
|
+
}], selectionLimit: [{
|
|
2347
|
+
type: Input,
|
|
2348
|
+
args: [{ transform: (value) => numberAttribute(value, null) }]
|
|
2349
|
+
}], selectedItemsLabel: [{
|
|
2350
|
+
type: Input
|
|
2351
|
+
}], showToggleAll: [{
|
|
2352
|
+
type: Input,
|
|
2353
|
+
args: [{ transform: booleanAttribute }]
|
|
2354
|
+
}], emptyFilterMessage: [{
|
|
2355
|
+
type: Input
|
|
2356
|
+
}], emptyMessage: [{
|
|
2357
|
+
type: Input
|
|
2358
|
+
}], resetFilterOnHide: [{
|
|
2359
|
+
type: Input,
|
|
2360
|
+
args: [{ transform: booleanAttribute }]
|
|
2361
|
+
}], dropdownIcon: [{
|
|
2362
|
+
type: Input
|
|
2363
|
+
}], optionLabel: [{
|
|
2364
|
+
type: Input
|
|
2365
|
+
}], optionValue: [{
|
|
2366
|
+
type: Input
|
|
2367
|
+
}], optionDisabled: [{
|
|
2368
|
+
type: Input
|
|
2369
|
+
}], optionGroupLabel: [{
|
|
2370
|
+
type: Input
|
|
2371
|
+
}], optionGroupChildren: [{
|
|
2372
|
+
type: Input
|
|
2373
|
+
}], showHeader: [{
|
|
2374
|
+
type: Input,
|
|
2375
|
+
args: [{ transform: booleanAttribute }]
|
|
2376
|
+
}], filterBy: [{
|
|
2377
|
+
type: Input
|
|
2378
|
+
}], scrollHeight: [{
|
|
2379
|
+
type: Input
|
|
2380
|
+
}], lazy: [{
|
|
2381
|
+
type: Input,
|
|
2382
|
+
args: [{ transform: booleanAttribute }]
|
|
2383
|
+
}], virtualScroll: [{
|
|
2384
|
+
type: Input,
|
|
2385
|
+
args: [{ transform: booleanAttribute }]
|
|
2386
|
+
}], loading: [{
|
|
2387
|
+
type: Input,
|
|
2388
|
+
args: [{ transform: booleanAttribute }]
|
|
2389
|
+
}], virtualScrollItemSize: [{
|
|
2390
|
+
type: Input,
|
|
2391
|
+
args: [{ transform: numberAttribute }]
|
|
2392
|
+
}], loadingIcon: [{
|
|
2393
|
+
type: Input
|
|
2394
|
+
}], virtualScrollOptions: [{
|
|
2395
|
+
type: Input
|
|
2396
|
+
}], overlayOptions: [{
|
|
2397
|
+
type: Input
|
|
2398
|
+
}], ariaFilterLabel: [{
|
|
2399
|
+
type: Input
|
|
2400
|
+
}], filterMatchMode: [{
|
|
2401
|
+
type: Input
|
|
2402
|
+
}], tooltip: [{
|
|
2403
|
+
type: Input
|
|
2404
|
+
}], tooltipPosition: [{
|
|
2405
|
+
type: Input
|
|
2406
|
+
}], tooltipPositionStyle: [{
|
|
2407
|
+
type: Input
|
|
2408
|
+
}], tooltipStyleClass: [{
|
|
2409
|
+
type: Input
|
|
2410
|
+
}], autofocusFilter: [{
|
|
2411
|
+
type: Input,
|
|
2412
|
+
args: [{ transform: booleanAttribute }]
|
|
2413
|
+
}], display: [{
|
|
2414
|
+
type: Input
|
|
2415
|
+
}], autocomplete: [{
|
|
2416
|
+
type: Input
|
|
2417
|
+
}], showClear: [{
|
|
2418
|
+
type: Input,
|
|
2419
|
+
args: [{ transform: booleanAttribute }]
|
|
2420
|
+
}], autofocus: [{
|
|
2421
|
+
type: Input,
|
|
2422
|
+
args: [{ transform: booleanAttribute }]
|
|
2423
|
+
}], autoZIndex: [{
|
|
2424
|
+
type: Input
|
|
2425
|
+
}], baseZIndex: [{
|
|
2426
|
+
type: Input
|
|
2427
|
+
}], showTransitionOptions: [{
|
|
2428
|
+
type: Input
|
|
2429
|
+
}], hideTransitionOptions: [{
|
|
2430
|
+
type: Input
|
|
2431
|
+
}], defaultLabel: [{
|
|
2432
|
+
type: Input
|
|
2433
|
+
}], placeholder: [{
|
|
2434
|
+
type: Input
|
|
2435
|
+
}], options: [{
|
|
2436
|
+
type: Input
|
|
2437
|
+
}], filterValue: [{
|
|
2438
|
+
type: Input
|
|
2439
|
+
}], itemSize: [{
|
|
2440
|
+
type: Input
|
|
2441
|
+
}], selectAll: [{
|
|
2442
|
+
type: Input
|
|
2443
|
+
}], focusOnHover: [{
|
|
2444
|
+
type: Input,
|
|
2445
|
+
args: [{ transform: booleanAttribute }]
|
|
2446
|
+
}], filterFields: [{
|
|
2447
|
+
type: Input
|
|
2448
|
+
}], selectOnFocus: [{
|
|
2449
|
+
type: Input,
|
|
2450
|
+
args: [{ transform: booleanAttribute }]
|
|
2451
|
+
}], autoOptionFocus: [{
|
|
2452
|
+
type: Input,
|
|
2453
|
+
args: [{ transform: booleanAttribute }]
|
|
2454
|
+
}], onChange: [{
|
|
2455
|
+
type: Output
|
|
2456
|
+
}], onFilter: [{
|
|
2457
|
+
type: Output
|
|
2458
|
+
}], onFocus: [{
|
|
2459
|
+
type: Output
|
|
2460
|
+
}], onBlur: [{
|
|
2461
|
+
type: Output
|
|
2462
|
+
}], onClick: [{
|
|
2463
|
+
type: Output
|
|
2464
|
+
}], onClear: [{
|
|
2465
|
+
type: Output
|
|
2466
|
+
}], onPanelShow: [{
|
|
2467
|
+
type: Output
|
|
2468
|
+
}], onPanelHide: [{
|
|
2469
|
+
type: Output
|
|
2470
|
+
}], onLazyLoad: [{
|
|
2471
|
+
type: Output
|
|
2472
|
+
}], onRemove: [{
|
|
2473
|
+
type: Output
|
|
2474
|
+
}], onSelectAllChange: [{
|
|
2475
|
+
type: Output
|
|
2476
|
+
}], containerViewChild: [{
|
|
2477
|
+
type: ViewChild,
|
|
2478
|
+
args: ['container']
|
|
2479
|
+
}], overlayViewChild: [{
|
|
2480
|
+
type: ViewChild,
|
|
2481
|
+
args: ['overlay']
|
|
2482
|
+
}], filterInputChild: [{
|
|
2483
|
+
type: ViewChild,
|
|
2484
|
+
args: ['filterInput']
|
|
2485
|
+
}], focusInputViewChild: [{
|
|
2486
|
+
type: ViewChild,
|
|
2487
|
+
args: ['focusInput']
|
|
2488
|
+
}], itemsViewChild: [{
|
|
2489
|
+
type: ViewChild,
|
|
2490
|
+
args: ['items']
|
|
2491
|
+
}], scroller: [{
|
|
2492
|
+
type: ViewChild,
|
|
2493
|
+
args: ['scroller']
|
|
2494
|
+
}], lastHiddenFocusableElementOnOverlay: [{
|
|
2495
|
+
type: ViewChild,
|
|
2496
|
+
args: ['lastHiddenFocusableEl']
|
|
2497
|
+
}], firstHiddenFocusableElementOnOverlay: [{
|
|
2498
|
+
type: ViewChild,
|
|
2499
|
+
args: ['firstHiddenFocusableEl']
|
|
2500
|
+
}], headerCheckboxViewChild: [{
|
|
2501
|
+
type: ViewChild,
|
|
2502
|
+
args: ['headerCheckbox']
|
|
2503
|
+
}], footerFacet: [{
|
|
2504
|
+
type: ContentChild,
|
|
2505
|
+
args: [Footer]
|
|
2506
|
+
}], headerFacet: [{
|
|
2507
|
+
type: ContentChild,
|
|
2508
|
+
args: [Header]
|
|
2509
|
+
}], templates: [{
|
|
2510
|
+
type: ContentChildren,
|
|
2511
|
+
args: [CaxTemplate]
|
|
2512
|
+
}] } });
|
|
2513
|
+
class MultiSelectModule {
|
|
2514
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2515
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelect, MultiSelectItem], imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, CheckIcon, SearchIcon, TimesCircleIcon, TimesIcon, ChevronDownIcon, CheckIcon, MinusIcon], exports: [MultiSelect, OverlayModule, SharedModule, ScrollerModule] });
|
|
2516
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectModule, imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, CheckIcon, SearchIcon, TimesCircleIcon, TimesIcon, ChevronDownIcon, CheckIcon, MinusIcon, OverlayModule, SharedModule, ScrollerModule] });
|
|
2517
|
+
}
|
|
2518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
2519
|
+
type: NgModule,
|
|
2520
|
+
args: [{
|
|
2521
|
+
imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, CheckIcon, SearchIcon, TimesCircleIcon, TimesIcon, ChevronDownIcon, CheckIcon, MinusIcon],
|
|
2522
|
+
exports: [MultiSelect, OverlayModule, SharedModule, ScrollerModule],
|
|
2523
|
+
declarations: [MultiSelect, MultiSelectItem]
|
|
2524
|
+
}]
|
|
2525
|
+
}] });
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* Generated bundle index. Do not edit.
|
|
2529
|
+
*/
|
|
2530
|
+
|
|
2531
|
+
export { MULTISELECT_VALUE_ACCESSOR, MultiSelect, MultiSelectItem, MultiSelectModule };
|
|
2532
|
+
//# sourceMappingURL=cax-design-system-multiselect.mjs.map
|