valtech-components 2.0.687 → 2.0.689
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/.editorconfig +16 -0
- package/.prettierignore +6 -0
- package/.prettierrc +30 -0
- package/.storybook/main.ts +21 -0
- package/.storybook/preview-body.html +60 -0
- package/.storybook/preview-head.html +48 -0
- package/.storybook/preview.ts +52 -0
- package/.storybook/tsconfig.json +12 -0
- package/I18N-COMPONENTS-MIGRATION.md +496 -0
- package/angular.json +60 -0
- package/ng-package.json +16 -0
- package/package.json +64 -16
- package/scripts/publish.sh +30 -0
- package/scripts/update-apps.sh +94 -0
- package/src/lib/components/atoms/avatar/avatar.component.scss +31 -0
- package/src/lib/components/atoms/avatar/avatar.component.ts +95 -0
- package/src/lib/components/atoms/avatar/avatar.stories.ts +243 -0
- package/src/lib/components/atoms/avatar/types.ts +15 -0
- package/src/lib/components/atoms/box/box.component.scss +57 -0
- package/src/lib/components/atoms/box/box.component.ts +77 -0
- package/src/lib/components/atoms/box/box.stories.ts +280 -0
- package/src/lib/components/atoms/box/types.ts +20 -0
- package/src/lib/components/atoms/button/button.component.scss +20 -0
- package/src/lib/components/atoms/button/button.component.ts +174 -0
- package/src/lib/components/atoms/button/button.stories.ts +293 -0
- package/src/lib/components/atoms/button/factory.ts +444 -0
- package/src/lib/components/atoms/countdown/countdown.component.scss +256 -0
- package/src/lib/components/atoms/countdown/countdown.component.ts +293 -0
- package/src/lib/components/atoms/countdown/countdown.stories.ts +316 -0
- package/src/lib/components/atoms/countdown/types.ts +144 -0
- package/src/lib/components/atoms/display/display.component.scss +17 -0
- package/src/lib/components/atoms/display/display.component.ts +54 -0
- package/src/lib/components/atoms/display/display.stories.ts +185 -0
- package/src/lib/components/atoms/display/types.ts +35 -0
- package/src/lib/components/atoms/divider/divider.component.scss +62 -0
- package/src/lib/components/atoms/divider/divider.component.ts +35 -0
- package/src/lib/components/atoms/divider/divider.stories.ts +202 -0
- package/src/lib/components/atoms/divider/types.ts +12 -0
- package/src/lib/components/atoms/fab/fab.component.scss +26 -0
- package/src/lib/components/atoms/fab/fab.component.ts +166 -0
- package/src/lib/components/atoms/fab/fab.stories.ts +360 -0
- package/src/lib/components/atoms/fab/types.ts +47 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.scss +39 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.ts +67 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.stories.ts +351 -0
- package/src/lib/components/atoms/horizontal-scroll/types.ts +13 -0
- package/src/lib/components/atoms/href/href.component.scss +25 -0
- package/src/lib/components/atoms/href/href.component.ts +64 -0
- package/src/lib/components/atoms/href/href.stories.ts +214 -0
- package/src/lib/components/atoms/href/types.ts +20 -0
- package/src/lib/components/atoms/icon/icon.component.scss +33 -0
- package/src/lib/components/atoms/icon/icon.component.ts +38 -0
- package/src/lib/components/atoms/icon/icon.stories.ts +160 -0
- package/src/lib/components/atoms/icon/types.ts +14 -0
- package/src/lib/components/atoms/image/README.md +0 -0
- package/src/lib/components/atoms/image/image.component.scss +281 -0
- package/src/lib/components/atoms/image/image.component.ts +399 -0
- package/src/lib/components/atoms/image/image.stories.ts +317 -0
- package/src/lib/components/atoms/image/types.ts +37 -0
- package/src/lib/components/atoms/price-tag/price-tag.component.scss +228 -0
- package/src/lib/components/atoms/price-tag/price-tag.component.ts +188 -0
- package/src/lib/components/atoms/price-tag/price-tag.stories.ts +315 -0
- package/src/lib/components/atoms/price-tag/types.ts +78 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +22 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +88 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.stories.ts +375 -0
- package/src/lib/components/atoms/progress-bar/types.ts +20 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.component.scss +35 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.component.ts +114 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.stories.ts +323 -0
- package/src/lib/components/atoms/progress-ring/types.ts +25 -0
- package/src/lib/components/atoms/qr-code/qr-code.component.scss +353 -0
- package/src/lib/components/atoms/qr-code/qr-code.component.ts +313 -0
- package/src/lib/components/atoms/qr-code/qr-code.stories.ts +767 -0
- package/src/lib/components/atoms/qr-code/types.ts +173 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.component.scss +20 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.component.ts +98 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.stories.ts +229 -0
- package/src/lib/components/atoms/rights-footer/types.ts +21 -0
- package/src/lib/components/atoms/skeleton/skeleton.component.scss +58 -0
- package/src/lib/components/atoms/skeleton/skeleton.component.ts +129 -0
- package/src/lib/components/atoms/skeleton/skeleton.stories.ts +242 -0
- package/src/lib/components/atoms/skeleton/types.ts +39 -0
- package/src/lib/components/atoms/text/text.component.scss +38 -0
- package/src/lib/components/atoms/text/text.component.ts +123 -0
- package/src/lib/components/atoms/text/text.stories.ts +174 -0
- package/src/lib/components/atoms/text/types.ts +50 -0
- package/src/lib/components/atoms/title/title.component.scss +33 -0
- package/src/lib/components/atoms/title/title.component.ts +65 -0
- package/src/lib/components/atoms/title/title.stories.ts +167 -0
- package/src/lib/components/atoms/title/types.ts +46 -0
- package/src/lib/components/molecules/accordion/accordion.component.scss +34 -0
- package/src/lib/components/molecules/accordion/accordion.component.ts +103 -0
- package/src/lib/components/molecules/accordion/accordion.stories.ts +236 -0
- package/src/lib/components/molecules/accordion/types.ts +49 -0
- package/src/lib/components/molecules/action-card/action-card.component.scss +226 -0
- package/src/lib/components/molecules/action-card/action-card.component.ts +246 -0
- package/src/lib/components/molecules/action-card/action-card.stories.ts +396 -0
- package/src/lib/components/molecules/action-card/types.ts +102 -0
- package/src/lib/components/molecules/action-header/action-header.component.ts +28 -0
- package/src/lib/components/molecules/action-header/action-header.stories.ts +481 -0
- package/src/lib/components/molecules/action-header/types.ts +7 -0
- package/src/lib/components/molecules/ad-slot/ad-slot.component.ts +352 -0
- package/src/lib/components/molecules/alert-box/alert-box.component.scss +10 -0
- package/src/lib/components/molecules/alert-box/alert-box.component.ts +125 -0
- package/src/lib/components/molecules/alert-box/alert-box.stories.ts +248 -0
- package/src/lib/components/molecules/alert-box/types.ts +39 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.scss +34 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.ts +109 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.stories.ts +271 -0
- package/src/lib/components/molecules/breadcrumb/types.ts +47 -0
- package/src/lib/components/molecules/button-group/button-group.component.scss +41 -0
- package/src/lib/components/molecules/button-group/button-group.component.ts +65 -0
- package/src/lib/components/molecules/button-group/button-group.stories.ts +296 -0
- package/src/lib/components/molecules/button-group/types.ts +14 -0
- package/src/lib/components/molecules/card/card.component.scss +62 -0
- package/src/lib/components/molecules/card/card.component.ts +300 -0
- package/src/lib/components/molecules/card/card.stories.ts +360 -0
- package/src/lib/components/molecules/card/types.ts +36 -0
- package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
- package/src/lib/components/molecules/check-input/check-input.component.ts +88 -0
- package/src/lib/components/molecules/check-input/check-input.stories.ts +54 -0
- package/src/lib/components/molecules/chip-group/chip-group.component.scss +70 -0
- package/src/lib/components/molecules/chip-group/chip-group.component.ts +150 -0
- package/src/lib/components/molecules/chip-group/chip-group.stories.ts +307 -0
- package/src/lib/components/molecules/chip-group/types.ts +69 -0
- package/src/lib/components/molecules/code-display/code-display.component.scss +239 -0
- package/src/lib/components/molecules/code-display/code-display.component.ts +109 -0
- package/src/lib/components/molecules/code-display/code-display.stories.ts +402 -0
- package/src/lib/components/molecules/code-display/types.ts +11 -0
- package/src/lib/components/molecules/command-display/command-display.component.scss +38 -0
- package/src/lib/components/molecules/command-display/command-display.component.ts +45 -0
- package/src/lib/components/molecules/command-display/command-display.stories.ts +110 -0
- package/src/lib/components/molecules/command-display/types.ts +3 -0
- package/src/lib/components/molecules/comment/comment.component.scss +339 -0
- package/src/lib/components/molecules/comment/comment.component.ts +496 -0
- package/src/lib/components/molecules/comment/comment.stories.ts +384 -0
- package/src/lib/components/molecules/comment/types.ts +181 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.ts +42 -0
- package/src/lib/components/molecules/comment-input/comment-input.stories.ts +124 -0
- package/src/lib/components/molecules/comment-input/types.ts +69 -0
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +42 -0
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +45 -0
- package/src/lib/components/molecules/content-loader/content-loader.stories.ts +370 -0
- package/src/lib/components/molecules/content-loader/types.ts +16 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.html +81 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.scss +157 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.ts +273 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.stories.ts +453 -0
- package/src/lib/components/molecules/content-reaction/types.ts +99 -0
- package/src/lib/components/molecules/currency-input/currency-input.component.scss +101 -0
- package/src/lib/components/molecules/currency-input/currency-input.component.ts +327 -0
- package/src/lib/components/molecules/currency-input/currency-input.stories.ts +279 -0
- package/src/lib/components/molecules/currency-input/types.ts +125 -0
- package/src/lib/components/molecules/date-input/date-input.component.scss +11 -0
- package/src/lib/components/molecules/date-input/date-input.component.ts +136 -0
- package/src/lib/components/molecules/date-input/date-input.stories.ts +205 -0
- package/src/lib/components/molecules/date-input/types.ts +84 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.component.scss +119 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.component.ts +364 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.stories.ts +288 -0
- package/src/lib/components/molecules/date-range-input/types.ts +122 -0
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.scss +278 -0
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.ts +138 -0
- package/src/lib/components/molecules/docs-api-table/types.ts +81 -0
- package/src/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.ts +161 -0
- package/src/lib/components/molecules/docs-breadcrumb/types.ts +21 -0
- package/src/lib/components/molecules/docs-callout/docs-callout.component.scss +136 -0
- package/src/lib/components/molecules/docs-callout/docs-callout.component.ts +55 -0
- package/src/lib/components/molecules/docs-code-example/docs-code-example.component.ts +535 -0
- package/src/lib/components/molecules/docs-code-example/types.ts +75 -0
- package/src/lib/components/molecules/docs-nav-links/docs-nav-links.component.ts +216 -0
- package/src/lib/components/molecules/docs-nav-links/types.ts +36 -0
- package/src/lib/components/molecules/docs-search/docs-search.component.scss +195 -0
- package/src/lib/components/molecules/docs-search/docs-search.component.ts +228 -0
- package/src/lib/components/molecules/docs-search/types.ts +30 -0
- package/src/lib/components/molecules/docs-section/docs-section.component.ts +99 -0
- package/src/lib/components/molecules/docs-section/types.ts +31 -0
- package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
- package/src/lib/components/molecules/email-input/email-input.component.ts +77 -0
- package/src/lib/components/molecules/email-input/email-input.stories.ts +176 -0
- package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +111 -0
- package/src/lib/components/molecules/expandable-text/expandable-text.stories.ts +287 -0
- package/src/lib/components/molecules/expandable-text/types.ts +14 -0
- package/src/lib/components/molecules/features-list/features-list.component.ts +251 -0
- package/src/lib/components/molecules/features-list/types.ts +44 -0
- package/src/lib/components/molecules/feedback-form/feedback-form.component.ts +355 -0
- package/src/lib/components/molecules/feedback-form/types.ts +77 -0
- package/src/lib/components/molecules/file-input/file-input.component.scss +11 -0
- package/src/lib/components/molecules/file-input/file-input.component.ts +87 -0
- package/src/lib/components/molecules/file-input/file-input.stories.ts +107 -0
- package/src/lib/components/molecules/file-input/types.ts +85 -0
- package/src/lib/components/molecules/footer-links/footer-links.component.scss +130 -0
- package/src/lib/components/molecules/footer-links/footer-links.component.ts +244 -0
- package/src/lib/components/molecules/footer-links/footer-links.stories.ts +188 -0
- package/src/lib/components/molecules/footer-links/types.ts +52 -0
- package/src/lib/components/molecules/glow-card/glow-card.component.scss +295 -0
- package/src/lib/components/molecules/glow-card/glow-card.component.ts +284 -0
- package/src/lib/components/molecules/glow-card/glow-card.stories.ts +680 -0
- package/src/lib/components/molecules/glow-card/types.ts +117 -0
- package/src/lib/components/molecules/hint/hint.component.scss +5 -0
- package/src/lib/components/molecules/hint/hint.component.ts +89 -0
- package/src/lib/components/molecules/hint/hint.stories.ts +233 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.ts +34 -0
- package/src/lib/components/molecules/hour-input/hour-input.stories.ts +145 -0
- package/src/lib/components/molecules/image-crop/image-crop.component.ts +195 -0
- package/src/lib/components/molecules/info/info.component.ts +35 -0
- package/src/lib/components/molecules/info/info.stories.ts +276 -0
- package/src/lib/components/molecules/info/types.ts +11 -0
- package/src/lib/components/molecules/language-selector/language-selector.component.scss +128 -0
- package/src/lib/components/molecules/language-selector/language-selector.component.ts +204 -0
- package/src/lib/components/molecules/language-selector/language-selector.stories.ts +261 -0
- package/src/lib/components/molecules/language-selector/types.ts +84 -0
- package/src/lib/components/molecules/layered-card/layered-card.component.scss +84 -0
- package/src/lib/components/molecules/layered-card/layered-card.component.ts +66 -0
- package/src/lib/components/molecules/layered-card/layered-card.stories.ts +313 -0
- package/src/lib/components/molecules/layered-card/types.ts +16 -0
- package/src/lib/components/molecules/link/link.component.scss +11 -0
- package/src/lib/components/molecules/link/link.component.ts +73 -0
- package/src/lib/components/molecules/link/link.stories.ts +307 -0
- package/src/lib/components/molecules/link/types.ts +20 -0
- package/src/lib/components/molecules/linked-providers/index.ts +2 -0
- package/src/lib/components/molecules/linked-providers/linked-providers.component.ts +289 -0
- package/src/lib/components/molecules/linked-providers/types.ts +63 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.component.scss +17 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.component.ts +152 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.stories.ts +209 -0
- package/src/lib/components/molecules/links-accordion/types.ts +41 -0
- package/src/lib/components/molecules/links-cake/links-cake.component.scss +9 -0
- package/src/lib/components/molecules/links-cake/links-cake.component.ts +49 -0
- package/src/lib/components/molecules/links-cake/links-cake.stories.ts +160 -0
- package/src/lib/components/molecules/links-cake/types.ts +14 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.scss +168 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.ts +471 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.stories.ts +188 -0
- package/src/lib/components/molecules/notes-box/notes-box.component.scss +5 -0
- package/src/lib/components/molecules/notes-box/notes-box.component.ts +62 -0
- package/src/lib/components/molecules/notes-box/notes-box.stories.ts +308 -0
- package/src/lib/components/molecules/notes-box/types.ts +22 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.component.scss +10 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.component.ts +134 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.stories.ts +203 -0
- package/src/lib/components/molecules/number-from-to/types.ts +91 -0
- package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
- package/src/lib/components/molecules/number-input/number-input.component.ts +41 -0
- package/src/lib/components/molecules/number-input/number-input.stories.ts +151 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.component.scss +252 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.component.ts +302 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.stories.ts +417 -0
- package/src/lib/components/molecules/number-stepper/types.ts +101 -0
- package/src/lib/components/molecules/pagination/pagination.component.scss +50 -0
- package/src/lib/components/molecules/pagination/pagination.component.ts +194 -0
- package/src/lib/components/molecules/pagination/pagination.stories.ts +260 -0
- package/src/lib/components/molecules/pagination/types.ts +43 -0
- package/src/lib/components/molecules/participant-card/participant-card.component.scss +371 -0
- package/src/lib/components/molecules/participant-card/participant-card.component.ts +402 -0
- package/src/lib/components/molecules/participant-card/participant-card.stories.ts +479 -0
- package/src/lib/components/molecules/participant-card/types.ts +170 -0
- package/src/lib/components/molecules/password-input/password-input.component.scss +7 -0
- package/src/lib/components/molecules/password-input/password-input.component.ts +93 -0
- package/src/lib/components/molecules/password-input/password-input.stories.ts +187 -0
- package/src/lib/components/molecules/phone-input/phone-input.component.scss +157 -0
- package/src/lib/components/molecules/phone-input/phone-input.component.ts +354 -0
- package/src/lib/components/molecules/phone-input/phone-input.stories.ts +229 -0
- package/src/lib/components/molecules/phone-input/types.ts +126 -0
- package/src/lib/components/molecules/pill/pill.component.scss +35 -0
- package/src/lib/components/molecules/pill/pill.component.ts +89 -0
- package/src/lib/components/molecules/pill/pill.stories.ts +219 -0
- package/src/lib/components/molecules/pill/types.ts +10 -0
- package/src/lib/components/molecules/pin-input/pin-input.component.scss +22 -0
- package/src/lib/components/molecules/pin-input/pin-input.component.ts +83 -0
- package/src/lib/components/molecules/pin-input/pin-input.stories.ts +196 -0
- package/src/lib/components/molecules/pin-input/types.ts +80 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.scss +191 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.ts +86 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.stories.ts +174 -0
- package/src/lib/components/molecules/plain-code-box/types.ts +12 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.component.scss +220 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.component.ts +163 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.stories.ts +324 -0
- package/src/lib/components/molecules/popover-selector/types.ts +71 -0
- package/src/lib/components/molecules/progress-status/progress-status.component.scss +41 -0
- package/src/lib/components/molecules/progress-status/progress-status.component.ts +90 -0
- package/src/lib/components/molecules/progress-status/progress-status.stories.ts +415 -0
- package/src/lib/components/molecules/progress-status/types.ts +21 -0
- package/src/lib/components/molecules/prompter/prompter.component.scss +45 -0
- package/src/lib/components/molecules/prompter/prompter.component.ts +55 -0
- package/src/lib/components/molecules/prompter/prompter.stories.ts +193 -0
- package/src/lib/components/molecules/prompter/types.ts +26 -0
- package/src/lib/components/molecules/quote-box/quote-box.component.scss +253 -0
- package/src/lib/components/molecules/quote-box/quote-box.component.ts +104 -0
- package/src/lib/components/molecules/quote-box/quote-box.stories.ts +264 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.ts +51 -0
- package/src/lib/components/molecules/radio-input/radio-input.stories.ts +197 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.scss +418 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.ts +320 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.stories.ts +509 -0
- package/src/lib/components/molecules/raffle-status-card/types.ts +150 -0
- package/src/lib/components/molecules/range-input/range-input.component.scss +15 -0
- package/src/lib/components/molecules/range-input/range-input.component.ts +106 -0
- package/src/lib/components/molecules/range-input/range-input.stories.ts +331 -0
- package/src/lib/components/molecules/range-input/types.ts +61 -0
- package/src/lib/components/molecules/rating/rating.component.scss +60 -0
- package/src/lib/components/molecules/rating/rating.component.ts +154 -0
- package/src/lib/components/molecules/rating/rating.stories.ts +332 -0
- package/src/lib/components/molecules/rating/types.ts +43 -0
- package/src/lib/components/molecules/recap-card/recap-card.component.scss +35 -0
- package/src/lib/components/molecules/recap-card/recap-card.component.ts +64 -0
- package/src/lib/components/molecules/recap-card/recap-card.stories.ts +174 -0
- package/src/lib/components/molecules/recap-card/types.ts +30 -0
- package/src/lib/components/molecules/refresher/refresher.component.ts +257 -0
- package/src/lib/components/molecules/refresher/types.ts +103 -0
- package/src/lib/components/molecules/searchbar/searchbar.component.scss +9 -0
- package/src/lib/components/molecules/searchbar/searchbar.component.ts +122 -0
- package/src/lib/components/molecules/searchbar/searchbar.stories.ts +192 -0
- package/src/lib/components/molecules/searchbar/types.ts +38 -0
- package/src/lib/components/molecules/segment-control/segment-control.component.scss +27 -0
- package/src/lib/components/molecules/segment-control/segment-control.component.ts +121 -0
- package/src/lib/components/molecules/segment-control/segment-control.stories.ts +296 -0
- package/src/lib/components/molecules/segment-control/types.ts +48 -0
- package/src/lib/components/molecules/select-input/select-input.component.scss +0 -0
- package/src/lib/components/molecules/select-input/select-input.component.ts +133 -0
- package/src/lib/components/molecules/select-input/select-input.stories.ts +330 -0
- package/src/lib/components/molecules/select-search/select-search.component.ts +420 -0
- package/src/lib/components/molecules/select-search/select-search.stories.ts +218 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.component.scss +195 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.component.ts +269 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.stories.ts +343 -0
- package/src/lib/components/molecules/share-buttons/types.ts +211 -0
- package/src/lib/components/molecules/stats-card/stats-card.component.scss +198 -0
- package/src/lib/components/molecules/stats-card/stats-card.component.ts +157 -0
- package/src/lib/components/molecules/stats-card/stats-card.stories.ts +481 -0
- package/src/lib/components/molecules/stats-card/types.ts +63 -0
- package/src/lib/components/molecules/stepper/stepper.component.scss +156 -0
- package/src/lib/components/molecules/stepper/stepper.component.ts +201 -0
- package/src/lib/components/molecules/stepper/stepper.stories.ts +308 -0
- package/src/lib/components/molecules/stepper/types.ts +70 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.scss +164 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.ts +215 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.stories.ts +406 -0
- package/src/lib/components/molecules/swipe-carousel/types.ts +32 -0
- package/src/lib/components/molecules/tabs/tabs.component.scss +35 -0
- package/src/lib/components/molecules/tabs/tabs.component.ts +125 -0
- package/src/lib/components/molecules/tabs/tabs.stories.ts +283 -0
- package/src/lib/components/molecules/tabs/types.ts +47 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.scss +25 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.ts +121 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.stories.ts +130 -0
- package/src/lib/components/molecules/testimonial-card/types.ts +26 -0
- package/src/lib/components/molecules/text-input/text-input.component.scss +1 -0
- package/src/lib/components/molecules/text-input/text-input.component.ts +86 -0
- package/src/lib/components/molecules/text-input/text-input.stories.ts +301 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.component.scss +62 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.component.ts +195 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.stories.ts +329 -0
- package/src/lib/components/molecules/textarea-input/types.ts +83 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.scss +270 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.ts +429 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.stories.ts +436 -0
- package/src/lib/components/molecules/ticket-grid/types.ts +145 -0
- package/src/lib/components/molecules/timeline/timeline.component.scss +168 -0
- package/src/lib/components/molecules/timeline/timeline.component.ts +98 -0
- package/src/lib/components/molecules/timeline/timeline.stories.ts +259 -0
- package/src/lib/components/molecules/timeline/types.ts +41 -0
- package/src/lib/components/molecules/title-block/title-block.component.scss +48 -0
- package/src/lib/components/molecules/title-block/title-block.component.ts +72 -0
- package/src/lib/components/molecules/title-block/title-block.stories.ts +351 -0
- package/src/lib/components/molecules/title-block/types.ts +16 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.component.scss +7 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.component.ts +94 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.stories.ts +240 -0
- package/src/lib/components/molecules/toggle-input/types.ts +31 -0
- package/src/lib/components/molecules/update-banner/index.ts +1 -0
- package/src/lib/components/molecules/update-banner/update-banner.component.ts +118 -0
- package/src/lib/components/molecules/username-input/index.ts +2 -0
- package/src/lib/components/molecules/username-input/types.ts +36 -0
- package/src/lib/components/molecules/username-input/username-input.component.ts +336 -0
- package/src/lib/components/molecules/winner-display/types.ts +129 -0
- package/src/lib/components/molecules/winner-display/winner-display.component.scss +501 -0
- package/src/lib/components/molecules/winner-display/winner-display.component.ts +284 -0
- package/src/lib/components/molecules/winner-display/winner-display.stories.ts +468 -0
- package/src/lib/components/organisms/article/README.md +569 -0
- package/src/lib/components/organisms/article/article.component.scss +433 -0
- package/src/lib/components/organisms/article/article.component.ts +469 -0
- package/src/lib/components/organisms/article/article.stories.ts +625 -0
- package/src/lib/components/organisms/article/types.ts +550 -0
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.scss +119 -0
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.ts +349 -0
- package/src/lib/components/organisms/avatar-upload/index.ts +2 -0
- package/src/lib/components/organisms/avatar-upload/types.ts +71 -0
- package/src/lib/components/organisms/banner/banner.component.scss +51 -0
- package/src/lib/components/organisms/banner/banner.component.ts +95 -0
- package/src/lib/components/organisms/banner/banner.stories.ts +462 -0
- package/src/lib/components/organisms/banner/types.ts +30 -0
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.scss +350 -0
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.ts +362 -0
- package/src/lib/components/organisms/bottom-nav/types.ts +139 -0
- package/src/lib/components/organisms/cards-carousel/cards-carousel.component.ts +53 -0
- package/src/lib/components/organisms/cards-carousel/cards-carousel.stories.ts +241 -0
- package/src/lib/components/organisms/cards-carousel/types.ts +12 -0
- package/src/lib/components/organisms/comment-section/comment-section.component.scss +269 -0
- package/src/lib/components/organisms/comment-section/comment-section.component.ts +429 -0
- package/src/lib/components/organisms/comment-section/comment-section.stories.ts +305 -0
- package/src/lib/components/organisms/comment-section/types.ts +169 -0
- package/src/lib/components/organisms/company-footer/company-footer.component.ts +73 -0
- package/src/lib/components/organisms/company-footer/company-footer.stories.ts +216 -0
- package/src/lib/components/organisms/company-footer/types.ts +16 -0
- package/src/lib/components/organisms/data-table/data-table.component.scss +907 -0
- package/src/lib/components/organisms/data-table/data-table.component.ts +821 -0
- package/src/lib/components/organisms/data-table/data-table.stories.ts +787 -0
- package/src/lib/components/organisms/data-table/types.ts +258 -0
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.scss +228 -0
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.ts +213 -0
- package/src/lib/components/organisms/docs-sidebar/types.ts +112 -0
- package/src/lib/components/organisms/docs-toc/docs-toc.component.scss +119 -0
- package/src/lib/components/organisms/docs-toc/docs-toc.component.ts +320 -0
- package/src/lib/components/organisms/docs-toc/types.ts +73 -0
- package/src/lib/components/organisms/footer/footer.component.scss +3 -0
- package/src/lib/components/organisms/footer/footer.component.ts +65 -0
- package/src/lib/components/organisms/footer/footer.stories.ts +278 -0
- package/src/lib/components/organisms/footer/types.ts +17 -0
- package/src/lib/components/organisms/form/factory.ts +46 -0
- 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 +72 -0
- package/src/lib/components/organisms/form/form.component.scss +24 -0
- package/src/lib/components/organisms/form/form.component.ts +367 -0
- package/src/lib/components/organisms/form/form.stories.ts +505 -0
- package/src/lib/components/organisms/fun-header/fun-header.component.scss +36 -0
- package/src/lib/components/organisms/fun-header/fun-header.component.ts +209 -0
- package/src/lib/components/organisms/fun-header/fun-header.stories.ts +272 -0
- package/src/lib/components/organisms/fun-header/types.ts +29 -0
- package/src/lib/components/organisms/header/header.component.scss +5 -0
- package/src/lib/components/organisms/header/header.component.ts +53 -0
- package/src/lib/components/organisms/header/header.stories.ts +293 -0
- package/src/lib/components/organisms/header/types.ts +17 -0
- package/src/lib/components/organisms/infinite-list/infinite-list.component.ts +602 -0
- package/src/lib/components/organisms/infinite-list/types.ts +235 -0
- package/src/lib/components/organisms/item-list/item-list.component.scss +53 -0
- package/src/lib/components/organisms/item-list/item-list.component.ts +269 -0
- package/src/lib/components/organisms/item-list/item-list.stories.ts +363 -0
- package/src/lib/components/organisms/item-list/types.ts +130 -0
- package/src/lib/components/organisms/login/login.component.html +244 -0
- package/src/lib/components/organisms/login/login.component.scss +118 -0
- package/src/lib/components/organisms/login/login.component.ts +866 -0
- package/src/lib/components/organisms/login/types.ts +89 -0
- package/src/lib/components/organisms/menu/menu.component.scss +23 -0
- package/src/lib/components/organisms/menu/menu.component.ts +152 -0
- package/src/lib/components/organisms/menu/menu.stories.ts +223 -0
- package/src/lib/components/organisms/menu/types.ts +24 -0
- package/src/lib/components/organisms/no-content/no-content.component.scss +11 -0
- package/src/lib/components/organisms/no-content/no-content.component.ts +68 -0
- package/src/lib/components/organisms/no-content/no-content.stories.ts +259 -0
- package/src/lib/components/organisms/no-content/types.ts +18 -0
- package/src/lib/components/organisms/rotating-text/rotating-text.component.ts +239 -0
- package/src/lib/components/organisms/rotating-text/types.ts +29 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.scss +89 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.ts +165 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.stories.ts +326 -0
- package/src/lib/components/organisms/tabbed-content/types.ts +56 -0
- package/src/lib/components/organisms/terminal-404/terminal-404.component.ts +339 -0
- package/src/lib/components/organisms/terminal-404/types.ts +22 -0
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.ts +70 -0
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.stories.ts +173 -0
- package/src/lib/components/organisms/testimonial-carousel/types.ts +9 -0
- package/src/lib/components/organisms/toolbar/toolbar.component.scss +13 -0
- package/src/lib/components/organisms/toolbar/toolbar.component.ts +195 -0
- package/src/lib/components/organisms/toolbar/toolbar.stories.ts +263 -0
- package/src/lib/components/organisms/toolbar/types.ts +32 -0
- package/src/lib/components/organisms/wizard/types.ts +46 -0
- 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 +104 -0
- package/src/lib/components/organisms/wizard/wizard.component.scss +16 -0
- package/src/lib/components/organisms/wizard/wizard.component.ts +165 -0
- package/src/lib/components/organisms/wizard/wizard.stories.ts +653 -0
- package/src/lib/components/templates/auth-background/auth-background.component.ts +258 -0
- package/src/lib/components/templates/auth-background/types.ts +34 -0
- package/src/lib/components/templates/docs-layout/docs-layout.component.scss +218 -0
- package/src/lib/components/templates/docs-layout/docs-layout.component.ts +161 -0
- package/src/lib/components/templates/docs-layout/types.ts +45 -0
- package/src/lib/components/templates/docs-page/docs-page.component.ts +534 -0
- package/src/lib/components/templates/docs-page/types.ts +141 -0
- package/src/lib/components/templates/docs-shell/docs-shell.component.ts +494 -0
- package/src/lib/components/templates/docs-shell/types.ts +176 -0
- package/src/lib/components/templates/layout/layout.component.scss +25 -0
- package/src/lib/components/templates/layout/layout.component.ts +14 -0
- package/src/lib/components/templates/maintenance-page/index.ts +2 -0
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.scss +44 -0
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.ts +120 -0
- package/src/lib/components/templates/maintenance-page/types.ts +12 -0
- package/src/lib/components/templates/page-content/page-content.component.ts +188 -0
- package/src/lib/components/templates/page-content/page-content.stories.ts +169 -0
- package/src/lib/components/templates/page-content/types.ts +28 -0
- package/src/lib/components/templates/page-template/page-template.component.ts +164 -0
- package/src/lib/components/templates/page-template/page-template.stories.ts +174 -0
- package/src/lib/components/templates/page-template/types.ts +17 -0
- package/src/lib/components/templates/page-wrapper/page-wrapper.component.ts +183 -0
- package/src/lib/components/templates/page-wrapper/page-wrapper.stories.ts +149 -0
- package/src/lib/components/templates/page-wrapper/types.ts +20 -0
- package/src/lib/components/templates/simple/simple.component.ts +92 -0
- package/src/lib/components/templates/simple/types.ts +11 -0
- package/src/lib/components/types.ts +311 -0
- package/src/lib/config/company-footer.config.ts +137 -0
- package/src/lib/services/ads/ads-consent.service.ts +166 -0
- package/src/lib/services/ads/ads-loader.service.ts +133 -0
- package/src/lib/services/ads/ads.service.ts +268 -0
- package/src/lib/services/ads/config.ts +92 -0
- package/src/lib/services/ads/index.ts +29 -0
- package/src/lib/services/ads/types.ts +187 -0
- package/src/lib/services/app-config/app-config.service.ts +228 -0
- package/src/lib/services/app-config/config.ts +62 -0
- package/src/lib/services/app-config/index.ts +48 -0
- package/src/lib/services/app-config/types.ts +62 -0
- package/src/lib/services/app-config/version.ts +104 -0
- package/src/lib/services/auth/auth-state.service.ts +225 -0
- package/src/lib/services/auth/auth.service.ts +1306 -0
- package/src/lib/services/auth/config.ts +93 -0
- package/src/lib/services/auth/device.service.ts +163 -0
- package/src/lib/services/auth/guards.ts +234 -0
- package/src/lib/services/auth/index.ts +111 -0
- package/src/lib/services/auth/interceptor.ts +177 -0
- package/src/lib/services/auth/oauth-callback.component.ts +202 -0
- package/src/lib/services/auth/oauth.service.ts +352 -0
- package/src/lib/services/auth/session.service.ts +83 -0
- package/src/lib/services/auth/storage.service.ts +181 -0
- package/src/lib/services/auth/sync.service.ts +158 -0
- package/src/lib/services/auth/token.service.ts +132 -0
- package/src/lib/services/auth/types.ts +1023 -0
- package/src/lib/services/confirmation-dialog/confirmation-dialog.service.ts +199 -0
- package/src/lib/services/confirmation-dialog/types.ts +74 -0
- package/src/lib/services/content/content-types/blog.ts +324 -0
- package/src/lib/services/content/content-types/documentation.ts +369 -0
- package/src/lib/services/content/content-types/news.ts +328 -0
- package/src/lib/services/content/index.ts +71 -0
- package/src/lib/services/content/transformer.ts +312 -0
- package/src/lib/services/content/types.ts +276 -0
- package/src/lib/services/docs/docs-navigation.service.ts +91 -0
- package/src/lib/services/download.service.ts +75 -0
- package/src/lib/services/feedback/config.ts +61 -0
- package/src/lib/services/feedback/feedback.service.ts +348 -0
- package/src/lib/services/feedback/index.ts +59 -0
- package/src/lib/services/feedback/types.ts +239 -0
- package/src/lib/services/firebase/README.md +328 -0
- package/src/lib/services/firebase/analytics-error-handler.ts +155 -0
- package/src/lib/services/firebase/analytics-router-tracker.ts +109 -0
- package/src/lib/services/firebase/analytics-types.ts +277 -0
- package/src/lib/services/firebase/analytics.service.ts +707 -0
- package/src/lib/services/firebase/config.ts +172 -0
- package/src/lib/services/firebase/firebase.service.ts +502 -0
- package/src/lib/services/firebase/firestore-collection.ts +336 -0
- package/src/lib/services/firebase/firestore.service.ts +649 -0
- package/src/lib/services/firebase/index.ts +88 -0
- package/src/lib/services/firebase/messaging.service.ts +672 -0
- package/src/lib/services/firebase/notifications.service.ts +253 -0
- package/src/lib/services/firebase/shared-config.ts +167 -0
- package/src/lib/services/firebase/storage.service.ts +519 -0
- package/src/lib/services/firebase/types.ts +461 -0
- package/src/lib/services/firebase/utils/path-builder.ts +210 -0
- package/src/lib/services/firebase/utils/query-builder.ts +339 -0
- package/src/lib/services/i18n/config.ts +129 -0
- package/src/lib/services/i18n/default-content.ts +640 -0
- package/src/lib/services/i18n/i18n.service.ts +223 -0
- package/src/lib/services/i18n/index.ts +29 -0
- package/src/lib/services/i18n/input-i18n.helper.ts +141 -0
- package/src/lib/services/i18n/translate.pipe.ts +43 -0
- package/src/lib/services/i18n/types.ts +108 -0
- package/src/lib/services/icons.service.ts +122 -0
- package/src/lib/services/image/image.service.ts +328 -0
- package/src/lib/services/image/types.ts +79 -0
- package/src/lib/services/in-app-browser.service.ts +30 -0
- package/src/lib/services/link-processor.service.ts +311 -0
- package/src/lib/services/local-storage.service.ts +39 -0
- package/src/lib/services/locale.service.ts +86 -0
- package/src/lib/services/meta/meta.service.ts +64 -0
- package/src/lib/services/meta/types.ts +13 -0
- package/src/lib/services/modal/modal.service.ts +244 -0
- package/src/lib/services/modal/simple-modal-content.component.ts +138 -0
- package/src/lib/services/modal/types.ts +180 -0
- package/src/lib/services/navigation/navigation.service.ts +255 -0
- package/src/lib/services/navigation/types.ts +86 -0
- package/src/lib/services/pagination/index.ts +13 -0
- package/src/lib/services/pagination/pagination.service.ts +243 -0
- package/src/lib/services/pagination/types.ts +133 -0
- package/src/lib/services/presets/config.ts +51 -0
- package/src/lib/services/presets/index.ts +8 -0
- package/src/lib/services/presets/preset.service.ts +105 -0
- package/src/lib/services/presets/types.ts +41 -0
- package/src/lib/services/qr-generator/qr-generator.service.ts +378 -0
- package/src/lib/services/qr-generator/types.ts +207 -0
- package/src/lib/services/skeleton/config.ts +82 -0
- package/src/lib/services/skeleton/directives/index.ts +1 -0
- package/src/lib/services/skeleton/directives/loading.directive.ts +230 -0
- package/src/lib/services/skeleton/index.ts +30 -0
- package/src/lib/services/skeleton/skeleton.service.ts +220 -0
- package/src/lib/services/skeleton/templates/detail-skeleton.component.ts +166 -0
- package/src/lib/services/skeleton/templates/form-skeleton.component.ts +115 -0
- package/src/lib/services/skeleton/templates/grid-skeleton.component.ts +127 -0
- package/src/lib/services/skeleton/templates/index.ts +6 -0
- package/src/lib/services/skeleton/templates/list-skeleton.component.ts +90 -0
- package/src/lib/services/skeleton/templates/profile-skeleton.component.ts +174 -0
- package/src/lib/services/skeleton/templates/table-skeleton.component.ts +113 -0
- package/src/lib/services/skeleton/types.ts +142 -0
- package/src/lib/services/theme.service.ts +154 -0
- package/src/lib/services/toast.service.ts +42 -0
- package/src/lib/services/types.ts +6 -0
- package/src/lib/shared/constants/storage.ts +2 -0
- package/src/lib/shared/pipes/process-links.pipe.ts +64 -0
- package/src/lib/shared/utils/dom.ts +29 -0
- package/src/lib/shared/utils/form-defaults.ts +119 -0
- package/src/lib/shared/utils/styles.ts +39 -0
- package/src/lib/shared/utils/text.ts +12 -0
- package/src/lib/version.ts +5 -0
- package/src/public-api.ts +352 -0
- package/src/stories/Introduction.mdx +649 -0
- package/src/stories/helpers/mock-services.ts +27 -0
- package/src/stories/helpers/storybook-helpers.ts +89 -0
- package/tsconfig.json +32 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +0 -94
- package/esm2022/lib/components/atoms/avatar/types.mjs +0 -2
- package/esm2022/lib/components/atoms/box/box.component.mjs +0 -88
- package/esm2022/lib/components/atoms/box/types.mjs +0 -2
- package/esm2022/lib/components/atoms/button/button.component.mjs +0 -174
- package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
- package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +0 -340
- package/esm2022/lib/components/atoms/countdown/types.mjs +0 -27
- package/esm2022/lib/components/atoms/display/display.component.mjs +0 -51
- package/esm2022/lib/components/atoms/display/types.mjs +0 -2
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +0 -27
- package/esm2022/lib/components/atoms/divider/types.mjs +0 -2
- package/esm2022/lib/components/atoms/fab/fab.component.mjs +0 -190
- package/esm2022/lib/components/atoms/fab/types.mjs +0 -2
- package/esm2022/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.mjs +0 -82
- package/esm2022/lib/components/atoms/horizontal-scroll/types.mjs +0 -2
- package/esm2022/lib/components/atoms/href/href.component.mjs +0 -62
- package/esm2022/lib/components/atoms/href/types.mjs +0 -2
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +0 -29
- package/esm2022/lib/components/atoms/icon/types.mjs +0 -2
- package/esm2022/lib/components/atoms/image/image.component.mjs +0 -507
- package/esm2022/lib/components/atoms/image/types.mjs +0 -2
- package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +0 -235
- package/esm2022/lib/components/atoms/price-tag/types.mjs +0 -15
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +0 -91
- package/esm2022/lib/components/atoms/progress-bar/types.mjs +0 -2
- package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +0 -149
- package/esm2022/lib/components/atoms/progress-ring/types.mjs +0 -2
- package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +0 -394
- package/esm2022/lib/components/atoms/qr-code/types.mjs +0 -2
- package/esm2022/lib/components/atoms/rights-footer/rights-footer.component.mjs +0 -108
- package/esm2022/lib/components/atoms/rights-footer/types.mjs +0 -2
- package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +0 -193
- package/esm2022/lib/components/atoms/skeleton/types.mjs +0 -13
- package/esm2022/lib/components/atoms/text/text.component.mjs +0 -132
- package/esm2022/lib/components/atoms/text/types.mjs +0 -2
- package/esm2022/lib/components/atoms/title/title.component.mjs +0 -68
- package/esm2022/lib/components/atoms/title/types.mjs +0 -22
- package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +0 -120
- package/esm2022/lib/components/molecules/accordion/types.mjs +0 -2
- package/esm2022/lib/components/molecules/action-card/action-card.component.mjs +0 -298
- package/esm2022/lib/components/molecules/action-card/types.mjs +0 -11
- package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +0 -26
- package/esm2022/lib/components/molecules/action-header/types.mjs +0 -2
- package/esm2022/lib/components/molecules/ad-slot/ad-slot.component.mjs +0 -274
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +0 -119
- package/esm2022/lib/components/molecules/alert-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +0 -130
- package/esm2022/lib/components/molecules/breadcrumb/types.mjs +0 -2
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +0 -63
- package/esm2022/lib/components/molecules/button-group/types.mjs +0 -2
- package/esm2022/lib/components/molecules/card/card.component.mjs +0 -450
- package/esm2022/lib/components/molecules/card/types.mjs +0 -16
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +0 -82
- package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +0 -166
- package/esm2022/lib/components/molecules/chip-group/types.mjs +0 -2
- package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +0 -115
- package/esm2022/lib/components/molecules/code-display/types.mjs +0 -2
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +0 -49
- package/esm2022/lib/components/molecules/command-display/types.mjs +0 -2
- package/esm2022/lib/components/molecules/comment/comment.component.mjs +0 -618
- package/esm2022/lib/components/molecules/comment/types.mjs +0 -2
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +0 -41
- package/esm2022/lib/components/molecules/comment-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +0 -42
- package/esm2022/lib/components/molecules/content-loader/types.mjs +0 -2
- package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +0 -218
- package/esm2022/lib/components/molecules/content-reaction/types.mjs +0 -2
- package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +0 -347
- package/esm2022/lib/components/molecules/currency-input/types.mjs +0 -18
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +0 -148
- package/esm2022/lib/components/molecules/date-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +0 -416
- package/esm2022/lib/components/molecules/date-range-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-api-table/docs-api-table.component.mjs +0 -222
- package/esm2022/lib/components/molecules/docs-api-table/types.mjs +0 -11
- package/esm2022/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.mjs +0 -144
- package/esm2022/lib/components/molecules/docs-breadcrumb/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-callout/docs-callout.component.mjs +0 -60
- package/esm2022/lib/components/molecules/docs-code-example/docs-code-example.component.mjs +0 -255
- package/esm2022/lib/components/molecules/docs-code-example/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-nav-links/docs-nav-links.component.mjs +0 -140
- package/esm2022/lib/components/molecules/docs-nav-links/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-search/docs-search.component.mjs +0 -268
- package/esm2022/lib/components/molecules/docs-search/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-section/docs-section.component.mjs +0 -85
- package/esm2022/lib/components/molecules/docs-section/types.mjs +0 -2
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +0 -68
- package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +0 -77
- package/esm2022/lib/components/molecules/expandable-text/types.mjs +0 -2
- package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +0 -185
- package/esm2022/lib/components/molecules/features-list/types.mjs +0 -11
- package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +0 -354
- package/esm2022/lib/components/molecules/feedback-form/types.mjs +0 -2
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +0 -90
- package/esm2022/lib/components/molecules/file-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/footer-links/footer-links.component.mjs +0 -391
- package/esm2022/lib/components/molecules/footer-links/types.mjs +0 -2
- package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +0 -314
- package/esm2022/lib/components/molecules/glow-card/types.mjs +0 -11
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +0 -90
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +0 -28
- package/esm2022/lib/components/molecules/image-crop/image-crop.component.mjs +0 -174
- package/esm2022/lib/components/molecules/image-crop/index.mjs +0 -2
- package/esm2022/lib/components/molecules/info/info.component.mjs +0 -49
- package/esm2022/lib/components/molecules/info/types.mjs +0 -2
- package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +0 -221
- package/esm2022/lib/components/molecules/language-selector/types.mjs +0 -2
- package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +0 -104
- package/esm2022/lib/components/molecules/layered-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/link/link.component.mjs +0 -64
- package/esm2022/lib/components/molecules/link/types.mjs +0 -2
- package/esm2022/lib/components/molecules/linked-providers/linked-providers.component.mjs +0 -236
- package/esm2022/lib/components/molecules/linked-providers/types.mjs +0 -27
- package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +0 -185
- package/esm2022/lib/components/molecules/links-accordion/types.mjs +0 -2
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +0 -51
- package/esm2022/lib/components/molecules/links-cake/types.mjs +0 -2
- package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +0 -488
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +0 -69
- package/esm2022/lib/components/molecules/notes-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +0 -143
- package/esm2022/lib/components/molecules/number-from-to/types.mjs +0 -2
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +0 -34
- package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +0 -379
- package/esm2022/lib/components/molecules/number-stepper/types.mjs +0 -2
- package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +0 -253
- package/esm2022/lib/components/molecules/pagination/types.mjs +0 -2
- package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +0 -514
- package/esm2022/lib/components/molecules/participant-card/types.mjs +0 -21
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +0 -93
- package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +0 -365
- package/esm2022/lib/components/molecules/phone-input/types.mjs +0 -19
- package/esm2022/lib/components/molecules/pill/pill.component.mjs +0 -92
- package/esm2022/lib/components/molecules/pill/types.mjs +0 -2
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +0 -78
- package/esm2022/lib/components/molecules/pin-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +0 -82
- package/esm2022/lib/components/molecules/plain-code-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +0 -188
- package/esm2022/lib/components/molecules/popover-selector/types.mjs +0 -2
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +0 -105
- package/esm2022/lib/components/molecules/progress-status/types.mjs +0 -2
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +0 -85
- package/esm2022/lib/components/molecules/prompter/types.mjs +0 -2
- package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +0 -155
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +0 -52
- package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +0 -476
- package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +0 -23
- package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +0 -127
- package/esm2022/lib/components/molecules/range-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/rating/rating.component.mjs +0 -166
- package/esm2022/lib/components/molecules/rating/types.mjs +0 -2
- package/esm2022/lib/components/molecules/recap-card/recap-card.component.mjs +0 -78
- package/esm2022/lib/components/molecules/recap-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/refresher/refresher.component.mjs +0 -269
- package/esm2022/lib/components/molecules/refresher/types.mjs +0 -15
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +0 -127
- package/esm2022/lib/components/molecules/searchbar/types.mjs +0 -2
- package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +0 -137
- package/esm2022/lib/components/molecules/segment-control/types.mjs +0 -2
- package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +0 -130
- package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +0 -420
- package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +0 -274
- package/esm2022/lib/components/molecules/share-buttons/types.mjs +0 -88
- package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +0 -213
- package/esm2022/lib/components/molecules/stats-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +0 -242
- package/esm2022/lib/components/molecules/stepper/types.mjs +0 -2
- package/esm2022/lib/components/molecules/swipe-carousel/swipe-carousel.component.mjs +0 -206
- package/esm2022/lib/components/molecules/swipe-carousel/types.mjs +0 -2
- package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +0 -139
- package/esm2022/lib/components/molecules/tabs/types.mjs +0 -2
- package/esm2022/lib/components/molecules/testimonial-card/testimonial-card.component.mjs +0 -138
- package/esm2022/lib/components/molecules/testimonial-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +0 -77
- package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +0 -213
- package/esm2022/lib/components/molecules/textarea-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +0 -489
- package/esm2022/lib/components/molecules/ticket-grid/types.mjs +0 -11
- package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +0 -140
- package/esm2022/lib/components/molecules/timeline/types.mjs +0 -2
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +0 -102
- package/esm2022/lib/components/molecules/title-block/types.mjs +0 -2
- package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +0 -93
- package/esm2022/lib/components/molecules/toggle-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/update-banner/update-banner.component.mjs +0 -112
- package/esm2022/lib/components/molecules/username-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/username-input/username-input.component.mjs +0 -260
- package/esm2022/lib/components/molecules/winner-display/types.mjs +0 -9
- package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +0 -359
- package/esm2022/lib/components/organisms/article/article.component.mjs +0 -573
- package/esm2022/lib/components/organisms/article/types.mjs +0 -183
- package/esm2022/lib/components/organisms/avatar-upload/avatar-upload.component.mjs +0 -372
- package/esm2022/lib/components/organisms/avatar-upload/types.mjs +0 -15
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +0 -111
- package/esm2022/lib/components/organisms/banner/types.mjs +0 -2
- package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +0 -368
- package/esm2022/lib/components/organisms/bottom-nav/types.mjs +0 -18
- package/esm2022/lib/components/organisms/cards-carousel/cards-carousel.component.mjs +0 -61
- package/esm2022/lib/components/organisms/cards-carousel/types.mjs +0 -2
- package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +0 -537
- package/esm2022/lib/components/organisms/comment-section/types.mjs +0 -2
- package/esm2022/lib/components/organisms/company-footer/company-footer.component.mjs +0 -76
- package/esm2022/lib/components/organisms/company-footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +0 -1081
- package/esm2022/lib/components/organisms/data-table/types.mjs +0 -13
- package/esm2022/lib/components/organisms/docs-sidebar/docs-sidebar.component.mjs +0 -290
- package/esm2022/lib/components/organisms/docs-sidebar/types.mjs +0 -2
- package/esm2022/lib/components/organisms/docs-toc/docs-toc.component.mjs +0 -307
- package/esm2022/lib/components/organisms/docs-toc/types.mjs +0 -2
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +0 -73
- package/esm2022/lib/components/organisms/footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/form/factory.mjs +0 -29
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +0 -83
- package/esm2022/lib/components/organisms/form/form.component.mjs +0 -417
- package/esm2022/lib/components/organisms/fun-header/fun-header.component.mjs +0 -225
- package/esm2022/lib/components/organisms/fun-header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/header/header.component.mjs +0 -51
- package/esm2022/lib/components/organisms/header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/infinite-list/infinite-list.component.mjs +0 -620
- package/esm2022/lib/components/organisms/infinite-list/types.mjs +0 -15
- package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +0 -418
- package/esm2022/lib/components/organisms/item-list/types.mjs +0 -2
- package/esm2022/lib/components/organisms/login/login.component.mjs +0 -741
- package/esm2022/lib/components/organisms/login/types.mjs +0 -11
- package/esm2022/lib/components/organisms/menu/menu.component.mjs +0 -206
- package/esm2022/lib/components/organisms/menu/types.mjs +0 -2
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +0 -66
- package/esm2022/lib/components/organisms/no-content/types.mjs +0 -2
- package/esm2022/lib/components/organisms/rotating-text/rotating-text.component.mjs +0 -180
- package/esm2022/lib/components/organisms/rotating-text/types.mjs +0 -2
- package/esm2022/lib/components/organisms/tabbed-content/tabbed-content.component.mjs +0 -170
- package/esm2022/lib/components/organisms/tabbed-content/types.mjs +0 -2
- package/esm2022/lib/components/organisms/terminal-404/terminal-404.component.mjs +0 -214
- package/esm2022/lib/components/organisms/terminal-404/types.mjs +0 -2
- package/esm2022/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.mjs +0 -72
- package/esm2022/lib/components/organisms/testimonial-carousel/types.mjs +0 -2
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +0 -237
- package/esm2022/lib/components/organisms/toolbar/types.mjs +0 -2
- package/esm2022/lib/components/organisms/wizard/types.mjs +0 -10
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +0 -111
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +0 -161
- package/esm2022/lib/components/templates/auth-background/auth-background.component.mjs +0 -149
- package/esm2022/lib/components/templates/auth-background/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-layout/docs-layout.component.mjs +0 -221
- package/esm2022/lib/components/templates/docs-layout/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-page/docs-page.component.mjs +0 -251
- package/esm2022/lib/components/templates/docs-page/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-shell/docs-shell.component.mjs +0 -376
- package/esm2022/lib/components/templates/docs-shell/types.mjs +0 -2
- package/esm2022/lib/components/templates/layout/layout.component.mjs +0 -19
- package/esm2022/lib/components/templates/maintenance-page/maintenance-page.component.mjs +0 -153
- package/esm2022/lib/components/templates/maintenance-page/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +0 -193
- package/esm2022/lib/components/templates/page-content/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-template/page-template.component.mjs +0 -188
- package/esm2022/lib/components/templates/page-template/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +0 -192
- package/esm2022/lib/components/templates/page-wrapper/types.mjs +0 -2
- package/esm2022/lib/components/templates/simple/simple.component.mjs +0 -125
- package/esm2022/lib/components/templates/simple/types.mjs +0 -2
- package/esm2022/lib/components/types.mjs +0 -58
- package/esm2022/lib/config/company-footer.config.mjs +0 -109
- package/esm2022/lib/config/index.mjs +0 -5
- package/esm2022/lib/services/ads/ads-loader.service.mjs +0 -120
- package/esm2022/lib/services/ads/ads.service.mjs +0 -236
- package/esm2022/lib/services/ads/config.mjs +0 -81
- package/esm2022/lib/services/ads/index.mjs +0 -13
- package/esm2022/lib/services/ads/types.mjs +0 -23
- package/esm2022/lib/services/app-config/app-config.service.mjs +0 -209
- package/esm2022/lib/services/app-config/config.mjs +0 -47
- package/esm2022/lib/services/app-config/index.mjs +0 -48
- package/esm2022/lib/services/app-config/types.mjs +0 -13
- package/esm2022/lib/services/app-config/version.mjs +0 -85
- package/esm2022/lib/services/auth/auth-state.service.mjs +0 -186
- package/esm2022/lib/services/auth/auth.service.mjs +0 -1087
- package/esm2022/lib/services/auth/config.mjs +0 -77
- package/esm2022/lib/services/auth/device.service.mjs +0 -135
- package/esm2022/lib/services/auth/guards.mjs +0 -194
- package/esm2022/lib/services/auth/index.mjs +0 -92
- package/esm2022/lib/services/auth/interceptor.mjs +0 -122
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +0 -169
- package/esm2022/lib/services/auth/oauth.service.mjs +0 -318
- package/esm2022/lib/services/auth/session.service.mjs +0 -78
- package/esm2022/lib/services/auth/storage.service.mjs +0 -152
- package/esm2022/lib/services/auth/sync.service.mjs +0 -149
- package/esm2022/lib/services/auth/token.service.mjs +0 -122
- package/esm2022/lib/services/auth/types.mjs +0 -30
- package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +0 -180
- package/esm2022/lib/services/confirmation-dialog/types.mjs +0 -14
- package/esm2022/lib/services/docs/docs-navigation.service.mjs +0 -91
- package/esm2022/lib/services/download.service.mjs +0 -80
- package/esm2022/lib/services/feedback/config.mjs +0 -49
- package/esm2022/lib/services/feedback/feedback.service.mjs +0 -296
- package/esm2022/lib/services/feedback/index.mjs +0 -44
- package/esm2022/lib/services/feedback/types.mjs +0 -30
- package/esm2022/lib/services/firebase/analytics-error-handler.mjs +0 -141
- package/esm2022/lib/services/firebase/analytics-router-tracker.mjs +0 -99
- package/esm2022/lib/services/firebase/analytics-types.mjs +0 -7
- package/esm2022/lib/services/firebase/analytics.service.mjs +0 -620
- package/esm2022/lib/services/firebase/config.mjs +0 -131
- package/esm2022/lib/services/firebase/firebase.service.mjs +0 -456
- package/esm2022/lib/services/firebase/firestore-collection.mjs +0 -254
- package/esm2022/lib/services/firebase/firestore.service.mjs +0 -536
- package/esm2022/lib/services/firebase/index.mjs +0 -56
- package/esm2022/lib/services/firebase/messaging.service.mjs +0 -597
- package/esm2022/lib/services/firebase/notifications.service.mjs +0 -199
- package/esm2022/lib/services/firebase/shared-config.mjs +0 -114
- package/esm2022/lib/services/firebase/storage.service.mjs +0 -472
- package/esm2022/lib/services/firebase/types.mjs +0 -18
- package/esm2022/lib/services/firebase/utils/path-builder.mjs +0 -195
- package/esm2022/lib/services/firebase/utils/query-builder.mjs +0 -302
- package/esm2022/lib/services/i18n/config.mjs +0 -110
- package/esm2022/lib/services/i18n/default-content.mjs +0 -563
- package/esm2022/lib/services/i18n/i18n.service.mjs +0 -196
- package/esm2022/lib/services/i18n/index.mjs +0 -13
- package/esm2022/lib/services/i18n/input-i18n.helper.mjs +0 -97
- package/esm2022/lib/services/i18n/translate.pipe.mjs +0 -50
- package/esm2022/lib/services/i18n/types.mjs +0 -15
- package/esm2022/lib/services/icons.service.mjs +0 -76
- package/esm2022/lib/services/image/image.service.mjs +0 -244
- package/esm2022/lib/services/image/index.mjs +0 -3
- package/esm2022/lib/services/image/types.mjs +0 -13
- package/esm2022/lib/services/in-app-browser.service.mjs +0 -35
- package/esm2022/lib/services/link-processor.service.mjs +0 -259
- package/esm2022/lib/services/local-storage.service.mjs +0 -37
- package/esm2022/lib/services/locale.service.mjs +0 -75
- package/esm2022/lib/services/meta/index.mjs +0 -3
- package/esm2022/lib/services/meta/meta.service.mjs +0 -63
- package/esm2022/lib/services/meta/types.mjs +0 -2
- package/esm2022/lib/services/modal/modal.service.mjs +0 -212
- package/esm2022/lib/services/modal/simple-modal-content.component.mjs +0 -133
- package/esm2022/lib/services/modal/types.mjs +0 -26
- package/esm2022/lib/services/navigation/index.mjs +0 -3
- package/esm2022/lib/services/navigation/navigation.service.mjs +0 -216
- package/esm2022/lib/services/navigation/types.mjs +0 -16
- package/esm2022/lib/services/pagination/index.mjs +0 -5
- package/esm2022/lib/services/pagination/pagination.service.mjs +0 -218
- package/esm2022/lib/services/pagination/types.mjs +0 -14
- package/esm2022/lib/services/presets/config.mjs +0 -46
- package/esm2022/lib/services/presets/index.mjs +0 -5
- package/esm2022/lib/services/presets/preset.service.mjs +0 -104
- package/esm2022/lib/services/presets/types.mjs +0 -2
- package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +0 -341
- package/esm2022/lib/services/qr-generator/types.mjs +0 -46
- package/esm2022/lib/services/skeleton/config.mjs +0 -79
- package/esm2022/lib/services/skeleton/directives/loading.directive.mjs +0 -215
- package/esm2022/lib/services/skeleton/index.mjs +0 -16
- package/esm2022/lib/services/skeleton/skeleton.service.mjs +0 -198
- package/esm2022/lib/services/skeleton/templates/detail-skeleton.component.mjs +0 -223
- package/esm2022/lib/services/skeleton/templates/form-skeleton.component.mjs +0 -127
- package/esm2022/lib/services/skeleton/templates/grid-skeleton.component.mjs +0 -154
- package/esm2022/lib/services/skeleton/templates/list-skeleton.component.mjs +0 -110
- package/esm2022/lib/services/skeleton/templates/profile-skeleton.component.mjs +0 -207
- package/esm2022/lib/services/skeleton/templates/table-skeleton.component.mjs +0 -116
- package/esm2022/lib/services/skeleton/types.mjs +0 -11
- package/esm2022/lib/services/theme.service.mjs +0 -144
- package/esm2022/lib/services/toast.service.mjs +0 -47
- package/esm2022/lib/services/types.mjs +0 -5
- package/esm2022/lib/shared/constants/storage.mjs +0 -3
- package/esm2022/lib/shared/pipes/process-links.pipe.mjs +0 -69
- package/esm2022/lib/shared/utils/dom.mjs +0 -27
- package/esm2022/lib/shared/utils/form-defaults.mjs +0 -112
- package/esm2022/lib/shared/utils/styles.mjs +0 -37
- package/esm2022/lib/shared/utils/text.mjs +0 -12
- package/esm2022/lib/version.mjs +0 -6
- package/esm2022/public-api.mjs +0 -333
- package/esm2022/valtech-components.mjs +0 -5
- package/fesm2022/valtech-components.mjs +0 -42048
- package/fesm2022/valtech-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/atoms/avatar/avatar.component.d.ts +0 -36
- package/lib/components/atoms/avatar/types.d.ts +0 -15
- package/lib/components/atoms/box/box.component.d.ts +0 -26
- package/lib/components/atoms/box/types.d.ts +0 -19
- package/lib/components/atoms/button/button.component.d.ts +0 -63
- package/lib/components/atoms/button/factory.d.ts +0 -71
- package/lib/components/atoms/countdown/countdown.component.d.ts +0 -38
- package/lib/components/atoms/countdown/types.d.ts +0 -108
- package/lib/components/atoms/display/display.component.d.ts +0 -19
- package/lib/components/atoms/display/types.d.ts +0 -33
- package/lib/components/atoms/divider/divider.component.d.ts +0 -27
- package/lib/components/atoms/divider/types.d.ts +0 -12
- package/lib/components/atoms/fab/fab.component.d.ts +0 -36
- package/lib/components/atoms/fab/types.d.ts +0 -45
- package/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.d.ts +0 -41
- package/lib/components/atoms/horizontal-scroll/types.d.ts +0 -13
- package/lib/components/atoms/href/href.component.d.ts +0 -25
- package/lib/components/atoms/href/types.d.ts +0 -19
- package/lib/components/atoms/icon/icon.component.d.ts +0 -18
- package/lib/components/atoms/icon/types.d.ts +0 -13
- package/lib/components/atoms/image/image.component.d.ts +0 -41
- package/lib/components/atoms/image/types.d.ts +0 -37
- package/lib/components/atoms/price-tag/price-tag.component.d.ts +0 -15
- package/lib/components/atoms/price-tag/types.d.ts +0 -59
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +0 -35
- package/lib/components/atoms/progress-bar/types.d.ts +0 -19
- package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +0 -20
- package/lib/components/atoms/progress-ring/types.d.ts +0 -24
- package/lib/components/atoms/qr-code/qr-code.component.d.ts +0 -33
- package/lib/components/atoms/qr-code/types.d.ts +0 -124
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +0 -53
- package/lib/components/atoms/rights-footer/types.d.ts +0 -21
- package/lib/components/atoms/skeleton/skeleton.component.d.ts +0 -12
- package/lib/components/atoms/skeleton/types.d.ts +0 -29
- package/lib/components/atoms/text/text.component.d.ts +0 -33
- package/lib/components/atoms/text/types.d.ts +0 -42
- package/lib/components/atoms/title/title.component.d.ts +0 -21
- package/lib/components/atoms/title/types.d.ts +0 -36
- package/lib/components/molecules/accordion/accordion.component.d.ts +0 -18
- package/lib/components/molecules/accordion/types.d.ts +0 -47
- package/lib/components/molecules/action-card/action-card.component.d.ts +0 -90
- package/lib/components/molecules/action-card/types.d.ts +0 -83
- package/lib/components/molecules/action-header/action-header.component.d.ts +0 -7
- package/lib/components/molecules/action-header/types.d.ts +0 -6
- package/lib/components/molecules/ad-slot/ad-slot.component.d.ts +0 -69
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +0 -39
- package/lib/components/molecules/alert-box/types.d.ts +0 -37
- package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +0 -22
- package/lib/components/molecules/breadcrumb/types.d.ts +0 -45
- package/lib/components/molecules/button-group/button-group.component.d.ts +0 -23
- package/lib/components/molecules/button-group/types.d.ts +0 -13
- package/lib/components/molecules/card/card.component.d.ts +0 -49
- package/lib/components/molecules/card/types.d.ts +0 -32
- package/lib/components/molecules/check-input/check-input.component.d.ts +0 -36
- package/lib/components/molecules/chip-group/chip-group.component.d.ts +0 -22
- package/lib/components/molecules/chip-group/types.d.ts +0 -65
- package/lib/components/molecules/code-display/code-display.component.d.ts +0 -24
- package/lib/components/molecules/code-display/types.d.ts +0 -10
- package/lib/components/molecules/command-display/command-display.component.d.ts +0 -11
- package/lib/components/molecules/command-display/types.d.ts +0 -3
- package/lib/components/molecules/comment/comment.component.d.ts +0 -42
- package/lib/components/molecules/comment/types.d.ts +0 -171
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +0 -16
- package/lib/components/molecules/comment-input/types.d.ts +0 -59
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +0 -18
- package/lib/components/molecules/content-loader/types.d.ts +0 -15
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +0 -58
- package/lib/components/molecules/content-reaction/types.d.ts +0 -77
- package/lib/components/molecules/currency-input/currency-input.component.d.ts +0 -40
- package/lib/components/molecules/currency-input/types.d.ts +0 -96
- package/lib/components/molecules/date-input/date-input.component.d.ts +0 -40
- package/lib/components/molecules/date-input/types.d.ts +0 -74
- package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +0 -50
- package/lib/components/molecules/date-range-input/types.d.ts +0 -109
- package/lib/components/molecules/docs-api-table/docs-api-table.component.d.ts +0 -41
- package/lib/components/molecules/docs-api-table/types.d.ts +0 -62
- package/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.d.ts +0 -31
- package/lib/components/molecules/docs-breadcrumb/types.d.ts +0 -20
- package/lib/components/molecules/docs-callout/docs-callout.component.d.ts +0 -17
- package/lib/components/molecules/docs-code-example/docs-code-example.component.d.ts +0 -45
- package/lib/components/molecules/docs-code-example/types.d.ts +0 -63
- package/lib/components/molecules/docs-nav-links/docs-nav-links.component.d.ts +0 -30
- package/lib/components/molecules/docs-nav-links/types.d.ts +0 -31
- package/lib/components/molecules/docs-search/docs-search.component.d.ts +0 -47
- package/lib/components/molecules/docs-search/types.d.ts +0 -27
- package/lib/components/molecules/docs-section/docs-section.component.d.ts +0 -29
- package/lib/components/molecules/docs-section/types.d.ts +0 -27
- package/lib/components/molecules/email-input/email-input.component.d.ts +0 -34
- package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +0 -23
- package/lib/components/molecules/expandable-text/types.d.ts +0 -14
- package/lib/components/molecules/features-list/features-list.component.d.ts +0 -66
- package/lib/components/molecules/features-list/types.d.ts +0 -36
- package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +0 -58
- package/lib/components/molecules/feedback-form/types.d.ts +0 -54
- package/lib/components/molecules/file-input/file-input.component.d.ts +0 -25
- package/lib/components/molecules/file-input/types.d.ts +0 -72
- package/lib/components/molecules/footer-links/footer-links.component.d.ts +0 -47
- package/lib/components/molecules/footer-links/types.d.ts +0 -50
- package/lib/components/molecules/glow-card/glow-card.component.d.ts +0 -60
- package/lib/components/molecules/glow-card/types.d.ts +0 -94
- package/lib/components/molecules/hint/hint.component.d.ts +0 -19
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +0 -15
- package/lib/components/molecules/image-crop/image-crop.component.d.ts +0 -59
- package/lib/components/molecules/info/info.component.d.ts +0 -9
- package/lib/components/molecules/info/types.d.ts +0 -10
- package/lib/components/molecules/language-selector/language-selector.component.d.ts +0 -40
- package/lib/components/molecules/language-selector/types.d.ts +0 -82
- package/lib/components/molecules/layered-card/layered-card.component.d.ts +0 -10
- package/lib/components/molecules/layered-card/types.d.ts +0 -15
- package/lib/components/molecules/link/link.component.d.ts +0 -24
- package/lib/components/molecules/link/types.d.ts +0 -19
- package/lib/components/molecules/linked-providers/linked-providers.component.d.ts +0 -30
- package/lib/components/molecules/linked-providers/types.d.ts +0 -38
- package/lib/components/molecules/links-accordion/links-accordion.component.d.ts +0 -61
- package/lib/components/molecules/links-accordion/types.d.ts +0 -39
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +0 -17
- package/lib/components/molecules/links-cake/types.d.ts +0 -13
- package/lib/components/molecules/multi-select-search/multi-select-search.component.d.ts +0 -76
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +0 -21
- package/lib/components/molecules/notes-box/types.d.ts +0 -21
- package/lib/components/molecules/number-from-to/number-from-to.component.d.ts +0 -27
- package/lib/components/molecules/number-from-to/types.d.ts +0 -76
- package/lib/components/molecules/number-input/number-input.component.d.ts +0 -16
- package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +0 -38
- package/lib/components/molecules/number-stepper/types.d.ts +0 -88
- package/lib/components/molecules/pagination/pagination.component.d.ts +0 -15
- package/lib/components/molecules/pagination/types.d.ts +0 -41
- package/lib/components/molecules/participant-card/participant-card.component.d.ts +0 -34
- package/lib/components/molecules/participant-card/types.d.ts +0 -132
- package/lib/components/molecules/password-input/password-input.component.d.ts +0 -37
- package/lib/components/molecules/phone-input/phone-input.component.d.ts +0 -59
- package/lib/components/molecules/phone-input/types.d.ts +0 -98
- package/lib/components/molecules/pill/pill.component.d.ts +0 -33
- package/lib/components/molecules/pill/types.d.ts +0 -9
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +0 -21
- package/lib/components/molecules/pin-input/types.d.ts +0 -69
- package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +0 -22
- package/lib/components/molecules/plain-code-box/types.d.ts +0 -10
- package/lib/components/molecules/popover-selector/popover-selector.component.d.ts +0 -42
- package/lib/components/molecules/popover-selector/types.d.ts +0 -69
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +0 -23
- package/lib/components/molecules/progress-status/types.d.ts +0 -20
- package/lib/components/molecules/prompter/prompter.component.d.ts +0 -10
- package/lib/components/molecules/prompter/types.d.ts +0 -25
- package/lib/components/molecules/quote-box/quote-box.component.d.ts +0 -26
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +0 -15
- package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +0 -21
- package/lib/components/molecules/raffle-status-card/types.d.ts +0 -108
- package/lib/components/molecules/range-input/range-input.component.d.ts +0 -25
- package/lib/components/molecules/range-input/types.d.ts +0 -59
- package/lib/components/molecules/rating/rating.component.d.ts +0 -23
- package/lib/components/molecules/rating/types.d.ts +0 -41
- package/lib/components/molecules/recap-card/recap-card.component.d.ts +0 -36
- package/lib/components/molecules/recap-card/types.d.ts +0 -30
- package/lib/components/molecules/refresher/refresher.component.d.ts +0 -84
- package/lib/components/molecules/refresher/types.d.ts +0 -86
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +0 -43
- package/lib/components/molecules/searchbar/types.d.ts +0 -33
- package/lib/components/molecules/segment-control/segment-control.component.d.ts +0 -35
- package/lib/components/molecules/segment-control/types.d.ts +0 -46
- package/lib/components/molecules/select-input/select-input.component.d.ts +0 -48
- package/lib/components/molecules/select-search/select-search.component.d.ts +0 -76
- package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +0 -22
- package/lib/components/molecules/share-buttons/types.d.ts +0 -108
- package/lib/components/molecules/stats-card/stats-card.component.d.ts +0 -20
- package/lib/components/molecules/stats-card/types.d.ts +0 -60
- package/lib/components/molecules/stepper/stepper.component.d.ts +0 -31
- package/lib/components/molecules/stepper/types.d.ts +0 -66
- package/lib/components/molecules/swipe-carousel/swipe-carousel.component.d.ts +0 -66
- package/lib/components/molecules/swipe-carousel/types.d.ts +0 -35
- package/lib/components/molecules/tabs/tabs.component.d.ts +0 -34
- package/lib/components/molecules/tabs/types.d.ts +0 -45
- package/lib/components/molecules/testimonial-card/testimonial-card.component.d.ts +0 -41
- package/lib/components/molecules/testimonial-card/types.d.ts +0 -25
- package/lib/components/molecules/text-input/text-input.component.d.ts +0 -42
- package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +0 -46
- package/lib/components/molecules/textarea-input/types.d.ts +0 -74
- package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +0 -40
- package/lib/components/molecules/ticket-grid/types.d.ts +0 -122
- package/lib/components/molecules/timeline/timeline.component.d.ts +0 -14
- package/lib/components/molecules/timeline/types.d.ts +0 -39
- package/lib/components/molecules/title-block/title-block.component.d.ts +0 -12
- package/lib/components/molecules/title-block/types.d.ts +0 -15
- package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +0 -39
- package/lib/components/molecules/toggle-input/types.d.ts +0 -30
- package/lib/components/molecules/update-banner/update-banner.component.d.ts +0 -42
- package/lib/components/molecules/username-input/types.d.ts +0 -34
- package/lib/components/molecules/username-input/username-input.component.d.ts +0 -45
- package/lib/components/molecules/winner-display/types.d.ts +0 -103
- package/lib/components/molecules/winner-display/winner-display.component.d.ts +0 -36
- package/lib/components/organisms/article/article.component.d.ts +0 -108
- package/lib/components/organisms/article/types.d.ts +0 -359
- package/lib/components/organisms/avatar-upload/avatar-upload.component.d.ts +0 -84
- package/lib/components/organisms/avatar-upload/types.d.ts +0 -62
- package/lib/components/organisms/banner/banner.component.d.ts +0 -16
- package/lib/components/organisms/banner/types.d.ts +0 -29
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +0 -88
- package/lib/components/organisms/bottom-nav/types.d.ts +0 -118
- package/lib/components/organisms/cards-carousel/cards-carousel.component.d.ts +0 -30
- package/lib/components/organisms/cards-carousel/types.d.ts +0 -11
- package/lib/components/organisms/comment-section/comment-section.component.d.ts +0 -50
- package/lib/components/organisms/comment-section/types.d.ts +0 -144
- package/lib/components/organisms/company-footer/company-footer.component.d.ts +0 -37
- package/lib/components/organisms/company-footer/types.d.ts +0 -15
- package/lib/components/organisms/data-table/data-table.component.d.ts +0 -63
- package/lib/components/organisms/data-table/types.d.ts +0 -219
- package/lib/components/organisms/docs-sidebar/docs-sidebar.component.d.ts +0 -51
- package/lib/components/organisms/docs-sidebar/types.d.ts +0 -93
- package/lib/components/organisms/docs-toc/docs-toc.component.d.ts +0 -62
- package/lib/components/organisms/docs-toc/types.d.ts +0 -62
- package/lib/components/organisms/footer/footer.component.d.ts +0 -36
- package/lib/components/organisms/footer/types.d.ts +0 -16
- package/lib/components/organisms/form/factory.d.ts +0 -17
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +0 -17
- package/lib/components/organisms/form/form.component.d.ts +0 -48
- package/lib/components/organisms/fun-header/fun-header.component.d.ts +0 -72
- package/lib/components/organisms/fun-header/types.d.ts +0 -28
- package/lib/components/organisms/header/header.component.d.ts +0 -22
- package/lib/components/organisms/header/types.d.ts +0 -16
- package/lib/components/organisms/infinite-list/infinite-list.component.d.ts +0 -113
- package/lib/components/organisms/infinite-list/types.d.ts +0 -197
- package/lib/components/organisms/item-list/item-list.component.d.ts +0 -43
- package/lib/components/organisms/item-list/types.d.ts +0 -126
- package/lib/components/organisms/login/login.component.d.ts +0 -79
- package/lib/components/organisms/login/types.d.ts +0 -70
- package/lib/components/organisms/menu/menu.component.d.ts +0 -44
- package/lib/components/organisms/menu/types.d.ts +0 -23
- package/lib/components/organisms/no-content/no-content.component.d.ts +0 -14
- package/lib/components/organisms/no-content/types.d.ts +0 -17
- package/lib/components/organisms/rotating-text/rotating-text.component.d.ts +0 -47
- package/lib/components/organisms/rotating-text/types.d.ts +0 -28
- package/lib/components/organisms/tabbed-content/tabbed-content.component.d.ts +0 -65
- package/lib/components/organisms/tabbed-content/types.d.ts +0 -53
- package/lib/components/organisms/terminal-404/terminal-404.component.d.ts +0 -42
- package/lib/components/organisms/terminal-404/types.d.ts +0 -22
- package/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.d.ts +0 -33
- package/lib/components/organisms/testimonial-carousel/types.d.ts +0 -8
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +0 -85
- package/lib/components/organisms/toolbar/types.d.ts +0 -31
- package/lib/components/organisms/wizard/types.d.ts +0 -42
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +0 -23
- package/lib/components/organisms/wizard/wizard.component.d.ts +0 -27
- package/lib/components/templates/auth-background/auth-background.component.d.ts +0 -59
- package/lib/components/templates/auth-background/types.d.ts +0 -30
- package/lib/components/templates/docs-layout/docs-layout.component.d.ts +0 -42
- package/lib/components/templates/docs-layout/types.d.ts +0 -39
- package/lib/components/templates/docs-page/docs-page.component.d.ts +0 -61
- package/lib/components/templates/docs-page/types.d.ts +0 -121
- package/lib/components/templates/docs-shell/docs-shell.component.d.ts +0 -33
- package/lib/components/templates/docs-shell/types.d.ts +0 -152
- package/lib/components/templates/layout/layout.component.d.ts +0 -5
- package/lib/components/templates/maintenance-page/maintenance-page.component.d.ts +0 -57
- package/lib/components/templates/maintenance-page/types.d.ts +0 -12
- package/lib/components/templates/page-content/page-content.component.d.ts +0 -107
- package/lib/components/templates/page-content/types.d.ts +0 -27
- package/lib/components/templates/page-template/page-template.component.d.ts +0 -54
- package/lib/components/templates/page-template/types.d.ts +0 -17
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +0 -89
- package/lib/components/templates/page-wrapper/types.d.ts +0 -19
- package/lib/components/templates/simple/simple.component.d.ts +0 -14
- package/lib/components/templates/simple/types.d.ts +0 -10
- package/lib/components/types.d.ts +0 -289
- package/lib/config/company-footer.config.d.ts +0 -98
- package/lib/services/ads/ads-loader.service.d.ts +0 -41
- package/lib/services/ads/ads.service.d.ts +0 -99
- package/lib/services/ads/config.d.ts +0 -53
- package/lib/services/ads/index.d.ts +0 -9
- package/lib/services/ads/types.d.ts +0 -106
- package/lib/services/app-config/app-config.service.d.ts +0 -115
- package/lib/services/app-config/config.d.ts +0 -31
- package/lib/services/app-config/index.d.ts +0 -47
- package/lib/services/app-config/types.d.ts +0 -54
- package/lib/services/app-config/version.d.ts +0 -64
- package/lib/services/auth/auth-state.service.d.ts +0 -92
- package/lib/services/auth/auth.service.d.ts +0 -401
- package/lib/services/auth/config.d.ts +0 -38
- package/lib/services/auth/device.service.d.ts +0 -101
- package/lib/services/auth/guards.d.ts +0 -123
- package/lib/services/auth/index.d.ts +0 -83
- package/lib/services/auth/interceptor.d.ts +0 -22
- package/lib/services/auth/oauth-callback.component.d.ts +0 -34
- package/lib/services/auth/oauth.service.d.ts +0 -99
- package/lib/services/auth/session.service.d.ts +0 -60
- package/lib/services/auth/storage.service.d.ts +0 -52
- package/lib/services/auth/sync.service.d.ts +0 -49
- package/lib/services/auth/token.service.d.ts +0 -57
- package/lib/services/auth/types.d.ts +0 -842
- package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +0 -71
- package/lib/services/confirmation-dialog/types.d.ts +0 -61
- package/lib/services/docs/docs-navigation.service.d.ts +0 -51
- package/lib/services/download.service.d.ts +0 -21
- package/lib/services/feedback/config.d.ts +0 -35
- package/lib/services/feedback/feedback.service.d.ts +0 -134
- package/lib/services/feedback/index.d.ts +0 -40
- package/lib/services/feedback/types.d.ts +0 -173
- package/lib/services/firebase/analytics-error-handler.d.ts +0 -54
- package/lib/services/firebase/analytics-router-tracker.d.ts +0 -51
- package/lib/services/firebase/analytics-types.d.ts +0 -221
- package/lib/services/firebase/analytics.service.d.ts +0 -256
- package/lib/services/firebase/config.d.ts +0 -49
- package/lib/services/firebase/firebase.service.d.ts +0 -251
- package/lib/services/firebase/firestore-collection.d.ts +0 -175
- package/lib/services/firebase/firestore.service.d.ts +0 -312
- package/lib/services/firebase/index.d.ts +0 -44
- package/lib/services/firebase/messaging.service.d.ts +0 -293
- package/lib/services/firebase/notifications.service.d.ts +0 -121
- package/lib/services/firebase/shared-config.d.ts +0 -118
- package/lib/services/firebase/storage.service.d.ts +0 -238
- package/lib/services/firebase/types.d.ts +0 -374
- package/lib/services/firebase/utils/path-builder.d.ts +0 -132
- package/lib/services/firebase/utils/query-builder.d.ts +0 -210
- package/lib/services/i18n/config.d.ts +0 -29
- package/lib/services/i18n/default-content.d.ts +0 -30
- package/lib/services/i18n/i18n.service.d.ts +0 -112
- package/lib/services/i18n/index.d.ts +0 -6
- package/lib/services/i18n/input-i18n.helper.d.ts +0 -70
- package/lib/services/i18n/translate.pipe.d.ts +0 -36
- package/lib/services/i18n/types.d.ts +0 -93
- package/lib/services/icons.service.d.ts +0 -9
- package/lib/services/image/image.service.d.ts +0 -76
- package/lib/services/image/types.d.ts +0 -74
- package/lib/services/in-app-browser.service.d.ts +0 -16
- package/lib/services/link-processor.service.d.ts +0 -104
- package/lib/services/local-storage.service.d.ts +0 -27
- package/lib/services/locale.service.d.ts +0 -52
- package/lib/services/meta/meta.service.d.ts +0 -23
- package/lib/services/meta/types.d.ts +0 -12
- package/lib/services/modal/modal.service.d.ts +0 -100
- package/lib/services/modal/simple-modal-content.component.d.ts +0 -19
- package/lib/services/modal/types.d.ts +0 -155
- package/lib/services/navigation/navigation.service.d.ts +0 -134
- package/lib/services/navigation/types.d.ts +0 -67
- package/lib/services/pagination/index.d.ts +0 -2
- package/lib/services/pagination/pagination.service.d.ts +0 -43
- package/lib/services/pagination/types.d.ts +0 -113
- package/lib/services/presets/config.d.ts +0 -32
- package/lib/services/presets/index.d.ts +0 -3
- package/lib/services/presets/preset.service.d.ts +0 -69
- package/lib/services/presets/types.d.ts +0 -39
- package/lib/services/qr-generator/qr-generator.service.d.ts +0 -115
- package/lib/services/qr-generator/types.d.ts +0 -141
- package/lib/services/skeleton/config.d.ts +0 -30
- package/lib/services/skeleton/directives/loading.directive.d.ts +0 -71
- package/lib/services/skeleton/index.d.ts +0 -10
- package/lib/services/skeleton/skeleton.service.d.ts +0 -127
- package/lib/services/skeleton/templates/detail-skeleton.component.d.ts +0 -18
- package/lib/services/skeleton/templates/form-skeleton.component.d.ts +0 -22
- package/lib/services/skeleton/templates/grid-skeleton.component.d.ts +0 -18
- package/lib/services/skeleton/templates/list-skeleton.component.d.ts +0 -17
- package/lib/services/skeleton/templates/profile-skeleton.component.d.ts +0 -20
- package/lib/services/skeleton/templates/table-skeleton.component.d.ts +0 -17
- package/lib/services/skeleton/types.d.ts +0 -111
- package/lib/services/theme.service.d.ts +0 -70
- package/lib/services/toast.service.d.ts +0 -22
- package/lib/services/types.d.ts +0 -1
- package/lib/shared/constants/storage.d.ts +0 -2
- package/lib/shared/pipes/process-links.pipe.d.ts +0 -55
- package/lib/shared/utils/dom.d.ts +0 -13
- package/lib/shared/utils/form-defaults.d.ts +0 -30
- package/lib/shared/utils/styles.d.ts +0 -13
- package/lib/shared/utils/text.d.ts +0 -11
- package/lib/version.d.ts +0 -5
- package/public-api.d.ts +0 -295
- /package/{lib/components/molecules/image-crop/index.d.ts → src/lib/components/molecules/image-crop/index.ts} +0 -0
- /package/{lib/config/index.d.ts → src/lib/config/index.ts} +0 -0
- /package/{lib/services/image/index.d.ts → src/lib/services/image/index.ts} +0 -0
- /package/{lib/services/meta/index.d.ts → src/lib/services/meta/index.ts} +0 -0
- /package/{lib/services/navigation/index.d.ts → src/lib/services/navigation/index.ts} +0 -0
|
@@ -1,183 +0,0 @@
|
|
|
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=
|
|
@@ -1,372 +0,0 @@
|
|
|
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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