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,1684 @@
|
|
|
1
|
+
import * as i2 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, booleanAttribute, numberAttribute, Component, Input, Output, forwardRef, signal, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, 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 { DomHandler } from 'cax-design-system/dom';
|
|
10
|
+
import * as i3 from 'cax-design-system/overlay';
|
|
11
|
+
import { OverlayModule } from 'cax-design-system/overlay';
|
|
12
|
+
import { RippleModule } from 'cax-design-system/ripple';
|
|
13
|
+
import * as i5 from 'cax-design-system/scroller';
|
|
14
|
+
import { ScrollerModule } from 'cax-design-system/scroller';
|
|
15
|
+
import * as i4 from 'cax-design-system/tooltip';
|
|
16
|
+
import { TooltipModule } from 'cax-design-system/tooltip';
|
|
17
|
+
import { ObjectUtils, UniqueComponentId } from 'cax-design-system/utils';
|
|
18
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
19
|
+
import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
|
|
20
|
+
import { SearchIcon } from 'cax-design-system/icons/search';
|
|
21
|
+
import { BlankIcon } from 'cax-design-system/icons/blank';
|
|
22
|
+
import { CheckIcon } from 'cax-design-system/icons/check';
|
|
23
|
+
|
|
24
|
+
class DropdownItem {
|
|
25
|
+
id;
|
|
26
|
+
option;
|
|
27
|
+
selected;
|
|
28
|
+
focused;
|
|
29
|
+
label;
|
|
30
|
+
disabled;
|
|
31
|
+
visible;
|
|
32
|
+
itemSize;
|
|
33
|
+
ariaPosInset;
|
|
34
|
+
ariaSetSize;
|
|
35
|
+
template;
|
|
36
|
+
checkmark;
|
|
37
|
+
onClick = new EventEmitter();
|
|
38
|
+
onMouseEnter = new EventEmitter();
|
|
39
|
+
ngOnInit() { }
|
|
40
|
+
onOptionClick(event) {
|
|
41
|
+
this.onClick.emit(event);
|
|
42
|
+
}
|
|
43
|
+
onOptionMouseEnter(event) {
|
|
44
|
+
this.onMouseEnter.emit(event);
|
|
45
|
+
}
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DropdownItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: DropdownItem, isStandalone: true, selector: "cax-dropdownItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute] }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, host: { classAttribute: "cax-element" }, ngImport: i0, template: "<li\r\n [id]=\"id\"\r\n (click)=\"onOptionClick($event)\"\r\n (mouseenter)=\"onOptionMouseEnter($event)\"\r\n role=\"option\"\r\n caxRipple\r\n [attr.aria-label]=\"label\"\r\n [attr.aria-setsize]=\"ariaSetSize\"\r\n [attr.aria-posinset]=\"ariaPosInset\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.data-cax-focused]=\"focused\"\r\n [attr.data-cax-highlight]=\"selected\"\r\n [attr.data-cax-disabled]=\"disabled\"\r\n [ngStyle]=\"{ height: itemSize + 'px' }\"\r\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\r\n>\r\n <ng-container *ngIf=\"checkmark\">\r\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\r\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"!template\">{{ label ?? 'empty' }}</span>\r\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\r\n</li>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }] });
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DropdownItem, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'cax-dropdownItem', standalone: true, imports: [CommonModule, BlankIcon, CheckIcon], host: {
|
|
52
|
+
class: 'cax-element'
|
|
53
|
+
}, template: "<li\r\n [id]=\"id\"\r\n (click)=\"onOptionClick($event)\"\r\n (mouseenter)=\"onOptionMouseEnter($event)\"\r\n role=\"option\"\r\n caxRipple\r\n [attr.aria-label]=\"label\"\r\n [attr.aria-setsize]=\"ariaSetSize\"\r\n [attr.aria-posinset]=\"ariaPosInset\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.data-cax-focused]=\"focused\"\r\n [attr.data-cax-highlight]=\"selected\"\r\n [attr.data-cax-disabled]=\"disabled\"\r\n [ngStyle]=\"{ height: itemSize + 'px' }\"\r\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\r\n>\r\n <ng-container *ngIf=\"checkmark\">\r\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\r\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"!template\">{{ label ?? 'empty' }}</span>\r\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\r\n</li>\r\n" }]
|
|
54
|
+
}], propDecorators: { id: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], option: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], selected: [{
|
|
59
|
+
type: Input,
|
|
60
|
+
args: [{ transform: booleanAttribute }]
|
|
61
|
+
}], focused: [{
|
|
62
|
+
type: Input,
|
|
63
|
+
args: [{ transform: booleanAttribute }]
|
|
64
|
+
}], label: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], disabled: [{
|
|
67
|
+
type: Input,
|
|
68
|
+
args: [{ transform: booleanAttribute }]
|
|
69
|
+
}], visible: [{
|
|
70
|
+
type: Input,
|
|
71
|
+
args: [{ transform: booleanAttribute }]
|
|
72
|
+
}], itemSize: [{
|
|
73
|
+
type: Input,
|
|
74
|
+
args: [{ transform: numberAttribute }]
|
|
75
|
+
}], ariaPosInset: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], ariaSetSize: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], template: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], checkmark: [{
|
|
82
|
+
type: Input,
|
|
83
|
+
args: [{ transform: booleanAttribute }]
|
|
84
|
+
}], onClick: [{
|
|
85
|
+
type: Output
|
|
86
|
+
}], onMouseEnter: [{
|
|
87
|
+
type: Output
|
|
88
|
+
}] } });
|
|
89
|
+
|
|
90
|
+
const DROPDOWN_VALUE_ACCESSOR = {
|
|
91
|
+
provide: NG_VALUE_ACCESSOR,
|
|
92
|
+
useExisting: forwardRef(() => Dropdown),
|
|
93
|
+
multi: true
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Dropdown also known as Select, is used to choose an item from a collection of options.
|
|
97
|
+
* @group Components
|
|
98
|
+
*/
|
|
99
|
+
class Dropdown {
|
|
100
|
+
el;
|
|
101
|
+
renderer;
|
|
102
|
+
cd;
|
|
103
|
+
zone;
|
|
104
|
+
filterService;
|
|
105
|
+
config;
|
|
106
|
+
/**
|
|
107
|
+
* Unique identifier of the component
|
|
108
|
+
* @group Props
|
|
109
|
+
*/
|
|
110
|
+
id;
|
|
111
|
+
/**
|
|
112
|
+
* Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.
|
|
113
|
+
* @group Props
|
|
114
|
+
*/
|
|
115
|
+
scrollHeight = '200px';
|
|
116
|
+
/**
|
|
117
|
+
* When specified, displays an input field to filter the items on keyup.
|
|
118
|
+
* @group Props
|
|
119
|
+
*/
|
|
120
|
+
filter;
|
|
121
|
+
/**
|
|
122
|
+
* Name of the input element.
|
|
123
|
+
* @group Props
|
|
124
|
+
*/
|
|
125
|
+
name;
|
|
126
|
+
/**
|
|
127
|
+
* Inline style of the element.
|
|
128
|
+
* @group Props
|
|
129
|
+
*/
|
|
130
|
+
style;
|
|
131
|
+
/**
|
|
132
|
+
* Inline style of the overlay panel element.
|
|
133
|
+
* @group Props
|
|
134
|
+
*/
|
|
135
|
+
panelStyle;
|
|
136
|
+
/**
|
|
137
|
+
* Style class of the element.
|
|
138
|
+
* @group Props
|
|
139
|
+
*/
|
|
140
|
+
styleClass;
|
|
141
|
+
/**
|
|
142
|
+
* Style class of the overlay panel element.
|
|
143
|
+
* @group Props
|
|
144
|
+
*/
|
|
145
|
+
panelStyleClass;
|
|
146
|
+
/**
|
|
147
|
+
* When present, it specifies that the component cannot be edited.
|
|
148
|
+
* @group Props
|
|
149
|
+
*/
|
|
150
|
+
readonly;
|
|
151
|
+
/**
|
|
152
|
+
* When present, it specifies that an input field must be filled out before submitting the form.
|
|
153
|
+
* @group Props
|
|
154
|
+
*/
|
|
155
|
+
required;
|
|
156
|
+
/**
|
|
157
|
+
* When present, custom value instead of predefined options can be entered using the editable input field.
|
|
158
|
+
* @group Props
|
|
159
|
+
*/
|
|
160
|
+
editable;
|
|
161
|
+
/**
|
|
162
|
+
* 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).
|
|
163
|
+
* @group Props
|
|
164
|
+
*/
|
|
165
|
+
appendTo;
|
|
166
|
+
/**
|
|
167
|
+
* Index of the element in tabbing order.
|
|
168
|
+
* @group Props
|
|
169
|
+
*/
|
|
170
|
+
tabindex = 0;
|
|
171
|
+
/**
|
|
172
|
+
* Default text to display when no option is selected.
|
|
173
|
+
* @group Props
|
|
174
|
+
*/
|
|
175
|
+
set placeholder(val) {
|
|
176
|
+
this._placeholder.set(val);
|
|
177
|
+
}
|
|
178
|
+
get placeholder() {
|
|
179
|
+
return this._placeholder.asReadonly();
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Icon to display in loading state.
|
|
183
|
+
* @group Props
|
|
184
|
+
*/
|
|
185
|
+
loadingIcon;
|
|
186
|
+
/**
|
|
187
|
+
* Placeholder text to show when filter input is empty.
|
|
188
|
+
* @group Props
|
|
189
|
+
*/
|
|
190
|
+
filterPlaceholder;
|
|
191
|
+
/**
|
|
192
|
+
* Locale to use in filtering. The default locale is the host environment's current locale.
|
|
193
|
+
* @group Props
|
|
194
|
+
*/
|
|
195
|
+
filterLocale;
|
|
196
|
+
/**
|
|
197
|
+
* Specifies the input variant of the component.
|
|
198
|
+
* @group Props
|
|
199
|
+
*/
|
|
200
|
+
variant = 'outlined';
|
|
201
|
+
/**
|
|
202
|
+
* Identifier of the accessible input element.
|
|
203
|
+
* @group Props
|
|
204
|
+
*/
|
|
205
|
+
inputId;
|
|
206
|
+
/**
|
|
207
|
+
* A property to uniquely identify a value in options.
|
|
208
|
+
* @group Props
|
|
209
|
+
*/
|
|
210
|
+
dataKey;
|
|
211
|
+
/**
|
|
212
|
+
* When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.
|
|
213
|
+
* @group Props
|
|
214
|
+
*/
|
|
215
|
+
filterBy;
|
|
216
|
+
/**
|
|
217
|
+
* Fields used when filtering the options, defaults to optionLabel.
|
|
218
|
+
* @group Props
|
|
219
|
+
*/
|
|
220
|
+
filterFields;
|
|
221
|
+
/**
|
|
222
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
223
|
+
* @group Props
|
|
224
|
+
*/
|
|
225
|
+
autofocus;
|
|
226
|
+
/**
|
|
227
|
+
* Clears the filter value when hiding the dropdown.
|
|
228
|
+
* @group Props
|
|
229
|
+
*/
|
|
230
|
+
resetFilterOnHide = false;
|
|
231
|
+
/**
|
|
232
|
+
* Whether the selected option will be shown with a check mark.
|
|
233
|
+
* @group Props
|
|
234
|
+
*/
|
|
235
|
+
checkmark = false;
|
|
236
|
+
/**
|
|
237
|
+
* Icon class of the dropdown icon.
|
|
238
|
+
* @group Props
|
|
239
|
+
*/
|
|
240
|
+
dropdownIcon;
|
|
241
|
+
/**
|
|
242
|
+
* Whether the dropdown is in loading state.
|
|
243
|
+
* @group Props
|
|
244
|
+
*/
|
|
245
|
+
loading = false;
|
|
246
|
+
/**
|
|
247
|
+
* Name of the label field of an option.
|
|
248
|
+
* @group Props
|
|
249
|
+
*/
|
|
250
|
+
optionLabel;
|
|
251
|
+
/**
|
|
252
|
+
* Name of the value field of an option.
|
|
253
|
+
* @group Props
|
|
254
|
+
*/
|
|
255
|
+
optionValue;
|
|
256
|
+
/**
|
|
257
|
+
* Name of the disabled field of an option.
|
|
258
|
+
* @group Props
|
|
259
|
+
*/
|
|
260
|
+
optionDisabled;
|
|
261
|
+
/**
|
|
262
|
+
* Name of the label field of an option group.
|
|
263
|
+
* @group Props
|
|
264
|
+
*/
|
|
265
|
+
optionGroupLabel = 'label';
|
|
266
|
+
/**
|
|
267
|
+
* Name of the options field of an option group.
|
|
268
|
+
* @group Props
|
|
269
|
+
*/
|
|
270
|
+
optionGroupChildren = 'items';
|
|
271
|
+
/**
|
|
272
|
+
* Whether to display the first item as the label if no placeholder is defined and value is null.
|
|
273
|
+
* @deprecated since v17.3.0, set initial value by model instead.
|
|
274
|
+
* @group Props
|
|
275
|
+
*/
|
|
276
|
+
autoDisplayFirst = true;
|
|
277
|
+
/**
|
|
278
|
+
* Whether to display options as grouped when nested options are provided.
|
|
279
|
+
* @group Props
|
|
280
|
+
*/
|
|
281
|
+
group;
|
|
282
|
+
/**
|
|
283
|
+
* When enabled, a clear icon is displayed to clear the value.
|
|
284
|
+
* @group Props
|
|
285
|
+
*/
|
|
286
|
+
showClear;
|
|
287
|
+
/**
|
|
288
|
+
* Text to display when filtering does not return any results. Defaults to global value in i18n translation configuration.
|
|
289
|
+
* @group Props
|
|
290
|
+
*/
|
|
291
|
+
emptyFilterMessage = '';
|
|
292
|
+
/**
|
|
293
|
+
* Text to display when there is no data. Defaults to global value in i18n translation configuration.
|
|
294
|
+
* @group Props
|
|
295
|
+
*/
|
|
296
|
+
emptyMessage = '';
|
|
297
|
+
/**
|
|
298
|
+
* Defines if data is loaded and interacted with in lazy manner.
|
|
299
|
+
* @group Props
|
|
300
|
+
*/
|
|
301
|
+
lazy = false;
|
|
302
|
+
/**
|
|
303
|
+
* Whether the data should be loaded on demand during scroll.
|
|
304
|
+
* @group Props
|
|
305
|
+
*/
|
|
306
|
+
virtualScroll;
|
|
307
|
+
/**
|
|
308
|
+
* Height of an item in the list for VirtualScrolling.
|
|
309
|
+
* @group Props
|
|
310
|
+
*/
|
|
311
|
+
virtualScrollItemSize;
|
|
312
|
+
/**
|
|
313
|
+
* Whether to use the scroller feature. The properties of scroller component can be used like an object in it.
|
|
314
|
+
* @group Props
|
|
315
|
+
*/
|
|
316
|
+
virtualScrollOptions;
|
|
317
|
+
/**
|
|
318
|
+
* Whether to use overlay API feature. The properties of overlay API can be used like an object in it.
|
|
319
|
+
* @group Props
|
|
320
|
+
*/
|
|
321
|
+
overlayOptions;
|
|
322
|
+
/**
|
|
323
|
+
* Defines a string that labels the filter input.
|
|
324
|
+
* @group Props
|
|
325
|
+
*/
|
|
326
|
+
ariaFilterLabel;
|
|
327
|
+
/**
|
|
328
|
+
* Used to define a aria label attribute the current element.
|
|
329
|
+
* @group Props
|
|
330
|
+
*/
|
|
331
|
+
ariaLabel;
|
|
332
|
+
/**
|
|
333
|
+
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
|
334
|
+
* @group Props
|
|
335
|
+
*/
|
|
336
|
+
ariaLabelledBy;
|
|
337
|
+
/**
|
|
338
|
+
* Defines how the items are filtered.
|
|
339
|
+
* @group Props
|
|
340
|
+
*/
|
|
341
|
+
filterMatchMode = 'contains';
|
|
342
|
+
/**
|
|
343
|
+
* Maximum number of character allows in the editable input field.
|
|
344
|
+
* @group Props
|
|
345
|
+
*/
|
|
346
|
+
maxlength;
|
|
347
|
+
/**
|
|
348
|
+
* Advisory information to display in a tooltip on hover.
|
|
349
|
+
* @group Props
|
|
350
|
+
*/
|
|
351
|
+
tooltip = '';
|
|
352
|
+
/**
|
|
353
|
+
* Position of the tooltip.
|
|
354
|
+
* @group Props
|
|
355
|
+
*/
|
|
356
|
+
tooltipPosition = 'right';
|
|
357
|
+
/**
|
|
358
|
+
* Type of CSS position.
|
|
359
|
+
* @group Props
|
|
360
|
+
*/
|
|
361
|
+
tooltipPositionStyle = 'absolute';
|
|
362
|
+
/**
|
|
363
|
+
* Style class of the tooltip.
|
|
364
|
+
* @group Props
|
|
365
|
+
*/
|
|
366
|
+
tooltipStyleClass;
|
|
367
|
+
/**
|
|
368
|
+
* Fields used when filtering the options, defaults to optionLabel.
|
|
369
|
+
* @group Props
|
|
370
|
+
*/
|
|
371
|
+
focusOnHover = false;
|
|
372
|
+
/**
|
|
373
|
+
* Determines if the option will be selected on focus.
|
|
374
|
+
* @group Props
|
|
375
|
+
*/
|
|
376
|
+
selectOnFocus = false;
|
|
377
|
+
/**
|
|
378
|
+
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
|
379
|
+
* @group Props
|
|
380
|
+
*/
|
|
381
|
+
autoOptionFocus = true;
|
|
382
|
+
/**
|
|
383
|
+
* Applies focus to the filter element when the overlay is shown.
|
|
384
|
+
* @group Props
|
|
385
|
+
*/
|
|
386
|
+
autofocusFilter = true;
|
|
387
|
+
/**
|
|
388
|
+
* Determines if the panel will be shown when the input is focused and receives a character key down event.
|
|
389
|
+
* @group Props
|
|
390
|
+
*/
|
|
391
|
+
autoShowPanelOnPrintableCharacterKeyDown = true;
|
|
392
|
+
/**
|
|
393
|
+
* When present, it specifies that the component should be disabled.
|
|
394
|
+
* @group Props
|
|
395
|
+
*/
|
|
396
|
+
get disabled() {
|
|
397
|
+
return this._disabled;
|
|
398
|
+
}
|
|
399
|
+
set disabled(_disabled) {
|
|
400
|
+
if (_disabled) {
|
|
401
|
+
this.focused = false;
|
|
402
|
+
if (this.overlayVisible)
|
|
403
|
+
this.hide();
|
|
404
|
+
}
|
|
405
|
+
this._disabled = _disabled;
|
|
406
|
+
if (!this.cd.destroyed) {
|
|
407
|
+
this.cd.detectChanges();
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Item size of item to be virtual scrolled.
|
|
412
|
+
* @group Props
|
|
413
|
+
* @deprecated use virtualScrollItemSize property instead.
|
|
414
|
+
*/
|
|
415
|
+
get itemSize() {
|
|
416
|
+
return this._itemSize;
|
|
417
|
+
}
|
|
418
|
+
set itemSize(val) {
|
|
419
|
+
this._itemSize = val;
|
|
420
|
+
console.warn('The itemSize property is deprecated, use virtualScrollItemSize property instead.');
|
|
421
|
+
}
|
|
422
|
+
_itemSize;
|
|
423
|
+
/**
|
|
424
|
+
* Whether to automatically manage layering.
|
|
425
|
+
* @group Props
|
|
426
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
427
|
+
*/
|
|
428
|
+
get autoZIndex() {
|
|
429
|
+
return this._autoZIndex;
|
|
430
|
+
}
|
|
431
|
+
set autoZIndex(val) {
|
|
432
|
+
this._autoZIndex = val;
|
|
433
|
+
console.warn('The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
434
|
+
}
|
|
435
|
+
_autoZIndex;
|
|
436
|
+
/**
|
|
437
|
+
* Base zIndex value to use in layering.
|
|
438
|
+
* @group Props
|
|
439
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
440
|
+
*/
|
|
441
|
+
get baseZIndex() {
|
|
442
|
+
return this._baseZIndex;
|
|
443
|
+
}
|
|
444
|
+
set baseZIndex(val) {
|
|
445
|
+
this._baseZIndex = val;
|
|
446
|
+
console.warn('The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
447
|
+
}
|
|
448
|
+
_baseZIndex;
|
|
449
|
+
/**
|
|
450
|
+
* Transition options of the show animation.
|
|
451
|
+
* @group Props
|
|
452
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
453
|
+
*/
|
|
454
|
+
get showTransitionOptions() {
|
|
455
|
+
return this._showTransitionOptions;
|
|
456
|
+
}
|
|
457
|
+
set showTransitionOptions(val) {
|
|
458
|
+
this._showTransitionOptions = val;
|
|
459
|
+
console.warn('The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
460
|
+
}
|
|
461
|
+
_showTransitionOptions;
|
|
462
|
+
/**
|
|
463
|
+
* Transition options of the hide animation.
|
|
464
|
+
* @group Props
|
|
465
|
+
* @deprecated since v14.2.0, use overlayOptions property instead.
|
|
466
|
+
*/
|
|
467
|
+
get hideTransitionOptions() {
|
|
468
|
+
return this._hideTransitionOptions;
|
|
469
|
+
}
|
|
470
|
+
set hideTransitionOptions(val) {
|
|
471
|
+
this._hideTransitionOptions = val;
|
|
472
|
+
console.warn('The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.');
|
|
473
|
+
}
|
|
474
|
+
_hideTransitionOptions;
|
|
475
|
+
/**
|
|
476
|
+
* When specified, filter displays with this value.
|
|
477
|
+
* @group Props
|
|
478
|
+
*/
|
|
479
|
+
get filterValue() {
|
|
480
|
+
return this._filterValue();
|
|
481
|
+
}
|
|
482
|
+
set filterValue(val) {
|
|
483
|
+
setTimeout(() => {
|
|
484
|
+
this._filterValue.set(val);
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* An array of objects to display as the available options.
|
|
489
|
+
* @group Props
|
|
490
|
+
*/
|
|
491
|
+
get options() {
|
|
492
|
+
const options = this._options();
|
|
493
|
+
return options;
|
|
494
|
+
}
|
|
495
|
+
set options(val) {
|
|
496
|
+
if (!ObjectUtils.deepEquals(val, this._options())) {
|
|
497
|
+
this._options.set(val);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Callback to invoke when value of dropdown changes.
|
|
502
|
+
* @param {DropdownChangeEvent} event - custom change event.
|
|
503
|
+
* @group Emits
|
|
504
|
+
*/
|
|
505
|
+
onChange = new EventEmitter();
|
|
506
|
+
/**
|
|
507
|
+
* Callback to invoke when data is filtered.
|
|
508
|
+
* @param {DropdownFilterEvent} event - custom filter event.
|
|
509
|
+
* @group Emits
|
|
510
|
+
*/
|
|
511
|
+
onFilter = new EventEmitter();
|
|
512
|
+
/**
|
|
513
|
+
* Callback to invoke when dropdown gets focus.
|
|
514
|
+
* @param {Event} event - Browser event.
|
|
515
|
+
* @group Emits
|
|
516
|
+
*/
|
|
517
|
+
onFocus = new EventEmitter();
|
|
518
|
+
/**
|
|
519
|
+
* Callback to invoke when dropdown loses focus.
|
|
520
|
+
* @param {Event} event - Browser event.
|
|
521
|
+
* @group Emits
|
|
522
|
+
*/
|
|
523
|
+
onBlur = new EventEmitter();
|
|
524
|
+
/**
|
|
525
|
+
* Callback to invoke when component is clicked.
|
|
526
|
+
* @param {MouseEvent} event - Mouse event.
|
|
527
|
+
* @group Emits
|
|
528
|
+
*/
|
|
529
|
+
onClick = new EventEmitter();
|
|
530
|
+
/**
|
|
531
|
+
* Callback to invoke when dropdown overlay gets visible.
|
|
532
|
+
* @param {AnimationEvent} event - Animation event.
|
|
533
|
+
* @group Emits
|
|
534
|
+
*/
|
|
535
|
+
onShow = new EventEmitter();
|
|
536
|
+
/**
|
|
537
|
+
* Callback to invoke when dropdown overlay gets hidden.
|
|
538
|
+
* @param {AnimationEvent} event - Animation event.
|
|
539
|
+
* @group Emits
|
|
540
|
+
*/
|
|
541
|
+
onHide = new EventEmitter();
|
|
542
|
+
/**
|
|
543
|
+
* Callback to invoke when dropdown clears the value.
|
|
544
|
+
* @param {Event} event - Browser event.
|
|
545
|
+
* @group Emits
|
|
546
|
+
*/
|
|
547
|
+
onClear = new EventEmitter();
|
|
548
|
+
/**
|
|
549
|
+
* Callback to invoke in lazy mode to load new data.
|
|
550
|
+
* @param {DropdownLazyLoadEvent} event - Lazy load event.
|
|
551
|
+
* @group Emits
|
|
552
|
+
*/
|
|
553
|
+
onLazyLoad = new EventEmitter();
|
|
554
|
+
containerViewChild;
|
|
555
|
+
filterViewChild;
|
|
556
|
+
focusInputViewChild;
|
|
557
|
+
editableInputViewChild;
|
|
558
|
+
itemsViewChild;
|
|
559
|
+
scroller;
|
|
560
|
+
overlayViewChild;
|
|
561
|
+
firstHiddenFocusableElementOnOverlay;
|
|
562
|
+
lastHiddenFocusableElementOnOverlay;
|
|
563
|
+
templates;
|
|
564
|
+
_disabled;
|
|
565
|
+
itemsWrapper;
|
|
566
|
+
itemTemplate;
|
|
567
|
+
groupTemplate;
|
|
568
|
+
loaderTemplate;
|
|
569
|
+
selectedItemTemplate;
|
|
570
|
+
headerTemplate;
|
|
571
|
+
filterTemplate;
|
|
572
|
+
footerTemplate;
|
|
573
|
+
emptyFilterTemplate;
|
|
574
|
+
emptyTemplate;
|
|
575
|
+
dropdownIconTemplate;
|
|
576
|
+
loadingIconTemplate;
|
|
577
|
+
clearIconTemplate;
|
|
578
|
+
filterIconTemplate;
|
|
579
|
+
filterOptions;
|
|
580
|
+
_options = signal(null);
|
|
581
|
+
_placeholder = signal(undefined);
|
|
582
|
+
modelValue = signal(null);
|
|
583
|
+
value;
|
|
584
|
+
onModelChange = () => { };
|
|
585
|
+
onModelTouched = () => { };
|
|
586
|
+
hover;
|
|
587
|
+
focused;
|
|
588
|
+
overlayVisible;
|
|
589
|
+
optionsChanged;
|
|
590
|
+
panel;
|
|
591
|
+
dimensionsUpdated;
|
|
592
|
+
hoveredItem;
|
|
593
|
+
selectedOptionUpdated;
|
|
594
|
+
_filterValue = signal(null);
|
|
595
|
+
searchValue;
|
|
596
|
+
searchIndex;
|
|
597
|
+
searchTimeout;
|
|
598
|
+
previousSearchChar;
|
|
599
|
+
currentSearchChar;
|
|
600
|
+
preventModelTouched;
|
|
601
|
+
focusedOptionIndex = signal(-1);
|
|
602
|
+
labelId;
|
|
603
|
+
listId;
|
|
604
|
+
clicked = signal(false);
|
|
605
|
+
get emptyMessageLabel() {
|
|
606
|
+
return this.emptyMessage || this.config.getTranslation(TranslationKeys.EMPTY_MESSAGE);
|
|
607
|
+
}
|
|
608
|
+
get emptyFilterMessageLabel() {
|
|
609
|
+
return this.emptyFilterMessage || this.config.getTranslation(TranslationKeys.EMPTY_FILTER_MESSAGE);
|
|
610
|
+
}
|
|
611
|
+
get isVisibleClearIcon() {
|
|
612
|
+
return this.modelValue() != null && this.hasSelectedOption() && this.showClear && !this.disabled;
|
|
613
|
+
}
|
|
614
|
+
get listLabel() {
|
|
615
|
+
return this.config.getTranslation(TranslationKeys.ARIA)['listLabel'];
|
|
616
|
+
}
|
|
617
|
+
get containerClass() {
|
|
618
|
+
return {
|
|
619
|
+
'cax-dropdown cax-component cax-inputwrapper': true,
|
|
620
|
+
'cax-disabled': this.disabled,
|
|
621
|
+
'cax-dropdown-clearable': this.showClear && !this.disabled,
|
|
622
|
+
'cax-focus': this.focused,
|
|
623
|
+
'cax-inputwrapper-filled': this.modelValue() !== undefined && this.modelValue() !== null && !this.modelValue().length,
|
|
624
|
+
'cax-inputwrapper-focus': this.focused || this.overlayVisible,
|
|
625
|
+
'cax-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled',
|
|
626
|
+
'cax-dropdown-open': this.overlayVisible
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
get inputClass() {
|
|
630
|
+
const label = this.label();
|
|
631
|
+
return {
|
|
632
|
+
'cax-dropdown-label cax-inputtext': true,
|
|
633
|
+
'cax-placeholder': this.placeholder() && label === this.placeholder(),
|
|
634
|
+
'cax-dropdown-label-empty': !this.editable && !this.selectedItemTemplate && (label === undefined || label === null || label === 'cax-emptylabel' || label.length === 0)
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
get panelClass() {
|
|
638
|
+
return {
|
|
639
|
+
'cax-dropdown-panel cax-component': true,
|
|
640
|
+
'cax-input-filled': this.config.inputStyle() === 'filled',
|
|
641
|
+
'cax-ripple-disabled': this.config.ripple === false
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
get focusedOptionId() {
|
|
645
|
+
return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;
|
|
646
|
+
}
|
|
647
|
+
visibleOptions = computed(() => {
|
|
648
|
+
const options = this.getAllVisibleAndNonVisibleOptions();
|
|
649
|
+
if (this._filterValue()) {
|
|
650
|
+
const _filterBy = this.filterBy || this.optionLabel;
|
|
651
|
+
const filteredOptions = !_filterBy && !this.filterFields && !this.optionValue
|
|
652
|
+
? this.options.filter((option) => {
|
|
653
|
+
if (option.label) {
|
|
654
|
+
return option.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1;
|
|
655
|
+
}
|
|
656
|
+
return option.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim()) !== -1;
|
|
657
|
+
})
|
|
658
|
+
: this.filterService.filter(options, this.searchFields(), this._filterValue().trim(), this.filterMatchMode, this.filterLocale);
|
|
659
|
+
if (this.group) {
|
|
660
|
+
const optionGroups = this.options || [];
|
|
661
|
+
const filtered = [];
|
|
662
|
+
optionGroups.forEach((group) => {
|
|
663
|
+
const groupChildren = this.getOptionGroupChildren(group);
|
|
664
|
+
const filteredItems = groupChildren.filter((item) => filteredOptions.includes(item));
|
|
665
|
+
if (filteredItems.length > 0)
|
|
666
|
+
filtered.push({ ...group, [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems] });
|
|
667
|
+
});
|
|
668
|
+
return this.flatOptions(filtered);
|
|
669
|
+
}
|
|
670
|
+
return filteredOptions;
|
|
671
|
+
}
|
|
672
|
+
return options;
|
|
673
|
+
});
|
|
674
|
+
label = computed(() => {
|
|
675
|
+
// use getAllVisibleAndNonVisibleOptions verses just visible options
|
|
676
|
+
// this will find the selected option whether or not the user is currently filtering because the filtered (i.e. visible) options, are a subset of all the options
|
|
677
|
+
const options = this.getAllVisibleAndNonVisibleOptions();
|
|
678
|
+
// use isOptionEqualsModelValue for the use case where the dropdown is initalized with a disabled option
|
|
679
|
+
const selectedOptionIndex = options.findIndex((option) => this.isOptionValueEqualsModelValue(option));
|
|
680
|
+
return selectedOptionIndex !== -1 ? this.getOptionLabel(options[selectedOptionIndex]) : this.placeholder() || 'cax-emptylabel';
|
|
681
|
+
});
|
|
682
|
+
filled = computed(() => {
|
|
683
|
+
if (typeof this.modelValue() === 'string')
|
|
684
|
+
return !!this.modelValue();
|
|
685
|
+
return this.label() !== 'cax-emptylabel' && this.modelValue() !== undefined && this.modelValue() !== null;
|
|
686
|
+
});
|
|
687
|
+
selectedOption;
|
|
688
|
+
editableInputValue = computed(() => this.getOptionLabel(this.selectedOption) || this.modelValue() || '');
|
|
689
|
+
constructor(el, renderer, cd, zone, filterService, config) {
|
|
690
|
+
this.el = el;
|
|
691
|
+
this.renderer = renderer;
|
|
692
|
+
this.cd = cd;
|
|
693
|
+
this.zone = zone;
|
|
694
|
+
this.filterService = filterService;
|
|
695
|
+
this.config = config;
|
|
696
|
+
effect(() => {
|
|
697
|
+
const modelValue = this.modelValue();
|
|
698
|
+
const visibleOptions = this.visibleOptions();
|
|
699
|
+
if (visibleOptions && ObjectUtils.isNotEmpty(visibleOptions)) {
|
|
700
|
+
const selectedOptionIndex = this.findSelectedOptionIndex();
|
|
701
|
+
if (selectedOptionIndex !== -1 || modelValue === undefined || (typeof modelValue === 'string' && modelValue.length === 0) || this.isModelValueNotSet() || this.editable) {
|
|
702
|
+
this.selectedOption = visibleOptions[selectedOptionIndex];
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
if (ObjectUtils.isEmpty(visibleOptions) && (modelValue === undefined || this.isModelValueNotSet()) && ObjectUtils.isNotEmpty(this.selectedOption)) {
|
|
706
|
+
this.selectedOption = null;
|
|
707
|
+
}
|
|
708
|
+
if (modelValue !== undefined && this.editable) {
|
|
709
|
+
this.updateEditableLabel();
|
|
710
|
+
}
|
|
711
|
+
this.cd.markForCheck();
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
isModelValueNotSet() {
|
|
715
|
+
return this.modelValue() === null && !this.isOptionValueEqualsModelValue(this.selectedOption);
|
|
716
|
+
}
|
|
717
|
+
getAllVisibleAndNonVisibleOptions() {
|
|
718
|
+
return this.group ? this.flatOptions(this.options) : this.options || [];
|
|
719
|
+
}
|
|
720
|
+
ngOnInit() {
|
|
721
|
+
this.id = this.id || UniqueComponentId();
|
|
722
|
+
this.autoUpdateModel();
|
|
723
|
+
if (this.filterBy) {
|
|
724
|
+
this.filterOptions = {
|
|
725
|
+
filter: (value) => this.onFilterInputChange(value),
|
|
726
|
+
reset: () => this.resetFilter()
|
|
727
|
+
};
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
ngAfterViewChecked() {
|
|
731
|
+
if (this.optionsChanged && this.overlayVisible) {
|
|
732
|
+
this.optionsChanged = false;
|
|
733
|
+
this.zone.runOutsideAngular(() => {
|
|
734
|
+
setTimeout(() => {
|
|
735
|
+
if (this.overlayViewChild) {
|
|
736
|
+
this.overlayViewChild.alignOverlay();
|
|
737
|
+
}
|
|
738
|
+
}, 1);
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
if (this.selectedOptionUpdated && this.itemsWrapper) {
|
|
742
|
+
let selectedItem = DomHandler.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, 'li.cax-highlight');
|
|
743
|
+
if (selectedItem) {
|
|
744
|
+
DomHandler.scrollInView(this.itemsWrapper, selectedItem);
|
|
745
|
+
}
|
|
746
|
+
this.selectedOptionUpdated = false;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
ngAfterContentInit() {
|
|
750
|
+
this.templates.forEach((item) => {
|
|
751
|
+
switch (item.getType()) {
|
|
752
|
+
case 'item':
|
|
753
|
+
this.itemTemplate = item.template;
|
|
754
|
+
break;
|
|
755
|
+
case 'selectedItem':
|
|
756
|
+
this.selectedItemTemplate = item.template;
|
|
757
|
+
break;
|
|
758
|
+
case 'header':
|
|
759
|
+
this.headerTemplate = item.template;
|
|
760
|
+
break;
|
|
761
|
+
case 'filter':
|
|
762
|
+
this.filterTemplate = item.template;
|
|
763
|
+
break;
|
|
764
|
+
case 'footer':
|
|
765
|
+
this.footerTemplate = item.template;
|
|
766
|
+
break;
|
|
767
|
+
case 'emptyfilter':
|
|
768
|
+
this.emptyFilterTemplate = item.template;
|
|
769
|
+
break;
|
|
770
|
+
case 'empty':
|
|
771
|
+
this.emptyTemplate = item.template;
|
|
772
|
+
break;
|
|
773
|
+
case 'group':
|
|
774
|
+
this.groupTemplate = item.template;
|
|
775
|
+
break;
|
|
776
|
+
case 'loader':
|
|
777
|
+
this.loaderTemplate = item.template;
|
|
778
|
+
break;
|
|
779
|
+
case 'dropdownicon':
|
|
780
|
+
this.dropdownIconTemplate = item.template;
|
|
781
|
+
break;
|
|
782
|
+
case 'loadingicon':
|
|
783
|
+
this.loadingIconTemplate = item.template;
|
|
784
|
+
break;
|
|
785
|
+
case 'clearicon':
|
|
786
|
+
this.clearIconTemplate = item.template;
|
|
787
|
+
break;
|
|
788
|
+
case 'filtericon':
|
|
789
|
+
this.filterIconTemplate = item.template;
|
|
790
|
+
break;
|
|
791
|
+
default:
|
|
792
|
+
this.itemTemplate = item.template;
|
|
793
|
+
break;
|
|
794
|
+
}
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
flatOptions(options) {
|
|
798
|
+
return (options || []).reduce((result, option, index) => {
|
|
799
|
+
result.push({ optionGroup: option, group: true, index });
|
|
800
|
+
const optionGroupChildren = this.getOptionGroupChildren(option);
|
|
801
|
+
optionGroupChildren && optionGroupChildren.forEach((o) => result.push(o));
|
|
802
|
+
return result;
|
|
803
|
+
}, []);
|
|
804
|
+
}
|
|
805
|
+
autoUpdateModel() {
|
|
806
|
+
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption()) {
|
|
807
|
+
this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());
|
|
808
|
+
this.onOptionSelect(null, this.visibleOptions()[this.focusedOptionIndex()], false);
|
|
809
|
+
}
|
|
810
|
+
if (this.autoDisplayFirst && (this.modelValue() === null || this.modelValue() === undefined)) {
|
|
811
|
+
if (!this.placeholder()) {
|
|
812
|
+
const ind = this.findFirstOptionIndex();
|
|
813
|
+
this.onOptionSelect(null, this.visibleOptions()[ind], false, true);
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
onOptionSelect(event, option, isHide = true, preventChange = false) {
|
|
818
|
+
if (!this.isSelected(option)) {
|
|
819
|
+
const value = this.getOptionValue(option);
|
|
820
|
+
this.updateModel(value, event);
|
|
821
|
+
this.focusedOptionIndex.set(this.findSelectedOptionIndex());
|
|
822
|
+
preventChange === false && this.onChange.emit({ originalEvent: event, value: value });
|
|
823
|
+
}
|
|
824
|
+
if (isHide) {
|
|
825
|
+
this.hide(true);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
onOptionMouseEnter(event, index) {
|
|
829
|
+
if (this.focusOnHover) {
|
|
830
|
+
this.changeFocusedOptionIndex(event, index);
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
updateModel(value, event) {
|
|
834
|
+
this.value = value;
|
|
835
|
+
this.onModelChange(value);
|
|
836
|
+
this.modelValue.set(value);
|
|
837
|
+
this.selectedOptionUpdated = true;
|
|
838
|
+
}
|
|
839
|
+
writeValue(value) {
|
|
840
|
+
if (this.filter) {
|
|
841
|
+
this.resetFilter();
|
|
842
|
+
}
|
|
843
|
+
this.value = value;
|
|
844
|
+
this.allowModelChange() && this.onModelChange(value);
|
|
845
|
+
this.modelValue.set(this.value);
|
|
846
|
+
this.updateEditableLabel();
|
|
847
|
+
this.cd.markForCheck();
|
|
848
|
+
}
|
|
849
|
+
allowModelChange() {
|
|
850
|
+
return this.autoDisplayFirst && !this.placeholder() && (this.modelValue() === undefined || this.modelValue() === null) && !this.editable && this.options && this.options.length;
|
|
851
|
+
}
|
|
852
|
+
isSelectedOptionEmpty() {
|
|
853
|
+
return ObjectUtils.isEmpty(this.selectedOption);
|
|
854
|
+
}
|
|
855
|
+
isSelected(option) {
|
|
856
|
+
return this.isValidOption(option) && this.isOptionValueEqualsModelValue(option);
|
|
857
|
+
}
|
|
858
|
+
isOptionValueEqualsModelValue(option) {
|
|
859
|
+
return ObjectUtils.equals(this.modelValue(), this.getOptionValue(option), this.equalityKey());
|
|
860
|
+
}
|
|
861
|
+
ngAfterViewInit() {
|
|
862
|
+
if (this.editable) {
|
|
863
|
+
this.updateEditableLabel();
|
|
864
|
+
}
|
|
865
|
+
this.updatePlaceHolderForFloatingLabel();
|
|
866
|
+
}
|
|
867
|
+
updatePlaceHolderForFloatingLabel() {
|
|
868
|
+
if (this._placeholder() !== null && this._placeholder() !== undefined) {
|
|
869
|
+
// We don't want to overwrite the placeholder if it's already set
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
872
|
+
const parentElement = this.el.nativeElement.parentElement;
|
|
873
|
+
const isInFloatingLabel = parentElement?.classList.contains('cax-float-label');
|
|
874
|
+
if (parentElement && isInFloatingLabel && !this.selectedOption) {
|
|
875
|
+
const label = parentElement.querySelector('label');
|
|
876
|
+
if (label) {
|
|
877
|
+
this._placeholder.set(label.textContent);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
updateEditableLabel() {
|
|
882
|
+
if (this.editableInputViewChild) {
|
|
883
|
+
this.editableInputViewChild.nativeElement.value = this.getOptionLabel(this.selectedOption) || this.modelValue() || '';
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
clearEditableLabel() {
|
|
887
|
+
if (this.editableInputViewChild) {
|
|
888
|
+
this.editableInputViewChild.nativeElement.value = '';
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
getOptionIndex(index, scrollerOptions) {
|
|
892
|
+
return this.virtualScrollerDisabled ? index : scrollerOptions && scrollerOptions.getItemOptions(index)['index'];
|
|
893
|
+
}
|
|
894
|
+
getOptionLabel(option) {
|
|
895
|
+
return this.optionLabel !== undefined && this.optionLabel !== null ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option && option.label !== undefined ? option.label : option;
|
|
896
|
+
}
|
|
897
|
+
getOptionValue(option) {
|
|
898
|
+
return this.optionValue && this.optionValue !== null ? ObjectUtils.resolveFieldData(option, this.optionValue) : !this.optionLabel && option && option.value !== undefined ? option.value : option;
|
|
899
|
+
}
|
|
900
|
+
isOptionDisabled(option) {
|
|
901
|
+
if (this.getOptionValue(this.modelValue()) === this.getOptionValue(option) || (this.getOptionLabel(this.modelValue() === this.getOptionLabel(option)) && option.disabled === false)) {
|
|
902
|
+
return false;
|
|
903
|
+
}
|
|
904
|
+
else {
|
|
905
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : option && option.disabled !== undefined ? option.disabled : false;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
getOptionGroupLabel(optionGroup) {
|
|
909
|
+
return this.optionGroupLabel !== undefined && this.optionGroupLabel !== null ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel) : optionGroup && optionGroup.label !== undefined ? optionGroup.label : optionGroup;
|
|
910
|
+
}
|
|
911
|
+
getOptionGroupChildren(optionGroup) {
|
|
912
|
+
return this.optionGroupChildren !== undefined && this.optionGroupChildren !== null ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;
|
|
913
|
+
}
|
|
914
|
+
getAriaPosInset(index) {
|
|
915
|
+
return ((this.optionGroupLabel
|
|
916
|
+
? index -
|
|
917
|
+
this.visibleOptions()
|
|
918
|
+
.slice(0, index)
|
|
919
|
+
.filter((option) => this.isOptionGroup(option)).length
|
|
920
|
+
: index) + 1);
|
|
921
|
+
}
|
|
922
|
+
get ariaSetSize() {
|
|
923
|
+
return this.visibleOptions().filter((option) => !this.isOptionGroup(option)).length;
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
* Callback to invoke on filter reset.
|
|
927
|
+
* @group Method
|
|
928
|
+
*/
|
|
929
|
+
resetFilter() {
|
|
930
|
+
this._filterValue.set(null);
|
|
931
|
+
if (this.filterViewChild && this.filterViewChild.nativeElement) {
|
|
932
|
+
this.filterViewChild.nativeElement.value = '';
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
registerOnChange(fn) {
|
|
936
|
+
this.onModelChange = fn;
|
|
937
|
+
}
|
|
938
|
+
registerOnTouched(fn) {
|
|
939
|
+
this.onModelTouched = fn;
|
|
940
|
+
}
|
|
941
|
+
setDisabledState(val) {
|
|
942
|
+
this.disabled = val;
|
|
943
|
+
this.cd.markForCheck();
|
|
944
|
+
}
|
|
945
|
+
onContainerClick(event) {
|
|
946
|
+
if (this.disabled || this.readonly || this.loading) {
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
949
|
+
this.focusInputViewChild?.nativeElement.focus({ preventScroll: true });
|
|
950
|
+
if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.closest('[data-pc-section="clearicon"]')) {
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
else if (!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(event.target)) {
|
|
954
|
+
this.overlayVisible ? this.hide(true) : this.show(true);
|
|
955
|
+
}
|
|
956
|
+
this.onClick.emit(event);
|
|
957
|
+
this.clicked.set(true);
|
|
958
|
+
this.cd.detectChanges();
|
|
959
|
+
}
|
|
960
|
+
isEmpty() {
|
|
961
|
+
return !this._options() || (this.visibleOptions() && this.visibleOptions().length === 0);
|
|
962
|
+
}
|
|
963
|
+
onEditableInput(event) {
|
|
964
|
+
const value = event.target.value;
|
|
965
|
+
this.searchValue = '';
|
|
966
|
+
const matched = this.searchOptions(event, value);
|
|
967
|
+
!matched && this.focusedOptionIndex.set(-1);
|
|
968
|
+
this.onModelChange(value);
|
|
969
|
+
this.updateModel(value, event);
|
|
970
|
+
setTimeout(() => {
|
|
971
|
+
this.onChange.emit({ originalEvent: event, value: value });
|
|
972
|
+
}, 1);
|
|
973
|
+
!this.overlayVisible && ObjectUtils.isNotEmpty(value) && this.show();
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* Displays the panel.
|
|
977
|
+
* @group Method
|
|
978
|
+
*/
|
|
979
|
+
show(isFocus) {
|
|
980
|
+
this.overlayVisible = true;
|
|
981
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex();
|
|
982
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
983
|
+
if (isFocus) {
|
|
984
|
+
DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
985
|
+
}
|
|
986
|
+
this.cd.markForCheck();
|
|
987
|
+
}
|
|
988
|
+
onOverlayAnimationStart(event) {
|
|
989
|
+
if (event.toState === 'visible') {
|
|
990
|
+
this.itemsWrapper = DomHandler.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.cax-scroller' : '.cax-dropdown-items-wrapper');
|
|
991
|
+
this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
|
|
992
|
+
if (this.options && this.options.length) {
|
|
993
|
+
if (this.virtualScroll) {
|
|
994
|
+
const selectedIndex = this.modelValue() ? this.focusedOptionIndex() : -1;
|
|
995
|
+
if (selectedIndex !== -1) {
|
|
996
|
+
this.scroller?.scrollToIndex(selectedIndex);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
else {
|
|
1000
|
+
let selectedListItem = DomHandler.findSingle(this.itemsWrapper, '.cax-dropdown-item.cax-highlight');
|
|
1001
|
+
if (selectedListItem) {
|
|
1002
|
+
selectedListItem.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
if (this.filterViewChild && this.filterViewChild.nativeElement) {
|
|
1007
|
+
this.preventModelTouched = true;
|
|
1008
|
+
if (this.autofocusFilter && !this.editable) {
|
|
1009
|
+
this.filterViewChild.nativeElement.focus();
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
this.onShow.emit(event);
|
|
1013
|
+
}
|
|
1014
|
+
if (event.toState === 'void') {
|
|
1015
|
+
this.itemsWrapper = null;
|
|
1016
|
+
this.onModelTouched();
|
|
1017
|
+
this.onHide.emit(event);
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Hides the panel.
|
|
1022
|
+
* @group Method
|
|
1023
|
+
*/
|
|
1024
|
+
hide(isFocus) {
|
|
1025
|
+
this.overlayVisible = false;
|
|
1026
|
+
this.focusedOptionIndex.set(-1);
|
|
1027
|
+
this.clicked.set(false);
|
|
1028
|
+
this.searchValue = '';
|
|
1029
|
+
if (this.overlayOptions?.mode === 'modal') {
|
|
1030
|
+
DomHandler.unblockBodyScroll();
|
|
1031
|
+
}
|
|
1032
|
+
if (this.filter && this.resetFilterOnHide) {
|
|
1033
|
+
this.resetFilter();
|
|
1034
|
+
}
|
|
1035
|
+
if (isFocus) {
|
|
1036
|
+
if (this.focusInputViewChild) {
|
|
1037
|
+
setTimeout(() => {
|
|
1038
|
+
DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
if (this.editable && this.editableInputViewChild) {
|
|
1042
|
+
setTimeout(() => {
|
|
1043
|
+
DomHandler.focus(this.editableInputViewChild?.nativeElement);
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
this.cd.markForCheck();
|
|
1048
|
+
}
|
|
1049
|
+
onInputFocus(event) {
|
|
1050
|
+
if (this.disabled) {
|
|
1051
|
+
// For ScreenReaders
|
|
1052
|
+
return;
|
|
1053
|
+
}
|
|
1054
|
+
this.focused = true;
|
|
1055
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
|
|
1056
|
+
this.focusedOptionIndex.set(focusedOptionIndex);
|
|
1057
|
+
this.overlayVisible && this.scrollInView(this.focusedOptionIndex());
|
|
1058
|
+
this.onFocus.emit(event);
|
|
1059
|
+
}
|
|
1060
|
+
onInputBlur(event) {
|
|
1061
|
+
this.focused = false;
|
|
1062
|
+
this.onBlur.emit(event);
|
|
1063
|
+
if (!this.preventModelTouched) {
|
|
1064
|
+
this.onModelTouched();
|
|
1065
|
+
}
|
|
1066
|
+
this.preventModelTouched = false;
|
|
1067
|
+
}
|
|
1068
|
+
onMouseDown(event) {
|
|
1069
|
+
event.preventDefault();
|
|
1070
|
+
}
|
|
1071
|
+
onKeyDown(event, search) {
|
|
1072
|
+
if (this.disabled || this.readonly || this.loading) {
|
|
1073
|
+
return;
|
|
1074
|
+
}
|
|
1075
|
+
switch (event.code) {
|
|
1076
|
+
//down
|
|
1077
|
+
case 'ArrowDown':
|
|
1078
|
+
this.onArrowDownKey(event);
|
|
1079
|
+
break;
|
|
1080
|
+
//up
|
|
1081
|
+
case 'ArrowUp':
|
|
1082
|
+
this.onArrowUpKey(event, this.editable);
|
|
1083
|
+
break;
|
|
1084
|
+
case 'ArrowLeft':
|
|
1085
|
+
case 'ArrowRight':
|
|
1086
|
+
this.onArrowLeftKey(event, this.editable);
|
|
1087
|
+
break;
|
|
1088
|
+
case 'Delete':
|
|
1089
|
+
this.onDeleteKey(event);
|
|
1090
|
+
break;
|
|
1091
|
+
case 'Home':
|
|
1092
|
+
this.onHomeKey(event, this.editable);
|
|
1093
|
+
break;
|
|
1094
|
+
case 'End':
|
|
1095
|
+
this.onEndKey(event, this.editable);
|
|
1096
|
+
break;
|
|
1097
|
+
case 'PageDown':
|
|
1098
|
+
this.onPageDownKey(event);
|
|
1099
|
+
break;
|
|
1100
|
+
case 'PageUp':
|
|
1101
|
+
this.onPageUpKey(event);
|
|
1102
|
+
break;
|
|
1103
|
+
//space
|
|
1104
|
+
case 'Space':
|
|
1105
|
+
this.onSpaceKey(event, search);
|
|
1106
|
+
break;
|
|
1107
|
+
//enter
|
|
1108
|
+
case 'Enter':
|
|
1109
|
+
case 'NumpadEnter':
|
|
1110
|
+
this.onEnterKey(event);
|
|
1111
|
+
break;
|
|
1112
|
+
//escape and tab
|
|
1113
|
+
case 'Escape':
|
|
1114
|
+
this.onEscapeKey(event);
|
|
1115
|
+
break;
|
|
1116
|
+
case 'Tab':
|
|
1117
|
+
this.onTabKey(event);
|
|
1118
|
+
break;
|
|
1119
|
+
case 'Backspace':
|
|
1120
|
+
this.onBackspaceKey(event, this.editable);
|
|
1121
|
+
break;
|
|
1122
|
+
case 'ShiftLeft':
|
|
1123
|
+
case 'ShiftRight':
|
|
1124
|
+
//NOOP
|
|
1125
|
+
break;
|
|
1126
|
+
default:
|
|
1127
|
+
if (!event.metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
|
|
1128
|
+
!this.overlayVisible && this.autoShowPanelOnPrintableCharacterKeyDown && this.show();
|
|
1129
|
+
!this.editable && this.searchOptions(event, event.key);
|
|
1130
|
+
}
|
|
1131
|
+
break;
|
|
1132
|
+
}
|
|
1133
|
+
this.clicked.set(false);
|
|
1134
|
+
}
|
|
1135
|
+
onFilterKeyDown(event) {
|
|
1136
|
+
switch (event.code) {
|
|
1137
|
+
case 'ArrowDown':
|
|
1138
|
+
this.onArrowDownKey(event);
|
|
1139
|
+
break;
|
|
1140
|
+
case 'ArrowUp':
|
|
1141
|
+
this.onArrowUpKey(event, true);
|
|
1142
|
+
break;
|
|
1143
|
+
case 'ArrowLeft':
|
|
1144
|
+
case 'ArrowRight':
|
|
1145
|
+
this.onArrowLeftKey(event, true);
|
|
1146
|
+
break;
|
|
1147
|
+
case 'Home':
|
|
1148
|
+
this.onHomeKey(event, true);
|
|
1149
|
+
break;
|
|
1150
|
+
case 'End':
|
|
1151
|
+
this.onEndKey(event, true);
|
|
1152
|
+
break;
|
|
1153
|
+
case 'Enter':
|
|
1154
|
+
case 'NumpadEnter':
|
|
1155
|
+
this.onEnterKey(event, true);
|
|
1156
|
+
break;
|
|
1157
|
+
case 'Escape':
|
|
1158
|
+
this.onEscapeKey(event);
|
|
1159
|
+
break;
|
|
1160
|
+
case 'Tab':
|
|
1161
|
+
this.onTabKey(event, true);
|
|
1162
|
+
break;
|
|
1163
|
+
default:
|
|
1164
|
+
break;
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
onFilterBlur(event) {
|
|
1168
|
+
this.focusedOptionIndex.set(-1);
|
|
1169
|
+
}
|
|
1170
|
+
onArrowDownKey(event) {
|
|
1171
|
+
if (!this.overlayVisible) {
|
|
1172
|
+
this.show();
|
|
1173
|
+
this.editable && this.changeFocusedOptionIndex(event, this.findSelectedOptionIndex());
|
|
1174
|
+
}
|
|
1175
|
+
else {
|
|
1176
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
|
|
1177
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1178
|
+
}
|
|
1179
|
+
// const optionIndex = this.focusedOptionIndex() !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex()) : this.findFirstFocusedOptionIndex();
|
|
1180
|
+
// this.changeFocusedOptionIndex(event, optionIndex);
|
|
1181
|
+
// !this.overlayVisible && this.show();
|
|
1182
|
+
event.preventDefault();
|
|
1183
|
+
event.stopPropagation();
|
|
1184
|
+
}
|
|
1185
|
+
changeFocusedOptionIndex(event, index) {
|
|
1186
|
+
if (this.focusedOptionIndex() !== index) {
|
|
1187
|
+
this.focusedOptionIndex.set(index);
|
|
1188
|
+
this.scrollInView();
|
|
1189
|
+
if (this.selectOnFocus) {
|
|
1190
|
+
const option = this.visibleOptions()[index];
|
|
1191
|
+
this.onOptionSelect(event, option, false);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
get virtualScrollerDisabled() {
|
|
1196
|
+
return !this.virtualScroll;
|
|
1197
|
+
}
|
|
1198
|
+
scrollInView(index = -1) {
|
|
1199
|
+
const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;
|
|
1200
|
+
if (this.itemsViewChild && this.itemsViewChild.nativeElement) {
|
|
1201
|
+
const element = DomHandler.findSingle(this.itemsViewChild.nativeElement, `li[id="${id}"]`);
|
|
1202
|
+
if (element) {
|
|
1203
|
+
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
1204
|
+
}
|
|
1205
|
+
else if (!this.virtualScrollerDisabled) {
|
|
1206
|
+
setTimeout(() => {
|
|
1207
|
+
this.virtualScroll && this.scroller?.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex());
|
|
1208
|
+
}, 0);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
hasSelectedOption() {
|
|
1213
|
+
return this.modelValue() !== undefined;
|
|
1214
|
+
}
|
|
1215
|
+
isValidSelectedOption(option) {
|
|
1216
|
+
return this.isValidOption(option) && this.isSelected(option);
|
|
1217
|
+
}
|
|
1218
|
+
equalityKey() {
|
|
1219
|
+
return this.optionValue ? null : this.dataKey;
|
|
1220
|
+
}
|
|
1221
|
+
findFirstFocusedOptionIndex() {
|
|
1222
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
1223
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
1224
|
+
}
|
|
1225
|
+
findFirstOptionIndex() {
|
|
1226
|
+
return this.visibleOptions().findIndex((option) => this.isValidOption(option));
|
|
1227
|
+
}
|
|
1228
|
+
findSelectedOptionIndex() {
|
|
1229
|
+
return this.hasSelectedOption() ? this.visibleOptions().findIndex((option) => this.isValidSelectedOption(option)) : -1;
|
|
1230
|
+
}
|
|
1231
|
+
findNextOptionIndex(index) {
|
|
1232
|
+
const matchedOptionIndex = index < this.visibleOptions().length - 1
|
|
1233
|
+
? this.visibleOptions()
|
|
1234
|
+
.slice(index + 1)
|
|
1235
|
+
.findIndex((option) => this.isValidOption(option))
|
|
1236
|
+
: -1;
|
|
1237
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
1238
|
+
}
|
|
1239
|
+
findPrevOptionIndex(index) {
|
|
1240
|
+
const matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions().slice(0, index), (option) => this.isValidOption(option)) : -1;
|
|
1241
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
1242
|
+
}
|
|
1243
|
+
findLastOptionIndex() {
|
|
1244
|
+
return ObjectUtils.findLastIndex(this.visibleOptions(), (option) => this.isValidOption(option));
|
|
1245
|
+
}
|
|
1246
|
+
findLastFocusedOptionIndex() {
|
|
1247
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
1248
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
1249
|
+
}
|
|
1250
|
+
isValidOption(option) {
|
|
1251
|
+
return option !== undefined && option !== null && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
|
|
1252
|
+
}
|
|
1253
|
+
isOptionGroup(option) {
|
|
1254
|
+
return this.optionGroupLabel !== undefined && this.optionGroupLabel !== null && option.optionGroup !== undefined && option.optionGroup !== null && option.group;
|
|
1255
|
+
}
|
|
1256
|
+
onArrowUpKey(event, pressedInInputText = false) {
|
|
1257
|
+
if (event.altKey && !pressedInInputText) {
|
|
1258
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1259
|
+
const option = this.visibleOptions()[this.focusedOptionIndex()];
|
|
1260
|
+
this.onOptionSelect(event, option);
|
|
1261
|
+
}
|
|
1262
|
+
this.overlayVisible && this.hide();
|
|
1263
|
+
}
|
|
1264
|
+
else {
|
|
1265
|
+
const optionIndex = this.focusedOptionIndex() !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex()) : this.clicked() ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
|
|
1266
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1267
|
+
!this.overlayVisible && this.show();
|
|
1268
|
+
}
|
|
1269
|
+
event.preventDefault();
|
|
1270
|
+
event.stopPropagation();
|
|
1271
|
+
}
|
|
1272
|
+
onArrowLeftKey(event, pressedInInputText = false) {
|
|
1273
|
+
pressedInInputText && this.focusedOptionIndex.set(-1);
|
|
1274
|
+
}
|
|
1275
|
+
onDeleteKey(event) {
|
|
1276
|
+
if (this.showClear) {
|
|
1277
|
+
this.clear(event);
|
|
1278
|
+
event.preventDefault();
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
onHomeKey(event, pressedInInputText = false) {
|
|
1282
|
+
if (pressedInInputText) {
|
|
1283
|
+
const target = event.currentTarget;
|
|
1284
|
+
if (event.shiftKey) {
|
|
1285
|
+
target.setSelectionRange(0, target.value.length);
|
|
1286
|
+
}
|
|
1287
|
+
else {
|
|
1288
|
+
target.setSelectionRange(0, 0);
|
|
1289
|
+
this.focusedOptionIndex.set(-1);
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
else {
|
|
1293
|
+
this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());
|
|
1294
|
+
!this.overlayVisible && this.show();
|
|
1295
|
+
}
|
|
1296
|
+
event.preventDefault();
|
|
1297
|
+
}
|
|
1298
|
+
onEndKey(event, pressedInInputText = false) {
|
|
1299
|
+
if (pressedInInputText) {
|
|
1300
|
+
const target = event.currentTarget;
|
|
1301
|
+
if (event.shiftKey) {
|
|
1302
|
+
target.setSelectionRange(0, target.value.length);
|
|
1303
|
+
}
|
|
1304
|
+
else {
|
|
1305
|
+
const len = target.value.length;
|
|
1306
|
+
target.setSelectionRange(len, len);
|
|
1307
|
+
this.focusedOptionIndex.set(-1);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
else {
|
|
1311
|
+
this.changeFocusedOptionIndex(event, this.findLastOptionIndex());
|
|
1312
|
+
!this.overlayVisible && this.show();
|
|
1313
|
+
}
|
|
1314
|
+
event.preventDefault();
|
|
1315
|
+
}
|
|
1316
|
+
onPageDownKey(event) {
|
|
1317
|
+
this.scrollInView(this.visibleOptions().length - 1);
|
|
1318
|
+
event.preventDefault();
|
|
1319
|
+
}
|
|
1320
|
+
onPageUpKey(event) {
|
|
1321
|
+
this.scrollInView(0);
|
|
1322
|
+
event.preventDefault();
|
|
1323
|
+
}
|
|
1324
|
+
onSpaceKey(event, pressedInInputText = false) {
|
|
1325
|
+
!this.editable && !pressedInInputText && this.onEnterKey(event);
|
|
1326
|
+
}
|
|
1327
|
+
onEnterKey(event, pressedInInput = false) {
|
|
1328
|
+
if (!this.overlayVisible) {
|
|
1329
|
+
this.focusedOptionIndex.set(-1);
|
|
1330
|
+
this.onArrowDownKey(event);
|
|
1331
|
+
}
|
|
1332
|
+
else {
|
|
1333
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1334
|
+
const option = this.visibleOptions()[this.focusedOptionIndex()];
|
|
1335
|
+
this.onOptionSelect(event, option);
|
|
1336
|
+
}
|
|
1337
|
+
!pressedInInput && this.hide();
|
|
1338
|
+
}
|
|
1339
|
+
event.preventDefault();
|
|
1340
|
+
}
|
|
1341
|
+
onEscapeKey(event) {
|
|
1342
|
+
this.overlayVisible && this.hide(true);
|
|
1343
|
+
event.preventDefault();
|
|
1344
|
+
}
|
|
1345
|
+
onTabKey(event, pressedInInputText = false) {
|
|
1346
|
+
if (!pressedInInputText) {
|
|
1347
|
+
if (this.overlayVisible && this.hasFocusableElements()) {
|
|
1348
|
+
DomHandler.focus(event.shiftKey ? this.lastHiddenFocusableElementOnOverlay.nativeElement : this.firstHiddenFocusableElementOnOverlay.nativeElement);
|
|
1349
|
+
event.preventDefault();
|
|
1350
|
+
}
|
|
1351
|
+
else {
|
|
1352
|
+
if (this.focusedOptionIndex() !== -1 && this.overlayVisible) {
|
|
1353
|
+
const option = this.visibleOptions()[this.focusedOptionIndex()];
|
|
1354
|
+
this.onOptionSelect(event, option);
|
|
1355
|
+
}
|
|
1356
|
+
this.overlayVisible && this.hide(this.filter);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
event.stopPropagation();
|
|
1360
|
+
}
|
|
1361
|
+
onFirstHiddenFocus(event) {
|
|
1362
|
+
const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement ? DomHandler.getFirstFocusableElement(this.overlayViewChild.el?.nativeElement, ':not(.cax-hidden-focusable)') : this.focusInputViewChild?.nativeElement;
|
|
1363
|
+
DomHandler.focus(focusableEl);
|
|
1364
|
+
}
|
|
1365
|
+
onLastHiddenFocus(event) {
|
|
1366
|
+
const focusableEl = event.relatedTarget === this.focusInputViewChild?.nativeElement
|
|
1367
|
+
? DomHandler.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement, ':not([data-cax-hidden-focusable="true"])')
|
|
1368
|
+
: this.focusInputViewChild?.nativeElement;
|
|
1369
|
+
DomHandler.focus(focusableEl);
|
|
1370
|
+
}
|
|
1371
|
+
hasFocusableElements() {
|
|
1372
|
+
return DomHandler.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement, ':not([data-cax-hidden-focusable="true"]):not([class="cax-dropdown-items-wrapper"])').length > 0;
|
|
1373
|
+
}
|
|
1374
|
+
onBackspaceKey(event, pressedInInputText = false) {
|
|
1375
|
+
if (pressedInInputText) {
|
|
1376
|
+
!this.overlayVisible && this.show();
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
searchFields() {
|
|
1380
|
+
return this.filterBy?.split(',') || this.filterFields || [this.optionLabel];
|
|
1381
|
+
}
|
|
1382
|
+
searchOptions(event, char) {
|
|
1383
|
+
this.searchValue = (this.searchValue || '') + char;
|
|
1384
|
+
let optionIndex = -1;
|
|
1385
|
+
let matched = false;
|
|
1386
|
+
if (this.focusedOptionIndex() !== -1) {
|
|
1387
|
+
optionIndex = this.visibleOptions()
|
|
1388
|
+
.slice(this.focusedOptionIndex())
|
|
1389
|
+
.findIndex((option) => this.isOptionMatched(option));
|
|
1390
|
+
optionIndex =
|
|
1391
|
+
optionIndex === -1
|
|
1392
|
+
? this.visibleOptions()
|
|
1393
|
+
.slice(0, this.focusedOptionIndex())
|
|
1394
|
+
.findIndex((option) => this.isOptionMatched(option))
|
|
1395
|
+
: optionIndex + this.focusedOptionIndex();
|
|
1396
|
+
}
|
|
1397
|
+
else {
|
|
1398
|
+
optionIndex = this.visibleOptions().findIndex((option) => this.isOptionMatched(option));
|
|
1399
|
+
}
|
|
1400
|
+
if (optionIndex !== -1) {
|
|
1401
|
+
matched = true;
|
|
1402
|
+
}
|
|
1403
|
+
if (optionIndex === -1 && this.focusedOptionIndex() === -1) {
|
|
1404
|
+
optionIndex = this.findFirstFocusedOptionIndex();
|
|
1405
|
+
}
|
|
1406
|
+
if (optionIndex !== -1) {
|
|
1407
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
1408
|
+
}
|
|
1409
|
+
if (this.searchTimeout) {
|
|
1410
|
+
clearTimeout(this.searchTimeout);
|
|
1411
|
+
}
|
|
1412
|
+
this.searchTimeout = setTimeout(() => {
|
|
1413
|
+
this.searchValue = '';
|
|
1414
|
+
this.searchTimeout = null;
|
|
1415
|
+
}, 500);
|
|
1416
|
+
return matched;
|
|
1417
|
+
}
|
|
1418
|
+
isOptionMatched(option) {
|
|
1419
|
+
return this.isValidOption(option) && this.getOptionLabel(option).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
|
|
1420
|
+
}
|
|
1421
|
+
onFilterInputChange(event) {
|
|
1422
|
+
let value = event.target.value;
|
|
1423
|
+
this._filterValue.set(value);
|
|
1424
|
+
this.focusedOptionIndex.set(-1);
|
|
1425
|
+
this.onFilter.emit({ originalEvent: event, filter: this._filterValue() });
|
|
1426
|
+
!this.virtualScrollerDisabled && this.scroller.scrollToIndex(0);
|
|
1427
|
+
setTimeout(() => {
|
|
1428
|
+
this.overlayViewChild.alignOverlay();
|
|
1429
|
+
});
|
|
1430
|
+
this.cd.markForCheck();
|
|
1431
|
+
}
|
|
1432
|
+
applyFocus() {
|
|
1433
|
+
if (this.editable)
|
|
1434
|
+
DomHandler.findSingle(this.el.nativeElement, '.cax-dropdown-label.cax-inputtext').focus();
|
|
1435
|
+
else
|
|
1436
|
+
DomHandler.focus(this.focusInputViewChild?.nativeElement);
|
|
1437
|
+
}
|
|
1438
|
+
/**
|
|
1439
|
+
* Applies focus.
|
|
1440
|
+
* @group Method
|
|
1441
|
+
*/
|
|
1442
|
+
focus() {
|
|
1443
|
+
this.applyFocus();
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Clears the model.
|
|
1447
|
+
* @group Method
|
|
1448
|
+
*/
|
|
1449
|
+
clear(event) {
|
|
1450
|
+
this.updateModel(null, event);
|
|
1451
|
+
this.clearEditableLabel();
|
|
1452
|
+
this.onModelTouched();
|
|
1453
|
+
this.onChange.emit({ originalEvent: event, value: this.value });
|
|
1454
|
+
this.onClear.emit(event);
|
|
1455
|
+
this.resetFilter();
|
|
1456
|
+
}
|
|
1457
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: Dropdown, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.FilterService }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1458
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: Dropdown, isStandalone: true, selector: "cax-dropdown", inputs: { id: "id", scrollHeight: "scrollHeight", filter: ["filter", "filter", booleanAttribute], name: "name", style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], editable: ["editable", "editable", booleanAttribute], appendTo: "appendTo", tabindex: ["tabindex", "tabindex", numberAttribute], placeholder: "placeholder", loadingIcon: "loadingIcon", filterPlaceholder: "filterPlaceholder", filterLocale: "filterLocale", variant: "variant", inputId: "inputId", dataKey: "dataKey", filterBy: "filterBy", filterFields: "filterFields", autofocus: ["autofocus", "autofocus", booleanAttribute], resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dropdownIcon: "dropdownIcon", loading: ["loading", "loading", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", autoDisplayFirst: ["autoDisplayFirst", "autoDisplayFirst", booleanAttribute], group: ["group", "group", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterMatchMode: "filterMatchMode", maxlength: ["maxlength", "maxlength", numberAttribute], tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], autoShowPanelOnPrintableCharacterKeyDown: ["autoShowPanelOnPrintableCharacterKeyDown", "autoShowPanelOnPrintableCharacterKeyDown", booleanAttribute], disabled: "disabled", itemSize: "itemSize", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", filterValue: "filterValue", options: "options" }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { properties: { "class.cax-inputwrapper-filled": "filled()", "class.cax-inputwrapper-focus": "focused || overlayVisible" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [DROPDOWN_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], 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 }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], ngImport: i0, template: "<div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <span\r\n #focusInput\r\n [ngClass]=\"inputClass\"\r\n *ngIf=\"!editable\"\r\n [caxTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [positionStyle]=\"tooltipPositionStyle\"\r\n [tooltipStyleClass]=\"tooltipStyleClass\"\r\n [attr.aria-disabled]=\"disabled\"\r\n [attr.id]=\"inputId\"\r\n role=\"combobox\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.aria-haspopup]=\"'listbox'\"\r\n [attr.aria-expanded]=\"overlayVisible ?? false\"\r\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\r\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\r\n pAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n [attr.aria-required]=\"required\"\r\n [attr.required]=\"required\"\r\n >\r\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? ' ' : label() }}</ng-container>\r\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\r\n <ng-template #defaultPlaceholder>\r\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? ' ' : label() }}</span>\r\n </ng-template>\r\n </span>\r\n <input\r\n *ngIf=\"editable\"\r\n #editableInput\r\n type=\"text\"\r\n [attr.id]=\"inputId\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"inputClass\"\r\n [disabled]=\"disabled\"\r\n aria-haspopup=\"listbox\"\r\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder() : undefined\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n (input)=\"onEditableInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n pAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n />\r\n <ng-container *ngIf=\"isVisibleClearIcon\">\r\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\r\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n\r\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\r\n <ng-container *ngIf=\"loading; else elseBlock\">\r\n <ng-container *ngIf=\"loadingIconTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!loadingIconTemplate\">\r\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\r\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #elseBlock>\r\n <ng-container *ngIf=\"!dropdownIconTemplate\">\r\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\r\n <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\r\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\r\n </span>\r\n </ng-template>\r\n </div>\r\n\r\n <cax-overlay\r\n #overlay\r\n [(visible)]=\"overlayVisible\"\r\n [options]=\"overlayOptions\"\r\n [target]=\"'@parent'\"\r\n [appendTo]=\"appendTo\"\r\n [autoZIndex]=\"autoZIndex\"\r\n [baseZIndex]=\"baseZIndex\"\r\n [showTransitionOptions]=\"showTransitionOptions\"\r\n [hideTransitionOptions]=\"hideTransitionOptions\"\r\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\r\n (onHide)=\"hide()\"\r\n >\r\n <ng-template caxTemplate=\"content\">\r\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\r\n <span\r\n #firstHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onFirstHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n >\r\n </span>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\r\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\r\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\r\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\r\n </ng-container>\r\n <ng-template #builtInFilterElement>\r\n <div class=\"cax-dropdown-filter-container\">\r\n <input\r\n #filter\r\n type=\"text\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [value]=\"_filterValue() || ''\"\r\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\r\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\r\n [attr.placeholder]=\"filterPlaceholder\"\r\n [attr.aria-owns]=\"id + '_list'\"\r\n (input)=\"onFilterInputChange($event)\"\r\n [attr.aria-label]=\"ariaFilterLabel\"\r\n [attr.aria-activedescendant]=\"focusedOptionId\"\r\n (keydown)=\"onFilterKeyDown($event)\"\r\n (blur)=\"onFilterBlur($event)\"\r\n />\r\n <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" />\r\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\r\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\r\n </span>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"cax-dropdown-items-wrapper\"\r\n [ngStyle]=\"{\r\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\r\n }\"\r\n tabindex=\"0\"\r\n >\r\n <cax-scroller\r\n *ngIf=\"virtualScroll\"\r\n #scroller\r\n [items]=\"visibleOptions()\"\r\n [style]=\"{ height: scrollHeight }\"\r\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\r\n [autoSize]=\"true\"\r\n [lazy]=\"lazy\"\r\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\r\n [options]=\"virtualScrollOptions\"\r\n >\r\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"loaderTemplate\">\r\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </cax-scroller>\r\n <ng-container *ngIf=\"!virtualScroll\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\r\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\r\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\r\n <ng-container *ngIf=\"isOptionGroup(option)\">\r\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\r\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!isOptionGroup(option)\">\r\n <cax-dropdownItem\r\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\r\n [option]=\"option\"\r\n [checkmark]=\"checkmark\"\r\n [selected]=\"isSelected(option)\"\r\n [label]=\"getOptionLabel(option)\"\r\n [disabled]=\"isOptionDisabled(option)\"\r\n [template]=\"itemTemplate\"\r\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\r\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\r\n [ariaSetSize]=\"ariaSetSize\"\r\n (onClick)=\"onOptionSelect($event, option)\"\r\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\r\n ></cax-dropdownItem>\r\n </ng-container>\r\n </ng-template>\r\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\r\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\r\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </li>\r\n </ul>\r\n </ng-template>\r\n </div>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\r\n <span\r\n #lastHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onLastHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n ></span>\r\n </div>\r\n </ng-template>\r\n </cax-overlay>\r\n</div>\r\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown .cax-dropdown-panel{min-width:100%}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-dropdown-filter{width:100%}.cax-dropdown-filter-container{position:relative}.cax-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: i3.Overlay, selector: "cax-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i1.CaxTemplate, selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[caxTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "caxTooltip", "tooltipDisabled", "tooltipOptions", "linkUrl", "linkText"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: ScrollerModule }, { kind: "component", type: i5.Scroller, selector: "cax-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: DropdownItem, selector: "cax-dropdownItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark"], outputs: ["onClick", "onMouseEnter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1459
|
+
}
|
|
1460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: Dropdown, decorators: [{
|
|
1461
|
+
type: Component,
|
|
1462
|
+
args: [{ selector: 'cax-dropdown', standalone: true, imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, DropdownItem], host: {
|
|
1463
|
+
class: 'cax-element cax-inputwrapper',
|
|
1464
|
+
'[class.cax-inputwrapper-filled]': 'filled()',
|
|
1465
|
+
'[class.cax-inputwrapper-focus]': 'focused || overlayVisible'
|
|
1466
|
+
}, providers: [DROPDOWN_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <span\r\n #focusInput\r\n [ngClass]=\"inputClass\"\r\n *ngIf=\"!editable\"\r\n [caxTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [positionStyle]=\"tooltipPositionStyle\"\r\n [tooltipStyleClass]=\"tooltipStyleClass\"\r\n [attr.aria-disabled]=\"disabled\"\r\n [attr.id]=\"inputId\"\r\n role=\"combobox\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.aria-haspopup]=\"'listbox'\"\r\n [attr.aria-expanded]=\"overlayVisible ?? false\"\r\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\r\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\r\n pAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n [attr.aria-required]=\"required\"\r\n [attr.required]=\"required\"\r\n >\r\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? ' ' : label() }}</ng-container>\r\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\r\n <ng-template #defaultPlaceholder>\r\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? ' ' : label() }}</span>\r\n </ng-template>\r\n </span>\r\n <input\r\n *ngIf=\"editable\"\r\n #editableInput\r\n type=\"text\"\r\n [attr.id]=\"inputId\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"inputClass\"\r\n [disabled]=\"disabled\"\r\n aria-haspopup=\"listbox\"\r\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder() : undefined\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n (input)=\"onEditableInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n pAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n />\r\n <ng-container *ngIf=\"isVisibleClearIcon\">\r\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\r\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n\r\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\r\n <ng-container *ngIf=\"loading; else elseBlock\">\r\n <ng-container *ngIf=\"loadingIconTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!loadingIconTemplate\">\r\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\r\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #elseBlock>\r\n <ng-container *ngIf=\"!dropdownIconTemplate\">\r\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\r\n <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\r\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\r\n </span>\r\n </ng-template>\r\n </div>\r\n\r\n <cax-overlay\r\n #overlay\r\n [(visible)]=\"overlayVisible\"\r\n [options]=\"overlayOptions\"\r\n [target]=\"'@parent'\"\r\n [appendTo]=\"appendTo\"\r\n [autoZIndex]=\"autoZIndex\"\r\n [baseZIndex]=\"baseZIndex\"\r\n [showTransitionOptions]=\"showTransitionOptions\"\r\n [hideTransitionOptions]=\"hideTransitionOptions\"\r\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\r\n (onHide)=\"hide()\"\r\n >\r\n <ng-template caxTemplate=\"content\">\r\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\r\n <span\r\n #firstHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onFirstHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n >\r\n </span>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\r\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\r\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\r\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\r\n </ng-container>\r\n <ng-template #builtInFilterElement>\r\n <div class=\"cax-dropdown-filter-container\">\r\n <input\r\n #filter\r\n type=\"text\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [value]=\"_filterValue() || ''\"\r\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\r\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\r\n [attr.placeholder]=\"filterPlaceholder\"\r\n [attr.aria-owns]=\"id + '_list'\"\r\n (input)=\"onFilterInputChange($event)\"\r\n [attr.aria-label]=\"ariaFilterLabel\"\r\n [attr.aria-activedescendant]=\"focusedOptionId\"\r\n (keydown)=\"onFilterKeyDown($event)\"\r\n (blur)=\"onFilterBlur($event)\"\r\n />\r\n <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" />\r\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\r\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\r\n </span>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"cax-dropdown-items-wrapper\"\r\n [ngStyle]=\"{\r\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\r\n }\"\r\n tabindex=\"0\"\r\n >\r\n <cax-scroller\r\n *ngIf=\"virtualScroll\"\r\n #scroller\r\n [items]=\"visibleOptions()\"\r\n [style]=\"{ height: scrollHeight }\"\r\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\r\n [autoSize]=\"true\"\r\n [lazy]=\"lazy\"\r\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\r\n [options]=\"virtualScrollOptions\"\r\n >\r\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"loaderTemplate\">\r\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </cax-scroller>\r\n <ng-container *ngIf=\"!virtualScroll\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\r\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\r\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\r\n <ng-container *ngIf=\"isOptionGroup(option)\">\r\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\r\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!isOptionGroup(option)\">\r\n <cax-dropdownItem\r\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\r\n [option]=\"option\"\r\n [checkmark]=\"checkmark\"\r\n [selected]=\"isSelected(option)\"\r\n [label]=\"getOptionLabel(option)\"\r\n [disabled]=\"isOptionDisabled(option)\"\r\n [template]=\"itemTemplate\"\r\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\r\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\r\n [ariaSetSize]=\"ariaSetSize\"\r\n (onClick)=\"onOptionSelect($event, option)\"\r\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\r\n ></cax-dropdownItem>\r\n </ng-container>\r\n </ng-template>\r\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\r\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\r\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </li>\r\n </ul>\r\n </ng-template>\r\n </div>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\r\n <span\r\n #lastHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onLastHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n ></span>\r\n </div>\r\n </ng-template>\r\n </cax-overlay>\r\n</div>\r\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown .cax-dropdown-panel{min-width:100%}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-dropdown-filter{width:100%}.cax-dropdown-filter-container{position:relative}.cax-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"] }]
|
|
1467
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.FilterService }, { type: i1.caxConfig }], propDecorators: { id: [{
|
|
1468
|
+
type: Input
|
|
1469
|
+
}], scrollHeight: [{
|
|
1470
|
+
type: Input
|
|
1471
|
+
}], filter: [{
|
|
1472
|
+
type: Input,
|
|
1473
|
+
args: [{ transform: booleanAttribute }]
|
|
1474
|
+
}], name: [{
|
|
1475
|
+
type: Input
|
|
1476
|
+
}], style: [{
|
|
1477
|
+
type: Input
|
|
1478
|
+
}], panelStyle: [{
|
|
1479
|
+
type: Input
|
|
1480
|
+
}], styleClass: [{
|
|
1481
|
+
type: Input
|
|
1482
|
+
}], panelStyleClass: [{
|
|
1483
|
+
type: Input
|
|
1484
|
+
}], readonly: [{
|
|
1485
|
+
type: Input,
|
|
1486
|
+
args: [{ transform: booleanAttribute }]
|
|
1487
|
+
}], required: [{
|
|
1488
|
+
type: Input,
|
|
1489
|
+
args: [{ transform: booleanAttribute }]
|
|
1490
|
+
}], editable: [{
|
|
1491
|
+
type: Input,
|
|
1492
|
+
args: [{ transform: booleanAttribute }]
|
|
1493
|
+
}], appendTo: [{
|
|
1494
|
+
type: Input
|
|
1495
|
+
}], tabindex: [{
|
|
1496
|
+
type: Input,
|
|
1497
|
+
args: [{ transform: numberAttribute }]
|
|
1498
|
+
}], placeholder: [{
|
|
1499
|
+
type: Input
|
|
1500
|
+
}], loadingIcon: [{
|
|
1501
|
+
type: Input
|
|
1502
|
+
}], filterPlaceholder: [{
|
|
1503
|
+
type: Input
|
|
1504
|
+
}], filterLocale: [{
|
|
1505
|
+
type: Input
|
|
1506
|
+
}], variant: [{
|
|
1507
|
+
type: Input
|
|
1508
|
+
}], inputId: [{
|
|
1509
|
+
type: Input
|
|
1510
|
+
}], dataKey: [{
|
|
1511
|
+
type: Input
|
|
1512
|
+
}], filterBy: [{
|
|
1513
|
+
type: Input
|
|
1514
|
+
}], filterFields: [{
|
|
1515
|
+
type: Input
|
|
1516
|
+
}], autofocus: [{
|
|
1517
|
+
type: Input,
|
|
1518
|
+
args: [{ transform: booleanAttribute }]
|
|
1519
|
+
}], resetFilterOnHide: [{
|
|
1520
|
+
type: Input,
|
|
1521
|
+
args: [{ transform: booleanAttribute }]
|
|
1522
|
+
}], checkmark: [{
|
|
1523
|
+
type: Input,
|
|
1524
|
+
args: [{ transform: booleanAttribute }]
|
|
1525
|
+
}], dropdownIcon: [{
|
|
1526
|
+
type: Input
|
|
1527
|
+
}], loading: [{
|
|
1528
|
+
type: Input,
|
|
1529
|
+
args: [{ transform: booleanAttribute }]
|
|
1530
|
+
}], optionLabel: [{
|
|
1531
|
+
type: Input
|
|
1532
|
+
}], optionValue: [{
|
|
1533
|
+
type: Input
|
|
1534
|
+
}], optionDisabled: [{
|
|
1535
|
+
type: Input
|
|
1536
|
+
}], optionGroupLabel: [{
|
|
1537
|
+
type: Input
|
|
1538
|
+
}], optionGroupChildren: [{
|
|
1539
|
+
type: Input
|
|
1540
|
+
}], autoDisplayFirst: [{
|
|
1541
|
+
type: Input,
|
|
1542
|
+
args: [{ transform: booleanAttribute }]
|
|
1543
|
+
}], group: [{
|
|
1544
|
+
type: Input,
|
|
1545
|
+
args: [{ transform: booleanAttribute }]
|
|
1546
|
+
}], showClear: [{
|
|
1547
|
+
type: Input,
|
|
1548
|
+
args: [{ transform: booleanAttribute }]
|
|
1549
|
+
}], emptyFilterMessage: [{
|
|
1550
|
+
type: Input
|
|
1551
|
+
}], emptyMessage: [{
|
|
1552
|
+
type: Input
|
|
1553
|
+
}], lazy: [{
|
|
1554
|
+
type: Input,
|
|
1555
|
+
args: [{ transform: booleanAttribute }]
|
|
1556
|
+
}], virtualScroll: [{
|
|
1557
|
+
type: Input,
|
|
1558
|
+
args: [{ transform: booleanAttribute }]
|
|
1559
|
+
}], virtualScrollItemSize: [{
|
|
1560
|
+
type: Input,
|
|
1561
|
+
args: [{ transform: numberAttribute }]
|
|
1562
|
+
}], virtualScrollOptions: [{
|
|
1563
|
+
type: Input
|
|
1564
|
+
}], overlayOptions: [{
|
|
1565
|
+
type: Input
|
|
1566
|
+
}], ariaFilterLabel: [{
|
|
1567
|
+
type: Input
|
|
1568
|
+
}], ariaLabel: [{
|
|
1569
|
+
type: Input
|
|
1570
|
+
}], ariaLabelledBy: [{
|
|
1571
|
+
type: Input
|
|
1572
|
+
}], filterMatchMode: [{
|
|
1573
|
+
type: Input
|
|
1574
|
+
}], maxlength: [{
|
|
1575
|
+
type: Input,
|
|
1576
|
+
args: [{ transform: numberAttribute }]
|
|
1577
|
+
}], tooltip: [{
|
|
1578
|
+
type: Input
|
|
1579
|
+
}], tooltipPosition: [{
|
|
1580
|
+
type: Input
|
|
1581
|
+
}], tooltipPositionStyle: [{
|
|
1582
|
+
type: Input
|
|
1583
|
+
}], tooltipStyleClass: [{
|
|
1584
|
+
type: Input
|
|
1585
|
+
}], focusOnHover: [{
|
|
1586
|
+
type: Input,
|
|
1587
|
+
args: [{ transform: booleanAttribute }]
|
|
1588
|
+
}], selectOnFocus: [{
|
|
1589
|
+
type: Input,
|
|
1590
|
+
args: [{ transform: booleanAttribute }]
|
|
1591
|
+
}], autoOptionFocus: [{
|
|
1592
|
+
type: Input,
|
|
1593
|
+
args: [{ transform: booleanAttribute }]
|
|
1594
|
+
}], autofocusFilter: [{
|
|
1595
|
+
type: Input,
|
|
1596
|
+
args: [{ transform: booleanAttribute }]
|
|
1597
|
+
}], autoShowPanelOnPrintableCharacterKeyDown: [{
|
|
1598
|
+
type: Input,
|
|
1599
|
+
args: [{ transform: booleanAttribute }]
|
|
1600
|
+
}], disabled: [{
|
|
1601
|
+
type: Input
|
|
1602
|
+
}], itemSize: [{
|
|
1603
|
+
type: Input
|
|
1604
|
+
}], autoZIndex: [{
|
|
1605
|
+
type: Input
|
|
1606
|
+
}], baseZIndex: [{
|
|
1607
|
+
type: Input
|
|
1608
|
+
}], showTransitionOptions: [{
|
|
1609
|
+
type: Input
|
|
1610
|
+
}], hideTransitionOptions: [{
|
|
1611
|
+
type: Input
|
|
1612
|
+
}], filterValue: [{
|
|
1613
|
+
type: Input
|
|
1614
|
+
}], options: [{
|
|
1615
|
+
type: Input
|
|
1616
|
+
}], onChange: [{
|
|
1617
|
+
type: Output
|
|
1618
|
+
}], onFilter: [{
|
|
1619
|
+
type: Output
|
|
1620
|
+
}], onFocus: [{
|
|
1621
|
+
type: Output
|
|
1622
|
+
}], onBlur: [{
|
|
1623
|
+
type: Output
|
|
1624
|
+
}], onClick: [{
|
|
1625
|
+
type: Output
|
|
1626
|
+
}], onShow: [{
|
|
1627
|
+
type: Output
|
|
1628
|
+
}], onHide: [{
|
|
1629
|
+
type: Output
|
|
1630
|
+
}], onClear: [{
|
|
1631
|
+
type: Output
|
|
1632
|
+
}], onLazyLoad: [{
|
|
1633
|
+
type: Output
|
|
1634
|
+
}], containerViewChild: [{
|
|
1635
|
+
type: ViewChild,
|
|
1636
|
+
args: ['container']
|
|
1637
|
+
}], filterViewChild: [{
|
|
1638
|
+
type: ViewChild,
|
|
1639
|
+
args: ['filter']
|
|
1640
|
+
}], focusInputViewChild: [{
|
|
1641
|
+
type: ViewChild,
|
|
1642
|
+
args: ['focusInput']
|
|
1643
|
+
}], editableInputViewChild: [{
|
|
1644
|
+
type: ViewChild,
|
|
1645
|
+
args: ['editableInput']
|
|
1646
|
+
}], itemsViewChild: [{
|
|
1647
|
+
type: ViewChild,
|
|
1648
|
+
args: ['items']
|
|
1649
|
+
}], scroller: [{
|
|
1650
|
+
type: ViewChild,
|
|
1651
|
+
args: ['scroller']
|
|
1652
|
+
}], overlayViewChild: [{
|
|
1653
|
+
type: ViewChild,
|
|
1654
|
+
args: ['overlay']
|
|
1655
|
+
}], firstHiddenFocusableElementOnOverlay: [{
|
|
1656
|
+
type: ViewChild,
|
|
1657
|
+
args: ['firstHiddenFocusableEl']
|
|
1658
|
+
}], lastHiddenFocusableElementOnOverlay: [{
|
|
1659
|
+
type: ViewChild,
|
|
1660
|
+
args: ['lastHiddenFocusableEl']
|
|
1661
|
+
}], templates: [{
|
|
1662
|
+
type: ContentChildren,
|
|
1663
|
+
args: [CaxTemplate]
|
|
1664
|
+
}] } });
|
|
1665
|
+
|
|
1666
|
+
class DropdownModule {
|
|
1667
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1668
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule], exports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule] });
|
|
1669
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule, OverlayModule, SharedModule, ScrollerModule] });
|
|
1670
|
+
}
|
|
1671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DropdownModule, decorators: [{
|
|
1672
|
+
type: NgModule,
|
|
1673
|
+
args: [{
|
|
1674
|
+
imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule],
|
|
1675
|
+
exports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule]
|
|
1676
|
+
}]
|
|
1677
|
+
}] });
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* Generated bundle index. Do not edit.
|
|
1681
|
+
*/
|
|
1682
|
+
|
|
1683
|
+
export { DROPDOWN_VALUE_ACCESSOR, Dropdown, DropdownItem, DropdownModule };
|
|
1684
|
+
//# sourceMappingURL=cax-design-system-dropdown.mjs.map
|