@sixbell-telco/sdk 0.71.0 → 1.0.1
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/CHANGELOG.md +307 -26
- package/README.md +285 -224
- package/_index.css +452 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +2 -2
- package/components/audio-player/button-play/button-play.component.d.ts +6 -6
- package/components/audio-player/services/audio.service.d.ts +1 -0
- package/components/audio-player/src/audio-player.component.d.ts +14 -8
- package/components/audio-player/volume-control/volume-control.component.d.ts +2 -2
- package/components/avatar/src/avatar.component.d.ts +116 -8
- package/components/badge/src/badge.component.d.ts +69 -7
- package/components/button/src/button.component.d.ts +120 -8
- package/components/card/card-actions/card-actions.component.d.ts +29 -1
- package/components/card/card-content/card-content.component.d.ts +25 -0
- package/components/card/card-title/card-title.component.d.ts +22 -0
- package/components/card/src/card.component.d.ts +90 -5
- package/components/countdown/src/countdown.component.d.ts +2 -6
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +35 -2
- package/components/dropdown/src/dropdown.component.d.ts +151 -9
- package/components/dual-list/src/dual-list.component.d.ts +7 -8
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +254 -0
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +209 -0
- package/components/file-upload/index.d.ts +5 -0
- package/components/file-upload/public-api.d.ts +4 -0
- package/components/file-upload/shared/types/file-upload.d.ts +8 -0
- package/components/forms/checkbox/src/checkbox.component.d.ts +68 -5
- package/components/forms/combobox/src/combobox.component.d.ts +476 -39
- package/components/forms/datepicker/src/datepicker.component.d.ts +2 -2
- package/components/forms/form-error/src/form-error.component.d.ts +2 -2
- package/components/forms/input/input-content/input-content.component.d.ts +8 -0
- package/components/forms/input/public-api.d.ts +1 -0
- package/components/forms/input/src/input.component.d.ts +148 -25
- package/components/forms/radio/src/radio.component.d.ts +83 -7
- package/components/forms/range/src/range.component.d.ts +101 -6
- package/components/forms/select/src/select.component.d.ts +316 -24
- package/components/forms/switch/src/switch.component.d.ts +74 -7
- package/components/forms/textarea/src/textarea.component.d.ts +172 -16
- package/components/forms/toggle/src/toggle.component.d.ts +3 -3
- package/components/icon/src/icon.component.d.ts +5 -5
- package/components/link/src/link.component.d.ts +1 -1
- package/components/modal/modal-actions/modal-actions.component.d.ts +1 -1
- package/components/modal/src/modal.component.d.ts +10 -10
- package/components/notification/src/notification.component.d.ts +2 -3
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +64 -15
- package/components/paginator/src/paginator.component.d.ts +93 -2
- package/components/product-card/src/product-card.component.d.ts +7 -8
- package/components/progress/src/progress.component.d.ts +59 -4
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +1 -1
- package/components/tab/directives/tab-header/tab-header.directive.d.ts +1 -1
- package/components/tab/src/tab.component.d.ts +3 -3
- package/components/table/public-api.d.ts +2 -0
- package/components/table/src/table.component.d.ts +160 -14
- package/components/table/table-action/table-action.component.d.ts +49 -0
- package/components/table/table-actions/table-actions.component.d.ts +25 -0
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +42 -0
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +46 -0
- package/components/toast/toast-message/toast-message.component.d.ts +3 -3
- package/components/tooltip/public-api.d.ts +1 -0
- package/components/tooltip/src/tooltip.component.d.ts +66 -5
- package/components/tooltip/tooltip-content/tooltip-content.component.d.ts +38 -0
- package/components/wizard/public-api.d.ts +2 -3
- package/components/wizard/services/wizard.service.d.ts +221 -0
- package/components/wizard/wizard-actions/wizard-actions.component.d.ts +8 -0
- package/components/wizard/wizard-content/wizard-content.component.d.ts +67 -13
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +81 -6
- package/components/wizard/wizard-step/wizard-step.component.d.ts +76 -9
- package/components/wizard/wizard-sub-step/wizard-sub-step.component.d.ts +91 -9
- package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +152 -16
- package/directives/auto-focus/index.d.ts +5 -0
- package/directives/auto-focus/public-api.d.ts +1 -0
- package/directives/auto-focus/src/autofocus.directive.d.ts +93 -0
- package/directives/click-outside/src/click-outside.directive.d.ts +48 -3
- package/directives/only-numbers/index.d.ts +5 -0
- package/directives/only-numbers/public-api.d.ts +1 -0
- package/directives/only-numbers/src/just-numbers.directive.d.ts +9 -0
- package/directives/typography/src/typography.directive.d.ts +47 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +10 -12
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +119 -69
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +109 -19
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +92 -46
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +153 -34
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +195 -33
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +8 -11
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +197 -26
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +30 -18
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +706 -0
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +85 -25
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +996 -113
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +11 -11
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +13 -12
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +221 -121
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +98 -26
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +117 -25
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +671 -74
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +95 -45
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +236 -75
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +74 -258
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +23 -14
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +16 -16
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +39 -36
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +16 -9
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +189 -59
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +35 -43
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +60 -12
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +33 -35
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +403 -58
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +28 -44
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +112 -10
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +897 -161
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +206 -0
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +54 -11
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +52 -0
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +66 -15
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-generators-uuid.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
- package/package.json +49 -145
- package/sixbell-telco-sdk-1.0.1.tgz +0 -0
- package/_index.scss +0 -146
- package/assets/styles/combobox.scss +0 -454
- package/components/file-upload/file-dropzone/index.d.ts +0 -5
- package/components/file-upload/file-dropzone/public-api.d.ts +0 -1
- package/components/file-upload/file-dropzone/src/file-dropzone.component.d.ts +0 -68
- package/components/file-upload/file-uploader/index.d.ts +0 -5
- package/components/file-upload/file-uploader/public-api.d.ts +0 -1
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +0 -46
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +0 -43
- package/esm2022/components/accordion/public-api.mjs +0 -3
- package/esm2022/components/accordion/sixbell-telco-sdk-components-accordion.mjs +0 -5
- package/esm2022/components/accordion/src/accordion.component.mjs +0 -13
- package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +0 -76
- package/esm2022/components/audio-player/button-play/button-play.component.mjs +0 -71
- package/esm2022/components/audio-player/public-api.mjs +0 -4
- package/esm2022/components/audio-player/services/audio.service.mjs +0 -189
- package/esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs +0 -5
- package/esm2022/components/audio-player/src/audio-player.component.mjs +0 -84
- package/esm2022/components/audio-player/track-info/track-info.component.mjs +0 -17
- package/esm2022/components/audio-player/volume-control/volume-control.component.mjs +0 -83
- package/esm2022/components/avatar/public-api.mjs +0 -2
- package/esm2022/components/avatar/sixbell-telco-sdk-components-avatar.mjs +0 -5
- package/esm2022/components/avatar/src/avatar.component.mjs +0 -59
- package/esm2022/components/badge/public-api.mjs +0 -2
- package/esm2022/components/badge/sixbell-telco-sdk-components-badge.mjs +0 -5
- package/esm2022/components/badge/src/badge.component.mjs +0 -76
- package/esm2022/components/button/public-api.mjs +0 -2
- package/esm2022/components/button/sixbell-telco-sdk-components-button.mjs +0 -5
- package/esm2022/components/button/src/button.component.mjs +0 -84
- package/esm2022/components/card/card-actions/card-actions.component.mjs +0 -22
- package/esm2022/components/card/card-content/card-content.component.mjs +0 -12
- package/esm2022/components/card/card-title/card-title.component.mjs +0 -12
- package/esm2022/components/card/public-api.mjs +0 -5
- package/esm2022/components/card/sixbell-telco-sdk-components-card.mjs +0 -5
- package/esm2022/components/card/src/card.component.mjs +0 -32
- package/esm2022/components/countdown/public-api.mjs +0 -2
- package/esm2022/components/countdown/sixbell-telco-sdk-components-countdown.mjs +0 -5
- package/esm2022/components/countdown/src/countdown.component.mjs +0 -60
- package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +0 -24
- package/esm2022/components/dropdown/public-api.mjs +0 -3
- package/esm2022/components/dropdown/sixbell-telco-sdk-components-dropdown.mjs +0 -5
- package/esm2022/components/dropdown/src/dropdown.component.mjs +0 -127
- package/esm2022/components/dual-list/public-api.mjs +0 -2
- package/esm2022/components/dual-list/sixbell-telco-sdk-components-dual-list.mjs +0 -5
- package/esm2022/components/dual-list/src/dual-list.component.mjs +0 -174
- package/esm2022/components/file-upload/file-dropzone/public-api.mjs +0 -2
- package/esm2022/components/file-upload/file-dropzone/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -5
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +0 -232
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.constants.mjs +0 -7
- package/esm2022/components/file-upload/file-uploader/public-api.mjs +0 -2
- package/esm2022/components/file-upload/file-uploader/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -5
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +0 -114
- package/esm2022/components/forms/checkbox/public-api.mjs +0 -2
- package/esm2022/components/forms/checkbox/sixbell-telco-sdk-components-forms-checkbox.mjs +0 -5
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +0 -94
- package/esm2022/components/forms/combobox/public-api.mjs +0 -2
- package/esm2022/components/forms/combobox/sixbell-telco-sdk-components-forms-combobox.mjs +0 -5
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +0 -165
- package/esm2022/components/forms/datepicker/public-api.mjs +0 -3
- package/esm2022/components/forms/datepicker/sixbell-telco-sdk-components-forms-datepicker.mjs +0 -5
- package/esm2022/components/forms/datepicker/src/datepicker-format-month.pipe.mjs +0 -20
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +0 -190
- package/esm2022/components/forms/form-error/public-api.mjs +0 -2
- package/esm2022/components/forms/form-error/sixbell-telco-sdk-components-forms-form-error.mjs +0 -5
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +0 -32
- package/esm2022/components/forms/input/public-api.mjs +0 -2
- package/esm2022/components/forms/input/sixbell-telco-sdk-components-forms-input.mjs +0 -5
- package/esm2022/components/forms/input/src/input.component.mjs +0 -201
- package/esm2022/components/forms/radio/public-api.mjs +0 -2
- package/esm2022/components/forms/radio/sixbell-telco-sdk-components-forms-radio.mjs +0 -5
- package/esm2022/components/forms/radio/src/radio.component.mjs +0 -96
- package/esm2022/components/forms/range/public-api.mjs +0 -2
- package/esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs +0 -5
- package/esm2022/components/forms/range/src/range.component.mjs +0 -103
- package/esm2022/components/forms/select/public-api.mjs +0 -2
- package/esm2022/components/forms/select/sixbell-telco-sdk-components-forms-select.mjs +0 -5
- package/esm2022/components/forms/select/src/select.component.mjs +0 -138
- package/esm2022/components/forms/switch/public-api.mjs +0 -2
- package/esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs +0 -5
- package/esm2022/components/forms/switch/src/switch.component.mjs +0 -108
- package/esm2022/components/forms/textarea/public-api.mjs +0 -2
- package/esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs +0 -5
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +0 -167
- package/esm2022/components/forms/toggle/public-api.mjs +0 -2
- package/esm2022/components/forms/toggle/sixbell-telco-sdk-components-forms-toggle.mjs +0 -5
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +0 -404
- package/esm2022/components/icon/heroicons/mini/public-api.mjs +0 -2
- package/esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs +0 -5
- package/esm2022/components/icon/heroicons/outline/public-api.mjs +0 -2
- package/esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs +0 -5
- package/esm2022/components/icon/heroicons/solid/public-api.mjs +0 -2
- package/esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs +0 -5
- package/esm2022/components/icon/ionicons/public-api.mjs +0 -2
- package/esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs +0 -5
- package/esm2022/components/icon/material/baseline/public-api.mjs +0 -2
- package/esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs +0 -5
- package/esm2022/components/icon/material/outline/public-api.mjs +0 -2
- package/esm2022/components/icon/material/outline/sixbell-telco-sdk-components-icon-material-outline.mjs +0 -5
- package/esm2022/components/icon/material/round/public-api.mjs +0 -2
- package/esm2022/components/icon/material/round/sixbell-telco-sdk-components-icon-material-round.mjs +0 -5
- package/esm2022/components/icon/material/sharp/public-api.mjs +0 -2
- package/esm2022/components/icon/material/sharp/sixbell-telco-sdk-components-icon-material-sharp.mjs +0 -5
- package/esm2022/components/icon/public-api.mjs +0 -2
- package/esm2022/components/icon/sixbell-telco-sdk-components-icon.mjs +0 -5
- package/esm2022/components/icon/src/icon.component.mjs +0 -41
- package/esm2022/components/link/public-api.mjs +0 -2
- package/esm2022/components/link/sixbell-telco-sdk-components-link.mjs +0 -5
- package/esm2022/components/link/src/link.component.mjs +0 -63
- package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +0 -22
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +0 -12
- package/esm2022/components/modal/modal-title/modal-title.component.mjs +0 -13
- package/esm2022/components/modal/public-api.mjs +0 -5
- package/esm2022/components/modal/sixbell-telco-sdk-components-modal.mjs +0 -5
- package/esm2022/components/modal/src/modal.component.mjs +0 -154
- package/esm2022/components/notification/public-api.mjs +0 -2
- package/esm2022/components/notification/sixbell-telco-sdk-components-notification.mjs +0 -5
- package/esm2022/components/notification/src/notification.component.mjs +0 -55
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +0 -113
- package/esm2022/components/paginator/public-api.mjs +0 -3
- package/esm2022/components/paginator/sixbell-telco-sdk-components-paginator.mjs +0 -5
- package/esm2022/components/paginator/src/paginator.component.mjs +0 -52
- package/esm2022/components/product-card/directives/product-card-actions.directive.mjs +0 -15
- package/esm2022/components/product-card/directives/product-card-content.directive.mjs +0 -15
- package/esm2022/components/product-card/directives/product-card-header.directive.mjs +0 -15
- package/esm2022/components/product-card/public-api.mjs +0 -5
- package/esm2022/components/product-card/sixbell-telco-sdk-components-product-card.mjs +0 -5
- package/esm2022/components/product-card/src/product-card.component.mjs +0 -140
- package/esm2022/components/progress/public-api.mjs +0 -2
- package/esm2022/components/progress/sixbell-telco-sdk-components-progress.mjs +0 -5
- package/esm2022/components/progress/src/progress.component.mjs +0 -43
- package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +0 -51
- package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +0 -56
- package/esm2022/components/tab/public-api.mjs +0 -4
- package/esm2022/components/tab/sixbell-telco-sdk-components-tab.mjs +0 -5
- package/esm2022/components/tab/src/tab.component.mjs +0 -42
- package/esm2022/components/table/public-api.mjs +0 -4
- package/esm2022/components/table/sixbell-telco-sdk-components-table.mjs +0 -5
- package/esm2022/components/table/src/table.component.mjs +0 -143
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +0 -25
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +0 -26
- package/esm2022/components/toast/public-api.mjs +0 -4
- package/esm2022/components/toast/services/toast.service.mjs +0 -67
- package/esm2022/components/toast/sixbell-telco-sdk-components-toast.mjs +0 -5
- package/esm2022/components/toast/toast-message/toast-message.component.mjs +0 -80
- package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +0 -41
- package/esm2022/components/tooltip/public-api.mjs +0 -2
- package/esm2022/components/tooltip/sixbell-telco-sdk-components-tooltip.mjs +0 -5
- package/esm2022/components/tooltip/src/tooltip.component.mjs +0 -45
- package/esm2022/components/wizard/public-api.mjs +0 -6
- package/esm2022/components/wizard/sixbell-telco-sdk-components-wizard.mjs +0 -5
- package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +0 -30
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +0 -24
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +0 -44
- package/esm2022/components/wizard/wizard-sub-step/wizard-sub-step.component.mjs +0 -34
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +0 -88
- package/esm2022/directives/click-outside/public-api.mjs +0 -2
- package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +0 -5
- package/esm2022/directives/click-outside/src/click-outside.directive.mjs +0 -30
- package/esm2022/directives/typography/public-api.mjs +0 -2
- package/esm2022/directives/typography/sixbell-telco-sdk-directives-typography.mjs +0 -5
- package/esm2022/directives/typography/src/typography.directive.mjs +0 -68
- package/esm2022/public_api.mjs +0 -2
- package/esm2022/sixbell-telco-sdk.mjs +0 -5
- package/esm2022/utils/cn/public-api.mjs +0 -2
- package/esm2022/utils/cn/sixbell-telco-sdk-utils-cn.mjs +0 -5
- package/esm2022/utils/cn/src/cn.mjs +0 -6
- package/esm2022/utils/generators/uuid/public-api.mjs +0 -2
- package/esm2022/utils/generators/uuid/sixbell-telco-sdk-utils-generators-uuid.mjs +0 -5
- package/esm2022/utils/generators/uuid/src/uuid.mjs +0 -5
- package/esm2022/utils/pipes/extract-extension/public-api.mjs +0 -2
- package/esm2022/utils/pipes/extract-extension/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +0 -5
- package/esm2022/utils/pipes/extract-extension/src/extract-extension.mjs +0 -30
- package/esm2022/utils/pipes/time/public-api.mjs +0 -2
- package/esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs +0 -5
- package/esm2022/utils/pipes/time/src/time.pipe.mjs +0 -19
- package/esm2022/utils/pipes/to-bytes-extesion/public-api.mjs +0 -2
- package/esm2022/utils/pipes/to-bytes-extesion/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +0 -5
- package/esm2022/utils/pipes/to-bytes-extesion/src/to-bytes.pipe.mjs +0 -29
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -245
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +0 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -121
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +0 -1
- /package/assets/styles/{toast.scss → toast.css} +0 -0
- /package/components/file-upload/{file-dropzone/src/file-dropzone.constants.d.ts → shared/const/file-upload.constants.d.ts} +0 -0
|
@@ -1,54 +1,491 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Combobox Component
|
|
3
|
+
*
|
|
4
|
+
* A comprehensive combobox component with advanced features including:
|
|
5
|
+
* - Single and multiple selection modes
|
|
6
|
+
* - Real-time search with debouncing
|
|
7
|
+
* - Keyboard navigation support (Arrow keys, Enter, Space)
|
|
8
|
+
* - Form validation integration
|
|
9
|
+
* - Accessibility compliance with CDK Listbox
|
|
10
|
+
* - Customizable styling variants and sizes
|
|
11
|
+
* - Animation states for smooth transitions
|
|
12
|
+
*/
|
|
13
|
+
import { CdkListbox } from '@angular/cdk/listbox';
|
|
14
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
15
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
16
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
17
|
+
import { BadgeSizeProps } from '@sixbell-telco/sdk/components/badge';
|
|
2
18
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Available style variants for the combobox component
|
|
21
|
+
*/
|
|
22
|
+
export type ComboboxVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'error' | 'warning' | null | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Available size variants for the combobox component
|
|
25
|
+
*/
|
|
26
|
+
export type ComboboxSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Props interface for the combobox component
|
|
29
|
+
*/
|
|
6
30
|
export type ComboboxProps = {
|
|
7
31
|
variant?: ComboboxVariantProps;
|
|
8
|
-
shape?: ComboboxShapeProps;
|
|
9
32
|
size?: ComboboxSizeProps;
|
|
10
33
|
};
|
|
11
34
|
/**
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
35
|
+
* Animation states for the combobox overlay
|
|
36
|
+
*/
|
|
37
|
+
type AnimationState = 'closed' | 'opening' | 'open' | 'closing';
|
|
38
|
+
/**
|
|
39
|
+
* Selection type for the combobox
|
|
16
40
|
*/
|
|
17
|
-
|
|
41
|
+
type SelectionType = 'single' | 'multiple';
|
|
42
|
+
/**
|
|
43
|
+
* Event emitted when the search query changes
|
|
44
|
+
*/
|
|
45
|
+
export type ComboboxSearchQueryEvent = {
|
|
46
|
+
query: string;
|
|
47
|
+
results: any[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* A customizable combobox component with search functionality, multiple selection modes,
|
|
51
|
+
* and keyboard navigation support. Implements Angular's ControlValueAccessor interface
|
|
52
|
+
* for seamless integration with reactive forms.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```html
|
|
56
|
+
* <st-combobox
|
|
57
|
+
* [(value)]="selectedValue"
|
|
58
|
+
* [options]="availableOptions"
|
|
59
|
+
* displayKey="name"
|
|
60
|
+
* valueKey="id"
|
|
61
|
+
* placeholder="Select an option"
|
|
62
|
+
* variant="primary"
|
|
63
|
+
* size="md">
|
|
64
|
+
* </st-combobox>
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```typescript
|
|
69
|
+
* // Multiple selection
|
|
70
|
+
* <st-combobox
|
|
71
|
+
* [(value)]="selectedValues"
|
|
72
|
+
* [options]="options"
|
|
73
|
+
* selectionType="multiple"
|
|
74
|
+
* [allowClear]="true">
|
|
75
|
+
* </st-combobox>
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare class ComboboxComponent implements AfterViewInit, ControlValueAccessor {
|
|
79
|
+
/**
|
|
80
|
+
* Angular translation service for internationalization
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
translateService: TranslateService;
|
|
84
|
+
/**
|
|
85
|
+
* The visual style variant of the combobox
|
|
86
|
+
* @default 'secondary'
|
|
87
|
+
*/
|
|
18
88
|
variant: import("@angular/core").InputSignal<ComboboxVariantProps>;
|
|
19
|
-
|
|
89
|
+
/**
|
|
90
|
+
* The size variant of the combobox
|
|
91
|
+
* @default 'md'
|
|
92
|
+
*/
|
|
20
93
|
size: import("@angular/core").InputSignal<ComboboxSizeProps>;
|
|
21
|
-
|
|
94
|
+
/**
|
|
95
|
+
* Whether to use ghost (transparent) styling
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* The HTML name attribute for the underlying form control
|
|
101
|
+
*/
|
|
22
102
|
name: import("@angular/core").InputSignal<string | null>;
|
|
103
|
+
/**
|
|
104
|
+
* Placeholder text displayed when no option is selected
|
|
105
|
+
*/
|
|
106
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the combobox is disabled
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* Label text displayed above the combobox
|
|
114
|
+
*/
|
|
23
115
|
label: import("@angular/core").InputSignal<string>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
loading: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
search: string;
|
|
29
|
-
trackBy: import("@angular/core").InputSignal<string>;
|
|
30
|
-
key: import("@angular/core").InputSignal<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Parent form group for reactive forms integration
|
|
118
|
+
*/
|
|
31
119
|
parentForm: import("@angular/core").InputSignal<FormGroup<any> | null>;
|
|
120
|
+
/**
|
|
121
|
+
* The form control name when used within a reactive form
|
|
122
|
+
*/
|
|
32
123
|
formControlName: import("@angular/core").InputSignal<string>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
124
|
+
/**
|
|
125
|
+
* Whether to show a clear button next to the selected value(s) in the trigger
|
|
126
|
+
* Works for both single and multiple selection modes
|
|
127
|
+
* @default true
|
|
128
|
+
*/
|
|
129
|
+
allowClear: import("@angular/core").InputSignal<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* Whether to show a "Clear All" button at the bottom of the dropdown for multiple selection
|
|
132
|
+
* Only applies when selectionType is 'multiple'
|
|
133
|
+
* @default true
|
|
134
|
+
*/
|
|
135
|
+
allowClearAll: import("@angular/core").InputSignal<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* Placeholder text for the search input field
|
|
138
|
+
* @default 'Search...'
|
|
139
|
+
*/
|
|
140
|
+
searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Text displayed when no search results are found
|
|
143
|
+
* @default 'No results found'
|
|
144
|
+
*/
|
|
145
|
+
noResultsText: import("@angular/core").InputSignal<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The current selected value(s)
|
|
148
|
+
* For single selection: any | null
|
|
149
|
+
* For multiple selection: any[]
|
|
150
|
+
*/
|
|
151
|
+
value: import("@angular/core").ModelSignal<any>;
|
|
152
|
+
/**
|
|
153
|
+
* Array of available options to select from
|
|
154
|
+
*/
|
|
155
|
+
options: import("@angular/core").InputSignal<any[]>;
|
|
156
|
+
/**
|
|
157
|
+
* The object property to use for display text when options are objects
|
|
158
|
+
* Falls back to common property names if not specified
|
|
159
|
+
*/
|
|
160
|
+
displayKey: import("@angular/core").InputSignal<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The object property to use as the value when options are objects
|
|
163
|
+
* Uses the entire object if not specified
|
|
164
|
+
*/
|
|
165
|
+
valueKey: import("@angular/core").InputSignal<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Selection mode: 'single' for single selection, 'multiple' for multi-select
|
|
168
|
+
* @default 'single'
|
|
169
|
+
*/
|
|
170
|
+
selectionType: import("@angular/core").InputSignal<SelectionType>;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to enable debounced search functionality
|
|
173
|
+
* @default false
|
|
174
|
+
*/
|
|
175
|
+
searchDebounced: import("@angular/core").InputSignal<boolean>;
|
|
176
|
+
/**
|
|
177
|
+
* Debounce time in milliseconds for search input
|
|
178
|
+
* @default 300
|
|
179
|
+
*/
|
|
180
|
+
searchDebounceTime: import("@angular/core").InputSignal<number>;
|
|
181
|
+
/**
|
|
182
|
+
* Event emitted when combobox loses focus
|
|
183
|
+
*/
|
|
184
|
+
blurred: import("@angular/core").OutputEmitterRef<unknown>;
|
|
185
|
+
/**
|
|
186
|
+
* Event emitted when selection changes
|
|
187
|
+
*/
|
|
188
|
+
valueUpdated: import("@angular/core").OutputEmitterRef<any>;
|
|
189
|
+
/**
|
|
190
|
+
* Event emitted when search query changes with filtered results
|
|
191
|
+
*/
|
|
192
|
+
searchQuery: import("@angular/core").OutputEmitterRef<ComboboxSearchQueryEvent>;
|
|
193
|
+
/** Search icon for the search input */
|
|
194
|
+
iconSearch: string;
|
|
195
|
+
/** Dropdown chevron icon */
|
|
196
|
+
iconChevronDown: string;
|
|
197
|
+
/** Check icon for selected options */
|
|
198
|
+
iconCheck: string;
|
|
199
|
+
/** Close/clear icon */
|
|
200
|
+
iconClose: string;
|
|
201
|
+
/** Internal search input value */
|
|
202
|
+
private readonly searchValue;
|
|
203
|
+
/** Processed search term after debouncing */
|
|
204
|
+
private readonly searchTerm;
|
|
205
|
+
/** RxJS subject for search input handling */
|
|
206
|
+
private readonly searchSubject;
|
|
207
|
+
/** Current animation state of the overlay */
|
|
208
|
+
private readonly animationState;
|
|
209
|
+
/** Trigger for blur events in form validation */
|
|
210
|
+
private readonly blurTrigger;
|
|
211
|
+
/** Active option index for keyboard navigation */
|
|
212
|
+
private readonly activeOptionIndex;
|
|
213
|
+
/** Reference to the trigger button element */
|
|
214
|
+
triggerRef: import("@angular/core").Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
215
|
+
/** Reference to the search input element */
|
|
216
|
+
searchInputRef: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
217
|
+
/** Reference to the options list container */
|
|
218
|
+
optionsList: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
219
|
+
/** Reference to the CDK listbox for keyboard navigation */
|
|
220
|
+
listbox: import("@angular/core").Signal<CdkListbox<unknown> | undefined>;
|
|
221
|
+
/** Width of the trigger button for overlay positioning */
|
|
222
|
+
triggerWidth: import("@angular/core").WritableSignal<number>;
|
|
223
|
+
/** Form control reference for reactive forms */
|
|
224
|
+
private readonly formControl;
|
|
225
|
+
/** Observable stream of form control */
|
|
226
|
+
private readonly formControl$;
|
|
227
|
+
/** Stream of form control status changes */
|
|
228
|
+
private readonly statusChanges$;
|
|
229
|
+
/** Stream of form control value changes */
|
|
230
|
+
private readonly stateChanges$;
|
|
231
|
+
/** Signal for form control status */
|
|
232
|
+
private readonly statusSignal;
|
|
233
|
+
/** Signal for form control state */
|
|
234
|
+
private readonly stateSignal;
|
|
235
|
+
/** Callback function for value changes */
|
|
236
|
+
private onChange;
|
|
237
|
+
/** Callback function for touch events */
|
|
238
|
+
private onTouched;
|
|
239
|
+
constructor();
|
|
240
|
+
/**
|
|
241
|
+
* Filtered options based on current search term
|
|
242
|
+
* @returns Array of options that match the search criteria
|
|
243
|
+
*/
|
|
244
|
+
filteredOptions: import("@angular/core").Signal<any[]>;
|
|
245
|
+
/**
|
|
246
|
+
* Whether the overlay is currently open or in the process of opening/closing
|
|
247
|
+
* @returns True if overlay is visible or animating
|
|
248
|
+
*/
|
|
249
|
+
isOpen: import("@angular/core").Signal<boolean>;
|
|
250
|
+
/**
|
|
251
|
+
* Whether the overlay is currently animating to open state
|
|
252
|
+
* @returns True if overlay is opening or open
|
|
253
|
+
*/
|
|
254
|
+
isAnimatingOpen: import("@angular/core").Signal<boolean>;
|
|
255
|
+
/**
|
|
256
|
+
* Current animation state for template binding
|
|
257
|
+
* @returns Current animation state
|
|
258
|
+
*/
|
|
259
|
+
dataState: import("@angular/core").Signal<AnimationState>;
|
|
260
|
+
/**
|
|
261
|
+
* Display value for the selected option(s)
|
|
262
|
+
* @returns Formatted display string based on selection type and current value
|
|
263
|
+
*/
|
|
264
|
+
displayValue: import("@angular/core").Signal<any>;
|
|
265
|
+
/**
|
|
266
|
+
* Display information for multiple selection showing first item and additional count
|
|
267
|
+
* @returns Object with first item display and additional count, or null for single selection
|
|
268
|
+
*/
|
|
269
|
+
multipleDisplayInfo: import("@angular/core").Signal<{
|
|
270
|
+
firstItem: string;
|
|
271
|
+
additionalCount: number;
|
|
272
|
+
} | null>;
|
|
273
|
+
/**
|
|
274
|
+
* Whether the clear button should be shown
|
|
275
|
+
* @returns True if there's a valid selected value and clear is allowed
|
|
276
|
+
*/
|
|
277
|
+
showClearButton: import("@angular/core").Signal<boolean>;
|
|
278
|
+
/**
|
|
279
|
+
* Base CSS classes for the combobox component
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
componentClass: import("@angular/core").Signal<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Error state CSS classes
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
errorClass: import("@angular/core").Signal<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Success state CSS classes
|
|
290
|
+
* @internal
|
|
291
|
+
*/
|
|
292
|
+
successClass: import("@angular/core").Signal<string>;
|
|
293
|
+
/**
|
|
294
|
+
* Validation-aware CSS classes based on form control state
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
validationClass: import("@angular/core").Signal<string>;
|
|
298
|
+
/**
|
|
299
|
+
* CSS classes for the search input field
|
|
300
|
+
* @internal
|
|
301
|
+
*/
|
|
302
|
+
searchInputClass: import("@angular/core").Signal<string>;
|
|
303
|
+
/**
|
|
304
|
+
* CSS classes for the options menu
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
menuClass: import("@angular/core").Signal<string>;
|
|
308
|
+
/**
|
|
309
|
+
* CSS classes for the badge
|
|
310
|
+
* @internal
|
|
311
|
+
*/
|
|
312
|
+
badgeClass: import("@angular/core").Signal<BadgeSizeProps>;
|
|
313
|
+
/**
|
|
314
|
+
* Translated search placeholder text
|
|
315
|
+
* @returns Translated placeholder or input value
|
|
316
|
+
*/
|
|
317
|
+
translatedSearchPlaceholder: import("@angular/core").Signal<any>;
|
|
318
|
+
/**
|
|
319
|
+
* Translated main placeholder text
|
|
320
|
+
* @returns Translated placeholder or input value
|
|
321
|
+
*/
|
|
322
|
+
translatedPlaceholder: import("@angular/core").Signal<any>;
|
|
323
|
+
/**
|
|
324
|
+
* Translated no results text
|
|
325
|
+
* @returns Translated no results text or input value
|
|
326
|
+
*/
|
|
327
|
+
translatedNoResultsText: import("@angular/core").Signal<any>;
|
|
328
|
+
/**
|
|
329
|
+
* Current search input value for template binding
|
|
330
|
+
* @returns Current search value
|
|
331
|
+
*/
|
|
332
|
+
get currentSearchValue(): string;
|
|
333
|
+
/**
|
|
334
|
+
* Angular lifecycle hook called after view initialization
|
|
335
|
+
* Updates the trigger width for proper overlay positioning
|
|
336
|
+
*/
|
|
337
|
+
ngAfterViewInit(): void;
|
|
338
|
+
/**
|
|
339
|
+
* Writes a new value to the component
|
|
340
|
+
* @param value - The new value to set
|
|
341
|
+
*/
|
|
342
|
+
writeValue(value: any): void;
|
|
343
|
+
/**
|
|
344
|
+
* Registers a callback function to be called when the value changes
|
|
345
|
+
* @param fn - The callback function
|
|
346
|
+
*/
|
|
347
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
348
|
+
/**
|
|
349
|
+
* Registers a callback function to be called when the component is touched
|
|
350
|
+
* @param fn - The callback function
|
|
351
|
+
*/
|
|
352
|
+
registerOnTouched(fn: () => void): void;
|
|
353
|
+
/**
|
|
354
|
+
* Toggles the overlay open/closed state
|
|
355
|
+
* Handles focus management and animation state transitions
|
|
356
|
+
*/
|
|
357
|
+
toggleOverlay(): void;
|
|
358
|
+
/**
|
|
359
|
+
* Handles animation end events to update state
|
|
360
|
+
* @param event - The animation event
|
|
361
|
+
*/
|
|
362
|
+
onAnimationEnd(event: AnimationEvent): void;
|
|
363
|
+
/**
|
|
364
|
+
* Handles overlay detachment
|
|
365
|
+
* Cleans up state and triggers blur
|
|
366
|
+
*/
|
|
367
|
+
handleDetach(): void;
|
|
368
|
+
/**
|
|
369
|
+
* Handles clicks outside the component
|
|
370
|
+
* @param event - The mouse event
|
|
371
|
+
*/
|
|
372
|
+
handleClickOutside(event: MouseEvent): void;
|
|
373
|
+
/**
|
|
374
|
+
* Handles search input changes
|
|
375
|
+
* @param event - The input event
|
|
376
|
+
*/
|
|
377
|
+
handleSearchInput(event: Event): void;
|
|
378
|
+
/**
|
|
379
|
+
* Handles option selection
|
|
380
|
+
* @param option - The selected option
|
|
381
|
+
*/
|
|
382
|
+
handleOptionSelect(option: any): void;
|
|
383
|
+
/**
|
|
384
|
+
* Handles CDK listbox selection changes
|
|
385
|
+
* @param event - The selection change event
|
|
386
|
+
*/
|
|
387
|
+
handleSelectionChange(event: any): void;
|
|
388
|
+
/**
|
|
389
|
+
* Handles keyboard events for option selection
|
|
390
|
+
* @param event - The keyboard event
|
|
391
|
+
*/
|
|
392
|
+
handleListboxKeydown(event: KeyboardEvent): void;
|
|
393
|
+
/**
|
|
394
|
+
* Handles keyboard events on the search input for navigation and selection
|
|
395
|
+
* @param event - The keyboard event
|
|
396
|
+
*/
|
|
397
|
+
handleSearchKeydown(event: KeyboardEvent): void;
|
|
398
|
+
/**
|
|
399
|
+
* Handles keyboard events on the clear all button
|
|
400
|
+
* @param event - The keyboard event
|
|
401
|
+
*/
|
|
402
|
+
handleClearButtonKeydown(event: KeyboardEvent): void;
|
|
403
|
+
/**
|
|
404
|
+
* Handles keyboard events on the trigger button
|
|
405
|
+
* @param event - The keyboard event
|
|
406
|
+
*/
|
|
407
|
+
handleTriggerKeydown(event: KeyboardEvent): void;
|
|
408
|
+
/**
|
|
409
|
+
* Clears the current selection
|
|
410
|
+
*/
|
|
411
|
+
clearSelection(): void;
|
|
412
|
+
/**
|
|
413
|
+
* Handles clear selection button click
|
|
414
|
+
* @param event - The click event
|
|
415
|
+
*/
|
|
416
|
+
handleClearSelection(event: Event): void;
|
|
417
|
+
/**
|
|
418
|
+
* Checks if an option is currently selected
|
|
419
|
+
* @param option - The option to check
|
|
420
|
+
* @returns True if the option is selected
|
|
421
|
+
*/
|
|
422
|
+
isOptionSelected(option: any): boolean;
|
|
423
|
+
/**
|
|
424
|
+
* Checks if an option is currently active for keyboard navigation
|
|
425
|
+
* @param index - The option index
|
|
426
|
+
* @returns True if the option is active
|
|
427
|
+
*/
|
|
428
|
+
isActiveOption(index: number): boolean;
|
|
429
|
+
/**
|
|
430
|
+
* Gets the display value for an option
|
|
431
|
+
* @param option - The option to get display value for
|
|
432
|
+
* @returns The display string for the option
|
|
433
|
+
*/
|
|
434
|
+
getDisplayValue(option: any): string;
|
|
435
|
+
/**
|
|
436
|
+
* Type guard to check if a value is an array
|
|
437
|
+
* @param value - The value to check
|
|
438
|
+
* @returns True if the value is an array
|
|
439
|
+
*/
|
|
440
|
+
isArray(value: any): value is any[];
|
|
441
|
+
/**
|
|
442
|
+
* Updates the trigger button width for overlay positioning
|
|
443
|
+
*/
|
|
444
|
+
private updateTriggerWidth;
|
|
445
|
+
/**
|
|
446
|
+
* Gets the value property from an option
|
|
447
|
+
* @param option - The option to get value from
|
|
448
|
+
* @returns The option value
|
|
449
|
+
*/
|
|
450
|
+
private getOptionValue;
|
|
451
|
+
/**
|
|
452
|
+
* Checks if a value is valid (exists in options)
|
|
453
|
+
* @param value - The value to validate
|
|
454
|
+
* @returns True if the value exists in the options array
|
|
455
|
+
*/
|
|
456
|
+
private isValidValue;
|
|
457
|
+
/**
|
|
458
|
+
* Triggers blur event for form validation
|
|
459
|
+
*/
|
|
460
|
+
private triggerBlur;
|
|
461
|
+
/**
|
|
462
|
+
* Clears the search input and term
|
|
463
|
+
*/
|
|
464
|
+
private clearSearch;
|
|
465
|
+
/**
|
|
466
|
+
* Sets up reactive search handling with debouncing
|
|
467
|
+
* The debounce time updates reactively when the input changes
|
|
468
|
+
*/
|
|
469
|
+
private setupSearchHandling;
|
|
470
|
+
/**
|
|
471
|
+
* Sets the active option for keyboard navigation
|
|
472
|
+
* @param index - The index of the option to make active
|
|
473
|
+
*/
|
|
474
|
+
private setActiveOption;
|
|
475
|
+
/**
|
|
476
|
+
* Sets the first option as active by default
|
|
477
|
+
*/
|
|
478
|
+
private setDefaultActiveOption;
|
|
479
|
+
/**
|
|
480
|
+
* Updates the visual state of the active option
|
|
481
|
+
*/
|
|
482
|
+
private updateActiveOptionVisually;
|
|
483
|
+
/**
|
|
484
|
+
* Sets up the search query emission effect
|
|
485
|
+
* Emits search results whenever the search term or options change
|
|
486
|
+
*/
|
|
487
|
+
private setupSearchQueryEmission;
|
|
52
488
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "st-combobox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
489
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "st-combobox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "allowClearAll": { "alias": "allowClearAll"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "noResultsText": { "alias": "noResultsText"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "displayKey": { "alias": "displayKey"; "required": false; "isSignal": true; }; "valueKey": { "alias": "valueKey"; "required": false; "isSignal": true; }; "selectionType": { "alias": "selectionType"; "required": false; "isSignal": true; }; "searchDebounced": { "alias": "searchDebounced"; "required": false; "isSignal": true; }; "searchDebounceTime": { "alias": "searchDebounceTime"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "value": "valueChange"; "blurred": "blurred"; "valueUpdated": "valueUpdated"; "searchQuery": "searchQuery"; }, never, ["*"], true, never>;
|
|
54
490
|
}
|
|
491
|
+
export {};
|
|
@@ -24,7 +24,7 @@ export declare class DatepickerComponent implements OnInit, ControlValueAccessor
|
|
|
24
24
|
disableUntil: import("@angular/core").InputSignal<string>;
|
|
25
25
|
disableFrom: import("@angular/core").InputSignal<string>;
|
|
26
26
|
current: import("@angular/core").ModelSignal<string>;
|
|
27
|
-
|
|
27
|
+
dateUpdated: import("@angular/core").OutputEmitterRef<string>;
|
|
28
28
|
synchronizedPickersEffect: import("@angular/core").EffectRef;
|
|
29
29
|
daysOfMonth: DayOfMonth[];
|
|
30
30
|
monthAndYearLabel: dayjs.Dayjs;
|
|
@@ -49,6 +49,6 @@ export declare class DatepickerComponent implements OnInit, ControlValueAccessor
|
|
|
49
49
|
changeMonth(flag: boolean): void;
|
|
50
50
|
handleSelectDay(day: DayOfMonth): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "st-datepicker", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disableUntil": { "alias": "disableUntil"; "required": false; "isSignal": true; }; "disableFrom": { "alias": "disableFrom"; "required": false; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "st-datepicker", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disableUntil": { "alias": "disableUntil"; "required": false; "isSignal": true; }; "disableFrom": { "alias": "disableFrom"; "required": false; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "dateUpdated": "dateUpdated"; "disabled": "disabledChange"; }, never, never, true, never>;
|
|
53
53
|
}
|
|
54
54
|
export {};
|
|
@@ -3,6 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FormErrorsComponent {
|
|
4
4
|
parentForm: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
5
5
|
formField: import("@angular/core").InputSignal<string>;
|
|
6
|
+
formControl: import("@angular/core").Signal<FormControl<any>>;
|
|
7
|
+
customError: import("@angular/core").Signal<any>;
|
|
6
8
|
isRequired: import("@angular/core").InputSignal<string | undefined>;
|
|
7
9
|
isMinLength: import("@angular/core").InputSignal<string | undefined>;
|
|
8
10
|
isMaxLength: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -10,8 +12,6 @@ export declare class FormErrorsComponent {
|
|
|
10
12
|
isMax: import("@angular/core").InputSignal<string | undefined>;
|
|
11
13
|
isPattern: import("@angular/core").InputSignal<string | undefined>;
|
|
12
14
|
isEmail: import("@angular/core").InputSignal<string | undefined>;
|
|
13
|
-
formControl: import("@angular/core").Signal<FormControl<any>>;
|
|
14
|
-
customError: import("@angular/core").Signal<any>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorsComponent, never>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorsComponent, "st-form-errors", never, { "parentForm": { "alias": "parentForm"; "required": true; "isSignal": true; }; "formField": { "alias": "formField"; "required": true; "isSignal": true; }; "isRequired": { "alias": "isRequired"; "required": false; "isSignal": true; }; "isMinLength": { "alias": "isMinLength"; "required": false; "isSignal": true; }; "isMaxLength": { "alias": "isMaxLength"; "required": false; "isSignal": true; }; "isMin": { "alias": "isMin"; "required": false; "isSignal": true; }; "isMax": { "alias": "isMax"; "required": false; "isSignal": true; }; "isPattern": { "alias": "isPattern"; "required": false; "isSignal": true; }; "isEmail": { "alias": "isEmail"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type InputContentAligment = 'start' | 'end';
|
|
3
|
+
export declare class InputContentComponent {
|
|
4
|
+
alignment: import("@angular/core").InputSignal<InputContentAligment>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputContentComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputContentComponent, "st-input-content", never, { "alignment": { "alias": "alignment"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|