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,1310 @@
|
|
|
1
|
+
import * as i2 from '@angular/common';
|
|
2
|
+
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, ViewChild, ContentChildren, NgModule } from '@angular/core';
|
|
5
|
+
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
6
|
+
import * as i1 from 'cax-design-system/api';
|
|
7
|
+
import { CaxTemplate, SharedModule } from 'cax-design-system/api';
|
|
8
|
+
import * as i5 from 'cax-design-system/autofocus';
|
|
9
|
+
import { AutoFocusModule } from 'cax-design-system/autofocus';
|
|
10
|
+
import * as i4 from 'cax-design-system/button';
|
|
11
|
+
import { ButtonModule } from 'cax-design-system/button';
|
|
12
|
+
import { DomHandler } from 'cax-design-system/dom';
|
|
13
|
+
import { AngleDownIcon } from 'cax-design-system/icons/angledown';
|
|
14
|
+
import { AngleUpIcon } from 'cax-design-system/icons/angleup';
|
|
15
|
+
import { TimesIcon } from 'cax-design-system/icons/times';
|
|
16
|
+
import * as i3 from 'cax-design-system/inputtext';
|
|
17
|
+
import { InputTextModule } from 'cax-design-system/inputtext';
|
|
18
|
+
|
|
19
|
+
const INPUTNUMBER_VALUE_ACCESSOR = {
|
|
20
|
+
provide: NG_VALUE_ACCESSOR,
|
|
21
|
+
useExisting: forwardRef(() => InputNumber),
|
|
22
|
+
multi: true
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* InputNumber is an input component to provide numerical input.
|
|
26
|
+
* @group Components
|
|
27
|
+
*/
|
|
28
|
+
class InputNumber {
|
|
29
|
+
document;
|
|
30
|
+
el;
|
|
31
|
+
cd;
|
|
32
|
+
injector;
|
|
33
|
+
config;
|
|
34
|
+
/**
|
|
35
|
+
* Displays spinner buttons.
|
|
36
|
+
* @group Props
|
|
37
|
+
*/
|
|
38
|
+
showButtons = false;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to format the value.
|
|
41
|
+
* @group Props
|
|
42
|
+
*/
|
|
43
|
+
format = true;
|
|
44
|
+
/**
|
|
45
|
+
* Layout of the buttons, valid values are "stacked" (default), "horizontal" and "vertical".
|
|
46
|
+
* @group Props
|
|
47
|
+
*/
|
|
48
|
+
buttonLayout = 'stacked';
|
|
49
|
+
/**
|
|
50
|
+
* Identifier of the focus input to match a label defined for the component.
|
|
51
|
+
* @group Props
|
|
52
|
+
*/
|
|
53
|
+
inputId;
|
|
54
|
+
/**
|
|
55
|
+
* Style class of the component.
|
|
56
|
+
* @group Props
|
|
57
|
+
*/
|
|
58
|
+
styleClass;
|
|
59
|
+
/**
|
|
60
|
+
* Inline style of the component.
|
|
61
|
+
* @group Props
|
|
62
|
+
*/
|
|
63
|
+
style;
|
|
64
|
+
/**
|
|
65
|
+
* Advisory information to display on input.
|
|
66
|
+
* @group Props
|
|
67
|
+
*/
|
|
68
|
+
placeholder;
|
|
69
|
+
/**
|
|
70
|
+
* Size of the input field.
|
|
71
|
+
* @group Props
|
|
72
|
+
*/
|
|
73
|
+
size;
|
|
74
|
+
/**
|
|
75
|
+
* Maximum number of character allows in the input field.
|
|
76
|
+
* @group Props
|
|
77
|
+
*/
|
|
78
|
+
maxlength;
|
|
79
|
+
/**
|
|
80
|
+
* Specifies tab order of the element.
|
|
81
|
+
* @group Props
|
|
82
|
+
*/
|
|
83
|
+
tabindex;
|
|
84
|
+
/**
|
|
85
|
+
* Title text of the input text.
|
|
86
|
+
* @group Props
|
|
87
|
+
*/
|
|
88
|
+
title;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies one or more IDs in the DOM that labels the input field.
|
|
91
|
+
* @group Props
|
|
92
|
+
*/
|
|
93
|
+
ariaLabelledBy;
|
|
94
|
+
/**
|
|
95
|
+
* Used to define a string that labels the input element.
|
|
96
|
+
* @group Props
|
|
97
|
+
*/
|
|
98
|
+
ariaLabel;
|
|
99
|
+
/**
|
|
100
|
+
* Used to indicate that user input is required on an element before a form can be submitted.
|
|
101
|
+
* @group Props
|
|
102
|
+
*/
|
|
103
|
+
ariaRequired;
|
|
104
|
+
/**
|
|
105
|
+
* Name of the input field.
|
|
106
|
+
* @group Props
|
|
107
|
+
*/
|
|
108
|
+
name;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates that whether the input field is required.
|
|
111
|
+
* @group Props
|
|
112
|
+
*/
|
|
113
|
+
required;
|
|
114
|
+
/**
|
|
115
|
+
* Used to define a string that autocomplete attribute the current element.
|
|
116
|
+
* @group Props
|
|
117
|
+
*/
|
|
118
|
+
autocomplete;
|
|
119
|
+
/**
|
|
120
|
+
* Mininum boundary value.
|
|
121
|
+
* @group Props
|
|
122
|
+
*/
|
|
123
|
+
min;
|
|
124
|
+
/**
|
|
125
|
+
* Maximum boundary value.
|
|
126
|
+
* @group Props
|
|
127
|
+
*/
|
|
128
|
+
max;
|
|
129
|
+
/**
|
|
130
|
+
* Style class of the increment button.
|
|
131
|
+
* @group Props
|
|
132
|
+
*/
|
|
133
|
+
incrementButtonClass;
|
|
134
|
+
/**
|
|
135
|
+
* Style class of the decrement button.
|
|
136
|
+
* @group Props
|
|
137
|
+
*/
|
|
138
|
+
decrementButtonClass;
|
|
139
|
+
/**
|
|
140
|
+
* Style class of the increment button.
|
|
141
|
+
* @group Props
|
|
142
|
+
*/
|
|
143
|
+
incrementButtonIcon;
|
|
144
|
+
/**
|
|
145
|
+
* Style class of the decrement button.
|
|
146
|
+
* @group Props
|
|
147
|
+
*/
|
|
148
|
+
decrementButtonIcon;
|
|
149
|
+
/**
|
|
150
|
+
* When present, it specifies that an input field is read-only.
|
|
151
|
+
* @group Props
|
|
152
|
+
*/
|
|
153
|
+
readonly = false;
|
|
154
|
+
/**
|
|
155
|
+
* Step factor to increment/decrement the value.
|
|
156
|
+
* @group Props
|
|
157
|
+
*/
|
|
158
|
+
step = 1;
|
|
159
|
+
/**
|
|
160
|
+
* Determines whether the input field is empty.
|
|
161
|
+
* @group Props
|
|
162
|
+
*/
|
|
163
|
+
allowEmpty = true;
|
|
164
|
+
/**
|
|
165
|
+
* Locale to be used in formatting.
|
|
166
|
+
* @group Props
|
|
167
|
+
*/
|
|
168
|
+
locale;
|
|
169
|
+
/**
|
|
170
|
+
* The locale matching algorithm to use. Possible values are "lookup" and "best fit"; the default is "best fit". See Locale Negotiation for details.
|
|
171
|
+
* @group Props
|
|
172
|
+
*/
|
|
173
|
+
localeMatcher;
|
|
174
|
+
/**
|
|
175
|
+
* Defines the behavior of the component, valid values are "decimal" and "currency".
|
|
176
|
+
* @group Props
|
|
177
|
+
*/
|
|
178
|
+
mode = 'decimal';
|
|
179
|
+
/**
|
|
180
|
+
* The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB. There is no default value; if the style is "currency", the currency property must be provided.
|
|
181
|
+
* @group Props
|
|
182
|
+
*/
|
|
183
|
+
currency;
|
|
184
|
+
/**
|
|
185
|
+
* How to display the currency in currency formatting. Possible values are "symbol" to use a localized currency symbol such as €, ü"code" to use the ISO currency code, "name" to use a localized currency name such as "dollar"; the default is "symbol".
|
|
186
|
+
* @group Props
|
|
187
|
+
*/
|
|
188
|
+
currencyDisplay;
|
|
189
|
+
/**
|
|
190
|
+
* Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.
|
|
191
|
+
* @group Props
|
|
192
|
+
*/
|
|
193
|
+
useGrouping = true;
|
|
194
|
+
/**
|
|
195
|
+
* Specifies the input variant of the component.
|
|
196
|
+
* @group Props
|
|
197
|
+
*/
|
|
198
|
+
variant = 'outlined';
|
|
199
|
+
/**
|
|
200
|
+
* The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).
|
|
201
|
+
* @group Props
|
|
202
|
+
*/
|
|
203
|
+
minFractionDigits;
|
|
204
|
+
/**
|
|
205
|
+
* The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).
|
|
206
|
+
* @group Props
|
|
207
|
+
*/
|
|
208
|
+
maxFractionDigits;
|
|
209
|
+
/**
|
|
210
|
+
* Text to display before the value.
|
|
211
|
+
* @group Props
|
|
212
|
+
*/
|
|
213
|
+
prefix;
|
|
214
|
+
/**
|
|
215
|
+
* Text to display after the value.
|
|
216
|
+
* @group Props
|
|
217
|
+
*/
|
|
218
|
+
suffix;
|
|
219
|
+
/**
|
|
220
|
+
* Inline style of the input field.
|
|
221
|
+
* @group Props
|
|
222
|
+
*/
|
|
223
|
+
inputStyle;
|
|
224
|
+
/**
|
|
225
|
+
* Style class of the input field.
|
|
226
|
+
* @group Props
|
|
227
|
+
*/
|
|
228
|
+
inputStyleClass;
|
|
229
|
+
/**
|
|
230
|
+
* When enabled, a clear icon is displayed to clear the value.
|
|
231
|
+
* @group Props
|
|
232
|
+
*/
|
|
233
|
+
showClear = false;
|
|
234
|
+
/**
|
|
235
|
+
* When present, it specifies that the component should automatically get focus on load.
|
|
236
|
+
* @group Props
|
|
237
|
+
*/
|
|
238
|
+
autofocus;
|
|
239
|
+
/**
|
|
240
|
+
* When present, it specifies that the element should be disabled.
|
|
241
|
+
* @group Props
|
|
242
|
+
*/
|
|
243
|
+
get disabled() {
|
|
244
|
+
return this._disabled;
|
|
245
|
+
}
|
|
246
|
+
set disabled(disabled) {
|
|
247
|
+
if (disabled)
|
|
248
|
+
this.focused = false;
|
|
249
|
+
this._disabled = disabled;
|
|
250
|
+
if (this.timer)
|
|
251
|
+
this.clearTimer();
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Callback to invoke on input.
|
|
255
|
+
* @param {InputNumberInputEvent} event - Custom input event.
|
|
256
|
+
* @group Emits
|
|
257
|
+
*/
|
|
258
|
+
onInput = new EventEmitter();
|
|
259
|
+
/**
|
|
260
|
+
* Callback to invoke when the component receives focus.
|
|
261
|
+
* @param {Event} event - Browser event.
|
|
262
|
+
* @group Emits
|
|
263
|
+
*/
|
|
264
|
+
onFocus = new EventEmitter();
|
|
265
|
+
/**
|
|
266
|
+
* Callback to invoke when the component loses focus.
|
|
267
|
+
* @param {Event} event - Browser event.
|
|
268
|
+
* @group Emits
|
|
269
|
+
*/
|
|
270
|
+
onBlur = new EventEmitter();
|
|
271
|
+
/**
|
|
272
|
+
* Callback to invoke on input key press.
|
|
273
|
+
* @param {KeyboardEvent} event - Keyboard event.
|
|
274
|
+
* @group Emits
|
|
275
|
+
*/
|
|
276
|
+
onKeyDown = new EventEmitter();
|
|
277
|
+
/**
|
|
278
|
+
* Callback to invoke when clear token is clicked.
|
|
279
|
+
* @group Emits
|
|
280
|
+
*/
|
|
281
|
+
onClear = new EventEmitter();
|
|
282
|
+
input;
|
|
283
|
+
templates;
|
|
284
|
+
clearIconTemplate;
|
|
285
|
+
incrementButtonIconTemplate;
|
|
286
|
+
decrementButtonIconTemplate;
|
|
287
|
+
value;
|
|
288
|
+
onModelChange = () => { };
|
|
289
|
+
onModelTouched = () => { };
|
|
290
|
+
focused;
|
|
291
|
+
initialized;
|
|
292
|
+
groupChar = '';
|
|
293
|
+
prefixChar = '';
|
|
294
|
+
suffixChar = '';
|
|
295
|
+
isSpecialChar;
|
|
296
|
+
timer;
|
|
297
|
+
lastValue;
|
|
298
|
+
_numeral;
|
|
299
|
+
numberFormat;
|
|
300
|
+
_decimal;
|
|
301
|
+
_decimalChar;
|
|
302
|
+
_group;
|
|
303
|
+
_minusSign;
|
|
304
|
+
_currency;
|
|
305
|
+
_prefix;
|
|
306
|
+
_suffix;
|
|
307
|
+
_index;
|
|
308
|
+
_disabled;
|
|
309
|
+
ngControl = null;
|
|
310
|
+
constructor(document, el, cd, injector, config) {
|
|
311
|
+
this.document = document;
|
|
312
|
+
this.el = el;
|
|
313
|
+
this.cd = cd;
|
|
314
|
+
this.injector = injector;
|
|
315
|
+
this.config = config;
|
|
316
|
+
}
|
|
317
|
+
ngOnChanges(simpleChange) {
|
|
318
|
+
const props = ['locale', 'localeMatcher', 'mode', 'currency', 'currencyDisplay', 'useGrouping', 'minFractionDigits', 'maxFractionDigits', 'prefix', 'suffix'];
|
|
319
|
+
if (props.some((p) => !!simpleChange[p])) {
|
|
320
|
+
this.updateConstructParser();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
ngAfterContentInit() {
|
|
324
|
+
this.templates.forEach((item) => {
|
|
325
|
+
switch (item.getType()) {
|
|
326
|
+
case 'clearicon':
|
|
327
|
+
this.clearIconTemplate = item.template;
|
|
328
|
+
break;
|
|
329
|
+
case 'incrementbuttonicon':
|
|
330
|
+
this.incrementButtonIconTemplate = item.template;
|
|
331
|
+
break;
|
|
332
|
+
case 'decrementbuttonicon':
|
|
333
|
+
this.decrementButtonIconTemplate = item.template;
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
ngOnInit() {
|
|
339
|
+
this.ngControl = this.injector.get(NgControl, null, { optional: true });
|
|
340
|
+
this.constructParser();
|
|
341
|
+
this.initialized = true;
|
|
342
|
+
}
|
|
343
|
+
getOptions() {
|
|
344
|
+
return {
|
|
345
|
+
localeMatcher: this.localeMatcher,
|
|
346
|
+
style: this.mode,
|
|
347
|
+
currency: this.currency,
|
|
348
|
+
currencyDisplay: this.currencyDisplay,
|
|
349
|
+
useGrouping: this.useGrouping,
|
|
350
|
+
minimumFractionDigits: this.minFractionDigits ?? undefined,
|
|
351
|
+
maximumFractionDigits: this.maxFractionDigits ?? undefined
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
constructParser() {
|
|
355
|
+
this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());
|
|
356
|
+
const numerals = [...new Intl.NumberFormat(this.locale, { useGrouping: false }).format(9876543210)].reverse();
|
|
357
|
+
const index = new Map(numerals.map((d, i) => [d, i]));
|
|
358
|
+
this._numeral = new RegExp(`[${numerals.join('')}]`, 'g');
|
|
359
|
+
this._group = this.getGroupingExpression();
|
|
360
|
+
this._minusSign = this.getMinusSignExpression();
|
|
361
|
+
this._currency = this.getCurrencyExpression();
|
|
362
|
+
this._decimal = this.getDecimalExpression();
|
|
363
|
+
this._decimalChar = this.getDecimalChar();
|
|
364
|
+
this._suffix = this.getSuffixExpression();
|
|
365
|
+
this._prefix = this.getPrefixExpression();
|
|
366
|
+
this._index = (d) => index.get(d);
|
|
367
|
+
}
|
|
368
|
+
updateConstructParser() {
|
|
369
|
+
if (this.initialized) {
|
|
370
|
+
this.constructParser();
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
escapeRegExp(text) {
|
|
374
|
+
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
375
|
+
}
|
|
376
|
+
getDecimalExpression() {
|
|
377
|
+
const decimalChar = this.getDecimalChar();
|
|
378
|
+
return new RegExp(`[${decimalChar}]`, 'g');
|
|
379
|
+
}
|
|
380
|
+
getDecimalChar() {
|
|
381
|
+
const formatter = new Intl.NumberFormat(this.locale, { ...this.getOptions(), useGrouping: false });
|
|
382
|
+
return formatter
|
|
383
|
+
.format(1.1)
|
|
384
|
+
.replace(this._currency, '')
|
|
385
|
+
.trim()
|
|
386
|
+
.replace(this._numeral, '');
|
|
387
|
+
}
|
|
388
|
+
getGroupingExpression() {
|
|
389
|
+
const formatter = new Intl.NumberFormat(this.locale, { useGrouping: true });
|
|
390
|
+
this.groupChar = formatter.format(1000000).trim().replace(this._numeral, '').charAt(0);
|
|
391
|
+
return new RegExp(`[${this.groupChar}]`, 'g');
|
|
392
|
+
}
|
|
393
|
+
getMinusSignExpression() {
|
|
394
|
+
const formatter = new Intl.NumberFormat(this.locale, { useGrouping: false });
|
|
395
|
+
return new RegExp(`[${formatter.format(-1).trim().replace(this._numeral, '')}]`, 'g');
|
|
396
|
+
}
|
|
397
|
+
getCurrencyExpression() {
|
|
398
|
+
if (this.currency) {
|
|
399
|
+
const formatter = new Intl.NumberFormat(this.locale, { style: 'currency', currency: this.currency, currencyDisplay: this.currencyDisplay, minimumFractionDigits: 0, maximumFractionDigits: 0 });
|
|
400
|
+
return new RegExp(`[${formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, '')}]`, 'g');
|
|
401
|
+
}
|
|
402
|
+
return new RegExp(`[]`, 'g');
|
|
403
|
+
}
|
|
404
|
+
getPrefixExpression() {
|
|
405
|
+
if (this.prefix) {
|
|
406
|
+
this.prefixChar = this.prefix;
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
const formatter = new Intl.NumberFormat(this.locale, { style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay });
|
|
410
|
+
this.prefixChar = formatter.format(1).split('1')[0];
|
|
411
|
+
}
|
|
412
|
+
return new RegExp(`${this.escapeRegExp(this.prefixChar || '')}`, 'g');
|
|
413
|
+
}
|
|
414
|
+
getSuffixExpression() {
|
|
415
|
+
if (this.suffix) {
|
|
416
|
+
this.suffixChar = this.suffix;
|
|
417
|
+
}
|
|
418
|
+
else {
|
|
419
|
+
const formatter = new Intl.NumberFormat(this.locale, { style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay, minimumFractionDigits: 0, maximumFractionDigits: 0 });
|
|
420
|
+
this.suffixChar = formatter.format(1).split('1')[1];
|
|
421
|
+
}
|
|
422
|
+
return new RegExp(`${this.escapeRegExp(this.suffixChar || '')}`, 'g');
|
|
423
|
+
}
|
|
424
|
+
get isBlurUpdateOnMode() {
|
|
425
|
+
return this.ngControl?.control?.updateOn === 'blur';
|
|
426
|
+
}
|
|
427
|
+
formatValue(value) {
|
|
428
|
+
if (value != null) {
|
|
429
|
+
if (value === '-') {
|
|
430
|
+
// Minus sign
|
|
431
|
+
return value;
|
|
432
|
+
}
|
|
433
|
+
if (this.format) {
|
|
434
|
+
let formatter = new Intl.NumberFormat(this.locale, this.getOptions());
|
|
435
|
+
let formattedValue = formatter.format(value);
|
|
436
|
+
if (this.prefix && value != this.prefix) {
|
|
437
|
+
formattedValue = this.prefix + formattedValue;
|
|
438
|
+
}
|
|
439
|
+
if (this.suffix && value != this.suffix) {
|
|
440
|
+
formattedValue = formattedValue + this.suffix;
|
|
441
|
+
}
|
|
442
|
+
return formattedValue;
|
|
443
|
+
}
|
|
444
|
+
return value.toString();
|
|
445
|
+
}
|
|
446
|
+
return '';
|
|
447
|
+
}
|
|
448
|
+
parseValue(text) {
|
|
449
|
+
const suffixRegex = new RegExp(this._suffix, '');
|
|
450
|
+
const prefixRegex = new RegExp(this._prefix, '');
|
|
451
|
+
const currencyRegex = new RegExp(this._currency, '');
|
|
452
|
+
let filteredText = text
|
|
453
|
+
.replace(suffixRegex, '')
|
|
454
|
+
.replace(prefixRegex, '')
|
|
455
|
+
.trim()
|
|
456
|
+
.replace(/\s/g, '')
|
|
457
|
+
.replace(currencyRegex, '')
|
|
458
|
+
.replace(this._group, '')
|
|
459
|
+
.replace(this._minusSign, '-')
|
|
460
|
+
.replace(this._decimal, '.')
|
|
461
|
+
.replace(this._numeral, this._index);
|
|
462
|
+
if (filteredText) {
|
|
463
|
+
if (filteredText === '-')
|
|
464
|
+
// Minus sign
|
|
465
|
+
return filteredText;
|
|
466
|
+
let parsedValue = +filteredText;
|
|
467
|
+
return isNaN(parsedValue) ? null : parsedValue;
|
|
468
|
+
}
|
|
469
|
+
return null;
|
|
470
|
+
}
|
|
471
|
+
repeat(event, interval, dir) {
|
|
472
|
+
if (this.readonly) {
|
|
473
|
+
return;
|
|
474
|
+
}
|
|
475
|
+
let i = interval || 500;
|
|
476
|
+
this.clearTimer();
|
|
477
|
+
this.timer = setTimeout(() => {
|
|
478
|
+
this.repeat(event, 40, dir);
|
|
479
|
+
}, i);
|
|
480
|
+
this.spin(event, dir);
|
|
481
|
+
}
|
|
482
|
+
spin(event, dir) {
|
|
483
|
+
let step = this.step * dir;
|
|
484
|
+
let currentValue = this.parseValue(this.input?.nativeElement.value) || 0;
|
|
485
|
+
let newValue = this.validateValue(currentValue + step);
|
|
486
|
+
if (this.maxlength && this.maxlength < this.formatValue(newValue).length) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
this.updateInput(newValue, null, 'spin', null);
|
|
490
|
+
this.updateModel(event, newValue);
|
|
491
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
492
|
+
}
|
|
493
|
+
clear() {
|
|
494
|
+
this.value = null;
|
|
495
|
+
this.onModelChange(this.value);
|
|
496
|
+
this.onClear.emit();
|
|
497
|
+
}
|
|
498
|
+
onUpButtonMouseDown(event) {
|
|
499
|
+
if (event.button === 2) {
|
|
500
|
+
this.clearTimer();
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
if (!this.disabled) {
|
|
504
|
+
this.input?.nativeElement.focus();
|
|
505
|
+
this.repeat(event, null, 1);
|
|
506
|
+
event.preventDefault();
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
onUpButtonMouseUp() {
|
|
510
|
+
if (!this.disabled) {
|
|
511
|
+
this.clearTimer();
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
onUpButtonMouseLeave() {
|
|
515
|
+
if (!this.disabled) {
|
|
516
|
+
this.clearTimer();
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
onUpButtonKeyDown(event) {
|
|
520
|
+
if (event.keyCode === 32 || event.keyCode === 13) {
|
|
521
|
+
this.repeat(event, null, 1);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
onUpButtonKeyUp() {
|
|
525
|
+
if (!this.disabled) {
|
|
526
|
+
this.clearTimer();
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
onDownButtonMouseDown(event) {
|
|
530
|
+
if (event.button === 2) {
|
|
531
|
+
this.clearTimer();
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
if (!this.disabled) {
|
|
535
|
+
this.input?.nativeElement.focus();
|
|
536
|
+
this.repeat(event, null, -1);
|
|
537
|
+
event.preventDefault();
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
onDownButtonMouseUp() {
|
|
541
|
+
if (!this.disabled) {
|
|
542
|
+
this.clearTimer();
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
onDownButtonMouseLeave() {
|
|
546
|
+
if (!this.disabled) {
|
|
547
|
+
this.clearTimer();
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
onDownButtonKeyUp() {
|
|
551
|
+
if (!this.disabled) {
|
|
552
|
+
this.clearTimer();
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
onDownButtonKeyDown(event) {
|
|
556
|
+
if (event.keyCode === 32 || event.keyCode === 13) {
|
|
557
|
+
this.repeat(event, null, -1);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
onUserInput(event) {
|
|
561
|
+
if (this.readonly) {
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
if (this.isSpecialChar) {
|
|
565
|
+
event.target.value = this.lastValue;
|
|
566
|
+
}
|
|
567
|
+
this.isSpecialChar = false;
|
|
568
|
+
}
|
|
569
|
+
onInputKeyDown(event) {
|
|
570
|
+
if (this.readonly) {
|
|
571
|
+
return;
|
|
572
|
+
}
|
|
573
|
+
this.lastValue = event.target.value;
|
|
574
|
+
if (event.shiftKey || event.altKey) {
|
|
575
|
+
this.isSpecialChar = true;
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
let selectionStart = event.target.selectionStart;
|
|
579
|
+
let selectionEnd = event.target.selectionEnd;
|
|
580
|
+
let inputValue = event.target.value;
|
|
581
|
+
let newValueStr = null;
|
|
582
|
+
if (event.altKey) {
|
|
583
|
+
event.preventDefault();
|
|
584
|
+
}
|
|
585
|
+
switch (event.key) {
|
|
586
|
+
case 'ArrowUp':
|
|
587
|
+
this.spin(event, 1);
|
|
588
|
+
event.preventDefault();
|
|
589
|
+
break;
|
|
590
|
+
case 'ArrowDown':
|
|
591
|
+
this.spin(event, -1);
|
|
592
|
+
event.preventDefault();
|
|
593
|
+
break;
|
|
594
|
+
case 'ArrowLeft':
|
|
595
|
+
for (let index = selectionStart; index <= inputValue.length; index++) {
|
|
596
|
+
const previousCharIndex = index === 0 ? 0 : index - 1;
|
|
597
|
+
if (this.isNumeralChar(inputValue.charAt(previousCharIndex))) {
|
|
598
|
+
this.input.nativeElement.setSelectionRange(index, index);
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
break;
|
|
603
|
+
case 'ArrowRight':
|
|
604
|
+
for (let index = selectionEnd; index >= 0; index--) {
|
|
605
|
+
if (this.isNumeralChar(inputValue.charAt(index))) {
|
|
606
|
+
this.input.nativeElement.setSelectionRange(index, index);
|
|
607
|
+
break;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
break;
|
|
611
|
+
case 'Tab':
|
|
612
|
+
case 'Enter':
|
|
613
|
+
newValueStr = this.validateValue(this.parseValue(this.input.nativeElement.value));
|
|
614
|
+
this.input.nativeElement.value = this.formatValue(newValueStr);
|
|
615
|
+
this.input.nativeElement.setAttribute('aria-valuenow', newValueStr);
|
|
616
|
+
this.updateModel(event, newValueStr);
|
|
617
|
+
break;
|
|
618
|
+
case 'Backspace': {
|
|
619
|
+
event.preventDefault();
|
|
620
|
+
if (selectionStart === selectionEnd) {
|
|
621
|
+
if ((selectionStart == 1 && this.prefix) || (selectionStart == inputValue.length && this.suffix)) {
|
|
622
|
+
break;
|
|
623
|
+
}
|
|
624
|
+
const deleteChar = inputValue.charAt(selectionStart - 1);
|
|
625
|
+
const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
|
|
626
|
+
if (this.isNumeralChar(deleteChar)) {
|
|
627
|
+
const decimalLength = this.getDecimalLength(inputValue);
|
|
628
|
+
if (this._group.test(deleteChar)) {
|
|
629
|
+
this._group.lastIndex = 0;
|
|
630
|
+
newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
|
|
631
|
+
}
|
|
632
|
+
else if (this._decimal.test(deleteChar)) {
|
|
633
|
+
this._decimal.lastIndex = 0;
|
|
634
|
+
if (decimalLength) {
|
|
635
|
+
this.input?.nativeElement.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
636
|
+
}
|
|
637
|
+
else {
|
|
638
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
642
|
+
const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
|
|
643
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
|
|
644
|
+
}
|
|
645
|
+
else if (decimalCharIndexWithoutPrefix === 1) {
|
|
646
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
|
|
647
|
+
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
648
|
+
}
|
|
649
|
+
else {
|
|
650
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
else if (this.mode === 'currency' && deleteChar.search(this._currency) != -1) {
|
|
654
|
+
newValueStr = inputValue.slice(1);
|
|
655
|
+
}
|
|
656
|
+
this.updateValue(event, newValueStr, null, 'delete-single');
|
|
657
|
+
}
|
|
658
|
+
else {
|
|
659
|
+
newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
|
|
660
|
+
this.updateValue(event, newValueStr, null, 'delete-range');
|
|
661
|
+
}
|
|
662
|
+
break;
|
|
663
|
+
}
|
|
664
|
+
case 'Delete':
|
|
665
|
+
event.preventDefault();
|
|
666
|
+
if (selectionStart === selectionEnd) {
|
|
667
|
+
if ((selectionStart == 0 && this.prefix) || (selectionStart == inputValue.length - 1 && this.suffix)) {
|
|
668
|
+
break;
|
|
669
|
+
}
|
|
670
|
+
const deleteChar = inputValue.charAt(selectionStart);
|
|
671
|
+
const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
|
|
672
|
+
if (this.isNumeralChar(deleteChar)) {
|
|
673
|
+
const decimalLength = this.getDecimalLength(inputValue);
|
|
674
|
+
if (this._group.test(deleteChar)) {
|
|
675
|
+
this._group.lastIndex = 0;
|
|
676
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
|
|
677
|
+
}
|
|
678
|
+
else if (this._decimal.test(deleteChar)) {
|
|
679
|
+
this._decimal.lastIndex = 0;
|
|
680
|
+
if (decimalLength) {
|
|
681
|
+
this.input?.nativeElement.setSelectionRange(selectionStart + 1, selectionStart + 1);
|
|
682
|
+
}
|
|
683
|
+
else {
|
|
684
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
688
|
+
const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
|
|
689
|
+
newValueStr = inputValue.slice(0, selectionStart) + insertedText + inputValue.slice(selectionStart + 1);
|
|
690
|
+
}
|
|
691
|
+
else if (decimalCharIndexWithoutPrefix === 1) {
|
|
692
|
+
newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
|
|
693
|
+
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
694
|
+
}
|
|
695
|
+
else {
|
|
696
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
this.updateValue(event, newValueStr, null, 'delete-back-single');
|
|
700
|
+
}
|
|
701
|
+
else {
|
|
702
|
+
newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
|
|
703
|
+
this.updateValue(event, newValueStr, null, 'delete-range');
|
|
704
|
+
}
|
|
705
|
+
break;
|
|
706
|
+
case 'Home':
|
|
707
|
+
if (this.min) {
|
|
708
|
+
this.updateModel(event, this.min);
|
|
709
|
+
event.preventDefault();
|
|
710
|
+
}
|
|
711
|
+
break;
|
|
712
|
+
case 'End':
|
|
713
|
+
if (this.max) {
|
|
714
|
+
this.updateModel(event, this.max);
|
|
715
|
+
event.preventDefault();
|
|
716
|
+
}
|
|
717
|
+
break;
|
|
718
|
+
default:
|
|
719
|
+
break;
|
|
720
|
+
}
|
|
721
|
+
this.onKeyDown.emit(event);
|
|
722
|
+
}
|
|
723
|
+
onInputKeyPress(event) {
|
|
724
|
+
if (this.readonly) {
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
let code = event.which || event.keyCode;
|
|
728
|
+
let char = String.fromCharCode(code);
|
|
729
|
+
let isDecimalSign = this.isDecimalSign(char);
|
|
730
|
+
const isMinusSign = this.isMinusSign(char);
|
|
731
|
+
if (code != 13) {
|
|
732
|
+
event.preventDefault();
|
|
733
|
+
}
|
|
734
|
+
if (!isDecimalSign && event.code === 'NumpadDecimal') {
|
|
735
|
+
isDecimalSign = true;
|
|
736
|
+
char = this._decimalChar;
|
|
737
|
+
code = char.charCodeAt(0);
|
|
738
|
+
}
|
|
739
|
+
const newValue = this.parseValue(this.input.nativeElement.value + char);
|
|
740
|
+
const newValueStr = newValue != null ? newValue.toString() : '';
|
|
741
|
+
if (this.maxlength && this.getSelectedText()?.length == this.maxlength) {
|
|
742
|
+
this.insert(event, char, { isDecimalSign, isMinusSign });
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
if (this.maxlength && newValueStr.length > this.maxlength) {
|
|
746
|
+
return;
|
|
747
|
+
}
|
|
748
|
+
if ((48 <= code && code <= 57) || isMinusSign || isDecimalSign) {
|
|
749
|
+
this.insert(event, char, { isDecimalSign, isMinusSign });
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
getSelectedText() {
|
|
753
|
+
return (window
|
|
754
|
+
?.getSelection()
|
|
755
|
+
?.toString()
|
|
756
|
+
.replaceAll(/[^0-9']/g, '') || '');
|
|
757
|
+
}
|
|
758
|
+
onPaste(event) {
|
|
759
|
+
if (!this.disabled && !this.readonly) {
|
|
760
|
+
event.preventDefault();
|
|
761
|
+
let data = (event.clipboardData || this.document.defaultView['clipboardData']).getData('Text');
|
|
762
|
+
if (data) {
|
|
763
|
+
if (this.maxlength) {
|
|
764
|
+
data = data.toString().substring(0, this.maxlength);
|
|
765
|
+
}
|
|
766
|
+
let filteredData = this.parseValue(data);
|
|
767
|
+
if (filteredData != null) {
|
|
768
|
+
this.insert(event, filteredData.toString());
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
allowMinusSign() {
|
|
774
|
+
return this.min == null || this.min < 0;
|
|
775
|
+
}
|
|
776
|
+
isMinusSign(char) {
|
|
777
|
+
if (this._minusSign.test(char) || char === '-') {
|
|
778
|
+
this._minusSign.lastIndex = 0;
|
|
779
|
+
return true;
|
|
780
|
+
}
|
|
781
|
+
return false;
|
|
782
|
+
}
|
|
783
|
+
isDecimalSign(char) {
|
|
784
|
+
if (this._decimal.test(char)) {
|
|
785
|
+
this._decimal.lastIndex = 0;
|
|
786
|
+
return true;
|
|
787
|
+
}
|
|
788
|
+
return false;
|
|
789
|
+
}
|
|
790
|
+
isDecimalMode() {
|
|
791
|
+
return this.mode === 'decimal';
|
|
792
|
+
}
|
|
793
|
+
getDecimalCharIndexes(val) {
|
|
794
|
+
let decimalCharIndex = val.search(this._decimal);
|
|
795
|
+
this._decimal.lastIndex = 0;
|
|
796
|
+
const filteredVal = val
|
|
797
|
+
.replace(this._prefix, '')
|
|
798
|
+
.trim()
|
|
799
|
+
.replace(/\s/g, '')
|
|
800
|
+
.replace(this._currency, '');
|
|
801
|
+
const decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
|
|
802
|
+
this._decimal.lastIndex = 0;
|
|
803
|
+
return { decimalCharIndex, decimalCharIndexWithoutPrefix };
|
|
804
|
+
}
|
|
805
|
+
getCharIndexes(val) {
|
|
806
|
+
const decimalCharIndex = val.search(this._decimal);
|
|
807
|
+
this._decimal.lastIndex = 0;
|
|
808
|
+
const minusCharIndex = val.search(this._minusSign);
|
|
809
|
+
this._minusSign.lastIndex = 0;
|
|
810
|
+
const suffixCharIndex = val.search(this._suffix);
|
|
811
|
+
this._suffix.lastIndex = 0;
|
|
812
|
+
const currencyCharIndex = val.search(this._currency);
|
|
813
|
+
this._currency.lastIndex = 0;
|
|
814
|
+
return { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex };
|
|
815
|
+
}
|
|
816
|
+
insert(event, text, sign = { isDecimalSign: false, isMinusSign: false }) {
|
|
817
|
+
const minusCharIndexOnText = text.search(this._minusSign);
|
|
818
|
+
this._minusSign.lastIndex = 0;
|
|
819
|
+
if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {
|
|
820
|
+
return;
|
|
821
|
+
}
|
|
822
|
+
let selectionStart = this.input?.nativeElement.selectionStart;
|
|
823
|
+
let selectionEnd = this.input?.nativeElement.selectionEnd;
|
|
824
|
+
let inputValue = this.input?.nativeElement.value.trim();
|
|
825
|
+
const { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex } = this.getCharIndexes(inputValue);
|
|
826
|
+
let newValueStr;
|
|
827
|
+
if (sign.isMinusSign) {
|
|
828
|
+
if (selectionStart === 0) {
|
|
829
|
+
newValueStr = inputValue;
|
|
830
|
+
if (minusCharIndex === -1 || selectionEnd !== 0) {
|
|
831
|
+
newValueStr = this.insertText(inputValue, text, 0, selectionEnd);
|
|
832
|
+
}
|
|
833
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
else if (sign.isDecimalSign) {
|
|
837
|
+
if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {
|
|
838
|
+
this.updateValue(event, inputValue, text, 'insert');
|
|
839
|
+
}
|
|
840
|
+
else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
|
|
841
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
842
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
843
|
+
}
|
|
844
|
+
else if (decimalCharIndex === -1 && this.maxFractionDigits) {
|
|
845
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
846
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
else {
|
|
850
|
+
const maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
|
|
851
|
+
const operation = selectionStart !== selectionEnd ? 'range-insert' : 'insert';
|
|
852
|
+
if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
853
|
+
if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
|
|
854
|
+
const charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
|
|
855
|
+
newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
|
|
856
|
+
this.updateValue(event, newValueStr, text, operation);
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
else {
|
|
860
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
861
|
+
this.updateValue(event, newValueStr, text, operation);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
insertText(value, text, start, end) {
|
|
866
|
+
let textSplit = text === '.' ? text : text.split('.');
|
|
867
|
+
if (textSplit.length === 2) {
|
|
868
|
+
const decimalCharIndex = value.slice(start, end).search(this._decimal);
|
|
869
|
+
this._decimal.lastIndex = 0;
|
|
870
|
+
return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : value || this.formatValue(text);
|
|
871
|
+
}
|
|
872
|
+
else if (end - start === value.length) {
|
|
873
|
+
return this.formatValue(text);
|
|
874
|
+
}
|
|
875
|
+
else if (start === 0) {
|
|
876
|
+
return text + value.slice(end);
|
|
877
|
+
}
|
|
878
|
+
else if (end === value.length) {
|
|
879
|
+
return value.slice(0, start) + text;
|
|
880
|
+
}
|
|
881
|
+
else {
|
|
882
|
+
return value.slice(0, start) + text + value.slice(end);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
deleteRange(value, start, end) {
|
|
886
|
+
let newValueStr;
|
|
887
|
+
if (end - start === value.length)
|
|
888
|
+
newValueStr = '';
|
|
889
|
+
else if (start === 0)
|
|
890
|
+
newValueStr = value.slice(end);
|
|
891
|
+
else if (end === value.length)
|
|
892
|
+
newValueStr = value.slice(0, start);
|
|
893
|
+
else
|
|
894
|
+
newValueStr = value.slice(0, start) + value.slice(end);
|
|
895
|
+
return newValueStr;
|
|
896
|
+
}
|
|
897
|
+
initCursor() {
|
|
898
|
+
let selectionStart = this.input?.nativeElement.selectionStart;
|
|
899
|
+
let selectionEnd = this.input?.nativeElement.selectionEnd;
|
|
900
|
+
let inputValue = this.input?.nativeElement.value;
|
|
901
|
+
let valueLength = inputValue.length;
|
|
902
|
+
let index = null;
|
|
903
|
+
// remove prefix
|
|
904
|
+
let prefixLength = (this.prefixChar || '').length;
|
|
905
|
+
inputValue = inputValue.replace(this._prefix, '');
|
|
906
|
+
// Will allow selecting whole prefix. But not a part of it.
|
|
907
|
+
// Negative values will trigger clauses after this to fix the cursor position.
|
|
908
|
+
if (selectionStart === selectionEnd || selectionStart !== 0 || selectionEnd < prefixLength) {
|
|
909
|
+
selectionStart -= prefixLength;
|
|
910
|
+
}
|
|
911
|
+
let char = inputValue.charAt(selectionStart);
|
|
912
|
+
if (this.isNumeralChar(char)) {
|
|
913
|
+
return selectionStart + prefixLength;
|
|
914
|
+
}
|
|
915
|
+
//left
|
|
916
|
+
let i = selectionStart - 1;
|
|
917
|
+
while (i >= 0) {
|
|
918
|
+
char = inputValue.charAt(i);
|
|
919
|
+
if (this.isNumeralChar(char)) {
|
|
920
|
+
index = i + prefixLength;
|
|
921
|
+
break;
|
|
922
|
+
}
|
|
923
|
+
else {
|
|
924
|
+
i--;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
if (index !== null) {
|
|
928
|
+
this.input?.nativeElement.setSelectionRange(index + 1, index + 1);
|
|
929
|
+
}
|
|
930
|
+
else {
|
|
931
|
+
i = selectionStart;
|
|
932
|
+
while (i < valueLength) {
|
|
933
|
+
char = inputValue.charAt(i);
|
|
934
|
+
if (this.isNumeralChar(char)) {
|
|
935
|
+
index = i + prefixLength;
|
|
936
|
+
break;
|
|
937
|
+
}
|
|
938
|
+
else {
|
|
939
|
+
i++;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
if (index !== null) {
|
|
943
|
+
this.input?.nativeElement.setSelectionRange(index, index);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
return index || 0;
|
|
947
|
+
}
|
|
948
|
+
onInputClick() {
|
|
949
|
+
const currentValue = this.input?.nativeElement.value;
|
|
950
|
+
if (!this.readonly && currentValue !== DomHandler.getSelection()) {
|
|
951
|
+
this.initCursor();
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
isNumeralChar(char) {
|
|
955
|
+
if (char.length === 1 && (this._numeral.test(char) || this._decimal.test(char) || this._group.test(char) || this._minusSign.test(char))) {
|
|
956
|
+
this.resetRegex();
|
|
957
|
+
return true;
|
|
958
|
+
}
|
|
959
|
+
return false;
|
|
960
|
+
}
|
|
961
|
+
resetRegex() {
|
|
962
|
+
this._numeral.lastIndex = 0;
|
|
963
|
+
this._decimal.lastIndex = 0;
|
|
964
|
+
this._group.lastIndex = 0;
|
|
965
|
+
this._minusSign.lastIndex = 0;
|
|
966
|
+
}
|
|
967
|
+
updateValue(event, valueStr, insertedValueStr, operation) {
|
|
968
|
+
let currentValue = this.input?.nativeElement.value;
|
|
969
|
+
let newValue = null;
|
|
970
|
+
if (valueStr != null) {
|
|
971
|
+
newValue = this.parseValue(valueStr);
|
|
972
|
+
newValue = !newValue && !this.allowEmpty ? 0 : newValue;
|
|
973
|
+
this.updateInput(newValue, insertedValueStr, operation, valueStr);
|
|
974
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
handleOnInput(event, currentValue, newValue) {
|
|
978
|
+
if (this.isValueChanged(currentValue, newValue)) {
|
|
979
|
+
this.input.nativeElement.value = this.formatValue(newValue);
|
|
980
|
+
this.input?.nativeElement.setAttribute('aria-valuenow', newValue);
|
|
981
|
+
!this.isBlurUpdateOnMode && this.updateModel(event, newValue);
|
|
982
|
+
this.onInput.emit({ originalEvent: event, value: newValue, formattedValue: currentValue });
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
isValueChanged(currentValue, newValue) {
|
|
986
|
+
if (newValue === null && currentValue !== null) {
|
|
987
|
+
return true;
|
|
988
|
+
}
|
|
989
|
+
if (newValue != null) {
|
|
990
|
+
let parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
|
|
991
|
+
return newValue !== parsedCurrentValue;
|
|
992
|
+
}
|
|
993
|
+
return false;
|
|
994
|
+
}
|
|
995
|
+
validateValue(value) {
|
|
996
|
+
if (value === '-' || value == null) {
|
|
997
|
+
return null;
|
|
998
|
+
}
|
|
999
|
+
if (this.min != null && value < this.min) {
|
|
1000
|
+
return this.min;
|
|
1001
|
+
}
|
|
1002
|
+
if (this.max != null && value > this.max) {
|
|
1003
|
+
return this.max;
|
|
1004
|
+
}
|
|
1005
|
+
return value;
|
|
1006
|
+
}
|
|
1007
|
+
updateInput(value, insertedValueStr, operation, valueStr) {
|
|
1008
|
+
insertedValueStr = insertedValueStr || '';
|
|
1009
|
+
let inputValue = this.input?.nativeElement.value;
|
|
1010
|
+
let newValue = this.formatValue(value);
|
|
1011
|
+
let currentLength = inputValue.length;
|
|
1012
|
+
if (newValue !== valueStr) {
|
|
1013
|
+
newValue = this.concatValues(newValue, valueStr);
|
|
1014
|
+
}
|
|
1015
|
+
if (currentLength === 0) {
|
|
1016
|
+
this.input.nativeElement.value = newValue;
|
|
1017
|
+
this.input.nativeElement.setSelectionRange(0, 0);
|
|
1018
|
+
const index = this.initCursor();
|
|
1019
|
+
const selectionEnd = index + insertedValueStr.length;
|
|
1020
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1021
|
+
}
|
|
1022
|
+
else {
|
|
1023
|
+
let selectionStart = this.input.nativeElement.selectionStart;
|
|
1024
|
+
let selectionEnd = this.input.nativeElement.selectionEnd;
|
|
1025
|
+
if (this.maxlength && newValue.length > this.maxlength) {
|
|
1026
|
+
newValue = newValue.slice(0, this.maxlength);
|
|
1027
|
+
selectionStart = Math.min(selectionStart, this.maxlength);
|
|
1028
|
+
selectionEnd = Math.min(selectionEnd, this.maxlength);
|
|
1029
|
+
}
|
|
1030
|
+
if (this.maxlength && this.maxlength < newValue.length) {
|
|
1031
|
+
return;
|
|
1032
|
+
}
|
|
1033
|
+
this.input.nativeElement.value = newValue;
|
|
1034
|
+
let newLength = newValue.length;
|
|
1035
|
+
if (operation === 'range-insert') {
|
|
1036
|
+
const startValue = this.parseValue((inputValue || '').slice(0, selectionStart));
|
|
1037
|
+
const startValueStr = startValue !== null ? startValue.toString() : '';
|
|
1038
|
+
const startExpr = startValueStr.split('').join(`(${this.groupChar})?`);
|
|
1039
|
+
const sRegex = new RegExp(startExpr, 'g');
|
|
1040
|
+
sRegex.test(newValue);
|
|
1041
|
+
const tExpr = insertedValueStr.split('').join(`(${this.groupChar})?`);
|
|
1042
|
+
const tRegex = new RegExp(tExpr, 'g');
|
|
1043
|
+
tRegex.test(newValue.slice(sRegex.lastIndex));
|
|
1044
|
+
selectionEnd = sRegex.lastIndex + tRegex.lastIndex;
|
|
1045
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1046
|
+
}
|
|
1047
|
+
else if (newLength === currentLength) {
|
|
1048
|
+
if (operation === 'insert' || operation === 'delete-back-single')
|
|
1049
|
+
this.input.nativeElement.setSelectionRange(selectionEnd + 1, selectionEnd + 1);
|
|
1050
|
+
else if (operation === 'delete-single')
|
|
1051
|
+
this.input.nativeElement.setSelectionRange(selectionEnd - 1, selectionEnd - 1);
|
|
1052
|
+
else if (operation === 'delete-range' || operation === 'spin')
|
|
1053
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1054
|
+
}
|
|
1055
|
+
else if (operation === 'delete-back-single') {
|
|
1056
|
+
let prevChar = inputValue.charAt(selectionEnd - 1);
|
|
1057
|
+
let nextChar = inputValue.charAt(selectionEnd);
|
|
1058
|
+
let diff = currentLength - newLength;
|
|
1059
|
+
let isGroupChar = this._group.test(nextChar);
|
|
1060
|
+
if (isGroupChar && diff === 1) {
|
|
1061
|
+
selectionEnd += 1;
|
|
1062
|
+
}
|
|
1063
|
+
else if (!isGroupChar && this.isNumeralChar(prevChar)) {
|
|
1064
|
+
selectionEnd += -1 * diff + 1;
|
|
1065
|
+
}
|
|
1066
|
+
this._group.lastIndex = 0;
|
|
1067
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1068
|
+
}
|
|
1069
|
+
else if (inputValue === '-' && operation === 'insert') {
|
|
1070
|
+
this.input.nativeElement.setSelectionRange(0, 0);
|
|
1071
|
+
const index = this.initCursor();
|
|
1072
|
+
const selectionEnd = index + insertedValueStr.length + 1;
|
|
1073
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1074
|
+
}
|
|
1075
|
+
else {
|
|
1076
|
+
selectionEnd = selectionEnd + (newLength - currentLength);
|
|
1077
|
+
this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
this.input.nativeElement.setAttribute('aria-valuenow', value);
|
|
1081
|
+
}
|
|
1082
|
+
concatValues(val1, val2) {
|
|
1083
|
+
if (val1 && val2) {
|
|
1084
|
+
let decimalCharIndex = val2.search(this._decimal);
|
|
1085
|
+
this._decimal.lastIndex = 0;
|
|
1086
|
+
if (this.suffixChar) {
|
|
1087
|
+
return decimalCharIndex !== -1 ? val1 : val1.replace(this.suffixChar, '').split(this._decimal)[0] + val2.replace(this.suffixChar, '').slice(decimalCharIndex) + this.suffixChar;
|
|
1088
|
+
}
|
|
1089
|
+
else {
|
|
1090
|
+
return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return val1;
|
|
1094
|
+
}
|
|
1095
|
+
getDecimalLength(value) {
|
|
1096
|
+
if (value) {
|
|
1097
|
+
const valueSplit = value.split(this._decimal);
|
|
1098
|
+
if (valueSplit.length === 2) {
|
|
1099
|
+
return valueSplit[1]
|
|
1100
|
+
.replace(this._suffix, '')
|
|
1101
|
+
.trim()
|
|
1102
|
+
.replace(/\s/g, '')
|
|
1103
|
+
.replace(this._currency, '').length;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
return 0;
|
|
1107
|
+
}
|
|
1108
|
+
onInputFocus(event) {
|
|
1109
|
+
this.focused = true;
|
|
1110
|
+
this.onFocus.emit(event);
|
|
1111
|
+
}
|
|
1112
|
+
onInputBlur(event) {
|
|
1113
|
+
this.focused = false;
|
|
1114
|
+
const newValueNumber = this.validateValue(this.parseValue(this.input.nativeElement.value));
|
|
1115
|
+
const newValueString = newValueNumber?.toString();
|
|
1116
|
+
this.input.nativeElement.value = this.formatValue(newValueString);
|
|
1117
|
+
this.input.nativeElement.setAttribute('aria-valuenow', newValueString);
|
|
1118
|
+
this.updateModel(event, newValueNumber);
|
|
1119
|
+
this.onBlur.emit(event);
|
|
1120
|
+
}
|
|
1121
|
+
formattedValue() {
|
|
1122
|
+
const val = !this.value && !this.allowEmpty ? 0 : this.value;
|
|
1123
|
+
return this.formatValue(val);
|
|
1124
|
+
}
|
|
1125
|
+
updateModel(event, value) {
|
|
1126
|
+
if (this.value !== value) {
|
|
1127
|
+
this.value = value;
|
|
1128
|
+
if (!(this.isBlurUpdateOnMode && this.focused)) {
|
|
1129
|
+
this.onModelChange(value);
|
|
1130
|
+
}
|
|
1131
|
+
else if (this.isBlurUpdateOnMode) {
|
|
1132
|
+
this.onModelChange(value);
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
this.onModelTouched();
|
|
1136
|
+
}
|
|
1137
|
+
writeValue(value) {
|
|
1138
|
+
this.value = value;
|
|
1139
|
+
this.cd.markForCheck();
|
|
1140
|
+
}
|
|
1141
|
+
registerOnChange(fn) {
|
|
1142
|
+
this.onModelChange = fn;
|
|
1143
|
+
}
|
|
1144
|
+
registerOnTouched(fn) {
|
|
1145
|
+
this.onModelTouched = fn;
|
|
1146
|
+
}
|
|
1147
|
+
setDisabledState(val) {
|
|
1148
|
+
this.disabled = val;
|
|
1149
|
+
this.cd.markForCheck();
|
|
1150
|
+
}
|
|
1151
|
+
get filled() {
|
|
1152
|
+
return this.value != null && this.value.toString().length > 0;
|
|
1153
|
+
}
|
|
1154
|
+
clearTimer() {
|
|
1155
|
+
if (this.timer) {
|
|
1156
|
+
clearInterval(this.timer);
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: InputNumber, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1160
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.9", type: InputNumber, isStandalone: true, selector: "cax-inputNumber", inputs: { showButtons: ["showButtons", "showButtons", booleanAttribute], format: ["format", "format", booleanAttribute], buttonLayout: "buttonLayout", inputId: "inputId", styleClass: "styleClass", style: "style", placeholder: "placeholder", size: ["size", "size", numberAttribute], maxlength: ["maxlength", "maxlength", numberAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], title: "title", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", ariaRequired: ["ariaRequired", "ariaRequired", booleanAttribute], name: "name", required: ["required", "required", booleanAttribute], autocomplete: "autocomplete", min: ["min", "min", numberAttribute], max: ["max", "max", numberAttribute], incrementButtonClass: "incrementButtonClass", decrementButtonClass: "decrementButtonClass", incrementButtonIcon: "incrementButtonIcon", decrementButtonIcon: "decrementButtonIcon", readonly: ["readonly", "readonly", booleanAttribute], step: ["step", "step", numberAttribute], allowEmpty: ["allowEmpty", "allowEmpty", booleanAttribute], locale: "locale", localeMatcher: "localeMatcher", mode: "mode", currency: "currency", currencyDisplay: "currencyDisplay", useGrouping: ["useGrouping", "useGrouping", booleanAttribute], variant: "variant", minFractionDigits: ["minFractionDigits", "minFractionDigits", (value) => numberAttribute(value, null)], maxFractionDigits: ["maxFractionDigits", "maxFractionDigits", (value) => numberAttribute(value, null)], prefix: "prefix", suffix: "suffix", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], disabled: "disabled" }, outputs: { onInput: "onInput", onFocus: "onFocus", onBlur: "onBlur", onKeyDown: "onKeyDown", onClear: "onClear" }, host: { properties: { "class.cax-inputwrapper-filled": "filled", "class.cax-inputwrapper-focus": "focused", "class.cax-inputnumber-clearable": "showClear && buttonLayout != \"vertical\"" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [INPUTNUMBER_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<span\r\n [ngClass]=\"{\r\n 'cax-inputnumber cax-component': true,\r\n 'cax-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',\r\n 'cax-inputnumber-buttons-horizontal': this.showButtons && this.buttonLayout === 'horizontal',\r\n 'cax-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical'\r\n }\"\r\n [ngStyle]=\"style\"\r\n [class]=\"styleClass\"\r\n [attr.data-pc-name]=\"'inputnumber'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n>\r\n <input\r\n caxInputText\r\n #input\r\n [attr.id]=\"inputId\"\r\n role=\"spinbutton\"\r\n [ngClass]=\"'cax-inputnumber-input'\"\r\n [ngStyle]=\"inputStyle\"\r\n [class]=\"inputStyleClass\"\r\n [value]=\"formattedValue()\"\r\n [attr.variant]=\"variant\"\r\n [attr.aria-valuemin]=\"min\"\r\n [attr.aria-valuemax]=\"max\"\r\n [attr.aria-valuenow]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.aria-label]=\"ariaLabel\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.title]=\"title\"\r\n [attr.size]=\"size\"\r\n [attr.name]=\"name\"\r\n [attr.autocomplete]=\"autocomplete\"\r\n [attr.maxlength]=\"maxlength\"\r\n [attr.tabindex]=\"tabindex\"\r\n [attr.aria-required]=\"ariaRequired\"\r\n [attr.required]=\"required\"\r\n [attr.min]=\"min\"\r\n [attr.max]=\"max\"\r\n inputmode=\"decimal\"\r\n (input)=\"onUserInput($event)\"\r\n (keydown)=\"onInputKeyDown($event)\"\r\n (keypress)=\"onInputKeyPress($event)\"\r\n (paste)=\"onPaste($event)\"\r\n (click)=\"onInputClick()\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n [attr.data-pc-section]=\"'input'\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [class.cax-variant-filled]=\"variant === 'filled' || config.inputStyle() === 'filled'\"\r\n />\r\n <ng-container *ngIf=\"buttonLayout != 'vertical' && showClear && value\">\r\n <TimesIcon *ngIf=\"!clearIconTemplate\" [ngClass]=\"'cax-inputnumber-clear-icon'\" (click)=\"clear()\" [attr.data-pc-section]=\"'clearIcon'\" />\r\n <span *ngIf=\"clearIconTemplate\" (click)=\"clear()\" class=\"cax-inputnumber-clear-icon\" [attr.data-pc-section]=\"'clearIcon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n <span class=\"cax-inputnumber-button-group\" *ngIf=\"showButtons && buttonLayout === 'stacked'\" [attr.data-pc-section]=\"'buttonGroup'\">\r\n <button\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-up': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"incrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n (mousedown)=\"onUpButtonMouseDown($event)\"\r\n (mouseup)=\"onUpButtonMouseUp()\"\r\n (mouseleave)=\"onUpButtonMouseLeave()\"\r\n (keydown)=\"onUpButtonKeyDown($event)\"\r\n (keyup)=\"onUpButtonKeyUp()\"\r\n [attr.aria-hidden]=\"true\"\r\n [attr.data-pc-section]=\"'incrementbutton'\"\r\n >\r\n <span *ngIf=\"incrementButtonIcon\" [ngClass]=\"incrementButtonIcon\" [attr.data-pc-section]=\"'incrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!incrementButtonIcon\">\r\n <AngleUpIcon *ngIf=\"!incrementButtonIconTemplate\" [attr.data-pc-section]=\"'incrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"incrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n <button\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-down': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"decrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onDownButtonMouseDown($event)\"\r\n (mouseup)=\"onDownButtonMouseUp()\"\r\n (mouseleave)=\"onDownButtonMouseLeave()\"\r\n (keydown)=\"onDownButtonKeyDown($event)\"\r\n (keyup)=\"onDownButtonKeyUp()\"\r\n [attr.data-pc-section]=\"decrementbutton\"\r\n >\r\n <span *ngIf=\"decrementButtonIcon\" [ngClass]=\"decrementButtonIcon\" [attr.data-pc-section]=\"'decrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!decrementButtonIcon\">\r\n <AngleDownIcon *ngIf=\"!decrementButtonIconTemplate\" [attr.data-pc-section]=\"'decrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"decrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n </span>\r\n <button\r\n *ngIf=\"showButtons && buttonLayout !== 'stacked'\"\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-up': true }\"\r\n [class]=\"incrementButtonClass\"\r\n class=\"cax-button-icon-only\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onUpButtonMouseDown($event)\"\r\n (mouseup)=\"onUpButtonMouseUp()\"\r\n (mouseleave)=\"onUpButtonMouseLeave()\"\r\n (keydown)=\"onUpButtonKeyDown($event)\"\r\n (keyup)=\"onUpButtonKeyUp()\"\r\n [attr.data-pc-section]=\"'incrementbutton'\"\r\n >\r\n <span *ngIf=\"incrementButtonIcon\" [ngClass]=\"incrementButtonIcon\" [attr.data-pc-section]=\"'incrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!incrementButtonIcon\">\r\n <AngleUpIcon *ngIf=\"!incrementButtonIconTemplate\" [attr.data-pc-section]=\"'incrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"incrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n <button\r\n *ngIf=\"showButtons && buttonLayout !== 'stacked'\"\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-down': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"decrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onDownButtonMouseDown($event)\"\r\n (mouseup)=\"onDownButtonMouseUp()\"\r\n (mouseleave)=\"onDownButtonMouseLeave()\"\r\n (keydown)=\"onDownButtonKeyDown($event)\"\r\n (keyup)=\"onDownButtonKeyUp()\"\r\n [attr.data-pc-section]=\"'decrementbutton'\"\r\n >\r\n <span *ngIf=\"decrementButtonIcon\" [ngClass]=\"decrementButtonIcon\" [attr.data-pc-section]=\"'decrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!decrementButtonIcon\">\r\n <AngleDownIcon *ngIf=\"!decrementButtonIconTemplate\" [attr.data-pc-section]=\"'decrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"decrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n</span>\r\n", styles: ["@layer cax{cax-inputnumber,.cax-inputnumber{display:inline-flex}.cax-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button .cax-button-label,.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button .cax-button-label{display:none}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.cax-inputnumber-buttons-stacked .cax-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.cax-inputnumber-buttons-stacked .cax-inputnumber-button-group{display:flex;flex-direction:column}.cax-inputnumber-buttons-stacked .cax-inputnumber-button-group .cax-button.cax-inputnumber-button{flex:1 1 auto}.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.cax-inputnumber-buttons-horizontal .cax-inputnumber-input{order:2;border-radius:0}.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.cax-inputnumber-buttons-vertical{flex-direction:column}.cax-inputnumber-buttons-vertical .cax-button.cax-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.cax-inputnumber-buttons-vertical .cax-inputnumber-input{order:2;border-radius:0;text-align:center}.cax-inputnumber-buttons-vertical .cax-button.cax-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.cax-inputnumber-input{flex:1 1 auto}.cax-fluid cax-inputnumber,.cax-fluid .cax-inputnumber{width:100%}.cax-fluid .cax-inputnumber .cax-inputnumber-input{width:1%}.cax-fluid .cax-inputnumber-buttons-vertical .cax-inputnumber-input{width:100%}.cax-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.cax-inputnumber-clearable{position:relative}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i3.Inputtext, selector: "[caxInputText]", inputs: ["variant"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i4.ButtonDirective, selector: "[caxButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "directive", type: i5.AutoFocus, selector: "[caxAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: AngleUpIcon, selector: "AngleUpIcon" }, { kind: "component", type: AngleDownIcon, selector: "AngleDownIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1161
|
+
}
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: InputNumber, decorators: [{
|
|
1163
|
+
type: Component,
|
|
1164
|
+
args: [{ selector: 'cax-inputNumber', changeDetection: ChangeDetectionStrategy.OnPush, providers: [INPUTNUMBER_VALUE_ACCESSOR], encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule, InputTextModule, ButtonModule, AutoFocusModule, TimesIcon, AngleUpIcon, AngleDownIcon], host: {
|
|
1165
|
+
class: 'cax-element cax-inputwrapper',
|
|
1166
|
+
'[class.cax-inputwrapper-filled]': 'filled',
|
|
1167
|
+
'[class.cax-inputwrapper-focus]': 'focused',
|
|
1168
|
+
'[class.cax-inputnumber-clearable]': 'showClear && buttonLayout != "vertical"'
|
|
1169
|
+
}, template: "<span\r\n [ngClass]=\"{\r\n 'cax-inputnumber cax-component': true,\r\n 'cax-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',\r\n 'cax-inputnumber-buttons-horizontal': this.showButtons && this.buttonLayout === 'horizontal',\r\n 'cax-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical'\r\n }\"\r\n [ngStyle]=\"style\"\r\n [class]=\"styleClass\"\r\n [attr.data-pc-name]=\"'inputnumber'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n>\r\n <input\r\n caxInputText\r\n #input\r\n [attr.id]=\"inputId\"\r\n role=\"spinbutton\"\r\n [ngClass]=\"'cax-inputnumber-input'\"\r\n [ngStyle]=\"inputStyle\"\r\n [class]=\"inputStyleClass\"\r\n [value]=\"formattedValue()\"\r\n [attr.variant]=\"variant\"\r\n [attr.aria-valuemin]=\"min\"\r\n [attr.aria-valuemax]=\"max\"\r\n [attr.aria-valuenow]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.aria-label]=\"ariaLabel\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.title]=\"title\"\r\n [attr.size]=\"size\"\r\n [attr.name]=\"name\"\r\n [attr.autocomplete]=\"autocomplete\"\r\n [attr.maxlength]=\"maxlength\"\r\n [attr.tabindex]=\"tabindex\"\r\n [attr.aria-required]=\"ariaRequired\"\r\n [attr.required]=\"required\"\r\n [attr.min]=\"min\"\r\n [attr.max]=\"max\"\r\n inputmode=\"decimal\"\r\n (input)=\"onUserInput($event)\"\r\n (keydown)=\"onInputKeyDown($event)\"\r\n (keypress)=\"onInputKeyPress($event)\"\r\n (paste)=\"onPaste($event)\"\r\n (click)=\"onInputClick()\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n [attr.data-pc-section]=\"'input'\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [class.cax-variant-filled]=\"variant === 'filled' || config.inputStyle() === 'filled'\"\r\n />\r\n <ng-container *ngIf=\"buttonLayout != 'vertical' && showClear && value\">\r\n <TimesIcon *ngIf=\"!clearIconTemplate\" [ngClass]=\"'cax-inputnumber-clear-icon'\" (click)=\"clear()\" [attr.data-pc-section]=\"'clearIcon'\" />\r\n <span *ngIf=\"clearIconTemplate\" (click)=\"clear()\" class=\"cax-inputnumber-clear-icon\" [attr.data-pc-section]=\"'clearIcon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n <span class=\"cax-inputnumber-button-group\" *ngIf=\"showButtons && buttonLayout === 'stacked'\" [attr.data-pc-section]=\"'buttonGroup'\">\r\n <button\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-up': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"incrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n (mousedown)=\"onUpButtonMouseDown($event)\"\r\n (mouseup)=\"onUpButtonMouseUp()\"\r\n (mouseleave)=\"onUpButtonMouseLeave()\"\r\n (keydown)=\"onUpButtonKeyDown($event)\"\r\n (keyup)=\"onUpButtonKeyUp()\"\r\n [attr.aria-hidden]=\"true\"\r\n [attr.data-pc-section]=\"'incrementbutton'\"\r\n >\r\n <span *ngIf=\"incrementButtonIcon\" [ngClass]=\"incrementButtonIcon\" [attr.data-pc-section]=\"'incrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!incrementButtonIcon\">\r\n <AngleUpIcon *ngIf=\"!incrementButtonIconTemplate\" [attr.data-pc-section]=\"'incrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"incrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n <button\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-down': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"decrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onDownButtonMouseDown($event)\"\r\n (mouseup)=\"onDownButtonMouseUp()\"\r\n (mouseleave)=\"onDownButtonMouseLeave()\"\r\n (keydown)=\"onDownButtonKeyDown($event)\"\r\n (keyup)=\"onDownButtonKeyUp()\"\r\n [attr.data-pc-section]=\"decrementbutton\"\r\n >\r\n <span *ngIf=\"decrementButtonIcon\" [ngClass]=\"decrementButtonIcon\" [attr.data-pc-section]=\"'decrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!decrementButtonIcon\">\r\n <AngleDownIcon *ngIf=\"!decrementButtonIconTemplate\" [attr.data-pc-section]=\"'decrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"decrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n </span>\r\n <button\r\n *ngIf=\"showButtons && buttonLayout !== 'stacked'\"\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-up': true }\"\r\n [class]=\"incrementButtonClass\"\r\n class=\"cax-button-icon-only\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onUpButtonMouseDown($event)\"\r\n (mouseup)=\"onUpButtonMouseUp()\"\r\n (mouseleave)=\"onUpButtonMouseLeave()\"\r\n (keydown)=\"onUpButtonKeyDown($event)\"\r\n (keyup)=\"onUpButtonKeyUp()\"\r\n [attr.data-pc-section]=\"'incrementbutton'\"\r\n >\r\n <span *ngIf=\"incrementButtonIcon\" [ngClass]=\"incrementButtonIcon\" [attr.data-pc-section]=\"'incrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!incrementButtonIcon\">\r\n <AngleUpIcon *ngIf=\"!incrementButtonIconTemplate\" [attr.data-pc-section]=\"'incrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"incrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n <button\r\n *ngIf=\"showButtons && buttonLayout !== 'stacked'\"\r\n type=\"button\"\r\n caxButton\r\n [ngClass]=\"{ 'cax-inputnumber-button cax-inputnumber-button-down': true }\"\r\n class=\"cax-button-icon-only\"\r\n [class]=\"decrementButtonClass\"\r\n [disabled]=\"disabled\"\r\n tabindex=\"-1\"\r\n [attr.aria-hidden]=\"true\"\r\n (mousedown)=\"onDownButtonMouseDown($event)\"\r\n (mouseup)=\"onDownButtonMouseUp()\"\r\n (mouseleave)=\"onDownButtonMouseLeave()\"\r\n (keydown)=\"onDownButtonKeyDown($event)\"\r\n (keyup)=\"onDownButtonKeyUp()\"\r\n [attr.data-pc-section]=\"'decrementbutton'\"\r\n >\r\n <span *ngIf=\"decrementButtonIcon\" [ngClass]=\"decrementButtonIcon\" [attr.data-pc-section]=\"'decrementbuttonicon'\"></span>\r\n <ng-container *ngIf=\"!decrementButtonIcon\">\r\n <AngleDownIcon *ngIf=\"!decrementButtonIconTemplate\" [attr.data-pc-section]=\"'decrementbuttonicon'\" />\r\n <ng-template *ngTemplateOutlet=\"decrementButtonIconTemplate\"></ng-template>\r\n </ng-container>\r\n </button>\r\n</span>\r\n", styles: ["@layer cax{cax-inputnumber,.cax-inputnumber{display:inline-flex}.cax-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button .cax-button-label,.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button .cax-button-label{display:none}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.cax-inputnumber-buttons-stacked .cax-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.cax-inputnumber-buttons-stacked .cax-button.cax-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.cax-inputnumber-buttons-stacked .cax-inputnumber-button-group{display:flex;flex-direction:column}.cax-inputnumber-buttons-stacked .cax-inputnumber-button-group .cax-button.cax-inputnumber-button{flex:1 1 auto}.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.cax-inputnumber-buttons-horizontal .cax-inputnumber-input{order:2;border-radius:0}.cax-inputnumber-buttons-horizontal .cax-button.cax-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.cax-inputnumber-buttons-vertical{flex-direction:column}.cax-inputnumber-buttons-vertical .cax-button.cax-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.cax-inputnumber-buttons-vertical .cax-inputnumber-input{order:2;border-radius:0;text-align:center}.cax-inputnumber-buttons-vertical .cax-button.cax-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.cax-inputnumber-input{flex:1 1 auto}.cax-fluid cax-inputnumber,.cax-fluid .cax-inputnumber{width:100%}.cax-fluid .cax-inputnumber .cax-inputnumber-input{width:1%}.cax-fluid .cax-inputnumber-buttons-vertical .cax-inputnumber-input{width:100%}.cax-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.cax-inputnumber-clearable{position:relative}}\n"] }]
|
|
1170
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
1171
|
+
type: Inject,
|
|
1172
|
+
args: [DOCUMENT]
|
|
1173
|
+
}] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: i1.caxConfig }], propDecorators: { showButtons: [{
|
|
1174
|
+
type: Input,
|
|
1175
|
+
args: [{ transform: booleanAttribute }]
|
|
1176
|
+
}], format: [{
|
|
1177
|
+
type: Input,
|
|
1178
|
+
args: [{ transform: booleanAttribute }]
|
|
1179
|
+
}], buttonLayout: [{
|
|
1180
|
+
type: Input
|
|
1181
|
+
}], inputId: [{
|
|
1182
|
+
type: Input
|
|
1183
|
+
}], styleClass: [{
|
|
1184
|
+
type: Input
|
|
1185
|
+
}], style: [{
|
|
1186
|
+
type: Input
|
|
1187
|
+
}], placeholder: [{
|
|
1188
|
+
type: Input
|
|
1189
|
+
}], size: [{
|
|
1190
|
+
type: Input,
|
|
1191
|
+
args: [{ transform: numberAttribute }]
|
|
1192
|
+
}], maxlength: [{
|
|
1193
|
+
type: Input,
|
|
1194
|
+
args: [{ transform: numberAttribute }]
|
|
1195
|
+
}], tabindex: [{
|
|
1196
|
+
type: Input,
|
|
1197
|
+
args: [{ transform: numberAttribute }]
|
|
1198
|
+
}], title: [{
|
|
1199
|
+
type: Input
|
|
1200
|
+
}], ariaLabelledBy: [{
|
|
1201
|
+
type: Input
|
|
1202
|
+
}], ariaLabel: [{
|
|
1203
|
+
type: Input
|
|
1204
|
+
}], ariaRequired: [{
|
|
1205
|
+
type: Input,
|
|
1206
|
+
args: [{ transform: booleanAttribute }]
|
|
1207
|
+
}], name: [{
|
|
1208
|
+
type: Input
|
|
1209
|
+
}], required: [{
|
|
1210
|
+
type: Input,
|
|
1211
|
+
args: [{ transform: booleanAttribute }]
|
|
1212
|
+
}], autocomplete: [{
|
|
1213
|
+
type: Input
|
|
1214
|
+
}], min: [{
|
|
1215
|
+
type: Input,
|
|
1216
|
+
args: [{ transform: numberAttribute }]
|
|
1217
|
+
}], max: [{
|
|
1218
|
+
type: Input,
|
|
1219
|
+
args: [{ transform: numberAttribute }]
|
|
1220
|
+
}], incrementButtonClass: [{
|
|
1221
|
+
type: Input
|
|
1222
|
+
}], decrementButtonClass: [{
|
|
1223
|
+
type: Input
|
|
1224
|
+
}], incrementButtonIcon: [{
|
|
1225
|
+
type: Input
|
|
1226
|
+
}], decrementButtonIcon: [{
|
|
1227
|
+
type: Input
|
|
1228
|
+
}], readonly: [{
|
|
1229
|
+
type: Input,
|
|
1230
|
+
args: [{ transform: booleanAttribute }]
|
|
1231
|
+
}], step: [{
|
|
1232
|
+
type: Input,
|
|
1233
|
+
args: [{ transform: numberAttribute }]
|
|
1234
|
+
}], allowEmpty: [{
|
|
1235
|
+
type: Input,
|
|
1236
|
+
args: [{ transform: booleanAttribute }]
|
|
1237
|
+
}], locale: [{
|
|
1238
|
+
type: Input
|
|
1239
|
+
}], localeMatcher: [{
|
|
1240
|
+
type: Input
|
|
1241
|
+
}], mode: [{
|
|
1242
|
+
type: Input
|
|
1243
|
+
}], currency: [{
|
|
1244
|
+
type: Input
|
|
1245
|
+
}], currencyDisplay: [{
|
|
1246
|
+
type: Input
|
|
1247
|
+
}], useGrouping: [{
|
|
1248
|
+
type: Input,
|
|
1249
|
+
args: [{ transform: booleanAttribute }]
|
|
1250
|
+
}], variant: [{
|
|
1251
|
+
type: Input
|
|
1252
|
+
}], minFractionDigits: [{
|
|
1253
|
+
type: Input,
|
|
1254
|
+
args: [{ transform: (value) => numberAttribute(value, null) }]
|
|
1255
|
+
}], maxFractionDigits: [{
|
|
1256
|
+
type: Input,
|
|
1257
|
+
args: [{ transform: (value) => numberAttribute(value, null) }]
|
|
1258
|
+
}], prefix: [{
|
|
1259
|
+
type: Input
|
|
1260
|
+
}], suffix: [{
|
|
1261
|
+
type: Input
|
|
1262
|
+
}], inputStyle: [{
|
|
1263
|
+
type: Input
|
|
1264
|
+
}], inputStyleClass: [{
|
|
1265
|
+
type: Input
|
|
1266
|
+
}], showClear: [{
|
|
1267
|
+
type: Input,
|
|
1268
|
+
args: [{ transform: booleanAttribute }]
|
|
1269
|
+
}], autofocus: [{
|
|
1270
|
+
type: Input,
|
|
1271
|
+
args: [{ transform: booleanAttribute }]
|
|
1272
|
+
}], disabled: [{
|
|
1273
|
+
type: Input
|
|
1274
|
+
}], onInput: [{
|
|
1275
|
+
type: Output
|
|
1276
|
+
}], onFocus: [{
|
|
1277
|
+
type: Output
|
|
1278
|
+
}], onBlur: [{
|
|
1279
|
+
type: Output
|
|
1280
|
+
}], onKeyDown: [{
|
|
1281
|
+
type: Output
|
|
1282
|
+
}], onClear: [{
|
|
1283
|
+
type: Output
|
|
1284
|
+
}], input: [{
|
|
1285
|
+
type: ViewChild,
|
|
1286
|
+
args: ['input']
|
|
1287
|
+
}], templates: [{
|
|
1288
|
+
type: ContentChildren,
|
|
1289
|
+
args: [CaxTemplate]
|
|
1290
|
+
}] } });
|
|
1291
|
+
|
|
1292
|
+
class InputNumberModule {
|
|
1293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: InputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1294
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: InputNumberModule, imports: [InputNumber, SharedModule], exports: [InputNumber, SharedModule] });
|
|
1295
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: InputNumberModule, imports: [InputNumber, SharedModule, SharedModule] });
|
|
1296
|
+
}
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: InputNumberModule, decorators: [{
|
|
1298
|
+
type: NgModule,
|
|
1299
|
+
args: [{
|
|
1300
|
+
imports: [InputNumber, SharedModule],
|
|
1301
|
+
exports: [InputNumber, SharedModule]
|
|
1302
|
+
}]
|
|
1303
|
+
}] });
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Generated bundle index. Do not edit.
|
|
1307
|
+
*/
|
|
1308
|
+
|
|
1309
|
+
export { INPUTNUMBER_VALUE_ACCESSOR, InputNumber, InputNumberModule };
|
|
1310
|
+
//# sourceMappingURL=cax-design-system-inputnumber.mjs.map
|