valtech-components 2.0.691 → 2.0.692
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/esm2022/lib/components/atoms/avatar/avatar.component.mjs +94 -0
- package/esm2022/lib/components/atoms/avatar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/box/box.component.mjs +88 -0
- package/esm2022/lib/components/atoms/box/types.mjs +2 -0
- package/esm2022/lib/components/atoms/button/button.component.mjs +174 -0
- package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
- package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +340 -0
- package/esm2022/lib/components/atoms/countdown/types.mjs +27 -0
- package/esm2022/lib/components/atoms/display/display.component.mjs +51 -0
- package/esm2022/lib/components/atoms/display/types.mjs +2 -0
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +27 -0
- package/esm2022/lib/components/atoms/divider/types.mjs +2 -0
- package/esm2022/lib/components/atoms/fab/fab.component.mjs +190 -0
- package/esm2022/lib/components/atoms/fab/types.mjs +2 -0
- package/esm2022/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.mjs +82 -0
- package/esm2022/lib/components/atoms/horizontal-scroll/types.mjs +2 -0
- package/esm2022/lib/components/atoms/href/href.component.mjs +62 -0
- package/esm2022/lib/components/atoms/href/types.mjs +2 -0
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +29 -0
- package/esm2022/lib/components/atoms/icon/types.mjs +2 -0
- package/esm2022/lib/components/atoms/image/image.component.mjs +507 -0
- package/esm2022/lib/components/atoms/image/types.mjs +2 -0
- package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +235 -0
- package/esm2022/lib/components/atoms/price-tag/types.mjs +15 -0
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +91 -0
- package/esm2022/lib/components/atoms/progress-bar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +149 -0
- package/esm2022/lib/components/atoms/progress-ring/types.mjs +2 -0
- package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +394 -0
- package/esm2022/lib/components/atoms/qr-code/types.mjs +2 -0
- package/esm2022/lib/components/atoms/rights-footer/rights-footer.component.mjs +108 -0
- package/esm2022/lib/components/atoms/rights-footer/types.mjs +2 -0
- package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +193 -0
- package/esm2022/lib/components/atoms/skeleton/types.mjs +13 -0
- package/esm2022/lib/components/atoms/text/text.component.mjs +132 -0
- package/esm2022/lib/components/atoms/text/types.mjs +2 -0
- package/esm2022/lib/components/atoms/title/title.component.mjs +68 -0
- package/esm2022/lib/components/atoms/title/types.mjs +22 -0
- package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +120 -0
- package/esm2022/lib/components/molecules/accordion/types.mjs +2 -0
- package/esm2022/lib/components/molecules/action-card/action-card.component.mjs +298 -0
- package/esm2022/lib/components/molecules/action-card/types.mjs +11 -0
- package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +26 -0
- package/esm2022/lib/components/molecules/action-header/types.mjs +2 -0
- package/esm2022/lib/components/molecules/ad-slot/ad-slot.component.mjs +274 -0
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +119 -0
- package/esm2022/lib/components/molecules/alert-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +130 -0
- package/esm2022/lib/components/molecules/breadcrumb/types.mjs +2 -0
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +63 -0
- package/esm2022/lib/components/molecules/button-group/types.mjs +2 -0
- package/esm2022/lib/components/molecules/card/card.component.mjs +450 -0
- package/esm2022/lib/components/molecules/card/types.mjs +16 -0
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +82 -0
- package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +166 -0
- package/esm2022/lib/components/molecules/chip-group/types.mjs +2 -0
- package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +115 -0
- package/esm2022/lib/components/molecules/code-display/types.mjs +2 -0
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +49 -0
- package/esm2022/lib/components/molecules/command-display/types.mjs +2 -0
- package/esm2022/lib/components/molecules/comment/comment.component.mjs +618 -0
- package/esm2022/lib/components/molecules/comment/types.mjs +2 -0
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +41 -0
- package/esm2022/lib/components/molecules/comment-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +42 -0
- package/esm2022/lib/components/molecules/content-loader/types.mjs +2 -0
- package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +218 -0
- package/esm2022/lib/components/molecules/content-reaction/types.mjs +2 -0
- package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +347 -0
- package/esm2022/lib/components/molecules/currency-input/types.mjs +18 -0
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +148 -0
- package/esm2022/lib/components/molecules/date-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +416 -0
- package/esm2022/lib/components/molecules/date-range-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-api-table/docs-api-table.component.mjs +222 -0
- package/esm2022/lib/components/molecules/docs-api-table/types.mjs +11 -0
- package/esm2022/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.mjs +144 -0
- package/esm2022/lib/components/molecules/docs-breadcrumb/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-callout/docs-callout.component.mjs +60 -0
- package/esm2022/lib/components/molecules/docs-code-example/docs-code-example.component.mjs +255 -0
- package/esm2022/lib/components/molecules/docs-code-example/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-nav-links/docs-nav-links.component.mjs +140 -0
- package/esm2022/lib/components/molecules/docs-nav-links/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-search/docs-search.component.mjs +268 -0
- package/esm2022/lib/components/molecules/docs-search/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-section/docs-section.component.mjs +85 -0
- package/esm2022/lib/components/molecules/docs-section/types.mjs +2 -0
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +68 -0
- package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +77 -0
- package/esm2022/lib/components/molecules/expandable-text/types.mjs +2 -0
- package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +185 -0
- package/esm2022/lib/components/molecules/features-list/types.mjs +11 -0
- package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +354 -0
- package/esm2022/lib/components/molecules/feedback-form/types.mjs +2 -0
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +90 -0
- package/esm2022/lib/components/molecules/file-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/footer-links/footer-links.component.mjs +391 -0
- package/esm2022/lib/components/molecules/footer-links/types.mjs +2 -0
- package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +314 -0
- package/esm2022/lib/components/molecules/glow-card/types.mjs +11 -0
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +90 -0
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +28 -0
- package/esm2022/lib/components/molecules/image-crop/image-crop.component.mjs +174 -0
- package/esm2022/lib/components/molecules/image-crop/index.mjs +2 -0
- package/esm2022/lib/components/molecules/info/info.component.mjs +49 -0
- package/esm2022/lib/components/molecules/info/types.mjs +2 -0
- package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +221 -0
- package/esm2022/lib/components/molecules/language-selector/types.mjs +2 -0
- package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +104 -0
- package/esm2022/lib/components/molecules/layered-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/link/link.component.mjs +64 -0
- package/esm2022/lib/components/molecules/link/types.mjs +2 -0
- package/esm2022/lib/components/molecules/linked-providers/linked-providers.component.mjs +236 -0
- package/esm2022/lib/components/molecules/linked-providers/types.mjs +27 -0
- package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +185 -0
- package/esm2022/lib/components/molecules/links-accordion/types.mjs +2 -0
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +51 -0
- package/esm2022/lib/components/molecules/links-cake/types.mjs +2 -0
- package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +488 -0
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +69 -0
- package/esm2022/lib/components/molecules/notes-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +143 -0
- package/esm2022/lib/components/molecules/number-from-to/types.mjs +2 -0
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +34 -0
- package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +379 -0
- package/esm2022/lib/components/molecules/number-stepper/types.mjs +2 -0
- package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +253 -0
- package/esm2022/lib/components/molecules/pagination/types.mjs +2 -0
- package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +514 -0
- package/esm2022/lib/components/molecules/participant-card/types.mjs +21 -0
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +93 -0
- package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +365 -0
- package/esm2022/lib/components/molecules/phone-input/types.mjs +19 -0
- package/esm2022/lib/components/molecules/pill/pill.component.mjs +92 -0
- package/esm2022/lib/components/molecules/pill/types.mjs +2 -0
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +78 -0
- package/esm2022/lib/components/molecules/pin-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +82 -0
- package/esm2022/lib/components/molecules/plain-code-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +188 -0
- package/esm2022/lib/components/molecules/popover-selector/types.mjs +2 -0
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +105 -0
- package/esm2022/lib/components/molecules/progress-status/types.mjs +2 -0
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +85 -0
- package/esm2022/lib/components/molecules/prompter/types.mjs +2 -0
- package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +155 -0
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +52 -0
- package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +476 -0
- package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +23 -0
- package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +127 -0
- package/esm2022/lib/components/molecules/range-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/rating/rating.component.mjs +166 -0
- package/esm2022/lib/components/molecules/rating/types.mjs +2 -0
- package/esm2022/lib/components/molecules/recap-card/recap-card.component.mjs +78 -0
- package/esm2022/lib/components/molecules/recap-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/refresher/refresher.component.mjs +269 -0
- package/esm2022/lib/components/molecules/refresher/types.mjs +15 -0
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +127 -0
- package/esm2022/lib/components/molecules/searchbar/types.mjs +2 -0
- package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +137 -0
- package/esm2022/lib/components/molecules/segment-control/types.mjs +2 -0
- package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +130 -0
- package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +420 -0
- package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +274 -0
- package/esm2022/lib/components/molecules/share-buttons/types.mjs +88 -0
- package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +213 -0
- package/esm2022/lib/components/molecules/stats-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +242 -0
- package/esm2022/lib/components/molecules/stepper/types.mjs +2 -0
- package/esm2022/lib/components/molecules/swipe-carousel/swipe-carousel.component.mjs +206 -0
- package/esm2022/lib/components/molecules/swipe-carousel/types.mjs +2 -0
- package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +139 -0
- package/esm2022/lib/components/molecules/tabs/types.mjs +2 -0
- package/esm2022/lib/components/molecules/testimonial-card/testimonial-card.component.mjs +138 -0
- package/esm2022/lib/components/molecules/testimonial-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +77 -0
- package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +213 -0
- package/esm2022/lib/components/molecules/textarea-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +489 -0
- package/esm2022/lib/components/molecules/ticket-grid/types.mjs +11 -0
- package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +140 -0
- package/esm2022/lib/components/molecules/timeline/types.mjs +2 -0
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +102 -0
- package/esm2022/lib/components/molecules/title-block/types.mjs +2 -0
- package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +93 -0
- package/esm2022/lib/components/molecules/toggle-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/update-banner/update-banner.component.mjs +112 -0
- package/esm2022/lib/components/molecules/username-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/username-input/username-input.component.mjs +260 -0
- package/esm2022/lib/components/molecules/winner-display/types.mjs +9 -0
- package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +359 -0
- package/esm2022/lib/components/organisms/article/article.component.mjs +573 -0
- package/esm2022/lib/components/organisms/article/types.mjs +183 -0
- package/esm2022/lib/components/organisms/avatar-upload/avatar-upload.component.mjs +372 -0
- package/esm2022/lib/components/organisms/avatar-upload/types.mjs +15 -0
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +111 -0
- package/esm2022/lib/components/organisms/banner/types.mjs +2 -0
- package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +368 -0
- package/esm2022/lib/components/organisms/bottom-nav/types.mjs +18 -0
- package/esm2022/lib/components/organisms/cards-carousel/cards-carousel.component.mjs +61 -0
- package/esm2022/lib/components/organisms/cards-carousel/types.mjs +2 -0
- package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +537 -0
- package/esm2022/lib/components/organisms/comment-section/types.mjs +2 -0
- package/esm2022/lib/components/organisms/company-footer/company-footer.component.mjs +76 -0
- package/esm2022/lib/components/organisms/company-footer/types.mjs +2 -0
- package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +1081 -0
- package/esm2022/lib/components/organisms/data-table/types.mjs +13 -0
- package/esm2022/lib/components/organisms/docs-sidebar/docs-sidebar.component.mjs +290 -0
- package/esm2022/lib/components/organisms/docs-sidebar/types.mjs +2 -0
- package/esm2022/lib/components/organisms/docs-toc/docs-toc.component.mjs +307 -0
- package/esm2022/lib/components/organisms/docs-toc/types.mjs +2 -0
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +73 -0
- package/esm2022/lib/components/organisms/footer/types.mjs +2 -0
- package/esm2022/lib/components/organisms/form/factory.mjs +29 -0
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +83 -0
- package/esm2022/lib/components/organisms/form/form.component.mjs +417 -0
- package/esm2022/lib/components/organisms/fun-header/fun-header.component.mjs +225 -0
- package/esm2022/lib/components/organisms/fun-header/types.mjs +2 -0
- package/esm2022/lib/components/organisms/header/header.component.mjs +51 -0
- package/esm2022/lib/components/organisms/header/types.mjs +2 -0
- package/esm2022/lib/components/organisms/infinite-list/infinite-list.component.mjs +620 -0
- package/esm2022/lib/components/organisms/infinite-list/types.mjs +15 -0
- package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +418 -0
- package/esm2022/lib/components/organisms/item-list/types.mjs +2 -0
- package/esm2022/lib/components/organisms/login/login.component.mjs +741 -0
- package/esm2022/lib/components/organisms/login/types.mjs +11 -0
- package/esm2022/lib/components/organisms/menu/menu.component.mjs +206 -0
- package/esm2022/lib/components/organisms/menu/types.mjs +2 -0
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +66 -0
- package/esm2022/lib/components/organisms/no-content/types.mjs +2 -0
- package/esm2022/lib/components/organisms/rotating-text/rotating-text.component.mjs +180 -0
- package/esm2022/lib/components/organisms/rotating-text/types.mjs +2 -0
- package/esm2022/lib/components/organisms/tabbed-content/tabbed-content.component.mjs +170 -0
- package/esm2022/lib/components/organisms/tabbed-content/types.mjs +2 -0
- package/esm2022/lib/components/organisms/terminal-404/terminal-404.component.mjs +214 -0
- package/esm2022/lib/components/organisms/terminal-404/types.mjs +2 -0
- package/esm2022/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.mjs +72 -0
- package/esm2022/lib/components/organisms/testimonial-carousel/types.mjs +2 -0
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +237 -0
- package/esm2022/lib/components/organisms/toolbar/types.mjs +2 -0
- package/esm2022/lib/components/organisms/wizard/types.mjs +10 -0
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +111 -0
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +161 -0
- package/esm2022/lib/components/templates/auth-background/auth-background.component.mjs +149 -0
- package/esm2022/lib/components/templates/auth-background/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-layout/docs-layout.component.mjs +221 -0
- package/esm2022/lib/components/templates/docs-layout/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-page/docs-page.component.mjs +251 -0
- package/esm2022/lib/components/templates/docs-page/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-shell/docs-shell.component.mjs +376 -0
- package/esm2022/lib/components/templates/docs-shell/types.mjs +2 -0
- package/esm2022/lib/components/templates/layout/layout.component.mjs +19 -0
- package/esm2022/lib/components/templates/maintenance-page/maintenance-page.component.mjs +153 -0
- package/esm2022/lib/components/templates/maintenance-page/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +193 -0
- package/esm2022/lib/components/templates/page-content/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-template/page-template.component.mjs +188 -0
- package/esm2022/lib/components/templates/page-template/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +192 -0
- package/esm2022/lib/components/templates/page-wrapper/types.mjs +2 -0
- package/esm2022/lib/components/templates/simple/simple.component.mjs +125 -0
- package/esm2022/lib/components/templates/simple/types.mjs +2 -0
- package/esm2022/lib/components/types.mjs +58 -0
- package/esm2022/lib/config/company-footer.config.mjs +109 -0
- package/esm2022/lib/config/index.mjs +5 -0
- package/esm2022/lib/services/ads/ads-loader.service.mjs +120 -0
- package/esm2022/lib/services/ads/ads.service.mjs +236 -0
- package/esm2022/lib/services/ads/config.mjs +81 -0
- package/esm2022/lib/services/ads/index.mjs +13 -0
- package/esm2022/lib/services/ads/types.mjs +23 -0
- package/esm2022/lib/services/app-config/app-config.service.mjs +209 -0
- package/esm2022/lib/services/app-config/config.mjs +47 -0
- package/esm2022/lib/services/app-config/index.mjs +48 -0
- package/esm2022/lib/services/app-config/types.mjs +13 -0
- package/esm2022/lib/services/app-config/version.mjs +85 -0
- package/esm2022/lib/services/auth/auth-state.service.mjs +186 -0
- package/esm2022/lib/services/auth/auth.service.mjs +1087 -0
- package/esm2022/lib/services/auth/config.mjs +77 -0
- package/esm2022/lib/services/auth/device.service.mjs +135 -0
- package/esm2022/lib/services/auth/guards.mjs +194 -0
- package/esm2022/lib/services/auth/index.mjs +92 -0
- package/esm2022/lib/services/auth/interceptor.mjs +122 -0
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +169 -0
- package/esm2022/lib/services/auth/oauth.service.mjs +318 -0
- package/esm2022/lib/services/auth/session.service.mjs +78 -0
- package/esm2022/lib/services/auth/storage.service.mjs +152 -0
- package/esm2022/lib/services/auth/sync.service.mjs +149 -0
- package/esm2022/lib/services/auth/token.service.mjs +122 -0
- package/esm2022/lib/services/auth/types.mjs +30 -0
- package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +180 -0
- package/esm2022/lib/services/confirmation-dialog/types.mjs +14 -0
- package/esm2022/lib/services/docs/docs-navigation.service.mjs +91 -0
- package/esm2022/lib/services/download.service.mjs +80 -0
- package/esm2022/lib/services/feedback/config.mjs +49 -0
- package/esm2022/lib/services/feedback/feedback.service.mjs +296 -0
- package/esm2022/lib/services/feedback/index.mjs +44 -0
- package/esm2022/lib/services/feedback/types.mjs +30 -0
- package/esm2022/lib/services/firebase/analytics-error-handler.mjs +141 -0
- package/esm2022/lib/services/firebase/analytics-router-tracker.mjs +99 -0
- package/esm2022/lib/services/firebase/analytics-types.mjs +7 -0
- package/esm2022/lib/services/firebase/analytics.service.mjs +620 -0
- package/esm2022/lib/services/firebase/config.mjs +131 -0
- package/esm2022/lib/services/firebase/firebase.service.mjs +456 -0
- package/esm2022/lib/services/firebase/firestore-collection.mjs +262 -0
- package/esm2022/lib/services/firebase/firestore.service.mjs +536 -0
- package/esm2022/lib/services/firebase/index.mjs +56 -0
- package/esm2022/lib/services/firebase/messaging.service.mjs +597 -0
- package/esm2022/lib/services/firebase/notifications.service.mjs +210 -0
- package/esm2022/lib/services/firebase/shared-config.mjs +114 -0
- package/esm2022/lib/services/firebase/storage.service.mjs +472 -0
- package/esm2022/lib/services/firebase/types.mjs +18 -0
- package/esm2022/lib/services/firebase/utils/path-builder.mjs +195 -0
- package/esm2022/lib/services/firebase/utils/query-builder.mjs +302 -0
- package/esm2022/lib/services/i18n/config.mjs +110 -0
- package/esm2022/lib/services/i18n/default-content.mjs +563 -0
- package/esm2022/lib/services/i18n/i18n.service.mjs +196 -0
- package/esm2022/lib/services/i18n/index.mjs +13 -0
- package/esm2022/lib/services/i18n/input-i18n.helper.mjs +97 -0
- package/esm2022/lib/services/i18n/translate.pipe.mjs +50 -0
- package/esm2022/lib/services/i18n/types.mjs +15 -0
- package/esm2022/lib/services/icons.service.mjs +76 -0
- package/esm2022/lib/services/image/image.service.mjs +244 -0
- package/esm2022/lib/services/image/index.mjs +3 -0
- package/esm2022/lib/services/image/types.mjs +13 -0
- package/esm2022/lib/services/in-app-browser.service.mjs +35 -0
- package/esm2022/lib/services/link-processor.service.mjs +259 -0
- package/esm2022/lib/services/local-storage.service.mjs +37 -0
- package/esm2022/lib/services/locale.service.mjs +75 -0
- package/esm2022/lib/services/meta/index.mjs +3 -0
- package/esm2022/lib/services/meta/meta.service.mjs +63 -0
- package/esm2022/lib/services/meta/types.mjs +2 -0
- package/esm2022/lib/services/modal/modal.service.mjs +212 -0
- package/esm2022/lib/services/modal/simple-modal-content.component.mjs +133 -0
- package/esm2022/lib/services/modal/types.mjs +26 -0
- package/esm2022/lib/services/navigation/index.mjs +3 -0
- package/esm2022/lib/services/navigation/navigation.service.mjs +216 -0
- package/esm2022/lib/services/navigation/types.mjs +16 -0
- package/esm2022/lib/services/pagination/index.mjs +5 -0
- package/esm2022/lib/services/pagination/pagination.service.mjs +218 -0
- package/esm2022/lib/services/pagination/types.mjs +14 -0
- package/esm2022/lib/services/presets/config.mjs +46 -0
- package/esm2022/lib/services/presets/index.mjs +5 -0
- package/esm2022/lib/services/presets/preset.service.mjs +104 -0
- package/esm2022/lib/services/presets/types.mjs +2 -0
- package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +341 -0
- package/esm2022/lib/services/qr-generator/types.mjs +46 -0
- package/esm2022/lib/services/skeleton/config.mjs +79 -0
- package/esm2022/lib/services/skeleton/directives/loading.directive.mjs +215 -0
- package/esm2022/lib/services/skeleton/index.mjs +16 -0
- package/esm2022/lib/services/skeleton/skeleton.service.mjs +198 -0
- package/esm2022/lib/services/skeleton/templates/detail-skeleton.component.mjs +223 -0
- package/esm2022/lib/services/skeleton/templates/form-skeleton.component.mjs +127 -0
- package/esm2022/lib/services/skeleton/templates/grid-skeleton.component.mjs +154 -0
- package/esm2022/lib/services/skeleton/templates/list-skeleton.component.mjs +110 -0
- package/esm2022/lib/services/skeleton/templates/profile-skeleton.component.mjs +207 -0
- package/esm2022/lib/services/skeleton/templates/table-skeleton.component.mjs +116 -0
- package/esm2022/lib/services/skeleton/types.mjs +11 -0
- package/esm2022/lib/services/theme.service.mjs +144 -0
- package/esm2022/lib/services/toast.service.mjs +47 -0
- package/esm2022/lib/services/types.mjs +5 -0
- package/esm2022/lib/shared/constants/storage.mjs +3 -0
- package/esm2022/lib/shared/pipes/process-links.pipe.mjs +69 -0
- package/esm2022/lib/shared/utils/dom.mjs +27 -0
- package/esm2022/lib/shared/utils/form-defaults.mjs +112 -0
- package/esm2022/lib/shared/utils/styles.mjs +37 -0
- package/esm2022/lib/shared/utils/text.mjs +12 -0
- package/esm2022/lib/version.mjs +6 -0
- package/esm2022/public-api.mjs +333 -0
- package/esm2022/valtech-components.mjs +5 -0
- package/fesm2022/valtech-components.mjs +42067 -0
- package/fesm2022/valtech-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/atoms/avatar/avatar.component.d.ts +36 -0
- package/lib/components/atoms/avatar/types.d.ts +15 -0
- package/lib/components/atoms/box/box.component.d.ts +26 -0
- package/lib/components/atoms/box/types.d.ts +19 -0
- package/lib/components/atoms/button/button.component.d.ts +63 -0
- package/lib/components/atoms/button/factory.d.ts +71 -0
- package/lib/components/atoms/countdown/countdown.component.d.ts +38 -0
- package/lib/components/atoms/countdown/types.d.ts +108 -0
- package/lib/components/atoms/display/display.component.d.ts +19 -0
- package/lib/components/atoms/display/types.d.ts +33 -0
- package/lib/components/atoms/divider/divider.component.d.ts +27 -0
- package/lib/components/atoms/divider/types.d.ts +12 -0
- package/lib/components/atoms/fab/fab.component.d.ts +36 -0
- package/lib/components/atoms/fab/types.d.ts +45 -0
- package/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.d.ts +41 -0
- package/lib/components/atoms/horizontal-scroll/types.d.ts +13 -0
- package/lib/components/atoms/href/href.component.d.ts +25 -0
- package/lib/components/atoms/href/types.d.ts +19 -0
- package/lib/components/atoms/icon/icon.component.d.ts +18 -0
- package/lib/components/atoms/icon/types.d.ts +13 -0
- package/lib/components/atoms/image/image.component.d.ts +41 -0
- package/lib/components/atoms/image/types.d.ts +37 -0
- package/lib/components/atoms/price-tag/price-tag.component.d.ts +15 -0
- package/lib/components/atoms/price-tag/types.d.ts +59 -0
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +35 -0
- package/lib/components/atoms/progress-bar/types.d.ts +19 -0
- package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +20 -0
- package/lib/components/atoms/progress-ring/types.d.ts +24 -0
- package/lib/components/atoms/qr-code/qr-code.component.d.ts +33 -0
- package/lib/components/atoms/qr-code/types.d.ts +124 -0
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +53 -0
- package/lib/components/atoms/rights-footer/types.d.ts +21 -0
- package/lib/components/atoms/skeleton/skeleton.component.d.ts +12 -0
- package/lib/components/atoms/skeleton/types.d.ts +29 -0
- package/lib/components/atoms/text/text.component.d.ts +33 -0
- package/lib/components/atoms/text/types.d.ts +42 -0
- package/lib/components/atoms/title/title.component.d.ts +21 -0
- package/lib/components/atoms/title/types.d.ts +36 -0
- package/lib/components/molecules/accordion/accordion.component.d.ts +18 -0
- package/lib/components/molecules/accordion/types.d.ts +47 -0
- package/lib/components/molecules/action-card/action-card.component.d.ts +90 -0
- package/lib/components/molecules/action-card/types.d.ts +83 -0
- package/lib/components/molecules/action-header/action-header.component.d.ts +7 -0
- package/lib/components/molecules/action-header/types.d.ts +6 -0
- package/lib/components/molecules/ad-slot/ad-slot.component.d.ts +69 -0
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +39 -0
- package/lib/components/molecules/alert-box/types.d.ts +37 -0
- package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +22 -0
- package/lib/components/molecules/breadcrumb/types.d.ts +45 -0
- package/lib/components/molecules/button-group/button-group.component.d.ts +23 -0
- package/lib/components/molecules/button-group/types.d.ts +13 -0
- package/lib/components/molecules/card/card.component.d.ts +49 -0
- package/lib/components/molecules/card/types.d.ts +32 -0
- package/lib/components/molecules/check-input/check-input.component.d.ts +36 -0
- package/lib/components/molecules/chip-group/chip-group.component.d.ts +22 -0
- package/lib/components/molecules/chip-group/types.d.ts +65 -0
- package/lib/components/molecules/code-display/code-display.component.d.ts +24 -0
- package/lib/components/molecules/code-display/types.d.ts +10 -0
- package/lib/components/molecules/command-display/command-display.component.d.ts +11 -0
- package/lib/components/molecules/command-display/types.d.ts +3 -0
- package/lib/components/molecules/comment/comment.component.d.ts +42 -0
- package/lib/components/molecules/comment/types.d.ts +171 -0
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +16 -0
- package/lib/components/molecules/comment-input/types.d.ts +59 -0
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +18 -0
- package/lib/components/molecules/content-loader/types.d.ts +15 -0
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +58 -0
- package/lib/components/molecules/content-reaction/types.d.ts +77 -0
- package/lib/components/molecules/currency-input/currency-input.component.d.ts +40 -0
- package/lib/components/molecules/currency-input/types.d.ts +96 -0
- package/lib/components/molecules/date-input/date-input.component.d.ts +40 -0
- package/lib/components/molecules/date-input/types.d.ts +74 -0
- package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +50 -0
- package/lib/components/molecules/date-range-input/types.d.ts +109 -0
- package/lib/components/molecules/docs-api-table/docs-api-table.component.d.ts +41 -0
- package/lib/components/molecules/docs-api-table/types.d.ts +62 -0
- package/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.d.ts +31 -0
- package/lib/components/molecules/docs-breadcrumb/types.d.ts +20 -0
- package/lib/components/molecules/docs-callout/docs-callout.component.d.ts +17 -0
- package/lib/components/molecules/docs-code-example/docs-code-example.component.d.ts +45 -0
- package/lib/components/molecules/docs-code-example/types.d.ts +63 -0
- package/lib/components/molecules/docs-nav-links/docs-nav-links.component.d.ts +30 -0
- package/lib/components/molecules/docs-nav-links/types.d.ts +31 -0
- package/lib/components/molecules/docs-search/docs-search.component.d.ts +47 -0
- package/lib/components/molecules/docs-search/types.d.ts +27 -0
- package/lib/components/molecules/docs-section/docs-section.component.d.ts +29 -0
- package/lib/components/molecules/docs-section/types.d.ts +27 -0
- package/lib/components/molecules/email-input/email-input.component.d.ts +34 -0
- package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +23 -0
- package/lib/components/molecules/expandable-text/types.d.ts +14 -0
- package/lib/components/molecules/features-list/features-list.component.d.ts +66 -0
- package/lib/components/molecules/features-list/types.d.ts +36 -0
- package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +58 -0
- package/lib/components/molecules/feedback-form/types.d.ts +54 -0
- package/lib/components/molecules/file-input/file-input.component.d.ts +25 -0
- package/lib/components/molecules/file-input/types.d.ts +72 -0
- package/lib/components/molecules/footer-links/footer-links.component.d.ts +47 -0
- package/lib/components/molecules/footer-links/types.d.ts +50 -0
- package/lib/components/molecules/glow-card/glow-card.component.d.ts +60 -0
- package/lib/components/molecules/glow-card/types.d.ts +94 -0
- package/lib/components/molecules/hint/hint.component.d.ts +19 -0
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +15 -0
- package/lib/components/molecules/image-crop/image-crop.component.d.ts +59 -0
- package/lib/components/molecules/info/info.component.d.ts +9 -0
- package/lib/components/molecules/info/types.d.ts +10 -0
- package/lib/components/molecules/language-selector/language-selector.component.d.ts +40 -0
- package/lib/components/molecules/language-selector/types.d.ts +82 -0
- package/lib/components/molecules/layered-card/layered-card.component.d.ts +10 -0
- package/lib/components/molecules/layered-card/types.d.ts +15 -0
- package/lib/components/molecules/link/link.component.d.ts +24 -0
- package/lib/components/molecules/link/types.d.ts +19 -0
- package/lib/components/molecules/linked-providers/linked-providers.component.d.ts +30 -0
- package/lib/components/molecules/linked-providers/types.d.ts +38 -0
- package/lib/components/molecules/links-accordion/links-accordion.component.d.ts +61 -0
- package/lib/components/molecules/links-accordion/types.d.ts +39 -0
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +17 -0
- package/lib/components/molecules/links-cake/types.d.ts +13 -0
- package/lib/components/molecules/multi-select-search/multi-select-search.component.d.ts +76 -0
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +21 -0
- package/lib/components/molecules/notes-box/types.d.ts +21 -0
- package/lib/components/molecules/number-from-to/number-from-to.component.d.ts +27 -0
- package/lib/components/molecules/number-from-to/types.d.ts +76 -0
- package/lib/components/molecules/number-input/number-input.component.d.ts +16 -0
- package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +38 -0
- package/lib/components/molecules/number-stepper/types.d.ts +88 -0
- package/lib/components/molecules/pagination/pagination.component.d.ts +15 -0
- package/lib/components/molecules/pagination/types.d.ts +41 -0
- package/lib/components/molecules/participant-card/participant-card.component.d.ts +34 -0
- package/lib/components/molecules/participant-card/types.d.ts +132 -0
- package/lib/components/molecules/password-input/password-input.component.d.ts +37 -0
- package/lib/components/molecules/phone-input/phone-input.component.d.ts +59 -0
- package/lib/components/molecules/phone-input/types.d.ts +98 -0
- package/lib/components/molecules/pill/pill.component.d.ts +33 -0
- package/lib/components/molecules/pill/types.d.ts +9 -0
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +21 -0
- package/lib/components/molecules/pin-input/types.d.ts +69 -0
- package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +22 -0
- package/lib/components/molecules/plain-code-box/types.d.ts +10 -0
- package/lib/components/molecules/popover-selector/popover-selector.component.d.ts +42 -0
- package/lib/components/molecules/popover-selector/types.d.ts +69 -0
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +23 -0
- package/lib/components/molecules/progress-status/types.d.ts +20 -0
- package/lib/components/molecules/prompter/prompter.component.d.ts +10 -0
- package/lib/components/molecules/prompter/types.d.ts +25 -0
- package/lib/components/molecules/quote-box/quote-box.component.d.ts +26 -0
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +15 -0
- package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +21 -0
- package/lib/components/molecules/raffle-status-card/types.d.ts +108 -0
- package/lib/components/molecules/range-input/range-input.component.d.ts +25 -0
- package/lib/components/molecules/range-input/types.d.ts +59 -0
- package/lib/components/molecules/rating/rating.component.d.ts +23 -0
- package/lib/components/molecules/rating/types.d.ts +41 -0
- package/lib/components/molecules/recap-card/recap-card.component.d.ts +36 -0
- package/lib/components/molecules/recap-card/types.d.ts +30 -0
- package/lib/components/molecules/refresher/refresher.component.d.ts +84 -0
- package/lib/components/molecules/refresher/types.d.ts +86 -0
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +43 -0
- package/lib/components/molecules/searchbar/types.d.ts +33 -0
- package/lib/components/molecules/segment-control/segment-control.component.d.ts +35 -0
- package/lib/components/molecules/segment-control/types.d.ts +46 -0
- package/lib/components/molecules/select-input/select-input.component.d.ts +48 -0
- package/lib/components/molecules/select-search/select-search.component.d.ts +76 -0
- package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +22 -0
- package/lib/components/molecules/share-buttons/types.d.ts +108 -0
- package/lib/components/molecules/stats-card/stats-card.component.d.ts +20 -0
- package/lib/components/molecules/stats-card/types.d.ts +60 -0
- package/lib/components/molecules/stepper/stepper.component.d.ts +31 -0
- package/lib/components/molecules/stepper/types.d.ts +66 -0
- package/lib/components/molecules/swipe-carousel/swipe-carousel.component.d.ts +66 -0
- package/lib/components/molecules/swipe-carousel/types.d.ts +35 -0
- package/lib/components/molecules/tabs/tabs.component.d.ts +34 -0
- package/lib/components/molecules/tabs/types.d.ts +45 -0
- package/lib/components/molecules/testimonial-card/testimonial-card.component.d.ts +41 -0
- package/lib/components/molecules/testimonial-card/types.d.ts +25 -0
- package/lib/components/molecules/text-input/text-input.component.d.ts +42 -0
- package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +46 -0
- package/lib/components/molecules/textarea-input/types.d.ts +74 -0
- package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +40 -0
- package/lib/components/molecules/ticket-grid/types.d.ts +122 -0
- package/lib/components/molecules/timeline/timeline.component.d.ts +14 -0
- package/lib/components/molecules/timeline/types.d.ts +39 -0
- package/lib/components/molecules/title-block/title-block.component.d.ts +12 -0
- package/lib/components/molecules/title-block/types.d.ts +15 -0
- package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +39 -0
- package/lib/components/molecules/toggle-input/types.d.ts +30 -0
- package/lib/components/molecules/update-banner/update-banner.component.d.ts +42 -0
- package/lib/components/molecules/username-input/types.d.ts +34 -0
- package/lib/components/molecules/username-input/username-input.component.d.ts +45 -0
- package/lib/components/molecules/winner-display/types.d.ts +103 -0
- package/lib/components/molecules/winner-display/winner-display.component.d.ts +36 -0
- package/lib/components/organisms/article/article.component.d.ts +108 -0
- package/lib/components/organisms/article/types.d.ts +359 -0
- package/lib/components/organisms/avatar-upload/avatar-upload.component.d.ts +84 -0
- package/lib/components/organisms/avatar-upload/types.d.ts +62 -0
- package/lib/components/organisms/banner/banner.component.d.ts +16 -0
- package/lib/components/organisms/banner/types.d.ts +29 -0
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +88 -0
- package/lib/components/organisms/bottom-nav/types.d.ts +118 -0
- package/lib/components/organisms/cards-carousel/cards-carousel.component.d.ts +30 -0
- package/lib/components/organisms/cards-carousel/types.d.ts +11 -0
- package/lib/components/organisms/comment-section/comment-section.component.d.ts +50 -0
- package/lib/components/organisms/comment-section/types.d.ts +144 -0
- package/lib/components/organisms/company-footer/company-footer.component.d.ts +37 -0
- package/lib/components/organisms/company-footer/types.d.ts +15 -0
- package/lib/components/organisms/data-table/data-table.component.d.ts +63 -0
- package/lib/components/organisms/data-table/types.d.ts +219 -0
- package/lib/components/organisms/docs-sidebar/docs-sidebar.component.d.ts +51 -0
- package/lib/components/organisms/docs-sidebar/types.d.ts +93 -0
- package/lib/components/organisms/docs-toc/docs-toc.component.d.ts +62 -0
- package/lib/components/organisms/docs-toc/types.d.ts +62 -0
- package/lib/components/organisms/footer/footer.component.d.ts +36 -0
- package/lib/components/organisms/footer/types.d.ts +16 -0
- package/lib/components/organisms/form/factory.d.ts +17 -0
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +17 -0
- package/lib/components/organisms/form/form.component.d.ts +48 -0
- package/lib/components/organisms/fun-header/fun-header.component.d.ts +72 -0
- package/lib/components/organisms/fun-header/types.d.ts +28 -0
- package/lib/components/organisms/header/header.component.d.ts +22 -0
- package/lib/components/organisms/header/types.d.ts +16 -0
- package/lib/components/organisms/infinite-list/infinite-list.component.d.ts +113 -0
- package/lib/components/organisms/infinite-list/types.d.ts +197 -0
- package/lib/components/organisms/item-list/item-list.component.d.ts +43 -0
- package/lib/components/organisms/item-list/types.d.ts +126 -0
- package/lib/components/organisms/login/login.component.d.ts +79 -0
- package/lib/components/organisms/login/types.d.ts +70 -0
- package/lib/components/organisms/menu/menu.component.d.ts +44 -0
- package/lib/components/organisms/menu/types.d.ts +23 -0
- package/lib/components/organisms/no-content/no-content.component.d.ts +14 -0
- package/lib/components/organisms/no-content/types.d.ts +17 -0
- package/lib/components/organisms/rotating-text/rotating-text.component.d.ts +47 -0
- package/lib/components/organisms/rotating-text/types.d.ts +28 -0
- package/lib/components/organisms/tabbed-content/tabbed-content.component.d.ts +65 -0
- package/lib/components/organisms/tabbed-content/types.d.ts +53 -0
- package/lib/components/organisms/terminal-404/terminal-404.component.d.ts +42 -0
- package/lib/components/organisms/terminal-404/types.d.ts +22 -0
- package/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.d.ts +33 -0
- package/lib/components/organisms/testimonial-carousel/types.d.ts +8 -0
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +85 -0
- package/lib/components/organisms/toolbar/types.d.ts +31 -0
- package/lib/components/organisms/wizard/types.d.ts +42 -0
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +23 -0
- package/lib/components/organisms/wizard/wizard.component.d.ts +27 -0
- package/lib/components/templates/auth-background/auth-background.component.d.ts +59 -0
- package/lib/components/templates/auth-background/types.d.ts +30 -0
- package/lib/components/templates/docs-layout/docs-layout.component.d.ts +42 -0
- package/lib/components/templates/docs-layout/types.d.ts +39 -0
- package/lib/components/templates/docs-page/docs-page.component.d.ts +61 -0
- package/lib/components/templates/docs-page/types.d.ts +121 -0
- package/lib/components/templates/docs-shell/docs-shell.component.d.ts +33 -0
- package/lib/components/templates/docs-shell/types.d.ts +152 -0
- package/lib/components/templates/layout/layout.component.d.ts +5 -0
- package/lib/components/templates/maintenance-page/maintenance-page.component.d.ts +57 -0
- package/lib/components/templates/maintenance-page/types.d.ts +12 -0
- package/lib/components/templates/page-content/page-content.component.d.ts +107 -0
- package/lib/components/templates/page-content/types.d.ts +27 -0
- package/lib/components/templates/page-template/page-template.component.d.ts +54 -0
- package/lib/components/templates/page-template/types.d.ts +17 -0
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +89 -0
- package/lib/components/templates/page-wrapper/types.d.ts +19 -0
- package/lib/components/templates/simple/simple.component.d.ts +14 -0
- package/lib/components/templates/simple/types.d.ts +10 -0
- package/lib/components/types.d.ts +289 -0
- package/lib/config/company-footer.config.d.ts +98 -0
- package/lib/services/ads/ads-loader.service.d.ts +41 -0
- package/lib/services/ads/ads.service.d.ts +99 -0
- package/lib/services/ads/config.d.ts +53 -0
- package/lib/services/ads/index.d.ts +9 -0
- package/lib/services/ads/types.d.ts +106 -0
- package/lib/services/app-config/app-config.service.d.ts +115 -0
- package/lib/services/app-config/config.d.ts +31 -0
- package/lib/services/app-config/index.d.ts +47 -0
- package/lib/services/app-config/types.d.ts +54 -0
- package/lib/services/app-config/version.d.ts +64 -0
- package/lib/services/auth/auth-state.service.d.ts +92 -0
- package/lib/services/auth/auth.service.d.ts +401 -0
- package/lib/services/auth/config.d.ts +38 -0
- package/lib/services/auth/device.service.d.ts +101 -0
- package/lib/services/auth/guards.d.ts +123 -0
- package/lib/services/auth/index.d.ts +83 -0
- package/lib/services/auth/interceptor.d.ts +22 -0
- package/lib/services/auth/oauth-callback.component.d.ts +34 -0
- package/lib/services/auth/oauth.service.d.ts +99 -0
- package/lib/services/auth/session.service.d.ts +60 -0
- package/lib/services/auth/storage.service.d.ts +52 -0
- package/lib/services/auth/sync.service.d.ts +49 -0
- package/lib/services/auth/token.service.d.ts +57 -0
- package/lib/services/auth/types.d.ts +842 -0
- package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +71 -0
- package/lib/services/confirmation-dialog/types.d.ts +61 -0
- package/lib/services/docs/docs-navigation.service.d.ts +51 -0
- package/lib/services/download.service.d.ts +21 -0
- package/lib/services/feedback/config.d.ts +35 -0
- package/lib/services/feedback/feedback.service.d.ts +134 -0
- package/lib/services/feedback/index.d.ts +40 -0
- package/lib/services/feedback/types.d.ts +173 -0
- package/lib/services/firebase/analytics-error-handler.d.ts +54 -0
- package/lib/services/firebase/analytics-router-tracker.d.ts +51 -0
- package/lib/services/firebase/analytics-types.d.ts +221 -0
- package/lib/services/firebase/analytics.service.d.ts +256 -0
- package/lib/services/firebase/config.d.ts +49 -0
- package/lib/services/firebase/firebase.service.d.ts +251 -0
- package/lib/services/firebase/firestore-collection.d.ts +180 -0
- package/lib/services/firebase/firestore.service.d.ts +312 -0
- package/lib/services/firebase/index.d.ts +44 -0
- package/lib/services/firebase/messaging.service.d.ts +293 -0
- package/lib/services/firebase/notifications.service.d.ts +126 -0
- package/lib/services/firebase/shared-config.d.ts +118 -0
- package/lib/services/firebase/storage.service.d.ts +238 -0
- package/lib/services/firebase/types.d.ts +374 -0
- package/lib/services/firebase/utils/path-builder.d.ts +132 -0
- package/lib/services/firebase/utils/query-builder.d.ts +210 -0
- package/lib/services/i18n/config.d.ts +29 -0
- package/lib/services/i18n/default-content.d.ts +30 -0
- package/lib/services/i18n/i18n.service.d.ts +112 -0
- package/lib/services/i18n/index.d.ts +6 -0
- package/lib/services/i18n/input-i18n.helper.d.ts +70 -0
- package/lib/services/i18n/translate.pipe.d.ts +36 -0
- package/lib/services/i18n/types.d.ts +93 -0
- package/lib/services/icons.service.d.ts +9 -0
- package/lib/services/image/image.service.d.ts +76 -0
- package/lib/services/image/types.d.ts +74 -0
- package/lib/services/in-app-browser.service.d.ts +16 -0
- package/lib/services/link-processor.service.d.ts +104 -0
- package/lib/services/local-storage.service.d.ts +27 -0
- package/lib/services/locale.service.d.ts +52 -0
- package/lib/services/meta/meta.service.d.ts +23 -0
- package/lib/services/meta/types.d.ts +12 -0
- package/lib/services/modal/modal.service.d.ts +100 -0
- package/lib/services/modal/simple-modal-content.component.d.ts +19 -0
- package/lib/services/modal/types.d.ts +155 -0
- package/lib/services/navigation/navigation.service.d.ts +134 -0
- package/lib/services/navigation/types.d.ts +67 -0
- package/lib/services/pagination/index.d.ts +2 -0
- package/lib/services/pagination/pagination.service.d.ts +43 -0
- package/lib/services/pagination/types.d.ts +113 -0
- package/lib/services/presets/config.d.ts +32 -0
- package/lib/services/presets/index.d.ts +3 -0
- package/lib/services/presets/preset.service.d.ts +69 -0
- package/lib/services/presets/types.d.ts +39 -0
- package/lib/services/qr-generator/qr-generator.service.d.ts +115 -0
- package/lib/services/qr-generator/types.d.ts +141 -0
- package/lib/services/skeleton/config.d.ts +30 -0
- package/lib/services/skeleton/directives/loading.directive.d.ts +71 -0
- package/lib/services/skeleton/index.d.ts +10 -0
- package/lib/services/skeleton/skeleton.service.d.ts +127 -0
- package/lib/services/skeleton/templates/detail-skeleton.component.d.ts +18 -0
- package/lib/services/skeleton/templates/form-skeleton.component.d.ts +22 -0
- package/lib/services/skeleton/templates/grid-skeleton.component.d.ts +18 -0
- package/lib/services/skeleton/templates/list-skeleton.component.d.ts +17 -0
- package/lib/services/skeleton/templates/profile-skeleton.component.d.ts +20 -0
- package/lib/services/skeleton/templates/table-skeleton.component.d.ts +17 -0
- package/lib/services/skeleton/types.d.ts +111 -0
- package/lib/services/theme.service.d.ts +70 -0
- package/lib/services/toast.service.d.ts +22 -0
- package/lib/services/types.d.ts +1 -0
- package/lib/shared/constants/storage.d.ts +2 -0
- package/lib/shared/pipes/process-links.pipe.d.ts +55 -0
- package/lib/shared/utils/dom.d.ts +13 -0
- package/lib/shared/utils/form-defaults.d.ts +30 -0
- package/lib/shared/utils/styles.d.ts +13 -0
- package/lib/shared/utils/text.d.ts +11 -0
- package/lib/version.d.ts +5 -0
- package/package.json +16 -64
- package/public-api.d.ts +295 -0
- package/.editorconfig +0 -16
- package/.prettierignore +0 -6
- package/.prettierrc +0 -30
- package/.storybook/main.ts +0 -21
- package/.storybook/preview-body.html +0 -60
- package/.storybook/preview-head.html +0 -48
- package/.storybook/preview.ts +0 -52
- package/.storybook/tsconfig.json +0 -12
- package/I18N-COMPONENTS-MIGRATION.md +0 -496
- package/angular.json +0 -60
- package/ng-package.json +0 -16
- package/scripts/publish.sh +0 -30
- package/scripts/update-apps.sh +0 -94
- package/src/lib/components/atoms/avatar/avatar.component.scss +0 -31
- package/src/lib/components/atoms/avatar/avatar.component.ts +0 -95
- package/src/lib/components/atoms/avatar/avatar.stories.ts +0 -243
- package/src/lib/components/atoms/avatar/types.ts +0 -15
- package/src/lib/components/atoms/box/box.component.scss +0 -57
- package/src/lib/components/atoms/box/box.component.ts +0 -77
- package/src/lib/components/atoms/box/box.stories.ts +0 -280
- package/src/lib/components/atoms/box/types.ts +0 -20
- package/src/lib/components/atoms/button/button.component.scss +0 -20
- package/src/lib/components/atoms/button/button.component.ts +0 -174
- package/src/lib/components/atoms/button/button.stories.ts +0 -293
- package/src/lib/components/atoms/button/factory.ts +0 -444
- package/src/lib/components/atoms/countdown/countdown.component.scss +0 -256
- package/src/lib/components/atoms/countdown/countdown.component.ts +0 -293
- package/src/lib/components/atoms/countdown/countdown.stories.ts +0 -316
- package/src/lib/components/atoms/countdown/types.ts +0 -144
- package/src/lib/components/atoms/display/display.component.scss +0 -17
- package/src/lib/components/atoms/display/display.component.ts +0 -54
- package/src/lib/components/atoms/display/display.stories.ts +0 -185
- package/src/lib/components/atoms/display/types.ts +0 -35
- package/src/lib/components/atoms/divider/divider.component.scss +0 -62
- package/src/lib/components/atoms/divider/divider.component.ts +0 -35
- package/src/lib/components/atoms/divider/divider.stories.ts +0 -202
- package/src/lib/components/atoms/divider/types.ts +0 -12
- package/src/lib/components/atoms/fab/fab.component.scss +0 -26
- package/src/lib/components/atoms/fab/fab.component.ts +0 -166
- package/src/lib/components/atoms/fab/fab.stories.ts +0 -360
- package/src/lib/components/atoms/fab/types.ts +0 -47
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.scss +0 -39
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.ts +0 -67
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.stories.ts +0 -351
- package/src/lib/components/atoms/horizontal-scroll/types.ts +0 -13
- package/src/lib/components/atoms/href/href.component.scss +0 -25
- package/src/lib/components/atoms/href/href.component.ts +0 -64
- package/src/lib/components/atoms/href/href.stories.ts +0 -214
- package/src/lib/components/atoms/href/types.ts +0 -20
- package/src/lib/components/atoms/icon/icon.component.scss +0 -33
- package/src/lib/components/atoms/icon/icon.component.ts +0 -38
- package/src/lib/components/atoms/icon/icon.stories.ts +0 -160
- package/src/lib/components/atoms/icon/types.ts +0 -14
- package/src/lib/components/atoms/image/README.md +0 -0
- package/src/lib/components/atoms/image/image.component.scss +0 -281
- package/src/lib/components/atoms/image/image.component.ts +0 -399
- package/src/lib/components/atoms/image/image.stories.ts +0 -317
- package/src/lib/components/atoms/image/types.ts +0 -37
- package/src/lib/components/atoms/price-tag/price-tag.component.scss +0 -228
- package/src/lib/components/atoms/price-tag/price-tag.component.ts +0 -188
- package/src/lib/components/atoms/price-tag/price-tag.stories.ts +0 -315
- package/src/lib/components/atoms/price-tag/types.ts +0 -78
- package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +0 -22
- package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +0 -88
- package/src/lib/components/atoms/progress-bar/progress-bar.stories.ts +0 -375
- package/src/lib/components/atoms/progress-bar/types.ts +0 -20
- package/src/lib/components/atoms/progress-ring/progress-ring.component.scss +0 -35
- package/src/lib/components/atoms/progress-ring/progress-ring.component.ts +0 -114
- package/src/lib/components/atoms/progress-ring/progress-ring.stories.ts +0 -323
- package/src/lib/components/atoms/progress-ring/types.ts +0 -25
- package/src/lib/components/atoms/qr-code/qr-code.component.scss +0 -353
- package/src/lib/components/atoms/qr-code/qr-code.component.ts +0 -313
- package/src/lib/components/atoms/qr-code/qr-code.stories.ts +0 -767
- package/src/lib/components/atoms/qr-code/types.ts +0 -173
- package/src/lib/components/atoms/rights-footer/rights-footer.component.scss +0 -20
- package/src/lib/components/atoms/rights-footer/rights-footer.component.ts +0 -98
- package/src/lib/components/atoms/rights-footer/rights-footer.stories.ts +0 -229
- package/src/lib/components/atoms/rights-footer/types.ts +0 -21
- package/src/lib/components/atoms/skeleton/skeleton.component.scss +0 -58
- package/src/lib/components/atoms/skeleton/skeleton.component.ts +0 -129
- package/src/lib/components/atoms/skeleton/skeleton.stories.ts +0 -242
- package/src/lib/components/atoms/skeleton/types.ts +0 -39
- package/src/lib/components/atoms/text/text.component.scss +0 -38
- package/src/lib/components/atoms/text/text.component.ts +0 -123
- package/src/lib/components/atoms/text/text.stories.ts +0 -174
- package/src/lib/components/atoms/text/types.ts +0 -50
- package/src/lib/components/atoms/title/title.component.scss +0 -33
- package/src/lib/components/atoms/title/title.component.ts +0 -65
- package/src/lib/components/atoms/title/title.stories.ts +0 -167
- package/src/lib/components/atoms/title/types.ts +0 -46
- package/src/lib/components/molecules/accordion/accordion.component.scss +0 -34
- package/src/lib/components/molecules/accordion/accordion.component.ts +0 -103
- package/src/lib/components/molecules/accordion/accordion.stories.ts +0 -236
- package/src/lib/components/molecules/accordion/types.ts +0 -49
- package/src/lib/components/molecules/action-card/action-card.component.scss +0 -226
- package/src/lib/components/molecules/action-card/action-card.component.ts +0 -246
- package/src/lib/components/molecules/action-card/action-card.stories.ts +0 -396
- package/src/lib/components/molecules/action-card/types.ts +0 -102
- package/src/lib/components/molecules/action-header/action-header.component.ts +0 -28
- package/src/lib/components/molecules/action-header/action-header.stories.ts +0 -481
- package/src/lib/components/molecules/action-header/types.ts +0 -7
- package/src/lib/components/molecules/ad-slot/ad-slot.component.ts +0 -352
- package/src/lib/components/molecules/alert-box/alert-box.component.scss +0 -10
- package/src/lib/components/molecules/alert-box/alert-box.component.ts +0 -125
- package/src/lib/components/molecules/alert-box/alert-box.stories.ts +0 -248
- package/src/lib/components/molecules/alert-box/types.ts +0 -39
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.scss +0 -34
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.ts +0 -109
- package/src/lib/components/molecules/breadcrumb/breadcrumb.stories.ts +0 -271
- package/src/lib/components/molecules/breadcrumb/types.ts +0 -47
- package/src/lib/components/molecules/button-group/button-group.component.scss +0 -41
- package/src/lib/components/molecules/button-group/button-group.component.ts +0 -65
- package/src/lib/components/molecules/button-group/button-group.stories.ts +0 -296
- package/src/lib/components/molecules/button-group/types.ts +0 -14
- package/src/lib/components/molecules/card/card.component.scss +0 -62
- package/src/lib/components/molecules/card/card.component.ts +0 -300
- package/src/lib/components/molecules/card/card.stories.ts +0 -360
- package/src/lib/components/molecules/card/types.ts +0 -36
- package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
- package/src/lib/components/molecules/check-input/check-input.component.ts +0 -88
- package/src/lib/components/molecules/check-input/check-input.stories.ts +0 -54
- package/src/lib/components/molecules/chip-group/chip-group.component.scss +0 -70
- package/src/lib/components/molecules/chip-group/chip-group.component.ts +0 -150
- package/src/lib/components/molecules/chip-group/chip-group.stories.ts +0 -307
- package/src/lib/components/molecules/chip-group/types.ts +0 -69
- package/src/lib/components/molecules/code-display/code-display.component.scss +0 -239
- package/src/lib/components/molecules/code-display/code-display.component.ts +0 -109
- package/src/lib/components/molecules/code-display/code-display.stories.ts +0 -402
- package/src/lib/components/molecules/code-display/types.ts +0 -11
- package/src/lib/components/molecules/command-display/command-display.component.scss +0 -38
- package/src/lib/components/molecules/command-display/command-display.component.ts +0 -45
- package/src/lib/components/molecules/command-display/command-display.stories.ts +0 -110
- package/src/lib/components/molecules/command-display/types.ts +0 -3
- package/src/lib/components/molecules/comment/comment.component.scss +0 -339
- package/src/lib/components/molecules/comment/comment.component.ts +0 -496
- package/src/lib/components/molecules/comment/comment.stories.ts +0 -384
- package/src/lib/components/molecules/comment/types.ts +0 -181
- package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.ts +0 -42
- package/src/lib/components/molecules/comment-input/comment-input.stories.ts +0 -124
- package/src/lib/components/molecules/comment-input/types.ts +0 -69
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -45
- package/src/lib/components/molecules/content-loader/content-loader.stories.ts +0 -370
- package/src/lib/components/molecules/content-loader/types.ts +0 -16
- package/src/lib/components/molecules/content-reaction/content-reaction.component.html +0 -81
- package/src/lib/components/molecules/content-reaction/content-reaction.component.scss +0 -157
- package/src/lib/components/molecules/content-reaction/content-reaction.component.ts +0 -273
- package/src/lib/components/molecules/content-reaction/content-reaction.stories.ts +0 -453
- package/src/lib/components/molecules/content-reaction/types.ts +0 -99
- package/src/lib/components/molecules/currency-input/currency-input.component.scss +0 -101
- package/src/lib/components/molecules/currency-input/currency-input.component.ts +0 -327
- package/src/lib/components/molecules/currency-input/currency-input.stories.ts +0 -279
- package/src/lib/components/molecules/currency-input/types.ts +0 -125
- package/src/lib/components/molecules/date-input/date-input.component.scss +0 -11
- package/src/lib/components/molecules/date-input/date-input.component.ts +0 -136
- package/src/lib/components/molecules/date-input/date-input.stories.ts +0 -205
- package/src/lib/components/molecules/date-input/types.ts +0 -84
- package/src/lib/components/molecules/date-range-input/date-range-input.component.scss +0 -119
- package/src/lib/components/molecules/date-range-input/date-range-input.component.ts +0 -364
- package/src/lib/components/molecules/date-range-input/date-range-input.stories.ts +0 -288
- package/src/lib/components/molecules/date-range-input/types.ts +0 -122
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.scss +0 -278
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.ts +0 -138
- package/src/lib/components/molecules/docs-api-table/types.ts +0 -81
- package/src/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.ts +0 -161
- package/src/lib/components/molecules/docs-breadcrumb/types.ts +0 -21
- package/src/lib/components/molecules/docs-callout/docs-callout.component.scss +0 -136
- package/src/lib/components/molecules/docs-callout/docs-callout.component.ts +0 -55
- package/src/lib/components/molecules/docs-code-example/docs-code-example.component.ts +0 -535
- package/src/lib/components/molecules/docs-code-example/types.ts +0 -75
- package/src/lib/components/molecules/docs-nav-links/docs-nav-links.component.ts +0 -216
- package/src/lib/components/molecules/docs-nav-links/types.ts +0 -36
- package/src/lib/components/molecules/docs-search/docs-search.component.scss +0 -195
- package/src/lib/components/molecules/docs-search/docs-search.component.ts +0 -228
- package/src/lib/components/molecules/docs-search/types.ts +0 -30
- package/src/lib/components/molecules/docs-section/docs-section.component.ts +0 -99
- package/src/lib/components/molecules/docs-section/types.ts +0 -31
- package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
- package/src/lib/components/molecules/email-input/email-input.component.ts +0 -77
- package/src/lib/components/molecules/email-input/email-input.stories.ts +0 -176
- package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +0 -111
- package/src/lib/components/molecules/expandable-text/expandable-text.stories.ts +0 -287
- package/src/lib/components/molecules/expandable-text/types.ts +0 -14
- package/src/lib/components/molecules/features-list/features-list.component.ts +0 -251
- package/src/lib/components/molecules/features-list/types.ts +0 -44
- package/src/lib/components/molecules/feedback-form/feedback-form.component.ts +0 -355
- package/src/lib/components/molecules/feedback-form/types.ts +0 -77
- package/src/lib/components/molecules/file-input/file-input.component.scss +0 -11
- package/src/lib/components/molecules/file-input/file-input.component.ts +0 -87
- package/src/lib/components/molecules/file-input/file-input.stories.ts +0 -107
- package/src/lib/components/molecules/file-input/types.ts +0 -85
- package/src/lib/components/molecules/footer-links/footer-links.component.scss +0 -130
- package/src/lib/components/molecules/footer-links/footer-links.component.ts +0 -244
- package/src/lib/components/molecules/footer-links/footer-links.stories.ts +0 -188
- package/src/lib/components/molecules/footer-links/types.ts +0 -52
- package/src/lib/components/molecules/glow-card/glow-card.component.scss +0 -295
- package/src/lib/components/molecules/glow-card/glow-card.component.ts +0 -284
- package/src/lib/components/molecules/glow-card/glow-card.stories.ts +0 -680
- package/src/lib/components/molecules/glow-card/types.ts +0 -117
- package/src/lib/components/molecules/hint/hint.component.scss +0 -5
- package/src/lib/components/molecules/hint/hint.component.ts +0 -89
- package/src/lib/components/molecules/hint/hint.stories.ts +0 -233
- package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.ts +0 -34
- package/src/lib/components/molecules/hour-input/hour-input.stories.ts +0 -145
- package/src/lib/components/molecules/image-crop/image-crop.component.ts +0 -195
- package/src/lib/components/molecules/info/info.component.ts +0 -35
- package/src/lib/components/molecules/info/info.stories.ts +0 -276
- package/src/lib/components/molecules/info/types.ts +0 -11
- package/src/lib/components/molecules/language-selector/language-selector.component.scss +0 -128
- package/src/lib/components/molecules/language-selector/language-selector.component.ts +0 -204
- package/src/lib/components/molecules/language-selector/language-selector.stories.ts +0 -261
- package/src/lib/components/molecules/language-selector/types.ts +0 -84
- package/src/lib/components/molecules/layered-card/layered-card.component.scss +0 -84
- package/src/lib/components/molecules/layered-card/layered-card.component.ts +0 -66
- package/src/lib/components/molecules/layered-card/layered-card.stories.ts +0 -313
- package/src/lib/components/molecules/layered-card/types.ts +0 -16
- package/src/lib/components/molecules/link/link.component.scss +0 -11
- package/src/lib/components/molecules/link/link.component.ts +0 -73
- package/src/lib/components/molecules/link/link.stories.ts +0 -307
- package/src/lib/components/molecules/link/types.ts +0 -20
- package/src/lib/components/molecules/linked-providers/index.ts +0 -2
- package/src/lib/components/molecules/linked-providers/linked-providers.component.ts +0 -289
- package/src/lib/components/molecules/linked-providers/types.ts +0 -63
- package/src/lib/components/molecules/links-accordion/links-accordion.component.scss +0 -17
- package/src/lib/components/molecules/links-accordion/links-accordion.component.ts +0 -152
- package/src/lib/components/molecules/links-accordion/links-accordion.stories.ts +0 -209
- package/src/lib/components/molecules/links-accordion/types.ts +0 -41
- package/src/lib/components/molecules/links-cake/links-cake.component.scss +0 -9
- package/src/lib/components/molecules/links-cake/links-cake.component.ts +0 -49
- package/src/lib/components/molecules/links-cake/links-cake.stories.ts +0 -160
- package/src/lib/components/molecules/links-cake/types.ts +0 -14
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.scss +0 -168
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.ts +0 -471
- package/src/lib/components/molecules/multi-select-search/multi-select-search.stories.ts +0 -188
- package/src/lib/components/molecules/notes-box/notes-box.component.scss +0 -5
- package/src/lib/components/molecules/notes-box/notes-box.component.ts +0 -62
- package/src/lib/components/molecules/notes-box/notes-box.stories.ts +0 -308
- package/src/lib/components/molecules/notes-box/types.ts +0 -22
- package/src/lib/components/molecules/number-from-to/number-from-to.component.scss +0 -10
- package/src/lib/components/molecules/number-from-to/number-from-to.component.ts +0 -134
- package/src/lib/components/molecules/number-from-to/number-from-to.stories.ts +0 -203
- package/src/lib/components/molecules/number-from-to/types.ts +0 -91
- package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
- package/src/lib/components/molecules/number-input/number-input.component.ts +0 -41
- package/src/lib/components/molecules/number-input/number-input.stories.ts +0 -151
- package/src/lib/components/molecules/number-stepper/number-stepper.component.scss +0 -252
- package/src/lib/components/molecules/number-stepper/number-stepper.component.ts +0 -302
- package/src/lib/components/molecules/number-stepper/number-stepper.stories.ts +0 -417
- package/src/lib/components/molecules/number-stepper/types.ts +0 -101
- package/src/lib/components/molecules/pagination/pagination.component.scss +0 -50
- package/src/lib/components/molecules/pagination/pagination.component.ts +0 -194
- package/src/lib/components/molecules/pagination/pagination.stories.ts +0 -260
- package/src/lib/components/molecules/pagination/types.ts +0 -43
- package/src/lib/components/molecules/participant-card/participant-card.component.scss +0 -371
- package/src/lib/components/molecules/participant-card/participant-card.component.ts +0 -402
- package/src/lib/components/molecules/participant-card/participant-card.stories.ts +0 -479
- package/src/lib/components/molecules/participant-card/types.ts +0 -170
- package/src/lib/components/molecules/password-input/password-input.component.scss +0 -7
- package/src/lib/components/molecules/password-input/password-input.component.ts +0 -93
- package/src/lib/components/molecules/password-input/password-input.stories.ts +0 -187
- package/src/lib/components/molecules/phone-input/phone-input.component.scss +0 -157
- package/src/lib/components/molecules/phone-input/phone-input.component.ts +0 -354
- package/src/lib/components/molecules/phone-input/phone-input.stories.ts +0 -229
- package/src/lib/components/molecules/phone-input/types.ts +0 -126
- package/src/lib/components/molecules/pill/pill.component.scss +0 -35
- package/src/lib/components/molecules/pill/pill.component.ts +0 -89
- package/src/lib/components/molecules/pill/pill.stories.ts +0 -219
- package/src/lib/components/molecules/pill/types.ts +0 -10
- package/src/lib/components/molecules/pin-input/pin-input.component.scss +0 -22
- package/src/lib/components/molecules/pin-input/pin-input.component.ts +0 -83
- package/src/lib/components/molecules/pin-input/pin-input.stories.ts +0 -196
- package/src/lib/components/molecules/pin-input/types.ts +0 -80
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.scss +0 -191
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.ts +0 -86
- package/src/lib/components/molecules/plain-code-box/plain-code-box.stories.ts +0 -174
- package/src/lib/components/molecules/plain-code-box/types.ts +0 -12
- package/src/lib/components/molecules/popover-selector/popover-selector.component.scss +0 -220
- package/src/lib/components/molecules/popover-selector/popover-selector.component.ts +0 -163
- package/src/lib/components/molecules/popover-selector/popover-selector.stories.ts +0 -324
- package/src/lib/components/molecules/popover-selector/types.ts +0 -71
- package/src/lib/components/molecules/progress-status/progress-status.component.scss +0 -41
- package/src/lib/components/molecules/progress-status/progress-status.component.ts +0 -90
- package/src/lib/components/molecules/progress-status/progress-status.stories.ts +0 -415
- package/src/lib/components/molecules/progress-status/types.ts +0 -21
- package/src/lib/components/molecules/prompter/prompter.component.scss +0 -45
- package/src/lib/components/molecules/prompter/prompter.component.ts +0 -55
- package/src/lib/components/molecules/prompter/prompter.stories.ts +0 -193
- package/src/lib/components/molecules/prompter/types.ts +0 -26
- package/src/lib/components/molecules/quote-box/quote-box.component.scss +0 -253
- package/src/lib/components/molecules/quote-box/quote-box.component.ts +0 -104
- package/src/lib/components/molecules/quote-box/quote-box.stories.ts +0 -264
- package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.ts +0 -51
- package/src/lib/components/molecules/radio-input/radio-input.stories.ts +0 -197
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.scss +0 -418
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.ts +0 -320
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.stories.ts +0 -509
- package/src/lib/components/molecules/raffle-status-card/types.ts +0 -150
- package/src/lib/components/molecules/range-input/range-input.component.scss +0 -15
- package/src/lib/components/molecules/range-input/range-input.component.ts +0 -106
- package/src/lib/components/molecules/range-input/range-input.stories.ts +0 -331
- package/src/lib/components/molecules/range-input/types.ts +0 -61
- package/src/lib/components/molecules/rating/rating.component.scss +0 -60
- package/src/lib/components/molecules/rating/rating.component.ts +0 -154
- package/src/lib/components/molecules/rating/rating.stories.ts +0 -332
- package/src/lib/components/molecules/rating/types.ts +0 -43
- package/src/lib/components/molecules/recap-card/recap-card.component.scss +0 -35
- package/src/lib/components/molecules/recap-card/recap-card.component.ts +0 -64
- package/src/lib/components/molecules/recap-card/recap-card.stories.ts +0 -174
- package/src/lib/components/molecules/recap-card/types.ts +0 -30
- package/src/lib/components/molecules/refresher/refresher.component.ts +0 -257
- package/src/lib/components/molecules/refresher/types.ts +0 -103
- package/src/lib/components/molecules/searchbar/searchbar.component.scss +0 -9
- package/src/lib/components/molecules/searchbar/searchbar.component.ts +0 -122
- package/src/lib/components/molecules/searchbar/searchbar.stories.ts +0 -192
- package/src/lib/components/molecules/searchbar/types.ts +0 -38
- package/src/lib/components/molecules/segment-control/segment-control.component.scss +0 -27
- package/src/lib/components/molecules/segment-control/segment-control.component.ts +0 -121
- package/src/lib/components/molecules/segment-control/segment-control.stories.ts +0 -296
- package/src/lib/components/molecules/segment-control/types.ts +0 -48
- package/src/lib/components/molecules/select-input/select-input.component.scss +0 -0
- package/src/lib/components/molecules/select-input/select-input.component.ts +0 -133
- package/src/lib/components/molecules/select-input/select-input.stories.ts +0 -330
- package/src/lib/components/molecules/select-search/select-search.component.ts +0 -420
- package/src/lib/components/molecules/select-search/select-search.stories.ts +0 -218
- package/src/lib/components/molecules/share-buttons/share-buttons.component.scss +0 -195
- package/src/lib/components/molecules/share-buttons/share-buttons.component.ts +0 -269
- package/src/lib/components/molecules/share-buttons/share-buttons.stories.ts +0 -343
- package/src/lib/components/molecules/share-buttons/types.ts +0 -211
- package/src/lib/components/molecules/stats-card/stats-card.component.scss +0 -198
- package/src/lib/components/molecules/stats-card/stats-card.component.ts +0 -157
- package/src/lib/components/molecules/stats-card/stats-card.stories.ts +0 -481
- package/src/lib/components/molecules/stats-card/types.ts +0 -63
- package/src/lib/components/molecules/stepper/stepper.component.scss +0 -156
- package/src/lib/components/molecules/stepper/stepper.component.ts +0 -201
- package/src/lib/components/molecules/stepper/stepper.stories.ts +0 -308
- package/src/lib/components/molecules/stepper/types.ts +0 -70
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.scss +0 -164
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.ts +0 -215
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.stories.ts +0 -406
- package/src/lib/components/molecules/swipe-carousel/types.ts +0 -32
- package/src/lib/components/molecules/tabs/tabs.component.scss +0 -35
- package/src/lib/components/molecules/tabs/tabs.component.ts +0 -125
- package/src/lib/components/molecules/tabs/tabs.stories.ts +0 -283
- package/src/lib/components/molecules/tabs/types.ts +0 -47
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.scss +0 -25
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.ts +0 -121
- package/src/lib/components/molecules/testimonial-card/testimonial-card.stories.ts +0 -130
- package/src/lib/components/molecules/testimonial-card/types.ts +0 -26
- package/src/lib/components/molecules/text-input/text-input.component.scss +0 -1
- package/src/lib/components/molecules/text-input/text-input.component.ts +0 -86
- package/src/lib/components/molecules/text-input/text-input.stories.ts +0 -301
- package/src/lib/components/molecules/textarea-input/textarea-input.component.scss +0 -62
- package/src/lib/components/molecules/textarea-input/textarea-input.component.ts +0 -195
- package/src/lib/components/molecules/textarea-input/textarea-input.stories.ts +0 -329
- package/src/lib/components/molecules/textarea-input/types.ts +0 -83
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.scss +0 -270
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.ts +0 -429
- package/src/lib/components/molecules/ticket-grid/ticket-grid.stories.ts +0 -436
- package/src/lib/components/molecules/ticket-grid/types.ts +0 -145
- package/src/lib/components/molecules/timeline/timeline.component.scss +0 -168
- package/src/lib/components/molecules/timeline/timeline.component.ts +0 -98
- package/src/lib/components/molecules/timeline/timeline.stories.ts +0 -259
- package/src/lib/components/molecules/timeline/types.ts +0 -41
- package/src/lib/components/molecules/title-block/title-block.component.scss +0 -48
- package/src/lib/components/molecules/title-block/title-block.component.ts +0 -72
- package/src/lib/components/molecules/title-block/title-block.stories.ts +0 -351
- package/src/lib/components/molecules/title-block/types.ts +0 -16
- package/src/lib/components/molecules/toggle-input/toggle-input.component.scss +0 -7
- package/src/lib/components/molecules/toggle-input/toggle-input.component.ts +0 -94
- package/src/lib/components/molecules/toggle-input/toggle-input.stories.ts +0 -240
- package/src/lib/components/molecules/toggle-input/types.ts +0 -31
- package/src/lib/components/molecules/update-banner/index.ts +0 -1
- package/src/lib/components/molecules/update-banner/update-banner.component.ts +0 -118
- package/src/lib/components/molecules/username-input/index.ts +0 -2
- package/src/lib/components/molecules/username-input/types.ts +0 -36
- package/src/lib/components/molecules/username-input/username-input.component.ts +0 -336
- package/src/lib/components/molecules/winner-display/types.ts +0 -129
- package/src/lib/components/molecules/winner-display/winner-display.component.scss +0 -501
- package/src/lib/components/molecules/winner-display/winner-display.component.ts +0 -284
- package/src/lib/components/molecules/winner-display/winner-display.stories.ts +0 -468
- package/src/lib/components/organisms/article/README.md +0 -569
- package/src/lib/components/organisms/article/article.component.scss +0 -433
- package/src/lib/components/organisms/article/article.component.ts +0 -469
- package/src/lib/components/organisms/article/article.stories.ts +0 -625
- package/src/lib/components/organisms/article/types.ts +0 -550
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.scss +0 -119
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.ts +0 -349
- package/src/lib/components/organisms/avatar-upload/index.ts +0 -2
- package/src/lib/components/organisms/avatar-upload/types.ts +0 -71
- package/src/lib/components/organisms/banner/banner.component.scss +0 -51
- package/src/lib/components/organisms/banner/banner.component.ts +0 -95
- package/src/lib/components/organisms/banner/banner.stories.ts +0 -462
- package/src/lib/components/organisms/banner/types.ts +0 -30
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.scss +0 -350
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.ts +0 -362
- package/src/lib/components/organisms/bottom-nav/types.ts +0 -139
- package/src/lib/components/organisms/cards-carousel/cards-carousel.component.ts +0 -53
- package/src/lib/components/organisms/cards-carousel/cards-carousel.stories.ts +0 -241
- package/src/lib/components/organisms/cards-carousel/types.ts +0 -12
- package/src/lib/components/organisms/comment-section/comment-section.component.scss +0 -269
- package/src/lib/components/organisms/comment-section/comment-section.component.ts +0 -429
- package/src/lib/components/organisms/comment-section/comment-section.stories.ts +0 -305
- package/src/lib/components/organisms/comment-section/types.ts +0 -169
- package/src/lib/components/organisms/company-footer/company-footer.component.ts +0 -73
- package/src/lib/components/organisms/company-footer/company-footer.stories.ts +0 -216
- package/src/lib/components/organisms/company-footer/types.ts +0 -16
- package/src/lib/components/organisms/data-table/data-table.component.scss +0 -907
- package/src/lib/components/organisms/data-table/data-table.component.ts +0 -821
- package/src/lib/components/organisms/data-table/data-table.stories.ts +0 -787
- package/src/lib/components/organisms/data-table/types.ts +0 -258
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.scss +0 -228
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.ts +0 -213
- package/src/lib/components/organisms/docs-sidebar/types.ts +0 -112
- package/src/lib/components/organisms/docs-toc/docs-toc.component.scss +0 -119
- package/src/lib/components/organisms/docs-toc/docs-toc.component.ts +0 -320
- package/src/lib/components/organisms/docs-toc/types.ts +0 -73
- package/src/lib/components/organisms/footer/footer.component.scss +0 -3
- package/src/lib/components/organisms/footer/footer.component.ts +0 -65
- package/src/lib/components/organisms/footer/footer.stories.ts +0 -278
- package/src/lib/components/organisms/footer/types.ts +0 -17
- package/src/lib/components/organisms/form/factory.ts +0 -46
- package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
- package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +0 -72
- package/src/lib/components/organisms/form/form.component.scss +0 -24
- package/src/lib/components/organisms/form/form.component.ts +0 -367
- package/src/lib/components/organisms/form/form.stories.ts +0 -505
- package/src/lib/components/organisms/fun-header/fun-header.component.scss +0 -36
- package/src/lib/components/organisms/fun-header/fun-header.component.ts +0 -209
- package/src/lib/components/organisms/fun-header/fun-header.stories.ts +0 -272
- package/src/lib/components/organisms/fun-header/types.ts +0 -29
- package/src/lib/components/organisms/header/header.component.scss +0 -5
- package/src/lib/components/organisms/header/header.component.ts +0 -53
- package/src/lib/components/organisms/header/header.stories.ts +0 -293
- package/src/lib/components/organisms/header/types.ts +0 -17
- package/src/lib/components/organisms/infinite-list/infinite-list.component.ts +0 -602
- package/src/lib/components/organisms/infinite-list/types.ts +0 -235
- package/src/lib/components/organisms/item-list/item-list.component.scss +0 -53
- package/src/lib/components/organisms/item-list/item-list.component.ts +0 -269
- package/src/lib/components/organisms/item-list/item-list.stories.ts +0 -363
- package/src/lib/components/organisms/item-list/types.ts +0 -130
- package/src/lib/components/organisms/login/login.component.html +0 -244
- package/src/lib/components/organisms/login/login.component.scss +0 -118
- package/src/lib/components/organisms/login/login.component.ts +0 -866
- package/src/lib/components/organisms/login/types.ts +0 -89
- package/src/lib/components/organisms/menu/menu.component.scss +0 -23
- package/src/lib/components/organisms/menu/menu.component.ts +0 -152
- package/src/lib/components/organisms/menu/menu.stories.ts +0 -223
- package/src/lib/components/organisms/menu/types.ts +0 -24
- package/src/lib/components/organisms/no-content/no-content.component.scss +0 -11
- package/src/lib/components/organisms/no-content/no-content.component.ts +0 -68
- package/src/lib/components/organisms/no-content/no-content.stories.ts +0 -259
- package/src/lib/components/organisms/no-content/types.ts +0 -18
- package/src/lib/components/organisms/rotating-text/rotating-text.component.ts +0 -239
- package/src/lib/components/organisms/rotating-text/types.ts +0 -29
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.scss +0 -89
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.ts +0 -165
- package/src/lib/components/organisms/tabbed-content/tabbed-content.stories.ts +0 -326
- package/src/lib/components/organisms/tabbed-content/types.ts +0 -56
- package/src/lib/components/organisms/terminal-404/terminal-404.component.ts +0 -339
- package/src/lib/components/organisms/terminal-404/types.ts +0 -22
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.ts +0 -70
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.stories.ts +0 -173
- package/src/lib/components/organisms/testimonial-carousel/types.ts +0 -9
- package/src/lib/components/organisms/toolbar/toolbar.component.scss +0 -13
- package/src/lib/components/organisms/toolbar/toolbar.component.ts +0 -195
- package/src/lib/components/organisms/toolbar/toolbar.stories.ts +0 -263
- package/src/lib/components/organisms/toolbar/types.ts +0 -32
- package/src/lib/components/organisms/wizard/types.ts +0 -46
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +0 -104
- package/src/lib/components/organisms/wizard/wizard.component.scss +0 -16
- package/src/lib/components/organisms/wizard/wizard.component.ts +0 -165
- package/src/lib/components/organisms/wizard/wizard.stories.ts +0 -653
- package/src/lib/components/templates/auth-background/auth-background.component.ts +0 -258
- package/src/lib/components/templates/auth-background/types.ts +0 -34
- package/src/lib/components/templates/docs-layout/docs-layout.component.scss +0 -218
- package/src/lib/components/templates/docs-layout/docs-layout.component.ts +0 -161
- package/src/lib/components/templates/docs-layout/types.ts +0 -45
- package/src/lib/components/templates/docs-page/docs-page.component.ts +0 -534
- package/src/lib/components/templates/docs-page/types.ts +0 -141
- package/src/lib/components/templates/docs-shell/docs-shell.component.ts +0 -494
- package/src/lib/components/templates/docs-shell/types.ts +0 -176
- package/src/lib/components/templates/layout/layout.component.scss +0 -25
- package/src/lib/components/templates/layout/layout.component.ts +0 -14
- package/src/lib/components/templates/maintenance-page/index.ts +0 -2
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.scss +0 -44
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.ts +0 -120
- package/src/lib/components/templates/maintenance-page/types.ts +0 -12
- package/src/lib/components/templates/page-content/page-content.component.ts +0 -188
- package/src/lib/components/templates/page-content/page-content.stories.ts +0 -169
- package/src/lib/components/templates/page-content/types.ts +0 -28
- package/src/lib/components/templates/page-template/page-template.component.ts +0 -164
- package/src/lib/components/templates/page-template/page-template.stories.ts +0 -174
- package/src/lib/components/templates/page-template/types.ts +0 -17
- package/src/lib/components/templates/page-wrapper/page-wrapper.component.ts +0 -183
- package/src/lib/components/templates/page-wrapper/page-wrapper.stories.ts +0 -149
- package/src/lib/components/templates/page-wrapper/types.ts +0 -20
- package/src/lib/components/templates/simple/simple.component.ts +0 -92
- package/src/lib/components/templates/simple/types.ts +0 -11
- package/src/lib/components/types.ts +0 -311
- package/src/lib/config/company-footer.config.ts +0 -137
- package/src/lib/services/ads/ads-consent.service.ts +0 -166
- package/src/lib/services/ads/ads-loader.service.ts +0 -133
- package/src/lib/services/ads/ads.service.ts +0 -268
- package/src/lib/services/ads/config.ts +0 -92
- package/src/lib/services/ads/index.ts +0 -29
- package/src/lib/services/ads/types.ts +0 -187
- package/src/lib/services/app-config/app-config.service.ts +0 -228
- package/src/lib/services/app-config/config.ts +0 -62
- package/src/lib/services/app-config/index.ts +0 -48
- package/src/lib/services/app-config/types.ts +0 -62
- package/src/lib/services/app-config/version.ts +0 -104
- package/src/lib/services/auth/auth-state.service.ts +0 -225
- package/src/lib/services/auth/auth.service.ts +0 -1306
- package/src/lib/services/auth/config.ts +0 -93
- package/src/lib/services/auth/device.service.ts +0 -163
- package/src/lib/services/auth/guards.ts +0 -234
- package/src/lib/services/auth/index.ts +0 -111
- package/src/lib/services/auth/interceptor.ts +0 -177
- package/src/lib/services/auth/oauth-callback.component.ts +0 -202
- package/src/lib/services/auth/oauth.service.ts +0 -352
- package/src/lib/services/auth/session.service.ts +0 -83
- package/src/lib/services/auth/storage.service.ts +0 -181
- package/src/lib/services/auth/sync.service.ts +0 -158
- package/src/lib/services/auth/token.service.ts +0 -132
- package/src/lib/services/auth/types.ts +0 -1023
- package/src/lib/services/confirmation-dialog/confirmation-dialog.service.ts +0 -199
- package/src/lib/services/confirmation-dialog/types.ts +0 -74
- package/src/lib/services/content/content-types/blog.ts +0 -324
- package/src/lib/services/content/content-types/documentation.ts +0 -369
- package/src/lib/services/content/content-types/news.ts +0 -328
- package/src/lib/services/content/index.ts +0 -71
- package/src/lib/services/content/transformer.ts +0 -312
- package/src/lib/services/content/types.ts +0 -276
- package/src/lib/services/docs/docs-navigation.service.ts +0 -91
- package/src/lib/services/download.service.ts +0 -75
- package/src/lib/services/feedback/config.ts +0 -61
- package/src/lib/services/feedback/feedback.service.ts +0 -348
- package/src/lib/services/feedback/index.ts +0 -59
- package/src/lib/services/feedback/types.ts +0 -239
- package/src/lib/services/firebase/README.md +0 -328
- package/src/lib/services/firebase/analytics-error-handler.ts +0 -155
- package/src/lib/services/firebase/analytics-router-tracker.ts +0 -109
- package/src/lib/services/firebase/analytics-types.ts +0 -277
- package/src/lib/services/firebase/analytics.service.ts +0 -707
- package/src/lib/services/firebase/config.ts +0 -172
- package/src/lib/services/firebase/firebase.service.ts +0 -502
- package/src/lib/services/firebase/firestore-collection.ts +0 -336
- package/src/lib/services/firebase/firestore.service.ts +0 -649
- package/src/lib/services/firebase/index.ts +0 -88
- package/src/lib/services/firebase/messaging.service.ts +0 -672
- package/src/lib/services/firebase/notifications.service.ts +0 -253
- package/src/lib/services/firebase/shared-config.ts +0 -167
- package/src/lib/services/firebase/storage.service.ts +0 -519
- package/src/lib/services/firebase/types.ts +0 -461
- package/src/lib/services/firebase/utils/path-builder.ts +0 -210
- package/src/lib/services/firebase/utils/query-builder.ts +0 -339
- package/src/lib/services/i18n/config.ts +0 -129
- package/src/lib/services/i18n/default-content.ts +0 -640
- package/src/lib/services/i18n/i18n.service.ts +0 -223
- package/src/lib/services/i18n/index.ts +0 -29
- package/src/lib/services/i18n/input-i18n.helper.ts +0 -141
- package/src/lib/services/i18n/translate.pipe.ts +0 -43
- package/src/lib/services/i18n/types.ts +0 -108
- package/src/lib/services/icons.service.ts +0 -122
- package/src/lib/services/image/image.service.ts +0 -328
- package/src/lib/services/image/types.ts +0 -79
- package/src/lib/services/in-app-browser.service.ts +0 -30
- package/src/lib/services/link-processor.service.ts +0 -311
- package/src/lib/services/local-storage.service.ts +0 -39
- package/src/lib/services/locale.service.ts +0 -86
- package/src/lib/services/meta/meta.service.ts +0 -64
- package/src/lib/services/meta/types.ts +0 -13
- package/src/lib/services/modal/modal.service.ts +0 -244
- package/src/lib/services/modal/simple-modal-content.component.ts +0 -138
- package/src/lib/services/modal/types.ts +0 -180
- package/src/lib/services/navigation/navigation.service.ts +0 -255
- package/src/lib/services/navigation/types.ts +0 -86
- package/src/lib/services/pagination/index.ts +0 -13
- package/src/lib/services/pagination/pagination.service.ts +0 -243
- package/src/lib/services/pagination/types.ts +0 -133
- package/src/lib/services/presets/config.ts +0 -51
- package/src/lib/services/presets/index.ts +0 -8
- package/src/lib/services/presets/preset.service.ts +0 -105
- package/src/lib/services/presets/types.ts +0 -41
- package/src/lib/services/qr-generator/qr-generator.service.ts +0 -378
- package/src/lib/services/qr-generator/types.ts +0 -207
- package/src/lib/services/skeleton/config.ts +0 -82
- package/src/lib/services/skeleton/directives/index.ts +0 -1
- package/src/lib/services/skeleton/directives/loading.directive.ts +0 -230
- package/src/lib/services/skeleton/index.ts +0 -30
- package/src/lib/services/skeleton/skeleton.service.ts +0 -220
- package/src/lib/services/skeleton/templates/detail-skeleton.component.ts +0 -166
- package/src/lib/services/skeleton/templates/form-skeleton.component.ts +0 -115
- package/src/lib/services/skeleton/templates/grid-skeleton.component.ts +0 -127
- package/src/lib/services/skeleton/templates/index.ts +0 -6
- package/src/lib/services/skeleton/templates/list-skeleton.component.ts +0 -90
- package/src/lib/services/skeleton/templates/profile-skeleton.component.ts +0 -174
- package/src/lib/services/skeleton/templates/table-skeleton.component.ts +0 -113
- package/src/lib/services/skeleton/types.ts +0 -142
- package/src/lib/services/theme.service.ts +0 -154
- package/src/lib/services/toast.service.ts +0 -42
- package/src/lib/services/types.ts +0 -6
- package/src/lib/shared/constants/storage.ts +0 -2
- package/src/lib/shared/pipes/process-links.pipe.ts +0 -64
- package/src/lib/shared/utils/dom.ts +0 -29
- package/src/lib/shared/utils/form-defaults.ts +0 -119
- package/src/lib/shared/utils/styles.ts +0 -39
- package/src/lib/shared/utils/text.ts +0 -12
- package/src/lib/version.ts +0 -5
- package/src/public-api.ts +0 -352
- package/src/stories/Introduction.mdx +0 -649
- package/src/stories/helpers/mock-services.ts +0 -27
- package/src/stories/helpers/storybook-helpers.ts +0 -89
- package/tsconfig.json +0 -32
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/lib/components/molecules/image-crop/index.ts → lib/components/molecules/image-crop/index.d.ts} +0 -0
- /package/{src/lib/config/index.ts → lib/config/index.d.ts} +0 -0
- /package/{src/lib/services/image/index.ts → lib/services/image/index.d.ts} +0 -0
- /package/{src/lib/services/meta/index.ts → lib/services/meta/index.d.ts} +0 -0
- /package/{src/lib/services/navigation/index.ts → lib/services/navigation/index.d.ts} +0 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuración de espaciado predefinida
|
|
3
|
+
*/
|
|
4
|
+
export const ARTICLE_SPACING = {
|
|
5
|
+
NONE: { top: 'none', bottom: 'none' },
|
|
6
|
+
SMALL: { top: 'small', bottom: 'small' },
|
|
7
|
+
MEDIUM: { top: 'medium', bottom: 'medium' },
|
|
8
|
+
LARGE: { top: 'large', bottom: 'large' },
|
|
9
|
+
XLARGE: { top: 'xlarge', bottom: 'xlarge' },
|
|
10
|
+
// Espaciados específicos para elementos
|
|
11
|
+
TITLE: { top: 'large', bottom: 'medium' },
|
|
12
|
+
SUBTITLE: { top: 'medium', bottom: 'small' },
|
|
13
|
+
PARAGRAPH: { top: 'small', bottom: 'medium' },
|
|
14
|
+
QUOTE: { top: 'medium', bottom: 'medium' },
|
|
15
|
+
CODE: { top: 'medium', bottom: 'medium' },
|
|
16
|
+
NOTE: { top: 'medium', bottom: 'medium' },
|
|
17
|
+
COMMAND: { top: 'medium', bottom: 'medium' },
|
|
18
|
+
LIST: { top: 'small', bottom: 'medium' },
|
|
19
|
+
BUTTON: { top: 'medium', bottom: 'medium' },
|
|
20
|
+
IMAGE: { top: 'large', bottom: 'large' },
|
|
21
|
+
SEPARATOR: { top: 'large', bottom: 'large' },
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Función helper para crear elementos de artículo de forma fácil
|
|
25
|
+
*/
|
|
26
|
+
export class ArticleBuilder {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.elements = [];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Añade un título al artículo
|
|
32
|
+
*/
|
|
33
|
+
title(props, options) {
|
|
34
|
+
this.elements.push({
|
|
35
|
+
type: 'title',
|
|
36
|
+
props,
|
|
37
|
+
...options,
|
|
38
|
+
});
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Añade un subtítulo al artículo
|
|
43
|
+
*/
|
|
44
|
+
subtitle(props, options) {
|
|
45
|
+
this.elements.push({
|
|
46
|
+
type: 'subtitle',
|
|
47
|
+
props,
|
|
48
|
+
...options,
|
|
49
|
+
});
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Añade un párrafo al artículo
|
|
54
|
+
*/
|
|
55
|
+
paragraph(props, options) {
|
|
56
|
+
this.elements.push({
|
|
57
|
+
type: 'paragraph',
|
|
58
|
+
props,
|
|
59
|
+
...options,
|
|
60
|
+
});
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Añade una cita al artículo
|
|
65
|
+
*/
|
|
66
|
+
quote(props, options) {
|
|
67
|
+
this.elements.push({
|
|
68
|
+
type: 'quote',
|
|
69
|
+
props,
|
|
70
|
+
...options,
|
|
71
|
+
});
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Añade código al artículo
|
|
76
|
+
*/
|
|
77
|
+
code(code, language, options) {
|
|
78
|
+
this.elements.push({
|
|
79
|
+
type: 'code',
|
|
80
|
+
props: { code, language },
|
|
81
|
+
...options,
|
|
82
|
+
});
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Añade una lista al artículo
|
|
87
|
+
*/
|
|
88
|
+
list(items, listType, options) {
|
|
89
|
+
this.elements.push({
|
|
90
|
+
type: 'list',
|
|
91
|
+
props: { items, listType },
|
|
92
|
+
...options,
|
|
93
|
+
});
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Añade un botón al artículo
|
|
98
|
+
*/
|
|
99
|
+
button(props, alignment, options) {
|
|
100
|
+
this.elements.push({
|
|
101
|
+
type: 'button',
|
|
102
|
+
props: { ...props, alignment },
|
|
103
|
+
...options,
|
|
104
|
+
});
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Añade un separador al artículo
|
|
109
|
+
*/
|
|
110
|
+
separator(style, options) {
|
|
111
|
+
this.elements.push({
|
|
112
|
+
type: 'separator',
|
|
113
|
+
props: { style },
|
|
114
|
+
...options,
|
|
115
|
+
});
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Añade una imagen al artículo
|
|
120
|
+
*/
|
|
121
|
+
image(src, alt, caption, options) {
|
|
122
|
+
this.elements.push({
|
|
123
|
+
type: 'image',
|
|
124
|
+
props: { src, alt, caption },
|
|
125
|
+
...options,
|
|
126
|
+
});
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Añade una nota destacada al artículo
|
|
131
|
+
*/
|
|
132
|
+
note(text, prefix, color, options) {
|
|
133
|
+
this.elements.push({
|
|
134
|
+
type: 'note',
|
|
135
|
+
props: {
|
|
136
|
+
text,
|
|
137
|
+
prefix: prefix || 'Nota:',
|
|
138
|
+
color: color || 'warning',
|
|
139
|
+
textColor: 'dark',
|
|
140
|
+
size: 'medium',
|
|
141
|
+
rounded: true,
|
|
142
|
+
},
|
|
143
|
+
...options,
|
|
144
|
+
});
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Añade un comando de terminal al artículo
|
|
149
|
+
* Acepta un string simple o un array de comandos
|
|
150
|
+
*/
|
|
151
|
+
command(command, options) {
|
|
152
|
+
const commands = Array.isArray(command) ? command : [command];
|
|
153
|
+
this.elements.push({
|
|
154
|
+
type: 'command',
|
|
155
|
+
props: {
|
|
156
|
+
lines: commands.map((cmd) => ({ text: cmd, type: 'command' })),
|
|
157
|
+
showCopyButton: true,
|
|
158
|
+
},
|
|
159
|
+
...options,
|
|
160
|
+
});
|
|
161
|
+
return this;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Construye el artículo final
|
|
165
|
+
*/
|
|
166
|
+
build(config) {
|
|
167
|
+
return {
|
|
168
|
+
elements: this.elements,
|
|
169
|
+
maxWidth: 'auto',
|
|
170
|
+
centered: true,
|
|
171
|
+
theme: 'auto',
|
|
172
|
+
...config,
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Resetea el builder para crear un nuevo artículo
|
|
177
|
+
*/
|
|
178
|
+
clear() {
|
|
179
|
+
this.elements = [];
|
|
180
|
+
return this;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL2FydGljbGUvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd1VBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHO0lBQzdCLElBQUksRUFBRSxFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBb0I7SUFDdkQsS0FBSyxFQUFFLEVBQUUsR0FBRyxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFvQjtJQUMxRCxNQUFNLEVBQUUsRUFBRSxHQUFHLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQW9CO0lBQzdELEtBQUssRUFBRSxFQUFFLEdBQUcsRUFBRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBb0I7SUFDMUQsTUFBTSxFQUFFLEVBQUUsR0FBRyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFvQjtJQUU3RCx3Q0FBd0M7SUFDeEMsS0FBSyxFQUFFLEVBQUUsR0FBRyxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFvQjtJQUMzRCxRQUFRLEVBQUUsRUFBRSxHQUFHLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxPQUFPLEVBQW9CO0lBQzlELFNBQVM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WUsXG4gICAgICB0aGVtZTogJ2F1dG8nLFxuICAgICAgLi4uY29uZmlnLFxuICAgIH07XG4gIH1cblxuICAvKipcbiAgICogUmVzZXRlYSBlbCBidWlsZGVyIHBhcmEgY3JlYXIgdW4gbnVldm8gYXJ0w61jdWxvXG4gICAqL1xuICBjbGVhcigpOiBBcnRpY2xlQnVpbGRlciB7XG4gICAgdGhpcy5lbGVtZW50cyA9IFtdO1xuICAgIHJldHVybiB0aGlzO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, computed, EventEmitter, inject, input, Output, signal, ViewChild, } from '@angular/core';
|
|
3
|
+
import { IonIcon, IonModal, IonSpinner } from '@ionic/angular/standalone';
|
|
4
|
+
import { addIcons } from 'ionicons';
|
|
5
|
+
import { cameraOutline } from 'ionicons/icons';
|
|
6
|
+
import { firstValueFrom } from 'rxjs';
|
|
7
|
+
import { AuthService } from '../../../services/auth';
|
|
8
|
+
import { StorageService } from '../../../services/firebase';
|
|
9
|
+
import { I18nService } from '../../../services/i18n';
|
|
10
|
+
import { ImageService } from '../../../services/image';
|
|
11
|
+
import { ImageCropComponent } from '../../molecules/image-crop';
|
|
12
|
+
import { AVATAR_UPLOAD_DEFAULTS, } from './types';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
addIcons({ cameraOutline });
|
|
15
|
+
/**
|
|
16
|
+
* AvatarUploadComponent
|
|
17
|
+
*
|
|
18
|
+
* A complete avatar upload solution with:
|
|
19
|
+
* - Image selection from device
|
|
20
|
+
* - Crop modal with round preview
|
|
21
|
+
* - Automatic compression and thumbnail generation
|
|
22
|
+
* - Upload to Firebase Storage
|
|
23
|
+
* - Backend sync via AuthService
|
|
24
|
+
*
|
|
25
|
+
* @example Basic usage
|
|
26
|
+
* ```html
|
|
27
|
+
* <val-avatar-upload
|
|
28
|
+
* [props]="{
|
|
29
|
+
* currentUrl: user()?.avatarUrl,
|
|
30
|
+
* initials: 'JD',
|
|
31
|
+
* size: 120
|
|
32
|
+
* }"
|
|
33
|
+
* (uploaded)="onAvatarUploaded($event)"
|
|
34
|
+
* (error)="onError($event)"
|
|
35
|
+
* />
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export class AvatarUploadComponent {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.imageService = inject(ImageService);
|
|
41
|
+
this.storageService = inject(StorageService);
|
|
42
|
+
this.authService = inject(AuthService);
|
|
43
|
+
this.i18n = inject(I18nService);
|
|
44
|
+
/** Component configuration */
|
|
45
|
+
this.props = input({});
|
|
46
|
+
/** Emitted after successful upload and backend sync */
|
|
47
|
+
this.uploaded = new EventEmitter();
|
|
48
|
+
/** Emitted on any error during the process */
|
|
49
|
+
this.error = new EventEmitter();
|
|
50
|
+
/** Emitted when upload starts */
|
|
51
|
+
this.uploadStart = new EventEmitter();
|
|
52
|
+
// Internal state
|
|
53
|
+
this.loading = signal(false);
|
|
54
|
+
this.showCropModal = signal(false);
|
|
55
|
+
this.selectedFile = signal(null);
|
|
56
|
+
this.previewUrl = signal(null);
|
|
57
|
+
this.imageLoadError = signal(false);
|
|
58
|
+
/** Merged config with defaults */
|
|
59
|
+
this.config = computed(() => ({
|
|
60
|
+
...AVATAR_UPLOAD_DEFAULTS,
|
|
61
|
+
...this.props(),
|
|
62
|
+
}));
|
|
63
|
+
/** URL to display (preview takes priority over current) */
|
|
64
|
+
this.displayUrl = computed(() => {
|
|
65
|
+
if (this.imageLoadError())
|
|
66
|
+
return null;
|
|
67
|
+
return this.previewUrl() || this.config().currentUrl || null;
|
|
68
|
+
});
|
|
69
|
+
/** Aria label for edit button */
|
|
70
|
+
this.editButtonLabel = computed(() => {
|
|
71
|
+
this.i18n.lang();
|
|
72
|
+
return this.i18n.t('changePhoto', this.config().i18nNamespace) || 'Cambiar foto';
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/** Open file picker dialog */
|
|
76
|
+
openFilePicker() {
|
|
77
|
+
this.fileInput.nativeElement.click();
|
|
78
|
+
}
|
|
79
|
+
/** Handle file selection */
|
|
80
|
+
onFileSelected(event) {
|
|
81
|
+
const input = event.target;
|
|
82
|
+
const file = input.files?.[0];
|
|
83
|
+
if (!file)
|
|
84
|
+
return;
|
|
85
|
+
// Reset input for same file selection
|
|
86
|
+
input.value = '';
|
|
87
|
+
// Validate file
|
|
88
|
+
const validation = this.imageService.validate(file, {
|
|
89
|
+
maxSize: this.config().maxFileSize,
|
|
90
|
+
allowedTypes: ['image/jpeg', 'image/png', 'image/webp'],
|
|
91
|
+
});
|
|
92
|
+
if (!validation.valid) {
|
|
93
|
+
this.emitError(validation.error, validation.message);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
// Open crop modal
|
|
97
|
+
this.selectedFile.set(file);
|
|
98
|
+
this.showCropModal.set(true);
|
|
99
|
+
}
|
|
100
|
+
/** Handle crop completion */
|
|
101
|
+
async onCropComplete(croppedBlob) {
|
|
102
|
+
this.showCropModal.set(false);
|
|
103
|
+
this.selectedFile.set(null);
|
|
104
|
+
await this.processAndUpload(croppedBlob);
|
|
105
|
+
}
|
|
106
|
+
/** Handle crop cancel */
|
|
107
|
+
onCropCancel() {
|
|
108
|
+
this.showCropModal.set(false);
|
|
109
|
+
this.selectedFile.set(null);
|
|
110
|
+
}
|
|
111
|
+
/** Handle crop load failure */
|
|
112
|
+
onCropLoadFailed() {
|
|
113
|
+
this.showCropModal.set(false);
|
|
114
|
+
this.selectedFile.set(null);
|
|
115
|
+
this.emitError('invalidType', this.i18n.t('loadFailed', this.config().i18nNamespace) || 'No se pudo cargar la imagen');
|
|
116
|
+
}
|
|
117
|
+
/** Handle image load error */
|
|
118
|
+
onImageError() {
|
|
119
|
+
this.imageLoadError.set(true);
|
|
120
|
+
}
|
|
121
|
+
/** Timeout for upload operations (30 seconds) */
|
|
122
|
+
static { this.UPLOAD_TIMEOUT_MS = 30000; }
|
|
123
|
+
/** Process cropped image and upload */
|
|
124
|
+
async processAndUpload(croppedBlob) {
|
|
125
|
+
this.loading.set(true);
|
|
126
|
+
this.uploadStart.emit();
|
|
127
|
+
// Timeout promise to prevent infinite loading
|
|
128
|
+
const uploadTimeout = new Promise((_, reject) => setTimeout(() => reject(new Error('Upload timeout')), AvatarUploadComponent.UPLOAD_TIMEOUT_MS));
|
|
129
|
+
try {
|
|
130
|
+
const config = this.config();
|
|
131
|
+
// 1. Compress image
|
|
132
|
+
const compressed = await this.imageService.compress(croppedBlob, {
|
|
133
|
+
maxWidth: config.maxWidth,
|
|
134
|
+
maxHeight: config.maxWidth,
|
|
135
|
+
quality: config.compressQuality,
|
|
136
|
+
});
|
|
137
|
+
// 2. Generate thumbnail
|
|
138
|
+
const thumbnail = await this.imageService.thumbnail(compressed.blob, config.thumbnailSize);
|
|
139
|
+
// 3. Set preview immediately
|
|
140
|
+
this.previewUrl.set(compressed.dataUrl);
|
|
141
|
+
this.imageLoadError.set(false);
|
|
142
|
+
// 4. Get user ID for storage path
|
|
143
|
+
const userId = this.authService.user()?.userId;
|
|
144
|
+
if (!userId) {
|
|
145
|
+
throw new Error('User not authenticated');
|
|
146
|
+
}
|
|
147
|
+
// 5. Upload to Firebase Storage with predictable paths
|
|
148
|
+
// Path: users/{userId}/avatar.jpg - allows any app to construct URL with just userId
|
|
149
|
+
// skipPrefix: true - bypasses appId prefix for shared/cross-app paths
|
|
150
|
+
const avatarPath = `users/${userId}/avatar.jpg`;
|
|
151
|
+
const thumbPath = `users/${userId}/thumb.jpg`;
|
|
152
|
+
const uploadMetadata = { skipPrefix: true, contentType: 'image/jpeg' };
|
|
153
|
+
// Race against timeout to prevent infinite loading
|
|
154
|
+
const [avatarResult, thumbResult] = await Promise.race([
|
|
155
|
+
Promise.all([
|
|
156
|
+
this.storageService.uploadAndGetUrl(avatarPath, compressed.blob, uploadMetadata),
|
|
157
|
+
this.storageService.uploadAndGetUrl(thumbPath, thumbnail.blob, uploadMetadata),
|
|
158
|
+
]),
|
|
159
|
+
uploadTimeout,
|
|
160
|
+
]);
|
|
161
|
+
// 6. Update backend with URLs
|
|
162
|
+
await firstValueFrom(this.authService.updateAvatar({
|
|
163
|
+
avatarUrl: avatarResult.downloadUrl,
|
|
164
|
+
avatarThumbnail: thumbResult.downloadUrl,
|
|
165
|
+
}));
|
|
166
|
+
// 7. Update preview with cache-busting to force refresh
|
|
167
|
+
const cacheBuster = `?t=${Date.now()}`;
|
|
168
|
+
this.previewUrl.set(avatarResult.downloadUrl + cacheBuster);
|
|
169
|
+
// 8. Emit success
|
|
170
|
+
const result = {
|
|
171
|
+
avatarUrl: avatarResult.downloadUrl,
|
|
172
|
+
thumbnailUrl: thumbResult.downloadUrl,
|
|
173
|
+
};
|
|
174
|
+
this.uploaded.emit(result);
|
|
175
|
+
}
|
|
176
|
+
catch (err) {
|
|
177
|
+
// Revert preview on error
|
|
178
|
+
this.previewUrl.set(null);
|
|
179
|
+
// Determine error message based on error type
|
|
180
|
+
let message;
|
|
181
|
+
if (err instanceof Error) {
|
|
182
|
+
if (err.message === 'Upload timeout') {
|
|
183
|
+
message =
|
|
184
|
+
this.i18n.t('uploadTimeout', this.config().i18nNamespace) ||
|
|
185
|
+
'La subida tardó demasiado. Verifica tu conexión.';
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
message = err.message;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
message =
|
|
193
|
+
this.i18n.t('uploadError', this.config().i18nNamespace) ||
|
|
194
|
+
'Error al subir la imagen';
|
|
195
|
+
}
|
|
196
|
+
this.emitError('uploadFailed', message, err);
|
|
197
|
+
}
|
|
198
|
+
finally {
|
|
199
|
+
this.loading.set(false);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/** Emit error event */
|
|
203
|
+
emitError(type, message, originalError) {
|
|
204
|
+
this.error.emit({ type, message, originalError });
|
|
205
|
+
}
|
|
206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AvatarUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
207
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: AvatarUploadComponent, isStandalone: true, selector: "val-avatar-upload", inputs: { props: { classPropertyName: "props", publicName: "props", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { uploaded: "uploaded", error: "error", uploadStart: "uploadStart" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: `
|
|
208
|
+
<div
|
|
209
|
+
class="avatar-upload"
|
|
210
|
+
[style.--avatar-size.px]="config().size"
|
|
211
|
+
[class.avatar-upload--loading]="loading()"
|
|
212
|
+
>
|
|
213
|
+
<div class="avatar-container">
|
|
214
|
+
<!-- Avatar Image or Initials -->
|
|
215
|
+
@if (displayUrl()) {
|
|
216
|
+
<img
|
|
217
|
+
class="avatar-image"
|
|
218
|
+
[src]="displayUrl()"
|
|
219
|
+
alt="Avatar"
|
|
220
|
+
(error)="onImageError()"
|
|
221
|
+
/>
|
|
222
|
+
} @else {
|
|
223
|
+
<div
|
|
224
|
+
class="avatar-initials"
|
|
225
|
+
[style.background-color]="config().backgroundColor"
|
|
226
|
+
>
|
|
227
|
+
{{ config().initials || '?' }}
|
|
228
|
+
</div>
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
<!-- Edit Button -->
|
|
232
|
+
@if (config().editable && !loading()) {
|
|
233
|
+
<button
|
|
234
|
+
class="edit-button"
|
|
235
|
+
type="button"
|
|
236
|
+
(click)="openFilePicker()"
|
|
237
|
+
[attr.aria-label]="editButtonLabel()"
|
|
238
|
+
>
|
|
239
|
+
<ion-icon name="camera-outline"></ion-icon>
|
|
240
|
+
</button>
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
<!-- Loading Overlay -->
|
|
244
|
+
@if (loading()) {
|
|
245
|
+
<div class="loading-overlay">
|
|
246
|
+
<ion-spinner name="crescent"></ion-spinner>
|
|
247
|
+
</div>
|
|
248
|
+
}
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
<!-- Hidden File Input -->
|
|
252
|
+
<input
|
|
253
|
+
#fileInput
|
|
254
|
+
type="file"
|
|
255
|
+
accept="image/jpeg,image/png,image/webp"
|
|
256
|
+
(change)="onFileSelected($event)"
|
|
257
|
+
hidden
|
|
258
|
+
/>
|
|
259
|
+
|
|
260
|
+
<!-- Crop Modal -->
|
|
261
|
+
<ion-modal
|
|
262
|
+
[isOpen]="showCropModal()"
|
|
263
|
+
(didDismiss)="onCropCancel()"
|
|
264
|
+
[breakpoints]="[0, 1]"
|
|
265
|
+
[initialBreakpoint]="1"
|
|
266
|
+
>
|
|
267
|
+
<ng-template>
|
|
268
|
+
@if (selectedFile()) {
|
|
269
|
+
<val-image-crop
|
|
270
|
+
[image]="selectedFile()!"
|
|
271
|
+
[aspectRatio]="1"
|
|
272
|
+
[roundCropper]="true"
|
|
273
|
+
[i18nNamespace]="config().i18nNamespace"
|
|
274
|
+
(cropComplete)="onCropComplete($event)"
|
|
275
|
+
(cancel)="onCropCancel()"
|
|
276
|
+
(loadFailed)="onCropLoadFailed()"
|
|
277
|
+
/>
|
|
278
|
+
}
|
|
279
|
+
</ng-template>
|
|
280
|
+
</ion-modal>
|
|
281
|
+
</div>
|
|
282
|
+
`, isInline: true, styles: [".avatar-upload{--avatar-size: 100px;--edit-button-size: 32px;--edit-button-offset: 4px;display:inline-block}.avatar-container{position:relative;width:var(--avatar-size);height:var(--avatar-size);border-radius:50%;overflow:visible}.avatar-image{width:100%;height:100%;border-radius:50%;object-fit:cover;background-color:var(--ion-color-light)}.avatar-initials{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:calc(var(--avatar-size) * .4);font-weight:600;color:#fff;text-transform:uppercase;-webkit-user-select:none;user-select:none}.edit-button{position:absolute;bottom:var(--edit-button-offset);right:var(--edit-button-offset);width:var(--edit-button-size);height:var(--edit-button-size);border-radius:50%;border:2px solid white;background:var(--ion-color-primary);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background-color .2s ease;box-shadow:0 2px 8px #00000026}.edit-button ion-icon{font-size:calc(var(--edit-button-size) * .5)}.edit-button:hover{transform:scale(1.1);background:var(--ion-color-primary-shade)}.edit-button:active{transform:scale(.95)}.edit-button:focus-visible{outline:2px solid var(--ion-color-primary);outline-offset:2px}.loading-overlay{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background:#00000080;display:flex;align-items:center;justify-content:center}.loading-overlay ion-spinner{--color: white;width:calc(var(--avatar-size) * .4);height:calc(var(--avatar-size) * .4)}.avatar-upload--loading .edit-button{display:none}.avatar-upload--loading .avatar-image,.avatar-upload--loading .avatar-initials{filter:brightness(.7)}@container (max-width: 60px){.edit-button{--edit-button-size: 24px;--edit-button-offset: 0}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }, { kind: "component", type: IonModal, selector: "ion-modal" }, { kind: "component", type: ImageCropComponent, selector: "val-image-crop", inputs: ["image", "aspectRatio", "roundCropper", "resizeToWidth", "i18nNamespace"], outputs: ["cropComplete", "cancel", "loadFailed"] }] }); }
|
|
283
|
+
}
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AvatarUploadComponent, decorators: [{
|
|
285
|
+
type: Component,
|
|
286
|
+
args: [{ selector: 'val-avatar-upload', standalone: true, imports: [CommonModule, IonIcon, IonSpinner, IonModal, ImageCropComponent], template: `
|
|
287
|
+
<div
|
|
288
|
+
class="avatar-upload"
|
|
289
|
+
[style.--avatar-size.px]="config().size"
|
|
290
|
+
[class.avatar-upload--loading]="loading()"
|
|
291
|
+
>
|
|
292
|
+
<div class="avatar-container">
|
|
293
|
+
<!-- Avatar Image or Initials -->
|
|
294
|
+
@if (displayUrl()) {
|
|
295
|
+
<img
|
|
296
|
+
class="avatar-image"
|
|
297
|
+
[src]="displayUrl()"
|
|
298
|
+
alt="Avatar"
|
|
299
|
+
(error)="onImageError()"
|
|
300
|
+
/>
|
|
301
|
+
} @else {
|
|
302
|
+
<div
|
|
303
|
+
class="avatar-initials"
|
|
304
|
+
[style.background-color]="config().backgroundColor"
|
|
305
|
+
>
|
|
306
|
+
{{ config().initials || '?' }}
|
|
307
|
+
</div>
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
<!-- Edit Button -->
|
|
311
|
+
@if (config().editable && !loading()) {
|
|
312
|
+
<button
|
|
313
|
+
class="edit-button"
|
|
314
|
+
type="button"
|
|
315
|
+
(click)="openFilePicker()"
|
|
316
|
+
[attr.aria-label]="editButtonLabel()"
|
|
317
|
+
>
|
|
318
|
+
<ion-icon name="camera-outline"></ion-icon>
|
|
319
|
+
</button>
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
<!-- Loading Overlay -->
|
|
323
|
+
@if (loading()) {
|
|
324
|
+
<div class="loading-overlay">
|
|
325
|
+
<ion-spinner name="crescent"></ion-spinner>
|
|
326
|
+
</div>
|
|
327
|
+
}
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<!-- Hidden File Input -->
|
|
331
|
+
<input
|
|
332
|
+
#fileInput
|
|
333
|
+
type="file"
|
|
334
|
+
accept="image/jpeg,image/png,image/webp"
|
|
335
|
+
(change)="onFileSelected($event)"
|
|
336
|
+
hidden
|
|
337
|
+
/>
|
|
338
|
+
|
|
339
|
+
<!-- Crop Modal -->
|
|
340
|
+
<ion-modal
|
|
341
|
+
[isOpen]="showCropModal()"
|
|
342
|
+
(didDismiss)="onCropCancel()"
|
|
343
|
+
[breakpoints]="[0, 1]"
|
|
344
|
+
[initialBreakpoint]="1"
|
|
345
|
+
>
|
|
346
|
+
<ng-template>
|
|
347
|
+
@if (selectedFile()) {
|
|
348
|
+
<val-image-crop
|
|
349
|
+
[image]="selectedFile()!"
|
|
350
|
+
[aspectRatio]="1"
|
|
351
|
+
[roundCropper]="true"
|
|
352
|
+
[i18nNamespace]="config().i18nNamespace"
|
|
353
|
+
(cropComplete)="onCropComplete($event)"
|
|
354
|
+
(cancel)="onCropCancel()"
|
|
355
|
+
(loadFailed)="onCropLoadFailed()"
|
|
356
|
+
/>
|
|
357
|
+
}
|
|
358
|
+
</ng-template>
|
|
359
|
+
</ion-modal>
|
|
360
|
+
</div>
|
|
361
|
+
`, styles: [".avatar-upload{--avatar-size: 100px;--edit-button-size: 32px;--edit-button-offset: 4px;display:inline-block}.avatar-container{position:relative;width:var(--avatar-size);height:var(--avatar-size);border-radius:50%;overflow:visible}.avatar-image{width:100%;height:100%;border-radius:50%;object-fit:cover;background-color:var(--ion-color-light)}.avatar-initials{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:calc(var(--avatar-size) * .4);font-weight:600;color:#fff;text-transform:uppercase;-webkit-user-select:none;user-select:none}.edit-button{position:absolute;bottom:var(--edit-button-offset);right:var(--edit-button-offset);width:var(--edit-button-size);height:var(--edit-button-size);border-radius:50%;border:2px solid white;background:var(--ion-color-primary);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background-color .2s ease;box-shadow:0 2px 8px #00000026}.edit-button ion-icon{font-size:calc(var(--edit-button-size) * .5)}.edit-button:hover{transform:scale(1.1);background:var(--ion-color-primary-shade)}.edit-button:active{transform:scale(.95)}.edit-button:focus-visible{outline:2px solid var(--ion-color-primary);outline-offset:2px}.loading-overlay{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background:#00000080;display:flex;align-items:center;justify-content:center}.loading-overlay ion-spinner{--color: white;width:calc(var(--avatar-size) * .4);height:calc(var(--avatar-size) * .4)}.avatar-upload--loading .edit-button{display:none}.avatar-upload--loading .avatar-image,.avatar-upload--loading .avatar-initials{filter:brightness(.7)}@container (max-width: 60px){.edit-button{--edit-button-size: 24px;--edit-button-offset: 0}}\n"] }]
|
|
362
|
+
}], propDecorators: { fileInput: [{
|
|
363
|
+
type: ViewChild,
|
|
364
|
+
args: ['fileInput']
|
|
365
|
+
}], uploaded: [{
|
|
366
|
+
type: Output
|
|
367
|
+
}], error: [{
|
|
368
|
+
type: Output
|
|
369
|
+
}], uploadStart: [{
|
|
370
|
+
type: Output
|
|
371
|
+
}] } });
|
|
372
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXVwbG9hZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL2F2YXRhci11cGxvYWQvYXZhdGFyLXVwbG9hZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFDTCxTQUFTLEVBQ1QsUUFBUSxFQUVSLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEVBQ04sU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDcEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDdEMsT0FBTyxFQUFFLFdBQVcsR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ci11cGxvYWRcIlxuICAgICAgW3N0eWxlLi0tYXZhdGFyLXNpemUucHhdPVwiY29uZmlnKCkuc2l6ZVwiXG4gICAgICBbY2xhc3MuYXZhdGFyLXVwbG9hZC0tbG9hZGluZ109XCJsb2FkaW5nKClcIlxuICAgID5cbiAgICAgIDxkaXYgY2xhc3M9XCJhdmF0YXItY29udGFpbmVyXCI+XG4gICAgICAgIDwhLS0gQXZhdGFyIEltYWdlIG9yIEluaXRpYWxzIC0tPlxuICAgICAgICBAaWYgKGRpc3BsYXlVcmwoKSkge1xuICAgICAgICAgIDxpbWdcbiAgICAgICAgICAgIGNsYXNzPVwiYXZhdGFyLWltYWdlXCJcbiAgICAgICAgICAgIFtzcmNdPVwiZGlzcGxheVVybCgpXCJcbiAgICAgICAgICAgIGFsdD1cIkF2YXRhclwiXG4gICAgICAgICAgICAoZXJyb3IpPVwib25JbWFnZUVycm9yKClcIlxuICAgICAgICAgIC8+XG4gICAgICAgIH0gQGVsc2Uge1xuICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgIGNsYXNzPVwiYXZhdGFyLWluaXRpYWxzXCJcbiAgICAgICAgICAgIFtzdHlsZS5iYWNrZ3JvdW5kLWNvbG9yXT1cImNvbmZpZygpLmJhY2tncm91bmRDb2xvclwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAge3sgY29uZmlnKCkuaW5pdGlhbHMgfHwgJz8nIH19XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIH1cblxuICAgICAgICA8IS0tIEVkaXQgQnV0dG9uIC0tPlxuICAgICAgICBAaWYgKGNvbmZpZygpLmVkaXRhYmxlICYmICFsb2FkaW5nKCkpIHtcbiAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICBjbGFzcz1cImVkaXQtYnV0dG9uXCJcbiAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgKGNsaWNrKT1cIm9wZW5GaWxlUGlja2VyKClcIlxuICAgICAgICAgICAgW2F0dHIu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