@tedi-design-system/angular 3.0.0-rc.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/README.md +44 -0
- package/community/components/cards/accordion/accordion/accordion.component.d.ts +22 -0
- package/community/components/cards/accordion/accordion/accordion.component.d.ts.map +1 -0
- package/community/components/cards/accordion/accordion-icon/accordion-icon.component.d.ts +7 -0
- package/community/components/cards/accordion/accordion-icon/accordion-icon.component.d.ts.map +1 -0
- package/community/components/cards/accordion/accordion-item/accordion-item.component.d.ts +20 -0
- package/community/components/cards/accordion/accordion-item/accordion-item.component.d.ts.map +1 -0
- package/community/components/cards/accordion/accordion-item-content/accordion-item-content.component.d.ts +12 -0
- package/community/components/cards/accordion/accordion-item-content/accordion-item-content.component.d.ts.map +1 -0
- package/community/components/cards/accordion/accordion-item-header/accordion-item-header.component.d.ts +42 -0
- package/community/components/cards/accordion/accordion-item-header/accordion-item-header.component.d.ts.map +1 -0
- package/community/components/cards/accordion/index.d.ts +6 -0
- package/community/components/cards/accordion/index.d.ts.map +1 -0
- package/community/components/cards/card/card-colors.directive.d.ts +13 -0
- package/community/components/cards/card/card-colors.directive.d.ts.map +1 -0
- package/community/components/cards/card/card-content/card-content.component.d.ts +25 -0
- package/community/components/cards/card/card-content/card-content.component.d.ts.map +1 -0
- package/community/components/cards/card/card-header/card-header.component.d.ts +14 -0
- package/community/components/cards/card/card-header/card-header.component.d.ts.map +1 -0
- package/community/components/cards/card/card-padding.directive.d.ts +21 -0
- package/community/components/cards/card/card-padding.directive.d.ts.map +1 -0
- package/community/components/cards/card/card-row/card-row.component.d.ts +11 -0
- package/community/components/cards/card/card-row/card-row.component.d.ts.map +1 -0
- package/community/components/cards/card/card.component.d.ts +30 -0
- package/community/components/cards/card/card.component.d.ts.map +1 -0
- package/community/components/cards/card/index.d.ts +7 -0
- package/community/components/cards/card/index.d.ts.map +1 -0
- package/community/components/cards/index.d.ts +3 -0
- package/community/components/cards/index.d.ts.map +1 -0
- package/community/components/form/checkbox/checkbox/checkbox.component.d.ts +38 -0
- package/community/components/form/checkbox/checkbox/checkbox.component.d.ts.map +1 -0
- package/community/components/form/checkbox/checkbox-card-group/checkbox-card-group.component.d.ts +22 -0
- package/community/components/form/checkbox/checkbox-card-group/checkbox-card-group.component.d.ts.map +1 -0
- package/community/components/form/checkbox/checkbox-group/checkbox-group.component.d.ts +23 -0
- package/community/components/form/checkbox/checkbox-group/checkbox-group.component.d.ts.map +1 -0
- package/community/components/form/checkbox/index.d.ts +4 -0
- package/community/components/form/checkbox/index.d.ts.map +1 -0
- package/community/components/form/choicegroup/choicegroup.directive.d.ts +11 -0
- package/community/components/form/choicegroup/choicegroup.directive.d.ts.map +1 -0
- package/community/components/form/file-dropzone/constants.d.ts +13 -0
- package/community/components/form/file-dropzone/constants.d.ts.map +1 -0
- package/community/components/form/file-dropzone/file-dropzone.component.d.ts +133 -0
- package/community/components/form/file-dropzone/file-dropzone.component.d.ts.map +1 -0
- package/community/components/form/file-dropzone/file.service.d.ts +25 -0
- package/community/components/form/file-dropzone/file.service.d.ts.map +1 -0
- package/community/components/form/file-dropzone/index.d.ts +2 -0
- package/community/components/form/file-dropzone/index.d.ts.map +1 -0
- package/community/components/form/file-dropzone/types.d.ts +23 -0
- package/community/components/form/file-dropzone/types.d.ts.map +1 -0
- package/community/components/form/file-dropzone/utils.d.ts +7 -0
- package/community/components/form/file-dropzone/utils.d.ts.map +1 -0
- package/community/components/form/form-field/form-field.component.d.ts +6 -0
- package/community/components/form/form-field/form-field.component.d.ts.map +1 -0
- package/community/components/form/index.d.ts +11 -0
- package/community/components/form/index.d.ts.map +1 -0
- package/community/components/form/input/input.component.d.ts +19 -0
- package/community/components/form/input/input.component.d.ts.map +1 -0
- package/community/components/form/input-group/input-group.component.d.ts +38 -0
- package/community/components/form/input-group/input-group.component.d.ts.map +1 -0
- package/community/components/form/radio/index.d.ts +4 -0
- package/community/components/form/radio/index.d.ts.map +1 -0
- package/community/components/form/radio/radio/radio.component.d.ts +27 -0
- package/community/components/form/radio/radio/radio.component.d.ts.map +1 -0
- package/community/components/form/radio/radio-card-group/radio-card-group.component.d.ts +9 -0
- package/community/components/form/radio/radio-card-group/radio-card-group.component.d.ts.map +1 -0
- package/community/components/form/radio/radio-group/radio-group.component.d.ts +37 -0
- package/community/components/form/radio/radio-group/radio-group.component.d.ts.map +1 -0
- package/community/components/form/search/search.component.d.ts +115 -0
- package/community/components/form/search/search.component.d.ts.map +1 -0
- package/community/components/form/select/index.d.ts +4 -0
- package/community/components/form/select/index.d.ts.map +1 -0
- package/community/components/form/select/multiselect.component.d.ts +108 -0
- package/community/components/form/select/multiselect.component.d.ts.map +1 -0
- package/community/components/form/select/select-option.component.d.ts +26 -0
- package/community/components/form/select/select-option.component.d.ts.map +1 -0
- package/community/components/form/select/select.component.d.ts +77 -0
- package/community/components/form/select/select.component.d.ts.map +1 -0
- package/community/components/form/textarea/textarea.component.d.ts +17 -0
- package/community/components/form/textarea/textarea.component.d.ts.map +1 -0
- package/community/components/navigation/breadcrumbs/breadcrumbs.component.d.ts +48 -0
- package/community/components/navigation/breadcrumbs/breadcrumbs.component.d.ts.map +1 -0
- package/community/components/navigation/index.d.ts +4 -0
- package/community/components/navigation/index.d.ts.map +1 -0
- package/community/components/navigation/pagination/pagination-page/pagination-page.component.d.ts +10 -0
- package/community/components/navigation/pagination/pagination-page/pagination-page.component.d.ts.map +1 -0
- package/community/components/navigation/pagination/pagination.component.d.ts +20 -0
- package/community/components/navigation/pagination/pagination.component.d.ts.map +1 -0
- package/community/components/navigation/pagination/pagination.utils.d.ts +2 -0
- package/community/components/navigation/pagination/pagination.utils.d.ts.map +1 -0
- package/community/components/navigation/tabs/index.d.ts +4 -0
- package/community/components/navigation/tabs/index.d.ts.map +1 -0
- package/community/components/navigation/tabs/tab/tab.component.d.ts +21 -0
- package/community/components/navigation/tabs/tab/tab.component.d.ts.map +1 -0
- package/community/components/navigation/tabs/tab-content/tab-content.component.d.ts +9 -0
- package/community/components/navigation/tabs/tab-content/tab-content.component.d.ts.map +1 -0
- package/community/components/navigation/tabs/tabs.component.d.ts +19 -0
- package/community/components/navigation/tabs/tabs.component.d.ts.map +1 -0
- package/community/components/overlay/dropdown/dropdown-trigger/dropdown-trigger.directive.d.ts +20 -0
- package/community/components/overlay/dropdown/dropdown-trigger/dropdown-trigger.directive.d.ts.map +1 -0
- package/community/components/overlay/dropdown/dropdown.component.d.ts +20 -0
- package/community/components/overlay/dropdown/dropdown.component.d.ts.map +1 -0
- package/community/components/overlay/dropdown-item/dropdown-item.component.d.ts +35 -0
- package/community/components/overlay/dropdown-item/dropdown-item.component.d.ts.map +1 -0
- package/community/components/overlay/index.d.ts +5 -0
- package/community/components/overlay/index.d.ts.map +1 -0
- package/community/components/overlay/modal/footer/modal-footer.component.d.ts +23 -0
- package/community/components/overlay/modal/footer/modal-footer.component.d.ts.map +1 -0
- package/community/components/overlay/modal/header/modal-header.component.d.ts +15 -0
- package/community/components/overlay/modal/header/modal-header.component.d.ts.map +1 -0
- package/community/components/overlay/modal/index.d.ts +4 -0
- package/community/components/overlay/modal/index.d.ts.map +1 -0
- package/community/components/overlay/modal/modal.component.d.ts +23 -0
- package/community/components/overlay/modal/modal.component.d.ts.map +1 -0
- package/community/components/table/index.d.ts +2 -0
- package/community/components/table/index.d.ts.map +1 -0
- package/community/components/table/table-styles/table-styles.component.d.ts +11 -0
- package/community/components/table/table-styles/table-styles.component.d.ts.map +1 -0
- package/community/components/tags/index.d.ts +3 -0
- package/community/components/tags/index.d.ts.map +1 -0
- package/community/components/tags/status-badge/status-badge.component.d.ts +54 -0
- package/community/components/tags/status-badge/status-badge.component.d.ts.map +1 -0
- package/community/components/tags/tag/tag.component.d.ts +32 -0
- package/community/components/tags/tag/tag.component.d.ts.map +1 -0
- package/community/index.d.ts +7 -0
- package/community/index.d.ts.map +1 -0
- package/community/tedi-design-system-angular-community.d.ts.map +1 -0
- package/fesm2022/tedi-design-system-angular-community.mjs +2906 -0
- package/fesm2022/tedi-design-system-angular-community.mjs.map +1 -0
- package/fesm2022/tedi-design-system-angular-tedi.mjs +3135 -0
- package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -0
- package/fesm2022/tedi-design-system-angular.mjs +6 -0
- package/fesm2022/tedi-design-system-angular.mjs.map +1 -0
- package/fonts/README.md +34 -0
- package/fonts/material-symbols-outlined.woff2 +0 -0
- package/fonts/material-symbols-rounded.woff2 +0 -0
- package/fonts/material-symbols-sharp.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-300-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-300.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-400-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-400.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-700-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-700.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-300-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-300.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-400-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-400.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-700-italic.woff2 +0 -0
- package/fonts/roboto-v30-cyrillic-ext-700.woff2 +0 -0
- package/fonts/roboto-v30-latin-300-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-300.woff2 +0 -0
- package/fonts/roboto-v30-latin-400-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-400.woff2 +0 -0
- package/fonts/roboto-v30-latin-700-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-700.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-300-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-300.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-400-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-400.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-700-italic.woff2 +0 -0
- package/fonts/roboto-v30-latin-ext-700.woff2 +0 -0
- package/index.css +1 -0
- package/index.d.ts +6 -0
- package/package.json +76 -0
- package/public-api.d.ts +3 -0
- package/public-api.d.ts.map +1 -0
- package/tedi/components/base/icon/icon.component.d.ts +47 -0
- package/tedi/components/base/icon/icon.component.d.ts.map +1 -0
- package/tedi/components/base/index.d.ts +3 -0
- package/tedi/components/base/index.d.ts.map +1 -0
- package/tedi/components/base/text/text.component.d.ts +20 -0
- package/tedi/components/base/text/text.component.d.ts.map +1 -0
- package/tedi/components/buttons/button/button.component.d.ts +25 -0
- package/tedi/components/buttons/button/button.component.d.ts.map +1 -0
- package/tedi/components/buttons/closing-button/closing-button.component.d.ts +24 -0
- package/tedi/components/buttons/closing-button/closing-button.component.d.ts.map +1 -0
- package/tedi/components/buttons/collapse/collapse.component.d.ts +37 -0
- package/tedi/components/buttons/collapse/collapse.component.d.ts.map +1 -0
- package/tedi/components/buttons/index.d.ts +5 -0
- package/tedi/components/buttons/index.d.ts.map +1 -0
- package/tedi/components/buttons/info-button/info-button.component.d.ts +6 -0
- package/tedi/components/buttons/info-button/info-button.component.d.ts.map +1 -0
- package/tedi/components/content/index.d.ts +3 -0
- package/tedi/components/content/index.d.ts.map +1 -0
- package/tedi/components/content/list/list.component.d.ts +18 -0
- package/tedi/components/content/list/list.component.d.ts.map +1 -0
- package/tedi/components/content/text-group/index.d.ts +4 -0
- package/tedi/components/content/text-group/index.d.ts.map +1 -0
- package/tedi/components/content/text-group/text-group-label.component.d.ts +6 -0
- package/tedi/components/content/text-group/text-group-label.component.d.ts.map +1 -0
- package/tedi/components/content/text-group/text-group-value.component.d.ts +6 -0
- package/tedi/components/content/text-group/text-group-value.component.d.ts.map +1 -0
- package/tedi/components/content/text-group/text-group.component.d.ts +30 -0
- package/tedi/components/content/text-group/text-group.component.d.ts.map +1 -0
- package/tedi/components/form/feedback-text/feedback-text.component.d.ts +25 -0
- package/tedi/components/form/feedback-text/feedback-text.component.d.ts.map +1 -0
- package/tedi/components/form/index.d.ts +5 -0
- package/tedi/components/form/index.d.ts.map +1 -0
- package/tedi/components/form/label/label.component.d.ts +18 -0
- package/tedi/components/form/label/label.component.d.ts.map +1 -0
- package/tedi/components/form/number-field/number-field.component.d.ts +86 -0
- package/tedi/components/form/number-field/number-field.component.d.ts.map +1 -0
- package/tedi/components/form/toggle/toggle.component.d.ts +61 -0
- package/tedi/components/form/toggle/toggle.component.d.ts.map +1 -0
- package/tedi/components/helpers/grid/col/col.component.d.ts +37 -0
- package/tedi/components/helpers/grid/col/col.component.d.ts.map +1 -0
- package/tedi/components/helpers/grid/index.d.ts +3 -0
- package/tedi/components/helpers/grid/index.d.ts.map +1 -0
- package/tedi/components/helpers/grid/row/row.component.d.ts +60 -0
- package/tedi/components/helpers/grid/row/row.component.d.ts.map +1 -0
- package/tedi/components/helpers/index.d.ts +4 -0
- package/tedi/components/helpers/index.d.ts.map +1 -0
- package/tedi/components/helpers/separator/separator.component.d.ts +57 -0
- package/tedi/components/helpers/separator/separator.component.d.ts.map +1 -0
- package/tedi/components/helpers/timeline/index.d.ts +5 -0
- package/tedi/components/helpers/timeline/index.d.ts.map +1 -0
- package/tedi/components/helpers/timeline/timeline-description/timeline-description.component.d.ts +6 -0
- package/tedi/components/helpers/timeline/timeline-description/timeline-description.component.d.ts.map +1 -0
- package/tedi/components/helpers/timeline/timeline-item/timeline-item.component.d.ts +19 -0
- package/tedi/components/helpers/timeline/timeline-item/timeline-item.component.d.ts.map +1 -0
- package/tedi/components/helpers/timeline/timeline-title/timeline-title.component.d.ts +6 -0
- package/tedi/components/helpers/timeline/timeline-title/timeline-title.component.d.ts.map +1 -0
- package/tedi/components/helpers/timeline/timeline.component.d.ts +12 -0
- package/tedi/components/helpers/timeline/timeline.component.d.ts.map +1 -0
- package/tedi/components/index.d.ts +11 -0
- package/tedi/components/index.d.ts.map +1 -0
- package/tedi/components/layout/footer/footer-body/footer-body.component.d.ts +9 -0
- package/tedi/components/layout/footer/footer-body/footer-body.component.d.ts.map +1 -0
- package/tedi/components/layout/footer/footer-bottom/footer-bottom.component.d.ts +19 -0
- package/tedi/components/layout/footer/footer-bottom/footer-bottom.component.d.ts.map +1 -0
- package/tedi/components/layout/footer/footer-section/footer-section.component.d.ts +26 -0
- package/tedi/components/layout/footer/footer-section/footer-section.component.d.ts.map +1 -0
- package/tedi/components/layout/footer/footer-side/footer-side.component.d.ts +21 -0
- package/tedi/components/layout/footer/footer-side/footer-side.component.d.ts.map +1 -0
- package/tedi/components/layout/footer/footer.component.d.ts +9 -0
- package/tedi/components/layout/footer/footer.component.d.ts.map +1 -0
- package/tedi/components/layout/footer/index.d.ts +6 -0
- package/tedi/components/layout/footer/index.d.ts.map +1 -0
- package/tedi/components/layout/header/header-actions/header-actions.component.d.ts +6 -0
- package/tedi/components/layout/header/header-actions/header-actions.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-content/header-content.component.d.ts +6 -0
- package/tedi/components/layout/header/header-content/header-content.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-language/header-language.component.d.ts +25 -0
- package/tedi/components/layout/header/header-language/header-language.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-login/header-login.component.d.ts +14 -0
- package/tedi/components/layout/header/header-login/header-login.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-logout/header-logout.component.d.ts +10 -0
- package/tedi/components/layout/header/header-logout/header-logout.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-profile/header-profile.component.d.ts +20 -0
- package/tedi/components/layout/header/header-profile/header-profile.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header-role/header-role.component.d.ts +40 -0
- package/tedi/components/layout/header/header-role/header-role.component.d.ts.map +1 -0
- package/tedi/components/layout/header/header.component.d.ts +6 -0
- package/tedi/components/layout/header/header.component.d.ts.map +1 -0
- package/tedi/components/layout/header/index.d.ts +9 -0
- package/tedi/components/layout/header/index.d.ts.map +1 -0
- package/tedi/components/layout/index.d.ts +4 -0
- package/tedi/components/layout/index.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/index.d.ts +9 -0
- package/tedi/components/layout/sidenav/index.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown/sidenav-dropdown.component.d.ts +15 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown/sidenav-dropdown.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown-group/sidenav-dropdown-group.component.d.ts +6 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown-group/sidenav-dropdown-group.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.d.ts +20 -0
- package/tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-group-title/sidenav-group-title.component.d.ts +6 -0
- package/tedi/components/layout/sidenav/sidenav-group-title/sidenav-group-title.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.d.ts +37 -0
- package/tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-overlay/sidenav-overlay.component.d.ts +10 -0
- package/tedi/components/layout/sidenav/sidenav-overlay/sidenav-overlay.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav-toggle/sidenav-toggle.component.d.ts +13 -0
- package/tedi/components/layout/sidenav/sidenav-toggle/sidenav-toggle.component.d.ts.map +1 -0
- package/tedi/components/layout/sidenav/sidenav.component.d.ts +30 -0
- package/tedi/components/layout/sidenav/sidenav.component.d.ts.map +1 -0
- package/tedi/components/loader/index.d.ts +2 -0
- package/tedi/components/loader/index.d.ts.map +1 -0
- package/tedi/components/loader/spinner/spinner.component.d.ts +24 -0
- package/tedi/components/loader/spinner/spinner.component.d.ts.map +1 -0
- package/tedi/components/navigation/index.d.ts +2 -0
- package/tedi/components/navigation/index.d.ts.map +1 -0
- package/tedi/components/navigation/link/link.component.d.ts +42 -0
- package/tedi/components/navigation/link/link.component.d.ts.map +1 -0
- package/tedi/components/notifications/alert/alert.component.d.ts +64 -0
- package/tedi/components/notifications/alert/alert.component.d.ts.map +1 -0
- package/tedi/components/notifications/index.d.ts +2 -0
- package/tedi/components/notifications/index.d.ts.map +1 -0
- package/tedi/components/overlay/index.d.ts +3 -0
- package/tedi/components/overlay/index.d.ts.map +1 -0
- package/tedi/components/overlay/popover/index.d.ts +4 -0
- package/tedi/components/overlay/popover/index.d.ts.map +1 -0
- package/tedi/components/overlay/popover/popover-content/popover-content.component.d.ts +25 -0
- package/tedi/components/overlay/popover/popover-content/popover-content.component.d.ts.map +1 -0
- package/tedi/components/overlay/popover/popover-trigger/popover-trigger.component.d.ts +10 -0
- package/tedi/components/overlay/popover/popover-trigger/popover-trigger.component.d.ts.map +1 -0
- package/tedi/components/overlay/popover/popover.component.d.ts +44 -0
- package/tedi/components/overlay/popover/popover.component.d.ts.map +1 -0
- package/tedi/components/overlay/tooltip/index.d.ts +4 -0
- package/tedi/components/overlay/tooltip/index.d.ts.map +1 -0
- package/tedi/components/overlay/tooltip/tooltip-content.component.d.ts +21 -0
- package/tedi/components/overlay/tooltip/tooltip-content.component.d.ts.map +1 -0
- package/tedi/components/overlay/tooltip/tooltip-trigger.component.d.ts +11 -0
- package/tedi/components/overlay/tooltip/tooltip-trigger.component.d.ts.map +1 -0
- package/tedi/components/overlay/tooltip/tooltip.component.d.ts +48 -0
- package/tedi/components/overlay/tooltip/tooltip.component.d.ts.map +1 -0
- package/tedi/directives/hide-at/hide-at.directive.d.ts +11 -0
- package/tedi/directives/hide-at/hide-at.directive.d.ts.map +1 -0
- package/tedi/directives/index.d.ts +4 -0
- package/tedi/directives/index.d.ts.map +1 -0
- package/tedi/directives/show-at/show-at.directive.d.ts +11 -0
- package/tedi/directives/show-at/show-at.directive.d.ts.map +1 -0
- package/tedi/directives/vertical-spacing/index.d.ts +3 -0
- package/tedi/directives/vertical-spacing/index.d.ts.map +1 -0
- package/tedi/directives/vertical-spacing/vertical-spacing-item.directive.d.ts +13 -0
- package/tedi/directives/vertical-spacing/vertical-spacing-item.directive.d.ts.map +1 -0
- package/tedi/directives/vertical-spacing/vertical-spacing.directive.d.ts +13 -0
- package/tedi/directives/vertical-spacing/vertical-spacing.directive.d.ts.map +1 -0
- package/tedi/helpers/generate-uuid.d.ts +8 -0
- package/tedi/helpers/generate-uuid.d.ts.map +1 -0
- package/tedi/helpers/index.d.ts +2 -0
- package/tedi/helpers/index.d.ts.map +1 -0
- package/tedi/index.d.ts +6 -0
- package/tedi/index.d.ts.map +1 -0
- package/tedi/services/breakpoint/breakpoint.service.d.ts +28 -0
- package/tedi/services/breakpoint/breakpoint.service.d.ts.map +1 -0
- package/tedi/services/index.d.ts +4 -0
- package/tedi/services/index.d.ts.map +1 -0
- package/tedi/services/sidenav/sidenav.service.d.ts +20 -0
- package/tedi/services/sidenav/sidenav.service.d.ts.map +1 -0
- package/tedi/services/translation/translation.pipe.d.ts +10 -0
- package/tedi/services/translation/translation.pipe.d.ts.map +1 -0
- package/tedi/services/translation/translation.service.d.ts +16 -0
- package/tedi/services/translation/translation.service.d.ts.map +1 -0
- package/tedi/services/translation/translations.d.ts +538 -0
- package/tedi/services/translation/translations.d.ts.map +1 -0
- package/tedi/tedi-design-system-angular-tedi.d.ts.map +1 -0
- package/tedi/types/index.d.ts +2 -0
- package/tedi/types/index.d.ts.map +1 -0
- package/tedi/types/inputs.type.d.ts +5 -0
- package/tedi/types/inputs.type.d.ts.map +1 -0
- package/tedi-design-system-angular.d.ts.map +1 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import { DropzoneValidatorFunction, FeedbackTextProps, FileDropzone, FileInputMode, SizeDisplayStandard } from "./types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FileDropzoneComponent implements ControlValueAccessor, OnInit {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies the allowed file types (e.g., "image/png, image/jpeg").
|
|
8
|
+
*
|
|
9
|
+
* Does not validate the contents of the file, only the file extension.
|
|
10
|
+
*
|
|
11
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept
|
|
12
|
+
**/
|
|
13
|
+
accept: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum file size allowed for upload, in bytes.
|
|
16
|
+
* @default 0 (no limit)
|
|
17
|
+
**/
|
|
18
|
+
maxSize: import("@angular/core").InputSignal<number>;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the standard to use when displaying file sizes or maximum file size.
|
|
21
|
+
* Options are "SI" (base 10) or "IEC" (base 2).
|
|
22
|
+
*
|
|
23
|
+
* SI units are in multiples of 1000 (e.g., 1 kB = 1000 bytes).
|
|
24
|
+
*
|
|
25
|
+
* IEC units are in multiples of 1024 (e.g., 1 KiB = 1024 bytes).
|
|
26
|
+
* @default "IEC"
|
|
27
|
+
*
|
|
28
|
+
* https://wiki.ubuntu.com/UnitsPolicy
|
|
29
|
+
*/
|
|
30
|
+
sizeDisplayStandard: import("@angular/core").InputSignal<SizeDisplayStandard>;
|
|
31
|
+
/**
|
|
32
|
+
* Determines if multiple files can be uploaded at once via the file picker.
|
|
33
|
+
*
|
|
34
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/multiple
|
|
35
|
+
* @default false
|
|
36
|
+
**/
|
|
37
|
+
multiple: import("@angular/core").InputSignal<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* If true, each file is validated separately instead of rejecting all at once.
|
|
40
|
+
@default false
|
|
41
|
+
**/
|
|
42
|
+
validateIndividually: import("@angular/core").InputSignal<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
* An array of default files that are preloaded in the upload list.
|
|
45
|
+
* @default false
|
|
46
|
+
**/
|
|
47
|
+
defaultFiles: import("@angular/core").InputSignal<FileDropzone[] | File[]>;
|
|
48
|
+
/**
|
|
49
|
+
* The unique identifier for the input element that this label is associated with.
|
|
50
|
+
* This ID should match the input element's `id` attribute to ensure accessibility.
|
|
51
|
+
*/
|
|
52
|
+
inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The name attribute for the file input, used for form submission and identifying the field.
|
|
55
|
+
*/
|
|
56
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The text label displayed for the file dropzone, providing context for users.
|
|
59
|
+
*/
|
|
60
|
+
label: import("@angular/core").InputSignal<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Additional CSS class names to apply to the dropzone for custom styling
|
|
63
|
+
*/
|
|
64
|
+
className: import("@angular/core").InputSignal<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies how to handle file name conflicts when multiple file of the same name are added.
|
|
67
|
+
* Options are:
|
|
68
|
+
* - "append": Adds new files to the end of the list, keeping existing files
|
|
69
|
+
* - "replace": Replaces existing files with new files of the same name
|
|
70
|
+
* @default "append"
|
|
71
|
+
*/
|
|
72
|
+
mode: import("@angular/core").InputSignal<FileInputMode>;
|
|
73
|
+
/**
|
|
74
|
+
* If true, allows uploading folders instead of just files.
|
|
75
|
+
* This enables the user to select a folder and upload all its contents.
|
|
76
|
+
* Default file browser behaviour will prevent upload of files in this state.
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
79
|
+
uploadFolder: import("@angular/core").InputSignal<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* Validation functions that can be used to validate files.
|
|
82
|
+
* Each function should return a string error message if validation fails, or undefined if it passes
|
|
83
|
+
*/
|
|
84
|
+
validators: import("@angular/core").InputSignal<DropzoneValidatorFunction[]>;
|
|
85
|
+
/**
|
|
86
|
+
* If true, shows the file dropzone as in a erroring state with red border.
|
|
87
|
+
* Overrides default validation state.
|
|
88
|
+
* @default false
|
|
89
|
+
**/
|
|
90
|
+
hasError: import("@angular/core").InputSignal<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* Output event triggered when files are added.
|
|
93
|
+
**/
|
|
94
|
+
fileChange: import("@angular/core").OutputEmitterRef<FileDropzone[]>;
|
|
95
|
+
/**
|
|
96
|
+
* Output event triggered when a file is removed.
|
|
97
|
+
**/
|
|
98
|
+
fileDelete: import("@angular/core").OutputEmitterRef<FileDropzone>;
|
|
99
|
+
fileInputElement: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
100
|
+
formatBytes: (bytes: number) => string;
|
|
101
|
+
private _uploadState;
|
|
102
|
+
private _onChange;
|
|
103
|
+
private _onTouched;
|
|
104
|
+
private _translationService;
|
|
105
|
+
private _fileService;
|
|
106
|
+
isDragActive: import("@angular/core").WritableSignal<boolean>;
|
|
107
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
108
|
+
uploadError: import("@angular/core").WritableSignal<string | null>;
|
|
109
|
+
files: import("@angular/core").Signal<FileDropzone[]>;
|
|
110
|
+
classes: import("@angular/core").Signal<string>;
|
|
111
|
+
helperText: import("@angular/core").Signal<FeedbackTextProps>;
|
|
112
|
+
ngOnInit(): void;
|
|
113
|
+
fileClasses: (file: FileDropzone) => string;
|
|
114
|
+
tooltipClasses: (file: FileDropzone) => string;
|
|
115
|
+
selectionChange: (event: Event) => void;
|
|
116
|
+
onBlur(): void;
|
|
117
|
+
openFilePicker(): void;
|
|
118
|
+
onDragOver: (event: DragEvent) => void;
|
|
119
|
+
onDragEnter: (event: DragEvent) => void;
|
|
120
|
+
onDragLeave: (event: DragEvent) => void;
|
|
121
|
+
onDrop: (event: DragEvent) => Promise<void>;
|
|
122
|
+
addFiles(files: FileDropzone[] | File[]): Promise<void>;
|
|
123
|
+
removeFile(file: FileDropzone): void;
|
|
124
|
+
private _updateErrorState;
|
|
125
|
+
onContainerClick(): void;
|
|
126
|
+
writeValue(files: FileDropzone[]): void;
|
|
127
|
+
registerOnChange(fn: (value: FileDropzone[]) => void): void;
|
|
128
|
+
registerOnTouched(fn: () => void): void;
|
|
129
|
+
setDisabledState(isDisabled: boolean): void;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileDropzoneComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileDropzoneComponent, "tedi-file-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "sizeDisplayStandard": { "alias": "sizeDisplayStandard"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "validateIndividually": { "alias": "validateIndividually"; "required": false; "isSignal": true; }; "defaultFiles": { "alias": "defaultFiles"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "uploadFolder": { "alias": "uploadFolder"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, { "fileChange": "fileChange"; "fileDelete": "fileDelete"; }, never, ["[helper-text]", "[error-text]"], true, never>;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=file-dropzone.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-dropzone.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/file-dropzone/file-dropzone.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,UAAU,EACV,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EAGrB,MAAM,gBAAgB,CAAC;AAcxB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACpB,MAAM,SAAS,CAAC;;AASjB,qBA2Ba,qBAAsB,YAAW,oBAAoB,EAAE,MAAM;IACxE;;;;;;QAMI;IACJ,MAAM,8CAAqB;IAC3B;;;QAGI;IACJ,OAAO,8CAAoB;IAC3B;;;;;;;;;;OAUG;IACH,mBAAmB,2DAAqC;IACxD;;;;;QAKI;IACJ,QAAQ,+CAAyB;IACjC;;;QAGI;IACJ,oBAAoB,+CAAgB;IACpC;;;QAGI;IACJ,YAAY,+DAAsC;IAClD;;;OAGG;IACH,OAAO,0DAAmB;IAC1B;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,KAAK,8CAAwC;IAC7C;;OAEG;IACH,SAAS,0DAAmB;IAC5B;;;;;;OAMG;IACH,IAAI,qDAAkC;IACtC;;;;;OAKG;IACH,YAAY,+CAAyB;IACrC;;;OAGG;IACH,UAAU,mEAGP;IACH;;;;QAII;IACJ,QAAQ,+CAAyB;IACjC;;QAEI;IACJ,UAAU,2DAA4B;IACtC;;QAEI;IACJ,UAAU,yDAA0B;IAEpC,gBAAgB,+DACgD;IAEhE,WAAW,GAAI,OAAO,MAAM,KAAG,MAAM,CACY;IAEjD,OAAO,CAAC,YAAY,CAAmD;IAEvE,OAAO,CAAC,SAAS,CAA6B;IAC9C,OAAO,CAAC,UAAU,CAAY;IAE9B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,YAAY,CAAuB;IAE3C,YAAY,kDAA0B;IACtC,QAAQ,kDAA0B;IAElC,WAAW,wDAA+B;IAC1C,KAAK,iDAA2B;IAEhC,OAAO,yCAmBJ;IAEH,UAAU,oDASN;IAEJ,QAAQ,IAAI,IAAI;IAShB,WAAW,GAAI,MAAM,YAAY,KAAG,MAAM,CASxC;IAEF,cAAc,GAAI,MAAM,YAAY,KAAG,MAAM,CAI3C;IAEF,eAAe,GAAI,OAAO,KAAK,UAK7B;IAGF,MAAM;IAKN,cAAc;IAKd,UAAU,GAAI,OAAO,SAAS,UAE5B;IAGF,WAAW,GAAI,OAAO,SAAS,UAO7B;IAGF,WAAW,GAAI,OAAO,SAAS,UAI7B;IAGF,MAAM,GAAU,OAAO,SAAS,mBAO9B;IAEI,QAAQ,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE;IAc7C,UAAU,CAAC,IAAI,EAAE,YAAY;IAQ7B,OAAO,CAAC,iBAAiB;IAYzB,gBAAgB;IAIhB,UAAU,CAAC,KAAK,EAAE,YAAY,EAAE;IAIhC,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI;IAIpD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;yCAnRhC,qBAAqB;2CAArB,qBAAqB;CAsRjC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Signal } from "@angular/core";
|
|
2
|
+
import { DropzoneValidatorFunction, FileDropzone, FileInputMode, SizeDisplayStandard, ValidationState } from "./types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FileService {
|
|
5
|
+
maxSize: Signal<number>;
|
|
6
|
+
accept: Signal<string>;
|
|
7
|
+
mode: Signal<FileInputMode>;
|
|
8
|
+
validators: Signal<DropzoneValidatorFunction[]>;
|
|
9
|
+
sizeDisplayStandard: Signal<SizeDisplayStandard>;
|
|
10
|
+
uploadState: import("@angular/core").WritableSignal<ValidationState>;
|
|
11
|
+
protected _files: import("@angular/core").WritableSignal<FileDropzone[]>;
|
|
12
|
+
private _translateService;
|
|
13
|
+
get files(): Signal<FileDropzone[]>;
|
|
14
|
+
addFiles(files: FileDropzone[] | File[]): Promise<string[]>;
|
|
15
|
+
reValidateFiles(): void;
|
|
16
|
+
normalizeFiles(files: FileDropzone[] | File[]): FileDropzone[];
|
|
17
|
+
removeFiles(files: FileDropzone[]): string[];
|
|
18
|
+
private _getNewState;
|
|
19
|
+
private _checkErrorState;
|
|
20
|
+
private _renameDuplicates;
|
|
21
|
+
private _copyFile;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=file.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.service.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/file-dropzone/file.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAU,MAAM,eAAe,CAAC;AACnE,OAAO,EACL,yBAAyB,EACzB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,eAAe,EAChB,MAAM,SAAS,CAAC;;AAGjB,qBACa,WAAW;IACtB,OAAO,iBAA0B;IACjC,MAAM,iBAA2B;IACjC,IAAI,wBAAgD;IACpD,UAAU,sCAAwD;IAClE,mBAAmB,8BAAmD;IAEtE,WAAW,0DAAmC;IAE9C,SAAS,CAAC,MAAM,yDAA8B;IAE9C,OAAO,CAAC,iBAAiB,CAAkC;IAE3D,IAAI,KAAK,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC,CAElC;IAEY,QAAQ,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAsCjE,eAAe;IAMf,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,YAAY,EAAE;IAgB9D,WAAW,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE;IAgBnD,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,gBAAgB;YA4BV,iBAAiB;IA2B/B,OAAO,CAAC,SAAS;yCA3JN,WAAW;6CAAX,WAAW;CAoKvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/file-dropzone/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
|
|
2
|
+
type PartialExcept<T, K extends keyof T> = Partial<T> & Required<Pick<T, K>>;
|
|
3
|
+
export type FileUploadFile = Partial<File>;
|
|
4
|
+
export type FeedbackTextProps = PartialExcept<ComponentInputs<FeedbackTextComponent>, "text">;
|
|
5
|
+
export declare class FileDropzone {
|
|
6
|
+
className?: string[];
|
|
7
|
+
label?: string;
|
|
8
|
+
helper?: FeedbackTextProps;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
fileStatus?: ValidationState;
|
|
11
|
+
metaData?: Record<string, unknown>;
|
|
12
|
+
file: File;
|
|
13
|
+
constructor(file: File);
|
|
14
|
+
get name(): string;
|
|
15
|
+
get size(): number;
|
|
16
|
+
get type(): string;
|
|
17
|
+
}
|
|
18
|
+
export type FileInputMode = "append" | "replace";
|
|
19
|
+
export type ValidationState = "none" | "valid" | "invalid";
|
|
20
|
+
export type DropzoneValidatorFunction = (maxSize: number, acceptFileTypes: string, file: FileDropzone, standard: SizeDisplayStandard, translate: (key: string, ...args: unknown[]) => string) => string | undefined;
|
|
21
|
+
export type SizeDisplayStandard = "SI" | "IEC";
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/file-dropzone/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAE1C,KAAK,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAC3C,eAAe,CAAC,qBAAqB,CAAC,EACtC,MAAM,CACP,CAAC;AAEF,qBAAa,YAAY;IAIvB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAIrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAI3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,UAAU,CAAC,EAAE,eAAe,CAAC;IAI7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAInC,IAAI,EAAE,IAAI,CAAC;gBAEC,IAAI,EAAE,IAAI;IAItB,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;CACF;AAED,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAE3D,MAAM,MAAM,yBAAyB,GAAG,CACtC,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,mBAAmB,EAC7B,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,KACnD,MAAM,GAAG,SAAS,CAAC;AAExB,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FileDropzone, SizeDisplayStandard } from "./types";
|
|
2
|
+
export declare function formatBytes(bytes: number, standard: SizeDisplayStandard): string;
|
|
3
|
+
export declare function roundNumber(num: number, decimals?: number): string;
|
|
4
|
+
export declare function getDefaultHelpers(accept: string, maxSize: number, standard: SizeDisplayStandard, translate?: (key: string, ...args: unknown[]) => string): string;
|
|
5
|
+
export declare function validateFileSize(maxSize: number, acceptFileTypes: string, file: FileDropzone, standard: SizeDisplayStandard, translate: (key: string, ...args: unknown[]) => string): string | undefined;
|
|
6
|
+
export declare function validateFileType(maxSize: number, acceptFileTypes: string, file: FileDropzone, standard: SizeDisplayStandard, translate: (key: string, ...args: unknown[]) => string): string | undefined;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/file-dropzone/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5D,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,mBAAmB,GAC5B,MAAM,CAyBR;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,SAAI,GAAG,MAAM,CAG7D;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,mBAAmB,EAC7B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,GACtD,MAAM,CAiBR;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,mBAAmB,EAC7B,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,sBAWvD;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,mBAAmB,EAC7B,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,sBA6BvD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormFieldComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "tedi-form-field", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=form-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/form-field/form-field.component.ts"],"names":[],"mappings":";AAMA,qBAWa,kBAAkB;yCAAlB,kBAAkB;2CAAlB,kBAAkB;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./checkbox";
|
|
2
|
+
export * from "./choicegroup/choicegroup.directive";
|
|
3
|
+
export * from "./form-field/form-field.component";
|
|
4
|
+
export * from "./input/input.component";
|
|
5
|
+
export * from "./input-group/input-group.component";
|
|
6
|
+
export * from "./radio";
|
|
7
|
+
export * from "./select";
|
|
8
|
+
export * from "./textarea/textarea.component";
|
|
9
|
+
export * from "./search/search.component";
|
|
10
|
+
export * from "./file-dropzone";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../community/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type InputSize = "small" | "default";
|
|
3
|
+
export type InputState = "valid" | "error" | "default";
|
|
4
|
+
export declare class InputComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Size of the input.
|
|
7
|
+
* @default default
|
|
8
|
+
*/
|
|
9
|
+
size: import("@angular/core").InputSignal<InputSize>;
|
|
10
|
+
/**
|
|
11
|
+
* State of the input.
|
|
12
|
+
* @default default
|
|
13
|
+
*/
|
|
14
|
+
state: import("@angular/core").InputSignal<InputState>;
|
|
15
|
+
modifierClasses: import("@angular/core").Signal<string>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "[tedi-input]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=input.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/input/input.component.ts"],"names":[],"mappings":";AAQA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,qBAYa,cAAc;IACzB;;;OAGG;IACH,IAAI,iDAA+B;IAEnC;;;OAGG;IACH,KAAK,kDAAgC;IAErC,eAAe,yCAKZ;yCAlBQ,cAAc;2CAAd,cAAc;CAmB1B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* InputGroupComponent is a component that allows you to group multiple input elements together.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Use prefix-slot, suffix-slot and unnamed slots to add input elements to the group.
|
|
8
|
+
* @example
|
|
9
|
+
* <tedi-input-group>
|
|
10
|
+
* <tedi-button prefix-slot>Prefix</tedi-button>
|
|
11
|
+
* <tedi-button suffix-slot>Suffix</tedi-button>
|
|
12
|
+
* <input></input>
|
|
13
|
+
* </tedi-input-group>
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare class InputGroupComponent {
|
|
17
|
+
/**
|
|
18
|
+
* User-visible label for the input group, visible above the input, should describe the purpose of the input group.
|
|
19
|
+
*/
|
|
20
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* ID of the input group's label, used to associate the label with the input group's custom input.
|
|
23
|
+
*/
|
|
24
|
+
readonly labelID: import("@angular/core").InputSignal<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Disabled state of the input group, causes the input group to be grayed out.
|
|
27
|
+
* Does not affect children's disabled state.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* FeedbackText component inputs, displayed below the input group.
|
|
33
|
+
*/
|
|
34
|
+
readonly feedback: import("@angular/core").InputSignal<ComponentInputs<FeedbackTextComponent> | undefined>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputGroupComponent, "tedi-input-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelID": { "alias": "labelID"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "feedback": { "alias": "feedback"; "required": false; "isSignal": true; }; }, {}, never, ["[prefix-slot]", "*", "[suffix-slot]"], true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=input-group.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/input-group/input-group.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAkB,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;AAE1G;;;;;;;;;;;;GAYG;AACH,qBAQa,mBAAmB;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,0DAAmB;IAEjC;;OAEG;IACH,QAAQ,CAAC,OAAO,0DAAmB;IAEnC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,+CAAyB;IAE1C;;OAEG;IACH,QAAQ,CAAC,QAAQ,0FAAmD;yCArBzD,mBAAmB;2CAAnB,mBAAmB;CAsB/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type RadioValue = string;
|
|
5
|
+
export declare class RadioComponent implements OnInit {
|
|
6
|
+
inputId: import("@angular/core").InputSignal<string>;
|
|
7
|
+
checked: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
8
|
+
value: import("@angular/core").InputSignal<string>;
|
|
9
|
+
disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
10
|
+
hasError: import("@angular/core").InputSignal<boolean | undefined>;
|
|
11
|
+
/**
|
|
12
|
+
* FeedbackText component inputs.
|
|
13
|
+
*/
|
|
14
|
+
feedbackText: import("@angular/core").InputSignal<ComponentInputs<FeedbackTextComponent> | undefined>;
|
|
15
|
+
private _inputEl;
|
|
16
|
+
private radioGroup;
|
|
17
|
+
inputDisabled: import("@angular/core").Signal<boolean | undefined>;
|
|
18
|
+
inputName: import("@angular/core").Signal<string | undefined>;
|
|
19
|
+
inputChecked: import("@angular/core").Signal<boolean | undefined>;
|
|
20
|
+
feedbackTextId: import("@angular/core").Signal<string | undefined>;
|
|
21
|
+
focus(): void;
|
|
22
|
+
onInputChange(event: Event): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "tedi-radio", never, { "inputId": { "alias": "inputId"; "required": true; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "feedbackText": { "alias": "feedbackText"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=radio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.component.d.ts","sourceRoot":"","sources":["../../../../../../community/components/form/radio/radio/radio.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,MAAM,EAGP,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,eAAe,EACf,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;;AAG1C,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,qBAaa,cAAe,YAAW,MAAM;IAI3C,OAAO,8CAA4B;IAInC,OAAO,2DAAoB;IAI3B,KAAK,8CAA4B;IAIjC,QAAQ,2DAAoB;IAI5B,QAAQ,2DAAoB;IAC5B;;OAEG;IACH,YAAY,0FAAmD;IAE/D,OAAO,CAAC,QAAQ,CAA6D;IAC7E,OAAO,CAAC,UAAU,CAAmD;IAErE,aAAa,sDAEV;IAEH,SAAS,qDAEN;IAEH,YAAY,sDAET;IAEH,cAAc,qDAKX;IAEH,KAAK;IAIL,aAAa,CAAC,KAAK,EAAE,KAAK;IAK1B,QAAQ;yCAzDG,cAAc;2CAAd,cAAc;CA8D1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RadioGroupComponent } from "../radio-group/radio-group.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../choicegroup/choicegroup.directive";
|
|
4
|
+
export declare class RadioCardGroupComponent extends RadioGroupComponent {
|
|
5
|
+
direction: import("@angular/core").InputSignal<"row" | "column">;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioCardGroupComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioCardGroupComponent, "tedi-radio-card-group", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ChoiceGroupDirective; inputs: { "variant": "variant"; "hasIndicator": "hasIndicator"; "spacing": "spacing"; }; outputs: {}; }]>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=radio-card-group.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-card-group.component.d.ts","sourceRoot":"","sources":["../../../../../../community/components/form/radio/radio-card-group/radio-card-group.component.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;;;AAC3E,qBA8Ba,uBAAwB,SAAQ,mBAAmB;IAIrD,SAAS,wDAAkC;yCAJzC,uBAAuB;2CAAvB,uBAAuB;CAKnC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import { RadioValue } from "../radio/radio.component";
|
|
3
|
+
import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type RadioGroupSize = "default" | "large";
|
|
6
|
+
export declare class RadioGroupComponent implements ControlValueAccessor {
|
|
7
|
+
name: import("@angular/core").InputSignal<string>;
|
|
8
|
+
id: import("@angular/core").InputSignal<string>;
|
|
9
|
+
/**
|
|
10
|
+
* Radio group label.
|
|
11
|
+
*/
|
|
12
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
13
|
+
disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
14
|
+
hasError: import("@angular/core").InputSignal<boolean | undefined>;
|
|
15
|
+
size: import("@angular/core").InputSignal<RadioGroupSize>;
|
|
16
|
+
direction: import("@angular/core").InputSignal<"row" | "column">;
|
|
17
|
+
spacing: import("@angular/core").InputSignal<number>;
|
|
18
|
+
/**
|
|
19
|
+
* FeedbackText component inputs.
|
|
20
|
+
*/
|
|
21
|
+
feedbackText: import("@angular/core").InputSignal<ComponentInputs<FeedbackTextComponent> | undefined>;
|
|
22
|
+
change: import("@angular/core").OutputEmitterRef<string>;
|
|
23
|
+
private _value;
|
|
24
|
+
private _controlDisabled;
|
|
25
|
+
groupDisabled: import("@angular/core").Signal<boolean>;
|
|
26
|
+
groupValue: import("@angular/core").Signal<string | null>;
|
|
27
|
+
private _onChange;
|
|
28
|
+
private _onTouched;
|
|
29
|
+
writeValue(value: RadioValue | null): void;
|
|
30
|
+
registerOnChange(fn: (val: RadioValue) => void): void;
|
|
31
|
+
registerOnTouched(fn: (val: boolean) => void): void;
|
|
32
|
+
setDisabledState(isDisabled: boolean): void;
|
|
33
|
+
selectRadio(value: string): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "tedi-radio-group", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "feedbackText": { "alias": "feedbackText"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=radio-group.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.component.d.ts","sourceRoot":"","sources":["../../../../../../community/components/form/radio/radio-group/radio-group.component.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,eAAe,EAAkB,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;AAE1G,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC;AAEjD,qBAoBa,mBAAoB,YAAW,oBAAoB;IAI9D,IAAI,8CAA4B;IAIhC,EAAE,8CAA4B;IAC9B;;OAEG;IACH,KAAK,0DAAmB;IAIxB,QAAQ,2DAAoB;IAI5B,QAAQ,2DAAoB;IAI5B,IAAI,sDAAoC;IAIxC,SAAS,wDAAqC;IAK9C,OAAO,8CAAoB;IAC3B;;OAEG;IACH,YAAY,0FAAmD;IAM/D,MAAM,mDAAwB;IAE9B,OAAO,CAAC,MAAM,CAA+B;IAC7C,OAAO,CAAC,gBAAgB,CAA0B;IAElD,aAAa,0CAEV;IACH,UAAU,gDAA4B;IAEtC,OAAO,CAAC,SAAS,CAAuC;IACxD,OAAO,CAAC,UAAU,CAAoC;IAEtD,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI;IAG1C,gBAAgB,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,IAAI,GAAG,IAAI;IAGrD,iBAAiB,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAGnD,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,WAAW,CAAC,KAAK,EAAE,MAAM;yCArEd,mBAAmB;2CAAnB,mBAAmB;CAyE/B"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { AfterContentChecked, ElementRef } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type SearchSize = "large" | "default" | "small";
|
|
6
|
+
export type AutocompleteOption = {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
};
|
|
11
|
+
export type SearchState = "valid" | "error" | "default";
|
|
12
|
+
export declare class SearchComponent implements AfterContentChecked, ControlValueAccessor {
|
|
13
|
+
/**
|
|
14
|
+
* Search input ID for accessibility
|
|
15
|
+
*/
|
|
16
|
+
inputId: import("@angular/core").InputSignal<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Autocomplete options for the search input
|
|
19
|
+
* @default []
|
|
20
|
+
*/
|
|
21
|
+
autocompleteOptions: import("@angular/core").InputSignal<AutocompleteOption[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Minimum number of characters to trigger autocomplete
|
|
24
|
+
* @default 3
|
|
25
|
+
*/
|
|
26
|
+
autocompleteFrom: import("@angular/core").InputSignal<number | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Size of the search component
|
|
29
|
+
* @default "default"
|
|
30
|
+
*/
|
|
31
|
+
size: import("@angular/core").InputSignal<SearchSize>;
|
|
32
|
+
/**
|
|
33
|
+
* Input state for validation
|
|
34
|
+
* @default "default"
|
|
35
|
+
*/
|
|
36
|
+
state: import("@angular/core").InputSignal<SearchState>;
|
|
37
|
+
/**
|
|
38
|
+
* Should the search button be shown
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
withButton: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Add text to the search button
|
|
44
|
+
* @default undefined
|
|
45
|
+
*/
|
|
46
|
+
buttonText: import("@angular/core").InputSignal<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Should the search input be clearable
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
clearable: import("@angular/core").InputSignal<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* Text to show when no results are found
|
|
54
|
+
* @default "Vasteid ei leitud"
|
|
55
|
+
*/
|
|
56
|
+
noResultText: import("@angular/core").InputSignal<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Should the searc input be disabled
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* Placeholder text for the search input
|
|
64
|
+
* @default ""
|
|
65
|
+
*/
|
|
66
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Should the search input show a loading spinner
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
loading: import("@angular/core").InputSignal<boolean>;
|
|
72
|
+
/**
|
|
73
|
+
* Label for the search input
|
|
74
|
+
* @default undefined
|
|
75
|
+
*/
|
|
76
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Feedback text component for displaying messages
|
|
79
|
+
* @default undefined
|
|
80
|
+
*/
|
|
81
|
+
feedbackText: import("@angular/core").InputSignal<ComponentInputs<FeedbackTextComponent> | undefined>;
|
|
82
|
+
searchEvent: import("@angular/core").OutputEmitterRef<string | AutocompleteOption>;
|
|
83
|
+
clearEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
84
|
+
_inputValue: import("@angular/core").ModelSignal<string | undefined>;
|
|
85
|
+
_selectedOption: import("@angular/core").ModelSignal<AutocompleteOption | undefined>;
|
|
86
|
+
_width: import("@angular/core").WritableSignal<number>;
|
|
87
|
+
_elementRef: ElementRef<any>;
|
|
88
|
+
_disabled: import("@angular/core").WritableSignal<boolean>;
|
|
89
|
+
_isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
90
|
+
_cdkMenuRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
91
|
+
_overlayOriginRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
92
|
+
modifierClasses: import("@angular/core").Signal<string>;
|
|
93
|
+
ngAfterContentChecked(): void;
|
|
94
|
+
inputChanged(inputValue: string): void;
|
|
95
|
+
focusInput(): void;
|
|
96
|
+
handleOverlayOpen(): void;
|
|
97
|
+
_foundOptions: import("@angular/core").Signal<AutocompleteOption[]>;
|
|
98
|
+
iconSize: import("@angular/core").Signal<18 | 16 | 24>;
|
|
99
|
+
buttonSize: import("@angular/core").Signal<"default" | "small">;
|
|
100
|
+
private onChange;
|
|
101
|
+
onTouched: () => void;
|
|
102
|
+
writeValue(value: string | AutocompleteOption): void;
|
|
103
|
+
registerOnChange(fn: (value: string | AutocompleteOption) => void): void;
|
|
104
|
+
registerOnTouched(fn: () => void): void;
|
|
105
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
106
|
+
searchButtonClick(): void;
|
|
107
|
+
selectResult(option: AutocompleteOption): void;
|
|
108
|
+
clearResult(): void;
|
|
109
|
+
focusDropdown(event?: Event): void;
|
|
110
|
+
closeOverlay(focusBackToInput: boolean): void;
|
|
111
|
+
getWidth(): number;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "tedi-search", never, { "inputId": { "alias": "inputId"; "required": true; "isSignal": true; }; "autocompleteOptions": { "alias": "autocompleteOptions"; "required": false; "isSignal": true; }; "autocompleteFrom": { "alias": "autocompleteFrom"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "withButton": { "alias": "withButton"; "required": false; "isSignal": true; }; "buttonText": { "alias": "buttonText"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "feedbackText": { "alias": "feedbackText"; "required": false; "isSignal": true; }; "_inputValue": { "alias": "_inputValue"; "required": false; "isSignal": true; }; "_selectedOption": { "alias": "_selectedOption"; "required": false; "isSignal": true; }; }, { "searchEvent": "searchEvent"; "clearEvent": "clearEvent"; "_inputValue": "_inputValueChange"; "_selectedOption": "_selectedOptionChange"; }, never, ["*"], true, never>;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=search.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/search/search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAInB,UAAU,EASX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAqB,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAKL,eAAe,EACf,qBAAqB,EAEtB,MAAM,kCAAkC,CAAC;;AAS1C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAExD,qBAqCa,eACX,YAAW,mBAAmB,EAAE,oBAAoB;IAEpD;;OAEG;IACH,OAAO,8CAA4B;IACnC;;;OAGG;IACH,mBAAmB,4DAAmC;IACtD;;;OAGG;IACH,gBAAgB,0DAA+B;IAC/C;;;OAGG;IACH,IAAI,kDAAgC;IACpC;;;OAGG;IACH,KAAK,mDAAiC;IACtC;;;OAGG;IACH,UAAU,+CAAyB;IACnC;;;OAGG;IACH,UAAU,0DAAwC;IAClD;;;OAGG;IACH,SAAS,+CAAwB;IACjC;;;OAGG;IACH,YAAY,8CAAsC;IAClD;;;OAGG;IACH,QAAQ,+CAAyB;IACjC;;;OAGG;IACH,WAAW,8CAAqB;IAChC;;;OAGG;IACH,OAAO,+CAAyB;IAChC;;;OAGG;IACH,KAAK,0DAAmB;IACxB;;;OAGG;IACH,YAAY,0FAAmD;IAG/D,WAAW,wEAAyC;IACpD,UAAU,iDAAkB;IAE5B,WAAW,0DAAmB;IAC9B,eAAe,sEAA+B;IAC9C,MAAM,iDAAa;IACnB,WAAW,kBAAsB;IACjC,SAAS,kDAAiB;IAC1B,UAAU,kDAAiB;IAC3B,WAAW,8DAA4C;IACvD,iBAAiB,8DAAqD;IAEtE,eAAe,yCAMZ;IAEH,qBAAqB,IAAI,IAAI;IAI7B,YAAY,CAAC,UAAU,EAAE,MAAM;IAY/B,UAAU;IAKV,iBAAiB,IAAI,IAAI;IAgBzB,aAAa,uDAaV;IAEH,QAAQ,+CAcL;IAEH,UAAU,sDASP;IAGH,OAAO,CAAC,QAAQ,CAA0D;IAC1E,SAAS,EAAE,MAAM,IAAI,CAAY;IAEjC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI;IAUpD,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,KAAK,IAAI,GAAG,IAAI;IAIxE,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C,iBAAiB;IAMjB,YAAY,CAAC,MAAM,EAAE,kBAAkB;IAcvC,WAAW;IASX,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK;IAc3B,YAAY,CAAC,gBAAgB,EAAE,OAAO;IAQtC,QAAQ,IAAI,MAAM;yCA1PP,eAAe;2CAAf,eAAe;CA6P3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/select/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
|