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,1887 @@
|
|
|
1
|
+
import * as i2 from '@angular/common';
|
|
2
|
+
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { forwardRef, EventEmitter, signal, computed, effect, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, ViewChild, 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, CaxTemplate, SharedModule } from 'cax-design-system/api';
|
|
8
|
+
import { AutoFocusModule } from 'cax-design-system/autofocus';
|
|
9
|
+
import { ButtonModule } from 'cax-design-system/button';
|
|
10
|
+
import { DomHandler } from 'cax-design-system/dom';
|
|
11
|
+
import { InputTextModule } from 'cax-design-system/inputtext';
|
|
12
|
+
import * as i3 from 'cax-design-system/overlay';
|
|
13
|
+
import { OverlayModule } from 'cax-design-system/overlay';
|
|
14
|
+
import { RippleModule } from 'cax-design-system/ripple';
|
|
15
|
+
import * as i4 from 'cax-design-system/scroller';
|
|
16
|
+
import { ScrollerModule } from 'cax-design-system/scroller';
|
|
17
|
+
import { ObjectUtils, UniqueComponentId } from 'cax-design-system/utils';
|
|
18
|
+
import { TimesCircleIcon } from 'cax-design-system/icons/timescircle';
|
|
19
|
+
import { SpinnerIcon } from 'cax-design-system/icons/spinner';
|
|
20
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
21
|
+
import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
|
|
22
|
+
|
|
23
|
+
const AUTOCOMPLETE_VALUE_ACCESSOR = {
|
|
24
|
+
provide: NG_VALUE_ACCESSOR,
|
|
25
|
+
useExisting: forwardRef(() => AutoComplete),
|
|
26
|
+
multi: true
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* AutoComplete is an input component that provides real-time suggestions when being typed.
|
|
30
|
+
* @group Components
|
|
31
|
+
*/
|
|
32
|
+
class AutoComplete {
|
|
33
|
+
document;
|
|
34
|
+
el;
|
|
35
|
+
renderer;
|
|
36
|
+
cd;
|
|
37
|
+
config;
|
|
38
|
+
overlayService;
|
|
39
|
+
zone;
|
|
40
|
+
/**
|
|
41
|
+
* Minimum number of characters to initiate a search.
|
|
42
|
+
* @group Props
|
|
43
|
+
*/
|
|
44
|
+
minLength = 1;
|
|
45
|
+
/**
|
|
46
|
+
* Delay between keystrokes to wait before sending a query.
|
|
47
|
+
* @group Props
|
|
48
|
+
*/
|
|
49
|
+
delay = 300;
|
|
50
|
+
/**
|
|
51
|
+
* Inline style of the component.
|
|
52
|
+
* @group Props
|
|
53
|
+
*/
|
|
54
|
+
style;
|
|
55
|
+
/**
|
|
56
|
+
* Inline style of the overlay panel element.
|
|
57
|
+
* @group Props
|
|
58
|
+
*/
|
|
59
|
+
panelStyle;
|
|
60
|
+
/**
|
|
61
|
+
* Style class of the component.
|
|
62
|
+
* @group Props
|
|
63
|
+
*/
|
|
64
|
+
styleClass;
|
|
65
|
+
/**
|
|
66
|
+
* Style class of the overlay panel element.
|
|
67
|
+
* @group Props
|
|
68
|
+
*/
|
|
69
|
+
panelStyleClass;
|
|
70
|
+
/**
|
|
71
|
+
* Inline style of the input field.
|
|
72
|
+
* @group Props
|
|
73
|
+
*/
|
|
74
|
+
inputStyle;
|
|
75
|
+
/**
|
|
76
|
+
* Identifier of the focus input to match a label defined for the component.
|
|
77
|
+
* @group Props
|
|
78
|
+
*/
|
|
79
|
+
inputId;
|
|
80
|
+
/**
|
|
81
|
+
* Inline style of the input field.
|
|
82
|
+
* @group Props
|
|
83
|
+
*/
|
|
84
|
+
inputStyleClass;
|
|
85
|
+
/**
|
|
86
|
+
* Hint text for the input field.
|
|
87
|
+
* @group Props
|
|
88
|
+
*/
|
|
89
|
+
placeholder;
|
|
90
|
+
/**
|
|
91
|
+
* When present, it specifies that the input cannot be typed.
|
|
92
|
+
* @group Props
|
|
93
|
+
*/
|
|
94
|
+
readonly;
|
|
95
|
+
/**
|
|
96
|
+
* When present, it specifies that the component should be disabled.
|
|
97
|
+
* @group Props
|
|
98
|
+
*/
|
|
99
|
+
disabled;
|
|
100
|
+
/**
|
|
101
|
+
* Maximum height of the suggestions panel.
|
|
102
|
+
* @group Props
|
|
103
|
+
*/
|
|
104
|
+
scrollHeight = '200px';
|
|
105
|
+
/**
|
|
106
|
+
* Defines if data is loaded and interacted with in lazy manner.
|
|
107
|
+
* @group Props
|
|
108
|
+
*/
|
|
109
|
+
lazy = false;
|
|
110
|
+
/**
|
|
111
|
+
* Whether the data should be loaded on demand during scroll.
|
|
112
|
+
* @group Props
|
|
113
|
+
*/
|
|
114
|
+
virtualScroll;
|
|
115
|
+
/**
|
|
116
|
+
* Height of an item in the list for VirtualScrolling.
|
|
117
|
+
* @group Props
|
|
118
|
+
*/
|
|
119
|
+
virtualScrollItemSize;
|
|
120
|
+
/**
|
|
121
|
+
* Whether to use the scroller feature. The properties of scroller component can be used like an object in it.
|
|
122
|
+
* @group Props
|
|
123
|
+
*/
|
|
124
|
+
virtualScrollOptions;
|
|
125
|
+
/**
|
|
126
|
+
* Maximum number of character allows in the input field.
|
|
127
|
+
* @group Props
|
|
128
|
+
*/
|
|
129
|
+
maxlength;
|
|
130
|
+
/**
|
|
131
|
+
* Name of the input element.
|
|
132
|
+
* @group Props
|
|
133
|
+
*/
|
|
134
|
+
name;
|
|
135
|
+
/**
|
|
136
|
+
* When present, it specifies that an input field must be filled out before submitting the form.
|
|
137
|
+
* @group Props
|
|
138
|
+
*/
|
|
139
|
+
required;
|
|
140
|
+
/**
|
|
141
|
+
* Size of the input field.
|
|
142
|
+
* @group Props
|
|
143
|
+
*/
|
|
144
|
+
size;
|
|
145
|
+
/**
|
|
146
|
+
* 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).
|
|
147
|
+
* @group Props
|
|
148
|
+
*/
|
|
149
|
+
appendTo;
|
|
150
|
+
/**
|
|
151
|
+
* When enabled, highlights the first item in the list by default.
|
|
152
|
+
* @group Props
|
|
153
|
+
*/
|
|
154
|
+
autoHighlight;
|
|
155
|
+
/**
|
|
156
|
+
* When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions.
|
|
157
|
+
* @group Props
|
|
158
|
+
*/
|
|
159
|
+
forceSelection;
|
|
160
|
+
/**
|
|
161
|
+
* Type of the input, defaults to "text".
|
|
162
|
+
* @group Props
|
|
163
|
+
*/
|
|
164
|
+
type = 'text';
|
|
165
|
+
/**
|
|
166
|
+
* Whether to automatically manage layering.
|
|
167
|
+
* @group Props
|
|
168
|
+
*/
|
|
169
|
+
autoZIndex = true;
|
|
170
|
+
/**
|
|
171
|
+
* Base zIndex value to use in layering.
|
|
172
|
+
* @group Props
|
|
173
|
+
*/
|
|
174
|
+
baseZIndex = 0;
|
|
175
|
+
/**
|
|
176
|
+
* Defines a string that labels the input for accessibility.
|
|
177
|
+
* @group Props
|
|
178
|
+
*/
|
|
179
|
+
ariaLabel;
|
|
180
|
+
/**
|
|
181
|
+
* Defines a string that labels the dropdown button for accessibility.
|
|
182
|
+
* @group Props
|
|
183
|
+
*/
|
|
184
|
+
dropdownAriaLabel;
|
|
185
|
+
/**
|
|
186
|
+
* Specifies one or more IDs in the DOM that labels the input field.
|
|
187
|
+
* @group Props
|
|
188
|
+
*/
|
|
189
|
+
ariaLabelledBy;
|
|
190
|
+
/**
|
|
191
|
+
* Icon class of the dropdown icon.
|
|
192
|
+
* @group Props
|
|
193
|
+
*/
|
|
194
|
+
dropdownIcon;
|
|
195
|
+
/**
|
|
196
|
+
* Ensures uniqueness of selected items on multiple mode.
|
|
197
|
+
* @group Props
|
|
198
|
+
*/
|
|
199
|
+
unique = true;
|
|
200
|
+
/**
|
|
201
|
+
* Whether to display options as grouped when nested options are provided.
|
|
202
|
+
* @group Props
|
|
203
|
+
*/
|
|
204
|
+
group;
|
|
205
|
+
/**
|
|
206
|
+
* Whether to run a query when input receives focus.
|
|
207
|
+
* @group Props
|
|
208
|
+
*/
|
|
209
|
+
completeOnFocus = false;
|
|
210
|
+
/**
|
|
211
|
+
* When enabled, a clear icon is displayed to clear the value.
|
|
212
|
+
* @group Props
|
|
213
|
+
*/
|
|
214
|
+
showClear = false;
|
|
215
|
+
/**
|
|
216
|
+
* Field of a suggested object to resolve and display.
|
|
217
|
+
* @group Props
|
|
218
|
+
* @deprecated use optionLabel property instead
|
|
219
|
+
*/
|
|
220
|
+
field;
|
|
221
|
+
/**
|
|
222
|
+
* Displays a button next to the input field when enabled.
|
|
223
|
+
* @group Props
|
|
224
|
+
*/
|
|
225
|
+
dropdown;
|
|
226
|
+
/**
|
|
227
|
+
* Whether to show the empty message or not.
|
|
228
|
+
* @group Props
|
|
229
|
+
*/
|
|
230
|
+
showEmptyMessage = true;
|
|
231
|
+
/**
|
|
232
|
+
* Specifies the behavior dropdown button. Default "blank" mode sends an empty string and "current" mode sends the input value.
|
|
233
|
+
* @group Props
|
|
234
|
+
*/
|
|
235
|
+
dropdownMode = 'blank';
|
|
236
|
+
/**
|
|
237
|
+
* Specifies if multiple values can be selected.
|
|
238
|
+
* @group Props
|
|
239
|
+
*/
|
|
240
|
+
multiple;
|
|
241
|
+
/**
|
|
242
|
+
* Index of the element in tabbing order.
|
|
243
|
+
* @group Props
|
|
244
|
+
*/
|
|
245
|
+
tabindex;
|
|
246
|
+
/**
|
|
247
|
+
* A property to uniquely identify a value in options.
|
|
248
|
+
* @group Props
|
|
249
|
+
*/
|
|
250
|
+
dataKey;
|
|
251
|
+
/**
|
|
252
|
+
* Text to display when there is no data. Defaults to global value in i18n translation configuration.
|
|
253
|
+
* @group Props
|
|
254
|
+
*/
|
|
255
|
+
emptyMessage;
|
|
256
|
+
/**
|
|
257
|
+
* Transition options of the show animation.
|
|
258
|
+
* @group Props
|
|
259
|
+
*/
|
|
260
|
+
showTransitionOptions = '.12s cubic-bezier(0, 0, 0.2, 1)';
|
|
261
|
+
/**
|
|
262
|
+
* Transition options of the hide animation.
|
|
263
|
+
* @group Props
|
|
264
|
+
*/
|
|
265
|
+
hideTransitionOptions = '.1s linear';
|
|
266
|
+
/**
|
|
267
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
268
|
+
* @group Props
|
|
269
|
+
*/
|
|
270
|
+
autofocus;
|
|
271
|
+
/**
|
|
272
|
+
* Used to define a string that autocomplete attribute the current element.
|
|
273
|
+
* @group Props
|
|
274
|
+
*/
|
|
275
|
+
autocomplete = 'off';
|
|
276
|
+
/**
|
|
277
|
+
* Name of the options field of an option group.
|
|
278
|
+
* @group Props
|
|
279
|
+
*/
|
|
280
|
+
optionGroupChildren = 'items';
|
|
281
|
+
/**
|
|
282
|
+
* Name of the label field of an option group.
|
|
283
|
+
* @group Props
|
|
284
|
+
*/
|
|
285
|
+
optionGroupLabel = 'label';
|
|
286
|
+
/**
|
|
287
|
+
* Options for the overlay element.
|
|
288
|
+
* @group Props
|
|
289
|
+
*/
|
|
290
|
+
overlayOptions;
|
|
291
|
+
/**
|
|
292
|
+
* An array of suggestions to display.
|
|
293
|
+
* @group Props
|
|
294
|
+
*/
|
|
295
|
+
get suggestions() {
|
|
296
|
+
return this._suggestions();
|
|
297
|
+
}
|
|
298
|
+
set suggestions(value) {
|
|
299
|
+
this._suggestions.set(value);
|
|
300
|
+
this.handleSuggestionsChange();
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Element dimensions of option for virtual scrolling.
|
|
304
|
+
* @group Props
|
|
305
|
+
* @deprecated use virtualScrollItemSize property instead.
|
|
306
|
+
*/
|
|
307
|
+
get itemSize() {
|
|
308
|
+
return this._itemSize;
|
|
309
|
+
}
|
|
310
|
+
set itemSize(val) {
|
|
311
|
+
this._itemSize = val;
|
|
312
|
+
console.warn('The itemSize property is deprecated, use virtualScrollItemSize property instead.');
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Property name or getter function to use as the label of an option.
|
|
316
|
+
* @group Props
|
|
317
|
+
*/
|
|
318
|
+
optionLabel;
|
|
319
|
+
/**
|
|
320
|
+
* Property name or getter function to use as the value of an option.
|
|
321
|
+
* @group Props
|
|
322
|
+
*/
|
|
323
|
+
optionValue;
|
|
324
|
+
/**
|
|
325
|
+
* Unique identifier of the component.
|
|
326
|
+
* @group Props
|
|
327
|
+
*/
|
|
328
|
+
id;
|
|
329
|
+
/**
|
|
330
|
+
* Text to display when the search is active. Defaults to global value in i18n translation configuration.
|
|
331
|
+
* @group Props
|
|
332
|
+
* @defaultValue '{0} results are available'
|
|
333
|
+
*/
|
|
334
|
+
searchMessage;
|
|
335
|
+
/**
|
|
336
|
+
* Text to display when filtering does not return any results. Defaults to global value in i18n translation configuration.
|
|
337
|
+
* @group Props
|
|
338
|
+
* @defaultValue 'No selected item'
|
|
339
|
+
*/
|
|
340
|
+
emptySelectionMessage;
|
|
341
|
+
/**
|
|
342
|
+
* Text to be displayed in hidden accessible field when options are selected. Defaults to global value in i18n translation configuration.
|
|
343
|
+
* @group Props
|
|
344
|
+
* @defaultValue '{0} items selected'
|
|
345
|
+
*/
|
|
346
|
+
selectionMessage;
|
|
347
|
+
/**
|
|
348
|
+
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
|
349
|
+
* @group Props
|
|
350
|
+
*/
|
|
351
|
+
autoOptionFocus = false;
|
|
352
|
+
/**
|
|
353
|
+
* When enabled, the focused option is selected.
|
|
354
|
+
* @group Props
|
|
355
|
+
*/
|
|
356
|
+
selectOnFocus;
|
|
357
|
+
/**
|
|
358
|
+
* Locale to use in searching. The default locale is the host environment's current locale.
|
|
359
|
+
* @group Props
|
|
360
|
+
*/
|
|
361
|
+
searchLocale;
|
|
362
|
+
/**
|
|
363
|
+
* Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.
|
|
364
|
+
* @group Props
|
|
365
|
+
*/
|
|
366
|
+
optionDisabled;
|
|
367
|
+
/**
|
|
368
|
+
* When enabled, the hovered option will be focused.
|
|
369
|
+
* @group Props
|
|
370
|
+
*/
|
|
371
|
+
focusOnHover;
|
|
372
|
+
/**
|
|
373
|
+
* Specifies the input variant of the component.
|
|
374
|
+
* @group Props
|
|
375
|
+
*/
|
|
376
|
+
variant = 'outlined';
|
|
377
|
+
/**
|
|
378
|
+
* Callback to invoke to search for suggestions.
|
|
379
|
+
* @param {AutoCompleteCompleteEvent} event - Custom complete event.
|
|
380
|
+
* @group Emits
|
|
381
|
+
*/
|
|
382
|
+
completeMethod = new EventEmitter();
|
|
383
|
+
/**
|
|
384
|
+
* Callback to invoke when a suggestion is selected.
|
|
385
|
+
* @param {AutoCompleteSelectEvent} event - custom select event.
|
|
386
|
+
* @group Emits
|
|
387
|
+
*/
|
|
388
|
+
onSelect = new EventEmitter();
|
|
389
|
+
/**
|
|
390
|
+
* Callback to invoke when a selected value is removed.
|
|
391
|
+
* @param {AutoCompleteUnselectEvent} event - custom unselect event.
|
|
392
|
+
* @group Emits
|
|
393
|
+
*/
|
|
394
|
+
onUnselect = new EventEmitter();
|
|
395
|
+
/**
|
|
396
|
+
* Callback to invoke when the component receives focus.
|
|
397
|
+
* @param {Event} event - Browser event.
|
|
398
|
+
* @group Emits
|
|
399
|
+
*/
|
|
400
|
+
onFocus = new EventEmitter();
|
|
401
|
+
/**
|
|
402
|
+
* Callback to invoke when the component loses focus.
|
|
403
|
+
* @param {Event} event - Browser event.
|
|
404
|
+
* @group Emits
|
|
405
|
+
*/
|
|
406
|
+
onBlur = new EventEmitter();
|
|
407
|
+
/**
|
|
408
|
+
* Callback to invoke to when dropdown button is clicked.
|
|
409
|
+
* @param {AutoCompleteDropdownClickEvent} event - custom dropdown click event.
|
|
410
|
+
* @group Emits
|
|
411
|
+
*/
|
|
412
|
+
onDropdownClick = new EventEmitter();
|
|
413
|
+
/**
|
|
414
|
+
* Callback to invoke when clear button is clicked.
|
|
415
|
+
* @param {Event} event - Browser event.
|
|
416
|
+
* @group Emits
|
|
417
|
+
*/
|
|
418
|
+
onClear = new EventEmitter();
|
|
419
|
+
/**
|
|
420
|
+
* Callback to invoke on input key up.
|
|
421
|
+
* @param {KeyboardEvent} event - Keyboard event.
|
|
422
|
+
* @group Emits
|
|
423
|
+
*/
|
|
424
|
+
onKeyUp = new EventEmitter();
|
|
425
|
+
/**
|
|
426
|
+
* Callback to invoke on overlay is shown.
|
|
427
|
+
* @param {Event} event - Browser event.
|
|
428
|
+
* @group Emits
|
|
429
|
+
*/
|
|
430
|
+
onShow = new EventEmitter();
|
|
431
|
+
/**
|
|
432
|
+
* Callback to invoke on overlay is hidden.
|
|
433
|
+
* @param {Event} event - Browser event.
|
|
434
|
+
* @group Emits
|
|
435
|
+
*/
|
|
436
|
+
onHide = new EventEmitter();
|
|
437
|
+
/**
|
|
438
|
+
* Callback to invoke on lazy load data.
|
|
439
|
+
* @param {AutoCompleteLazyLoadEvent} event - Lazy load event.
|
|
440
|
+
* @group Emits
|
|
441
|
+
*/
|
|
442
|
+
onLazyLoad = new EventEmitter();
|
|
443
|
+
containerEL;
|
|
444
|
+
inputEL;
|
|
445
|
+
multiInputEl;
|
|
446
|
+
multiContainerEL;
|
|
447
|
+
dropdownButton;
|
|
448
|
+
itemsViewChild;
|
|
449
|
+
scroller;
|
|
450
|
+
overlayViewChild;
|
|
451
|
+
templates;
|
|
452
|
+
_itemSize;
|
|
453
|
+
itemsWrapper;
|
|
454
|
+
itemTemplate;
|
|
455
|
+
emptyTemplate;
|
|
456
|
+
headerTemplate;
|
|
457
|
+
footerTemplate;
|
|
458
|
+
selectedItemTemplate;
|
|
459
|
+
groupTemplate;
|
|
460
|
+
loaderTemplate;
|
|
461
|
+
removeIconTemplate;
|
|
462
|
+
loadingIconTemplate;
|
|
463
|
+
clearIconTemplate;
|
|
464
|
+
dropdownIconTemplate;
|
|
465
|
+
value;
|
|
466
|
+
_suggestions = signal(null);
|
|
467
|
+
onModelChange = () => { };
|
|
468
|
+
onModelTouched = () => { };
|
|
469
|
+
timeout;
|
|
470
|
+
overlayVisible;
|
|
471
|
+
suggestionsUpdated;
|
|
472
|
+
highlightOption;
|
|
473
|
+
highlightOptionChanged;
|
|
474
|
+
focused = false;
|
|
475
|
+
_filled;
|
|
476
|
+
get filled() {
|
|
477
|
+
return this._filled;
|
|
478
|
+
}
|
|
479
|
+
set filled(value) {
|
|
480
|
+
this._filled = value;
|
|
481
|
+
}
|
|
482
|
+
loading;
|
|
483
|
+
scrollHandler;
|
|
484
|
+
listId;
|
|
485
|
+
searchTimeout;
|
|
486
|
+
dirty = false;
|
|
487
|
+
modelValue = signal(null);
|
|
488
|
+
focusedMultipleOptionIndex = signal(-1);
|
|
489
|
+
focusedOptionIndex = signal(-1);
|
|
490
|
+
visibleOptions = computed(() => {
|
|
491
|
+
return this.group ? this.flatOptions(this._suggestions()) : this._suggestions() || [];
|
|
492
|
+
});
|
|
493
|
+
inputValue = computed(() => {
|
|
494
|
+
const modelValue = this.modelValue();
|
|
495
|
+
const selectedOption = this.getSelectedOption(modelValue);
|
|
496
|
+
if (modelValue) {
|
|
497
|
+
if (typeof modelValue === 'object' || this.optionValue) {
|
|
498
|
+
const label = this.getOptionLabel(selectedOption);
|
|
499
|
+
return label != null ? label : modelValue;
|
|
500
|
+
}
|
|
501
|
+
else {
|
|
502
|
+
return modelValue;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
return '';
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
get focusedMultipleOptionId() {
|
|
510
|
+
return this.focusedMultipleOptionIndex() !== -1 ? `${this.id}_multiple_option_${this.focusedMultipleOptionIndex()}` : null;
|
|
511
|
+
}
|
|
512
|
+
get focusedOptionId() {
|
|
513
|
+
return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;
|
|
514
|
+
}
|
|
515
|
+
get containerClass() {
|
|
516
|
+
return {
|
|
517
|
+
'p-autocomplete p-component p-inputwrapper': true,
|
|
518
|
+
'p-disabled': this.disabled,
|
|
519
|
+
'p-focus': this.focused,
|
|
520
|
+
'p-autocomplete-dd': this.dropdown,
|
|
521
|
+
'p-autocomplete-multiple': this.multiple,
|
|
522
|
+
'p-inputwrapper-focus': this.focused,
|
|
523
|
+
'p-overlay-open': this.overlayVisible
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
get multiContainerClass() {
|
|
527
|
+
return { 'p-autocomplete-multiple-container p-component p-inputtext': true, 'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled' };
|
|
528
|
+
}
|
|
529
|
+
get panelClass() {
|
|
530
|
+
return {
|
|
531
|
+
'p-autocomplete-panel p-component': true,
|
|
532
|
+
'p-input-filled': this.config.inputStyle() === 'filled',
|
|
533
|
+
'p-ripple-disabled': this.config.ripple === false
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
get panelStyles() {
|
|
537
|
+
return {
|
|
538
|
+
'max-height': this.virtualScroll ? 'auto' : this.scrollHeight,
|
|
539
|
+
...this.panelStyle
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
get inputClass() {
|
|
543
|
+
return {
|
|
544
|
+
'p-autocomplete-input p-inputtext p-component': !this.multiple,
|
|
545
|
+
'p-autocomplete-dd-input': this.dropdown,
|
|
546
|
+
'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled'
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
get searchResultMessageText() {
|
|
550
|
+
return ObjectUtils.isNotEmpty(this.visibleOptions()) && this.overlayVisible ? this.searchMessageText.replaceAll('{0}', this.visibleOptions().length) : this.emptySearchMessageText;
|
|
551
|
+
}
|
|
552
|
+
get searchMessageText() {
|
|
553
|
+
return this.searchMessage || this.config.translation.searchMessage || '';
|
|
554
|
+
}
|
|
555
|
+
get emptySearchMessageText() {
|
|
556
|
+
return this.emptyMessage || this.config.translation.emptySearchMessage || '';
|
|
557
|
+
}
|
|
558
|
+
get selectionMessageText() {
|
|
559
|
+
return this.selectionMessage || this.config.translation.selectionMessage || '';
|
|
560
|
+
}
|
|
561
|
+
get emptySelectionMessageText() {
|
|
562
|
+
return this.emptySelectionMessage || this.config.translation.emptySelectionMessage || '';
|
|
563
|
+
}
|
|
564
|
+
get selectedMessageText() {
|
|
565
|
+
return this.hasSelectedOption() ? this.selectionMessageText.replaceAll('{0}', this.multiple ? this.modelValue().length : '1') : this.emptySelectionMessageText;
|
|
566
|
+
}
|
|
567
|
+
get ariaSetSize() {
|
|
568
|
+
return this.visibleOptions().filter((option) => !this.isOptionGroup(option)).length;
|
|
569
|
+
}
|
|
570
|
+
get listLabel() {
|
|
571
|
+
return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];
|
|
572
|
+
}
|
|
573
|
+
get virtualScrollerDisabled() {
|
|
574
|
+
return !this.virtualScroll;
|
|
575
|
+
}
|
|
576
|
+
get optionValueSelected() {
|
|
577
|
+
return typeof this.modelValue() === 'string' && this.optionValue;
|
|
578
|
+
}
|
|
579
|
+
get isVisibleClearIcon() {
|
|
580
|
+
return this.modelValue() != null && this.hasSelectedOption() && this.showClear && !this.disabled && !this.loading;
|
|
581
|
+
}
|
|
582
|
+
constructor(document, el, renderer, cd, config, overlayService, zone) {
|
|
583
|
+
this.document = document;
|
|
584
|
+
this.el = el;
|
|
585
|
+
this.renderer = renderer;
|
|
586
|
+
this.cd = cd;
|
|
587
|
+
this.config = config;
|
|
588
|
+
this.overlayService = overlayService;
|
|
589
|
+
this.zone = zone;
|
|
590
|
+
effect(() => {
|
|
591
|
+
this.filled = ObjectUtils.isNotEmpty(this.modelValue());
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
ngOnInit() {
|
|
595
|
+
this.id = this.id || UniqueComponentId();
|
|
596
|
+
this.cd.detectChanges();
|
|
597
|
+
}
|
|
598
|
+
ngAfterViewChecked() {
|
|
599
|
+
//Use timeouts as since Angular 4.2, AfterViewChecked is broken and not called after panel is updated
|
|
600
|
+
if (this.suggestionsUpdated && this.overlayViewChild) {
|
|
601
|
+
this.zone.runOutsideAngular(() => {
|
|
602
|
+
setTimeout(() => {
|
|
603
|
+
if (this.overlayViewChild) {
|
|
604
|
+
this.overlayViewChild.alignOverlay();
|
|
605
|
+
}
|
|
606
|
+
}, 1);
|
|
607
|
+
this.suggestionsUpdated = false;
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
ngAfterContentInit() {
|
|
612
|
+
this.templates.forEach((item) => {
|
|
613
|
+
switch (item.getType()) {
|
|
614
|
+
case 'item':
|
|
615
|
+
this.itemTemplate = item.template;
|
|
616
|
+
break;
|
|
617
|
+
case 'group':
|
|
618
|
+
this.groupTemplate = item.template;
|
|
619
|
+
break;
|
|
620
|
+
case 'selectedItem':
|
|
621
|
+
this.selectedItemTemplate = item.template;
|
|
622
|
+
break;
|
|
623
|
+
case 'header':
|
|
624
|
+
this.headerTemplate = item.template;
|
|
625
|
+
break;
|
|
626
|
+
case 'empty':
|
|
627
|
+
this.emptyTemplate = item.template;
|
|
628
|
+
break;
|
|
629
|
+
case 'footer':
|
|
630
|
+
this.footerTemplate = item.template;
|
|
631
|
+
break;
|
|
632
|
+
case 'loader':
|
|
633
|
+
this.loaderTemplate = item.template;
|
|
634
|
+
break;
|
|
635
|
+
case 'removetokenicon':
|
|
636
|
+
this.removeIconTemplate = item.template;
|
|
637
|
+
break;
|
|
638
|
+
case 'loadingicon':
|
|
639
|
+
this.loadingIconTemplate = item.template;
|
|
640
|
+
break;
|
|
641
|
+
case 'clearicon':
|
|
642
|
+
this.clearIconTemplate = item.template;
|
|
643
|
+
break;
|
|
644
|
+
case 'dropdownicon':
|
|
645
|
+
this.dropdownIconTemplate = item.template;
|
|
646
|
+
break;
|
|
647
|
+
default:
|
|
648
|
+
this.itemTemplate = item.template;
|
|
649
|
+
break;
|
|
650
|
+
}
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
handleSuggestionsChange() {
|
|
654
|
+
if (this.loading) {
|
|
655
|
+
this._suggestions().length > 0 || this.showEmptyMessage ? this.show() : !!this.emptyTemplate ? this.show() : this.hide();
|
|
656
|
+
const focusedOptionIndex = this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
657
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
658
|
+
this.suggestionsUpdated = true;
|
|
659
|
+
this.loading = false;
|
|
660
|
+
this.cd.markForCheck();
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
flatOptions(options) {
|
|
664
|
+
return (options || []).reduce((result, option, index) => {
|
|
665
|
+
result.push({ optionGroup: option, group: true, index });
|
|
666
|
+
const optionGroupChildren = this.getOptionGroupChildren(option);
|
|
667
|
+
optionGroupChildren && optionGroupChildren.forEach((o) => result.push(o));
|
|
668
|
+
return result;
|
|
669
|
+
}, []);
|
|
670
|
+
}
|
|
671
|
+
isOptionGroup(option) {
|
|
672
|
+
return this.optionGroupLabel && option.optionGroup && option.group;
|
|
673
|
+
}
|
|
674
|
+
findFirstOptionIndex() {
|
|
675
|
+
return this.visibleOptions().findIndex((option) => this.isValidOption(option));
|
|
676
|
+
}
|
|
677
|
+
findLastOptionIndex() {
|
|
678
|
+
return ObjectUtils.findLastIndex(this.visibleOptions(), (option) => this.isValidOption(option));
|
|
679
|
+
}
|
|
680
|
+
findFirstFocusedOptionIndex() {
|
|
681
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
682
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
683
|
+
}
|
|
684
|
+
findLastFocusedOptionIndex() {
|
|
685
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
686
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
687
|
+
}
|
|
688
|
+
findSelectedOptionIndex() {
|
|
689
|
+
return this.hasSelectedOption() ? this.visibleOptions().findIndex((option) => this.isValidSelectedOption(option)) : -1;
|
|
690
|
+
}
|
|
691
|
+
findNextOptionIndex(index) {
|
|
692
|
+
const matchedOptionIndex = index < this.visibleOptions().length - 1
|
|
693
|
+
? this.visibleOptions()
|
|
694
|
+
.slice(index + 1)
|
|
695
|
+
.findIndex((option) => this.isValidOption(option))
|
|
696
|
+
: -1;
|
|
697
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
698
|
+
}
|
|
699
|
+
findPrevOptionIndex(index) {
|
|
700
|
+
const matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions().slice(0, index), (option) => this.isValidOption(option)) : -1;
|
|
701
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
702
|
+
}
|
|
703
|
+
isValidSelectedOption(option) {
|
|
704
|
+
return this.isValidOption(option) && this.isSelected(option);
|
|
705
|
+
}
|
|
706
|
+
isValidOption(option) {
|
|
707
|
+
return option && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
|
|
708
|
+
}
|
|
709
|
+
isOptionDisabled(option) {
|
|
710
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
711
|
+
}
|
|
712
|
+
isSelected(option) {
|
|
713
|
+
if (this.multiple) {
|
|
714
|
+
return this.unique ? this.modelValue()?.find((model) => ObjectUtils.equals(model, this.getOptionValue(option), this.equalityKey())) : false;
|
|
715
|
+
}
|
|
716
|
+
return ObjectUtils.equals(this.modelValue(), this.getOptionValue(option), this.equalityKey());
|
|
717
|
+
}
|
|
718
|
+
isOptionMatched(option, value) {
|
|
719
|
+
return this.isValidOption(option) && this.getOptionLabel(option).toLocaleLowerCase(this.searchLocale) === value.toLocaleLowerCase(this.searchLocale);
|
|
720
|
+
}
|
|
721
|
+
isInputClicked(event) {
|
|
722
|
+
return event.target === this.inputEL.nativeElement;
|
|
723
|
+
}
|
|
724
|
+
isDropdownClicked(event) {
|
|
725
|
+
return this.dropdownButton?.nativeElement ? event.target === this.dropdownButton.nativeElement || this.dropdownButton.nativeElement.contains(event.target) : false;
|
|
726
|
+
}
|
|
727
|
+
equalityKey() {
|
|
728
|
+
return this.dataKey; // TODO: The 'optionValue' properties can be added.
|
|
729
|
+
}
|
|
730
|
+
onContainerClick(event) {
|
|
731
|
+
if (this.disabled || this.loading || this.isInputClicked(event) || this.isDropdownClicked(event)) {
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
if (!this.overlayViewChild || !this.overlayViewChild.overlayViewChild?.nativeElement.contains(event.target)) {
|
|
735
|
+
DomHandler.focus(this.inputEL.nativeElement);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
handleDropdownClick(event) {
|
|
739
|
+
let query = undefined;
|
|
740
|
+
if (this.overlayVisible) {
|
|
741
|
+
this.hide(true);
|
|
742
|
+
}
|
|
743
|
+
else {
|
|
744
|
+
DomHandler.focus(this.inputEL.nativeElement);
|
|
745
|
+
query = this.inputEL.nativeElement.value;
|
|
746
|
+
if (this.dropdownMode === 'blank')
|
|
747
|
+
this.search(event, '', 'dropdown');
|
|
748
|
+
else if (this.dropdownMode === 'current')
|
|
749
|
+
this.search(event, query, 'dropdown');
|
|
750
|
+
}
|
|
751
|
+
this.onDropdownClick.emit({ originalEvent: event, query });
|
|
752
|
+
}
|
|
753
|
+
onInput(event) {
|
|
754
|
+
if (this.searchTimeout) {
|
|
755
|
+
clearTimeout(this.searchTimeout);
|
|
756
|
+
}
|
|
757
|
+
let query = event.target.value;
|
|
758
|
+
if (this.maxlength !== null) {
|
|
759
|
+
query = query.split('').slice(0, this.maxlength).join('');
|
|
760
|
+
}
|
|
761
|
+
if (!this.multiple && !this.forceSelection) {
|
|
762
|
+
this.updateModel(query);
|
|
763
|
+
}
|
|
764
|
+
if (query.length === 0 && !this.multiple && !this.completeOnFocus) {
|
|
765
|
+
this.onClear.emit();
|
|
766
|
+
this.hide();
|
|
767
|
+
}
|
|
768
|
+
else {
|
|
769
|
+
if (query.length >= this.minLength) {
|
|
770
|
+
this.focusedOptionIndex.set(-1);
|
|
771
|
+
this.searchTimeout = setTimeout(() => {
|
|
772
|
+
this.search(event, query, 'input');
|
|
773
|
+
}, this.delay);
|
|
774
|
+
}
|
|
775
|
+
else {
|
|
776
|
+
this.hide();
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
onInputChange(event) {
|
|
781
|
+
if (this.forceSelection) {
|
|
782
|
+
let valid = false;
|
|
783
|
+
if (this.visibleOptions()) {
|
|
784
|
+
const matchedValue = this.visibleOptions().find((option) => this.isOptionMatched(option, this.inputEL.nativeElement.value || ''));
|
|
785
|
+
if (matchedValue !== undefined) {
|
|
786
|
+
valid = true;
|
|
787
|
+
!this.isSelected(matchedValue) && this.onOptionSelect(event, matchedValue);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
if (!valid) {
|
|
791
|
+
this.inputEL.nativeElement.value = '';
|
|
792
|
+
!this.multiple && this.updateModel(null);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
onInputFocus(event) {
|
|
797
|
+
if (this.disabled) {
|
|
798
|
+
// For ScreenReaders
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
if (!this.dirty && this.completeOnFocus) {
|
|
802
|
+
this.search(event, event.target.value, 'focus');
|
|
803
|
+
this.show();
|
|
804
|
+
}
|
|
805
|
+
this.dirty = true;
|
|
806
|
+
this.focused = true;
|
|
807
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
808
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
809
|
+
this.overlayVisible && this.scrollInView(this.focusedOptionIndex());
|
|
810
|
+
this.onFocus.emit(event);
|
|
811
|
+
}
|
|
812
|
+
onMultipleContainerFocus(event) {
|
|
813
|
+
if (this.disabled) {
|
|
814
|
+
// For ScreenReaders
|
|
815
|
+
return;
|
|
816
|
+
}
|
|
817
|
+
this.focused = true;
|
|
818
|
+
}
|
|
819
|
+
onMultipleContainerBlur(event) {
|
|
820
|
+
this.focusedMultipleOptionIndex.set(-1);
|
|
821
|
+
this.focused = false;
|
|
822
|
+
}
|
|
823
|
+
onMultipleContainerKeyDown(event) {
|
|
824
|
+
if (this.disabled) {
|
|
825
|
+
event.preventDefault();
|
|
826
|
+
return;
|
|
827
|
+
}
|
|
828
|
+
switch (event.code) {
|
|
829
|
+
case 'ArrowLeft':
|
|
830
|
+
this.onArrowLeftKeyOnMultiple(event);
|
|
831
|
+
break;
|
|
832
|
+
case 'ArrowRight':
|
|
833
|
+
this.onArrowRightKeyOnMultiple(event);
|
|
834
|
+
break;
|
|
835
|
+
case 'Backspace':
|
|
836
|
+
this.onBackspaceKeyOnMultiple(event);
|
|
837
|
+
break;
|
|
838
|
+
default:
|
|
839
|
+
break;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
onInputBlur(event) {
|
|
843
|
+
this.dirty = false;
|
|
844
|
+
this.focused = false;
|
|
845
|
+
this.focusedOptionIndex.set(-1);
|
|
846
|
+
this.onModelTouched();
|
|
847
|
+
this.onBlur.emit(event);
|
|
848
|
+
}
|
|
849
|
+
onInputPaste(event) {
|
|
850
|
+
this.onKeyDown(event);
|
|
851
|
+
}
|
|
852
|
+
onInputKeyUp(event) {
|
|
853
|
+
this.onKeyUp.emit(event);
|
|
854
|
+
}
|
|
855
|
+
onKeyDown(event) {
|
|
856
|
+
if (this.disabled) {
|
|
857
|
+
event.preventDefault();
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
switch (event.code) {
|
|
861
|
+
case 'ArrowDown':
|
|
862
|
+
this.onArrowDownKey(event);
|
|
863
|
+
break;
|
|
864
|
+
case 'ArrowUp':
|
|
865
|
+
this.onArrowUpKey(event);
|
|
866
|
+
break;
|
|
867
|
+
case 'ArrowLeft':
|
|
868
|
+
this.onArrowLeftKey(event);
|
|
869
|
+
break;
|
|
870
|
+
case 'ArrowRight':
|
|
871
|
+
this.onArrowRightKey(event);
|
|
872
|
+
break;
|
|
873
|
+
case 'Home':
|
|
874
|
+
this.onHomeKey(event);
|
|
875
|
+
break;
|
|
876
|
+
case 'End':
|
|
877
|
+
this.onEndKey(event);
|
|
878
|
+
break;
|
|
879
|
+
case 'PageDown':
|
|
880
|
+
this.onPageDownKey(event);
|
|
881
|
+
break;
|
|
882
|
+
case 'PageUp':
|
|
883
|
+
this.onPageUpKey(event);
|
|
884
|
+
break;
|
|
885
|
+
case 'Enter':
|
|
886
|
+
case 'NumpadEnter':
|
|
887
|
+
this.onEnterKey(event);
|
|
888
|
+
break;
|
|
889
|
+
case 'Escape':
|
|
890
|
+
this.onEscapeKey(event);
|
|
891
|
+
break;
|
|
892
|
+
case 'Tab':
|
|
893
|
+
this.onTabKey(event);
|
|
894
|
+
break;
|
|
895
|
+
case 'Backspace':
|
|
896
|
+
this.onBackspaceKey(event);
|
|
897
|
+
break;
|
|
898
|
+
case 'ShiftLeft':
|
|
899
|
+
case 'ShiftRight':
|
|
900
|
+
//NOOP
|
|
901
|
+
break;
|
|
902
|
+
default:
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
onArrowDownKey(event) {
|
|
907
|
+
if (!this.overlayVisible) {
|
|
908
|
+
return;
|
|
909
|
+
}
|
|
910
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.findFirstFocusedOptionIndex();
|
|
911
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
912
|
+
event.preventDefault();
|
|
913
|
+
event.stopPropagation();
|
|
914
|
+
}
|
|
915
|
+
onArrowUpKey(event) {
|
|
916
|
+
if (!this.overlayVisible) {
|
|
917
|
+
return;
|
|
918
|
+
}
|
|
919
|
+
if (event.altKey) {
|
|
920
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
921
|
+
this.onOptionSelect(event, this.visibleOptions()[this.focusedOptionIndex()]);
|
|
922
|
+
}
|
|
923
|
+
this.overlayVisible && this.hide();
|
|
924
|
+
event.preventDefault();
|
|
925
|
+
}
|
|
926
|
+
else {
|
|
927
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.findLastFocusedOptionIndex();
|
|
928
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
929
|
+
event.preventDefault();
|
|
930
|
+
event.stopPropagation();
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
onArrowLeftKey(event) {
|
|
934
|
+
const target = event.currentTarget;
|
|
935
|
+
this.focusedOptionIndex.set(-1);
|
|
936
|
+
if (this.multiple) {
|
|
937
|
+
if (ObjectUtils.isEmpty(target.value) && this.hasSelectedOption()) {
|
|
938
|
+
DomHandler.focus(this.multiContainerEL.nativeElement);
|
|
939
|
+
this.focusedMultipleOptionIndex.set(this.modelValue().length);
|
|
940
|
+
}
|
|
941
|
+
else {
|
|
942
|
+
event.stopPropagation(); // To prevent onArrowLeftKeyOnMultiple method
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
onArrowRightKey(event) {
|
|
947
|
+
this.focusedOptionIndex.set(-1);
|
|
948
|
+
this.multiple && event.stopPropagation(); // To prevent onArrowRightKeyOnMultiple method
|
|
949
|
+
}
|
|
950
|
+
onHomeKey(event) {
|
|
951
|
+
const { currentTarget } = event;
|
|
952
|
+
const len = currentTarget.value.length;
|
|
953
|
+
currentTarget.setSelectionRange(0, event.shiftKey ? len : 0);
|
|
954
|
+
this.focusedOptionIndex.set(-1);
|
|
955
|
+
event.preventDefault();
|
|
956
|
+
}
|
|
957
|
+
onEndKey(event) {
|
|
958
|
+
const { currentTarget } = event;
|
|
959
|
+
const len = currentTarget.value.length;
|
|
960
|
+
currentTarget.setSelectionRange(event.shiftKey ? 0 : len, len);
|
|
961
|
+
this.focusedOptionIndex.set(-1);
|
|
962
|
+
event.preventDefault();
|
|
963
|
+
}
|
|
964
|
+
onPageDownKey(event) {
|
|
965
|
+
this.scrollInView(this.visibleOptions().length - 1);
|
|
966
|
+
event.preventDefault();
|
|
967
|
+
}
|
|
968
|
+
onPageUpKey(event) {
|
|
969
|
+
this.scrollInView(0);
|
|
970
|
+
event.preventDefault();
|
|
971
|
+
}
|
|
972
|
+
onEnterKey(event) {
|
|
973
|
+
if (!this.overlayVisible) {
|
|
974
|
+
this.onArrowDownKey(event);
|
|
975
|
+
}
|
|
976
|
+
else {
|
|
977
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
978
|
+
this.onOptionSelect(event, this.visibleOptions()[this.focusedOptionIndex()]);
|
|
979
|
+
event.preventDefault();
|
|
980
|
+
}
|
|
981
|
+
this.hide();
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
onEscapeKey(event) {
|
|
985
|
+
this.overlayVisible && this.hide(true);
|
|
986
|
+
event.preventDefault();
|
|
987
|
+
}
|
|
988
|
+
onTabKey(event) {
|
|
989
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
990
|
+
this.onOptionSelect(event, this.visibleOptions()[this.focusedOptionIndex()]);
|
|
991
|
+
}
|
|
992
|
+
this.overlayVisible && this.hide();
|
|
993
|
+
}
|
|
994
|
+
onBackspaceKey(event) {
|
|
995
|
+
if (this.multiple) {
|
|
996
|
+
if (ObjectUtils.isNotEmpty(this.modelValue()) && !this.inputEL.nativeElement.value) {
|
|
997
|
+
const removedValue = this.modelValue()[this.modelValue().length - 1];
|
|
998
|
+
const newValue = this.modelValue().slice(0, -1);
|
|
999
|
+
this.updateModel(newValue);
|
|
1000
|
+
this.onUnselect.emit({ originalEvent: event, value: removedValue });
|
|
1001
|
+
}
|
|
1002
|
+
event.stopPropagation(); // To prevent onBackspaceKeyOnMultiple method
|
|
1003
|
+
}
|
|
1004
|
+
if (!this.multiple && this.showClear && this.findSelectedOptionIndex() != -1) {
|
|
1005
|
+
this.clear();
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
onArrowLeftKeyOnMultiple(event) {
|
|
1009
|
+
const optionIndex = this.focusedMultipleOptionIndex() < 1 ? 0 : this.focusedMultipleOptionIndex() - 1;
|
|
1010
|
+
this.focusedMultipleOptionIndex.set(optionIndex);
|
|
1011
|
+
}
|
|
1012
|
+
onArrowRightKeyOnMultiple(event) {
|
|
1013
|
+
let optionIndex = this.focusedMultipleOptionIndex();
|
|
1014
|
+
optionIndex++;
|
|
1015
|
+
this.focusedMultipleOptionIndex.set(optionIndex);
|
|
1016
|
+
if (optionIndex > this.modelValue().length - 1) {
|
|
1017
|
+
this.focusedMultipleOptionIndex.set(-1);
|
|
1018
|
+
DomHandler.focus(this.inputEL.nativeElement);
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
onBackspaceKeyOnMultiple(event) {
|
|
1022
|
+
if (this.focusedMultipleOptionIndex() !== -1) {
|
|
1023
|
+
this.removeOption(event, this.focusedMultipleOptionIndex());
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
onOptionSelect(event, option, isHide = true) {
|
|
1027
|
+
const value = this.getOptionValue(option);
|
|
1028
|
+
if (this.multiple) {
|
|
1029
|
+
this.inputEL.nativeElement.value = '';
|
|
1030
|
+
if (!this.isSelected(option)) {
|
|
1031
|
+
this.updateModel([...(this.modelValue() || []), value]);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
else {
|
|
1035
|
+
this.updateModel(value);
|
|
1036
|
+
}
|
|
1037
|
+
this.onSelect.emit({ originalEvent: event, value: option });
|
|
1038
|
+
isHide && this.hide(true);
|
|
1039
|
+
}
|
|
1040
|
+
onOptionMouseEnter(event, index) {
|
|
1041
|
+
if (this.focusOnHover) {
|
|
1042
|
+
this.changeFocusedOptionIndex(event, index);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
search(event, query, source) {
|
|
1046
|
+
//allow empty string but not undefined or null
|
|
1047
|
+
if (query === undefined || query === null) {
|
|
1048
|
+
return;
|
|
1049
|
+
}
|
|
1050
|
+
//do not search on input change if minLength is not met
|
|
1051
|
+
if (source === 'input' && query.trim().length < this.minLength) {
|
|
1052
|
+
return;
|
|
1053
|
+
}
|
|
1054
|
+
this.loading = true;
|
|
1055
|
+
this.completeMethod.emit({ originalEvent: event, query });
|
|
1056
|
+
}
|
|
1057
|
+
removeOption(event, index) {
|
|
1058
|
+
event.stopPropagation();
|
|
1059
|
+
const removedOption = this.modelValue()[index];
|
|
1060
|
+
const value = this.modelValue()
|
|
1061
|
+
.filter((_, i) => i !== index)
|
|
1062
|
+
.map((option) => this.getOptionValue(option));
|
|
1063
|
+
this.updateModel(value);
|
|
1064
|
+
this.onUnselect.emit({ originalEvent: event, value: removedOption });
|
|
1065
|
+
DomHandler.focus(this.inputEL.nativeElement);
|
|
1066
|
+
}
|
|
1067
|
+
updateModel(value) {
|
|
1068
|
+
this.value = value;
|
|
1069
|
+
this.modelValue.set(value);
|
|
1070
|
+
this.onModelChange(value);
|
|
1071
|
+
this.updateInputValue();
|
|
1072
|
+
this.cd.markForCheck();
|
|
1073
|
+
}
|
|
1074
|
+
updateInputValue() {
|
|
1075
|
+
if (this.inputEL && this.inputEL.nativeElement) {
|
|
1076
|
+
if (!this.multiple) {
|
|
1077
|
+
this.inputEL.nativeElement.value = this.inputValue();
|
|
1078
|
+
}
|
|
1079
|
+
else {
|
|
1080
|
+
this.inputEL.nativeElement.value = '';
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
autoUpdateModel() {
|
|
1085
|
+
if ((this.selectOnFocus || this.autoHighlight) && this.autoOptionFocus && !this.hasSelectedOption()) {
|
|
1086
|
+
const focusedOptionIndex = this.findFirstFocusedOptionIndex();
|
|
1087
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
1088
|
+
this.onOptionSelect(null, this.visibleOptions()[this.focusedOptionIndex()], false);
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
scrollInView(index = -1) {
|
|
1092
|
+
const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;
|
|
1093
|
+
if (this.itemsViewChild && this.itemsViewChild.nativeElement) {
|
|
1094
|
+
const element = DomHandler.findSingle(this.itemsViewChild.nativeElement, `li[id="${id}"]`);
|
|
1095
|
+
if (element) {
|
|
1096
|
+
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
1097
|
+
}
|
|
1098
|
+
else if (!this.virtualScrollerDisabled) {
|
|
1099
|
+
setTimeout(() => {
|
|
1100
|
+
this.virtualScroll && this.scroller?.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex());
|
|
1101
|
+
}, 0);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
changeFocusedOptionIndex(event, index) {
|
|
1106
|
+
if (this.focusedOptionIndex() !== index) {
|
|
1107
|
+
this.focusedOptionIndex.set(index);
|
|
1108
|
+
this.scrollInView();
|
|
1109
|
+
if (this.selectOnFocus) {
|
|
1110
|
+
this.onOptionSelect(event, this.visibleOptions()[index], false);
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
show(isFocus = false) {
|
|
1115
|
+
this.dirty = true;
|
|
1116
|
+
this.overlayVisible = true;
|
|
1117
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
1118
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
1119
|
+
isFocus && DomHandler.focus(this.inputEL.nativeElement);
|
|
1120
|
+
if (isFocus) {
|
|
1121
|
+
DomHandler.focus(this.inputEL.nativeElement);
|
|
1122
|
+
}
|
|
1123
|
+
this.onShow.emit();
|
|
1124
|
+
this.cd.markForCheck();
|
|
1125
|
+
}
|
|
1126
|
+
hide(isFocus = false) {
|
|
1127
|
+
const _hide = () => {
|
|
1128
|
+
this.dirty = isFocus;
|
|
1129
|
+
this.overlayVisible = false;
|
|
1130
|
+
this.focusedOptionIndex.set(-1);
|
|
1131
|
+
isFocus && DomHandler.focus(this.inputEL.nativeElement);
|
|
1132
|
+
this.onHide.emit();
|
|
1133
|
+
this.cd.markForCheck();
|
|
1134
|
+
};
|
|
1135
|
+
// Added to adjust the scroller's content position when the dropdown closes.
|
|
1136
|
+
if (this.virtualScroll) {
|
|
1137
|
+
this.scroller.onScrollChange(event);
|
|
1138
|
+
}
|
|
1139
|
+
setTimeout(() => {
|
|
1140
|
+
_hide();
|
|
1141
|
+
}, 0); // For ScreenReaders
|
|
1142
|
+
}
|
|
1143
|
+
clear() {
|
|
1144
|
+
this.updateModel(null);
|
|
1145
|
+
this.inputEL.nativeElement.value = '';
|
|
1146
|
+
this.onClear.emit();
|
|
1147
|
+
}
|
|
1148
|
+
writeValue(value) {
|
|
1149
|
+
this.value = value;
|
|
1150
|
+
this.modelValue.set(value);
|
|
1151
|
+
this.updateInputValue();
|
|
1152
|
+
this.cd.markForCheck();
|
|
1153
|
+
}
|
|
1154
|
+
hasSelectedOption() {
|
|
1155
|
+
return ObjectUtils.isNotEmpty(this.modelValue());
|
|
1156
|
+
}
|
|
1157
|
+
getAriaPosInset(index) {
|
|
1158
|
+
return ((this.optionGroupLabel
|
|
1159
|
+
? index -
|
|
1160
|
+
this.visibleOptions()
|
|
1161
|
+
.slice(0, index)
|
|
1162
|
+
.filter((option) => this.isOptionGroup(option)).length
|
|
1163
|
+
: index) + 1);
|
|
1164
|
+
}
|
|
1165
|
+
getOptionLabel(option) {
|
|
1166
|
+
return this.field || this.optionLabel ? ObjectUtils.resolveFieldData(option, this.field || this.optionLabel) : option && option.label != undefined ? option.label : option;
|
|
1167
|
+
}
|
|
1168
|
+
getOptionValue(option) {
|
|
1169
|
+
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
|
1170
|
+
}
|
|
1171
|
+
getOptionIndex(index, scrollerOptions) {
|
|
1172
|
+
return this.virtualScrollerDisabled ? index : scrollerOptions && scrollerOptions.getItemOptions(index)['index'];
|
|
1173
|
+
}
|
|
1174
|
+
getOptionGroupLabel(optionGroup) {
|
|
1175
|
+
return this.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel) : optionGroup && optionGroup.label != undefined ? optionGroup.label : optionGroup;
|
|
1176
|
+
}
|
|
1177
|
+
getOptionGroupChildren(optionGroup) {
|
|
1178
|
+
return this.optionGroupChildren ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;
|
|
1179
|
+
}
|
|
1180
|
+
getSelectedOption(modelValue) {
|
|
1181
|
+
if (!this.optionValue) {
|
|
1182
|
+
return modelValue;
|
|
1183
|
+
}
|
|
1184
|
+
return (this.suggestions || []).find((item) => ObjectUtils.resolveFieldData(item, this.optionValue) === modelValue);
|
|
1185
|
+
}
|
|
1186
|
+
getMultipleLabel(option) {
|
|
1187
|
+
let selected = this.getSelectedOption(option);
|
|
1188
|
+
return this.getOptionLabel(selected);
|
|
1189
|
+
}
|
|
1190
|
+
registerOnChange(fn) {
|
|
1191
|
+
this.onModelChange = fn;
|
|
1192
|
+
}
|
|
1193
|
+
registerOnTouched(fn) {
|
|
1194
|
+
this.onModelTouched = fn;
|
|
1195
|
+
}
|
|
1196
|
+
setDisabledState(val) {
|
|
1197
|
+
this.disabled = val;
|
|
1198
|
+
this.cd.markForCheck();
|
|
1199
|
+
}
|
|
1200
|
+
onOverlayAnimationStart(event) {
|
|
1201
|
+
if (event.toState === 'visible') {
|
|
1202
|
+
this.itemsWrapper = DomHandler.findSingle(this.overlayViewChild.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-autocomplete-panel');
|
|
1203
|
+
if (this.virtualScroll) {
|
|
1204
|
+
this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
|
|
1205
|
+
this.scroller.viewInit();
|
|
1206
|
+
}
|
|
1207
|
+
if (this.visibleOptions() && this.visibleOptions().length) {
|
|
1208
|
+
if (this.virtualScroll) {
|
|
1209
|
+
const selectedIndex = this.modelValue() ? this.focusedOptionIndex() : -1;
|
|
1210
|
+
if (selectedIndex !== -1) {
|
|
1211
|
+
this.scroller?.scrollToIndex(selectedIndex);
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
else {
|
|
1215
|
+
let selectedListItem = DomHandler.findSingle(this.itemsWrapper, '.p-autocomplete-item.p-highlight');
|
|
1216
|
+
if (selectedListItem) {
|
|
1217
|
+
selectedListItem.scrollIntoView({ block: 'nearest', inline: 'center' });
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
ngOnDestroy() {
|
|
1224
|
+
if (this.scrollHandler) {
|
|
1225
|
+
this.scrollHandler.destroy();
|
|
1226
|
+
this.scrollHandler = null;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: AutoComplete, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.caxConfig }, { token: i1.OverlayService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1230
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: AutoComplete, selector: "p-autoComplete", inputs: { minLength: ["minLength", "minLength", numberAttribute], delay: ["delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: ["readonly", "readonly", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: ["maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: ["required", "required", booleanAttribute], size: ["size", "size", numberAttribute], appendTo: "appendTo", autoHighlight: ["autoHighlight", "autoHighlight", booleanAttribute], forceSelection: ["forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: ["unique", "unique", booleanAttribute], group: ["group", "group", booleanAttribute], completeOnFocus: ["completeOnFocus", "completeOnFocus", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], field: "field", dropdown: ["dropdown", "dropdown", booleanAttribute], showEmptyMessage: ["showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: ["multiple", "multiple", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: ["autofocus", "autofocus", booleanAttribute], autocomplete: "autocomplete", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", overlayOptions: "overlayOptions", suggestions: "suggestions", itemSize: "itemSize", optionLabel: "optionLabel", optionValue: "optionValue", id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: ["searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], variant: "variant" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { properties: { "class.p-inputwrapper-filled": "filled", "class.p-inputwrapper-focus": "((focused && !disabled) || autofocus) || overlayVisible", "class.p-autocomplete-clearable": "showClear && !disabled" }, classAttribute: "cax-element p-inputwrapper" }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "containerEL", first: true, predicate: ["container"], descendants: true }, { propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }], ngImport: i0, template: `
|
|
1231
|
+
<div #container [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (click)="onContainerClick($event)">
|
|
1232
|
+
<input
|
|
1233
|
+
*ngIf="!multiple"
|
|
1234
|
+
#focusInput
|
|
1235
|
+
pAutoFocus
|
|
1236
|
+
[autofocus]="autofocus"
|
|
1237
|
+
[ngClass]="inputClass"
|
|
1238
|
+
[ngStyle]="inputStyle"
|
|
1239
|
+
[class]="inputStyleClass"
|
|
1240
|
+
[type]="type"
|
|
1241
|
+
[attr.value]="inputValue()"
|
|
1242
|
+
[attr.id]="inputId"
|
|
1243
|
+
[autocomplete]="autocomplete"
|
|
1244
|
+
[required]="required"
|
|
1245
|
+
[name]="name"
|
|
1246
|
+
aria-autocomplete="list"
|
|
1247
|
+
role="combobox"
|
|
1248
|
+
[attr.placeholder]="placeholder"
|
|
1249
|
+
[attr.size]="size"
|
|
1250
|
+
[attr.maxlength]="maxlength"
|
|
1251
|
+
[tabindex]="!disabled ? tabindex : -1"
|
|
1252
|
+
[readonly]="readonly"
|
|
1253
|
+
[disabled]="disabled"
|
|
1254
|
+
[attr.aria-label]="ariaLabel"
|
|
1255
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
1256
|
+
[attr.aria-required]="required"
|
|
1257
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
1258
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
1259
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1260
|
+
(input)="onInput($event)"
|
|
1261
|
+
(keydown)="onKeyDown($event)"
|
|
1262
|
+
(change)="onInputChange($event)"
|
|
1263
|
+
(focus)="onInputFocus($event)"
|
|
1264
|
+
(blur)="onInputBlur($event)"
|
|
1265
|
+
(paste)="onInputPaste($event)"
|
|
1266
|
+
(keyup)="onInputKeyUp($event)"
|
|
1267
|
+
/>
|
|
1268
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
|
1269
|
+
<TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
|
|
1270
|
+
<span *ngIf="clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
|
|
1271
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
|
1272
|
+
</span>
|
|
1273
|
+
</ng-container>
|
|
1274
|
+
|
|
1275
|
+
<ul
|
|
1276
|
+
*ngIf="multiple"
|
|
1277
|
+
#multiContainer
|
|
1278
|
+
[ngClass]="multiContainerClass"
|
|
1279
|
+
[tabindex]="-1"
|
|
1280
|
+
role="listbox"
|
|
1281
|
+
[attr.aria-orientation]="'horizontal'"
|
|
1282
|
+
[attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
|
|
1283
|
+
(focus)="onMultipleContainerFocus($event)"
|
|
1284
|
+
(blur)="onMultipleContainerBlur($event)"
|
|
1285
|
+
(keydown)="onMultipleContainerKeyDown($event)"
|
|
1286
|
+
>
|
|
1287
|
+
<li
|
|
1288
|
+
#token
|
|
1289
|
+
*ngFor="let option of modelValue(); let i = index"
|
|
1290
|
+
[ngClass]="{ 'p-autocomplete-token': true, 'p-focus': focusedMultipleOptionIndex() === i }"
|
|
1291
|
+
[attr.id]="id + '_multiple_option_' + i"
|
|
1292
|
+
role="option"
|
|
1293
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1294
|
+
[attr.aria-setsize]="modelValue().length"
|
|
1295
|
+
[attr.aria-posinset]="i + 1"
|
|
1296
|
+
[attr.aria-selected]="true"
|
|
1297
|
+
>
|
|
1298
|
+
<ng-container *ngTemplateOutlet="selectedItemTemplate; context: { $implicit: option }"></ng-container>
|
|
1299
|
+
<span *ngIf="!selectedItemTemplate" class="p-autocomplete-token-label">{{ getMultipleLabel(option) }}</span>
|
|
1300
|
+
<span class="p-autocomplete-token-icon" (click)="!readonly ? removeOption($event, i) : ''">
|
|
1301
|
+
<TimesCircleIcon [styleClass]="'p-autocomplete-token-icon'" *ngIf="!removeIconTemplate" [attr.aria-hidden]="true" />
|
|
1302
|
+
<span *ngIf="removeIconTemplate" class="p-autocomplete-token-icon" [attr.aria-hidden]="true">
|
|
1303
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate"></ng-template>
|
|
1304
|
+
</span>
|
|
1305
|
+
</span>
|
|
1306
|
+
</li>
|
|
1307
|
+
<li class="p-autocomplete-input-token" role="option">
|
|
1308
|
+
<input
|
|
1309
|
+
#focusInput
|
|
1310
|
+
pAutoFocus
|
|
1311
|
+
[autofocus]="autofocus"
|
|
1312
|
+
[ngClass]="inputClass"
|
|
1313
|
+
[ngStyle]="inputStyle"
|
|
1314
|
+
[class]="inputStyleClass"
|
|
1315
|
+
[attr.type]="type"
|
|
1316
|
+
[attr.id]="inputId"
|
|
1317
|
+
[autocomplete]="autocomplete"
|
|
1318
|
+
[required]="required"
|
|
1319
|
+
[attr.name]="name"
|
|
1320
|
+
role="combobox"
|
|
1321
|
+
[attr.placeholder]="!filled ? placeholder : null"
|
|
1322
|
+
[attr.size]="size"
|
|
1323
|
+
aria-autocomplete="list"
|
|
1324
|
+
[attr.maxlength]="maxlength"
|
|
1325
|
+
[tabindex]="!disabled ? tabindex : -1"
|
|
1326
|
+
[readonly]="readonly"
|
|
1327
|
+
[disabled]="disabled"
|
|
1328
|
+
[attr.aria-label]="ariaLabel"
|
|
1329
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
1330
|
+
[attr.aria-required]="required"
|
|
1331
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
1332
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
1333
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1334
|
+
(input)="onInput($event)"
|
|
1335
|
+
(keydown)="onKeyDown($event)"
|
|
1336
|
+
(change)="onInputChange($event)"
|
|
1337
|
+
(focus)="onInputFocus($event)"
|
|
1338
|
+
(blur)="onInputBlur($event)"
|
|
1339
|
+
(paste)="onInputPaste($event)"
|
|
1340
|
+
(keyup)="onInputKeyUp($event)"
|
|
1341
|
+
/>
|
|
1342
|
+
</li>
|
|
1343
|
+
</ul>
|
|
1344
|
+
<ng-container *ngIf="loading">
|
|
1345
|
+
<SpinnerIcon *ngIf="!loadingIconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
|
|
1346
|
+
<span *ngIf="loadingIconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
|
|
1347
|
+
<ng-template *ngTemplateOutlet="loadingIconTemplate"></ng-template>
|
|
1348
|
+
</span>
|
|
1349
|
+
</ng-container>
|
|
1350
|
+
<button #ddBtn type="button" pButton [attr.aria-label]="dropdownAriaLabel" class="p-autocomplete-dropdown p-button-icon-only" [disabled]="disabled" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
|
|
1351
|
+
<span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
|
|
1352
|
+
<ng-container *ngIf="!dropdownIcon">
|
|
1353
|
+
<ChevronDownIcon *ngIf="!dropdownIconTemplate" />
|
|
1354
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
|
1355
|
+
</ng-container>
|
|
1356
|
+
</button>
|
|
1357
|
+
<cax-overlay
|
|
1358
|
+
#overlay
|
|
1359
|
+
[(visible)]="overlayVisible"
|
|
1360
|
+
[options]="overlayOptions"
|
|
1361
|
+
[target]="'@parent'"
|
|
1362
|
+
[appendTo]="appendTo"
|
|
1363
|
+
[showTransitionOptions]="showTransitionOptions"
|
|
1364
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
|
1365
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
|
1366
|
+
(onHide)="hide()"
|
|
1367
|
+
>
|
|
1368
|
+
<div [ngClass]="panelClass" [ngStyle]="panelStyles" [class]="panelStyleClass">
|
|
1369
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
1370
|
+
<cax-scroller
|
|
1371
|
+
*ngIf="virtualScroll"
|
|
1372
|
+
#scroller
|
|
1373
|
+
[items]="visibleOptions()"
|
|
1374
|
+
[style]="{ height: scrollHeight }"
|
|
1375
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
|
1376
|
+
[autoSize]="true"
|
|
1377
|
+
[lazy]="lazy"
|
|
1378
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
1379
|
+
[options]="virtualScrollOptions"
|
|
1380
|
+
>
|
|
1381
|
+
<ng-template caxTemplate="content" let-items let-scrollerOptions="options">
|
|
1382
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
1383
|
+
</ng-template>
|
|
1384
|
+
<ng-container *ngIf="loaderTemplate">
|
|
1385
|
+
<ng-template caxTemplate="loader" let-scrollerOptions="options">
|
|
1386
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
|
1387
|
+
</ng-template>
|
|
1388
|
+
</ng-container>
|
|
1389
|
+
</cax-scroller>
|
|
1390
|
+
<ng-container *ngIf="!virtualScroll">
|
|
1391
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
1392
|
+
</ng-container>
|
|
1393
|
+
|
|
1394
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
1395
|
+
<ul #items class="p-autocomplete-items" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
|
|
1396
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
|
1397
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
|
1398
|
+
<li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-item-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1399
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
1400
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
|
1401
|
+
</li>
|
|
1402
|
+
</ng-container>
|
|
1403
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
|
1404
|
+
<li
|
|
1405
|
+
class="p-autocomplete-item"
|
|
1406
|
+
pRipple
|
|
1407
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
|
1408
|
+
[ngClass]="{ 'p-highlight': isSelected(option), 'p-focus': focusedOptionIndex() === getOptionIndex(i, scrollerOptions), 'p-disabled': isOptionDisabled(option) }"
|
|
1409
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
|
1410
|
+
role="option"
|
|
1411
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1412
|
+
[attr.aria-selected]="isSelected(option)"
|
|
1413
|
+
[attr.aria-disabled]="isOptionDisabled(option)"
|
|
1414
|
+
[attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
|
1415
|
+
[attr.aria-setsize]="ariaSetSize"
|
|
1416
|
+
[attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
|
1417
|
+
(click)="onOptionSelect($event, option)"
|
|
1418
|
+
(mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
1419
|
+
>
|
|
1420
|
+
<span *ngIf="!itemTemplate">{{ getOptionLabel(option) }}</span>
|
|
1421
|
+
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: option, index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i }"></ng-container>
|
|
1422
|
+
</li>
|
|
1423
|
+
</ng-container>
|
|
1424
|
+
</ng-template>
|
|
1425
|
+
<li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1426
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
|
1427
|
+
{{ searchResultMessageText }}
|
|
1428
|
+
</ng-container>
|
|
1429
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
|
1430
|
+
</li>
|
|
1431
|
+
</ul>
|
|
1432
|
+
</ng-template>
|
|
1433
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
1434
|
+
</div>
|
|
1435
|
+
<span role="status" aria-live="polite" class="p-hidden-accessible">
|
|
1436
|
+
{{ selectedMessageText }}
|
|
1437
|
+
</span>
|
|
1438
|
+
</cax-overlay>
|
|
1439
|
+
</div>
|
|
1440
|
+
`, isInline: true, styles: ["@layer cax{.p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete-panel{overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{width:fit-content;cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{display:flex;cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}.p-autocomplete-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-autocomplete-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: "component", type: i0.forwardRef(() => i4.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(() => TimesCircleIcon), selector: "TimesCircleIcon" }, { kind: "component", type: i0.forwardRef(() => SpinnerIcon), selector: "SpinnerIcon" }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "ChevronDownIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1441
|
+
}
|
|
1442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: AutoComplete, decorators: [{
|
|
1443
|
+
type: Component,
|
|
1444
|
+
args: [{ selector: 'p-autoComplete', template: `
|
|
1445
|
+
<div #container [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (click)="onContainerClick($event)">
|
|
1446
|
+
<input
|
|
1447
|
+
*ngIf="!multiple"
|
|
1448
|
+
#focusInput
|
|
1449
|
+
pAutoFocus
|
|
1450
|
+
[autofocus]="autofocus"
|
|
1451
|
+
[ngClass]="inputClass"
|
|
1452
|
+
[ngStyle]="inputStyle"
|
|
1453
|
+
[class]="inputStyleClass"
|
|
1454
|
+
[type]="type"
|
|
1455
|
+
[attr.value]="inputValue()"
|
|
1456
|
+
[attr.id]="inputId"
|
|
1457
|
+
[autocomplete]="autocomplete"
|
|
1458
|
+
[required]="required"
|
|
1459
|
+
[name]="name"
|
|
1460
|
+
aria-autocomplete="list"
|
|
1461
|
+
role="combobox"
|
|
1462
|
+
[attr.placeholder]="placeholder"
|
|
1463
|
+
[attr.size]="size"
|
|
1464
|
+
[attr.maxlength]="maxlength"
|
|
1465
|
+
[tabindex]="!disabled ? tabindex : -1"
|
|
1466
|
+
[readonly]="readonly"
|
|
1467
|
+
[disabled]="disabled"
|
|
1468
|
+
[attr.aria-label]="ariaLabel"
|
|
1469
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
1470
|
+
[attr.aria-required]="required"
|
|
1471
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
1472
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
1473
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1474
|
+
(input)="onInput($event)"
|
|
1475
|
+
(keydown)="onKeyDown($event)"
|
|
1476
|
+
(change)="onInputChange($event)"
|
|
1477
|
+
(focus)="onInputFocus($event)"
|
|
1478
|
+
(blur)="onInputBlur($event)"
|
|
1479
|
+
(paste)="onInputPaste($event)"
|
|
1480
|
+
(keyup)="onInputKeyUp($event)"
|
|
1481
|
+
/>
|
|
1482
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
|
1483
|
+
<TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
|
|
1484
|
+
<span *ngIf="clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
|
|
1485
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
|
1486
|
+
</span>
|
|
1487
|
+
</ng-container>
|
|
1488
|
+
|
|
1489
|
+
<ul
|
|
1490
|
+
*ngIf="multiple"
|
|
1491
|
+
#multiContainer
|
|
1492
|
+
[ngClass]="multiContainerClass"
|
|
1493
|
+
[tabindex]="-1"
|
|
1494
|
+
role="listbox"
|
|
1495
|
+
[attr.aria-orientation]="'horizontal'"
|
|
1496
|
+
[attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
|
|
1497
|
+
(focus)="onMultipleContainerFocus($event)"
|
|
1498
|
+
(blur)="onMultipleContainerBlur($event)"
|
|
1499
|
+
(keydown)="onMultipleContainerKeyDown($event)"
|
|
1500
|
+
>
|
|
1501
|
+
<li
|
|
1502
|
+
#token
|
|
1503
|
+
*ngFor="let option of modelValue(); let i = index"
|
|
1504
|
+
[ngClass]="{ 'p-autocomplete-token': true, 'p-focus': focusedMultipleOptionIndex() === i }"
|
|
1505
|
+
[attr.id]="id + '_multiple_option_' + i"
|
|
1506
|
+
role="option"
|
|
1507
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1508
|
+
[attr.aria-setsize]="modelValue().length"
|
|
1509
|
+
[attr.aria-posinset]="i + 1"
|
|
1510
|
+
[attr.aria-selected]="true"
|
|
1511
|
+
>
|
|
1512
|
+
<ng-container *ngTemplateOutlet="selectedItemTemplate; context: { $implicit: option }"></ng-container>
|
|
1513
|
+
<span *ngIf="!selectedItemTemplate" class="p-autocomplete-token-label">{{ getMultipleLabel(option) }}</span>
|
|
1514
|
+
<span class="p-autocomplete-token-icon" (click)="!readonly ? removeOption($event, i) : ''">
|
|
1515
|
+
<TimesCircleIcon [styleClass]="'p-autocomplete-token-icon'" *ngIf="!removeIconTemplate" [attr.aria-hidden]="true" />
|
|
1516
|
+
<span *ngIf="removeIconTemplate" class="p-autocomplete-token-icon" [attr.aria-hidden]="true">
|
|
1517
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate"></ng-template>
|
|
1518
|
+
</span>
|
|
1519
|
+
</span>
|
|
1520
|
+
</li>
|
|
1521
|
+
<li class="p-autocomplete-input-token" role="option">
|
|
1522
|
+
<input
|
|
1523
|
+
#focusInput
|
|
1524
|
+
pAutoFocus
|
|
1525
|
+
[autofocus]="autofocus"
|
|
1526
|
+
[ngClass]="inputClass"
|
|
1527
|
+
[ngStyle]="inputStyle"
|
|
1528
|
+
[class]="inputStyleClass"
|
|
1529
|
+
[attr.type]="type"
|
|
1530
|
+
[attr.id]="inputId"
|
|
1531
|
+
[autocomplete]="autocomplete"
|
|
1532
|
+
[required]="required"
|
|
1533
|
+
[attr.name]="name"
|
|
1534
|
+
role="combobox"
|
|
1535
|
+
[attr.placeholder]="!filled ? placeholder : null"
|
|
1536
|
+
[attr.size]="size"
|
|
1537
|
+
aria-autocomplete="list"
|
|
1538
|
+
[attr.maxlength]="maxlength"
|
|
1539
|
+
[tabindex]="!disabled ? tabindex : -1"
|
|
1540
|
+
[readonly]="readonly"
|
|
1541
|
+
[disabled]="disabled"
|
|
1542
|
+
[attr.aria-label]="ariaLabel"
|
|
1543
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
1544
|
+
[attr.aria-required]="required"
|
|
1545
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
|
1546
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
|
1547
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
|
1548
|
+
(input)="onInput($event)"
|
|
1549
|
+
(keydown)="onKeyDown($event)"
|
|
1550
|
+
(change)="onInputChange($event)"
|
|
1551
|
+
(focus)="onInputFocus($event)"
|
|
1552
|
+
(blur)="onInputBlur($event)"
|
|
1553
|
+
(paste)="onInputPaste($event)"
|
|
1554
|
+
(keyup)="onInputKeyUp($event)"
|
|
1555
|
+
/>
|
|
1556
|
+
</li>
|
|
1557
|
+
</ul>
|
|
1558
|
+
<ng-container *ngIf="loading">
|
|
1559
|
+
<SpinnerIcon *ngIf="!loadingIconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
|
|
1560
|
+
<span *ngIf="loadingIconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
|
|
1561
|
+
<ng-template *ngTemplateOutlet="loadingIconTemplate"></ng-template>
|
|
1562
|
+
</span>
|
|
1563
|
+
</ng-container>
|
|
1564
|
+
<button #ddBtn type="button" pButton [attr.aria-label]="dropdownAriaLabel" class="p-autocomplete-dropdown p-button-icon-only" [disabled]="disabled" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
|
|
1565
|
+
<span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
|
|
1566
|
+
<ng-container *ngIf="!dropdownIcon">
|
|
1567
|
+
<ChevronDownIcon *ngIf="!dropdownIconTemplate" />
|
|
1568
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
|
1569
|
+
</ng-container>
|
|
1570
|
+
</button>
|
|
1571
|
+
<cax-overlay
|
|
1572
|
+
#overlay
|
|
1573
|
+
[(visible)]="overlayVisible"
|
|
1574
|
+
[options]="overlayOptions"
|
|
1575
|
+
[target]="'@parent'"
|
|
1576
|
+
[appendTo]="appendTo"
|
|
1577
|
+
[showTransitionOptions]="showTransitionOptions"
|
|
1578
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
|
1579
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
|
1580
|
+
(onHide)="hide()"
|
|
1581
|
+
>
|
|
1582
|
+
<div [ngClass]="panelClass" [ngStyle]="panelStyles" [class]="panelStyleClass">
|
|
1583
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
1584
|
+
<cax-scroller
|
|
1585
|
+
*ngIf="virtualScroll"
|
|
1586
|
+
#scroller
|
|
1587
|
+
[items]="visibleOptions()"
|
|
1588
|
+
[style]="{ height: scrollHeight }"
|
|
1589
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
|
1590
|
+
[autoSize]="true"
|
|
1591
|
+
[lazy]="lazy"
|
|
1592
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
1593
|
+
[options]="virtualScrollOptions"
|
|
1594
|
+
>
|
|
1595
|
+
<ng-template caxTemplate="content" let-items let-scrollerOptions="options">
|
|
1596
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
1597
|
+
</ng-template>
|
|
1598
|
+
<ng-container *ngIf="loaderTemplate">
|
|
1599
|
+
<ng-template caxTemplate="loader" let-scrollerOptions="options">
|
|
1600
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
|
1601
|
+
</ng-template>
|
|
1602
|
+
</ng-container>
|
|
1603
|
+
</cax-scroller>
|
|
1604
|
+
<ng-container *ngIf="!virtualScroll">
|
|
1605
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
1606
|
+
</ng-container>
|
|
1607
|
+
|
|
1608
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
1609
|
+
<ul #items class="p-autocomplete-items" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
|
|
1610
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
|
1611
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
|
1612
|
+
<li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-item-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1613
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
1614
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
|
1615
|
+
</li>
|
|
1616
|
+
</ng-container>
|
|
1617
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
|
1618
|
+
<li
|
|
1619
|
+
class="p-autocomplete-item"
|
|
1620
|
+
pRipple
|
|
1621
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
|
1622
|
+
[ngClass]="{ 'p-highlight': isSelected(option), 'p-focus': focusedOptionIndex() === getOptionIndex(i, scrollerOptions), 'p-disabled': isOptionDisabled(option) }"
|
|
1623
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
|
1624
|
+
role="option"
|
|
1625
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1626
|
+
[attr.aria-selected]="isSelected(option)"
|
|
1627
|
+
[attr.aria-disabled]="isOptionDisabled(option)"
|
|
1628
|
+
[attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
|
1629
|
+
[attr.aria-setsize]="ariaSetSize"
|
|
1630
|
+
[attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
|
1631
|
+
(click)="onOptionSelect($event, option)"
|
|
1632
|
+
(mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
1633
|
+
>
|
|
1634
|
+
<span *ngIf="!itemTemplate">{{ getOptionLabel(option) }}</span>
|
|
1635
|
+
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: option, index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i }"></ng-container>
|
|
1636
|
+
</li>
|
|
1637
|
+
</ng-container>
|
|
1638
|
+
</ng-template>
|
|
1639
|
+
<li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1640
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
|
1641
|
+
{{ searchResultMessageText }}
|
|
1642
|
+
</ng-container>
|
|
1643
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
|
1644
|
+
</li>
|
|
1645
|
+
</ul>
|
|
1646
|
+
</ng-template>
|
|
1647
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
1648
|
+
</div>
|
|
1649
|
+
<span role="status" aria-live="polite" class="p-hidden-accessible">
|
|
1650
|
+
{{ selectedMessageText }}
|
|
1651
|
+
</span>
|
|
1652
|
+
</cax-overlay>
|
|
1653
|
+
</div>
|
|
1654
|
+
`, host: {
|
|
1655
|
+
class: 'cax-element p-inputwrapper',
|
|
1656
|
+
'[class.p-inputwrapper-filled]': 'filled',
|
|
1657
|
+
'[class.p-inputwrapper-focus]': '((focused && !disabled) || autofocus) || overlayVisible',
|
|
1658
|
+
'[class.p-autocomplete-clearable]': 'showClear && !disabled'
|
|
1659
|
+
}, providers: [AUTOCOMPLETE_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@layer cax{.p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete-panel{overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{width:fit-content;cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{display:flex;cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}.p-autocomplete-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-autocomplete-clearable{position:relative}}\n"] }]
|
|
1660
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
1661
|
+
type: Inject,
|
|
1662
|
+
args: [DOCUMENT]
|
|
1663
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.caxConfig }, { type: i1.OverlayService }, { type: i0.NgZone }], propDecorators: { minLength: [{
|
|
1664
|
+
type: Input,
|
|
1665
|
+
args: [{ transform: numberAttribute }]
|
|
1666
|
+
}], delay: [{
|
|
1667
|
+
type: Input,
|
|
1668
|
+
args: [{ transform: numberAttribute }]
|
|
1669
|
+
}], style: [{
|
|
1670
|
+
type: Input
|
|
1671
|
+
}], panelStyle: [{
|
|
1672
|
+
type: Input
|
|
1673
|
+
}], styleClass: [{
|
|
1674
|
+
type: Input
|
|
1675
|
+
}], panelStyleClass: [{
|
|
1676
|
+
type: Input
|
|
1677
|
+
}], inputStyle: [{
|
|
1678
|
+
type: Input
|
|
1679
|
+
}], inputId: [{
|
|
1680
|
+
type: Input
|
|
1681
|
+
}], inputStyleClass: [{
|
|
1682
|
+
type: Input
|
|
1683
|
+
}], placeholder: [{
|
|
1684
|
+
type: Input
|
|
1685
|
+
}], readonly: [{
|
|
1686
|
+
type: Input,
|
|
1687
|
+
args: [{ transform: booleanAttribute }]
|
|
1688
|
+
}], disabled: [{
|
|
1689
|
+
type: Input,
|
|
1690
|
+
args: [{ transform: booleanAttribute }]
|
|
1691
|
+
}], scrollHeight: [{
|
|
1692
|
+
type: Input
|
|
1693
|
+
}], lazy: [{
|
|
1694
|
+
type: Input,
|
|
1695
|
+
args: [{ transform: booleanAttribute }]
|
|
1696
|
+
}], virtualScroll: [{
|
|
1697
|
+
type: Input,
|
|
1698
|
+
args: [{ transform: booleanAttribute }]
|
|
1699
|
+
}], virtualScrollItemSize: [{
|
|
1700
|
+
type: Input,
|
|
1701
|
+
args: [{ transform: numberAttribute }]
|
|
1702
|
+
}], virtualScrollOptions: [{
|
|
1703
|
+
type: Input
|
|
1704
|
+
}], maxlength: [{
|
|
1705
|
+
type: Input,
|
|
1706
|
+
args: [{ transform: (value) => numberAttribute(value, null) }]
|
|
1707
|
+
}], name: [{
|
|
1708
|
+
type: Input
|
|
1709
|
+
}], required: [{
|
|
1710
|
+
type: Input,
|
|
1711
|
+
args: [{ transform: booleanAttribute }]
|
|
1712
|
+
}], size: [{
|
|
1713
|
+
type: Input,
|
|
1714
|
+
args: [{ transform: numberAttribute }]
|
|
1715
|
+
}], appendTo: [{
|
|
1716
|
+
type: Input
|
|
1717
|
+
}], autoHighlight: [{
|
|
1718
|
+
type: Input,
|
|
1719
|
+
args: [{ transform: booleanAttribute }]
|
|
1720
|
+
}], forceSelection: [{
|
|
1721
|
+
type: Input,
|
|
1722
|
+
args: [{ transform: booleanAttribute }]
|
|
1723
|
+
}], type: [{
|
|
1724
|
+
type: Input
|
|
1725
|
+
}], autoZIndex: [{
|
|
1726
|
+
type: Input,
|
|
1727
|
+
args: [{ transform: booleanAttribute }]
|
|
1728
|
+
}], baseZIndex: [{
|
|
1729
|
+
type: Input,
|
|
1730
|
+
args: [{ transform: numberAttribute }]
|
|
1731
|
+
}], ariaLabel: [{
|
|
1732
|
+
type: Input
|
|
1733
|
+
}], dropdownAriaLabel: [{
|
|
1734
|
+
type: Input
|
|
1735
|
+
}], ariaLabelledBy: [{
|
|
1736
|
+
type: Input
|
|
1737
|
+
}], dropdownIcon: [{
|
|
1738
|
+
type: Input
|
|
1739
|
+
}], unique: [{
|
|
1740
|
+
type: Input,
|
|
1741
|
+
args: [{ transform: booleanAttribute }]
|
|
1742
|
+
}], group: [{
|
|
1743
|
+
type: Input,
|
|
1744
|
+
args: [{ transform: booleanAttribute }]
|
|
1745
|
+
}], completeOnFocus: [{
|
|
1746
|
+
type: Input,
|
|
1747
|
+
args: [{ transform: booleanAttribute }]
|
|
1748
|
+
}], showClear: [{
|
|
1749
|
+
type: Input,
|
|
1750
|
+
args: [{ transform: booleanAttribute }]
|
|
1751
|
+
}], field: [{
|
|
1752
|
+
type: Input
|
|
1753
|
+
}], dropdown: [{
|
|
1754
|
+
type: Input,
|
|
1755
|
+
args: [{ transform: booleanAttribute }]
|
|
1756
|
+
}], showEmptyMessage: [{
|
|
1757
|
+
type: Input,
|
|
1758
|
+
args: [{ transform: booleanAttribute }]
|
|
1759
|
+
}], dropdownMode: [{
|
|
1760
|
+
type: Input
|
|
1761
|
+
}], multiple: [{
|
|
1762
|
+
type: Input,
|
|
1763
|
+
args: [{ transform: booleanAttribute }]
|
|
1764
|
+
}], tabindex: [{
|
|
1765
|
+
type: Input,
|
|
1766
|
+
args: [{ transform: numberAttribute }]
|
|
1767
|
+
}], dataKey: [{
|
|
1768
|
+
type: Input
|
|
1769
|
+
}], emptyMessage: [{
|
|
1770
|
+
type: Input
|
|
1771
|
+
}], showTransitionOptions: [{
|
|
1772
|
+
type: Input
|
|
1773
|
+
}], hideTransitionOptions: [{
|
|
1774
|
+
type: Input
|
|
1775
|
+
}], autofocus: [{
|
|
1776
|
+
type: Input,
|
|
1777
|
+
args: [{ transform: booleanAttribute }]
|
|
1778
|
+
}], autocomplete: [{
|
|
1779
|
+
type: Input
|
|
1780
|
+
}], optionGroupChildren: [{
|
|
1781
|
+
type: Input
|
|
1782
|
+
}], optionGroupLabel: [{
|
|
1783
|
+
type: Input
|
|
1784
|
+
}], overlayOptions: [{
|
|
1785
|
+
type: Input
|
|
1786
|
+
}], suggestions: [{
|
|
1787
|
+
type: Input
|
|
1788
|
+
}], itemSize: [{
|
|
1789
|
+
type: Input
|
|
1790
|
+
}], optionLabel: [{
|
|
1791
|
+
type: Input
|
|
1792
|
+
}], optionValue: [{
|
|
1793
|
+
type: Input
|
|
1794
|
+
}], id: [{
|
|
1795
|
+
type: Input
|
|
1796
|
+
}], searchMessage: [{
|
|
1797
|
+
type: Input
|
|
1798
|
+
}], emptySelectionMessage: [{
|
|
1799
|
+
type: Input
|
|
1800
|
+
}], selectionMessage: [{
|
|
1801
|
+
type: Input
|
|
1802
|
+
}], autoOptionFocus: [{
|
|
1803
|
+
type: Input,
|
|
1804
|
+
args: [{ transform: booleanAttribute }]
|
|
1805
|
+
}], selectOnFocus: [{
|
|
1806
|
+
type: Input,
|
|
1807
|
+
args: [{ transform: booleanAttribute }]
|
|
1808
|
+
}], searchLocale: [{
|
|
1809
|
+
type: Input,
|
|
1810
|
+
args: [{ transform: booleanAttribute }]
|
|
1811
|
+
}], optionDisabled: [{
|
|
1812
|
+
type: Input
|
|
1813
|
+
}], focusOnHover: [{
|
|
1814
|
+
type: Input,
|
|
1815
|
+
args: [{ transform: booleanAttribute }]
|
|
1816
|
+
}], variant: [{
|
|
1817
|
+
type: Input
|
|
1818
|
+
}], completeMethod: [{
|
|
1819
|
+
type: Output
|
|
1820
|
+
}], onSelect: [{
|
|
1821
|
+
type: Output
|
|
1822
|
+
}], onUnselect: [{
|
|
1823
|
+
type: Output
|
|
1824
|
+
}], onFocus: [{
|
|
1825
|
+
type: Output
|
|
1826
|
+
}], onBlur: [{
|
|
1827
|
+
type: Output
|
|
1828
|
+
}], onDropdownClick: [{
|
|
1829
|
+
type: Output
|
|
1830
|
+
}], onClear: [{
|
|
1831
|
+
type: Output
|
|
1832
|
+
}], onKeyUp: [{
|
|
1833
|
+
type: Output
|
|
1834
|
+
}], onShow: [{
|
|
1835
|
+
type: Output
|
|
1836
|
+
}], onHide: [{
|
|
1837
|
+
type: Output
|
|
1838
|
+
}], onLazyLoad: [{
|
|
1839
|
+
type: Output
|
|
1840
|
+
}], containerEL: [{
|
|
1841
|
+
type: ViewChild,
|
|
1842
|
+
args: ['container']
|
|
1843
|
+
}], inputEL: [{
|
|
1844
|
+
type: ViewChild,
|
|
1845
|
+
args: ['focusInput']
|
|
1846
|
+
}], multiInputEl: [{
|
|
1847
|
+
type: ViewChild,
|
|
1848
|
+
args: ['multiIn']
|
|
1849
|
+
}], multiContainerEL: [{
|
|
1850
|
+
type: ViewChild,
|
|
1851
|
+
args: ['multiContainer']
|
|
1852
|
+
}], dropdownButton: [{
|
|
1853
|
+
type: ViewChild,
|
|
1854
|
+
args: ['ddBtn']
|
|
1855
|
+
}], itemsViewChild: [{
|
|
1856
|
+
type: ViewChild,
|
|
1857
|
+
args: ['items']
|
|
1858
|
+
}], scroller: [{
|
|
1859
|
+
type: ViewChild,
|
|
1860
|
+
args: ['scroller']
|
|
1861
|
+
}], overlayViewChild: [{
|
|
1862
|
+
type: ViewChild,
|
|
1863
|
+
args: ['overlay']
|
|
1864
|
+
}], templates: [{
|
|
1865
|
+
type: ContentChildren,
|
|
1866
|
+
args: [CaxTemplate]
|
|
1867
|
+
}] } });
|
|
1868
|
+
class AutoCompleteModule {
|
|
1869
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1870
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: AutoCompleteModule, declarations: [AutoComplete], imports: [CommonModule, OverlayModule, InputTextModule, ButtonModule, SharedModule, RippleModule, ScrollerModule, AutoFocusModule, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon], exports: [AutoComplete, OverlayModule, SharedModule, ScrollerModule, AutoFocusModule] });
|
|
1871
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: AutoCompleteModule, imports: [CommonModule, OverlayModule, InputTextModule, ButtonModule, SharedModule, RippleModule, ScrollerModule, AutoFocusModule, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon, OverlayModule, SharedModule, ScrollerModule, AutoFocusModule] });
|
|
1872
|
+
}
|
|
1873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
1874
|
+
type: NgModule,
|
|
1875
|
+
args: [{
|
|
1876
|
+
imports: [CommonModule, OverlayModule, InputTextModule, ButtonModule, SharedModule, RippleModule, ScrollerModule, AutoFocusModule, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon],
|
|
1877
|
+
exports: [AutoComplete, OverlayModule, SharedModule, ScrollerModule, AutoFocusModule],
|
|
1878
|
+
declarations: [AutoComplete]
|
|
1879
|
+
}]
|
|
1880
|
+
}] });
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Generated bundle index. Do not edit.
|
|
1884
|
+
*/
|
|
1885
|
+
|
|
1886
|
+
export { AUTOCOMPLETE_VALUE_ACCESSOR, AutoComplete, AutoCompleteModule };
|
|
1887
|
+
//# sourceMappingURL=cax-design-system-autocomplete.mjs.map
|