valtech-components 2.0.691 → 2.0.693
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +94 -0
- package/esm2022/lib/components/atoms/avatar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/box/box.component.mjs +88 -0
- package/esm2022/lib/components/atoms/box/types.mjs +2 -0
- package/esm2022/lib/components/atoms/button/button.component.mjs +174 -0
- package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
- package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +340 -0
- package/esm2022/lib/components/atoms/countdown/types.mjs +27 -0
- package/esm2022/lib/components/atoms/display/display.component.mjs +51 -0
- package/esm2022/lib/components/atoms/display/types.mjs +2 -0
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +27 -0
- package/esm2022/lib/components/atoms/divider/types.mjs +2 -0
- package/esm2022/lib/components/atoms/fab/fab.component.mjs +190 -0
- package/esm2022/lib/components/atoms/fab/types.mjs +2 -0
- package/esm2022/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.mjs +82 -0
- package/esm2022/lib/components/atoms/horizontal-scroll/types.mjs +2 -0
- package/esm2022/lib/components/atoms/href/href.component.mjs +62 -0
- package/esm2022/lib/components/atoms/href/types.mjs +2 -0
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +29 -0
- package/esm2022/lib/components/atoms/icon/types.mjs +2 -0
- package/esm2022/lib/components/atoms/image/image.component.mjs +507 -0
- package/esm2022/lib/components/atoms/image/types.mjs +2 -0
- package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +235 -0
- package/esm2022/lib/components/atoms/price-tag/types.mjs +15 -0
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +91 -0
- package/esm2022/lib/components/atoms/progress-bar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +149 -0
- package/esm2022/lib/components/atoms/progress-ring/types.mjs +2 -0
- package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +394 -0
- package/esm2022/lib/components/atoms/qr-code/types.mjs +2 -0
- package/esm2022/lib/components/atoms/rights-footer/rights-footer.component.mjs +108 -0
- package/esm2022/lib/components/atoms/rights-footer/types.mjs +2 -0
- package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +193 -0
- package/esm2022/lib/components/atoms/skeleton/types.mjs +13 -0
- package/esm2022/lib/components/atoms/text/text.component.mjs +132 -0
- package/esm2022/lib/components/atoms/text/types.mjs +2 -0
- package/esm2022/lib/components/atoms/title/title.component.mjs +68 -0
- package/esm2022/lib/components/atoms/title/types.mjs +22 -0
- package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +120 -0
- package/esm2022/lib/components/molecules/accordion/types.mjs +2 -0
- package/esm2022/lib/components/molecules/action-card/action-card.component.mjs +298 -0
- package/esm2022/lib/components/molecules/action-card/types.mjs +11 -0
- package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +26 -0
- package/esm2022/lib/components/molecules/action-header/types.mjs +2 -0
- package/esm2022/lib/components/molecules/ad-slot/ad-slot.component.mjs +274 -0
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +119 -0
- package/esm2022/lib/components/molecules/alert-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +130 -0
- package/esm2022/lib/components/molecules/breadcrumb/types.mjs +2 -0
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +63 -0
- package/esm2022/lib/components/molecules/button-group/types.mjs +2 -0
- package/esm2022/lib/components/molecules/card/card.component.mjs +450 -0
- package/esm2022/lib/components/molecules/card/types.mjs +16 -0
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +82 -0
- package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +166 -0
- package/esm2022/lib/components/molecules/chip-group/types.mjs +2 -0
- package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +115 -0
- package/esm2022/lib/components/molecules/code-display/types.mjs +2 -0
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +49 -0
- package/esm2022/lib/components/molecules/command-display/types.mjs +2 -0
- package/esm2022/lib/components/molecules/comment/comment.component.mjs +618 -0
- package/esm2022/lib/components/molecules/comment/types.mjs +2 -0
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +41 -0
- package/esm2022/lib/components/molecules/comment-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +42 -0
- package/esm2022/lib/components/molecules/content-loader/types.mjs +2 -0
- package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +218 -0
- package/esm2022/lib/components/molecules/content-reaction/types.mjs +2 -0
- package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +347 -0
- package/esm2022/lib/components/molecules/currency-input/types.mjs +18 -0
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +148 -0
- package/esm2022/lib/components/molecules/date-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +416 -0
- package/esm2022/lib/components/molecules/date-range-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-api-table/docs-api-table.component.mjs +222 -0
- package/esm2022/lib/components/molecules/docs-api-table/types.mjs +11 -0
- package/esm2022/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.mjs +144 -0
- package/esm2022/lib/components/molecules/docs-breadcrumb/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-callout/docs-callout.component.mjs +60 -0
- package/esm2022/lib/components/molecules/docs-code-example/docs-code-example.component.mjs +255 -0
- package/esm2022/lib/components/molecules/docs-code-example/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-nav-links/docs-nav-links.component.mjs +140 -0
- package/esm2022/lib/components/molecules/docs-nav-links/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-search/docs-search.component.mjs +268 -0
- package/esm2022/lib/components/molecules/docs-search/types.mjs +2 -0
- package/esm2022/lib/components/molecules/docs-section/docs-section.component.mjs +85 -0
- package/esm2022/lib/components/molecules/docs-section/types.mjs +2 -0
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +68 -0
- package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +77 -0
- package/esm2022/lib/components/molecules/expandable-text/types.mjs +2 -0
- package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +185 -0
- package/esm2022/lib/components/molecules/features-list/types.mjs +11 -0
- package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +354 -0
- package/esm2022/lib/components/molecules/feedback-form/types.mjs +2 -0
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +90 -0
- package/esm2022/lib/components/molecules/file-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/footer-links/footer-links.component.mjs +391 -0
- package/esm2022/lib/components/molecules/footer-links/types.mjs +2 -0
- package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +314 -0
- package/esm2022/lib/components/molecules/glow-card/types.mjs +11 -0
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +90 -0
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +28 -0
- package/esm2022/lib/components/molecules/image-crop/image-crop.component.mjs +174 -0
- package/esm2022/lib/components/molecules/image-crop/index.mjs +2 -0
- package/esm2022/lib/components/molecules/info/info.component.mjs +49 -0
- package/esm2022/lib/components/molecules/info/types.mjs +2 -0
- package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +221 -0
- package/esm2022/lib/components/molecules/language-selector/types.mjs +2 -0
- package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +104 -0
- package/esm2022/lib/components/molecules/layered-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/link/link.component.mjs +64 -0
- package/esm2022/lib/components/molecules/link/types.mjs +2 -0
- package/esm2022/lib/components/molecules/linked-providers/linked-providers.component.mjs +236 -0
- package/esm2022/lib/components/molecules/linked-providers/types.mjs +27 -0
- package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +185 -0
- package/esm2022/lib/components/molecules/links-accordion/types.mjs +2 -0
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +51 -0
- package/esm2022/lib/components/molecules/links-cake/types.mjs +2 -0
- package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +488 -0
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +69 -0
- package/esm2022/lib/components/molecules/notes-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +143 -0
- package/esm2022/lib/components/molecules/number-from-to/types.mjs +2 -0
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +34 -0
- package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +379 -0
- package/esm2022/lib/components/molecules/number-stepper/types.mjs +2 -0
- package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +253 -0
- package/esm2022/lib/components/molecules/pagination/types.mjs +2 -0
- package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +514 -0
- package/esm2022/lib/components/molecules/participant-card/types.mjs +21 -0
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +93 -0
- package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +365 -0
- package/esm2022/lib/components/molecules/phone-input/types.mjs +19 -0
- package/esm2022/lib/components/molecules/pill/pill.component.mjs +92 -0
- package/esm2022/lib/components/molecules/pill/types.mjs +2 -0
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +78 -0
- package/esm2022/lib/components/molecules/pin-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +82 -0
- package/esm2022/lib/components/molecules/plain-code-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +188 -0
- package/esm2022/lib/components/molecules/popover-selector/types.mjs +2 -0
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +105 -0
- package/esm2022/lib/components/molecules/progress-status/types.mjs +2 -0
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +85 -0
- package/esm2022/lib/components/molecules/prompter/types.mjs +2 -0
- package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +155 -0
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +52 -0
- package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +476 -0
- package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +23 -0
- package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +127 -0
- package/esm2022/lib/components/molecules/range-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/rating/rating.component.mjs +166 -0
- package/esm2022/lib/components/molecules/rating/types.mjs +2 -0
- package/esm2022/lib/components/molecules/recap-card/recap-card.component.mjs +78 -0
- package/esm2022/lib/components/molecules/recap-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/refresher/refresher.component.mjs +271 -0
- package/esm2022/lib/components/molecules/refresher/types.mjs +15 -0
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +127 -0
- package/esm2022/lib/components/molecules/searchbar/types.mjs +2 -0
- package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +137 -0
- package/esm2022/lib/components/molecules/segment-control/types.mjs +2 -0
- package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +130 -0
- package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +420 -0
- package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +274 -0
- package/esm2022/lib/components/molecules/share-buttons/types.mjs +88 -0
- package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +213 -0
- package/esm2022/lib/components/molecules/stats-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +242 -0
- package/esm2022/lib/components/molecules/stepper/types.mjs +2 -0
- package/esm2022/lib/components/molecules/swipe-carousel/swipe-carousel.component.mjs +206 -0
- package/esm2022/lib/components/molecules/swipe-carousel/types.mjs +2 -0
- package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +139 -0
- package/esm2022/lib/components/molecules/tabs/types.mjs +2 -0
- package/esm2022/lib/components/molecules/testimonial-card/testimonial-card.component.mjs +138 -0
- package/esm2022/lib/components/molecules/testimonial-card/types.mjs +2 -0
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +77 -0
- package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +213 -0
- package/esm2022/lib/components/molecules/textarea-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +489 -0
- package/esm2022/lib/components/molecules/ticket-grid/types.mjs +11 -0
- package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +140 -0
- package/esm2022/lib/components/molecules/timeline/types.mjs +2 -0
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +102 -0
- package/esm2022/lib/components/molecules/title-block/types.mjs +2 -0
- package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +93 -0
- package/esm2022/lib/components/molecules/toggle-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/update-banner/update-banner.component.mjs +112 -0
- package/esm2022/lib/components/molecules/username-input/types.mjs +2 -0
- package/esm2022/lib/components/molecules/username-input/username-input.component.mjs +260 -0
- package/esm2022/lib/components/molecules/winner-display/types.mjs +9 -0
- package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +359 -0
- package/esm2022/lib/components/organisms/article/article.component.mjs +573 -0
- package/esm2022/lib/components/organisms/article/types.mjs +183 -0
- package/esm2022/lib/components/organisms/avatar-upload/avatar-upload.component.mjs +372 -0
- package/esm2022/lib/components/organisms/avatar-upload/types.mjs +15 -0
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +111 -0
- package/esm2022/lib/components/organisms/banner/types.mjs +2 -0
- package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +368 -0
- package/esm2022/lib/components/organisms/bottom-nav/types.mjs +18 -0
- package/esm2022/lib/components/organisms/cards-carousel/cards-carousel.component.mjs +61 -0
- package/esm2022/lib/components/organisms/cards-carousel/types.mjs +2 -0
- package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +537 -0
- package/esm2022/lib/components/organisms/comment-section/types.mjs +2 -0
- package/esm2022/lib/components/organisms/company-footer/company-footer.component.mjs +76 -0
- package/esm2022/lib/components/organisms/company-footer/types.mjs +2 -0
- package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +1081 -0
- package/esm2022/lib/components/organisms/data-table/types.mjs +13 -0
- package/esm2022/lib/components/organisms/docs-sidebar/docs-sidebar.component.mjs +290 -0
- package/esm2022/lib/components/organisms/docs-sidebar/types.mjs +2 -0
- package/esm2022/lib/components/organisms/docs-toc/docs-toc.component.mjs +307 -0
- package/esm2022/lib/components/organisms/docs-toc/types.mjs +2 -0
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +73 -0
- package/esm2022/lib/components/organisms/footer/types.mjs +2 -0
- package/esm2022/lib/components/organisms/form/factory.mjs +29 -0
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +83 -0
- package/esm2022/lib/components/organisms/form/form.component.mjs +417 -0
- package/esm2022/lib/components/organisms/fun-header/fun-header.component.mjs +225 -0
- package/esm2022/lib/components/organisms/fun-header/types.mjs +2 -0
- package/esm2022/lib/components/organisms/header/header.component.mjs +51 -0
- package/esm2022/lib/components/organisms/header/types.mjs +2 -0
- package/esm2022/lib/components/organisms/infinite-list/infinite-list.component.mjs +620 -0
- package/esm2022/lib/components/organisms/infinite-list/types.mjs +15 -0
- package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +418 -0
- package/esm2022/lib/components/organisms/item-list/types.mjs +2 -0
- package/esm2022/lib/components/organisms/login/login.component.mjs +741 -0
- package/esm2022/lib/components/organisms/login/types.mjs +11 -0
- package/esm2022/lib/components/organisms/menu/menu.component.mjs +206 -0
- package/esm2022/lib/components/organisms/menu/types.mjs +2 -0
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +66 -0
- package/esm2022/lib/components/organisms/no-content/types.mjs +2 -0
- package/esm2022/lib/components/organisms/rotating-text/rotating-text.component.mjs +180 -0
- package/esm2022/lib/components/organisms/rotating-text/types.mjs +2 -0
- package/esm2022/lib/components/organisms/tabbed-content/tabbed-content.component.mjs +170 -0
- package/esm2022/lib/components/organisms/tabbed-content/types.mjs +2 -0
- package/esm2022/lib/components/organisms/terminal-404/terminal-404.component.mjs +214 -0
- package/esm2022/lib/components/organisms/terminal-404/types.mjs +2 -0
- package/esm2022/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.mjs +72 -0
- package/esm2022/lib/components/organisms/testimonial-carousel/types.mjs +2 -0
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +237 -0
- package/esm2022/lib/components/organisms/toolbar/types.mjs +2 -0
- package/esm2022/lib/components/organisms/wizard/types.mjs +10 -0
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +111 -0
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +161 -0
- package/esm2022/lib/components/templates/auth-background/auth-background.component.mjs +149 -0
- package/esm2022/lib/components/templates/auth-background/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-layout/docs-layout.component.mjs +221 -0
- package/esm2022/lib/components/templates/docs-layout/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-page/docs-page.component.mjs +251 -0
- package/esm2022/lib/components/templates/docs-page/types.mjs +2 -0
- package/esm2022/lib/components/templates/docs-shell/docs-shell.component.mjs +376 -0
- package/esm2022/lib/components/templates/docs-shell/types.mjs +2 -0
- package/esm2022/lib/components/templates/layout/layout.component.mjs +19 -0
- package/esm2022/lib/components/templates/maintenance-page/maintenance-page.component.mjs +153 -0
- package/esm2022/lib/components/templates/maintenance-page/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +193 -0
- package/esm2022/lib/components/templates/page-content/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-template/page-template.component.mjs +188 -0
- package/esm2022/lib/components/templates/page-template/types.mjs +2 -0
- package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +192 -0
- package/esm2022/lib/components/templates/page-wrapper/types.mjs +2 -0
- package/esm2022/lib/components/templates/simple/simple.component.mjs +125 -0
- package/esm2022/lib/components/templates/simple/types.mjs +2 -0
- package/esm2022/lib/components/types.mjs +58 -0
- package/esm2022/lib/config/company-footer.config.mjs +109 -0
- package/esm2022/lib/config/index.mjs +5 -0
- package/esm2022/lib/services/ads/ads-loader.service.mjs +120 -0
- package/esm2022/lib/services/ads/ads.service.mjs +236 -0
- package/esm2022/lib/services/ads/config.mjs +81 -0
- package/esm2022/lib/services/ads/index.mjs +13 -0
- package/esm2022/lib/services/ads/types.mjs +23 -0
- package/esm2022/lib/services/app-config/app-config.service.mjs +209 -0
- package/esm2022/lib/services/app-config/config.mjs +47 -0
- package/esm2022/lib/services/app-config/index.mjs +48 -0
- package/esm2022/lib/services/app-config/types.mjs +13 -0
- package/esm2022/lib/services/app-config/version.mjs +85 -0
- package/esm2022/lib/services/auth/auth-state.service.mjs +186 -0
- package/esm2022/lib/services/auth/auth.service.mjs +1087 -0
- package/esm2022/lib/services/auth/config.mjs +77 -0
- package/esm2022/lib/services/auth/device.service.mjs +135 -0
- package/esm2022/lib/services/auth/guards.mjs +194 -0
- package/esm2022/lib/services/auth/index.mjs +92 -0
- package/esm2022/lib/services/auth/interceptor.mjs +122 -0
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +169 -0
- package/esm2022/lib/services/auth/oauth.service.mjs +318 -0
- package/esm2022/lib/services/auth/session.service.mjs +78 -0
- package/esm2022/lib/services/auth/storage.service.mjs +152 -0
- package/esm2022/lib/services/auth/sync.service.mjs +149 -0
- package/esm2022/lib/services/auth/token.service.mjs +122 -0
- package/esm2022/lib/services/auth/types.mjs +30 -0
- package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +180 -0
- package/esm2022/lib/services/confirmation-dialog/types.mjs +14 -0
- package/esm2022/lib/services/docs/docs-navigation.service.mjs +91 -0
- package/esm2022/lib/services/download.service.mjs +80 -0
- package/esm2022/lib/services/feedback/config.mjs +49 -0
- package/esm2022/lib/services/feedback/feedback.service.mjs +296 -0
- package/esm2022/lib/services/feedback/index.mjs +44 -0
- package/esm2022/lib/services/feedback/types.mjs +30 -0
- package/esm2022/lib/services/firebase/analytics-error-handler.mjs +141 -0
- package/esm2022/lib/services/firebase/analytics-router-tracker.mjs +99 -0
- package/esm2022/lib/services/firebase/analytics-types.mjs +7 -0
- package/esm2022/lib/services/firebase/analytics.service.mjs +620 -0
- package/esm2022/lib/services/firebase/config.mjs +131 -0
- package/esm2022/lib/services/firebase/firebase.service.mjs +456 -0
- package/esm2022/lib/services/firebase/firestore-collection.mjs +262 -0
- package/esm2022/lib/services/firebase/firestore.service.mjs +536 -0
- package/esm2022/lib/services/firebase/index.mjs +56 -0
- package/esm2022/lib/services/firebase/messaging.service.mjs +597 -0
- package/esm2022/lib/services/firebase/notifications.service.mjs +210 -0
- package/esm2022/lib/services/firebase/shared-config.mjs +114 -0
- package/esm2022/lib/services/firebase/storage.service.mjs +472 -0
- package/esm2022/lib/services/firebase/types.mjs +18 -0
- package/esm2022/lib/services/firebase/utils/path-builder.mjs +195 -0
- package/esm2022/lib/services/firebase/utils/query-builder.mjs +302 -0
- package/esm2022/lib/services/i18n/config.mjs +110 -0
- package/esm2022/lib/services/i18n/default-content.mjs +563 -0
- package/esm2022/lib/services/i18n/i18n.service.mjs +196 -0
- package/esm2022/lib/services/i18n/index.mjs +13 -0
- package/esm2022/lib/services/i18n/input-i18n.helper.mjs +97 -0
- package/esm2022/lib/services/i18n/translate.pipe.mjs +50 -0
- package/esm2022/lib/services/i18n/types.mjs +15 -0
- package/esm2022/lib/services/icons.service.mjs +76 -0
- package/esm2022/lib/services/image/image.service.mjs +244 -0
- package/esm2022/lib/services/image/index.mjs +3 -0
- package/esm2022/lib/services/image/types.mjs +13 -0
- package/esm2022/lib/services/in-app-browser.service.mjs +35 -0
- package/esm2022/lib/services/link-processor.service.mjs +259 -0
- package/esm2022/lib/services/local-storage.service.mjs +37 -0
- package/esm2022/lib/services/locale.service.mjs +75 -0
- package/esm2022/lib/services/meta/index.mjs +3 -0
- package/esm2022/lib/services/meta/meta.service.mjs +63 -0
- package/esm2022/lib/services/meta/types.mjs +2 -0
- package/esm2022/lib/services/modal/modal.service.mjs +212 -0
- package/esm2022/lib/services/modal/simple-modal-content.component.mjs +133 -0
- package/esm2022/lib/services/modal/types.mjs +26 -0
- package/esm2022/lib/services/navigation/index.mjs +3 -0
- package/esm2022/lib/services/navigation/navigation.service.mjs +216 -0
- package/esm2022/lib/services/navigation/types.mjs +16 -0
- package/esm2022/lib/services/pagination/index.mjs +5 -0
- package/esm2022/lib/services/pagination/pagination.service.mjs +218 -0
- package/esm2022/lib/services/pagination/types.mjs +14 -0
- package/esm2022/lib/services/presets/config.mjs +46 -0
- package/esm2022/lib/services/presets/index.mjs +5 -0
- package/esm2022/lib/services/presets/preset.service.mjs +104 -0
- package/esm2022/lib/services/presets/types.mjs +2 -0
- package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +341 -0
- package/esm2022/lib/services/qr-generator/types.mjs +46 -0
- package/esm2022/lib/services/skeleton/config.mjs +79 -0
- package/esm2022/lib/services/skeleton/directives/loading.directive.mjs +215 -0
- package/esm2022/lib/services/skeleton/index.mjs +16 -0
- package/esm2022/lib/services/skeleton/skeleton.service.mjs +198 -0
- package/esm2022/lib/services/skeleton/templates/detail-skeleton.component.mjs +223 -0
- package/esm2022/lib/services/skeleton/templates/form-skeleton.component.mjs +127 -0
- package/esm2022/lib/services/skeleton/templates/grid-skeleton.component.mjs +154 -0
- package/esm2022/lib/services/skeleton/templates/list-skeleton.component.mjs +110 -0
- package/esm2022/lib/services/skeleton/templates/profile-skeleton.component.mjs +207 -0
- package/esm2022/lib/services/skeleton/templates/table-skeleton.component.mjs +116 -0
- package/esm2022/lib/services/skeleton/types.mjs +11 -0
- package/esm2022/lib/services/theme.service.mjs +144 -0
- package/esm2022/lib/services/toast.service.mjs +47 -0
- package/esm2022/lib/services/types.mjs +5 -0
- package/esm2022/lib/shared/constants/storage.mjs +3 -0
- package/esm2022/lib/shared/pipes/process-links.pipe.mjs +69 -0
- package/esm2022/lib/shared/utils/dom.mjs +27 -0
- package/esm2022/lib/shared/utils/form-defaults.mjs +112 -0
- package/esm2022/lib/shared/utils/styles.mjs +37 -0
- package/esm2022/lib/shared/utils/text.mjs +12 -0
- package/esm2022/lib/version.mjs +6 -0
- package/esm2022/public-api.mjs +333 -0
- package/esm2022/valtech-components.mjs +5 -0
- package/fesm2022/valtech-components.mjs +42069 -0
- package/fesm2022/valtech-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/atoms/avatar/avatar.component.d.ts +36 -0
- package/lib/components/atoms/avatar/types.d.ts +15 -0
- package/lib/components/atoms/box/box.component.d.ts +26 -0
- package/lib/components/atoms/box/types.d.ts +19 -0
- package/lib/components/atoms/button/button.component.d.ts +63 -0
- package/lib/components/atoms/button/factory.d.ts +71 -0
- package/lib/components/atoms/countdown/countdown.component.d.ts +38 -0
- package/lib/components/atoms/countdown/types.d.ts +108 -0
- package/lib/components/atoms/display/display.component.d.ts +19 -0
- package/lib/components/atoms/display/types.d.ts +33 -0
- package/lib/components/atoms/divider/divider.component.d.ts +27 -0
- package/lib/components/atoms/divider/types.d.ts +12 -0
- package/lib/components/atoms/fab/fab.component.d.ts +36 -0
- package/lib/components/atoms/fab/types.d.ts +45 -0
- package/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.d.ts +41 -0
- package/lib/components/atoms/horizontal-scroll/types.d.ts +13 -0
- package/lib/components/atoms/href/href.component.d.ts +25 -0
- package/lib/components/atoms/href/types.d.ts +19 -0
- package/lib/components/atoms/icon/icon.component.d.ts +18 -0
- package/lib/components/atoms/icon/types.d.ts +13 -0
- package/lib/components/atoms/image/image.component.d.ts +41 -0
- package/lib/components/atoms/image/types.d.ts +37 -0
- package/lib/components/atoms/price-tag/price-tag.component.d.ts +15 -0
- package/lib/components/atoms/price-tag/types.d.ts +59 -0
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +35 -0
- package/lib/components/atoms/progress-bar/types.d.ts +19 -0
- package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +20 -0
- package/lib/components/atoms/progress-ring/types.d.ts +24 -0
- package/lib/components/atoms/qr-code/qr-code.component.d.ts +33 -0
- package/lib/components/atoms/qr-code/types.d.ts +124 -0
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +53 -0
- package/lib/components/atoms/rights-footer/types.d.ts +21 -0
- package/lib/components/atoms/skeleton/skeleton.component.d.ts +12 -0
- package/lib/components/atoms/skeleton/types.d.ts +29 -0
- package/lib/components/atoms/text/text.component.d.ts +33 -0
- package/lib/components/atoms/text/types.d.ts +42 -0
- package/lib/components/atoms/title/title.component.d.ts +21 -0
- package/lib/components/atoms/title/types.d.ts +36 -0
- package/lib/components/molecules/accordion/accordion.component.d.ts +18 -0
- package/lib/components/molecules/accordion/types.d.ts +47 -0
- package/lib/components/molecules/action-card/action-card.component.d.ts +90 -0
- package/lib/components/molecules/action-card/types.d.ts +83 -0
- package/lib/components/molecules/action-header/action-header.component.d.ts +7 -0
- package/lib/components/molecules/action-header/types.d.ts +6 -0
- package/lib/components/molecules/ad-slot/ad-slot.component.d.ts +69 -0
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +39 -0
- package/lib/components/molecules/alert-box/types.d.ts +37 -0
- package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +22 -0
- package/lib/components/molecules/breadcrumb/types.d.ts +45 -0
- package/lib/components/molecules/button-group/button-group.component.d.ts +23 -0
- package/lib/components/molecules/button-group/types.d.ts +13 -0
- package/lib/components/molecules/card/card.component.d.ts +49 -0
- package/lib/components/molecules/card/types.d.ts +32 -0
- package/lib/components/molecules/check-input/check-input.component.d.ts +36 -0
- package/lib/components/molecules/chip-group/chip-group.component.d.ts +22 -0
- package/lib/components/molecules/chip-group/types.d.ts +65 -0
- package/lib/components/molecules/code-display/code-display.component.d.ts +24 -0
- package/lib/components/molecules/code-display/types.d.ts +10 -0
- package/lib/components/molecules/command-display/command-display.component.d.ts +11 -0
- package/lib/components/molecules/command-display/types.d.ts +3 -0
- package/lib/components/molecules/comment/comment.component.d.ts +42 -0
- package/lib/components/molecules/comment/types.d.ts +171 -0
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +16 -0
- package/lib/components/molecules/comment-input/types.d.ts +59 -0
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +18 -0
- package/lib/components/molecules/content-loader/types.d.ts +15 -0
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +58 -0
- package/lib/components/molecules/content-reaction/types.d.ts +77 -0
- package/lib/components/molecules/currency-input/currency-input.component.d.ts +40 -0
- package/lib/components/molecules/currency-input/types.d.ts +96 -0
- package/lib/components/molecules/date-input/date-input.component.d.ts +40 -0
- package/lib/components/molecules/date-input/types.d.ts +74 -0
- package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +50 -0
- package/lib/components/molecules/date-range-input/types.d.ts +109 -0
- package/lib/components/molecules/docs-api-table/docs-api-table.component.d.ts +41 -0
- package/lib/components/molecules/docs-api-table/types.d.ts +62 -0
- package/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.d.ts +31 -0
- package/lib/components/molecules/docs-breadcrumb/types.d.ts +20 -0
- package/lib/components/molecules/docs-callout/docs-callout.component.d.ts +17 -0
- package/lib/components/molecules/docs-code-example/docs-code-example.component.d.ts +45 -0
- package/lib/components/molecules/docs-code-example/types.d.ts +63 -0
- package/lib/components/molecules/docs-nav-links/docs-nav-links.component.d.ts +30 -0
- package/lib/components/molecules/docs-nav-links/types.d.ts +31 -0
- package/lib/components/molecules/docs-search/docs-search.component.d.ts +47 -0
- package/lib/components/molecules/docs-search/types.d.ts +27 -0
- package/lib/components/molecules/docs-section/docs-section.component.d.ts +29 -0
- package/lib/components/molecules/docs-section/types.d.ts +27 -0
- package/lib/components/molecules/email-input/email-input.component.d.ts +34 -0
- package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +23 -0
- package/lib/components/molecules/expandable-text/types.d.ts +14 -0
- package/lib/components/molecules/features-list/features-list.component.d.ts +66 -0
- package/lib/components/molecules/features-list/types.d.ts +36 -0
- package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +58 -0
- package/lib/components/molecules/feedback-form/types.d.ts +54 -0
- package/lib/components/molecules/file-input/file-input.component.d.ts +25 -0
- package/lib/components/molecules/file-input/types.d.ts +72 -0
- package/lib/components/molecules/footer-links/footer-links.component.d.ts +47 -0
- package/lib/components/molecules/footer-links/types.d.ts +50 -0
- package/lib/components/molecules/glow-card/glow-card.component.d.ts +60 -0
- package/lib/components/molecules/glow-card/types.d.ts +94 -0
- package/lib/components/molecules/hint/hint.component.d.ts +19 -0
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +15 -0
- package/lib/components/molecules/image-crop/image-crop.component.d.ts +59 -0
- package/lib/components/molecules/info/info.component.d.ts +9 -0
- package/lib/components/molecules/info/types.d.ts +10 -0
- package/lib/components/molecules/language-selector/language-selector.component.d.ts +40 -0
- package/lib/components/molecules/language-selector/types.d.ts +82 -0
- package/lib/components/molecules/layered-card/layered-card.component.d.ts +10 -0
- package/lib/components/molecules/layered-card/types.d.ts +15 -0
- package/lib/components/molecules/link/link.component.d.ts +24 -0
- package/lib/components/molecules/link/types.d.ts +19 -0
- package/lib/components/molecules/linked-providers/linked-providers.component.d.ts +30 -0
- package/lib/components/molecules/linked-providers/types.d.ts +38 -0
- package/lib/components/molecules/links-accordion/links-accordion.component.d.ts +61 -0
- package/lib/components/molecules/links-accordion/types.d.ts +39 -0
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +17 -0
- package/lib/components/molecules/links-cake/types.d.ts +13 -0
- package/lib/components/molecules/multi-select-search/multi-select-search.component.d.ts +76 -0
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +21 -0
- package/lib/components/molecules/notes-box/types.d.ts +21 -0
- package/lib/components/molecules/number-from-to/number-from-to.component.d.ts +27 -0
- package/lib/components/molecules/number-from-to/types.d.ts +76 -0
- package/lib/components/molecules/number-input/number-input.component.d.ts +16 -0
- package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +38 -0
- package/lib/components/molecules/number-stepper/types.d.ts +88 -0
- package/lib/components/molecules/pagination/pagination.component.d.ts +15 -0
- package/lib/components/molecules/pagination/types.d.ts +41 -0
- package/lib/components/molecules/participant-card/participant-card.component.d.ts +34 -0
- package/lib/components/molecules/participant-card/types.d.ts +132 -0
- package/lib/components/molecules/password-input/password-input.component.d.ts +37 -0
- package/lib/components/molecules/phone-input/phone-input.component.d.ts +59 -0
- package/lib/components/molecules/phone-input/types.d.ts +98 -0
- package/lib/components/molecules/pill/pill.component.d.ts +33 -0
- package/lib/components/molecules/pill/types.d.ts +9 -0
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +21 -0
- package/lib/components/molecules/pin-input/types.d.ts +69 -0
- package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +22 -0
- package/lib/components/molecules/plain-code-box/types.d.ts +10 -0
- package/lib/components/molecules/popover-selector/popover-selector.component.d.ts +42 -0
- package/lib/components/molecules/popover-selector/types.d.ts +69 -0
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +23 -0
- package/lib/components/molecules/progress-status/types.d.ts +20 -0
- package/lib/components/molecules/prompter/prompter.component.d.ts +10 -0
- package/lib/components/molecules/prompter/types.d.ts +25 -0
- package/lib/components/molecules/quote-box/quote-box.component.d.ts +26 -0
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +15 -0
- package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +21 -0
- package/lib/components/molecules/raffle-status-card/types.d.ts +108 -0
- package/lib/components/molecules/range-input/range-input.component.d.ts +25 -0
- package/lib/components/molecules/range-input/types.d.ts +59 -0
- package/lib/components/molecules/rating/rating.component.d.ts +23 -0
- package/lib/components/molecules/rating/types.d.ts +41 -0
- package/lib/components/molecules/recap-card/recap-card.component.d.ts +36 -0
- package/lib/components/molecules/recap-card/types.d.ts +30 -0
- package/lib/components/molecules/refresher/refresher.component.d.ts +84 -0
- package/lib/components/molecules/refresher/types.d.ts +86 -0
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +43 -0
- package/lib/components/molecules/searchbar/types.d.ts +33 -0
- package/lib/components/molecules/segment-control/segment-control.component.d.ts +35 -0
- package/lib/components/molecules/segment-control/types.d.ts +46 -0
- package/lib/components/molecules/select-input/select-input.component.d.ts +48 -0
- package/lib/components/molecules/select-search/select-search.component.d.ts +76 -0
- package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +22 -0
- package/lib/components/molecules/share-buttons/types.d.ts +108 -0
- package/lib/components/molecules/stats-card/stats-card.component.d.ts +20 -0
- package/lib/components/molecules/stats-card/types.d.ts +60 -0
- package/lib/components/molecules/stepper/stepper.component.d.ts +31 -0
- package/lib/components/molecules/stepper/types.d.ts +66 -0
- package/lib/components/molecules/swipe-carousel/swipe-carousel.component.d.ts +66 -0
- package/lib/components/molecules/swipe-carousel/types.d.ts +35 -0
- package/lib/components/molecules/tabs/tabs.component.d.ts +34 -0
- package/lib/components/molecules/tabs/types.d.ts +45 -0
- package/lib/components/molecules/testimonial-card/testimonial-card.component.d.ts +41 -0
- package/lib/components/molecules/testimonial-card/types.d.ts +25 -0
- package/lib/components/molecules/text-input/text-input.component.d.ts +42 -0
- package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +46 -0
- package/lib/components/molecules/textarea-input/types.d.ts +74 -0
- package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +40 -0
- package/lib/components/molecules/ticket-grid/types.d.ts +122 -0
- package/lib/components/molecules/timeline/timeline.component.d.ts +14 -0
- package/lib/components/molecules/timeline/types.d.ts +39 -0
- package/lib/components/molecules/title-block/title-block.component.d.ts +12 -0
- package/lib/components/molecules/title-block/types.d.ts +15 -0
- package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +39 -0
- package/lib/components/molecules/toggle-input/types.d.ts +30 -0
- package/lib/components/molecules/update-banner/update-banner.component.d.ts +42 -0
- package/lib/components/molecules/username-input/types.d.ts +34 -0
- package/lib/components/molecules/username-input/username-input.component.d.ts +45 -0
- package/lib/components/molecules/winner-display/types.d.ts +103 -0
- package/lib/components/molecules/winner-display/winner-display.component.d.ts +36 -0
- package/lib/components/organisms/article/article.component.d.ts +108 -0
- package/lib/components/organisms/article/types.d.ts +359 -0
- package/lib/components/organisms/avatar-upload/avatar-upload.component.d.ts +84 -0
- package/lib/components/organisms/avatar-upload/types.d.ts +62 -0
- package/lib/components/organisms/banner/banner.component.d.ts +16 -0
- package/lib/components/organisms/banner/types.d.ts +29 -0
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +88 -0
- package/lib/components/organisms/bottom-nav/types.d.ts +118 -0
- package/lib/components/organisms/cards-carousel/cards-carousel.component.d.ts +30 -0
- package/lib/components/organisms/cards-carousel/types.d.ts +11 -0
- package/lib/components/organisms/comment-section/comment-section.component.d.ts +50 -0
- package/lib/components/organisms/comment-section/types.d.ts +144 -0
- package/lib/components/organisms/company-footer/company-footer.component.d.ts +37 -0
- package/lib/components/organisms/company-footer/types.d.ts +15 -0
- package/lib/components/organisms/data-table/data-table.component.d.ts +63 -0
- package/lib/components/organisms/data-table/types.d.ts +219 -0
- package/lib/components/organisms/docs-sidebar/docs-sidebar.component.d.ts +51 -0
- package/lib/components/organisms/docs-sidebar/types.d.ts +93 -0
- package/lib/components/organisms/docs-toc/docs-toc.component.d.ts +62 -0
- package/lib/components/organisms/docs-toc/types.d.ts +62 -0
- package/lib/components/organisms/footer/footer.component.d.ts +36 -0
- package/lib/components/organisms/footer/types.d.ts +16 -0
- package/lib/components/organisms/form/factory.d.ts +17 -0
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +17 -0
- package/lib/components/organisms/form/form.component.d.ts +48 -0
- package/lib/components/organisms/fun-header/fun-header.component.d.ts +72 -0
- package/lib/components/organisms/fun-header/types.d.ts +28 -0
- package/lib/components/organisms/header/header.component.d.ts +22 -0
- package/lib/components/organisms/header/types.d.ts +16 -0
- package/lib/components/organisms/infinite-list/infinite-list.component.d.ts +113 -0
- package/lib/components/organisms/infinite-list/types.d.ts +197 -0
- package/lib/components/organisms/item-list/item-list.component.d.ts +43 -0
- package/lib/components/organisms/item-list/types.d.ts +126 -0
- package/lib/components/organisms/login/login.component.d.ts +79 -0
- package/lib/components/organisms/login/types.d.ts +70 -0
- package/lib/components/organisms/menu/menu.component.d.ts +44 -0
- package/lib/components/organisms/menu/types.d.ts +23 -0
- package/lib/components/organisms/no-content/no-content.component.d.ts +14 -0
- package/lib/components/organisms/no-content/types.d.ts +17 -0
- package/lib/components/organisms/rotating-text/rotating-text.component.d.ts +47 -0
- package/lib/components/organisms/rotating-text/types.d.ts +28 -0
- package/lib/components/organisms/tabbed-content/tabbed-content.component.d.ts +65 -0
- package/lib/components/organisms/tabbed-content/types.d.ts +53 -0
- package/lib/components/organisms/terminal-404/terminal-404.component.d.ts +42 -0
- package/lib/components/organisms/terminal-404/types.d.ts +22 -0
- package/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.d.ts +33 -0
- package/lib/components/organisms/testimonial-carousel/types.d.ts +8 -0
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +85 -0
- package/lib/components/organisms/toolbar/types.d.ts +31 -0
- package/lib/components/organisms/wizard/types.d.ts +42 -0
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +23 -0
- package/lib/components/organisms/wizard/wizard.component.d.ts +27 -0
- package/lib/components/templates/auth-background/auth-background.component.d.ts +59 -0
- package/lib/components/templates/auth-background/types.d.ts +30 -0
- package/lib/components/templates/docs-layout/docs-layout.component.d.ts +42 -0
- package/lib/components/templates/docs-layout/types.d.ts +39 -0
- package/lib/components/templates/docs-page/docs-page.component.d.ts +61 -0
- package/lib/components/templates/docs-page/types.d.ts +121 -0
- package/lib/components/templates/docs-shell/docs-shell.component.d.ts +33 -0
- package/lib/components/templates/docs-shell/types.d.ts +152 -0
- package/lib/components/templates/layout/layout.component.d.ts +5 -0
- package/lib/components/templates/maintenance-page/maintenance-page.component.d.ts +57 -0
- package/lib/components/templates/maintenance-page/types.d.ts +12 -0
- package/lib/components/templates/page-content/page-content.component.d.ts +107 -0
- package/lib/components/templates/page-content/types.d.ts +27 -0
- package/lib/components/templates/page-template/page-template.component.d.ts +54 -0
- package/lib/components/templates/page-template/types.d.ts +17 -0
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +89 -0
- package/lib/components/templates/page-wrapper/types.d.ts +19 -0
- package/lib/components/templates/simple/simple.component.d.ts +14 -0
- package/lib/components/templates/simple/types.d.ts +10 -0
- package/lib/components/types.d.ts +289 -0
- package/lib/config/company-footer.config.d.ts +98 -0
- package/lib/services/ads/ads-loader.service.d.ts +41 -0
- package/lib/services/ads/ads.service.d.ts +99 -0
- package/lib/services/ads/config.d.ts +53 -0
- package/lib/services/ads/index.d.ts +9 -0
- package/lib/services/ads/types.d.ts +106 -0
- package/lib/services/app-config/app-config.service.d.ts +115 -0
- package/lib/services/app-config/config.d.ts +31 -0
- package/lib/services/app-config/index.d.ts +47 -0
- package/lib/services/app-config/types.d.ts +54 -0
- package/lib/services/app-config/version.d.ts +64 -0
- package/lib/services/auth/auth-state.service.d.ts +92 -0
- package/lib/services/auth/auth.service.d.ts +401 -0
- package/lib/services/auth/config.d.ts +38 -0
- package/lib/services/auth/device.service.d.ts +101 -0
- package/lib/services/auth/guards.d.ts +123 -0
- package/lib/services/auth/index.d.ts +83 -0
- package/lib/services/auth/interceptor.d.ts +22 -0
- package/lib/services/auth/oauth-callback.component.d.ts +34 -0
- package/lib/services/auth/oauth.service.d.ts +99 -0
- package/lib/services/auth/session.service.d.ts +60 -0
- package/lib/services/auth/storage.service.d.ts +52 -0
- package/lib/services/auth/sync.service.d.ts +49 -0
- package/lib/services/auth/token.service.d.ts +57 -0
- package/lib/services/auth/types.d.ts +842 -0
- package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +71 -0
- package/lib/services/confirmation-dialog/types.d.ts +61 -0
- package/lib/services/docs/docs-navigation.service.d.ts +51 -0
- package/lib/services/download.service.d.ts +21 -0
- package/lib/services/feedback/config.d.ts +35 -0
- package/lib/services/feedback/feedback.service.d.ts +134 -0
- package/lib/services/feedback/index.d.ts +40 -0
- package/lib/services/feedback/types.d.ts +173 -0
- package/lib/services/firebase/analytics-error-handler.d.ts +54 -0
- package/lib/services/firebase/analytics-router-tracker.d.ts +51 -0
- package/lib/services/firebase/analytics-types.d.ts +221 -0
- package/lib/services/firebase/analytics.service.d.ts +256 -0
- package/lib/services/firebase/config.d.ts +49 -0
- package/lib/services/firebase/firebase.service.d.ts +251 -0
- package/lib/services/firebase/firestore-collection.d.ts +180 -0
- package/lib/services/firebase/firestore.service.d.ts +312 -0
- package/lib/services/firebase/index.d.ts +44 -0
- package/lib/services/firebase/messaging.service.d.ts +293 -0
- package/lib/services/firebase/notifications.service.d.ts +126 -0
- package/lib/services/firebase/shared-config.d.ts +118 -0
- package/lib/services/firebase/storage.service.d.ts +238 -0
- package/lib/services/firebase/types.d.ts +374 -0
- package/lib/services/firebase/utils/path-builder.d.ts +132 -0
- package/lib/services/firebase/utils/query-builder.d.ts +210 -0
- package/lib/services/i18n/config.d.ts +29 -0
- package/lib/services/i18n/default-content.d.ts +30 -0
- package/lib/services/i18n/i18n.service.d.ts +112 -0
- package/lib/services/i18n/index.d.ts +6 -0
- package/lib/services/i18n/input-i18n.helper.d.ts +70 -0
- package/lib/services/i18n/translate.pipe.d.ts +36 -0
- package/lib/services/i18n/types.d.ts +93 -0
- package/lib/services/icons.service.d.ts +9 -0
- package/lib/services/image/image.service.d.ts +76 -0
- package/lib/services/image/types.d.ts +74 -0
- package/lib/services/in-app-browser.service.d.ts +16 -0
- package/lib/services/link-processor.service.d.ts +104 -0
- package/lib/services/local-storage.service.d.ts +27 -0
- package/lib/services/locale.service.d.ts +52 -0
- package/lib/services/meta/meta.service.d.ts +23 -0
- package/lib/services/meta/types.d.ts +12 -0
- package/lib/services/modal/modal.service.d.ts +100 -0
- package/lib/services/modal/simple-modal-content.component.d.ts +19 -0
- package/lib/services/modal/types.d.ts +155 -0
- package/lib/services/navigation/navigation.service.d.ts +134 -0
- package/lib/services/navigation/types.d.ts +67 -0
- package/lib/services/pagination/index.d.ts +2 -0
- package/lib/services/pagination/pagination.service.d.ts +43 -0
- package/lib/services/pagination/types.d.ts +113 -0
- package/lib/services/presets/config.d.ts +32 -0
- package/lib/services/presets/index.d.ts +3 -0
- package/lib/services/presets/preset.service.d.ts +69 -0
- package/lib/services/presets/types.d.ts +39 -0
- package/lib/services/qr-generator/qr-generator.service.d.ts +115 -0
- package/lib/services/qr-generator/types.d.ts +141 -0
- package/lib/services/skeleton/config.d.ts +30 -0
- package/lib/services/skeleton/directives/loading.directive.d.ts +71 -0
- package/lib/services/skeleton/index.d.ts +10 -0
- package/lib/services/skeleton/skeleton.service.d.ts +127 -0
- package/lib/services/skeleton/templates/detail-skeleton.component.d.ts +18 -0
- package/lib/services/skeleton/templates/form-skeleton.component.d.ts +22 -0
- package/lib/services/skeleton/templates/grid-skeleton.component.d.ts +18 -0
- package/lib/services/skeleton/templates/list-skeleton.component.d.ts +17 -0
- package/lib/services/skeleton/templates/profile-skeleton.component.d.ts +20 -0
- package/lib/services/skeleton/templates/table-skeleton.component.d.ts +17 -0
- package/lib/services/skeleton/types.d.ts +111 -0
- package/lib/services/theme.service.d.ts +70 -0
- package/lib/services/toast.service.d.ts +22 -0
- package/lib/services/types.d.ts +1 -0
- package/lib/shared/constants/storage.d.ts +2 -0
- package/lib/shared/pipes/process-links.pipe.d.ts +55 -0
- package/lib/shared/utils/dom.d.ts +13 -0
- package/lib/shared/utils/form-defaults.d.ts +30 -0
- package/lib/shared/utils/styles.d.ts +13 -0
- package/lib/shared/utils/text.d.ts +11 -0
- package/lib/version.d.ts +5 -0
- package/package.json +16 -64
- package/public-api.d.ts +295 -0
- package/.editorconfig +0 -16
- package/.prettierignore +0 -6
- package/.prettierrc +0 -30
- package/.storybook/main.ts +0 -21
- package/.storybook/preview-body.html +0 -60
- package/.storybook/preview-head.html +0 -48
- package/.storybook/preview.ts +0 -52
- package/.storybook/tsconfig.json +0 -12
- package/I18N-COMPONENTS-MIGRATION.md +0 -496
- package/angular.json +0 -60
- package/ng-package.json +0 -16
- package/scripts/publish.sh +0 -30
- package/scripts/update-apps.sh +0 -94
- package/src/lib/components/atoms/avatar/avatar.component.scss +0 -31
- package/src/lib/components/atoms/avatar/avatar.component.ts +0 -95
- package/src/lib/components/atoms/avatar/avatar.stories.ts +0 -243
- package/src/lib/components/atoms/avatar/types.ts +0 -15
- package/src/lib/components/atoms/box/box.component.scss +0 -57
- package/src/lib/components/atoms/box/box.component.ts +0 -77
- package/src/lib/components/atoms/box/box.stories.ts +0 -280
- package/src/lib/components/atoms/box/types.ts +0 -20
- package/src/lib/components/atoms/button/button.component.scss +0 -20
- package/src/lib/components/atoms/button/button.component.ts +0 -174
- package/src/lib/components/atoms/button/button.stories.ts +0 -293
- package/src/lib/components/atoms/button/factory.ts +0 -444
- package/src/lib/components/atoms/countdown/countdown.component.scss +0 -256
- package/src/lib/components/atoms/countdown/countdown.component.ts +0 -293
- package/src/lib/components/atoms/countdown/countdown.stories.ts +0 -316
- package/src/lib/components/atoms/countdown/types.ts +0 -144
- package/src/lib/components/atoms/display/display.component.scss +0 -17
- package/src/lib/components/atoms/display/display.component.ts +0 -54
- package/src/lib/components/atoms/display/display.stories.ts +0 -185
- package/src/lib/components/atoms/display/types.ts +0 -35
- package/src/lib/components/atoms/divider/divider.component.scss +0 -62
- package/src/lib/components/atoms/divider/divider.component.ts +0 -35
- package/src/lib/components/atoms/divider/divider.stories.ts +0 -202
- package/src/lib/components/atoms/divider/types.ts +0 -12
- package/src/lib/components/atoms/fab/fab.component.scss +0 -26
- package/src/lib/components/atoms/fab/fab.component.ts +0 -166
- package/src/lib/components/atoms/fab/fab.stories.ts +0 -360
- package/src/lib/components/atoms/fab/types.ts +0 -47
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.scss +0 -39
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.ts +0 -67
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.stories.ts +0 -351
- package/src/lib/components/atoms/horizontal-scroll/types.ts +0 -13
- package/src/lib/components/atoms/href/href.component.scss +0 -25
- package/src/lib/components/atoms/href/href.component.ts +0 -64
- package/src/lib/components/atoms/href/href.stories.ts +0 -214
- package/src/lib/components/atoms/href/types.ts +0 -20
- package/src/lib/components/atoms/icon/icon.component.scss +0 -33
- package/src/lib/components/atoms/icon/icon.component.ts +0 -38
- package/src/lib/components/atoms/icon/icon.stories.ts +0 -160
- package/src/lib/components/atoms/icon/types.ts +0 -14
- package/src/lib/components/atoms/image/README.md +0 -0
- package/src/lib/components/atoms/image/image.component.scss +0 -281
- package/src/lib/components/atoms/image/image.component.ts +0 -399
- package/src/lib/components/atoms/image/image.stories.ts +0 -317
- package/src/lib/components/atoms/image/types.ts +0 -37
- package/src/lib/components/atoms/price-tag/price-tag.component.scss +0 -228
- package/src/lib/components/atoms/price-tag/price-tag.component.ts +0 -188
- package/src/lib/components/atoms/price-tag/price-tag.stories.ts +0 -315
- package/src/lib/components/atoms/price-tag/types.ts +0 -78
- package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +0 -22
- package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +0 -88
- package/src/lib/components/atoms/progress-bar/progress-bar.stories.ts +0 -375
- package/src/lib/components/atoms/progress-bar/types.ts +0 -20
- package/src/lib/components/atoms/progress-ring/progress-ring.component.scss +0 -35
- package/src/lib/components/atoms/progress-ring/progress-ring.component.ts +0 -114
- package/src/lib/components/atoms/progress-ring/progress-ring.stories.ts +0 -323
- package/src/lib/components/atoms/progress-ring/types.ts +0 -25
- package/src/lib/components/atoms/qr-code/qr-code.component.scss +0 -353
- package/src/lib/components/atoms/qr-code/qr-code.component.ts +0 -313
- package/src/lib/components/atoms/qr-code/qr-code.stories.ts +0 -767
- package/src/lib/components/atoms/qr-code/types.ts +0 -173
- package/src/lib/components/atoms/rights-footer/rights-footer.component.scss +0 -20
- package/src/lib/components/atoms/rights-footer/rights-footer.component.ts +0 -98
- package/src/lib/components/atoms/rights-footer/rights-footer.stories.ts +0 -229
- package/src/lib/components/atoms/rights-footer/types.ts +0 -21
- package/src/lib/components/atoms/skeleton/skeleton.component.scss +0 -58
- package/src/lib/components/atoms/skeleton/skeleton.component.ts +0 -129
- package/src/lib/components/atoms/skeleton/skeleton.stories.ts +0 -242
- package/src/lib/components/atoms/skeleton/types.ts +0 -39
- package/src/lib/components/atoms/text/text.component.scss +0 -38
- package/src/lib/components/atoms/text/text.component.ts +0 -123
- package/src/lib/components/atoms/text/text.stories.ts +0 -174
- package/src/lib/components/atoms/text/types.ts +0 -50
- package/src/lib/components/atoms/title/title.component.scss +0 -33
- package/src/lib/components/atoms/title/title.component.ts +0 -65
- package/src/lib/components/atoms/title/title.stories.ts +0 -167
- package/src/lib/components/atoms/title/types.ts +0 -46
- package/src/lib/components/molecules/accordion/accordion.component.scss +0 -34
- package/src/lib/components/molecules/accordion/accordion.component.ts +0 -103
- package/src/lib/components/molecules/accordion/accordion.stories.ts +0 -236
- package/src/lib/components/molecules/accordion/types.ts +0 -49
- package/src/lib/components/molecules/action-card/action-card.component.scss +0 -226
- package/src/lib/components/molecules/action-card/action-card.component.ts +0 -246
- package/src/lib/components/molecules/action-card/action-card.stories.ts +0 -396
- package/src/lib/components/molecules/action-card/types.ts +0 -102
- package/src/lib/components/molecules/action-header/action-header.component.ts +0 -28
- package/src/lib/components/molecules/action-header/action-header.stories.ts +0 -481
- package/src/lib/components/molecules/action-header/types.ts +0 -7
- package/src/lib/components/molecules/ad-slot/ad-slot.component.ts +0 -352
- package/src/lib/components/molecules/alert-box/alert-box.component.scss +0 -10
- package/src/lib/components/molecules/alert-box/alert-box.component.ts +0 -125
- package/src/lib/components/molecules/alert-box/alert-box.stories.ts +0 -248
- package/src/lib/components/molecules/alert-box/types.ts +0 -39
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.scss +0 -34
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.ts +0 -109
- package/src/lib/components/molecules/breadcrumb/breadcrumb.stories.ts +0 -271
- package/src/lib/components/molecules/breadcrumb/types.ts +0 -47
- package/src/lib/components/molecules/button-group/button-group.component.scss +0 -41
- package/src/lib/components/molecules/button-group/button-group.component.ts +0 -65
- package/src/lib/components/molecules/button-group/button-group.stories.ts +0 -296
- package/src/lib/components/molecules/button-group/types.ts +0 -14
- package/src/lib/components/molecules/card/card.component.scss +0 -62
- package/src/lib/components/molecules/card/card.component.ts +0 -300
- package/src/lib/components/molecules/card/card.stories.ts +0 -360
- package/src/lib/components/molecules/card/types.ts +0 -36
- package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
- package/src/lib/components/molecules/check-input/check-input.component.ts +0 -88
- package/src/lib/components/molecules/check-input/check-input.stories.ts +0 -54
- package/src/lib/components/molecules/chip-group/chip-group.component.scss +0 -70
- package/src/lib/components/molecules/chip-group/chip-group.component.ts +0 -150
- package/src/lib/components/molecules/chip-group/chip-group.stories.ts +0 -307
- package/src/lib/components/molecules/chip-group/types.ts +0 -69
- package/src/lib/components/molecules/code-display/code-display.component.scss +0 -239
- package/src/lib/components/molecules/code-display/code-display.component.ts +0 -109
- package/src/lib/components/molecules/code-display/code-display.stories.ts +0 -402
- package/src/lib/components/molecules/code-display/types.ts +0 -11
- package/src/lib/components/molecules/command-display/command-display.component.scss +0 -38
- package/src/lib/components/molecules/command-display/command-display.component.ts +0 -45
- package/src/lib/components/molecules/command-display/command-display.stories.ts +0 -110
- package/src/lib/components/molecules/command-display/types.ts +0 -3
- package/src/lib/components/molecules/comment/comment.component.scss +0 -339
- package/src/lib/components/molecules/comment/comment.component.ts +0 -496
- package/src/lib/components/molecules/comment/comment.stories.ts +0 -384
- package/src/lib/components/molecules/comment/types.ts +0 -181
- package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.ts +0 -42
- package/src/lib/components/molecules/comment-input/comment-input.stories.ts +0 -124
- package/src/lib/components/molecules/comment-input/types.ts +0 -69
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -45
- package/src/lib/components/molecules/content-loader/content-loader.stories.ts +0 -370
- package/src/lib/components/molecules/content-loader/types.ts +0 -16
- package/src/lib/components/molecules/content-reaction/content-reaction.component.html +0 -81
- package/src/lib/components/molecules/content-reaction/content-reaction.component.scss +0 -157
- package/src/lib/components/molecules/content-reaction/content-reaction.component.ts +0 -273
- package/src/lib/components/molecules/content-reaction/content-reaction.stories.ts +0 -453
- package/src/lib/components/molecules/content-reaction/types.ts +0 -99
- package/src/lib/components/molecules/currency-input/currency-input.component.scss +0 -101
- package/src/lib/components/molecules/currency-input/currency-input.component.ts +0 -327
- package/src/lib/components/molecules/currency-input/currency-input.stories.ts +0 -279
- package/src/lib/components/molecules/currency-input/types.ts +0 -125
- package/src/lib/components/molecules/date-input/date-input.component.scss +0 -11
- package/src/lib/components/molecules/date-input/date-input.component.ts +0 -136
- package/src/lib/components/molecules/date-input/date-input.stories.ts +0 -205
- package/src/lib/components/molecules/date-input/types.ts +0 -84
- package/src/lib/components/molecules/date-range-input/date-range-input.component.scss +0 -119
- package/src/lib/components/molecules/date-range-input/date-range-input.component.ts +0 -364
- package/src/lib/components/molecules/date-range-input/date-range-input.stories.ts +0 -288
- package/src/lib/components/molecules/date-range-input/types.ts +0 -122
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.scss +0 -278
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.ts +0 -138
- package/src/lib/components/molecules/docs-api-table/types.ts +0 -81
- package/src/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.ts +0 -161
- package/src/lib/components/molecules/docs-breadcrumb/types.ts +0 -21
- package/src/lib/components/molecules/docs-callout/docs-callout.component.scss +0 -136
- package/src/lib/components/molecules/docs-callout/docs-callout.component.ts +0 -55
- package/src/lib/components/molecules/docs-code-example/docs-code-example.component.ts +0 -535
- package/src/lib/components/molecules/docs-code-example/types.ts +0 -75
- package/src/lib/components/molecules/docs-nav-links/docs-nav-links.component.ts +0 -216
- package/src/lib/components/molecules/docs-nav-links/types.ts +0 -36
- package/src/lib/components/molecules/docs-search/docs-search.component.scss +0 -195
- package/src/lib/components/molecules/docs-search/docs-search.component.ts +0 -228
- package/src/lib/components/molecules/docs-search/types.ts +0 -30
- package/src/lib/components/molecules/docs-section/docs-section.component.ts +0 -99
- package/src/lib/components/molecules/docs-section/types.ts +0 -31
- package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
- package/src/lib/components/molecules/email-input/email-input.component.ts +0 -77
- package/src/lib/components/molecules/email-input/email-input.stories.ts +0 -176
- package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +0 -111
- package/src/lib/components/molecules/expandable-text/expandable-text.stories.ts +0 -287
- package/src/lib/components/molecules/expandable-text/types.ts +0 -14
- package/src/lib/components/molecules/features-list/features-list.component.ts +0 -251
- package/src/lib/components/molecules/features-list/types.ts +0 -44
- package/src/lib/components/molecules/feedback-form/feedback-form.component.ts +0 -355
- package/src/lib/components/molecules/feedback-form/types.ts +0 -77
- package/src/lib/components/molecules/file-input/file-input.component.scss +0 -11
- package/src/lib/components/molecules/file-input/file-input.component.ts +0 -87
- package/src/lib/components/molecules/file-input/file-input.stories.ts +0 -107
- package/src/lib/components/molecules/file-input/types.ts +0 -85
- package/src/lib/components/molecules/footer-links/footer-links.component.scss +0 -130
- package/src/lib/components/molecules/footer-links/footer-links.component.ts +0 -244
- package/src/lib/components/molecules/footer-links/footer-links.stories.ts +0 -188
- package/src/lib/components/molecules/footer-links/types.ts +0 -52
- package/src/lib/components/molecules/glow-card/glow-card.component.scss +0 -295
- package/src/lib/components/molecules/glow-card/glow-card.component.ts +0 -284
- package/src/lib/components/molecules/glow-card/glow-card.stories.ts +0 -680
- package/src/lib/components/molecules/glow-card/types.ts +0 -117
- package/src/lib/components/molecules/hint/hint.component.scss +0 -5
- package/src/lib/components/molecules/hint/hint.component.ts +0 -89
- package/src/lib/components/molecules/hint/hint.stories.ts +0 -233
- package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.ts +0 -34
- package/src/lib/components/molecules/hour-input/hour-input.stories.ts +0 -145
- package/src/lib/components/molecules/image-crop/image-crop.component.ts +0 -195
- package/src/lib/components/molecules/info/info.component.ts +0 -35
- package/src/lib/components/molecules/info/info.stories.ts +0 -276
- package/src/lib/components/molecules/info/types.ts +0 -11
- package/src/lib/components/molecules/language-selector/language-selector.component.scss +0 -128
- package/src/lib/components/molecules/language-selector/language-selector.component.ts +0 -204
- package/src/lib/components/molecules/language-selector/language-selector.stories.ts +0 -261
- package/src/lib/components/molecules/language-selector/types.ts +0 -84
- package/src/lib/components/molecules/layered-card/layered-card.component.scss +0 -84
- package/src/lib/components/molecules/layered-card/layered-card.component.ts +0 -66
- package/src/lib/components/molecules/layered-card/layered-card.stories.ts +0 -313
- package/src/lib/components/molecules/layered-card/types.ts +0 -16
- package/src/lib/components/molecules/link/link.component.scss +0 -11
- package/src/lib/components/molecules/link/link.component.ts +0 -73
- package/src/lib/components/molecules/link/link.stories.ts +0 -307
- package/src/lib/components/molecules/link/types.ts +0 -20
- package/src/lib/components/molecules/linked-providers/index.ts +0 -2
- package/src/lib/components/molecules/linked-providers/linked-providers.component.ts +0 -289
- package/src/lib/components/molecules/linked-providers/types.ts +0 -63
- package/src/lib/components/molecules/links-accordion/links-accordion.component.scss +0 -17
- package/src/lib/components/molecules/links-accordion/links-accordion.component.ts +0 -152
- package/src/lib/components/molecules/links-accordion/links-accordion.stories.ts +0 -209
- package/src/lib/components/molecules/links-accordion/types.ts +0 -41
- package/src/lib/components/molecules/links-cake/links-cake.component.scss +0 -9
- package/src/lib/components/molecules/links-cake/links-cake.component.ts +0 -49
- package/src/lib/components/molecules/links-cake/links-cake.stories.ts +0 -160
- package/src/lib/components/molecules/links-cake/types.ts +0 -14
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.scss +0 -168
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.ts +0 -471
- package/src/lib/components/molecules/multi-select-search/multi-select-search.stories.ts +0 -188
- package/src/lib/components/molecules/notes-box/notes-box.component.scss +0 -5
- package/src/lib/components/molecules/notes-box/notes-box.component.ts +0 -62
- package/src/lib/components/molecules/notes-box/notes-box.stories.ts +0 -308
- package/src/lib/components/molecules/notes-box/types.ts +0 -22
- package/src/lib/components/molecules/number-from-to/number-from-to.component.scss +0 -10
- package/src/lib/components/molecules/number-from-to/number-from-to.component.ts +0 -134
- package/src/lib/components/molecules/number-from-to/number-from-to.stories.ts +0 -203
- package/src/lib/components/molecules/number-from-to/types.ts +0 -91
- package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
- package/src/lib/components/molecules/number-input/number-input.component.ts +0 -41
- package/src/lib/components/molecules/number-input/number-input.stories.ts +0 -151
- package/src/lib/components/molecules/number-stepper/number-stepper.component.scss +0 -252
- package/src/lib/components/molecules/number-stepper/number-stepper.component.ts +0 -302
- package/src/lib/components/molecules/number-stepper/number-stepper.stories.ts +0 -417
- package/src/lib/components/molecules/number-stepper/types.ts +0 -101
- package/src/lib/components/molecules/pagination/pagination.component.scss +0 -50
- package/src/lib/components/molecules/pagination/pagination.component.ts +0 -194
- package/src/lib/components/molecules/pagination/pagination.stories.ts +0 -260
- package/src/lib/components/molecules/pagination/types.ts +0 -43
- package/src/lib/components/molecules/participant-card/participant-card.component.scss +0 -371
- package/src/lib/components/molecules/participant-card/participant-card.component.ts +0 -402
- package/src/lib/components/molecules/participant-card/participant-card.stories.ts +0 -479
- package/src/lib/components/molecules/participant-card/types.ts +0 -170
- package/src/lib/components/molecules/password-input/password-input.component.scss +0 -7
- package/src/lib/components/molecules/password-input/password-input.component.ts +0 -93
- package/src/lib/components/molecules/password-input/password-input.stories.ts +0 -187
- package/src/lib/components/molecules/phone-input/phone-input.component.scss +0 -157
- package/src/lib/components/molecules/phone-input/phone-input.component.ts +0 -354
- package/src/lib/components/molecules/phone-input/phone-input.stories.ts +0 -229
- package/src/lib/components/molecules/phone-input/types.ts +0 -126
- package/src/lib/components/molecules/pill/pill.component.scss +0 -35
- package/src/lib/components/molecules/pill/pill.component.ts +0 -89
- package/src/lib/components/molecules/pill/pill.stories.ts +0 -219
- package/src/lib/components/molecules/pill/types.ts +0 -10
- package/src/lib/components/molecules/pin-input/pin-input.component.scss +0 -22
- package/src/lib/components/molecules/pin-input/pin-input.component.ts +0 -83
- package/src/lib/components/molecules/pin-input/pin-input.stories.ts +0 -196
- package/src/lib/components/molecules/pin-input/types.ts +0 -80
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.scss +0 -191
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.ts +0 -86
- package/src/lib/components/molecules/plain-code-box/plain-code-box.stories.ts +0 -174
- package/src/lib/components/molecules/plain-code-box/types.ts +0 -12
- package/src/lib/components/molecules/popover-selector/popover-selector.component.scss +0 -220
- package/src/lib/components/molecules/popover-selector/popover-selector.component.ts +0 -163
- package/src/lib/components/molecules/popover-selector/popover-selector.stories.ts +0 -324
- package/src/lib/components/molecules/popover-selector/types.ts +0 -71
- package/src/lib/components/molecules/progress-status/progress-status.component.scss +0 -41
- package/src/lib/components/molecules/progress-status/progress-status.component.ts +0 -90
- package/src/lib/components/molecules/progress-status/progress-status.stories.ts +0 -415
- package/src/lib/components/molecules/progress-status/types.ts +0 -21
- package/src/lib/components/molecules/prompter/prompter.component.scss +0 -45
- package/src/lib/components/molecules/prompter/prompter.component.ts +0 -55
- package/src/lib/components/molecules/prompter/prompter.stories.ts +0 -193
- package/src/lib/components/molecules/prompter/types.ts +0 -26
- package/src/lib/components/molecules/quote-box/quote-box.component.scss +0 -253
- package/src/lib/components/molecules/quote-box/quote-box.component.ts +0 -104
- package/src/lib/components/molecules/quote-box/quote-box.stories.ts +0 -264
- package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.ts +0 -51
- package/src/lib/components/molecules/radio-input/radio-input.stories.ts +0 -197
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.scss +0 -418
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.ts +0 -320
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.stories.ts +0 -509
- package/src/lib/components/molecules/raffle-status-card/types.ts +0 -150
- package/src/lib/components/molecules/range-input/range-input.component.scss +0 -15
- package/src/lib/components/molecules/range-input/range-input.component.ts +0 -106
- package/src/lib/components/molecules/range-input/range-input.stories.ts +0 -331
- package/src/lib/components/molecules/range-input/types.ts +0 -61
- package/src/lib/components/molecules/rating/rating.component.scss +0 -60
- package/src/lib/components/molecules/rating/rating.component.ts +0 -154
- package/src/lib/components/molecules/rating/rating.stories.ts +0 -332
- package/src/lib/components/molecules/rating/types.ts +0 -43
- package/src/lib/components/molecules/recap-card/recap-card.component.scss +0 -35
- package/src/lib/components/molecules/recap-card/recap-card.component.ts +0 -64
- package/src/lib/components/molecules/recap-card/recap-card.stories.ts +0 -174
- package/src/lib/components/molecules/recap-card/types.ts +0 -30
- package/src/lib/components/molecules/refresher/refresher.component.ts +0 -257
- package/src/lib/components/molecules/refresher/types.ts +0 -103
- package/src/lib/components/molecules/searchbar/searchbar.component.scss +0 -9
- package/src/lib/components/molecules/searchbar/searchbar.component.ts +0 -122
- package/src/lib/components/molecules/searchbar/searchbar.stories.ts +0 -192
- package/src/lib/components/molecules/searchbar/types.ts +0 -38
- package/src/lib/components/molecules/segment-control/segment-control.component.scss +0 -27
- package/src/lib/components/molecules/segment-control/segment-control.component.ts +0 -121
- package/src/lib/components/molecules/segment-control/segment-control.stories.ts +0 -296
- package/src/lib/components/molecules/segment-control/types.ts +0 -48
- package/src/lib/components/molecules/select-input/select-input.component.scss +0 -0
- package/src/lib/components/molecules/select-input/select-input.component.ts +0 -133
- package/src/lib/components/molecules/select-input/select-input.stories.ts +0 -330
- package/src/lib/components/molecules/select-search/select-search.component.ts +0 -420
- package/src/lib/components/molecules/select-search/select-search.stories.ts +0 -218
- package/src/lib/components/molecules/share-buttons/share-buttons.component.scss +0 -195
- package/src/lib/components/molecules/share-buttons/share-buttons.component.ts +0 -269
- package/src/lib/components/molecules/share-buttons/share-buttons.stories.ts +0 -343
- package/src/lib/components/molecules/share-buttons/types.ts +0 -211
- package/src/lib/components/molecules/stats-card/stats-card.component.scss +0 -198
- package/src/lib/components/molecules/stats-card/stats-card.component.ts +0 -157
- package/src/lib/components/molecules/stats-card/stats-card.stories.ts +0 -481
- package/src/lib/components/molecules/stats-card/types.ts +0 -63
- package/src/lib/components/molecules/stepper/stepper.component.scss +0 -156
- package/src/lib/components/molecules/stepper/stepper.component.ts +0 -201
- package/src/lib/components/molecules/stepper/stepper.stories.ts +0 -308
- package/src/lib/components/molecules/stepper/types.ts +0 -70
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.scss +0 -164
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.ts +0 -215
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.stories.ts +0 -406
- package/src/lib/components/molecules/swipe-carousel/types.ts +0 -32
- package/src/lib/components/molecules/tabs/tabs.component.scss +0 -35
- package/src/lib/components/molecules/tabs/tabs.component.ts +0 -125
- package/src/lib/components/molecules/tabs/tabs.stories.ts +0 -283
- package/src/lib/components/molecules/tabs/types.ts +0 -47
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.scss +0 -25
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.ts +0 -121
- package/src/lib/components/molecules/testimonial-card/testimonial-card.stories.ts +0 -130
- package/src/lib/components/molecules/testimonial-card/types.ts +0 -26
- package/src/lib/components/molecules/text-input/text-input.component.scss +0 -1
- package/src/lib/components/molecules/text-input/text-input.component.ts +0 -86
- package/src/lib/components/molecules/text-input/text-input.stories.ts +0 -301
- package/src/lib/components/molecules/textarea-input/textarea-input.component.scss +0 -62
- package/src/lib/components/molecules/textarea-input/textarea-input.component.ts +0 -195
- package/src/lib/components/molecules/textarea-input/textarea-input.stories.ts +0 -329
- package/src/lib/components/molecules/textarea-input/types.ts +0 -83
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.scss +0 -270
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.ts +0 -429
- package/src/lib/components/molecules/ticket-grid/ticket-grid.stories.ts +0 -436
- package/src/lib/components/molecules/ticket-grid/types.ts +0 -145
- package/src/lib/components/molecules/timeline/timeline.component.scss +0 -168
- package/src/lib/components/molecules/timeline/timeline.component.ts +0 -98
- package/src/lib/components/molecules/timeline/timeline.stories.ts +0 -259
- package/src/lib/components/molecules/timeline/types.ts +0 -41
- package/src/lib/components/molecules/title-block/title-block.component.scss +0 -48
- package/src/lib/components/molecules/title-block/title-block.component.ts +0 -72
- package/src/lib/components/molecules/title-block/title-block.stories.ts +0 -351
- package/src/lib/components/molecules/title-block/types.ts +0 -16
- package/src/lib/components/molecules/toggle-input/toggle-input.component.scss +0 -7
- package/src/lib/components/molecules/toggle-input/toggle-input.component.ts +0 -94
- package/src/lib/components/molecules/toggle-input/toggle-input.stories.ts +0 -240
- package/src/lib/components/molecules/toggle-input/types.ts +0 -31
- package/src/lib/components/molecules/update-banner/index.ts +0 -1
- package/src/lib/components/molecules/update-banner/update-banner.component.ts +0 -118
- package/src/lib/components/molecules/username-input/index.ts +0 -2
- package/src/lib/components/molecules/username-input/types.ts +0 -36
- package/src/lib/components/molecules/username-input/username-input.component.ts +0 -336
- package/src/lib/components/molecules/winner-display/types.ts +0 -129
- package/src/lib/components/molecules/winner-display/winner-display.component.scss +0 -501
- package/src/lib/components/molecules/winner-display/winner-display.component.ts +0 -284
- package/src/lib/components/molecules/winner-display/winner-display.stories.ts +0 -468
- package/src/lib/components/organisms/article/README.md +0 -569
- package/src/lib/components/organisms/article/article.component.scss +0 -433
- package/src/lib/components/organisms/article/article.component.ts +0 -469
- package/src/lib/components/organisms/article/article.stories.ts +0 -625
- package/src/lib/components/organisms/article/types.ts +0 -550
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.scss +0 -119
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.ts +0 -349
- package/src/lib/components/organisms/avatar-upload/index.ts +0 -2
- package/src/lib/components/organisms/avatar-upload/types.ts +0 -71
- package/src/lib/components/organisms/banner/banner.component.scss +0 -51
- package/src/lib/components/organisms/banner/banner.component.ts +0 -95
- package/src/lib/components/organisms/banner/banner.stories.ts +0 -462
- package/src/lib/components/organisms/banner/types.ts +0 -30
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.scss +0 -350
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.ts +0 -362
- package/src/lib/components/organisms/bottom-nav/types.ts +0 -139
- package/src/lib/components/organisms/cards-carousel/cards-carousel.component.ts +0 -53
- package/src/lib/components/organisms/cards-carousel/cards-carousel.stories.ts +0 -241
- package/src/lib/components/organisms/cards-carousel/types.ts +0 -12
- package/src/lib/components/organisms/comment-section/comment-section.component.scss +0 -269
- package/src/lib/components/organisms/comment-section/comment-section.component.ts +0 -429
- package/src/lib/components/organisms/comment-section/comment-section.stories.ts +0 -305
- package/src/lib/components/organisms/comment-section/types.ts +0 -169
- package/src/lib/components/organisms/company-footer/company-footer.component.ts +0 -73
- package/src/lib/components/organisms/company-footer/company-footer.stories.ts +0 -216
- package/src/lib/components/organisms/company-footer/types.ts +0 -16
- package/src/lib/components/organisms/data-table/data-table.component.scss +0 -907
- package/src/lib/components/organisms/data-table/data-table.component.ts +0 -821
- package/src/lib/components/organisms/data-table/data-table.stories.ts +0 -787
- package/src/lib/components/organisms/data-table/types.ts +0 -258
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.scss +0 -228
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.ts +0 -213
- package/src/lib/components/organisms/docs-sidebar/types.ts +0 -112
- package/src/lib/components/organisms/docs-toc/docs-toc.component.scss +0 -119
- package/src/lib/components/organisms/docs-toc/docs-toc.component.ts +0 -320
- package/src/lib/components/organisms/docs-toc/types.ts +0 -73
- package/src/lib/components/organisms/footer/footer.component.scss +0 -3
- package/src/lib/components/organisms/footer/footer.component.ts +0 -65
- package/src/lib/components/organisms/footer/footer.stories.ts +0 -278
- package/src/lib/components/organisms/footer/types.ts +0 -17
- package/src/lib/components/organisms/form/factory.ts +0 -46
- package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
- package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +0 -72
- package/src/lib/components/organisms/form/form.component.scss +0 -24
- package/src/lib/components/organisms/form/form.component.ts +0 -367
- package/src/lib/components/organisms/form/form.stories.ts +0 -505
- package/src/lib/components/organisms/fun-header/fun-header.component.scss +0 -36
- package/src/lib/components/organisms/fun-header/fun-header.component.ts +0 -209
- package/src/lib/components/organisms/fun-header/fun-header.stories.ts +0 -272
- package/src/lib/components/organisms/fun-header/types.ts +0 -29
- package/src/lib/components/organisms/header/header.component.scss +0 -5
- package/src/lib/components/organisms/header/header.component.ts +0 -53
- package/src/lib/components/organisms/header/header.stories.ts +0 -293
- package/src/lib/components/organisms/header/types.ts +0 -17
- package/src/lib/components/organisms/infinite-list/infinite-list.component.ts +0 -602
- package/src/lib/components/organisms/infinite-list/types.ts +0 -235
- package/src/lib/components/organisms/item-list/item-list.component.scss +0 -53
- package/src/lib/components/organisms/item-list/item-list.component.ts +0 -269
- package/src/lib/components/organisms/item-list/item-list.stories.ts +0 -363
- package/src/lib/components/organisms/item-list/types.ts +0 -130
- package/src/lib/components/organisms/login/login.component.html +0 -244
- package/src/lib/components/organisms/login/login.component.scss +0 -118
- package/src/lib/components/organisms/login/login.component.ts +0 -866
- package/src/lib/components/organisms/login/types.ts +0 -89
- package/src/lib/components/organisms/menu/menu.component.scss +0 -23
- package/src/lib/components/organisms/menu/menu.component.ts +0 -152
- package/src/lib/components/organisms/menu/menu.stories.ts +0 -223
- package/src/lib/components/organisms/menu/types.ts +0 -24
- package/src/lib/components/organisms/no-content/no-content.component.scss +0 -11
- package/src/lib/components/organisms/no-content/no-content.component.ts +0 -68
- package/src/lib/components/organisms/no-content/no-content.stories.ts +0 -259
- package/src/lib/components/organisms/no-content/types.ts +0 -18
- package/src/lib/components/organisms/rotating-text/rotating-text.component.ts +0 -239
- package/src/lib/components/organisms/rotating-text/types.ts +0 -29
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.scss +0 -89
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.ts +0 -165
- package/src/lib/components/organisms/tabbed-content/tabbed-content.stories.ts +0 -326
- package/src/lib/components/organisms/tabbed-content/types.ts +0 -56
- package/src/lib/components/organisms/terminal-404/terminal-404.component.ts +0 -339
- package/src/lib/components/organisms/terminal-404/types.ts +0 -22
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.ts +0 -70
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.stories.ts +0 -173
- package/src/lib/components/organisms/testimonial-carousel/types.ts +0 -9
- package/src/lib/components/organisms/toolbar/toolbar.component.scss +0 -13
- package/src/lib/components/organisms/toolbar/toolbar.component.ts +0 -195
- package/src/lib/components/organisms/toolbar/toolbar.stories.ts +0 -263
- package/src/lib/components/organisms/toolbar/types.ts +0 -32
- package/src/lib/components/organisms/wizard/types.ts +0 -46
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +0 -104
- package/src/lib/components/organisms/wizard/wizard.component.scss +0 -16
- package/src/lib/components/organisms/wizard/wizard.component.ts +0 -165
- package/src/lib/components/organisms/wizard/wizard.stories.ts +0 -653
- package/src/lib/components/templates/auth-background/auth-background.component.ts +0 -258
- package/src/lib/components/templates/auth-background/types.ts +0 -34
- package/src/lib/components/templates/docs-layout/docs-layout.component.scss +0 -218
- package/src/lib/components/templates/docs-layout/docs-layout.component.ts +0 -161
- package/src/lib/components/templates/docs-layout/types.ts +0 -45
- package/src/lib/components/templates/docs-page/docs-page.component.ts +0 -534
- package/src/lib/components/templates/docs-page/types.ts +0 -141
- package/src/lib/components/templates/docs-shell/docs-shell.component.ts +0 -494
- package/src/lib/components/templates/docs-shell/types.ts +0 -176
- package/src/lib/components/templates/layout/layout.component.scss +0 -25
- package/src/lib/components/templates/layout/layout.component.ts +0 -14
- package/src/lib/components/templates/maintenance-page/index.ts +0 -2
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.scss +0 -44
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.ts +0 -120
- package/src/lib/components/templates/maintenance-page/types.ts +0 -12
- package/src/lib/components/templates/page-content/page-content.component.ts +0 -188
- package/src/lib/components/templates/page-content/page-content.stories.ts +0 -169
- package/src/lib/components/templates/page-content/types.ts +0 -28
- package/src/lib/components/templates/page-template/page-template.component.ts +0 -164
- package/src/lib/components/templates/page-template/page-template.stories.ts +0 -174
- package/src/lib/components/templates/page-template/types.ts +0 -17
- package/src/lib/components/templates/page-wrapper/page-wrapper.component.ts +0 -183
- package/src/lib/components/templates/page-wrapper/page-wrapper.stories.ts +0 -149
- package/src/lib/components/templates/page-wrapper/types.ts +0 -20
- package/src/lib/components/templates/simple/simple.component.ts +0 -92
- package/src/lib/components/templates/simple/types.ts +0 -11
- package/src/lib/components/types.ts +0 -311
- package/src/lib/config/company-footer.config.ts +0 -137
- package/src/lib/services/ads/ads-consent.service.ts +0 -166
- package/src/lib/services/ads/ads-loader.service.ts +0 -133
- package/src/lib/services/ads/ads.service.ts +0 -268
- package/src/lib/services/ads/config.ts +0 -92
- package/src/lib/services/ads/index.ts +0 -29
- package/src/lib/services/ads/types.ts +0 -187
- package/src/lib/services/app-config/app-config.service.ts +0 -228
- package/src/lib/services/app-config/config.ts +0 -62
- package/src/lib/services/app-config/index.ts +0 -48
- package/src/lib/services/app-config/types.ts +0 -62
- package/src/lib/services/app-config/version.ts +0 -104
- package/src/lib/services/auth/auth-state.service.ts +0 -225
- package/src/lib/services/auth/auth.service.ts +0 -1306
- package/src/lib/services/auth/config.ts +0 -93
- package/src/lib/services/auth/device.service.ts +0 -163
- package/src/lib/services/auth/guards.ts +0 -234
- package/src/lib/services/auth/index.ts +0 -111
- package/src/lib/services/auth/interceptor.ts +0 -177
- package/src/lib/services/auth/oauth-callback.component.ts +0 -202
- package/src/lib/services/auth/oauth.service.ts +0 -352
- package/src/lib/services/auth/session.service.ts +0 -83
- package/src/lib/services/auth/storage.service.ts +0 -181
- package/src/lib/services/auth/sync.service.ts +0 -158
- package/src/lib/services/auth/token.service.ts +0 -132
- package/src/lib/services/auth/types.ts +0 -1023
- package/src/lib/services/confirmation-dialog/confirmation-dialog.service.ts +0 -199
- package/src/lib/services/confirmation-dialog/types.ts +0 -74
- package/src/lib/services/content/content-types/blog.ts +0 -324
- package/src/lib/services/content/content-types/documentation.ts +0 -369
- package/src/lib/services/content/content-types/news.ts +0 -328
- package/src/lib/services/content/index.ts +0 -71
- package/src/lib/services/content/transformer.ts +0 -312
- package/src/lib/services/content/types.ts +0 -276
- package/src/lib/services/docs/docs-navigation.service.ts +0 -91
- package/src/lib/services/download.service.ts +0 -75
- package/src/lib/services/feedback/config.ts +0 -61
- package/src/lib/services/feedback/feedback.service.ts +0 -348
- package/src/lib/services/feedback/index.ts +0 -59
- package/src/lib/services/feedback/types.ts +0 -239
- package/src/lib/services/firebase/README.md +0 -328
- package/src/lib/services/firebase/analytics-error-handler.ts +0 -155
- package/src/lib/services/firebase/analytics-router-tracker.ts +0 -109
- package/src/lib/services/firebase/analytics-types.ts +0 -277
- package/src/lib/services/firebase/analytics.service.ts +0 -707
- package/src/lib/services/firebase/config.ts +0 -172
- package/src/lib/services/firebase/firebase.service.ts +0 -502
- package/src/lib/services/firebase/firestore-collection.ts +0 -336
- package/src/lib/services/firebase/firestore.service.ts +0 -649
- package/src/lib/services/firebase/index.ts +0 -88
- package/src/lib/services/firebase/messaging.service.ts +0 -672
- package/src/lib/services/firebase/notifications.service.ts +0 -253
- package/src/lib/services/firebase/shared-config.ts +0 -167
- package/src/lib/services/firebase/storage.service.ts +0 -519
- package/src/lib/services/firebase/types.ts +0 -461
- package/src/lib/services/firebase/utils/path-builder.ts +0 -210
- package/src/lib/services/firebase/utils/query-builder.ts +0 -339
- package/src/lib/services/i18n/config.ts +0 -129
- package/src/lib/services/i18n/default-content.ts +0 -640
- package/src/lib/services/i18n/i18n.service.ts +0 -223
- package/src/lib/services/i18n/index.ts +0 -29
- package/src/lib/services/i18n/input-i18n.helper.ts +0 -141
- package/src/lib/services/i18n/translate.pipe.ts +0 -43
- package/src/lib/services/i18n/types.ts +0 -108
- package/src/lib/services/icons.service.ts +0 -122
- package/src/lib/services/image/image.service.ts +0 -328
- package/src/lib/services/image/types.ts +0 -79
- package/src/lib/services/in-app-browser.service.ts +0 -30
- package/src/lib/services/link-processor.service.ts +0 -311
- package/src/lib/services/local-storage.service.ts +0 -39
- package/src/lib/services/locale.service.ts +0 -86
- package/src/lib/services/meta/meta.service.ts +0 -64
- package/src/lib/services/meta/types.ts +0 -13
- package/src/lib/services/modal/modal.service.ts +0 -244
- package/src/lib/services/modal/simple-modal-content.component.ts +0 -138
- package/src/lib/services/modal/types.ts +0 -180
- package/src/lib/services/navigation/navigation.service.ts +0 -255
- package/src/lib/services/navigation/types.ts +0 -86
- package/src/lib/services/pagination/index.ts +0 -13
- package/src/lib/services/pagination/pagination.service.ts +0 -243
- package/src/lib/services/pagination/types.ts +0 -133
- package/src/lib/services/presets/config.ts +0 -51
- package/src/lib/services/presets/index.ts +0 -8
- package/src/lib/services/presets/preset.service.ts +0 -105
- package/src/lib/services/presets/types.ts +0 -41
- package/src/lib/services/qr-generator/qr-generator.service.ts +0 -378
- package/src/lib/services/qr-generator/types.ts +0 -207
- package/src/lib/services/skeleton/config.ts +0 -82
- package/src/lib/services/skeleton/directives/index.ts +0 -1
- package/src/lib/services/skeleton/directives/loading.directive.ts +0 -230
- package/src/lib/services/skeleton/index.ts +0 -30
- package/src/lib/services/skeleton/skeleton.service.ts +0 -220
- package/src/lib/services/skeleton/templates/detail-skeleton.component.ts +0 -166
- package/src/lib/services/skeleton/templates/form-skeleton.component.ts +0 -115
- package/src/lib/services/skeleton/templates/grid-skeleton.component.ts +0 -127
- package/src/lib/services/skeleton/templates/index.ts +0 -6
- package/src/lib/services/skeleton/templates/list-skeleton.component.ts +0 -90
- package/src/lib/services/skeleton/templates/profile-skeleton.component.ts +0 -174
- package/src/lib/services/skeleton/templates/table-skeleton.component.ts +0 -113
- package/src/lib/services/skeleton/types.ts +0 -142
- package/src/lib/services/theme.service.ts +0 -154
- package/src/lib/services/toast.service.ts +0 -42
- package/src/lib/services/types.ts +0 -6
- package/src/lib/shared/constants/storage.ts +0 -2
- package/src/lib/shared/pipes/process-links.pipe.ts +0 -64
- package/src/lib/shared/utils/dom.ts +0 -29
- package/src/lib/shared/utils/form-defaults.ts +0 -119
- package/src/lib/shared/utils/styles.ts +0 -39
- package/src/lib/shared/utils/text.ts +0 -12
- package/src/lib/version.ts +0 -5
- package/src/public-api.ts +0 -352
- package/src/stories/Introduction.mdx +0 -649
- package/src/stories/helpers/mock-services.ts +0 -27
- package/src/stories/helpers/storybook-helpers.ts +0 -89
- package/tsconfig.json +0 -32
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/lib/components/molecules/image-crop/index.ts → lib/components/molecules/image-crop/index.d.ts} +0 -0
- /package/{src/lib/config/index.ts → lib/config/index.d.ts} +0 -0
- /package/{src/lib/services/image/index.ts → lib/services/image/index.d.ts} +0 -0
- /package/{src/lib/services/meta/index.ts → lib/services/meta/index.d.ts} +0 -0
- /package/{src/lib/services/navigation/index.ts → lib/services/navigation/index.d.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default values
|
|
3
|
+
*/
|
|
4
|
+
export const AVATAR_UPLOAD_DEFAULTS = {
|
|
5
|
+
size: 100,
|
|
6
|
+
editable: true,
|
|
7
|
+
storagePath: 'avatars',
|
|
8
|
+
i18nNamespace: 'AvatarUpload',
|
|
9
|
+
maxFileSize: 10 * 1024 * 1024, // 10MB
|
|
10
|
+
compressQuality: 0.8,
|
|
11
|
+
maxWidth: 800,
|
|
12
|
+
thumbnailSize: 150,
|
|
13
|
+
backgroundColor: '#6366f1', // Indigo
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL2F2YXRhci11cGxvYWQvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeURBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUc7SUFDcEMsSUFBSSxFQUFFLEdBQUc7SUFDVCxRQUFRLEVBQUUsSUFBSTtJQUNkLFdBQVcsRUFBRSxTQUFTO0lBQ3RCLGFBQWEsRUFBRSxjQUFjO0lBQzdCLFdBQVcsRUFBRSxFQUFFLEdBQUcsSUFBSSxHQUFHLElBQUksRUFBRSxPQUFPO0lBQ3RDLGVBQWUsRUFBRSxHQUFHO0lBQ3BCLFFBQVEsRUFBRSxHQUFHO0lBQ2IsYUFBYSxFQUFFLEdBQUc7SUFDbEIsZUFBZSxFQUFFLFNBQVMsRUFBRSxTQUFTO0NBQ3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvbmZpZ3VyYXRpb24gZm9yIEF2YXRhclVwbG9hZENvbXBvbmVudFxuICovXG5leHBvcnQgaW50ZXJmYWNlIEF2YXRhclVwbG9hZE1ldGFkYXRhIHtcbiAgLyoqIEN1cnJlbnQgYXZhdGFyIFV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AsXG4gIHRodW1ibmFpbFNpemU6IDE1MCxcbiAgYmFja2dyb3VuZENvbG9yOiAnIzYzNjZmMScsIC8vIEluZGlnb1xufTtcbiJdfQ==
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
3
|
+
import { BoxComponent } from '../../atoms/box/box.component';
|
|
4
|
+
import { ButtonGroupComponent } from '../../molecules/button-group/button-group.component';
|
|
5
|
+
import { TitleBlockComponent } from '../../molecules/title-block/title-block.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
/**
|
|
9
|
+
* val-banner
|
|
10
|
+
*
|
|
11
|
+
* Displays a banner with title block, actions, and optional close button.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* <val-banner [props]="{ content: {...}, actions: {...}, closable: true, bordered: true, mode: 'center', alignment: 'center', padding: '8px' }" (onClick)="handler($event)" (onClose)="closeHandler()"></val-banner>
|
|
15
|
+
*
|
|
16
|
+
* @input props: BannerMetadata - Configuration for the banner (content, actions, closable, bordered, mode, alignment, padding)
|
|
17
|
+
* @output onClick - Emits when an action is clicked
|
|
18
|
+
* @output onClose - Emits when the banner is closed
|
|
19
|
+
*/
|
|
20
|
+
export class BannerComponent {
|
|
21
|
+
constructor(cdr) {
|
|
22
|
+
this.cdr = cdr;
|
|
23
|
+
this.onClick = new EventEmitter();
|
|
24
|
+
this.onClose = new EventEmitter();
|
|
25
|
+
}
|
|
26
|
+
ngOnInit() { }
|
|
27
|
+
ngOnChanges(changes) {
|
|
28
|
+
if (changes['props']) {
|
|
29
|
+
// Forzar detección de cambios múltiple
|
|
30
|
+
this.cdr.detectChanges();
|
|
31
|
+
setTimeout(() => {
|
|
32
|
+
this.cdr.detectChanges();
|
|
33
|
+
}, 0);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
clickHandler(token) {
|
|
37
|
+
this.onClick.emit(token);
|
|
38
|
+
}
|
|
39
|
+
closeHandler() {
|
|
40
|
+
this.onClose.emit();
|
|
41
|
+
}
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BannerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BannerComponent, isStandalone: true, selector: "val-banner", inputs: { props: "props" }, outputs: { onClick: "onClick", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: `
|
|
44
|
+
<val-box
|
|
45
|
+
[props]="{
|
|
46
|
+
icon: props.closable ? 'close-outline' : '',
|
|
47
|
+
bordered: props.bordered,
|
|
48
|
+
color: '',
|
|
49
|
+
padding: props.padding,
|
|
50
|
+
}"
|
|
51
|
+
(onClick)="closeHandler()"
|
|
52
|
+
>
|
|
53
|
+
<div [ngClass]="['content-container', props.mode, props.alignment]" body>
|
|
54
|
+
<val-title-block
|
|
55
|
+
[props]="{
|
|
56
|
+
position: props.content.position,
|
|
57
|
+
aboveTitle: props.content.aboveTitle,
|
|
58
|
+
title: props.content.title,
|
|
59
|
+
bellowTitle: props.content.bellowTitle,
|
|
60
|
+
}"
|
|
61
|
+
></val-title-block>
|
|
62
|
+
@if (props.actions) {
|
|
63
|
+
<val-button-group
|
|
64
|
+
[ngClass]="['buttons-container', props.mode, props.alignment]"
|
|
65
|
+
[props]="props.actions"
|
|
66
|
+
(onClick)="clickHandler($event)"
|
|
67
|
+
></val-button-group>
|
|
68
|
+
}
|
|
69
|
+
</div>
|
|
70
|
+
</val-box>
|
|
71
|
+
`, isInline: true, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}.content-container{display:flex;justify-content:space-between}.content-container.center{flex-direction:column}.content-container.column{flex-direction:row}.content-container.row{flex-direction:column}.content-container.middle{align-items:center}.content-container.top{align-items:flex-start}.content-container.bottom{align-items:flex-end}.content-container.hybrid{flex-direction:column;align-items:flex-start}@media (min-width: 768px){.content-container.hybrid{flex-direction:row;align-items:center}}.buttons-container{align-items:center;display:flex;margin-top:1rem;margin-bottom:.0625rem}.buttons-container.column{margin-top:0rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BoxComponent, selector: "val-box", inputs: ["props"], outputs: ["onClick"] }, { kind: "component", type: TitleBlockComponent, selector: "val-title-block", inputs: ["props"] }, { kind: "component", type: ButtonGroupComponent, selector: "val-button-group", inputs: ["props"], outputs: ["onClick"] }] }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BannerComponent, decorators: [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'val-banner', standalone: true, imports: [CommonModule, BoxComponent, TitleBlockComponent, ButtonGroupComponent], template: `
|
|
76
|
+
<val-box
|
|
77
|
+
[props]="{
|
|
78
|
+
icon: props.closable ? 'close-outline' : '',
|
|
79
|
+
bordered: props.bordered,
|
|
80
|
+
color: '',
|
|
81
|
+
padding: props.padding,
|
|
82
|
+
}"
|
|
83
|
+
(onClick)="closeHandler()"
|
|
84
|
+
>
|
|
85
|
+
<div [ngClass]="['content-container', props.mode, props.alignment]" body>
|
|
86
|
+
<val-title-block
|
|
87
|
+
[props]="{
|
|
88
|
+
position: props.content.position,
|
|
89
|
+
aboveTitle: props.content.aboveTitle,
|
|
90
|
+
title: props.content.title,
|
|
91
|
+
bellowTitle: props.content.bellowTitle,
|
|
92
|
+
}"
|
|
93
|
+
></val-title-block>
|
|
94
|
+
@if (props.actions) {
|
|
95
|
+
<val-button-group
|
|
96
|
+
[ngClass]="['buttons-container', props.mode, props.alignment]"
|
|
97
|
+
[props]="props.actions"
|
|
98
|
+
(onClick)="clickHandler($event)"
|
|
99
|
+
></val-button-group>
|
|
100
|
+
}
|
|
101
|
+
</div>
|
|
102
|
+
</val-box>
|
|
103
|
+
`, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}.content-container{display:flex;justify-content:space-between}.content-container.center{flex-direction:column}.content-container.column{flex-direction:row}.content-container.row{flex-direction:column}.content-container.middle{align-items:center}.content-container.top{align-items:flex-start}.content-container.bottom{align-items:flex-end}.content-container.hybrid{flex-direction:column;align-items:flex-start}@media (min-width: 768px){.content-container.hybrid{flex-direction:row;align-items:center}}.buttons-container{align-items:center;display:flex;margin-top:1rem;margin-bottom:.0625rem}.buttons-container.column{margin-top:0rem}\n"] }]
|
|
104
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { props: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], onClick: [{
|
|
107
|
+
type: Output
|
|
108
|
+
}], onClose: [{
|
|
109
|
+
type: Output
|
|
110
|
+
}] } });
|
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9vcmdhbmlzbXMvYmFubmVyL2Jhbm5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFFTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFHTCxNQUFNLEdBRVAsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzdELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQzNGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1EQUFtRCxDQUFDOzs7QUFzQ3hGOzs7Ozs7Ozs7OztHQVdHO0FBQ0gsTUFBTSxPQUFPLGVBQWU7SUFVMUIsWUFBb0IsR0FBc0I7UUFBdEIsUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFMMUMsWUFBTyxHQUFHLElBQUksWUFBWSxFQUFVLENBQUM7UUFHckMsWUFBTyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7SUFFZ0IsQ0FBQztJQUU5QyxRQUFRLEtBQUksQ0FBQztJQUViLFdBQVcsQ0FBQyxPQUFzQjtRQUNoQyxJQUFJLE9BQU8sQ0FBQyxPQUFPLENBQUMs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ZW50OiBUaXRsZUJsb2NrTWV0YWRhO1xuICBwYWRkaW5nPzogc3RyaW5nO1xufTtcbiJdfQ==
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, computed, EventEmitter, inject, input, Output, signal, } from '@angular/core';
|
|
3
|
+
import { NavigationEnd, Router } from '@angular/router';
|
|
4
|
+
import { IonIcon, IonRippleEffect } from '@ionic/angular/standalone';
|
|
5
|
+
import { addIcons } from 'ionicons';
|
|
6
|
+
import { filter } from 'rxjs';
|
|
7
|
+
import { I18nService } from '../../../services/i18n';
|
|
8
|
+
import { NavigationService } from '../../../services/navigation';
|
|
9
|
+
import { BOTTOM_NAV_DEFAULTS, } from './types';
|
|
10
|
+
// Register common navigation icons
|
|
11
|
+
import { home, homeOutline, search, searchOutline, person, personOutline, settings, settingsOutline, notifications, notificationsOutline, add, addOutline, heart, heartOutline, cart, cartOutline, chatbubble, chatbubbleOutline, compass, compassOutline, grid, gridOutline, list, listOutline, calendar, calendarOutline, folder, folderOutline, documents, documentsOutline, statsChart, statsChartOutline, } from 'ionicons/icons';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "@angular/common";
|
|
14
|
+
addIcons({
|
|
15
|
+
home,
|
|
16
|
+
homeOutline,
|
|
17
|
+
search,
|
|
18
|
+
searchOutline,
|
|
19
|
+
person,
|
|
20
|
+
personOutline,
|
|
21
|
+
settings,
|
|
22
|
+
settingsOutline,
|
|
23
|
+
notifications,
|
|
24
|
+
notificationsOutline,
|
|
25
|
+
add,
|
|
26
|
+
addOutline,
|
|
27
|
+
heart,
|
|
28
|
+
heartOutline,
|
|
29
|
+
cart,
|
|
30
|
+
cartOutline,
|
|
31
|
+
chatbubble,
|
|
32
|
+
chatbubbleOutline,
|
|
33
|
+
compass,
|
|
34
|
+
compassOutline,
|
|
35
|
+
grid,
|
|
36
|
+
gridOutline,
|
|
37
|
+
list,
|
|
38
|
+
listOutline,
|
|
39
|
+
calendar,
|
|
40
|
+
calendarOutline,
|
|
41
|
+
folder,
|
|
42
|
+
folderOutline,
|
|
43
|
+
documents,
|
|
44
|
+
documentsOutline,
|
|
45
|
+
statsChart,
|
|
46
|
+
statsChartOutline,
|
|
47
|
+
});
|
|
48
|
+
/**
|
|
49
|
+
* val-bottom-nav
|
|
50
|
+
*
|
|
51
|
+
* A modern bottom navigation bar component with support for tabs,
|
|
52
|
+
* optional central FAB button, badges, and route-based active state detection.
|
|
53
|
+
*
|
|
54
|
+
* @example Basic usage
|
|
55
|
+
* ```html
|
|
56
|
+
* <val-bottom-nav
|
|
57
|
+
* [props]="{
|
|
58
|
+
* tabs: [
|
|
59
|
+
* { token: 'home', icon: { default: 'home-outline', active: 'home' }, label: 'Home', route: '/app/home' },
|
|
60
|
+
* { token: 'settings', icon: { default: 'settings-outline', active: 'settings' }, label: 'Settings', route: '/app/settings' }
|
|
61
|
+
* ]
|
|
62
|
+
* }"
|
|
63
|
+
* (tabClick)="onTabClick($event)"
|
|
64
|
+
* />
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @example With i18n and translucent theme
|
|
68
|
+
* ```html
|
|
69
|
+
* <val-bottom-nav
|
|
70
|
+
* [props]="{
|
|
71
|
+
* tabs: [
|
|
72
|
+
* { token: 'home', icon: { default: 'home-outline' }, labelKey: 'menuHome', route: '/app/home' },
|
|
73
|
+
* { token: 'settings', icon: { default: 'settings-outline' }, labelKey: 'menuSettings', route: '/app/settings' }
|
|
74
|
+
* ],
|
|
75
|
+
* i18nNamespace: 'Menu',
|
|
76
|
+
* theme: { translucent: true }
|
|
77
|
+
* }"
|
|
78
|
+
* />
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export class BottomNavComponent {
|
|
82
|
+
constructor() {
|
|
83
|
+
this.router = inject(Router);
|
|
84
|
+
this.navigation = inject(NavigationService);
|
|
85
|
+
this.i18n = inject(I18nService);
|
|
86
|
+
/** Component configuration */
|
|
87
|
+
this.props = input({ tabs: [] });
|
|
88
|
+
/** Event emitted when a tab is clicked */
|
|
89
|
+
this.tabClick = new EventEmitter();
|
|
90
|
+
/** Event emitted when the FAB button is clicked */
|
|
91
|
+
this.fabClick = new EventEmitter();
|
|
92
|
+
/** Current active route signal for reactive updates */
|
|
93
|
+
this.currentRoute = signal('');
|
|
94
|
+
/** Merged configuration with defaults */
|
|
95
|
+
this.config = computed(() => ({
|
|
96
|
+
...BOTTOM_NAV_DEFAULTS,
|
|
97
|
+
...this.props(),
|
|
98
|
+
theme: {
|
|
99
|
+
...BOTTOM_NAV_DEFAULTS.theme,
|
|
100
|
+
...this.props().theme,
|
|
101
|
+
},
|
|
102
|
+
}));
|
|
103
|
+
/** Computed tabs with FAB inserted if present */
|
|
104
|
+
this.displayTabs = computed(() => {
|
|
105
|
+
const tabs = this.config().tabs;
|
|
106
|
+
const fab = this.config().fab;
|
|
107
|
+
if (!fab)
|
|
108
|
+
return tabs;
|
|
109
|
+
// Insert placeholder at center for FAB positioning
|
|
110
|
+
const midpoint = Math.floor(tabs.length / 2);
|
|
111
|
+
return [
|
|
112
|
+
...tabs.slice(0, midpoint),
|
|
113
|
+
null, // FAB placeholder
|
|
114
|
+
...tabs.slice(midpoint),
|
|
115
|
+
];
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/** Check if a tab is currently active */
|
|
119
|
+
isActive(tab) {
|
|
120
|
+
const route = this.currentRoute();
|
|
121
|
+
if (!route)
|
|
122
|
+
return false;
|
|
123
|
+
// Check main route
|
|
124
|
+
const tabRoute = Array.isArray(tab.route) ? tab.route.join('/') : tab.route;
|
|
125
|
+
if (route.startsWith(tabRoute))
|
|
126
|
+
return true;
|
|
127
|
+
// Check additional active routes
|
|
128
|
+
if (tab.activeRoutes) {
|
|
129
|
+
return tab.activeRoutes.some((r) => route.startsWith(r));
|
|
130
|
+
}
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
/** Get the appropriate icon for a tab based on active state */
|
|
134
|
+
getIcon(tab) {
|
|
135
|
+
const active = this.isActive(tab);
|
|
136
|
+
if (active && tab.icon.active) {
|
|
137
|
+
return tab.icon.active;
|
|
138
|
+
}
|
|
139
|
+
return tab.icon.default;
|
|
140
|
+
}
|
|
141
|
+
/** Get translated label for a tab */
|
|
142
|
+
getLabel(tab) {
|
|
143
|
+
if (tab.label)
|
|
144
|
+
return tab.label;
|
|
145
|
+
if (tab.labelKey) {
|
|
146
|
+
this.i18n.lang(); // Track language changes for reactivity
|
|
147
|
+
return this.i18n.t(tab.labelKey, this.config().i18nNamespace);
|
|
148
|
+
}
|
|
149
|
+
return '';
|
|
150
|
+
}
|
|
151
|
+
/** Get CSS variables for theming */
|
|
152
|
+
getThemeStyles() {
|
|
153
|
+
const theme = this.config().theme;
|
|
154
|
+
return {
|
|
155
|
+
'--bottom-nav-bg': theme.background || '',
|
|
156
|
+
'--bottom-nav-active': this.resolveColor(theme.activeColor),
|
|
157
|
+
'--bottom-nav-inactive': this.resolveColor(theme.inactiveColor),
|
|
158
|
+
'--bottom-nav-radius': theme.borderRadius || '',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
ngOnInit() {
|
|
162
|
+
// Set initial route
|
|
163
|
+
this.currentRoute.set(this.router.url);
|
|
164
|
+
// Subscribe to route changes
|
|
165
|
+
this.routerSubscription = this.router.events
|
|
166
|
+
.pipe(filter((event) => event instanceof NavigationEnd))
|
|
167
|
+
.subscribe((event) => {
|
|
168
|
+
this.currentRoute.set(event.urlAfterRedirects);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
ngOnDestroy() {
|
|
172
|
+
this.routerSubscription?.unsubscribe();
|
|
173
|
+
}
|
|
174
|
+
/** Handle tab click */
|
|
175
|
+
onTabClick(tab) {
|
|
176
|
+
if (tab.disabled)
|
|
177
|
+
return;
|
|
178
|
+
// Emit event
|
|
179
|
+
this.tabClick.emit({
|
|
180
|
+
token: tab.token,
|
|
181
|
+
isFab: false,
|
|
182
|
+
route: tab.route,
|
|
183
|
+
});
|
|
184
|
+
// Navigate
|
|
185
|
+
const route = Array.isArray(tab.route) ? tab.route : [tab.route];
|
|
186
|
+
this.router.navigate(route);
|
|
187
|
+
}
|
|
188
|
+
/** Handle FAB click */
|
|
189
|
+
onFabClick() {
|
|
190
|
+
const fab = this.config().fab;
|
|
191
|
+
if (!fab)
|
|
192
|
+
return;
|
|
193
|
+
// Emit event
|
|
194
|
+
this.fabClick.emit();
|
|
195
|
+
// Navigate if route is defined and not an action-only button
|
|
196
|
+
if (fab.route && !fab.isAction) {
|
|
197
|
+
const route = Array.isArray(fab.route) ? fab.route : [fab.route];
|
|
198
|
+
this.router.navigate(route);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
/** Resolve Ionic color name to CSS variable */
|
|
202
|
+
resolveColor(color) {
|
|
203
|
+
if (!color)
|
|
204
|
+
return '';
|
|
205
|
+
const ionicColors = [
|
|
206
|
+
'primary',
|
|
207
|
+
'secondary',
|
|
208
|
+
'tertiary',
|
|
209
|
+
'success',
|
|
210
|
+
'warning',
|
|
211
|
+
'danger',
|
|
212
|
+
'light',
|
|
213
|
+
'medium',
|
|
214
|
+
'dark',
|
|
215
|
+
];
|
|
216
|
+
if (ionicColors.includes(color)) {
|
|
217
|
+
return `var(--ion-color-${color})`;
|
|
218
|
+
}
|
|
219
|
+
return color;
|
|
220
|
+
}
|
|
221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BottomNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
222
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BottomNavComponent, isStandalone: true, selector: "val-bottom-nav", inputs: { props: { classPropertyName: "props", publicName: "props", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabClick: "tabClick", fabClick: "fabClick" }, ngImport: i0, template: `
|
|
223
|
+
<nav
|
|
224
|
+
class="bottom-nav"
|
|
225
|
+
[class.bottom-nav--elevated]="config().theme.elevated"
|
|
226
|
+
[class.bottom-nav--translucent]="config().theme.translucent"
|
|
227
|
+
[class.bottom-nav--floating]="config().theme.floating"
|
|
228
|
+
[class.bottom-nav--safe-area]="config().safeArea"
|
|
229
|
+
[class.bottom-nav--hide-labels]="config().hideLabels"
|
|
230
|
+
[ngStyle]="getThemeStyles()"
|
|
231
|
+
role="navigation"
|
|
232
|
+
aria-label="Bottom navigation"
|
|
233
|
+
>
|
|
234
|
+
<div class="bottom-nav__container">
|
|
235
|
+
@for (item of displayTabs(); track $index) {
|
|
236
|
+
@if (item === null && config().fab) {
|
|
237
|
+
<!-- FAB Button -->
|
|
238
|
+
<button
|
|
239
|
+
class="bottom-nav__fab"
|
|
240
|
+
[class.bottom-nav__fab--small]="config().fab!.size === 'small'"
|
|
241
|
+
[style.--fab-color]="resolveColor(config().fab!.color || 'primary')"
|
|
242
|
+
(click)="onFabClick()"
|
|
243
|
+
[attr.aria-label]="config().fab!.ariaLabel || 'Action button'"
|
|
244
|
+
type="button"
|
|
245
|
+
>
|
|
246
|
+
<ion-ripple-effect></ion-ripple-effect>
|
|
247
|
+
<ion-icon [name]="config().fab!.icon"></ion-icon>
|
|
248
|
+
</button>
|
|
249
|
+
} @else if (item) {
|
|
250
|
+
<!-- Tab Item -->
|
|
251
|
+
<button
|
|
252
|
+
class="bottom-nav__tab"
|
|
253
|
+
[class.bottom-nav__tab--active]="isActive(item)"
|
|
254
|
+
[class.bottom-nav__tab--disabled]="item.disabled"
|
|
255
|
+
[attr.data-animation]="config().animation"
|
|
256
|
+
(click)="onTabClick(item)"
|
|
257
|
+
[attr.aria-label]="item.ariaLabel || getLabel(item)"
|
|
258
|
+
[attr.aria-current]="isActive(item) ? 'page' : null"
|
|
259
|
+
[disabled]="item.disabled"
|
|
260
|
+
type="button"
|
|
261
|
+
>
|
|
262
|
+
<ion-ripple-effect></ion-ripple-effect>
|
|
263
|
+
|
|
264
|
+
<div class="bottom-nav__tab-icon">
|
|
265
|
+
<ion-icon [name]="getIcon(item)"></ion-icon>
|
|
266
|
+
|
|
267
|
+
<!-- Badge -->
|
|
268
|
+
@if (item.badge) {
|
|
269
|
+
<span
|
|
270
|
+
class="bottom-nav__badge"
|
|
271
|
+
[class.bottom-nav__badge--dot]="item.badge.dot"
|
|
272
|
+
[style.color]="item.badge.color ? resolveColor(item.badge.color) : null"
|
|
273
|
+
[style.background-color]="item.badge.backgroundColor ? resolveColor(item.badge.backgroundColor) : null"
|
|
274
|
+
>
|
|
275
|
+
@if (!item.badge.dot && item.badge.text) {
|
|
276
|
+
{{ item.badge.text }}
|
|
277
|
+
}
|
|
278
|
+
</span>
|
|
279
|
+
}
|
|
280
|
+
</div>
|
|
281
|
+
|
|
282
|
+
@if (!config().hideLabels && getLabel(item)) {
|
|
283
|
+
<span class="bottom-nav__tab-label">{{ getLabel(item) }}</span>
|
|
284
|
+
}
|
|
285
|
+
</button>
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
</div>
|
|
289
|
+
</nav>
|
|
290
|
+
`, isInline: true, styles: [":host{display:block;position:fixed;bottom:0;left:0;right:0;z-index:100;pointer-events:none}.bottom-nav{--bottom-nav-bg: var(--ion-background-color);--bottom-nav-active: var(--ion-color-primary);--bottom-nav-inactive: var(--ion-color-medium);--bottom-nav-radius: 16px 16px 0 0;--bottom-nav-height: 64px;--bottom-nav-fab-size: 56px;--fab-color: var(--ion-color-primary);pointer-events:auto;background:var(--bottom-nav-bg);border-radius:var(--bottom-nav-radius);height:var(--bottom-nav-height);padding:0 8px}.bottom-nav--elevated{box-shadow:0 -4px 20px #00000014}.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 255, 255, 255),.75);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-top:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.06)}.bottom-nav--floating{margin:0 16px 8px;border-radius:32px;border:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.08);box-shadow:0 4px 24px #00000014,0 8px 32px #0000000a;--bottom-nav-radius: 32px}.bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 255, 255, 255),.82);backdrop-filter:blur(28px) saturate(200%);-webkit-backdrop-filter:blur(28px) saturate(200%);border:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.08)}.bottom-nav--floating.bottom-nav--elevated{box-shadow:0 4px 24px #0000001a,0 12px 48px #00000014}.bottom-nav--floating.bottom-nav--safe-area{margin-bottom:calc(8px + env(safe-area-inset-bottom,0))}.bottom-nav--safe-area{padding-bottom:env(safe-area-inset-bottom,0);height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,0))}.bottom-nav__container{display:flex;align-items:center;justify-content:space-around;height:var(--bottom-nav-height);max-width:500px;margin:0 auto}.bottom-nav__tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;padding:8px 4px;background:transparent;border:none;cursor:pointer;position:relative;overflow:hidden;color:var(--bottom-nav-inactive);transition:color .2s ease;max-width:80px;--ripple-color: var(--bottom-nav-active)}.bottom-nav__tab:focus-visible{outline:2px solid var(--bottom-nav-active);outline-offset:-2px;border-radius:8px}.bottom-nav__tab--active{color:var(--bottom-nav-active)}.bottom-nav__tab--disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.bottom-nav__tab[data-animation=scale] .bottom-nav__tab-icon{transition:transform .2s cubic-bezier(.4,0,.2,1)}.bottom-nav__tab[data-animation=scale].bottom-nav__tab--active .bottom-nav__tab-icon{transform:scale(1.15)}.bottom-nav__tab[data-animation=fade]{transition:opacity .2s ease,color .2s ease}.bottom-nav__tab[data-animation=fade]:not(.bottom-nav__tab--active){opacity:.6}.bottom-nav__tab[data-animation=slide] .bottom-nav__tab-label{transition:transform .2s ease,opacity .2s ease;transform:translateY(6px);opacity:0}.bottom-nav__tab[data-animation=slide].bottom-nav__tab--active .bottom-nav__tab-label{transform:translateY(0);opacity:1}.bottom-nav__tab-icon{position:relative;font-size:24px;line-height:1}.bottom-nav__tab-icon ion-icon{display:block}.bottom-nav__tab-label{font-size:11px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;letter-spacing:.01em}.bottom-nav__badge{position:absolute;top:-4px;right:-10px;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:600;line-height:18px;text-align:center;color:#fff;background-color:var(--ion-color-danger);border-radius:9px;box-shadow:0 1px 3px #0003}.bottom-nav__badge--dot{min-width:10px;width:10px;height:10px;padding:0;top:-2px;right:-4px;border-radius:50%}.bottom-nav__fab{position:relative;flex-shrink:0;width:var(--bottom-nav-fab-size);height:var(--bottom-nav-fab-size);margin:0 12px;margin-top:calc(var(--bottom-nav-fab-size) * -.35);background:var(--fab-color);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;box-shadow:0 4px 14px rgba(var(--ion-color-primary-rgb, 56, 128, 255),.4);transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s ease;overflow:hidden;--ripple-color: rgba(255, 255, 255, .3)}.bottom-nav__fab:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(var(--ion-color-primary-rgb, 56, 128, 255),.5)}.bottom-nav__fab:active{transform:scale(.95)}.bottom-nav__fab:focus-visible{outline:3px solid white;outline-offset:2px}.bottom-nav__fab--small{--bottom-nav-fab-size: 48px;font-size:24px;margin-top:-14.4px}.bottom-nav__fab ion-icon{display:block}.bottom-nav--hide-labels{--bottom-nav-height: 56px}.bottom-nav--hide-labels .bottom-nav__tab-label{display:none}.bottom-nav--hide-labels .bottom-nav__tab-icon{font-size:26px}@media (prefers-color-scheme: dark){.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 0, 0, 0),.8);border-top-color:#ffffff14}.bottom-nav--elevated{box-shadow:0 -4px 20px #00000040}.bottom-nav--floating{border-color:#ffffff1a;box-shadow:0 4px 24px #0003,0 8px 32px #00000026}.bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.88);border-color:#ffffff1a}.bottom-nav__fab{box-shadow:0 4px 14px #0006}.bottom-nav__fab:hover{box-shadow:0 6px 20px #00000080}}:host-context(.dark) .bottom-nav--translucent,:host-context(body.dark) .bottom-nav--translucent,:host-context([data-theme=dark]) .bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.85);border-top-color:#ffffff14}:host-context(.dark) .bottom-nav--elevated,:host-context(body.dark) .bottom-nav--elevated,:host-context([data-theme=dark]) .bottom-nav--elevated{box-shadow:0 -4px 20px #0000004d}:host-context(.dark) .bottom-nav--floating,:host-context(body.dark) .bottom-nav--floating,:host-context([data-theme=dark]) .bottom-nav--floating{border-color:#ffffff1a;box-shadow:0 4px 24px #0003,0 8px 32px #00000026}:host-context(.dark) .bottom-nav--floating.bottom-nav--translucent,:host-context(body.dark) .bottom-nav--floating.bottom-nav--translucent,:host-context([data-theme=dark]) .bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.88);border-color:#ffffff1a}:host-context(.dark) .bottom-nav__fab,:host-context(body.dark) .bottom-nav__fab,:host-context([data-theme=dark]) .bottom-nav__fab{box-shadow:0 4px 14px #00000080}:host-context(.dark) .bottom-nav__fab:hover,:host-context(body.dark) .bottom-nav__fab:hover,:host-context([data-theme=dark]) .bottom-nav__fab:hover{box-shadow:0 6px 20px #0009}@supports (padding-bottom: env(safe-area-inset-bottom)){.bottom-nav--safe-area .bottom-nav__container{height:var(--bottom-nav-height)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonRippleEffect, selector: "ion-ripple-effect", inputs: ["type"] }] }); }
|
|
291
|
+
}
|
|
292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BottomNavComponent, decorators: [{
|
|
293
|
+
type: Component,
|
|
294
|
+
args: [{ selector: 'val-bottom-nav', standalone: true, imports: [CommonModule, IonIcon, IonRippleEffect], template: `
|
|
295
|
+
<nav
|
|
296
|
+
class="bottom-nav"
|
|
297
|
+
[class.bottom-nav--elevated]="config().theme.elevated"
|
|
298
|
+
[class.bottom-nav--translucent]="config().theme.translucent"
|
|
299
|
+
[class.bottom-nav--floating]="config().theme.floating"
|
|
300
|
+
[class.bottom-nav--safe-area]="config().safeArea"
|
|
301
|
+
[class.bottom-nav--hide-labels]="config().hideLabels"
|
|
302
|
+
[ngStyle]="getThemeStyles()"
|
|
303
|
+
role="navigation"
|
|
304
|
+
aria-label="Bottom navigation"
|
|
305
|
+
>
|
|
306
|
+
<div class="bottom-nav__container">
|
|
307
|
+
@for (item of displayTabs(); track $index) {
|
|
308
|
+
@if (item === null && config().fab) {
|
|
309
|
+
<!-- FAB Button -->
|
|
310
|
+
<button
|
|
311
|
+
class="bottom-nav__fab"
|
|
312
|
+
[class.bottom-nav__fab--small]="config().fab!.size === 'small'"
|
|
313
|
+
[style.--fab-color]="resolveColor(config().fab!.color || 'primary')"
|
|
314
|
+
(click)="onFabClick()"
|
|
315
|
+
[attr.aria-label]="config().fab!.ariaLabel || 'Action button'"
|
|
316
|
+
type="button"
|
|
317
|
+
>
|
|
318
|
+
<ion-ripple-effect></ion-ripple-effect>
|
|
319
|
+
<ion-icon [name]="config().fab!.icon"></ion-icon>
|
|
320
|
+
</button>
|
|
321
|
+
} @else if (item) {
|
|
322
|
+
<!-- Tab Item -->
|
|
323
|
+
<button
|
|
324
|
+
class="bottom-nav__tab"
|
|
325
|
+
[class.bottom-nav__tab--active]="isActive(item)"
|
|
326
|
+
[class.bottom-nav__tab--disabled]="item.disabled"
|
|
327
|
+
[attr.data-animation]="config().animation"
|
|
328
|
+
(click)="onTabClick(item)"
|
|
329
|
+
[attr.aria-label]="item.ariaLabel || getLabel(item)"
|
|
330
|
+
[attr.aria-current]="isActive(item) ? 'page' : null"
|
|
331
|
+
[disabled]="item.disabled"
|
|
332
|
+
type="button"
|
|
333
|
+
>
|
|
334
|
+
<ion-ripple-effect></ion-ripple-effect>
|
|
335
|
+
|
|
336
|
+
<div class="bottom-nav__tab-icon">
|
|
337
|
+
<ion-icon [name]="getIcon(item)"></ion-icon>
|
|
338
|
+
|
|
339
|
+
<!-- Badge -->
|
|
340
|
+
@if (item.badge) {
|
|
341
|
+
<span
|
|
342
|
+
class="bottom-nav__badge"
|
|
343
|
+
[class.bottom-nav__badge--dot]="item.badge.dot"
|
|
344
|
+
[style.color]="item.badge.color ? resolveColor(item.badge.color) : null"
|
|
345
|
+
[style.background-color]="item.badge.backgroundColor ? resolveColor(item.badge.backgroundColor) : null"
|
|
346
|
+
>
|
|
347
|
+
@if (!item.badge.dot && item.badge.text) {
|
|
348
|
+
{{ item.badge.text }}
|
|
349
|
+
}
|
|
350
|
+
</span>
|
|
351
|
+
}
|
|
352
|
+
</div>
|
|
353
|
+
|
|
354
|
+
@if (!config().hideLabels && getLabel(item)) {
|
|
355
|
+
<span class="bottom-nav__tab-label">{{ getLabel(item) }}</span>
|
|
356
|
+
}
|
|
357
|
+
</button>
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
</div>
|
|
361
|
+
</nav>
|
|
362
|
+
`, styles: [":host{display:block;position:fixed;bottom:0;left:0;right:0;z-index:100;pointer-events:none}.bottom-nav{--bottom-nav-bg: var(--ion-background-color);--bottom-nav-active: var(--ion-color-primary);--bottom-nav-inactive: var(--ion-color-medium);--bottom-nav-radius: 16px 16px 0 0;--bottom-nav-height: 64px;--bottom-nav-fab-size: 56px;--fab-color: var(--ion-color-primary);pointer-events:auto;background:var(--bottom-nav-bg);border-radius:var(--bottom-nav-radius);height:var(--bottom-nav-height);padding:0 8px}.bottom-nav--elevated{box-shadow:0 -4px 20px #00000014}.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 255, 255, 255),.75);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-top:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.06)}.bottom-nav--floating{margin:0 16px 8px;border-radius:32px;border:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.08);box-shadow:0 4px 24px #00000014,0 8px 32px #0000000a;--bottom-nav-radius: 32px}.bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 255, 255, 255),.82);backdrop-filter:blur(28px) saturate(200%);-webkit-backdrop-filter:blur(28px) saturate(200%);border:1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0),.08)}.bottom-nav--floating.bottom-nav--elevated{box-shadow:0 4px 24px #0000001a,0 12px 48px #00000014}.bottom-nav--floating.bottom-nav--safe-area{margin-bottom:calc(8px + env(safe-area-inset-bottom,0))}.bottom-nav--safe-area{padding-bottom:env(safe-area-inset-bottom,0);height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,0))}.bottom-nav__container{display:flex;align-items:center;justify-content:space-around;height:var(--bottom-nav-height);max-width:500px;margin:0 auto}.bottom-nav__tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;padding:8px 4px;background:transparent;border:none;cursor:pointer;position:relative;overflow:hidden;color:var(--bottom-nav-inactive);transition:color .2s ease;max-width:80px;--ripple-color: var(--bottom-nav-active)}.bottom-nav__tab:focus-visible{outline:2px solid var(--bottom-nav-active);outline-offset:-2px;border-radius:8px}.bottom-nav__tab--active{color:var(--bottom-nav-active)}.bottom-nav__tab--disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.bottom-nav__tab[data-animation=scale] .bottom-nav__tab-icon{transition:transform .2s cubic-bezier(.4,0,.2,1)}.bottom-nav__tab[data-animation=scale].bottom-nav__tab--active .bottom-nav__tab-icon{transform:scale(1.15)}.bottom-nav__tab[data-animation=fade]{transition:opacity .2s ease,color .2s ease}.bottom-nav__tab[data-animation=fade]:not(.bottom-nav__tab--active){opacity:.6}.bottom-nav__tab[data-animation=slide] .bottom-nav__tab-label{transition:transform .2s ease,opacity .2s ease;transform:translateY(6px);opacity:0}.bottom-nav__tab[data-animation=slide].bottom-nav__tab--active .bottom-nav__tab-label{transform:translateY(0);opacity:1}.bottom-nav__tab-icon{position:relative;font-size:24px;line-height:1}.bottom-nav__tab-icon ion-icon{display:block}.bottom-nav__tab-label{font-size:11px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;letter-spacing:.01em}.bottom-nav__badge{position:absolute;top:-4px;right:-10px;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:600;line-height:18px;text-align:center;color:#fff;background-color:var(--ion-color-danger);border-radius:9px;box-shadow:0 1px 3px #0003}.bottom-nav__badge--dot{min-width:10px;width:10px;height:10px;padding:0;top:-2px;right:-4px;border-radius:50%}.bottom-nav__fab{position:relative;flex-shrink:0;width:var(--bottom-nav-fab-size);height:var(--bottom-nav-fab-size);margin:0 12px;margin-top:calc(var(--bottom-nav-fab-size) * -.35);background:var(--fab-color);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;box-shadow:0 4px 14px rgba(var(--ion-color-primary-rgb, 56, 128, 255),.4);transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s ease;overflow:hidden;--ripple-color: rgba(255, 255, 255, .3)}.bottom-nav__fab:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(var(--ion-color-primary-rgb, 56, 128, 255),.5)}.bottom-nav__fab:active{transform:scale(.95)}.bottom-nav__fab:focus-visible{outline:3px solid white;outline-offset:2px}.bottom-nav__fab--small{--bottom-nav-fab-size: 48px;font-size:24px;margin-top:-14.4px}.bottom-nav__fab ion-icon{display:block}.bottom-nav--hide-labels{--bottom-nav-height: 56px}.bottom-nav--hide-labels .bottom-nav__tab-label{display:none}.bottom-nav--hide-labels .bottom-nav__tab-icon{font-size:26px}@media (prefers-color-scheme: dark){.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 0, 0, 0),.8);border-top-color:#ffffff14}.bottom-nav--elevated{box-shadow:0 -4px 20px #00000040}.bottom-nav--floating{border-color:#ffffff1a;box-shadow:0 4px 24px #0003,0 8px 32px #00000026}.bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.88);border-color:#ffffff1a}.bottom-nav__fab{box-shadow:0 4px 14px #0006}.bottom-nav__fab:hover{box-shadow:0 6px 20px #00000080}}:host-context(.dark) .bottom-nav--translucent,:host-context(body.dark) .bottom-nav--translucent,:host-context([data-theme=dark]) .bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.85);border-top-color:#ffffff14}:host-context(.dark) .bottom-nav--elevated,:host-context(body.dark) .bottom-nav--elevated,:host-context([data-theme=dark]) .bottom-nav--elevated{box-shadow:0 -4px 20px #0000004d}:host-context(.dark) .bottom-nav--floating,:host-context(body.dark) .bottom-nav--floating,:host-context([data-theme=dark]) .bottom-nav--floating{border-color:#ffffff1a;box-shadow:0 4px 24px #0003,0 8px 32px #00000026}:host-context(.dark) .bottom-nav--floating.bottom-nav--translucent,:host-context(body.dark) .bottom-nav--floating.bottom-nav--translucent,:host-context([data-theme=dark]) .bottom-nav--floating.bottom-nav--translucent{background:rgba(var(--ion-background-color-rgb, 18, 18, 18),.88);border-color:#ffffff1a}:host-context(.dark) .bottom-nav__fab,:host-context(body.dark) .bottom-nav__fab,:host-context([data-theme=dark]) .bottom-nav__fab{box-shadow:0 4px 14px #00000080}:host-context(.dark) .bottom-nav__fab:hover,:host-context(body.dark) .bottom-nav__fab:hover,:host-context([data-theme=dark]) .bottom-nav__fab:hover{box-shadow:0 6px 20px #0009}@supports (padding-bottom: env(safe-area-inset-bottom)){.bottom-nav--safe-area .bottom-nav__container{height:var(--bottom-nav-height)}}\n"] }]
|
|
363
|
+
}], propDecorators: { tabClick: [{
|
|
364
|
+
type: Output
|
|
365
|
+
}], fabClick: [{
|
|
366
|
+
type: Output
|
|
367
|
+
}] } });
|
|
368
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm90dG9tLW5hdi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL2JvdHRvbS1uYXYvYm90dG9tLW5hdi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFDTCxTQUFTLEVBQ1QsUUFBUSxFQUNSLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUdMLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDcEMsT0FBTyxFQUFFLE1BQU0sRUFBZ0IsTUFBTSxNQUFNLENBQUM7QUFDNUMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ2pFLE9BQU8sRUFJTCxtQkFBbUIsR0FDcEIsTUFBTSxTQUFTLENBQUM7QUFFakIsbUNBQW1DO0FBQ25DLE9BQU8sRUFDTCxJQUFJLEVBQ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hYi0tZGlzYWJsZWRdPVwiaXRlbS5kaXNhYmxlZFwiXG4gICAgICAgICAgICAgIFthdHRyLmRhdGEtYW5pbWF0aW9uXT1cImNvbmZpZygpLmFuaW1hdGlvblwiXG4gICAgICAgICAgICAgIChjbGljayk9XCJvblRhYkNsaWNrKGl0ZW0pXCJcbiAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJpdGVtLmFyaWFMYWJlbCB8fCBnZXRMYWJlbChpdGVtKVwiXG4gICAgICAgICAgICAgIFthdHRyLmFyaWEtY3VycmVudF09XCJpc0FjdGl2ZShpdGVtKSA/ICdwYWdlJyA6IG51bGxcIlxuICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiaXRlbS5kaXNhYmxlZFwiXG4gICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8aW9uLXJpcHBsZS1lZmZlY3Q+PC9pb24tcmlwcGxlLWVmZmVjdD5cblxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYm90dG9tLW5hdl9fdGFiLWljb25cIj5cbiAgICAgICAgICAgICAgICA8aW9uLWljb24gW25hbWVdPVwiZ2V0SWNvbihpdGVtKVwiPjwvaW9uLWljb24+XG5cbiAgICAgICAgICAgICAgICA8IS0tIEJhZGdlIC0tPlxuICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5iYWRnZSkge1xuICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJib3R0b20tbmF2X19iYWRnZVwiXG4gICAgICAgICAgICAgICAgICAgIFtjbGFzcy5ib3R0b20tbmF2X19iYWRnZS0tZG90XT1cIml0ZW0uYmFkZ2UuZG90XCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cIml0ZW0uYmFkZ2UuY29sb3IgPyByZXNvbHZlQ29sb3IoaXRlbS5iYWRnZS5jb2xvcikgOiBudWxsXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmJhY2tncm91bmQtY29sb3JdPVwiaXRlbS5iYWRnZS5iYWNrZ3JvdW5kQ29sb3IgPyByZXNvbHZlQ29sb3IoaXRlbS5iYWRnZS5iYWNrZ3JvdW5kQ29sb3IpIDogbnVsbFwiXG4gICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoIWl0ZW0uYmFkZ2UuZG90ICYmIGl0ZW0uYmFkZ2UudGV4dCkge1xuICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uYmFkZ2UudGV4dCB9fVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgICBAaWYgKCFjb25maWcoKS5oaWRlTGFiZWxzICYmIGdldExhYmVsKGl0ZW0pKSB7XG4gICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJib3R0b20tbmF2X190YWItbGFiZWxcIj57eyBnZXRMYWJlbChpdGVtKSB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICA8L2Rpdj5cbiAgICA8L25hdj5cbiAgYCxcbiAgc3R5bGVVcmxzOiBbJy4vYm90dG9tLW5hdi5jb21wb25lbnQuc2NzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBCb3R0b21OYXZDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQsIE9uRGVzdHJveSB7XG4gIHByaXZhdGUgcm91dGVyID0gaW5qZWN0KFJvdXRlcik7XG4gIHByaXZhdGUgbmF2aWdhdGlvbiA9IGluamVjdChOYXZpZ2F0aW9uU2VydmljZSk7XG4gIHByaXZhdGUgaTE4biA9IGluamVjdChJMThuU2VydmljZSk7XG4gIHByaXZhdGUgcm91dGVyU3Vic2NyaXB0a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GlvbmljQ29sb3JzLmluY2x1ZGVzKGNvbG9yKSkge1xuICAgICAgcmV0dXJuIGB2YXIoLS1pb24tY29sb3ItJHtjb2xvcn0pYDtcbiAgICB9XG4gICAgcmV0dXJuIGNvbG9yO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default values for BottomNavMetadata
|
|
3
|
+
*/
|
|
4
|
+
export const BOTTOM_NAV_DEFAULTS = {
|
|
5
|
+
hideLabels: false,
|
|
6
|
+
safeArea: true,
|
|
7
|
+
animation: 'scale',
|
|
8
|
+
theme: {
|
|
9
|
+
background: 'var(--ion-background-color)',
|
|
10
|
+
activeColor: 'primary',
|
|
11
|
+
inactiveColor: 'medium',
|
|
12
|
+
borderRadius: '16px 16px 0 0',
|
|
13
|
+
elevated: false,
|
|
14
|
+
translucent: true,
|
|
15
|
+
floating: false,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL2JvdHRvbS1uYXYvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0hBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBRVU7SUFDeEMsVUFBVSxFQUFFLEtBQUs7SUFDakIsUUFBUSxFQUFFLElBQUk7SUFDZCxTQUFTLEVBQUUsT0FBTztJQUNsQixLQUFLLEVBQUU7UUFDTCxVQUFVLEVBQUUsNkJBQTZCO1FBQ3pDLFdBQVcsRUFBRSxTQUFTO1FBQ3RCLGFBQWEsRUFBRSxRQUFRO1FBQ3ZCLFlBQVksRUFBRSxlQUFlO1FBQzdCLFFBQVEsRUFBRSxLQUFLO1FBQ2Y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