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,1675 @@
|
|
|
1
|
+
import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
|
+
import * as i2 from '@angular/common';
|
|
3
|
+
import { DOCUMENT, isPlatformBrowser, CommonModule } from '@angular/common';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { EventEmitter, PLATFORM_ID, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, ViewChild, ContentChildren, HostListener, NgModule } from '@angular/core';
|
|
6
|
+
import * as i1 from 'cax-design-system/api';
|
|
7
|
+
import { CaxTemplate, SharedModule } from 'cax-design-system/api';
|
|
8
|
+
import { DomHandler } from 'cax-design-system/dom';
|
|
9
|
+
import { ChevronLeftIcon } from 'cax-design-system/icons/chevronleft';
|
|
10
|
+
import { ChevronRightIcon } from 'cax-design-system/icons/chevronright';
|
|
11
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
12
|
+
import { WindowMaximizeIcon } from 'cax-design-system/icons/windowmaximize';
|
|
13
|
+
import { WindowMinimizeIcon } from 'cax-design-system/icons/windowminimize';
|
|
14
|
+
import { RippleModule } from 'cax-design-system/ripple';
|
|
15
|
+
import { ZIndexUtils, UniqueComponentId } from 'cax-design-system/utils';
|
|
16
|
+
import * as i3 from 'cax-design-system/focustrap';
|
|
17
|
+
import { FocusTrapModule } from 'cax-design-system/focustrap';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Galleria is an advanced content gallery component.
|
|
21
|
+
* @group Components
|
|
22
|
+
*/
|
|
23
|
+
class Galleria {
|
|
24
|
+
document;
|
|
25
|
+
platformId;
|
|
26
|
+
element;
|
|
27
|
+
cd;
|
|
28
|
+
config;
|
|
29
|
+
/**
|
|
30
|
+
* Index of the first item.
|
|
31
|
+
* @group Props
|
|
32
|
+
*/
|
|
33
|
+
get activeIndex() {
|
|
34
|
+
return this._activeIndex;
|
|
35
|
+
}
|
|
36
|
+
set activeIndex(activeIndex) {
|
|
37
|
+
this._activeIndex = activeIndex;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Whether to display the component on fullscreen.
|
|
41
|
+
* @group Props
|
|
42
|
+
*/
|
|
43
|
+
fullScreen = false;
|
|
44
|
+
/**
|
|
45
|
+
* Unique identifier of the element.
|
|
46
|
+
* @group Props
|
|
47
|
+
*/
|
|
48
|
+
id;
|
|
49
|
+
/**
|
|
50
|
+
* An array of objects to display.
|
|
51
|
+
* @group Props
|
|
52
|
+
*/
|
|
53
|
+
value;
|
|
54
|
+
/**
|
|
55
|
+
* Number of items per page.
|
|
56
|
+
* @group Props
|
|
57
|
+
*/
|
|
58
|
+
numVisible = 3;
|
|
59
|
+
/**
|
|
60
|
+
* An array of options for responsive design.
|
|
61
|
+
* @see {GalleriaResponsiveOptions}
|
|
62
|
+
* @group Props
|
|
63
|
+
*/
|
|
64
|
+
responsiveOptions;
|
|
65
|
+
/**
|
|
66
|
+
* Whether to display navigation buttons in item section.
|
|
67
|
+
* @group Props
|
|
68
|
+
*/
|
|
69
|
+
showItemNavigators = false;
|
|
70
|
+
/**
|
|
71
|
+
* Whether to display navigation buttons in thumbnail container.
|
|
72
|
+
* @group Props
|
|
73
|
+
*/
|
|
74
|
+
showThumbnailNavigators = true;
|
|
75
|
+
/**
|
|
76
|
+
* Whether to display navigation buttons on item hover.
|
|
77
|
+
* @group Props
|
|
78
|
+
*/
|
|
79
|
+
showItemNavigatorsOnHover = false;
|
|
80
|
+
/**
|
|
81
|
+
* When enabled, item is changed on indicator hover.
|
|
82
|
+
* @group Props
|
|
83
|
+
*/
|
|
84
|
+
changeItemOnIndicatorHover = false;
|
|
85
|
+
/**
|
|
86
|
+
* Defines if scrolling would be infinite.
|
|
87
|
+
* @group Props
|
|
88
|
+
*/
|
|
89
|
+
circular = false;
|
|
90
|
+
/**
|
|
91
|
+
* Items are displayed with a slideshow in autoPlay mode.
|
|
92
|
+
* @group Props
|
|
93
|
+
*/
|
|
94
|
+
autoPlay = false;
|
|
95
|
+
/**
|
|
96
|
+
* When enabled, autorun should stop by click.
|
|
97
|
+
* @group Props
|
|
98
|
+
*/
|
|
99
|
+
shouldStopAutoplayByClick = true;
|
|
100
|
+
/**
|
|
101
|
+
* Time in milliseconds to scroll items.
|
|
102
|
+
* @group Props
|
|
103
|
+
*/
|
|
104
|
+
transitionInterval = 4000;
|
|
105
|
+
/**
|
|
106
|
+
* Whether to display thumbnail container.
|
|
107
|
+
* @group Props
|
|
108
|
+
*/
|
|
109
|
+
showThumbnails = true;
|
|
110
|
+
/**
|
|
111
|
+
* Position of thumbnails.
|
|
112
|
+
* @group Props
|
|
113
|
+
*/
|
|
114
|
+
thumbnailsPosition = 'bottom';
|
|
115
|
+
/**
|
|
116
|
+
* Height of the viewport in vertical thumbnail.
|
|
117
|
+
* @group Props
|
|
118
|
+
*/
|
|
119
|
+
verticalThumbnailViewPortHeight = '300px';
|
|
120
|
+
/**
|
|
121
|
+
* Whether to display indicator container.
|
|
122
|
+
* @group Props
|
|
123
|
+
*/
|
|
124
|
+
showIndicators = false;
|
|
125
|
+
/**
|
|
126
|
+
* When enabled, indicator container is displayed on item container.
|
|
127
|
+
* @group Props
|
|
128
|
+
*/
|
|
129
|
+
showIndicatorsOnItem = false;
|
|
130
|
+
/**
|
|
131
|
+
* Position of indicators.
|
|
132
|
+
* @group Props
|
|
133
|
+
*/
|
|
134
|
+
indicatorsPosition = 'bottom';
|
|
135
|
+
/**
|
|
136
|
+
* Base zIndex value to use in layering.
|
|
137
|
+
* @group Props
|
|
138
|
+
*/
|
|
139
|
+
baseZIndex = 0;
|
|
140
|
+
/**
|
|
141
|
+
* Style class of the mask on fullscreen mode.
|
|
142
|
+
* @group Props
|
|
143
|
+
*/
|
|
144
|
+
maskClass;
|
|
145
|
+
/**
|
|
146
|
+
* Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used.
|
|
147
|
+
* @group Props
|
|
148
|
+
*/
|
|
149
|
+
containerClass;
|
|
150
|
+
/**
|
|
151
|
+
* Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used.
|
|
152
|
+
* @group Props
|
|
153
|
+
*/
|
|
154
|
+
containerStyle;
|
|
155
|
+
/**
|
|
156
|
+
* Transition options of the show animation.
|
|
157
|
+
* @group Props
|
|
158
|
+
*/
|
|
159
|
+
showTransitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
|
|
160
|
+
/**
|
|
161
|
+
* Transition options of the hide animation.
|
|
162
|
+
* @group Props
|
|
163
|
+
*/
|
|
164
|
+
hideTransitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
|
|
165
|
+
/**
|
|
166
|
+
* Specifies the visibility of the mask on fullscreen mode.
|
|
167
|
+
* @group Props
|
|
168
|
+
*/
|
|
169
|
+
get visible() {
|
|
170
|
+
return this._visible;
|
|
171
|
+
}
|
|
172
|
+
set visible(visible) {
|
|
173
|
+
this._visible = visible;
|
|
174
|
+
if (this._visible && !this.maskVisible) {
|
|
175
|
+
this.maskVisible = true;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Callback to invoke on active index change.
|
|
180
|
+
* @param {number} number - Active index.
|
|
181
|
+
* @group Emits
|
|
182
|
+
*/
|
|
183
|
+
activeIndexChange = new EventEmitter();
|
|
184
|
+
/**
|
|
185
|
+
* Callback to invoke on visiblity change.
|
|
186
|
+
* @param {boolean} boolean - Visible value.
|
|
187
|
+
* @group Emits
|
|
188
|
+
*/
|
|
189
|
+
visibleChange = new EventEmitter();
|
|
190
|
+
mask;
|
|
191
|
+
container;
|
|
192
|
+
templates;
|
|
193
|
+
_visible = false;
|
|
194
|
+
_activeIndex = 0;
|
|
195
|
+
headerFacet;
|
|
196
|
+
footerFacet;
|
|
197
|
+
indicatorFacet;
|
|
198
|
+
captionFacet;
|
|
199
|
+
closeIconTemplate;
|
|
200
|
+
previousThumbnailIconTemplate;
|
|
201
|
+
nextThumbnailIconTemplate;
|
|
202
|
+
itemPreviousIconTemplate;
|
|
203
|
+
itemNextIconTemplate;
|
|
204
|
+
maskVisible = false;
|
|
205
|
+
numVisibleLimit = 0;
|
|
206
|
+
constructor(document, platformId, element, cd, config) {
|
|
207
|
+
this.document = document;
|
|
208
|
+
this.platformId = platformId;
|
|
209
|
+
this.element = element;
|
|
210
|
+
this.cd = cd;
|
|
211
|
+
this.config = config;
|
|
212
|
+
}
|
|
213
|
+
ngAfterContentInit() {
|
|
214
|
+
this.templates?.forEach((item) => {
|
|
215
|
+
switch (item.getType()) {
|
|
216
|
+
case 'header':
|
|
217
|
+
this.headerFacet = item.template;
|
|
218
|
+
break;
|
|
219
|
+
case 'footer':
|
|
220
|
+
this.footerFacet = item.template;
|
|
221
|
+
break;
|
|
222
|
+
case 'indicator':
|
|
223
|
+
this.indicatorFacet = item.template;
|
|
224
|
+
break;
|
|
225
|
+
case 'closeicon':
|
|
226
|
+
this.closeIconTemplate = item.template;
|
|
227
|
+
break;
|
|
228
|
+
case 'itemnexticon':
|
|
229
|
+
this.itemNextIconTemplate = item.template;
|
|
230
|
+
break;
|
|
231
|
+
case 'itempreviousicon':
|
|
232
|
+
this.itemPreviousIconTemplate = item.template;
|
|
233
|
+
break;
|
|
234
|
+
case 'previousthumbnailicon':
|
|
235
|
+
this.previousThumbnailIconTemplate = item.template;
|
|
236
|
+
break;
|
|
237
|
+
case 'nextthumbnailicon':
|
|
238
|
+
this.nextThumbnailIconTemplate = item.template;
|
|
239
|
+
break;
|
|
240
|
+
case 'caption':
|
|
241
|
+
this.captionFacet = item.template;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
ngOnChanges(simpleChanges) {
|
|
247
|
+
if (simpleChanges.value && simpleChanges.value.currentValue?.length < this.numVisible) {
|
|
248
|
+
this.numVisibleLimit = simpleChanges.value.currentValue.length;
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
this.numVisibleLimit = 0;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
onMaskHide() {
|
|
255
|
+
this.visible = false;
|
|
256
|
+
this.visibleChange.emit(false);
|
|
257
|
+
}
|
|
258
|
+
onActiveItemChange(index) {
|
|
259
|
+
if (this.activeIndex !== index) {
|
|
260
|
+
this.activeIndex = index;
|
|
261
|
+
this.activeIndexChange.emit(index);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
onAnimationStart(event) {
|
|
265
|
+
switch (event.toState) {
|
|
266
|
+
case 'visible':
|
|
267
|
+
this.enableModality();
|
|
268
|
+
setTimeout(() => {
|
|
269
|
+
DomHandler.focus(DomHandler.findSingle(this.container.nativeElement, '[data-pc-section="closebutton"]'));
|
|
270
|
+
}, 25);
|
|
271
|
+
break;
|
|
272
|
+
case 'void':
|
|
273
|
+
DomHandler.addClass(this.mask?.nativeElement, 'p-component-overlay-leave');
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
onAnimationEnd(event) {
|
|
278
|
+
switch (event.toState) {
|
|
279
|
+
case 'void':
|
|
280
|
+
this.disableModality();
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
enableModality() {
|
|
285
|
+
DomHandler.blockBodyScroll();
|
|
286
|
+
this.cd.markForCheck();
|
|
287
|
+
if (this.mask) {
|
|
288
|
+
ZIndexUtils.set('modal', this.mask.nativeElement, this.baseZIndex || this.config.zIndex.modal);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
disableModality() {
|
|
292
|
+
DomHandler.unblockBodyScroll();
|
|
293
|
+
this.maskVisible = false;
|
|
294
|
+
this.cd.markForCheck();
|
|
295
|
+
if (this.mask) {
|
|
296
|
+
ZIndexUtils.clear(this.mask.nativeElement);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
ngOnDestroy() {
|
|
300
|
+
if (this.fullScreen) {
|
|
301
|
+
DomHandler.removeClass(this.document.body, 'p-overflow-hidden');
|
|
302
|
+
}
|
|
303
|
+
if (this.mask) {
|
|
304
|
+
this.disableModality();
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: Galleria, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
308
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: Galleria, selector: "p-galleria", inputs: { activeIndex: "activeIndex", fullScreen: ["fullScreen", "fullScreen", booleanAttribute], id: "id", value: "value", numVisible: ["numVisible", "numVisible", numberAttribute], responsiveOptions: "responsiveOptions", showItemNavigators: ["showItemNavigators", "showItemNavigators", booleanAttribute], showThumbnailNavigators: ["showThumbnailNavigators", "showThumbnailNavigators", booleanAttribute], showItemNavigatorsOnHover: ["showItemNavigatorsOnHover", "showItemNavigatorsOnHover", booleanAttribute], changeItemOnIndicatorHover: ["changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], circular: ["circular", "circular", booleanAttribute], autoPlay: ["autoPlay", "autoPlay", booleanAttribute], shouldStopAutoplayByClick: ["shouldStopAutoplayByClick", "shouldStopAutoplayByClick", booleanAttribute], transitionInterval: ["transitionInterval", "transitionInterval", numberAttribute], showThumbnails: ["showThumbnails", "showThumbnails", booleanAttribute], thumbnailsPosition: "thumbnailsPosition", verticalThumbnailViewPortHeight: "verticalThumbnailViewPortHeight", showIndicators: ["showIndicators", "showIndicators", booleanAttribute], showIndicatorsOnItem: ["showIndicatorsOnItem", "showIndicatorsOnItem", booleanAttribute], indicatorsPosition: "indicatorsPosition", baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], maskClass: "maskClass", containerClass: "containerClass", containerStyle: "containerStyle", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", visible: "visible" }, outputs: { activeIndexChange: "activeIndexChange", visibleChange: "visibleChange" }, host: { classAttribute: "cax-element" }, queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "mask", first: true, predicate: ["mask"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
309
|
+
<div *ngIf="fullScreen; else windowed" #container>
|
|
310
|
+
<div
|
|
311
|
+
*ngIf="maskVisible"
|
|
312
|
+
#mask
|
|
313
|
+
[ngClass]="{ 'p-galleria-mask p-component-overlay p-component-overlay-enter': true, 'p-galleria-visible': this.visible }"
|
|
314
|
+
[class]="maskClass"
|
|
315
|
+
[attr.role]="fullScreen ? 'dialog' : 'region'"
|
|
316
|
+
[attr.aria-modal]="fullScreen ? 'true' : undefined"
|
|
317
|
+
>
|
|
318
|
+
<p-galleriaContent
|
|
319
|
+
*ngIf="visible"
|
|
320
|
+
[@animation]="{ value: 'visible', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }"
|
|
321
|
+
(@animation.start)="onAnimationStart($event)"
|
|
322
|
+
(@animation.done)="onAnimationEnd($event)"
|
|
323
|
+
[value]="value"
|
|
324
|
+
[activeIndex]="activeIndex"
|
|
325
|
+
[numVisible]="numVisibleLimit || numVisible"
|
|
326
|
+
(maskHide)="onMaskHide()"
|
|
327
|
+
(activeItemChange)="onActiveItemChange($event)"
|
|
328
|
+
[ngStyle]="containerStyle"
|
|
329
|
+
[fullScreen]="fullScreen"
|
|
330
|
+
></p-galleriaContent>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<ng-template #windowed>
|
|
335
|
+
<p-galleriaContent [value]="value" [activeIndex]="activeIndex" [numVisible]="numVisibleLimit || numVisible" (activeItemChange)="onActiveItemChange($event)"></p-galleriaContent>
|
|
336
|
+
</ng-template>
|
|
337
|
+
`, isInline: true, styles: ["@layer cax{.p-galleria-content{display:flex;flex-direction:column}.p-galleria-item-wrapper{display:flex;flex-direction:column;position:relative}.p-galleria-item-container{position:relative;display:flex;height:100%}.p-galleria-item-nav{position:absolute;top:50%;margin-top:-.5rem;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-item-prev{left:0;border-top-left-radius:0;border-bottom-left-radius:0}.p-galleria-item-next{right:0;border-top-right-radius:0;border-bottom-right-radius:0}.p-galleria-item{display:flex;justify-content:center;align-items:center;height:100%;width:100%}.p-galleria-item-nav-onhover .p-galleria-item-nav{pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav,.p-galleria-item-nav-onhover .p-galleria-item-nav-focused{pointer-events:all;opacity:1}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled{pointer-events:none}.p-galleria-caption{position:absolute;bottom:0;left:0;width:100%}.p-galleria-thumbnail-wrapper{display:flex;flex-direction:column;overflow:auto;flex-shrink:0}.p-galleria-thumbnail-prev,.p-galleria-thumbnail-next{align-self:center;flex:0 0 auto;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-galleria-thumbnail-prev span,.p-galleria-thumbnail-next span{display:flex;justify-content:center;align-items:center}.p-galleria-thumbnail-container{display:flex;flex-direction:row}.p-galleria-thumbnail-items-container{overflow:hidden;width:100%}.p-galleria-thumbnail-items{display:flex}.p-galleria-thumbnail-item{overflow:auto;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.5}.p-galleria-thumbnail-item:hover{opacity:1;transition:opacity .3s}.p-galleria-thumbnail-item-current{opacity:1}.p-galleria-thumbnails-left .p-galleria-content,.p-galleria-thumbnails-right .p-galleria-content,.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-right .p-galleria-item-wrapper{flex-direction:row}.p-galleria-thumbnails-left p-galleriaitem,.p-galleria-thumbnails-top p-galleriaitem{order:2}.p-galleria-thumbnails-left p-galleriathumbnails,.p-galleria-thumbnails-top p-galleriathumbnails{order:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-container,.p-galleria-thumbnails-right .p-galleria-thumbnail-container{flex-direction:column;flex-grow:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-items,.p-galleria-thumbnails-right .p-galleria-thumbnail-items{flex-direction:column;height:100%}.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,.p-galleria-thumbnails-right .p-galleria-thumbnail-wrapper{height:100%}.p-galleria-indicators{display:flex;align-items:center;justify-content:center}.p-galleria-indicator>button{display:inline-flex;align-items:center}.p-galleria-indicators-left .p-galleria-item-wrapper,.p-galleria-indicators-right .p-galleria-item-wrapper{flex-direction:row;align-items:center}.p-galleria-indicators-left .p-galleria-item-container,.p-galleria-indicators-top .p-galleria-item-container{order:2}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-top .p-galleria-indicators{order:1}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-right .p-galleria-indicators{flex-direction:column}.p-galleria-indicator-onitem .p-galleria-indicators{position:absolute;display:flex;z-index:1}.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators{top:0;left:0;width:100%;align-items:flex-start}.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators{right:0;top:0;height:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators{bottom:0;left:0;width:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators{left:0;top:0;height:100%;align-items:flex-start}.p-galleria-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:transparent;transition-property:background-color}.p-galleria-close{position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-mask .p-galleria-item-nav{position:fixed;top:50%;margin-top:-.5rem}.p-galleria-mask.p-galleria-mask-leave{background-color:transparent}.p-items-hidden .p-galleria-thumbnail-item{visibility:hidden}.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active{visibility:visible}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => GalleriaContent), selector: "p-galleriaContent", inputs: ["activeIndex", "value", "numVisible", "fullScreen"], outputs: ["maskHide", "activeItemChange"] }], animations: [
|
|
338
|
+
trigger('animation', [
|
|
339
|
+
transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
|
|
340
|
+
transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
|
|
341
|
+
])
|
|
342
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
343
|
+
}
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: Galleria, decorators: [{
|
|
345
|
+
type: Component,
|
|
346
|
+
args: [{ selector: 'p-galleria', template: `
|
|
347
|
+
<div *ngIf="fullScreen; else windowed" #container>
|
|
348
|
+
<div
|
|
349
|
+
*ngIf="maskVisible"
|
|
350
|
+
#mask
|
|
351
|
+
[ngClass]="{ 'p-galleria-mask p-component-overlay p-component-overlay-enter': true, 'p-galleria-visible': this.visible }"
|
|
352
|
+
[class]="maskClass"
|
|
353
|
+
[attr.role]="fullScreen ? 'dialog' : 'region'"
|
|
354
|
+
[attr.aria-modal]="fullScreen ? 'true' : undefined"
|
|
355
|
+
>
|
|
356
|
+
<p-galleriaContent
|
|
357
|
+
*ngIf="visible"
|
|
358
|
+
[@animation]="{ value: 'visible', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }"
|
|
359
|
+
(@animation.start)="onAnimationStart($event)"
|
|
360
|
+
(@animation.done)="onAnimationEnd($event)"
|
|
361
|
+
[value]="value"
|
|
362
|
+
[activeIndex]="activeIndex"
|
|
363
|
+
[numVisible]="numVisibleLimit || numVisible"
|
|
364
|
+
(maskHide)="onMaskHide()"
|
|
365
|
+
(activeItemChange)="onActiveItemChange($event)"
|
|
366
|
+
[ngStyle]="containerStyle"
|
|
367
|
+
[fullScreen]="fullScreen"
|
|
368
|
+
></p-galleriaContent>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
<ng-template #windowed>
|
|
373
|
+
<p-galleriaContent [value]="value" [activeIndex]="activeIndex" [numVisible]="numVisibleLimit || numVisible" (activeItemChange)="onActiveItemChange($event)"></p-galleriaContent>
|
|
374
|
+
</ng-template>
|
|
375
|
+
`, animations: [
|
|
376
|
+
trigger('animation', [
|
|
377
|
+
transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
|
|
378
|
+
transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
|
|
379
|
+
])
|
|
380
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
381
|
+
class: 'cax-element'
|
|
382
|
+
}, styles: ["@layer cax{.p-galleria-content{display:flex;flex-direction:column}.p-galleria-item-wrapper{display:flex;flex-direction:column;position:relative}.p-galleria-item-container{position:relative;display:flex;height:100%}.p-galleria-item-nav{position:absolute;top:50%;margin-top:-.5rem;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-item-prev{left:0;border-top-left-radius:0;border-bottom-left-radius:0}.p-galleria-item-next{right:0;border-top-right-radius:0;border-bottom-right-radius:0}.p-galleria-item{display:flex;justify-content:center;align-items:center;height:100%;width:100%}.p-galleria-item-nav-onhover .p-galleria-item-nav{pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav,.p-galleria-item-nav-onhover .p-galleria-item-nav-focused{pointer-events:all;opacity:1}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled{pointer-events:none}.p-galleria-caption{position:absolute;bottom:0;left:0;width:100%}.p-galleria-thumbnail-wrapper{display:flex;flex-direction:column;overflow:auto;flex-shrink:0}.p-galleria-thumbnail-prev,.p-galleria-thumbnail-next{align-self:center;flex:0 0 auto;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-galleria-thumbnail-prev span,.p-galleria-thumbnail-next span{display:flex;justify-content:center;align-items:center}.p-galleria-thumbnail-container{display:flex;flex-direction:row}.p-galleria-thumbnail-items-container{overflow:hidden;width:100%}.p-galleria-thumbnail-items{display:flex}.p-galleria-thumbnail-item{overflow:auto;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.5}.p-galleria-thumbnail-item:hover{opacity:1;transition:opacity .3s}.p-galleria-thumbnail-item-current{opacity:1}.p-galleria-thumbnails-left .p-galleria-content,.p-galleria-thumbnails-right .p-galleria-content,.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-right .p-galleria-item-wrapper{flex-direction:row}.p-galleria-thumbnails-left p-galleriaitem,.p-galleria-thumbnails-top p-galleriaitem{order:2}.p-galleria-thumbnails-left p-galleriathumbnails,.p-galleria-thumbnails-top p-galleriathumbnails{order:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-container,.p-galleria-thumbnails-right .p-galleria-thumbnail-container{flex-direction:column;flex-grow:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-items,.p-galleria-thumbnails-right .p-galleria-thumbnail-items{flex-direction:column;height:100%}.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,.p-galleria-thumbnails-right .p-galleria-thumbnail-wrapper{height:100%}.p-galleria-indicators{display:flex;align-items:center;justify-content:center}.p-galleria-indicator>button{display:inline-flex;align-items:center}.p-galleria-indicators-left .p-galleria-item-wrapper,.p-galleria-indicators-right .p-galleria-item-wrapper{flex-direction:row;align-items:center}.p-galleria-indicators-left .p-galleria-item-container,.p-galleria-indicators-top .p-galleria-item-container{order:2}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-top .p-galleria-indicators{order:1}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-right .p-galleria-indicators{flex-direction:column}.p-galleria-indicator-onitem .p-galleria-indicators{position:absolute;display:flex;z-index:1}.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators{top:0;left:0;width:100%;align-items:flex-start}.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators{right:0;top:0;height:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators{bottom:0;left:0;width:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators{left:0;top:0;height:100%;align-items:flex-start}.p-galleria-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:transparent;transition-property:background-color}.p-galleria-close{position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-mask .p-galleria-item-nav{position:fixed;top:50%;margin-top:-.5rem}.p-galleria-mask.p-galleria-mask-leave{background-color:transparent}.p-items-hidden .p-galleria-thumbnail-item{visibility:hidden}.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active{visibility:visible}}\n"] }]
|
|
383
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
384
|
+
type: Inject,
|
|
385
|
+
args: [DOCUMENT]
|
|
386
|
+
}] }, { type: undefined, decorators: [{
|
|
387
|
+
type: Inject,
|
|
388
|
+
args: [PLATFORM_ID]
|
|
389
|
+
}] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.caxConfig }], propDecorators: { activeIndex: [{
|
|
390
|
+
type: Input
|
|
391
|
+
}], fullScreen: [{
|
|
392
|
+
type: Input,
|
|
393
|
+
args: [{ transform: booleanAttribute }]
|
|
394
|
+
}], id: [{
|
|
395
|
+
type: Input
|
|
396
|
+
}], value: [{
|
|
397
|
+
type: Input
|
|
398
|
+
}], numVisible: [{
|
|
399
|
+
type: Input,
|
|
400
|
+
args: [{ transform: numberAttribute }]
|
|
401
|
+
}], responsiveOptions: [{
|
|
402
|
+
type: Input
|
|
403
|
+
}], showItemNavigators: [{
|
|
404
|
+
type: Input,
|
|
405
|
+
args: [{ transform: booleanAttribute }]
|
|
406
|
+
}], showThumbnailNavigators: [{
|
|
407
|
+
type: Input,
|
|
408
|
+
args: [{ transform: booleanAttribute }]
|
|
409
|
+
}], showItemNavigatorsOnHover: [{
|
|
410
|
+
type: Input,
|
|
411
|
+
args: [{ transform: booleanAttribute }]
|
|
412
|
+
}], changeItemOnIndicatorHover: [{
|
|
413
|
+
type: Input,
|
|
414
|
+
args: [{ transform: booleanAttribute }]
|
|
415
|
+
}], circular: [{
|
|
416
|
+
type: Input,
|
|
417
|
+
args: [{ transform: booleanAttribute }]
|
|
418
|
+
}], autoPlay: [{
|
|
419
|
+
type: Input,
|
|
420
|
+
args: [{ transform: booleanAttribute }]
|
|
421
|
+
}], shouldStopAutoplayByClick: [{
|
|
422
|
+
type: Input,
|
|
423
|
+
args: [{ transform: booleanAttribute }]
|
|
424
|
+
}], transitionInterval: [{
|
|
425
|
+
type: Input,
|
|
426
|
+
args: [{ transform: numberAttribute }]
|
|
427
|
+
}], showThumbnails: [{
|
|
428
|
+
type: Input,
|
|
429
|
+
args: [{ transform: booleanAttribute }]
|
|
430
|
+
}], thumbnailsPosition: [{
|
|
431
|
+
type: Input
|
|
432
|
+
}], verticalThumbnailViewPortHeight: [{
|
|
433
|
+
type: Input
|
|
434
|
+
}], showIndicators: [{
|
|
435
|
+
type: Input,
|
|
436
|
+
args: [{ transform: booleanAttribute }]
|
|
437
|
+
}], showIndicatorsOnItem: [{
|
|
438
|
+
type: Input,
|
|
439
|
+
args: [{ transform: booleanAttribute }]
|
|
440
|
+
}], indicatorsPosition: [{
|
|
441
|
+
type: Input
|
|
442
|
+
}], baseZIndex: [{
|
|
443
|
+
type: Input,
|
|
444
|
+
args: [{ transform: numberAttribute }]
|
|
445
|
+
}], maskClass: [{
|
|
446
|
+
type: Input
|
|
447
|
+
}], containerClass: [{
|
|
448
|
+
type: Input
|
|
449
|
+
}], containerStyle: [{
|
|
450
|
+
type: Input
|
|
451
|
+
}], showTransitionOptions: [{
|
|
452
|
+
type: Input
|
|
453
|
+
}], hideTransitionOptions: [{
|
|
454
|
+
type: Input
|
|
455
|
+
}], visible: [{
|
|
456
|
+
type: Input
|
|
457
|
+
}], activeIndexChange: [{
|
|
458
|
+
type: Output
|
|
459
|
+
}], visibleChange: [{
|
|
460
|
+
type: Output
|
|
461
|
+
}], mask: [{
|
|
462
|
+
type: ViewChild,
|
|
463
|
+
args: ['mask']
|
|
464
|
+
}], container: [{
|
|
465
|
+
type: ViewChild,
|
|
466
|
+
args: ['container']
|
|
467
|
+
}], templates: [{
|
|
468
|
+
type: ContentChildren,
|
|
469
|
+
args: [CaxTemplate]
|
|
470
|
+
}] } });
|
|
471
|
+
class GalleriaContent {
|
|
472
|
+
galleria;
|
|
473
|
+
cd;
|
|
474
|
+
differs;
|
|
475
|
+
config;
|
|
476
|
+
elementRef;
|
|
477
|
+
get activeIndex() {
|
|
478
|
+
return this._activeIndex;
|
|
479
|
+
}
|
|
480
|
+
set activeIndex(activeIndex) {
|
|
481
|
+
this._activeIndex = activeIndex;
|
|
482
|
+
}
|
|
483
|
+
value = [];
|
|
484
|
+
numVisible;
|
|
485
|
+
fullScreen;
|
|
486
|
+
maskHide = new EventEmitter();
|
|
487
|
+
activeItemChange = new EventEmitter();
|
|
488
|
+
closeButton;
|
|
489
|
+
id;
|
|
490
|
+
_activeIndex = 0;
|
|
491
|
+
slideShowActive = true;
|
|
492
|
+
interval;
|
|
493
|
+
styleClass;
|
|
494
|
+
differ;
|
|
495
|
+
constructor(galleria, cd, differs, config, elementRef) {
|
|
496
|
+
this.galleria = galleria;
|
|
497
|
+
this.cd = cd;
|
|
498
|
+
this.differs = differs;
|
|
499
|
+
this.config = config;
|
|
500
|
+
this.elementRef = elementRef;
|
|
501
|
+
this.id = this.galleria.id || UniqueComponentId();
|
|
502
|
+
this.differ = this.differs.find(this.galleria).create();
|
|
503
|
+
}
|
|
504
|
+
// For custom fullscreen
|
|
505
|
+
handleFullscreenChange(event) {
|
|
506
|
+
if (document?.fullscreenElement === this.elementRef.nativeElement?.children[0]) {
|
|
507
|
+
this.fullScreen = true;
|
|
508
|
+
}
|
|
509
|
+
else {
|
|
510
|
+
this.fullScreen = false;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
ngDoCheck() {
|
|
514
|
+
if (isPlatformBrowser(this.galleria.platformId)) {
|
|
515
|
+
const changes = this.differ.diff(this.galleria);
|
|
516
|
+
if (changes && changes.forEachItem.length > 0) {
|
|
517
|
+
// Because we change the properties of the parent component,
|
|
518
|
+
// and the children take our entity from the injector.
|
|
519
|
+
// We can tell the children to redraw themselves when we change the properties of the parent component.
|
|
520
|
+
// Since we have an onPush strategy
|
|
521
|
+
this.cd.markForCheck();
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
galleriaClass() {
|
|
526
|
+
const thumbnailsPosClass = this.galleria.showThumbnails && this.getPositionClass('p-galleria-thumbnails', this.galleria.thumbnailsPosition);
|
|
527
|
+
const indicatorPosClass = this.galleria.showIndicators && this.getPositionClass('p-galleria-indicators', this.galleria.indicatorsPosition);
|
|
528
|
+
return (this.galleria.containerClass ? this.galleria.containerClass + ' ' : '') + (thumbnailsPosClass ? thumbnailsPosClass + ' ' : '') + (indicatorPosClass ? indicatorPosClass + ' ' : '');
|
|
529
|
+
}
|
|
530
|
+
startSlideShow() {
|
|
531
|
+
if (isPlatformBrowser(this.galleria.platformId)) {
|
|
532
|
+
this.interval = setInterval(() => {
|
|
533
|
+
let activeIndex = this.galleria.circular && this.value.length - 1 === this.activeIndex ? 0 : this.activeIndex + 1;
|
|
534
|
+
this.onActiveIndexChange(activeIndex);
|
|
535
|
+
this.activeIndex = activeIndex;
|
|
536
|
+
}, this.galleria.transitionInterval);
|
|
537
|
+
this.slideShowActive = true;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
stopSlideShow() {
|
|
541
|
+
if (this.galleria.autoPlay && !this.galleria.shouldStopAutoplayByClick) {
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
if (this.interval) {
|
|
545
|
+
clearInterval(this.interval);
|
|
546
|
+
}
|
|
547
|
+
this.slideShowActive = false;
|
|
548
|
+
}
|
|
549
|
+
getPositionClass(preClassName, position) {
|
|
550
|
+
const positions = ['top', 'left', 'bottom', 'right'];
|
|
551
|
+
const pos = positions.find((item) => item === position);
|
|
552
|
+
return pos ? `${preClassName}-${pos}` : '';
|
|
553
|
+
}
|
|
554
|
+
isVertical() {
|
|
555
|
+
return this.galleria.thumbnailsPosition === 'left' || this.galleria.thumbnailsPosition === 'right';
|
|
556
|
+
}
|
|
557
|
+
onActiveIndexChange(index) {
|
|
558
|
+
if (this.activeIndex !== index) {
|
|
559
|
+
this.activeIndex = index;
|
|
560
|
+
this.activeItemChange.emit(this.activeIndex);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
closeAriaLabel() {
|
|
564
|
+
return this.config.translation.aria ? this.config.translation.aria.close : undefined;
|
|
565
|
+
}
|
|
566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaContent, deps: [{ token: Galleria }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i1.caxConfig }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
567
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: GalleriaContent, selector: "p-galleriaContent", inputs: { activeIndex: "activeIndex", value: "value", numVisible: ["numVisible", "numVisible", numberAttribute], fullScreen: ["fullScreen", "fullScreen", booleanAttribute] }, outputs: { maskHide: "maskHide", activeItemChange: "activeItemChange" }, host: { listeners: { "document:fullscreenchange": "handleFullscreenChange($event)" } }, viewQueries: [{ propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true }], ngImport: i0, template: `
|
|
568
|
+
<div
|
|
569
|
+
[attr.id]="id"
|
|
570
|
+
[attr.role]="'region'"
|
|
571
|
+
*ngIf="value && value.length > 0"
|
|
572
|
+
[ngClass]="{
|
|
573
|
+
'p-galleria p-component': true,
|
|
574
|
+
'p-galleria-fullscreen': this.galleria.fullScreen,
|
|
575
|
+
'p-galleria-indicator-onitem': this.galleria.showIndicatorsOnItem,
|
|
576
|
+
'p-galleria-item-nav-onhover': this.galleria.showItemNavigatorsOnHover && !this.galleria.fullScreen
|
|
577
|
+
}"
|
|
578
|
+
[ngStyle]="!galleria.fullScreen ? galleria.containerStyle : {}"
|
|
579
|
+
[class]="galleriaClass()"
|
|
580
|
+
caxFocusTrap
|
|
581
|
+
[caxFocusTrapDisabled]="!fullScreen"
|
|
582
|
+
>
|
|
583
|
+
<button *ngIf="galleria.fullScreen" type="button" class="p-galleria-close p-link" (click)="maskHide.emit()" pRipple [attr.aria-label]="closeAriaLabel()" [attr.data-pc-section]="'closebutton'">
|
|
584
|
+
<TimesIcon *ngIf="!galleria.closeIconTemplate" [styleClass]="'p-galleria-close-icon'" />
|
|
585
|
+
<ng-template *ngTemplateOutlet="galleria.closeIconTemplate"></ng-template>
|
|
586
|
+
</button>
|
|
587
|
+
<div *ngIf="galleria.templates && galleria.headerFacet" class="p-galleria-header">
|
|
588
|
+
<p-galleriaItemSlot type="header" [templates]="galleria.templates"></p-galleriaItemSlot>
|
|
589
|
+
</div>
|
|
590
|
+
<div class="p-galleria-content" [attr.aria-live]="galleria.autoPlay ? 'polite' : 'off'">
|
|
591
|
+
<p-galleriaItem
|
|
592
|
+
[id]="id"
|
|
593
|
+
[value]="value"
|
|
594
|
+
[activeIndex]="activeIndex"
|
|
595
|
+
[circular]="galleria.circular"
|
|
596
|
+
[templates]="galleria.templates"
|
|
597
|
+
(onActiveIndexChange)="onActiveIndexChange($event)"
|
|
598
|
+
[showIndicators]="galleria.showIndicators"
|
|
599
|
+
[changeItemOnIndicatorHover]="galleria.changeItemOnIndicatorHover"
|
|
600
|
+
[indicatorFacet]="galleria.indicatorFacet"
|
|
601
|
+
[captionFacet]="galleria.captionFacet"
|
|
602
|
+
[showItemNavigators]="galleria.showItemNavigators"
|
|
603
|
+
[autoPlay]="galleria.autoPlay"
|
|
604
|
+
[slideShowActive]="slideShowActive"
|
|
605
|
+
(startSlideShow)="startSlideShow()"
|
|
606
|
+
(stopSlideShow)="stopSlideShow()"
|
|
607
|
+
></p-galleriaItem>
|
|
608
|
+
|
|
609
|
+
<p-galleriaThumbnails
|
|
610
|
+
*ngIf="galleria.showThumbnails"
|
|
611
|
+
[containerId]="id"
|
|
612
|
+
[value]="value"
|
|
613
|
+
(onActiveIndexChange)="onActiveIndexChange($event)"
|
|
614
|
+
[activeIndex]="activeIndex"
|
|
615
|
+
[templates]="galleria.templates"
|
|
616
|
+
[numVisible]="numVisible"
|
|
617
|
+
[responsiveOptions]="galleria.responsiveOptions"
|
|
618
|
+
[circular]="galleria.circular"
|
|
619
|
+
[isVertical]="isVertical()"
|
|
620
|
+
[contentHeight]="galleria.verticalThumbnailViewPortHeight"
|
|
621
|
+
[showThumbnailNavigators]="galleria.showThumbnailNavigators"
|
|
622
|
+
[slideShowActive]="slideShowActive"
|
|
623
|
+
(stopSlideShow)="stopSlideShow()"
|
|
624
|
+
></p-galleriaThumbnails>
|
|
625
|
+
</div>
|
|
626
|
+
<div *ngIf="galleria.templates && galleria.footerFacet" class="p-galleria-footer">
|
|
627
|
+
<p-galleriaItemSlot type="footer" [templates]="galleria.templates"></p-galleriaItemSlot>
|
|
628
|
+
</div>
|
|
629
|
+
</div>
|
|
630
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "directive", type: i0.forwardRef(() => i3.FocusTrap), selector: "[caxFocusTrap]", inputs: ["caxFocusTrapDisabled"] }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }, { kind: "component", type: i0.forwardRef(() => GalleriaItem), selector: "p-galleriaItem", inputs: ["id", "circular", "value", "showItemNavigators", "showIndicators", "slideShowActive", "changeItemOnIndicatorHover", "autoPlay", "templates", "indicatorFacet", "captionFacet", "activeIndex"], outputs: ["startSlideShow", "stopSlideShow", "onActiveIndexChange"] }, { kind: "component", type: i0.forwardRef(() => GalleriaThumbnails), selector: "p-galleriaThumbnails", inputs: ["containerId", "value", "isVertical", "slideShowActive", "circular", "responsiveOptions", "contentHeight", "showThumbnailNavigators", "templates", "numVisible", "activeIndex"], outputs: ["onActiveIndexChange", "stopSlideShow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
631
|
+
}
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaContent, decorators: [{
|
|
633
|
+
type: Component,
|
|
634
|
+
args: [{
|
|
635
|
+
selector: 'p-galleriaContent',
|
|
636
|
+
template: `
|
|
637
|
+
<div
|
|
638
|
+
[attr.id]="id"
|
|
639
|
+
[attr.role]="'region'"
|
|
640
|
+
*ngIf="value && value.length > 0"
|
|
641
|
+
[ngClass]="{
|
|
642
|
+
'p-galleria p-component': true,
|
|
643
|
+
'p-galleria-fullscreen': this.galleria.fullScreen,
|
|
644
|
+
'p-galleria-indicator-onitem': this.galleria.showIndicatorsOnItem,
|
|
645
|
+
'p-galleria-item-nav-onhover': this.galleria.showItemNavigatorsOnHover && !this.galleria.fullScreen
|
|
646
|
+
}"
|
|
647
|
+
[ngStyle]="!galleria.fullScreen ? galleria.containerStyle : {}"
|
|
648
|
+
[class]="galleriaClass()"
|
|
649
|
+
caxFocusTrap
|
|
650
|
+
[caxFocusTrapDisabled]="!fullScreen"
|
|
651
|
+
>
|
|
652
|
+
<button *ngIf="galleria.fullScreen" type="button" class="p-galleria-close p-link" (click)="maskHide.emit()" pRipple [attr.aria-label]="closeAriaLabel()" [attr.data-pc-section]="'closebutton'">
|
|
653
|
+
<TimesIcon *ngIf="!galleria.closeIconTemplate" [styleClass]="'p-galleria-close-icon'" />
|
|
654
|
+
<ng-template *ngTemplateOutlet="galleria.closeIconTemplate"></ng-template>
|
|
655
|
+
</button>
|
|
656
|
+
<div *ngIf="galleria.templates && galleria.headerFacet" class="p-galleria-header">
|
|
657
|
+
<p-galleriaItemSlot type="header" [templates]="galleria.templates"></p-galleriaItemSlot>
|
|
658
|
+
</div>
|
|
659
|
+
<div class="p-galleria-content" [attr.aria-live]="galleria.autoPlay ? 'polite' : 'off'">
|
|
660
|
+
<p-galleriaItem
|
|
661
|
+
[id]="id"
|
|
662
|
+
[value]="value"
|
|
663
|
+
[activeIndex]="activeIndex"
|
|
664
|
+
[circular]="galleria.circular"
|
|
665
|
+
[templates]="galleria.templates"
|
|
666
|
+
(onActiveIndexChange)="onActiveIndexChange($event)"
|
|
667
|
+
[showIndicators]="galleria.showIndicators"
|
|
668
|
+
[changeItemOnIndicatorHover]="galleria.changeItemOnIndicatorHover"
|
|
669
|
+
[indicatorFacet]="galleria.indicatorFacet"
|
|
670
|
+
[captionFacet]="galleria.captionFacet"
|
|
671
|
+
[showItemNavigators]="galleria.showItemNavigators"
|
|
672
|
+
[autoPlay]="galleria.autoPlay"
|
|
673
|
+
[slideShowActive]="slideShowActive"
|
|
674
|
+
(startSlideShow)="startSlideShow()"
|
|
675
|
+
(stopSlideShow)="stopSlideShow()"
|
|
676
|
+
></p-galleriaItem>
|
|
677
|
+
|
|
678
|
+
<p-galleriaThumbnails
|
|
679
|
+
*ngIf="galleria.showThumbnails"
|
|
680
|
+
[containerId]="id"
|
|
681
|
+
[value]="value"
|
|
682
|
+
(onActiveIndexChange)="onActiveIndexChange($event)"
|
|
683
|
+
[activeIndex]="activeIndex"
|
|
684
|
+
[templates]="galleria.templates"
|
|
685
|
+
[numVisible]="numVisible"
|
|
686
|
+
[responsiveOptions]="galleria.responsiveOptions"
|
|
687
|
+
[circular]="galleria.circular"
|
|
688
|
+
[isVertical]="isVertical()"
|
|
689
|
+
[contentHeight]="galleria.verticalThumbnailViewPortHeight"
|
|
690
|
+
[showThumbnailNavigators]="galleria.showThumbnailNavigators"
|
|
691
|
+
[slideShowActive]="slideShowActive"
|
|
692
|
+
(stopSlideShow)="stopSlideShow()"
|
|
693
|
+
></p-galleriaThumbnails>
|
|
694
|
+
</div>
|
|
695
|
+
<div *ngIf="galleria.templates && galleria.footerFacet" class="p-galleria-footer">
|
|
696
|
+
<p-galleriaItemSlot type="footer" [templates]="galleria.templates"></p-galleriaItemSlot>
|
|
697
|
+
</div>
|
|
698
|
+
</div>
|
|
699
|
+
`,
|
|
700
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
701
|
+
}]
|
|
702
|
+
}], ctorParameters: () => [{ type: Galleria }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i1.caxConfig }, { type: i0.ElementRef }], propDecorators: { activeIndex: [{
|
|
703
|
+
type: Input
|
|
704
|
+
}], value: [{
|
|
705
|
+
type: Input
|
|
706
|
+
}], numVisible: [{
|
|
707
|
+
type: Input,
|
|
708
|
+
args: [{ transform: numberAttribute }]
|
|
709
|
+
}], fullScreen: [{
|
|
710
|
+
type: Input,
|
|
711
|
+
args: [{ transform: booleanAttribute }]
|
|
712
|
+
}], maskHide: [{
|
|
713
|
+
type: Output
|
|
714
|
+
}], activeItemChange: [{
|
|
715
|
+
type: Output
|
|
716
|
+
}], closeButton: [{
|
|
717
|
+
type: ViewChild,
|
|
718
|
+
args: ['closeButton']
|
|
719
|
+
}], handleFullscreenChange: [{
|
|
720
|
+
type: HostListener,
|
|
721
|
+
args: ['document:fullscreenchange', ['$event']]
|
|
722
|
+
}] } });
|
|
723
|
+
class GalleriaItemSlot {
|
|
724
|
+
templates;
|
|
725
|
+
index;
|
|
726
|
+
get item() {
|
|
727
|
+
return this._item;
|
|
728
|
+
}
|
|
729
|
+
set item(item) {
|
|
730
|
+
this._item = item;
|
|
731
|
+
if (this.templates) {
|
|
732
|
+
this.templates.forEach((item) => {
|
|
733
|
+
if (item.getType() === this.type) {
|
|
734
|
+
switch (this.type) {
|
|
735
|
+
case 'item':
|
|
736
|
+
case 'caption':
|
|
737
|
+
case 'thumbnail':
|
|
738
|
+
this.context = { $implicit: this.item };
|
|
739
|
+
this.contentTemplate = item.template;
|
|
740
|
+
break;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
type;
|
|
747
|
+
contentTemplate;
|
|
748
|
+
context;
|
|
749
|
+
_item;
|
|
750
|
+
ngAfterContentInit() {
|
|
751
|
+
this.templates?.forEach((item) => {
|
|
752
|
+
if (item.getType() === this.type) {
|
|
753
|
+
switch (this.type) {
|
|
754
|
+
case 'item':
|
|
755
|
+
case 'caption':
|
|
756
|
+
case 'thumbnail':
|
|
757
|
+
this.context = { $implicit: this.item };
|
|
758
|
+
this.contentTemplate = item.template;
|
|
759
|
+
break;
|
|
760
|
+
case 'indicator':
|
|
761
|
+
this.context = { $implicit: this.index };
|
|
762
|
+
this.contentTemplate = item.template;
|
|
763
|
+
break;
|
|
764
|
+
default:
|
|
765
|
+
this.context = {};
|
|
766
|
+
this.contentTemplate = item.template;
|
|
767
|
+
break;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaItemSlot, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
773
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: GalleriaItemSlot, selector: "p-galleriaItemSlot", inputs: { templates: "templates", index: ["index", "index", numberAttribute], item: "item", type: "type" }, ngImport: i0, template: `
|
|
774
|
+
<ng-container *ngIf="contentTemplate">
|
|
775
|
+
<ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
|
|
776
|
+
</ng-container>
|
|
777
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
778
|
+
}
|
|
779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaItemSlot, decorators: [{
|
|
780
|
+
type: Component,
|
|
781
|
+
args: [{
|
|
782
|
+
selector: 'p-galleriaItemSlot',
|
|
783
|
+
template: `
|
|
784
|
+
<ng-container *ngIf="contentTemplate">
|
|
785
|
+
<ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
|
|
786
|
+
</ng-container>
|
|
787
|
+
`,
|
|
788
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
789
|
+
}]
|
|
790
|
+
}], propDecorators: { templates: [{
|
|
791
|
+
type: Input
|
|
792
|
+
}], index: [{
|
|
793
|
+
type: Input,
|
|
794
|
+
args: [{ transform: numberAttribute }]
|
|
795
|
+
}], item: [{
|
|
796
|
+
type: Input
|
|
797
|
+
}], type: [{
|
|
798
|
+
type: Input
|
|
799
|
+
}] } });
|
|
800
|
+
class GalleriaItem {
|
|
801
|
+
galleria;
|
|
802
|
+
id;
|
|
803
|
+
circular = false;
|
|
804
|
+
value;
|
|
805
|
+
showItemNavigators = false;
|
|
806
|
+
showIndicators = true;
|
|
807
|
+
slideShowActive = true;
|
|
808
|
+
changeItemOnIndicatorHover = true;
|
|
809
|
+
autoPlay = false;
|
|
810
|
+
templates;
|
|
811
|
+
indicatorFacet;
|
|
812
|
+
captionFacet;
|
|
813
|
+
startSlideShow = new EventEmitter();
|
|
814
|
+
stopSlideShow = new EventEmitter();
|
|
815
|
+
onActiveIndexChange = new EventEmitter();
|
|
816
|
+
get activeIndex() {
|
|
817
|
+
return this._activeIndex;
|
|
818
|
+
}
|
|
819
|
+
set activeIndex(activeIndex) {
|
|
820
|
+
this._activeIndex = activeIndex;
|
|
821
|
+
}
|
|
822
|
+
get activeItem() {
|
|
823
|
+
return this.value && this.value[this._activeIndex];
|
|
824
|
+
}
|
|
825
|
+
_activeIndex = 0;
|
|
826
|
+
leftButtonFocused = false;
|
|
827
|
+
rightButtonFocused = false;
|
|
828
|
+
constructor(galleria) {
|
|
829
|
+
this.galleria = galleria;
|
|
830
|
+
}
|
|
831
|
+
ngOnChanges({ autoPlay }) {
|
|
832
|
+
if (autoPlay?.currentValue) {
|
|
833
|
+
this.startSlideShow.emit();
|
|
834
|
+
}
|
|
835
|
+
if (autoPlay && autoPlay.currentValue === false) {
|
|
836
|
+
this.stopTheSlideShow();
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
next() {
|
|
840
|
+
let nextItemIndex = this.activeIndex + 1;
|
|
841
|
+
let activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex;
|
|
842
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
843
|
+
}
|
|
844
|
+
prev() {
|
|
845
|
+
let prevItemIndex = this.activeIndex !== 0 ? this.activeIndex - 1 : 0;
|
|
846
|
+
let activeIndex = this.circular && this.activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
847
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
848
|
+
}
|
|
849
|
+
onButtonFocus(pos) {
|
|
850
|
+
if (pos === 'left') {
|
|
851
|
+
this.leftButtonFocused = true;
|
|
852
|
+
}
|
|
853
|
+
else
|
|
854
|
+
this.rightButtonFocused = true;
|
|
855
|
+
}
|
|
856
|
+
onButtonBlur(pos) {
|
|
857
|
+
if (pos === 'left') {
|
|
858
|
+
this.leftButtonFocused = false;
|
|
859
|
+
}
|
|
860
|
+
else
|
|
861
|
+
this.rightButtonFocused = false;
|
|
862
|
+
}
|
|
863
|
+
stopTheSlideShow() {
|
|
864
|
+
if (this.slideShowActive && this.stopSlideShow) {
|
|
865
|
+
this.stopSlideShow.emit();
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
navForward(e) {
|
|
869
|
+
this.stopTheSlideShow();
|
|
870
|
+
this.next();
|
|
871
|
+
if (e && e.cancelable) {
|
|
872
|
+
e.preventDefault();
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
navBackward(e) {
|
|
876
|
+
this.stopTheSlideShow();
|
|
877
|
+
this.prev();
|
|
878
|
+
if (e && e.cancelable) {
|
|
879
|
+
e.preventDefault();
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
onIndicatorClick(index) {
|
|
883
|
+
this.stopTheSlideShow();
|
|
884
|
+
this.onActiveIndexChange.emit(index);
|
|
885
|
+
}
|
|
886
|
+
onIndicatorMouseEnter(index) {
|
|
887
|
+
if (this.changeItemOnIndicatorHover) {
|
|
888
|
+
this.stopTheSlideShow();
|
|
889
|
+
this.onActiveIndexChange.emit(index);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
onIndicatorKeyDown(event, index) {
|
|
893
|
+
switch (event.code) {
|
|
894
|
+
case 'Enter':
|
|
895
|
+
case 'Space':
|
|
896
|
+
this.stopTheSlideShow();
|
|
897
|
+
this.onActiveIndexChange.emit(index);
|
|
898
|
+
event.preventDefault();
|
|
899
|
+
break;
|
|
900
|
+
case 'ArrowDown':
|
|
901
|
+
case 'ArrowUp':
|
|
902
|
+
event.preventDefault();
|
|
903
|
+
break;
|
|
904
|
+
default:
|
|
905
|
+
break;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
isNavForwardDisabled() {
|
|
909
|
+
return !this.circular && this.activeIndex === this.value.length - 1;
|
|
910
|
+
}
|
|
911
|
+
isNavBackwardDisabled() {
|
|
912
|
+
return !this.circular && this.activeIndex === 0;
|
|
913
|
+
}
|
|
914
|
+
isIndicatorItemActive(index) {
|
|
915
|
+
return this.activeIndex === index;
|
|
916
|
+
}
|
|
917
|
+
ariaSlideLabel() {
|
|
918
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.slide : undefined;
|
|
919
|
+
}
|
|
920
|
+
ariaSlideNumber(value) {
|
|
921
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.slideNumber.replace(/{slideNumber}/g, value) : undefined;
|
|
922
|
+
}
|
|
923
|
+
ariaPageLabel(value) {
|
|
924
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
925
|
+
}
|
|
926
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaItem, deps: [{ token: Galleria }], target: i0.ɵɵFactoryTarget.Component });
|
|
927
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: GalleriaItem, selector: "p-galleriaItem", inputs: { id: "id", circular: ["circular", "circular", booleanAttribute], value: "value", showItemNavigators: ["showItemNavigators", "showItemNavigators", booleanAttribute], showIndicators: ["showIndicators", "showIndicators", booleanAttribute], slideShowActive: ["slideShowActive", "slideShowActive", booleanAttribute], changeItemOnIndicatorHover: ["changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], autoPlay: ["autoPlay", "autoPlay", booleanAttribute], templates: "templates", indicatorFacet: "indicatorFacet", captionFacet: "captionFacet", activeIndex: "activeIndex" }, outputs: { startSlideShow: "startSlideShow", stopSlideShow: "stopSlideShow", onActiveIndexChange: "onActiveIndexChange" }, usesOnChanges: true, ngImport: i0, template: `
|
|
928
|
+
<div class="p-galleria-item-wrapper">
|
|
929
|
+
<div class="p-galleria-item-container">
|
|
930
|
+
<button
|
|
931
|
+
*ngIf="showItemNavigators"
|
|
932
|
+
type="button"
|
|
933
|
+
role="navigation"
|
|
934
|
+
[ngClass]="{ 'p-galleria-item-prev p-galleria-item-nav p-link': true, 'p-galleria-item-nav-focused': leftButtonFocused, 'p-disabled': this.isNavBackwardDisabled() }"
|
|
935
|
+
(click)="navBackward($event)"
|
|
936
|
+
[disabled]="isNavBackwardDisabled()"
|
|
937
|
+
pRipple
|
|
938
|
+
(focus)="onButtonFocus('left')"
|
|
939
|
+
(blur)="onButtonBlur('left')"
|
|
940
|
+
>
|
|
941
|
+
<ChevronLeftIcon *ngIf="!galleria.itemPreviousIconTemplate" [styleClass]="'p-galleria-item-prev-icon'" />
|
|
942
|
+
<ng-template *ngTemplateOutlet="galleria.itemPreviousIconTemplate"></ng-template>
|
|
943
|
+
</button>
|
|
944
|
+
<div [id]="id + '_item_' + activeIndex" role="group" [attr.aria-label]="ariaSlideNumber(activeIndex + 1)" [attr.aria-roledescription]="ariaSlideLabel()" [style.width]="'100%'">
|
|
945
|
+
<p-galleriaItemSlot type="item" [item]="activeItem" [templates]="templates" class="p-galleria-item"></p-galleriaItemSlot>
|
|
946
|
+
</div>
|
|
947
|
+
<button
|
|
948
|
+
*ngIf="showItemNavigators"
|
|
949
|
+
type="button"
|
|
950
|
+
[ngClass]="{ 'p-galleria-item-next p-galleria-item-nav p-link': true, 'p-galleria-item-nav-focused': rightButtonFocused, 'p-disabled': this.isNavForwardDisabled() }"
|
|
951
|
+
(click)="navForward($event)"
|
|
952
|
+
[disabled]="isNavForwardDisabled()"
|
|
953
|
+
pRipple
|
|
954
|
+
role="navigation"
|
|
955
|
+
(focus)="onButtonFocus('right')"
|
|
956
|
+
(blur)="onButtonBlur('right')"
|
|
957
|
+
>
|
|
958
|
+
<ChevronRightIcon *ngIf="!galleria.itemNextIconTemplate" [styleClass]="'p-galleria-item-next-icon'" />
|
|
959
|
+
<ng-template *ngTemplateOutlet="galleria.itemNextIconTemplate"></ng-template>
|
|
960
|
+
</button>
|
|
961
|
+
<div class="p-galleria-caption" *ngIf="captionFacet">
|
|
962
|
+
<p-galleriaItemSlot type="caption" [item]="activeItem" [templates]="templates"></p-galleriaItemSlot>
|
|
963
|
+
</div>
|
|
964
|
+
</div>
|
|
965
|
+
<ul *ngIf="showIndicators" class="p-galleria-indicators p-reset">
|
|
966
|
+
<li
|
|
967
|
+
*ngFor="let item of value; let index = index"
|
|
968
|
+
tabindex="0"
|
|
969
|
+
(click)="onIndicatorClick(index)"
|
|
970
|
+
(mouseenter)="onIndicatorMouseEnter(index)"
|
|
971
|
+
(keydown)="onIndicatorKeyDown($event, index)"
|
|
972
|
+
[ngClass]="{ 'p-galleria-indicator': true, 'p-highlight': isIndicatorItemActive(index) }"
|
|
973
|
+
[attr.aria-label]="ariaPageLabel(index + 1)"
|
|
974
|
+
[attr.aria-selected]="activeIndex === index"
|
|
975
|
+
[attr.aria-controls]="id + '_item_' + index"
|
|
976
|
+
>
|
|
977
|
+
<button type="button" tabIndex="-1" class="p-link" *ngIf="!indicatorFacet"></button>
|
|
978
|
+
<p-galleriaItemSlot type="indicator" [index]="index" [templates]="templates"></p-galleriaItemSlot>
|
|
979
|
+
</li>
|
|
980
|
+
</ul>
|
|
981
|
+
</div>
|
|
982
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronLeftIcon), selector: "ChevronLeftIcon" }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
983
|
+
}
|
|
984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaItem, decorators: [{
|
|
985
|
+
type: Component,
|
|
986
|
+
args: [{
|
|
987
|
+
selector: 'p-galleriaItem',
|
|
988
|
+
template: `
|
|
989
|
+
<div class="p-galleria-item-wrapper">
|
|
990
|
+
<div class="p-galleria-item-container">
|
|
991
|
+
<button
|
|
992
|
+
*ngIf="showItemNavigators"
|
|
993
|
+
type="button"
|
|
994
|
+
role="navigation"
|
|
995
|
+
[ngClass]="{ 'p-galleria-item-prev p-galleria-item-nav p-link': true, 'p-galleria-item-nav-focused': leftButtonFocused, 'p-disabled': this.isNavBackwardDisabled() }"
|
|
996
|
+
(click)="navBackward($event)"
|
|
997
|
+
[disabled]="isNavBackwardDisabled()"
|
|
998
|
+
pRipple
|
|
999
|
+
(focus)="onButtonFocus('left')"
|
|
1000
|
+
(blur)="onButtonBlur('left')"
|
|
1001
|
+
>
|
|
1002
|
+
<ChevronLeftIcon *ngIf="!galleria.itemPreviousIconTemplate" [styleClass]="'p-galleria-item-prev-icon'" />
|
|
1003
|
+
<ng-template *ngTemplateOutlet="galleria.itemPreviousIconTemplate"></ng-template>
|
|
1004
|
+
</button>
|
|
1005
|
+
<div [id]="id + '_item_' + activeIndex" role="group" [attr.aria-label]="ariaSlideNumber(activeIndex + 1)" [attr.aria-roledescription]="ariaSlideLabel()" [style.width]="'100%'">
|
|
1006
|
+
<p-galleriaItemSlot type="item" [item]="activeItem" [templates]="templates" class="p-galleria-item"></p-galleriaItemSlot>
|
|
1007
|
+
</div>
|
|
1008
|
+
<button
|
|
1009
|
+
*ngIf="showItemNavigators"
|
|
1010
|
+
type="button"
|
|
1011
|
+
[ngClass]="{ 'p-galleria-item-next p-galleria-item-nav p-link': true, 'p-galleria-item-nav-focused': rightButtonFocused, 'p-disabled': this.isNavForwardDisabled() }"
|
|
1012
|
+
(click)="navForward($event)"
|
|
1013
|
+
[disabled]="isNavForwardDisabled()"
|
|
1014
|
+
pRipple
|
|
1015
|
+
role="navigation"
|
|
1016
|
+
(focus)="onButtonFocus('right')"
|
|
1017
|
+
(blur)="onButtonBlur('right')"
|
|
1018
|
+
>
|
|
1019
|
+
<ChevronRightIcon *ngIf="!galleria.itemNextIconTemplate" [styleClass]="'p-galleria-item-next-icon'" />
|
|
1020
|
+
<ng-template *ngTemplateOutlet="galleria.itemNextIconTemplate"></ng-template>
|
|
1021
|
+
</button>
|
|
1022
|
+
<div class="p-galleria-caption" *ngIf="captionFacet">
|
|
1023
|
+
<p-galleriaItemSlot type="caption" [item]="activeItem" [templates]="templates"></p-galleriaItemSlot>
|
|
1024
|
+
</div>
|
|
1025
|
+
</div>
|
|
1026
|
+
<ul *ngIf="showIndicators" class="p-galleria-indicators p-reset">
|
|
1027
|
+
<li
|
|
1028
|
+
*ngFor="let item of value; let index = index"
|
|
1029
|
+
tabindex="0"
|
|
1030
|
+
(click)="onIndicatorClick(index)"
|
|
1031
|
+
(mouseenter)="onIndicatorMouseEnter(index)"
|
|
1032
|
+
(keydown)="onIndicatorKeyDown($event, index)"
|
|
1033
|
+
[ngClass]="{ 'p-galleria-indicator': true, 'p-highlight': isIndicatorItemActive(index) }"
|
|
1034
|
+
[attr.aria-label]="ariaPageLabel(index + 1)"
|
|
1035
|
+
[attr.aria-selected]="activeIndex === index"
|
|
1036
|
+
[attr.aria-controls]="id + '_item_' + index"
|
|
1037
|
+
>
|
|
1038
|
+
<button type="button" tabIndex="-1" class="p-link" *ngIf="!indicatorFacet"></button>
|
|
1039
|
+
<p-galleriaItemSlot type="indicator" [index]="index" [templates]="templates"></p-galleriaItemSlot>
|
|
1040
|
+
</li>
|
|
1041
|
+
</ul>
|
|
1042
|
+
</div>
|
|
1043
|
+
`,
|
|
1044
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1045
|
+
}]
|
|
1046
|
+
}], ctorParameters: () => [{ type: Galleria }], propDecorators: { id: [{
|
|
1047
|
+
type: Input
|
|
1048
|
+
}], circular: [{
|
|
1049
|
+
type: Input,
|
|
1050
|
+
args: [{ transform: booleanAttribute }]
|
|
1051
|
+
}], value: [{
|
|
1052
|
+
type: Input
|
|
1053
|
+
}], showItemNavigators: [{
|
|
1054
|
+
type: Input,
|
|
1055
|
+
args: [{ transform: booleanAttribute }]
|
|
1056
|
+
}], showIndicators: [{
|
|
1057
|
+
type: Input,
|
|
1058
|
+
args: [{ transform: booleanAttribute }]
|
|
1059
|
+
}], slideShowActive: [{
|
|
1060
|
+
type: Input,
|
|
1061
|
+
args: [{ transform: booleanAttribute }]
|
|
1062
|
+
}], changeItemOnIndicatorHover: [{
|
|
1063
|
+
type: Input,
|
|
1064
|
+
args: [{ transform: booleanAttribute }]
|
|
1065
|
+
}], autoPlay: [{
|
|
1066
|
+
type: Input,
|
|
1067
|
+
args: [{ transform: booleanAttribute }]
|
|
1068
|
+
}], templates: [{
|
|
1069
|
+
type: Input
|
|
1070
|
+
}], indicatorFacet: [{
|
|
1071
|
+
type: Input
|
|
1072
|
+
}], captionFacet: [{
|
|
1073
|
+
type: Input
|
|
1074
|
+
}], startSlideShow: [{
|
|
1075
|
+
type: Output
|
|
1076
|
+
}], stopSlideShow: [{
|
|
1077
|
+
type: Output
|
|
1078
|
+
}], onActiveIndexChange: [{
|
|
1079
|
+
type: Output
|
|
1080
|
+
}], activeIndex: [{
|
|
1081
|
+
type: Input
|
|
1082
|
+
}] } });
|
|
1083
|
+
class GalleriaThumbnails {
|
|
1084
|
+
galleria;
|
|
1085
|
+
document;
|
|
1086
|
+
platformId;
|
|
1087
|
+
renderer;
|
|
1088
|
+
cd;
|
|
1089
|
+
containerId;
|
|
1090
|
+
value;
|
|
1091
|
+
isVertical = false;
|
|
1092
|
+
slideShowActive = false;
|
|
1093
|
+
circular = false;
|
|
1094
|
+
responsiveOptions;
|
|
1095
|
+
contentHeight = '300px';
|
|
1096
|
+
showThumbnailNavigators = true;
|
|
1097
|
+
templates;
|
|
1098
|
+
onActiveIndexChange = new EventEmitter();
|
|
1099
|
+
stopSlideShow = new EventEmitter();
|
|
1100
|
+
itemsContainer;
|
|
1101
|
+
get numVisible() {
|
|
1102
|
+
return this._numVisible;
|
|
1103
|
+
}
|
|
1104
|
+
set numVisible(numVisible) {
|
|
1105
|
+
this._numVisible = numVisible;
|
|
1106
|
+
this._oldNumVisible = this.d_numVisible;
|
|
1107
|
+
this.d_numVisible = numVisible;
|
|
1108
|
+
}
|
|
1109
|
+
get activeIndex() {
|
|
1110
|
+
return this._activeIndex;
|
|
1111
|
+
}
|
|
1112
|
+
set activeIndex(activeIndex) {
|
|
1113
|
+
this._oldactiveIndex = this._activeIndex;
|
|
1114
|
+
this._activeIndex = activeIndex;
|
|
1115
|
+
}
|
|
1116
|
+
index;
|
|
1117
|
+
startPos = null;
|
|
1118
|
+
thumbnailsStyle = null;
|
|
1119
|
+
sortedResponsiveOptions = null;
|
|
1120
|
+
totalShiftedItems = 0;
|
|
1121
|
+
page = 0;
|
|
1122
|
+
documentResizeListener;
|
|
1123
|
+
_numVisible = 0;
|
|
1124
|
+
d_numVisible = 0;
|
|
1125
|
+
_oldNumVisible = 0;
|
|
1126
|
+
_activeIndex = 0;
|
|
1127
|
+
_oldactiveIndex = 0;
|
|
1128
|
+
constructor(galleria, document, platformId, renderer, cd) {
|
|
1129
|
+
this.galleria = galleria;
|
|
1130
|
+
this.document = document;
|
|
1131
|
+
this.platformId = platformId;
|
|
1132
|
+
this.renderer = renderer;
|
|
1133
|
+
this.cd = cd;
|
|
1134
|
+
}
|
|
1135
|
+
ngOnInit() {
|
|
1136
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
1137
|
+
this.createStyle();
|
|
1138
|
+
if (this.responsiveOptions) {
|
|
1139
|
+
this.bindDocumentListeners();
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
ngAfterContentChecked() {
|
|
1144
|
+
let totalShiftedItems = this.totalShiftedItems;
|
|
1145
|
+
if ((this._oldNumVisible !== this.d_numVisible || this._oldactiveIndex !== this._activeIndex) && this.itemsContainer) {
|
|
1146
|
+
if (this._activeIndex <= this.getMedianItemIndex()) {
|
|
1147
|
+
totalShiftedItems = 0;
|
|
1148
|
+
}
|
|
1149
|
+
else if (this.value.length - this.d_numVisible + this.getMedianItemIndex() < this._activeIndex) {
|
|
1150
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
1151
|
+
}
|
|
1152
|
+
else if (this.value.length - this.d_numVisible < this._activeIndex && this.d_numVisible % 2 === 0) {
|
|
1153
|
+
totalShiftedItems = this._activeIndex * -1 + this.getMedianItemIndex() + 1;
|
|
1154
|
+
}
|
|
1155
|
+
else {
|
|
1156
|
+
totalShiftedItems = this._activeIndex * -1 + this.getMedianItemIndex();
|
|
1157
|
+
}
|
|
1158
|
+
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
1159
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
1160
|
+
}
|
|
1161
|
+
if (this.itemsContainer && this.itemsContainer.nativeElement) {
|
|
1162
|
+
this.itemsContainer.nativeElement.style.transform = this.isVertical ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;
|
|
1163
|
+
}
|
|
1164
|
+
if (this._oldactiveIndex !== this._activeIndex) {
|
|
1165
|
+
DomHandler.removeClass(this.itemsContainer.nativeElement, 'p-items-hidden');
|
|
1166
|
+
this.itemsContainer.nativeElement.style.transition = 'transform 500ms ease 0s';
|
|
1167
|
+
}
|
|
1168
|
+
this._oldactiveIndex = this._activeIndex;
|
|
1169
|
+
this._oldNumVisible = this.d_numVisible;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
ngAfterViewInit() {
|
|
1173
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
1174
|
+
this.calculatePosition();
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
createStyle() {
|
|
1178
|
+
if (!this.thumbnailsStyle) {
|
|
1179
|
+
this.thumbnailsStyle = this.document.createElement('style');
|
|
1180
|
+
this.document.body.appendChild(this.thumbnailsStyle);
|
|
1181
|
+
}
|
|
1182
|
+
let innerHTML = `
|
|
1183
|
+
#${this.containerId} .p-galleria-thumbnail-item {
|
|
1184
|
+
flex: 1 0 ${100 / this.d_numVisible}%
|
|
1185
|
+
}
|
|
1186
|
+
`;
|
|
1187
|
+
if (this.responsiveOptions) {
|
|
1188
|
+
this.sortedResponsiveOptions = [...this.responsiveOptions];
|
|
1189
|
+
this.sortedResponsiveOptions.sort((data1, data2) => {
|
|
1190
|
+
const value1 = data1.breakpoint;
|
|
1191
|
+
const value2 = data2.breakpoint;
|
|
1192
|
+
let result = null;
|
|
1193
|
+
if (value1 == null && value2 != null)
|
|
1194
|
+
result = -1;
|
|
1195
|
+
else if (value1 != null && value2 == null)
|
|
1196
|
+
result = 1;
|
|
1197
|
+
else if (value1 == null && value2 == null)
|
|
1198
|
+
result = 0;
|
|
1199
|
+
else if (typeof value1 === 'string' && typeof value2 === 'string')
|
|
1200
|
+
result = value1.localeCompare(value2, undefined, { numeric: true });
|
|
1201
|
+
else
|
|
1202
|
+
result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
1203
|
+
return -1 * result;
|
|
1204
|
+
});
|
|
1205
|
+
for (let i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
1206
|
+
let res = this.sortedResponsiveOptions[i];
|
|
1207
|
+
innerHTML += `
|
|
1208
|
+
@media screen and (max-width: ${res.breakpoint}) {
|
|
1209
|
+
#${this.containerId} .p-galleria-thumbnail-item {
|
|
1210
|
+
flex: 1 0 ${100 / res.numVisible}%
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
`;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
1217
|
+
DomHandler.setAttribute(this.thumbnailsStyle, 'nonce', this.galleria.config?.csp()?.nonce);
|
|
1218
|
+
}
|
|
1219
|
+
calculatePosition() {
|
|
1220
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
1221
|
+
if (this.itemsContainer && this.sortedResponsiveOptions) {
|
|
1222
|
+
let windowWidth = window.innerWidth;
|
|
1223
|
+
let matchedResponsiveData = {
|
|
1224
|
+
numVisible: this._numVisible
|
|
1225
|
+
};
|
|
1226
|
+
for (let i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
1227
|
+
let res = this.sortedResponsiveOptions[i];
|
|
1228
|
+
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
1229
|
+
matchedResponsiveData = res;
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
1233
|
+
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
1234
|
+
this.cd.markForCheck();
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
getTabIndex(index) {
|
|
1240
|
+
return this.isItemActive(index) ? 0 : null;
|
|
1241
|
+
}
|
|
1242
|
+
navForward(e) {
|
|
1243
|
+
this.stopTheSlideShow();
|
|
1244
|
+
let nextItemIndex = this._activeIndex + 1;
|
|
1245
|
+
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
1246
|
+
this.step(-1);
|
|
1247
|
+
}
|
|
1248
|
+
let activeIndex = this.circular && this.value.length - 1 === this._activeIndex ? 0 : nextItemIndex;
|
|
1249
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
1250
|
+
if (e.cancelable) {
|
|
1251
|
+
e.preventDefault();
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
navBackward(e) {
|
|
1255
|
+
this.stopTheSlideShow();
|
|
1256
|
+
let prevItemIndex = this._activeIndex !== 0 ? this._activeIndex - 1 : 0;
|
|
1257
|
+
let diff = prevItemIndex + this.totalShiftedItems;
|
|
1258
|
+
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
1259
|
+
this.step(1);
|
|
1260
|
+
}
|
|
1261
|
+
let activeIndex = this.circular && this._activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
1262
|
+
this.onActiveIndexChange.emit(activeIndex);
|
|
1263
|
+
if (e.cancelable) {
|
|
1264
|
+
e.preventDefault();
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
onItemClick(index) {
|
|
1268
|
+
this.stopTheSlideShow();
|
|
1269
|
+
let selectedItemIndex = index;
|
|
1270
|
+
if (selectedItemIndex !== this._activeIndex) {
|
|
1271
|
+
const diff = selectedItemIndex + this.totalShiftedItems;
|
|
1272
|
+
let dir = 0;
|
|
1273
|
+
if (selectedItemIndex < this._activeIndex) {
|
|
1274
|
+
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
1275
|
+
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
1276
|
+
this.step(dir);
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
else {
|
|
1280
|
+
dir = this.getMedianItemIndex() - diff;
|
|
1281
|
+
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
1282
|
+
this.step(dir);
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
this.activeIndex = selectedItemIndex;
|
|
1286
|
+
this.onActiveIndexChange.emit(this.activeIndex);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
onThumbnailKeydown(event, index) {
|
|
1290
|
+
if (event.code === 'Enter' || event.code === 'Space') {
|
|
1291
|
+
this.onItemClick(index);
|
|
1292
|
+
event.preventDefault();
|
|
1293
|
+
}
|
|
1294
|
+
switch (event.code) {
|
|
1295
|
+
case 'ArrowRight':
|
|
1296
|
+
this.onRightKey();
|
|
1297
|
+
break;
|
|
1298
|
+
case 'ArrowLeft':
|
|
1299
|
+
this.onLeftKey();
|
|
1300
|
+
break;
|
|
1301
|
+
case 'Home':
|
|
1302
|
+
this.onHomeKey();
|
|
1303
|
+
event.preventDefault();
|
|
1304
|
+
break;
|
|
1305
|
+
case 'End':
|
|
1306
|
+
this.onEndKey();
|
|
1307
|
+
event.preventDefault();
|
|
1308
|
+
break;
|
|
1309
|
+
case 'ArrowUp':
|
|
1310
|
+
case 'ArrowDown':
|
|
1311
|
+
event.preventDefault();
|
|
1312
|
+
break;
|
|
1313
|
+
case 'Tab':
|
|
1314
|
+
this.onTabKey();
|
|
1315
|
+
break;
|
|
1316
|
+
default:
|
|
1317
|
+
break;
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
onRightKey() {
|
|
1321
|
+
const indicators = DomHandler.find(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"]');
|
|
1322
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
1323
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
1324
|
+
}
|
|
1325
|
+
onLeftKey() {
|
|
1326
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
1327
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
1328
|
+
}
|
|
1329
|
+
onHomeKey() {
|
|
1330
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
1331
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
1332
|
+
}
|
|
1333
|
+
onEndKey() {
|
|
1334
|
+
const indicators = DomHandler.find(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"]');
|
|
1335
|
+
const activeIndex = this.findFocusedIndicatorIndex();
|
|
1336
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
1337
|
+
}
|
|
1338
|
+
onTabKey() {
|
|
1339
|
+
const indicators = [...DomHandler.find(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"]')];
|
|
1340
|
+
const highlightedIndex = indicators.findIndex((ind) => DomHandler.getAttribute(ind, 'data-p-active') === true);
|
|
1341
|
+
const activeIndicator = DomHandler.findSingle(this.itemsContainer.nativeElement, '[tabindex="0"]');
|
|
1342
|
+
const activeIndex = indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
1343
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
1344
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
1345
|
+
}
|
|
1346
|
+
findFocusedIndicatorIndex() {
|
|
1347
|
+
const indicators = [...DomHandler.find(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"]')];
|
|
1348
|
+
const activeIndicator = DomHandler.findSingle(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"] > [tabindex="0"]');
|
|
1349
|
+
return indicators.findIndex((ind) => ind === activeIndicator.parentElement);
|
|
1350
|
+
}
|
|
1351
|
+
changedFocusedIndicator(prevInd, nextInd) {
|
|
1352
|
+
const indicators = DomHandler.find(this.itemsContainer.nativeElement, '[data-pc-section="thumbnailitem"]');
|
|
1353
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
1354
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
1355
|
+
indicators[nextInd].children[0].focus();
|
|
1356
|
+
}
|
|
1357
|
+
step(dir) {
|
|
1358
|
+
let totalShiftedItems = this.totalShiftedItems + dir;
|
|
1359
|
+
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
1360
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
1361
|
+
}
|
|
1362
|
+
else if (dir > 0 && totalShiftedItems > 0) {
|
|
1363
|
+
totalShiftedItems = 0;
|
|
1364
|
+
}
|
|
1365
|
+
if (this.circular) {
|
|
1366
|
+
if (dir < 0 && this.value.length - 1 === this._activeIndex) {
|
|
1367
|
+
totalShiftedItems = 0;
|
|
1368
|
+
}
|
|
1369
|
+
else if (dir > 0 && this._activeIndex === 0) {
|
|
1370
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
if (this.itemsContainer) {
|
|
1374
|
+
DomHandler.removeClass(this.itemsContainer.nativeElement, 'p-items-hidden');
|
|
1375
|
+
this.itemsContainer.nativeElement.style.transform = this.isVertical ? `translate3d(0, ${totalShiftedItems * (100 / this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this.d_numVisible)}%, 0, 0)`;
|
|
1376
|
+
this.itemsContainer.nativeElement.style.transition = 'transform 500ms ease 0s';
|
|
1377
|
+
}
|
|
1378
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
1379
|
+
}
|
|
1380
|
+
stopTheSlideShow() {
|
|
1381
|
+
if (this.slideShowActive && this.stopSlideShow) {
|
|
1382
|
+
this.stopSlideShow.emit();
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
changePageOnTouch(e, diff) {
|
|
1386
|
+
if (diff < 0) {
|
|
1387
|
+
// left
|
|
1388
|
+
this.navForward(e);
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
// right
|
|
1392
|
+
this.navBackward(e);
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
getTotalPageNumber() {
|
|
1396
|
+
return this.value.length > this.d_numVisible ? this.value.length - this.d_numVisible + 1 : 0;
|
|
1397
|
+
}
|
|
1398
|
+
getMedianItemIndex() {
|
|
1399
|
+
let index = Math.floor(this.d_numVisible / 2);
|
|
1400
|
+
return this.d_numVisible % 2 ? index : index - 1;
|
|
1401
|
+
}
|
|
1402
|
+
onTransitionEnd() {
|
|
1403
|
+
if (this.itemsContainer && this.itemsContainer.nativeElement) {
|
|
1404
|
+
DomHandler.addClass(this.itemsContainer.nativeElement, 'p-items-hidden');
|
|
1405
|
+
this.itemsContainer.nativeElement.style.transition = '';
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
onTouchEnd(e) {
|
|
1409
|
+
let touchobj = e.changedTouches[0];
|
|
1410
|
+
if (this.isVertical) {
|
|
1411
|
+
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
1412
|
+
}
|
|
1413
|
+
else {
|
|
1414
|
+
this.changePageOnTouch(e, touchobj.pageX - this.startPos.x);
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
onTouchMove(e) {
|
|
1418
|
+
if (e.cancelable) {
|
|
1419
|
+
e.preventDefault();
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
onTouchStart(e) {
|
|
1423
|
+
let touchobj = e.changedTouches[0];
|
|
1424
|
+
this.startPos = {
|
|
1425
|
+
x: touchobj.pageX,
|
|
1426
|
+
y: touchobj.pageY
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
isNavBackwardDisabled() {
|
|
1430
|
+
return (!this.circular && this._activeIndex === 0) || this.value.length <= this.d_numVisible;
|
|
1431
|
+
}
|
|
1432
|
+
isNavForwardDisabled() {
|
|
1433
|
+
return (!this.circular && this._activeIndex === this.value.length - 1) || this.value.length <= this.d_numVisible;
|
|
1434
|
+
}
|
|
1435
|
+
firstItemAciveIndex() {
|
|
1436
|
+
return this.totalShiftedItems * -1;
|
|
1437
|
+
}
|
|
1438
|
+
lastItemActiveIndex() {
|
|
1439
|
+
return this.firstItemAciveIndex() + this.d_numVisible - 1;
|
|
1440
|
+
}
|
|
1441
|
+
isItemActive(index) {
|
|
1442
|
+
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
1443
|
+
}
|
|
1444
|
+
bindDocumentListeners() {
|
|
1445
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
1446
|
+
const window = this.document.defaultView || 'window';
|
|
1447
|
+
this.documentResizeListener = this.renderer.listen(window, 'resize', () => {
|
|
1448
|
+
this.calculatePosition();
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
unbindDocumentListeners() {
|
|
1453
|
+
if (this.documentResizeListener) {
|
|
1454
|
+
this.documentResizeListener();
|
|
1455
|
+
this.documentResizeListener = null;
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
ngOnDestroy() {
|
|
1459
|
+
if (this.responsiveOptions) {
|
|
1460
|
+
this.unbindDocumentListeners();
|
|
1461
|
+
}
|
|
1462
|
+
if (this.thumbnailsStyle) {
|
|
1463
|
+
this.thumbnailsStyle.parentNode?.removeChild(this.thumbnailsStyle);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
ariaPrevButtonLabel() {
|
|
1467
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.prevPageLabel : undefined;
|
|
1468
|
+
}
|
|
1469
|
+
ariaNextButtonLabel() {
|
|
1470
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.nextPageLabel : undefined;
|
|
1471
|
+
}
|
|
1472
|
+
ariaPageLabel(value) {
|
|
1473
|
+
return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
1474
|
+
}
|
|
1475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaThumbnails, deps: [{ token: Galleria }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1476
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: GalleriaThumbnails, selector: "p-galleriaThumbnails", inputs: { containerId: "containerId", value: "value", isVertical: ["isVertical", "isVertical", booleanAttribute], slideShowActive: ["slideShowActive", "slideShowActive", booleanAttribute], circular: ["circular", "circular", booleanAttribute], responsiveOptions: "responsiveOptions", contentHeight: "contentHeight", showThumbnailNavigators: "showThumbnailNavigators", templates: "templates", numVisible: "numVisible", activeIndex: "activeIndex" }, outputs: { onActiveIndexChange: "onActiveIndexChange", stopSlideShow: "stopSlideShow" }, viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true }], ngImport: i0, template: `
|
|
1477
|
+
<div class="p-galleria-thumbnail-wrapper">
|
|
1478
|
+
<div class="p-galleria-thumbnail-container">
|
|
1479
|
+
<button
|
|
1480
|
+
*ngIf="showThumbnailNavigators"
|
|
1481
|
+
type="button"
|
|
1482
|
+
[ngClass]="{ 'p-galleria-thumbnail-prev p-link': true, 'p-disabled': this.isNavBackwardDisabled() }"
|
|
1483
|
+
(click)="navBackward($event)"
|
|
1484
|
+
[disabled]="isNavBackwardDisabled()"
|
|
1485
|
+
pRipple
|
|
1486
|
+
[attr.aria-label]="ariaPrevButtonLabel()"
|
|
1487
|
+
>
|
|
1488
|
+
<ng-container *ngIf="!galleria.previousThumbnailIconTemplate">
|
|
1489
|
+
<ChevronLeftIcon *ngIf="!isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
|
|
1490
|
+
<ChevronUpIcon *ngIf="isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
|
|
1491
|
+
</ng-container>
|
|
1492
|
+
<ng-template *ngTemplateOutlet="galleria.previousThumbnailIconTemplate"></ng-template>
|
|
1493
|
+
</button>
|
|
1494
|
+
<div class="p-galleria-thumbnail-items-container" [ngStyle]="{ height: isVertical ? contentHeight : '' }">
|
|
1495
|
+
<div #itemsContainer class="p-galleria-thumbnail-items" (transitionend)="onTransitionEnd()" (touchstart)="onTouchStart($event)" (touchmove)="onTouchMove($event)" role="tablist">
|
|
1496
|
+
<div
|
|
1497
|
+
*ngFor="let item of value; let index = index"
|
|
1498
|
+
[ngClass]="{
|
|
1499
|
+
'p-galleria-thumbnail-item': true,
|
|
1500
|
+
'p-galleria-thumbnail-item-current': activeIndex === index,
|
|
1501
|
+
'p-galleria-thumbnail-item-active': isItemActive(index),
|
|
1502
|
+
'p-galleria-thumbnail-item-start': firstItemAciveIndex() === index,
|
|
1503
|
+
'p-galleria-thumbnail-item-end': lastItemActiveIndex() === index
|
|
1504
|
+
}"
|
|
1505
|
+
[attr.aria-selected]="activeIndex === index"
|
|
1506
|
+
[attr.aria-controls]="containerId + '_item_' + index"
|
|
1507
|
+
[attr.data-pc-section]="'thumbnailitem'"
|
|
1508
|
+
[attr.data-p-active]="activeIndex === index"
|
|
1509
|
+
(keydown)="onThumbnailKeydown($event, index)"
|
|
1510
|
+
>
|
|
1511
|
+
<div
|
|
1512
|
+
class="p-galleria-thumbnail-item-content"
|
|
1513
|
+
[attr.tabindex]="activeIndex === index ? 0 : -1"
|
|
1514
|
+
[attr.aria-current]="activeIndex === index ? 'page' : undefined"
|
|
1515
|
+
[attr.aria-label]="ariaPageLabel(index + 1)"
|
|
1516
|
+
(click)="onItemClick(index)"
|
|
1517
|
+
(touchend)="onItemClick(index)"
|
|
1518
|
+
(keydown.enter)="onItemClick(index)"
|
|
1519
|
+
>
|
|
1520
|
+
<p-galleriaItemSlot type="thumbnail" [item]="item" [templates]="templates"></p-galleriaItemSlot>
|
|
1521
|
+
</div>
|
|
1522
|
+
</div>
|
|
1523
|
+
</div>
|
|
1524
|
+
</div>
|
|
1525
|
+
<button
|
|
1526
|
+
*ngIf="showThumbnailNavigators"
|
|
1527
|
+
type="button"
|
|
1528
|
+
[ngClass]="{ 'p-galleria-thumbnail-next p-link': true, 'p-disabled': this.isNavForwardDisabled() }"
|
|
1529
|
+
(click)="navForward($event)"
|
|
1530
|
+
[disabled]="isNavForwardDisabled()"
|
|
1531
|
+
pRipple
|
|
1532
|
+
[attr.aria-label]="ariaNextButtonLabel()"
|
|
1533
|
+
>
|
|
1534
|
+
<ng-container *ngIf="!galleria.nextThumbnailIconTemplate">
|
|
1535
|
+
<ChevronRightIcon *ngIf="!isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
|
|
1536
|
+
<ChevronDownIcon *ngIf="isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
|
|
1537
|
+
</ng-container>
|
|
1538
|
+
<ng-template *ngTemplateOutlet="galleria.nextThumbnailIconTemplate"></ng-template>
|
|
1539
|
+
</button>
|
|
1540
|
+
</div>
|
|
1541
|
+
</div>
|
|
1542
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronLeftIcon), selector: "ChevronLeftIcon" }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1543
|
+
}
|
|
1544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaThumbnails, decorators: [{
|
|
1545
|
+
type: Component,
|
|
1546
|
+
args: [{
|
|
1547
|
+
selector: 'p-galleriaThumbnails',
|
|
1548
|
+
template: `
|
|
1549
|
+
<div class="p-galleria-thumbnail-wrapper">
|
|
1550
|
+
<div class="p-galleria-thumbnail-container">
|
|
1551
|
+
<button
|
|
1552
|
+
*ngIf="showThumbnailNavigators"
|
|
1553
|
+
type="button"
|
|
1554
|
+
[ngClass]="{ 'p-galleria-thumbnail-prev p-link': true, 'p-disabled': this.isNavBackwardDisabled() }"
|
|
1555
|
+
(click)="navBackward($event)"
|
|
1556
|
+
[disabled]="isNavBackwardDisabled()"
|
|
1557
|
+
pRipple
|
|
1558
|
+
[attr.aria-label]="ariaPrevButtonLabel()"
|
|
1559
|
+
>
|
|
1560
|
+
<ng-container *ngIf="!galleria.previousThumbnailIconTemplate">
|
|
1561
|
+
<ChevronLeftIcon *ngIf="!isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
|
|
1562
|
+
<ChevronUpIcon *ngIf="isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
|
|
1563
|
+
</ng-container>
|
|
1564
|
+
<ng-template *ngTemplateOutlet="galleria.previousThumbnailIconTemplate"></ng-template>
|
|
1565
|
+
</button>
|
|
1566
|
+
<div class="p-galleria-thumbnail-items-container" [ngStyle]="{ height: isVertical ? contentHeight : '' }">
|
|
1567
|
+
<div #itemsContainer class="p-galleria-thumbnail-items" (transitionend)="onTransitionEnd()" (touchstart)="onTouchStart($event)" (touchmove)="onTouchMove($event)" role="tablist">
|
|
1568
|
+
<div
|
|
1569
|
+
*ngFor="let item of value; let index = index"
|
|
1570
|
+
[ngClass]="{
|
|
1571
|
+
'p-galleria-thumbnail-item': true,
|
|
1572
|
+
'p-galleria-thumbnail-item-current': activeIndex === index,
|
|
1573
|
+
'p-galleria-thumbnail-item-active': isItemActive(index),
|
|
1574
|
+
'p-galleria-thumbnail-item-start': firstItemAciveIndex() === index,
|
|
1575
|
+
'p-galleria-thumbnail-item-end': lastItemActiveIndex() === index
|
|
1576
|
+
}"
|
|
1577
|
+
[attr.aria-selected]="activeIndex === index"
|
|
1578
|
+
[attr.aria-controls]="containerId + '_item_' + index"
|
|
1579
|
+
[attr.data-pc-section]="'thumbnailitem'"
|
|
1580
|
+
[attr.data-p-active]="activeIndex === index"
|
|
1581
|
+
(keydown)="onThumbnailKeydown($event, index)"
|
|
1582
|
+
>
|
|
1583
|
+
<div
|
|
1584
|
+
class="p-galleria-thumbnail-item-content"
|
|
1585
|
+
[attr.tabindex]="activeIndex === index ? 0 : -1"
|
|
1586
|
+
[attr.aria-current]="activeIndex === index ? 'page' : undefined"
|
|
1587
|
+
[attr.aria-label]="ariaPageLabel(index + 1)"
|
|
1588
|
+
(click)="onItemClick(index)"
|
|
1589
|
+
(touchend)="onItemClick(index)"
|
|
1590
|
+
(keydown.enter)="onItemClick(index)"
|
|
1591
|
+
>
|
|
1592
|
+
<p-galleriaItemSlot type="thumbnail" [item]="item" [templates]="templates"></p-galleriaItemSlot>
|
|
1593
|
+
</div>
|
|
1594
|
+
</div>
|
|
1595
|
+
</div>
|
|
1596
|
+
</div>
|
|
1597
|
+
<button
|
|
1598
|
+
*ngIf="showThumbnailNavigators"
|
|
1599
|
+
type="button"
|
|
1600
|
+
[ngClass]="{ 'p-galleria-thumbnail-next p-link': true, 'p-disabled': this.isNavForwardDisabled() }"
|
|
1601
|
+
(click)="navForward($event)"
|
|
1602
|
+
[disabled]="isNavForwardDisabled()"
|
|
1603
|
+
pRipple
|
|
1604
|
+
[attr.aria-label]="ariaNextButtonLabel()"
|
|
1605
|
+
>
|
|
1606
|
+
<ng-container *ngIf="!galleria.nextThumbnailIconTemplate">
|
|
1607
|
+
<ChevronRightIcon *ngIf="!isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
|
|
1608
|
+
<ChevronDownIcon *ngIf="isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
|
|
1609
|
+
</ng-container>
|
|
1610
|
+
<ng-template *ngTemplateOutlet="galleria.nextThumbnailIconTemplate"></ng-template>
|
|
1611
|
+
</button>
|
|
1612
|
+
</div>
|
|
1613
|
+
</div>
|
|
1614
|
+
`,
|
|
1615
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1616
|
+
}]
|
|
1617
|
+
}], ctorParameters: () => [{ type: Galleria }, { type: Document, decorators: [{
|
|
1618
|
+
type: Inject,
|
|
1619
|
+
args: [DOCUMENT]
|
|
1620
|
+
}] }, { type: undefined, decorators: [{
|
|
1621
|
+
type: Inject,
|
|
1622
|
+
args: [PLATFORM_ID]
|
|
1623
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], propDecorators: { containerId: [{
|
|
1624
|
+
type: Input
|
|
1625
|
+
}], value: [{
|
|
1626
|
+
type: Input
|
|
1627
|
+
}], isVertical: [{
|
|
1628
|
+
type: Input,
|
|
1629
|
+
args: [{ transform: booleanAttribute }]
|
|
1630
|
+
}], slideShowActive: [{
|
|
1631
|
+
type: Input,
|
|
1632
|
+
args: [{ transform: booleanAttribute }]
|
|
1633
|
+
}], circular: [{
|
|
1634
|
+
type: Input,
|
|
1635
|
+
args: [{ transform: booleanAttribute }]
|
|
1636
|
+
}], responsiveOptions: [{
|
|
1637
|
+
type: Input
|
|
1638
|
+
}], contentHeight: [{
|
|
1639
|
+
type: Input
|
|
1640
|
+
}], showThumbnailNavigators: [{
|
|
1641
|
+
type: Input
|
|
1642
|
+
}], templates: [{
|
|
1643
|
+
type: Input
|
|
1644
|
+
}], onActiveIndexChange: [{
|
|
1645
|
+
type: Output
|
|
1646
|
+
}], stopSlideShow: [{
|
|
1647
|
+
type: Output
|
|
1648
|
+
}], itemsContainer: [{
|
|
1649
|
+
type: ViewChild,
|
|
1650
|
+
args: ['itemsContainer']
|
|
1651
|
+
}], numVisible: [{
|
|
1652
|
+
type: Input
|
|
1653
|
+
}], activeIndex: [{
|
|
1654
|
+
type: Input
|
|
1655
|
+
}] } });
|
|
1656
|
+
class GalleriaModule {
|
|
1657
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1658
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: GalleriaModule, declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails], imports: [CommonModule, SharedModule, RippleModule, TimesIcon, ChevronRightIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrapModule], exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule] });
|
|
1659
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaModule, imports: [CommonModule, SharedModule, RippleModule, TimesIcon, ChevronRightIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrapModule, CommonModule, SharedModule] });
|
|
1660
|
+
}
|
|
1661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: GalleriaModule, decorators: [{
|
|
1662
|
+
type: NgModule,
|
|
1663
|
+
args: [{
|
|
1664
|
+
imports: [CommonModule, SharedModule, RippleModule, TimesIcon, ChevronRightIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrapModule],
|
|
1665
|
+
exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule],
|
|
1666
|
+
declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails]
|
|
1667
|
+
}]
|
|
1668
|
+
}] });
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Generated bundle index. Do not edit.
|
|
1672
|
+
*/
|
|
1673
|
+
|
|
1674
|
+
export { Galleria, GalleriaContent, GalleriaItem, GalleriaItemSlot, GalleriaModule, GalleriaThumbnails };
|
|
1675
|
+
//# sourceMappingURL=cax-design-system-galleria.mjs.map
|