valtech-components 2.0.687 → 2.0.689
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +16 -0
- package/.prettierignore +6 -0
- package/.prettierrc +30 -0
- package/.storybook/main.ts +21 -0
- package/.storybook/preview-body.html +60 -0
- package/.storybook/preview-head.html +48 -0
- package/.storybook/preview.ts +52 -0
- package/.storybook/tsconfig.json +12 -0
- package/I18N-COMPONENTS-MIGRATION.md +496 -0
- package/angular.json +60 -0
- package/ng-package.json +16 -0
- package/package.json +64 -16
- package/scripts/publish.sh +30 -0
- package/scripts/update-apps.sh +94 -0
- package/src/lib/components/atoms/avatar/avatar.component.scss +31 -0
- package/src/lib/components/atoms/avatar/avatar.component.ts +95 -0
- package/src/lib/components/atoms/avatar/avatar.stories.ts +243 -0
- package/src/lib/components/atoms/avatar/types.ts +15 -0
- package/src/lib/components/atoms/box/box.component.scss +57 -0
- package/src/lib/components/atoms/box/box.component.ts +77 -0
- package/src/lib/components/atoms/box/box.stories.ts +280 -0
- package/src/lib/components/atoms/box/types.ts +20 -0
- package/src/lib/components/atoms/button/button.component.scss +20 -0
- package/src/lib/components/atoms/button/button.component.ts +174 -0
- package/src/lib/components/atoms/button/button.stories.ts +293 -0
- package/src/lib/components/atoms/button/factory.ts +444 -0
- package/src/lib/components/atoms/countdown/countdown.component.scss +256 -0
- package/src/lib/components/atoms/countdown/countdown.component.ts +293 -0
- package/src/lib/components/atoms/countdown/countdown.stories.ts +316 -0
- package/src/lib/components/atoms/countdown/types.ts +144 -0
- package/src/lib/components/atoms/display/display.component.scss +17 -0
- package/src/lib/components/atoms/display/display.component.ts +54 -0
- package/src/lib/components/atoms/display/display.stories.ts +185 -0
- package/src/lib/components/atoms/display/types.ts +35 -0
- package/src/lib/components/atoms/divider/divider.component.scss +62 -0
- package/src/lib/components/atoms/divider/divider.component.ts +35 -0
- package/src/lib/components/atoms/divider/divider.stories.ts +202 -0
- package/src/lib/components/atoms/divider/types.ts +12 -0
- package/src/lib/components/atoms/fab/fab.component.scss +26 -0
- package/src/lib/components/atoms/fab/fab.component.ts +166 -0
- package/src/lib/components/atoms/fab/fab.stories.ts +360 -0
- package/src/lib/components/atoms/fab/types.ts +47 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.scss +39 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.ts +67 -0
- package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.stories.ts +351 -0
- package/src/lib/components/atoms/horizontal-scroll/types.ts +13 -0
- package/src/lib/components/atoms/href/href.component.scss +25 -0
- package/src/lib/components/atoms/href/href.component.ts +64 -0
- package/src/lib/components/atoms/href/href.stories.ts +214 -0
- package/src/lib/components/atoms/href/types.ts +20 -0
- package/src/lib/components/atoms/icon/icon.component.scss +33 -0
- package/src/lib/components/atoms/icon/icon.component.ts +38 -0
- package/src/lib/components/atoms/icon/icon.stories.ts +160 -0
- package/src/lib/components/atoms/icon/types.ts +14 -0
- package/src/lib/components/atoms/image/README.md +0 -0
- package/src/lib/components/atoms/image/image.component.scss +281 -0
- package/src/lib/components/atoms/image/image.component.ts +399 -0
- package/src/lib/components/atoms/image/image.stories.ts +317 -0
- package/src/lib/components/atoms/image/types.ts +37 -0
- package/src/lib/components/atoms/price-tag/price-tag.component.scss +228 -0
- package/src/lib/components/atoms/price-tag/price-tag.component.ts +188 -0
- package/src/lib/components/atoms/price-tag/price-tag.stories.ts +315 -0
- package/src/lib/components/atoms/price-tag/types.ts +78 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +22 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +88 -0
- package/src/lib/components/atoms/progress-bar/progress-bar.stories.ts +375 -0
- package/src/lib/components/atoms/progress-bar/types.ts +20 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.component.scss +35 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.component.ts +114 -0
- package/src/lib/components/atoms/progress-ring/progress-ring.stories.ts +323 -0
- package/src/lib/components/atoms/progress-ring/types.ts +25 -0
- package/src/lib/components/atoms/qr-code/qr-code.component.scss +353 -0
- package/src/lib/components/atoms/qr-code/qr-code.component.ts +313 -0
- package/src/lib/components/atoms/qr-code/qr-code.stories.ts +767 -0
- package/src/lib/components/atoms/qr-code/types.ts +173 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.component.scss +20 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.component.ts +98 -0
- package/src/lib/components/atoms/rights-footer/rights-footer.stories.ts +229 -0
- package/src/lib/components/atoms/rights-footer/types.ts +21 -0
- package/src/lib/components/atoms/skeleton/skeleton.component.scss +58 -0
- package/src/lib/components/atoms/skeleton/skeleton.component.ts +129 -0
- package/src/lib/components/atoms/skeleton/skeleton.stories.ts +242 -0
- package/src/lib/components/atoms/skeleton/types.ts +39 -0
- package/src/lib/components/atoms/text/text.component.scss +38 -0
- package/src/lib/components/atoms/text/text.component.ts +123 -0
- package/src/lib/components/atoms/text/text.stories.ts +174 -0
- package/src/lib/components/atoms/text/types.ts +50 -0
- package/src/lib/components/atoms/title/title.component.scss +33 -0
- package/src/lib/components/atoms/title/title.component.ts +65 -0
- package/src/lib/components/atoms/title/title.stories.ts +167 -0
- package/src/lib/components/atoms/title/types.ts +46 -0
- package/src/lib/components/molecules/accordion/accordion.component.scss +34 -0
- package/src/lib/components/molecules/accordion/accordion.component.ts +103 -0
- package/src/lib/components/molecules/accordion/accordion.stories.ts +236 -0
- package/src/lib/components/molecules/accordion/types.ts +49 -0
- package/src/lib/components/molecules/action-card/action-card.component.scss +226 -0
- package/src/lib/components/molecules/action-card/action-card.component.ts +246 -0
- package/src/lib/components/molecules/action-card/action-card.stories.ts +396 -0
- package/src/lib/components/molecules/action-card/types.ts +102 -0
- package/src/lib/components/molecules/action-header/action-header.component.ts +28 -0
- package/src/lib/components/molecules/action-header/action-header.stories.ts +481 -0
- package/src/lib/components/molecules/action-header/types.ts +7 -0
- package/src/lib/components/molecules/ad-slot/ad-slot.component.ts +352 -0
- package/src/lib/components/molecules/alert-box/alert-box.component.scss +10 -0
- package/src/lib/components/molecules/alert-box/alert-box.component.ts +125 -0
- package/src/lib/components/molecules/alert-box/alert-box.stories.ts +248 -0
- package/src/lib/components/molecules/alert-box/types.ts +39 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.scss +34 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.component.ts +109 -0
- package/src/lib/components/molecules/breadcrumb/breadcrumb.stories.ts +271 -0
- package/src/lib/components/molecules/breadcrumb/types.ts +47 -0
- package/src/lib/components/molecules/button-group/button-group.component.scss +41 -0
- package/src/lib/components/molecules/button-group/button-group.component.ts +65 -0
- package/src/lib/components/molecules/button-group/button-group.stories.ts +296 -0
- package/src/lib/components/molecules/button-group/types.ts +14 -0
- package/src/lib/components/molecules/card/card.component.scss +62 -0
- package/src/lib/components/molecules/card/card.component.ts +300 -0
- package/src/lib/components/molecules/card/card.stories.ts +360 -0
- package/src/lib/components/molecules/card/types.ts +36 -0
- package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
- package/src/lib/components/molecules/check-input/check-input.component.ts +88 -0
- package/src/lib/components/molecules/check-input/check-input.stories.ts +54 -0
- package/src/lib/components/molecules/chip-group/chip-group.component.scss +70 -0
- package/src/lib/components/molecules/chip-group/chip-group.component.ts +150 -0
- package/src/lib/components/molecules/chip-group/chip-group.stories.ts +307 -0
- package/src/lib/components/molecules/chip-group/types.ts +69 -0
- package/src/lib/components/molecules/code-display/code-display.component.scss +239 -0
- package/src/lib/components/molecules/code-display/code-display.component.ts +109 -0
- package/src/lib/components/molecules/code-display/code-display.stories.ts +402 -0
- package/src/lib/components/molecules/code-display/types.ts +11 -0
- package/src/lib/components/molecules/command-display/command-display.component.scss +38 -0
- package/src/lib/components/molecules/command-display/command-display.component.ts +45 -0
- package/src/lib/components/molecules/command-display/command-display.stories.ts +110 -0
- package/src/lib/components/molecules/command-display/types.ts +3 -0
- package/src/lib/components/molecules/comment/comment.component.scss +339 -0
- package/src/lib/components/molecules/comment/comment.component.ts +496 -0
- package/src/lib/components/molecules/comment/comment.stories.ts +384 -0
- package/src/lib/components/molecules/comment/types.ts +181 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.ts +42 -0
- package/src/lib/components/molecules/comment-input/comment-input.stories.ts +124 -0
- package/src/lib/components/molecules/comment-input/types.ts +69 -0
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +42 -0
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +45 -0
- package/src/lib/components/molecules/content-loader/content-loader.stories.ts +370 -0
- package/src/lib/components/molecules/content-loader/types.ts +16 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.html +81 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.scss +157 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.component.ts +273 -0
- package/src/lib/components/molecules/content-reaction/content-reaction.stories.ts +453 -0
- package/src/lib/components/molecules/content-reaction/types.ts +99 -0
- package/src/lib/components/molecules/currency-input/currency-input.component.scss +101 -0
- package/src/lib/components/molecules/currency-input/currency-input.component.ts +327 -0
- package/src/lib/components/molecules/currency-input/currency-input.stories.ts +279 -0
- package/src/lib/components/molecules/currency-input/types.ts +125 -0
- package/src/lib/components/molecules/date-input/date-input.component.scss +11 -0
- package/src/lib/components/molecules/date-input/date-input.component.ts +136 -0
- package/src/lib/components/molecules/date-input/date-input.stories.ts +205 -0
- package/src/lib/components/molecules/date-input/types.ts +84 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.component.scss +119 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.component.ts +364 -0
- package/src/lib/components/molecules/date-range-input/date-range-input.stories.ts +288 -0
- package/src/lib/components/molecules/date-range-input/types.ts +122 -0
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.scss +278 -0
- package/src/lib/components/molecules/docs-api-table/docs-api-table.component.ts +138 -0
- package/src/lib/components/molecules/docs-api-table/types.ts +81 -0
- package/src/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.ts +161 -0
- package/src/lib/components/molecules/docs-breadcrumb/types.ts +21 -0
- package/src/lib/components/molecules/docs-callout/docs-callout.component.scss +136 -0
- package/src/lib/components/molecules/docs-callout/docs-callout.component.ts +55 -0
- package/src/lib/components/molecules/docs-code-example/docs-code-example.component.ts +535 -0
- package/src/lib/components/molecules/docs-code-example/types.ts +75 -0
- package/src/lib/components/molecules/docs-nav-links/docs-nav-links.component.ts +216 -0
- package/src/lib/components/molecules/docs-nav-links/types.ts +36 -0
- package/src/lib/components/molecules/docs-search/docs-search.component.scss +195 -0
- package/src/lib/components/molecules/docs-search/docs-search.component.ts +228 -0
- package/src/lib/components/molecules/docs-search/types.ts +30 -0
- package/src/lib/components/molecules/docs-section/docs-section.component.ts +99 -0
- package/src/lib/components/molecules/docs-section/types.ts +31 -0
- package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
- package/src/lib/components/molecules/email-input/email-input.component.ts +77 -0
- package/src/lib/components/molecules/email-input/email-input.stories.ts +176 -0
- package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +111 -0
- package/src/lib/components/molecules/expandable-text/expandable-text.stories.ts +287 -0
- package/src/lib/components/molecules/expandable-text/types.ts +14 -0
- package/src/lib/components/molecules/features-list/features-list.component.ts +251 -0
- package/src/lib/components/molecules/features-list/types.ts +44 -0
- package/src/lib/components/molecules/feedback-form/feedback-form.component.ts +355 -0
- package/src/lib/components/molecules/feedback-form/types.ts +77 -0
- package/src/lib/components/molecules/file-input/file-input.component.scss +11 -0
- package/src/lib/components/molecules/file-input/file-input.component.ts +87 -0
- package/src/lib/components/molecules/file-input/file-input.stories.ts +107 -0
- package/src/lib/components/molecules/file-input/types.ts +85 -0
- package/src/lib/components/molecules/footer-links/footer-links.component.scss +130 -0
- package/src/lib/components/molecules/footer-links/footer-links.component.ts +244 -0
- package/src/lib/components/molecules/footer-links/footer-links.stories.ts +188 -0
- package/src/lib/components/molecules/footer-links/types.ts +52 -0
- package/src/lib/components/molecules/glow-card/glow-card.component.scss +295 -0
- package/src/lib/components/molecules/glow-card/glow-card.component.ts +284 -0
- package/src/lib/components/molecules/glow-card/glow-card.stories.ts +680 -0
- package/src/lib/components/molecules/glow-card/types.ts +117 -0
- package/src/lib/components/molecules/hint/hint.component.scss +5 -0
- package/src/lib/components/molecules/hint/hint.component.ts +89 -0
- package/src/lib/components/molecules/hint/hint.stories.ts +233 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.ts +34 -0
- package/src/lib/components/molecules/hour-input/hour-input.stories.ts +145 -0
- package/src/lib/components/molecules/image-crop/image-crop.component.ts +195 -0
- package/src/lib/components/molecules/info/info.component.ts +35 -0
- package/src/lib/components/molecules/info/info.stories.ts +276 -0
- package/src/lib/components/molecules/info/types.ts +11 -0
- package/src/lib/components/molecules/language-selector/language-selector.component.scss +128 -0
- package/src/lib/components/molecules/language-selector/language-selector.component.ts +204 -0
- package/src/lib/components/molecules/language-selector/language-selector.stories.ts +261 -0
- package/src/lib/components/molecules/language-selector/types.ts +84 -0
- package/src/lib/components/molecules/layered-card/layered-card.component.scss +84 -0
- package/src/lib/components/molecules/layered-card/layered-card.component.ts +66 -0
- package/src/lib/components/molecules/layered-card/layered-card.stories.ts +313 -0
- package/src/lib/components/molecules/layered-card/types.ts +16 -0
- package/src/lib/components/molecules/link/link.component.scss +11 -0
- package/src/lib/components/molecules/link/link.component.ts +73 -0
- package/src/lib/components/molecules/link/link.stories.ts +307 -0
- package/src/lib/components/molecules/link/types.ts +20 -0
- package/src/lib/components/molecules/linked-providers/index.ts +2 -0
- package/src/lib/components/molecules/linked-providers/linked-providers.component.ts +289 -0
- package/src/lib/components/molecules/linked-providers/types.ts +63 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.component.scss +17 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.component.ts +152 -0
- package/src/lib/components/molecules/links-accordion/links-accordion.stories.ts +209 -0
- package/src/lib/components/molecules/links-accordion/types.ts +41 -0
- package/src/lib/components/molecules/links-cake/links-cake.component.scss +9 -0
- package/src/lib/components/molecules/links-cake/links-cake.component.ts +49 -0
- package/src/lib/components/molecules/links-cake/links-cake.stories.ts +160 -0
- package/src/lib/components/molecules/links-cake/types.ts +14 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.scss +168 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.component.ts +471 -0
- package/src/lib/components/molecules/multi-select-search/multi-select-search.stories.ts +188 -0
- package/src/lib/components/molecules/notes-box/notes-box.component.scss +5 -0
- package/src/lib/components/molecules/notes-box/notes-box.component.ts +62 -0
- package/src/lib/components/molecules/notes-box/notes-box.stories.ts +308 -0
- package/src/lib/components/molecules/notes-box/types.ts +22 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.component.scss +10 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.component.ts +134 -0
- package/src/lib/components/molecules/number-from-to/number-from-to.stories.ts +203 -0
- package/src/lib/components/molecules/number-from-to/types.ts +91 -0
- package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
- package/src/lib/components/molecules/number-input/number-input.component.ts +41 -0
- package/src/lib/components/molecules/number-input/number-input.stories.ts +151 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.component.scss +252 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.component.ts +302 -0
- package/src/lib/components/molecules/number-stepper/number-stepper.stories.ts +417 -0
- package/src/lib/components/molecules/number-stepper/types.ts +101 -0
- package/src/lib/components/molecules/pagination/pagination.component.scss +50 -0
- package/src/lib/components/molecules/pagination/pagination.component.ts +194 -0
- package/src/lib/components/molecules/pagination/pagination.stories.ts +260 -0
- package/src/lib/components/molecules/pagination/types.ts +43 -0
- package/src/lib/components/molecules/participant-card/participant-card.component.scss +371 -0
- package/src/lib/components/molecules/participant-card/participant-card.component.ts +402 -0
- package/src/lib/components/molecules/participant-card/participant-card.stories.ts +479 -0
- package/src/lib/components/molecules/participant-card/types.ts +170 -0
- package/src/lib/components/molecules/password-input/password-input.component.scss +7 -0
- package/src/lib/components/molecules/password-input/password-input.component.ts +93 -0
- package/src/lib/components/molecules/password-input/password-input.stories.ts +187 -0
- package/src/lib/components/molecules/phone-input/phone-input.component.scss +157 -0
- package/src/lib/components/molecules/phone-input/phone-input.component.ts +354 -0
- package/src/lib/components/molecules/phone-input/phone-input.stories.ts +229 -0
- package/src/lib/components/molecules/phone-input/types.ts +126 -0
- package/src/lib/components/molecules/pill/pill.component.scss +35 -0
- package/src/lib/components/molecules/pill/pill.component.ts +89 -0
- package/src/lib/components/molecules/pill/pill.stories.ts +219 -0
- package/src/lib/components/molecules/pill/types.ts +10 -0
- package/src/lib/components/molecules/pin-input/pin-input.component.scss +22 -0
- package/src/lib/components/molecules/pin-input/pin-input.component.ts +83 -0
- package/src/lib/components/molecules/pin-input/pin-input.stories.ts +196 -0
- package/src/lib/components/molecules/pin-input/types.ts +80 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.scss +191 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.component.ts +86 -0
- package/src/lib/components/molecules/plain-code-box/plain-code-box.stories.ts +174 -0
- package/src/lib/components/molecules/plain-code-box/types.ts +12 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.component.scss +220 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.component.ts +163 -0
- package/src/lib/components/molecules/popover-selector/popover-selector.stories.ts +324 -0
- package/src/lib/components/molecules/popover-selector/types.ts +71 -0
- package/src/lib/components/molecules/progress-status/progress-status.component.scss +41 -0
- package/src/lib/components/molecules/progress-status/progress-status.component.ts +90 -0
- package/src/lib/components/molecules/progress-status/progress-status.stories.ts +415 -0
- package/src/lib/components/molecules/progress-status/types.ts +21 -0
- package/src/lib/components/molecules/prompter/prompter.component.scss +45 -0
- package/src/lib/components/molecules/prompter/prompter.component.ts +55 -0
- package/src/lib/components/molecules/prompter/prompter.stories.ts +193 -0
- package/src/lib/components/molecules/prompter/types.ts +26 -0
- package/src/lib/components/molecules/quote-box/quote-box.component.scss +253 -0
- package/src/lib/components/molecules/quote-box/quote-box.component.ts +104 -0
- package/src/lib/components/molecules/quote-box/quote-box.stories.ts +264 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.ts +51 -0
- package/src/lib/components/molecules/radio-input/radio-input.stories.ts +197 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.scss +418 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.ts +320 -0
- package/src/lib/components/molecules/raffle-status-card/raffle-status-card.stories.ts +509 -0
- package/src/lib/components/molecules/raffle-status-card/types.ts +150 -0
- package/src/lib/components/molecules/range-input/range-input.component.scss +15 -0
- package/src/lib/components/molecules/range-input/range-input.component.ts +106 -0
- package/src/lib/components/molecules/range-input/range-input.stories.ts +331 -0
- package/src/lib/components/molecules/range-input/types.ts +61 -0
- package/src/lib/components/molecules/rating/rating.component.scss +60 -0
- package/src/lib/components/molecules/rating/rating.component.ts +154 -0
- package/src/lib/components/molecules/rating/rating.stories.ts +332 -0
- package/src/lib/components/molecules/rating/types.ts +43 -0
- package/src/lib/components/molecules/recap-card/recap-card.component.scss +35 -0
- package/src/lib/components/molecules/recap-card/recap-card.component.ts +64 -0
- package/src/lib/components/molecules/recap-card/recap-card.stories.ts +174 -0
- package/src/lib/components/molecules/recap-card/types.ts +30 -0
- package/src/lib/components/molecules/refresher/refresher.component.ts +257 -0
- package/src/lib/components/molecules/refresher/types.ts +103 -0
- package/src/lib/components/molecules/searchbar/searchbar.component.scss +9 -0
- package/src/lib/components/molecules/searchbar/searchbar.component.ts +122 -0
- package/src/lib/components/molecules/searchbar/searchbar.stories.ts +192 -0
- package/src/lib/components/molecules/searchbar/types.ts +38 -0
- package/src/lib/components/molecules/segment-control/segment-control.component.scss +27 -0
- package/src/lib/components/molecules/segment-control/segment-control.component.ts +121 -0
- package/src/lib/components/molecules/segment-control/segment-control.stories.ts +296 -0
- package/src/lib/components/molecules/segment-control/types.ts +48 -0
- package/src/lib/components/molecules/select-input/select-input.component.scss +0 -0
- package/src/lib/components/molecules/select-input/select-input.component.ts +133 -0
- package/src/lib/components/molecules/select-input/select-input.stories.ts +330 -0
- package/src/lib/components/molecules/select-search/select-search.component.ts +420 -0
- package/src/lib/components/molecules/select-search/select-search.stories.ts +218 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.component.scss +195 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.component.ts +269 -0
- package/src/lib/components/molecules/share-buttons/share-buttons.stories.ts +343 -0
- package/src/lib/components/molecules/share-buttons/types.ts +211 -0
- package/src/lib/components/molecules/stats-card/stats-card.component.scss +198 -0
- package/src/lib/components/molecules/stats-card/stats-card.component.ts +157 -0
- package/src/lib/components/molecules/stats-card/stats-card.stories.ts +481 -0
- package/src/lib/components/molecules/stats-card/types.ts +63 -0
- package/src/lib/components/molecules/stepper/stepper.component.scss +156 -0
- package/src/lib/components/molecules/stepper/stepper.component.ts +201 -0
- package/src/lib/components/molecules/stepper/stepper.stories.ts +308 -0
- package/src/lib/components/molecules/stepper/types.ts +70 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.scss +164 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.ts +215 -0
- package/src/lib/components/molecules/swipe-carousel/swipe-carousel.stories.ts +406 -0
- package/src/lib/components/molecules/swipe-carousel/types.ts +32 -0
- package/src/lib/components/molecules/tabs/tabs.component.scss +35 -0
- package/src/lib/components/molecules/tabs/tabs.component.ts +125 -0
- package/src/lib/components/molecules/tabs/tabs.stories.ts +283 -0
- package/src/lib/components/molecules/tabs/types.ts +47 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.scss +25 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.component.ts +121 -0
- package/src/lib/components/molecules/testimonial-card/testimonial-card.stories.ts +130 -0
- package/src/lib/components/molecules/testimonial-card/types.ts +26 -0
- package/src/lib/components/molecules/text-input/text-input.component.scss +1 -0
- package/src/lib/components/molecules/text-input/text-input.component.ts +86 -0
- package/src/lib/components/molecules/text-input/text-input.stories.ts +301 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.component.scss +62 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.component.ts +195 -0
- package/src/lib/components/molecules/textarea-input/textarea-input.stories.ts +329 -0
- package/src/lib/components/molecules/textarea-input/types.ts +83 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.scss +270 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.component.ts +429 -0
- package/src/lib/components/molecules/ticket-grid/ticket-grid.stories.ts +436 -0
- package/src/lib/components/molecules/ticket-grid/types.ts +145 -0
- package/src/lib/components/molecules/timeline/timeline.component.scss +168 -0
- package/src/lib/components/molecules/timeline/timeline.component.ts +98 -0
- package/src/lib/components/molecules/timeline/timeline.stories.ts +259 -0
- package/src/lib/components/molecules/timeline/types.ts +41 -0
- package/src/lib/components/molecules/title-block/title-block.component.scss +48 -0
- package/src/lib/components/molecules/title-block/title-block.component.ts +72 -0
- package/src/lib/components/molecules/title-block/title-block.stories.ts +351 -0
- package/src/lib/components/molecules/title-block/types.ts +16 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.component.scss +7 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.component.ts +94 -0
- package/src/lib/components/molecules/toggle-input/toggle-input.stories.ts +240 -0
- package/src/lib/components/molecules/toggle-input/types.ts +31 -0
- package/src/lib/components/molecules/update-banner/index.ts +1 -0
- package/src/lib/components/molecules/update-banner/update-banner.component.ts +118 -0
- package/src/lib/components/molecules/username-input/index.ts +2 -0
- package/src/lib/components/molecules/username-input/types.ts +36 -0
- package/src/lib/components/molecules/username-input/username-input.component.ts +336 -0
- package/src/lib/components/molecules/winner-display/types.ts +129 -0
- package/src/lib/components/molecules/winner-display/winner-display.component.scss +501 -0
- package/src/lib/components/molecules/winner-display/winner-display.component.ts +284 -0
- package/src/lib/components/molecules/winner-display/winner-display.stories.ts +468 -0
- package/src/lib/components/organisms/article/README.md +569 -0
- package/src/lib/components/organisms/article/article.component.scss +433 -0
- package/src/lib/components/organisms/article/article.component.ts +469 -0
- package/src/lib/components/organisms/article/article.stories.ts +625 -0
- package/src/lib/components/organisms/article/types.ts +550 -0
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.scss +119 -0
- package/src/lib/components/organisms/avatar-upload/avatar-upload.component.ts +349 -0
- package/src/lib/components/organisms/avatar-upload/index.ts +2 -0
- package/src/lib/components/organisms/avatar-upload/types.ts +71 -0
- package/src/lib/components/organisms/banner/banner.component.scss +51 -0
- package/src/lib/components/organisms/banner/banner.component.ts +95 -0
- package/src/lib/components/organisms/banner/banner.stories.ts +462 -0
- package/src/lib/components/organisms/banner/types.ts +30 -0
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.scss +350 -0
- package/src/lib/components/organisms/bottom-nav/bottom-nav.component.ts +362 -0
- package/src/lib/components/organisms/bottom-nav/types.ts +139 -0
- package/src/lib/components/organisms/cards-carousel/cards-carousel.component.ts +53 -0
- package/src/lib/components/organisms/cards-carousel/cards-carousel.stories.ts +241 -0
- package/src/lib/components/organisms/cards-carousel/types.ts +12 -0
- package/src/lib/components/organisms/comment-section/comment-section.component.scss +269 -0
- package/src/lib/components/organisms/comment-section/comment-section.component.ts +429 -0
- package/src/lib/components/organisms/comment-section/comment-section.stories.ts +305 -0
- package/src/lib/components/organisms/comment-section/types.ts +169 -0
- package/src/lib/components/organisms/company-footer/company-footer.component.ts +73 -0
- package/src/lib/components/organisms/company-footer/company-footer.stories.ts +216 -0
- package/src/lib/components/organisms/company-footer/types.ts +16 -0
- package/src/lib/components/organisms/data-table/data-table.component.scss +907 -0
- package/src/lib/components/organisms/data-table/data-table.component.ts +821 -0
- package/src/lib/components/organisms/data-table/data-table.stories.ts +787 -0
- package/src/lib/components/organisms/data-table/types.ts +258 -0
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.scss +228 -0
- package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.ts +213 -0
- package/src/lib/components/organisms/docs-sidebar/types.ts +112 -0
- package/src/lib/components/organisms/docs-toc/docs-toc.component.scss +119 -0
- package/src/lib/components/organisms/docs-toc/docs-toc.component.ts +320 -0
- package/src/lib/components/organisms/docs-toc/types.ts +73 -0
- package/src/lib/components/organisms/footer/footer.component.scss +3 -0
- package/src/lib/components/organisms/footer/footer.component.ts +65 -0
- package/src/lib/components/organisms/footer/footer.stories.ts +278 -0
- package/src/lib/components/organisms/footer/types.ts +17 -0
- package/src/lib/components/organisms/form/factory.ts +46 -0
- package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
- package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +72 -0
- package/src/lib/components/organisms/form/form.component.scss +24 -0
- package/src/lib/components/organisms/form/form.component.ts +367 -0
- package/src/lib/components/organisms/form/form.stories.ts +505 -0
- package/src/lib/components/organisms/fun-header/fun-header.component.scss +36 -0
- package/src/lib/components/organisms/fun-header/fun-header.component.ts +209 -0
- package/src/lib/components/organisms/fun-header/fun-header.stories.ts +272 -0
- package/src/lib/components/organisms/fun-header/types.ts +29 -0
- package/src/lib/components/organisms/header/header.component.scss +5 -0
- package/src/lib/components/organisms/header/header.component.ts +53 -0
- package/src/lib/components/organisms/header/header.stories.ts +293 -0
- package/src/lib/components/organisms/header/types.ts +17 -0
- package/src/lib/components/organisms/infinite-list/infinite-list.component.ts +602 -0
- package/src/lib/components/organisms/infinite-list/types.ts +235 -0
- package/src/lib/components/organisms/item-list/item-list.component.scss +53 -0
- package/src/lib/components/organisms/item-list/item-list.component.ts +269 -0
- package/src/lib/components/organisms/item-list/item-list.stories.ts +363 -0
- package/src/lib/components/organisms/item-list/types.ts +130 -0
- package/src/lib/components/organisms/login/login.component.html +244 -0
- package/src/lib/components/organisms/login/login.component.scss +118 -0
- package/src/lib/components/organisms/login/login.component.ts +866 -0
- package/src/lib/components/organisms/login/types.ts +89 -0
- package/src/lib/components/organisms/menu/menu.component.scss +23 -0
- package/src/lib/components/organisms/menu/menu.component.ts +152 -0
- package/src/lib/components/organisms/menu/menu.stories.ts +223 -0
- package/src/lib/components/organisms/menu/types.ts +24 -0
- package/src/lib/components/organisms/no-content/no-content.component.scss +11 -0
- package/src/lib/components/organisms/no-content/no-content.component.ts +68 -0
- package/src/lib/components/organisms/no-content/no-content.stories.ts +259 -0
- package/src/lib/components/organisms/no-content/types.ts +18 -0
- package/src/lib/components/organisms/rotating-text/rotating-text.component.ts +239 -0
- package/src/lib/components/organisms/rotating-text/types.ts +29 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.scss +89 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.component.ts +165 -0
- package/src/lib/components/organisms/tabbed-content/tabbed-content.stories.ts +326 -0
- package/src/lib/components/organisms/tabbed-content/types.ts +56 -0
- package/src/lib/components/organisms/terminal-404/terminal-404.component.ts +339 -0
- package/src/lib/components/organisms/terminal-404/types.ts +22 -0
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.ts +70 -0
- package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.stories.ts +173 -0
- package/src/lib/components/organisms/testimonial-carousel/types.ts +9 -0
- package/src/lib/components/organisms/toolbar/toolbar.component.scss +13 -0
- package/src/lib/components/organisms/toolbar/toolbar.component.ts +195 -0
- package/src/lib/components/organisms/toolbar/toolbar.stories.ts +263 -0
- package/src/lib/components/organisms/toolbar/types.ts +32 -0
- package/src/lib/components/organisms/wizard/types.ts +46 -0
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +104 -0
- package/src/lib/components/organisms/wizard/wizard.component.scss +16 -0
- package/src/lib/components/organisms/wizard/wizard.component.ts +165 -0
- package/src/lib/components/organisms/wizard/wizard.stories.ts +653 -0
- package/src/lib/components/templates/auth-background/auth-background.component.ts +258 -0
- package/src/lib/components/templates/auth-background/types.ts +34 -0
- package/src/lib/components/templates/docs-layout/docs-layout.component.scss +218 -0
- package/src/lib/components/templates/docs-layout/docs-layout.component.ts +161 -0
- package/src/lib/components/templates/docs-layout/types.ts +45 -0
- package/src/lib/components/templates/docs-page/docs-page.component.ts +534 -0
- package/src/lib/components/templates/docs-page/types.ts +141 -0
- package/src/lib/components/templates/docs-shell/docs-shell.component.ts +494 -0
- package/src/lib/components/templates/docs-shell/types.ts +176 -0
- package/src/lib/components/templates/layout/layout.component.scss +25 -0
- package/src/lib/components/templates/layout/layout.component.ts +14 -0
- package/src/lib/components/templates/maintenance-page/index.ts +2 -0
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.scss +44 -0
- package/src/lib/components/templates/maintenance-page/maintenance-page.component.ts +120 -0
- package/src/lib/components/templates/maintenance-page/types.ts +12 -0
- package/src/lib/components/templates/page-content/page-content.component.ts +188 -0
- package/src/lib/components/templates/page-content/page-content.stories.ts +169 -0
- package/src/lib/components/templates/page-content/types.ts +28 -0
- package/src/lib/components/templates/page-template/page-template.component.ts +164 -0
- package/src/lib/components/templates/page-template/page-template.stories.ts +174 -0
- package/src/lib/components/templates/page-template/types.ts +17 -0
- package/src/lib/components/templates/page-wrapper/page-wrapper.component.ts +183 -0
- package/src/lib/components/templates/page-wrapper/page-wrapper.stories.ts +149 -0
- package/src/lib/components/templates/page-wrapper/types.ts +20 -0
- package/src/lib/components/templates/simple/simple.component.ts +92 -0
- package/src/lib/components/templates/simple/types.ts +11 -0
- package/src/lib/components/types.ts +311 -0
- package/src/lib/config/company-footer.config.ts +137 -0
- package/src/lib/services/ads/ads-consent.service.ts +166 -0
- package/src/lib/services/ads/ads-loader.service.ts +133 -0
- package/src/lib/services/ads/ads.service.ts +268 -0
- package/src/lib/services/ads/config.ts +92 -0
- package/src/lib/services/ads/index.ts +29 -0
- package/src/lib/services/ads/types.ts +187 -0
- package/src/lib/services/app-config/app-config.service.ts +228 -0
- package/src/lib/services/app-config/config.ts +62 -0
- package/src/lib/services/app-config/index.ts +48 -0
- package/src/lib/services/app-config/types.ts +62 -0
- package/src/lib/services/app-config/version.ts +104 -0
- package/src/lib/services/auth/auth-state.service.ts +225 -0
- package/src/lib/services/auth/auth.service.ts +1306 -0
- package/src/lib/services/auth/config.ts +93 -0
- package/src/lib/services/auth/device.service.ts +163 -0
- package/src/lib/services/auth/guards.ts +234 -0
- package/src/lib/services/auth/index.ts +111 -0
- package/src/lib/services/auth/interceptor.ts +177 -0
- package/src/lib/services/auth/oauth-callback.component.ts +202 -0
- package/src/lib/services/auth/oauth.service.ts +352 -0
- package/src/lib/services/auth/session.service.ts +83 -0
- package/src/lib/services/auth/storage.service.ts +181 -0
- package/src/lib/services/auth/sync.service.ts +158 -0
- package/src/lib/services/auth/token.service.ts +132 -0
- package/src/lib/services/auth/types.ts +1023 -0
- package/src/lib/services/confirmation-dialog/confirmation-dialog.service.ts +199 -0
- package/src/lib/services/confirmation-dialog/types.ts +74 -0
- package/src/lib/services/content/content-types/blog.ts +324 -0
- package/src/lib/services/content/content-types/documentation.ts +369 -0
- package/src/lib/services/content/content-types/news.ts +328 -0
- package/src/lib/services/content/index.ts +71 -0
- package/src/lib/services/content/transformer.ts +312 -0
- package/src/lib/services/content/types.ts +276 -0
- package/src/lib/services/docs/docs-navigation.service.ts +91 -0
- package/src/lib/services/download.service.ts +75 -0
- package/src/lib/services/feedback/config.ts +61 -0
- package/src/lib/services/feedback/feedback.service.ts +348 -0
- package/src/lib/services/feedback/index.ts +59 -0
- package/src/lib/services/feedback/types.ts +239 -0
- package/src/lib/services/firebase/README.md +328 -0
- package/src/lib/services/firebase/analytics-error-handler.ts +155 -0
- package/src/lib/services/firebase/analytics-router-tracker.ts +109 -0
- package/src/lib/services/firebase/analytics-types.ts +277 -0
- package/src/lib/services/firebase/analytics.service.ts +707 -0
- package/src/lib/services/firebase/config.ts +172 -0
- package/src/lib/services/firebase/firebase.service.ts +502 -0
- package/src/lib/services/firebase/firestore-collection.ts +336 -0
- package/src/lib/services/firebase/firestore.service.ts +649 -0
- package/src/lib/services/firebase/index.ts +88 -0
- package/src/lib/services/firebase/messaging.service.ts +672 -0
- package/src/lib/services/firebase/notifications.service.ts +253 -0
- package/src/lib/services/firebase/shared-config.ts +167 -0
- package/src/lib/services/firebase/storage.service.ts +519 -0
- package/src/lib/services/firebase/types.ts +461 -0
- package/src/lib/services/firebase/utils/path-builder.ts +210 -0
- package/src/lib/services/firebase/utils/query-builder.ts +339 -0
- package/src/lib/services/i18n/config.ts +129 -0
- package/src/lib/services/i18n/default-content.ts +640 -0
- package/src/lib/services/i18n/i18n.service.ts +223 -0
- package/src/lib/services/i18n/index.ts +29 -0
- package/src/lib/services/i18n/input-i18n.helper.ts +141 -0
- package/src/lib/services/i18n/translate.pipe.ts +43 -0
- package/src/lib/services/i18n/types.ts +108 -0
- package/src/lib/services/icons.service.ts +122 -0
- package/src/lib/services/image/image.service.ts +328 -0
- package/src/lib/services/image/types.ts +79 -0
- package/src/lib/services/in-app-browser.service.ts +30 -0
- package/src/lib/services/link-processor.service.ts +311 -0
- package/src/lib/services/local-storage.service.ts +39 -0
- package/src/lib/services/locale.service.ts +86 -0
- package/src/lib/services/meta/meta.service.ts +64 -0
- package/src/lib/services/meta/types.ts +13 -0
- package/src/lib/services/modal/modal.service.ts +244 -0
- package/src/lib/services/modal/simple-modal-content.component.ts +138 -0
- package/src/lib/services/modal/types.ts +180 -0
- package/src/lib/services/navigation/navigation.service.ts +255 -0
- package/src/lib/services/navigation/types.ts +86 -0
- package/src/lib/services/pagination/index.ts +13 -0
- package/src/lib/services/pagination/pagination.service.ts +243 -0
- package/src/lib/services/pagination/types.ts +133 -0
- package/src/lib/services/presets/config.ts +51 -0
- package/src/lib/services/presets/index.ts +8 -0
- package/src/lib/services/presets/preset.service.ts +105 -0
- package/src/lib/services/presets/types.ts +41 -0
- package/src/lib/services/qr-generator/qr-generator.service.ts +378 -0
- package/src/lib/services/qr-generator/types.ts +207 -0
- package/src/lib/services/skeleton/config.ts +82 -0
- package/src/lib/services/skeleton/directives/index.ts +1 -0
- package/src/lib/services/skeleton/directives/loading.directive.ts +230 -0
- package/src/lib/services/skeleton/index.ts +30 -0
- package/src/lib/services/skeleton/skeleton.service.ts +220 -0
- package/src/lib/services/skeleton/templates/detail-skeleton.component.ts +166 -0
- package/src/lib/services/skeleton/templates/form-skeleton.component.ts +115 -0
- package/src/lib/services/skeleton/templates/grid-skeleton.component.ts +127 -0
- package/src/lib/services/skeleton/templates/index.ts +6 -0
- package/src/lib/services/skeleton/templates/list-skeleton.component.ts +90 -0
- package/src/lib/services/skeleton/templates/profile-skeleton.component.ts +174 -0
- package/src/lib/services/skeleton/templates/table-skeleton.component.ts +113 -0
- package/src/lib/services/skeleton/types.ts +142 -0
- package/src/lib/services/theme.service.ts +154 -0
- package/src/lib/services/toast.service.ts +42 -0
- package/src/lib/services/types.ts +6 -0
- package/src/lib/shared/constants/storage.ts +2 -0
- package/src/lib/shared/pipes/process-links.pipe.ts +64 -0
- package/src/lib/shared/utils/dom.ts +29 -0
- package/src/lib/shared/utils/form-defaults.ts +119 -0
- package/src/lib/shared/utils/styles.ts +39 -0
- package/src/lib/shared/utils/text.ts +12 -0
- package/src/lib/version.ts +5 -0
- package/src/public-api.ts +352 -0
- package/src/stories/Introduction.mdx +649 -0
- package/src/stories/helpers/mock-services.ts +27 -0
- package/src/stories/helpers/storybook-helpers.ts +89 -0
- package/tsconfig.json +32 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +0 -94
- package/esm2022/lib/components/atoms/avatar/types.mjs +0 -2
- package/esm2022/lib/components/atoms/box/box.component.mjs +0 -88
- package/esm2022/lib/components/atoms/box/types.mjs +0 -2
- package/esm2022/lib/components/atoms/button/button.component.mjs +0 -174
- package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
- package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +0 -340
- package/esm2022/lib/components/atoms/countdown/types.mjs +0 -27
- package/esm2022/lib/components/atoms/display/display.component.mjs +0 -51
- package/esm2022/lib/components/atoms/display/types.mjs +0 -2
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +0 -27
- package/esm2022/lib/components/atoms/divider/types.mjs +0 -2
- package/esm2022/lib/components/atoms/fab/fab.component.mjs +0 -190
- package/esm2022/lib/components/atoms/fab/types.mjs +0 -2
- package/esm2022/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.mjs +0 -82
- package/esm2022/lib/components/atoms/horizontal-scroll/types.mjs +0 -2
- package/esm2022/lib/components/atoms/href/href.component.mjs +0 -62
- package/esm2022/lib/components/atoms/href/types.mjs +0 -2
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +0 -29
- package/esm2022/lib/components/atoms/icon/types.mjs +0 -2
- package/esm2022/lib/components/atoms/image/image.component.mjs +0 -507
- package/esm2022/lib/components/atoms/image/types.mjs +0 -2
- package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +0 -235
- package/esm2022/lib/components/atoms/price-tag/types.mjs +0 -15
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +0 -91
- package/esm2022/lib/components/atoms/progress-bar/types.mjs +0 -2
- package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +0 -149
- package/esm2022/lib/components/atoms/progress-ring/types.mjs +0 -2
- package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +0 -394
- package/esm2022/lib/components/atoms/qr-code/types.mjs +0 -2
- package/esm2022/lib/components/atoms/rights-footer/rights-footer.component.mjs +0 -108
- package/esm2022/lib/components/atoms/rights-footer/types.mjs +0 -2
- package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +0 -193
- package/esm2022/lib/components/atoms/skeleton/types.mjs +0 -13
- package/esm2022/lib/components/atoms/text/text.component.mjs +0 -132
- package/esm2022/lib/components/atoms/text/types.mjs +0 -2
- package/esm2022/lib/components/atoms/title/title.component.mjs +0 -68
- package/esm2022/lib/components/atoms/title/types.mjs +0 -22
- package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +0 -120
- package/esm2022/lib/components/molecules/accordion/types.mjs +0 -2
- package/esm2022/lib/components/molecules/action-card/action-card.component.mjs +0 -298
- package/esm2022/lib/components/molecules/action-card/types.mjs +0 -11
- package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +0 -26
- package/esm2022/lib/components/molecules/action-header/types.mjs +0 -2
- package/esm2022/lib/components/molecules/ad-slot/ad-slot.component.mjs +0 -274
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +0 -119
- package/esm2022/lib/components/molecules/alert-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +0 -130
- package/esm2022/lib/components/molecules/breadcrumb/types.mjs +0 -2
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +0 -63
- package/esm2022/lib/components/molecules/button-group/types.mjs +0 -2
- package/esm2022/lib/components/molecules/card/card.component.mjs +0 -450
- package/esm2022/lib/components/molecules/card/types.mjs +0 -16
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +0 -82
- package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +0 -166
- package/esm2022/lib/components/molecules/chip-group/types.mjs +0 -2
- package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +0 -115
- package/esm2022/lib/components/molecules/code-display/types.mjs +0 -2
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +0 -49
- package/esm2022/lib/components/molecules/command-display/types.mjs +0 -2
- package/esm2022/lib/components/molecules/comment/comment.component.mjs +0 -618
- package/esm2022/lib/components/molecules/comment/types.mjs +0 -2
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +0 -41
- package/esm2022/lib/components/molecules/comment-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +0 -42
- package/esm2022/lib/components/molecules/content-loader/types.mjs +0 -2
- package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +0 -218
- package/esm2022/lib/components/molecules/content-reaction/types.mjs +0 -2
- package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +0 -347
- package/esm2022/lib/components/molecules/currency-input/types.mjs +0 -18
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +0 -148
- package/esm2022/lib/components/molecules/date-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +0 -416
- package/esm2022/lib/components/molecules/date-range-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-api-table/docs-api-table.component.mjs +0 -222
- package/esm2022/lib/components/molecules/docs-api-table/types.mjs +0 -11
- package/esm2022/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.mjs +0 -144
- package/esm2022/lib/components/molecules/docs-breadcrumb/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-callout/docs-callout.component.mjs +0 -60
- package/esm2022/lib/components/molecules/docs-code-example/docs-code-example.component.mjs +0 -255
- package/esm2022/lib/components/molecules/docs-code-example/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-nav-links/docs-nav-links.component.mjs +0 -140
- package/esm2022/lib/components/molecules/docs-nav-links/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-search/docs-search.component.mjs +0 -268
- package/esm2022/lib/components/molecules/docs-search/types.mjs +0 -2
- package/esm2022/lib/components/molecules/docs-section/docs-section.component.mjs +0 -85
- package/esm2022/lib/components/molecules/docs-section/types.mjs +0 -2
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +0 -68
- package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +0 -77
- package/esm2022/lib/components/molecules/expandable-text/types.mjs +0 -2
- package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +0 -185
- package/esm2022/lib/components/molecules/features-list/types.mjs +0 -11
- package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +0 -354
- package/esm2022/lib/components/molecules/feedback-form/types.mjs +0 -2
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +0 -90
- package/esm2022/lib/components/molecules/file-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/footer-links/footer-links.component.mjs +0 -391
- package/esm2022/lib/components/molecules/footer-links/types.mjs +0 -2
- package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +0 -314
- package/esm2022/lib/components/molecules/glow-card/types.mjs +0 -11
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +0 -90
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +0 -28
- package/esm2022/lib/components/molecules/image-crop/image-crop.component.mjs +0 -174
- package/esm2022/lib/components/molecules/image-crop/index.mjs +0 -2
- package/esm2022/lib/components/molecules/info/info.component.mjs +0 -49
- package/esm2022/lib/components/molecules/info/types.mjs +0 -2
- package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +0 -221
- package/esm2022/lib/components/molecules/language-selector/types.mjs +0 -2
- package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +0 -104
- package/esm2022/lib/components/molecules/layered-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/link/link.component.mjs +0 -64
- package/esm2022/lib/components/molecules/link/types.mjs +0 -2
- package/esm2022/lib/components/molecules/linked-providers/linked-providers.component.mjs +0 -236
- package/esm2022/lib/components/molecules/linked-providers/types.mjs +0 -27
- package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +0 -185
- package/esm2022/lib/components/molecules/links-accordion/types.mjs +0 -2
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +0 -51
- package/esm2022/lib/components/molecules/links-cake/types.mjs +0 -2
- package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +0 -488
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +0 -69
- package/esm2022/lib/components/molecules/notes-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +0 -143
- package/esm2022/lib/components/molecules/number-from-to/types.mjs +0 -2
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +0 -34
- package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +0 -379
- package/esm2022/lib/components/molecules/number-stepper/types.mjs +0 -2
- package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +0 -253
- package/esm2022/lib/components/molecules/pagination/types.mjs +0 -2
- package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +0 -514
- package/esm2022/lib/components/molecules/participant-card/types.mjs +0 -21
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +0 -93
- package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +0 -365
- package/esm2022/lib/components/molecules/phone-input/types.mjs +0 -19
- package/esm2022/lib/components/molecules/pill/pill.component.mjs +0 -92
- package/esm2022/lib/components/molecules/pill/types.mjs +0 -2
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +0 -78
- package/esm2022/lib/components/molecules/pin-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +0 -82
- package/esm2022/lib/components/molecules/plain-code-box/types.mjs +0 -2
- package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +0 -188
- package/esm2022/lib/components/molecules/popover-selector/types.mjs +0 -2
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +0 -105
- package/esm2022/lib/components/molecules/progress-status/types.mjs +0 -2
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +0 -85
- package/esm2022/lib/components/molecules/prompter/types.mjs +0 -2
- package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +0 -155
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +0 -52
- package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +0 -476
- package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +0 -23
- package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +0 -127
- package/esm2022/lib/components/molecules/range-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/rating/rating.component.mjs +0 -166
- package/esm2022/lib/components/molecules/rating/types.mjs +0 -2
- package/esm2022/lib/components/molecules/recap-card/recap-card.component.mjs +0 -78
- package/esm2022/lib/components/molecules/recap-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/refresher/refresher.component.mjs +0 -269
- package/esm2022/lib/components/molecules/refresher/types.mjs +0 -15
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +0 -127
- package/esm2022/lib/components/molecules/searchbar/types.mjs +0 -2
- package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +0 -137
- package/esm2022/lib/components/molecules/segment-control/types.mjs +0 -2
- package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +0 -130
- package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +0 -420
- package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +0 -274
- package/esm2022/lib/components/molecules/share-buttons/types.mjs +0 -88
- package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +0 -213
- package/esm2022/lib/components/molecules/stats-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +0 -242
- package/esm2022/lib/components/molecules/stepper/types.mjs +0 -2
- package/esm2022/lib/components/molecules/swipe-carousel/swipe-carousel.component.mjs +0 -206
- package/esm2022/lib/components/molecules/swipe-carousel/types.mjs +0 -2
- package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +0 -139
- package/esm2022/lib/components/molecules/tabs/types.mjs +0 -2
- package/esm2022/lib/components/molecules/testimonial-card/testimonial-card.component.mjs +0 -138
- package/esm2022/lib/components/molecules/testimonial-card/types.mjs +0 -2
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +0 -77
- package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +0 -213
- package/esm2022/lib/components/molecules/textarea-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +0 -489
- package/esm2022/lib/components/molecules/ticket-grid/types.mjs +0 -11
- package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +0 -140
- package/esm2022/lib/components/molecules/timeline/types.mjs +0 -2
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +0 -102
- package/esm2022/lib/components/molecules/title-block/types.mjs +0 -2
- package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +0 -93
- package/esm2022/lib/components/molecules/toggle-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/update-banner/update-banner.component.mjs +0 -112
- package/esm2022/lib/components/molecules/username-input/types.mjs +0 -2
- package/esm2022/lib/components/molecules/username-input/username-input.component.mjs +0 -260
- package/esm2022/lib/components/molecules/winner-display/types.mjs +0 -9
- package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +0 -359
- package/esm2022/lib/components/organisms/article/article.component.mjs +0 -573
- package/esm2022/lib/components/organisms/article/types.mjs +0 -183
- package/esm2022/lib/components/organisms/avatar-upload/avatar-upload.component.mjs +0 -372
- package/esm2022/lib/components/organisms/avatar-upload/types.mjs +0 -15
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +0 -111
- package/esm2022/lib/components/organisms/banner/types.mjs +0 -2
- package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +0 -368
- package/esm2022/lib/components/organisms/bottom-nav/types.mjs +0 -18
- package/esm2022/lib/components/organisms/cards-carousel/cards-carousel.component.mjs +0 -61
- package/esm2022/lib/components/organisms/cards-carousel/types.mjs +0 -2
- package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +0 -537
- package/esm2022/lib/components/organisms/comment-section/types.mjs +0 -2
- package/esm2022/lib/components/organisms/company-footer/company-footer.component.mjs +0 -76
- package/esm2022/lib/components/organisms/company-footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +0 -1081
- package/esm2022/lib/components/organisms/data-table/types.mjs +0 -13
- package/esm2022/lib/components/organisms/docs-sidebar/docs-sidebar.component.mjs +0 -290
- package/esm2022/lib/components/organisms/docs-sidebar/types.mjs +0 -2
- package/esm2022/lib/components/organisms/docs-toc/docs-toc.component.mjs +0 -307
- package/esm2022/lib/components/organisms/docs-toc/types.mjs +0 -2
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +0 -73
- package/esm2022/lib/components/organisms/footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/form/factory.mjs +0 -29
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +0 -83
- package/esm2022/lib/components/organisms/form/form.component.mjs +0 -417
- package/esm2022/lib/components/organisms/fun-header/fun-header.component.mjs +0 -225
- package/esm2022/lib/components/organisms/fun-header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/header/header.component.mjs +0 -51
- package/esm2022/lib/components/organisms/header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/infinite-list/infinite-list.component.mjs +0 -620
- package/esm2022/lib/components/organisms/infinite-list/types.mjs +0 -15
- package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +0 -418
- package/esm2022/lib/components/organisms/item-list/types.mjs +0 -2
- package/esm2022/lib/components/organisms/login/login.component.mjs +0 -741
- package/esm2022/lib/components/organisms/login/types.mjs +0 -11
- package/esm2022/lib/components/organisms/menu/menu.component.mjs +0 -206
- package/esm2022/lib/components/organisms/menu/types.mjs +0 -2
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +0 -66
- package/esm2022/lib/components/organisms/no-content/types.mjs +0 -2
- package/esm2022/lib/components/organisms/rotating-text/rotating-text.component.mjs +0 -180
- package/esm2022/lib/components/organisms/rotating-text/types.mjs +0 -2
- package/esm2022/lib/components/organisms/tabbed-content/tabbed-content.component.mjs +0 -170
- package/esm2022/lib/components/organisms/tabbed-content/types.mjs +0 -2
- package/esm2022/lib/components/organisms/terminal-404/terminal-404.component.mjs +0 -214
- package/esm2022/lib/components/organisms/terminal-404/types.mjs +0 -2
- package/esm2022/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.mjs +0 -72
- package/esm2022/lib/components/organisms/testimonial-carousel/types.mjs +0 -2
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +0 -237
- package/esm2022/lib/components/organisms/toolbar/types.mjs +0 -2
- package/esm2022/lib/components/organisms/wizard/types.mjs +0 -10
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +0 -111
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +0 -161
- package/esm2022/lib/components/templates/auth-background/auth-background.component.mjs +0 -149
- package/esm2022/lib/components/templates/auth-background/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-layout/docs-layout.component.mjs +0 -221
- package/esm2022/lib/components/templates/docs-layout/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-page/docs-page.component.mjs +0 -251
- package/esm2022/lib/components/templates/docs-page/types.mjs +0 -2
- package/esm2022/lib/components/templates/docs-shell/docs-shell.component.mjs +0 -376
- package/esm2022/lib/components/templates/docs-shell/types.mjs +0 -2
- package/esm2022/lib/components/templates/layout/layout.component.mjs +0 -19
- package/esm2022/lib/components/templates/maintenance-page/maintenance-page.component.mjs +0 -153
- package/esm2022/lib/components/templates/maintenance-page/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +0 -193
- package/esm2022/lib/components/templates/page-content/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-template/page-template.component.mjs +0 -188
- package/esm2022/lib/components/templates/page-template/types.mjs +0 -2
- package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +0 -192
- package/esm2022/lib/components/templates/page-wrapper/types.mjs +0 -2
- package/esm2022/lib/components/templates/simple/simple.component.mjs +0 -125
- package/esm2022/lib/components/templates/simple/types.mjs +0 -2
- package/esm2022/lib/components/types.mjs +0 -58
- package/esm2022/lib/config/company-footer.config.mjs +0 -109
- package/esm2022/lib/config/index.mjs +0 -5
- package/esm2022/lib/services/ads/ads-loader.service.mjs +0 -120
- package/esm2022/lib/services/ads/ads.service.mjs +0 -236
- package/esm2022/lib/services/ads/config.mjs +0 -81
- package/esm2022/lib/services/ads/index.mjs +0 -13
- package/esm2022/lib/services/ads/types.mjs +0 -23
- package/esm2022/lib/services/app-config/app-config.service.mjs +0 -209
- package/esm2022/lib/services/app-config/config.mjs +0 -47
- package/esm2022/lib/services/app-config/index.mjs +0 -48
- package/esm2022/lib/services/app-config/types.mjs +0 -13
- package/esm2022/lib/services/app-config/version.mjs +0 -85
- package/esm2022/lib/services/auth/auth-state.service.mjs +0 -186
- package/esm2022/lib/services/auth/auth.service.mjs +0 -1087
- package/esm2022/lib/services/auth/config.mjs +0 -77
- package/esm2022/lib/services/auth/device.service.mjs +0 -135
- package/esm2022/lib/services/auth/guards.mjs +0 -194
- package/esm2022/lib/services/auth/index.mjs +0 -92
- package/esm2022/lib/services/auth/interceptor.mjs +0 -122
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +0 -169
- package/esm2022/lib/services/auth/oauth.service.mjs +0 -318
- package/esm2022/lib/services/auth/session.service.mjs +0 -78
- package/esm2022/lib/services/auth/storage.service.mjs +0 -152
- package/esm2022/lib/services/auth/sync.service.mjs +0 -149
- package/esm2022/lib/services/auth/token.service.mjs +0 -122
- package/esm2022/lib/services/auth/types.mjs +0 -30
- package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +0 -180
- package/esm2022/lib/services/confirmation-dialog/types.mjs +0 -14
- package/esm2022/lib/services/docs/docs-navigation.service.mjs +0 -91
- package/esm2022/lib/services/download.service.mjs +0 -80
- package/esm2022/lib/services/feedback/config.mjs +0 -49
- package/esm2022/lib/services/feedback/feedback.service.mjs +0 -296
- package/esm2022/lib/services/feedback/index.mjs +0 -44
- package/esm2022/lib/services/feedback/types.mjs +0 -30
- package/esm2022/lib/services/firebase/analytics-error-handler.mjs +0 -141
- package/esm2022/lib/services/firebase/analytics-router-tracker.mjs +0 -99
- package/esm2022/lib/services/firebase/analytics-types.mjs +0 -7
- package/esm2022/lib/services/firebase/analytics.service.mjs +0 -620
- package/esm2022/lib/services/firebase/config.mjs +0 -131
- package/esm2022/lib/services/firebase/firebase.service.mjs +0 -456
- package/esm2022/lib/services/firebase/firestore-collection.mjs +0 -254
- package/esm2022/lib/services/firebase/firestore.service.mjs +0 -536
- package/esm2022/lib/services/firebase/index.mjs +0 -56
- package/esm2022/lib/services/firebase/messaging.service.mjs +0 -597
- package/esm2022/lib/services/firebase/notifications.service.mjs +0 -199
- package/esm2022/lib/services/firebase/shared-config.mjs +0 -114
- package/esm2022/lib/services/firebase/storage.service.mjs +0 -472
- package/esm2022/lib/services/firebase/types.mjs +0 -18
- package/esm2022/lib/services/firebase/utils/path-builder.mjs +0 -195
- package/esm2022/lib/services/firebase/utils/query-builder.mjs +0 -302
- package/esm2022/lib/services/i18n/config.mjs +0 -110
- package/esm2022/lib/services/i18n/default-content.mjs +0 -563
- package/esm2022/lib/services/i18n/i18n.service.mjs +0 -196
- package/esm2022/lib/services/i18n/index.mjs +0 -13
- package/esm2022/lib/services/i18n/input-i18n.helper.mjs +0 -97
- package/esm2022/lib/services/i18n/translate.pipe.mjs +0 -50
- package/esm2022/lib/services/i18n/types.mjs +0 -15
- package/esm2022/lib/services/icons.service.mjs +0 -76
- package/esm2022/lib/services/image/image.service.mjs +0 -244
- package/esm2022/lib/services/image/index.mjs +0 -3
- package/esm2022/lib/services/image/types.mjs +0 -13
- package/esm2022/lib/services/in-app-browser.service.mjs +0 -35
- package/esm2022/lib/services/link-processor.service.mjs +0 -259
- package/esm2022/lib/services/local-storage.service.mjs +0 -37
- package/esm2022/lib/services/locale.service.mjs +0 -75
- package/esm2022/lib/services/meta/index.mjs +0 -3
- package/esm2022/lib/services/meta/meta.service.mjs +0 -63
- package/esm2022/lib/services/meta/types.mjs +0 -2
- package/esm2022/lib/services/modal/modal.service.mjs +0 -212
- package/esm2022/lib/services/modal/simple-modal-content.component.mjs +0 -133
- package/esm2022/lib/services/modal/types.mjs +0 -26
- package/esm2022/lib/services/navigation/index.mjs +0 -3
- package/esm2022/lib/services/navigation/navigation.service.mjs +0 -216
- package/esm2022/lib/services/navigation/types.mjs +0 -16
- package/esm2022/lib/services/pagination/index.mjs +0 -5
- package/esm2022/lib/services/pagination/pagination.service.mjs +0 -218
- package/esm2022/lib/services/pagination/types.mjs +0 -14
- package/esm2022/lib/services/presets/config.mjs +0 -46
- package/esm2022/lib/services/presets/index.mjs +0 -5
- package/esm2022/lib/services/presets/preset.service.mjs +0 -104
- package/esm2022/lib/services/presets/types.mjs +0 -2
- package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +0 -341
- package/esm2022/lib/services/qr-generator/types.mjs +0 -46
- package/esm2022/lib/services/skeleton/config.mjs +0 -79
- package/esm2022/lib/services/skeleton/directives/loading.directive.mjs +0 -215
- package/esm2022/lib/services/skeleton/index.mjs +0 -16
- package/esm2022/lib/services/skeleton/skeleton.service.mjs +0 -198
- package/esm2022/lib/services/skeleton/templates/detail-skeleton.component.mjs +0 -223
- package/esm2022/lib/services/skeleton/templates/form-skeleton.component.mjs +0 -127
- package/esm2022/lib/services/skeleton/templates/grid-skeleton.component.mjs +0 -154
- package/esm2022/lib/services/skeleton/templates/list-skeleton.component.mjs +0 -110
- package/esm2022/lib/services/skeleton/templates/profile-skeleton.component.mjs +0 -207
- package/esm2022/lib/services/skeleton/templates/table-skeleton.component.mjs +0 -116
- package/esm2022/lib/services/skeleton/types.mjs +0 -11
- package/esm2022/lib/services/theme.service.mjs +0 -144
- package/esm2022/lib/services/toast.service.mjs +0 -47
- package/esm2022/lib/services/types.mjs +0 -5
- package/esm2022/lib/shared/constants/storage.mjs +0 -3
- package/esm2022/lib/shared/pipes/process-links.pipe.mjs +0 -69
- package/esm2022/lib/shared/utils/dom.mjs +0 -27
- package/esm2022/lib/shared/utils/form-defaults.mjs +0 -112
- package/esm2022/lib/shared/utils/styles.mjs +0 -37
- package/esm2022/lib/shared/utils/text.mjs +0 -12
- package/esm2022/lib/version.mjs +0 -6
- package/esm2022/public-api.mjs +0 -333
- package/esm2022/valtech-components.mjs +0 -5
- package/fesm2022/valtech-components.mjs +0 -42048
- package/fesm2022/valtech-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/atoms/avatar/avatar.component.d.ts +0 -36
- package/lib/components/atoms/avatar/types.d.ts +0 -15
- package/lib/components/atoms/box/box.component.d.ts +0 -26
- package/lib/components/atoms/box/types.d.ts +0 -19
- package/lib/components/atoms/button/button.component.d.ts +0 -63
- package/lib/components/atoms/button/factory.d.ts +0 -71
- package/lib/components/atoms/countdown/countdown.component.d.ts +0 -38
- package/lib/components/atoms/countdown/types.d.ts +0 -108
- package/lib/components/atoms/display/display.component.d.ts +0 -19
- package/lib/components/atoms/display/types.d.ts +0 -33
- package/lib/components/atoms/divider/divider.component.d.ts +0 -27
- package/lib/components/atoms/divider/types.d.ts +0 -12
- package/lib/components/atoms/fab/fab.component.d.ts +0 -36
- package/lib/components/atoms/fab/types.d.ts +0 -45
- package/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.d.ts +0 -41
- package/lib/components/atoms/horizontal-scroll/types.d.ts +0 -13
- package/lib/components/atoms/href/href.component.d.ts +0 -25
- package/lib/components/atoms/href/types.d.ts +0 -19
- package/lib/components/atoms/icon/icon.component.d.ts +0 -18
- package/lib/components/atoms/icon/types.d.ts +0 -13
- package/lib/components/atoms/image/image.component.d.ts +0 -41
- package/lib/components/atoms/image/types.d.ts +0 -37
- package/lib/components/atoms/price-tag/price-tag.component.d.ts +0 -15
- package/lib/components/atoms/price-tag/types.d.ts +0 -59
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +0 -35
- package/lib/components/atoms/progress-bar/types.d.ts +0 -19
- package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +0 -20
- package/lib/components/atoms/progress-ring/types.d.ts +0 -24
- package/lib/components/atoms/qr-code/qr-code.component.d.ts +0 -33
- package/lib/components/atoms/qr-code/types.d.ts +0 -124
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +0 -53
- package/lib/components/atoms/rights-footer/types.d.ts +0 -21
- package/lib/components/atoms/skeleton/skeleton.component.d.ts +0 -12
- package/lib/components/atoms/skeleton/types.d.ts +0 -29
- package/lib/components/atoms/text/text.component.d.ts +0 -33
- package/lib/components/atoms/text/types.d.ts +0 -42
- package/lib/components/atoms/title/title.component.d.ts +0 -21
- package/lib/components/atoms/title/types.d.ts +0 -36
- package/lib/components/molecules/accordion/accordion.component.d.ts +0 -18
- package/lib/components/molecules/accordion/types.d.ts +0 -47
- package/lib/components/molecules/action-card/action-card.component.d.ts +0 -90
- package/lib/components/molecules/action-card/types.d.ts +0 -83
- package/lib/components/molecules/action-header/action-header.component.d.ts +0 -7
- package/lib/components/molecules/action-header/types.d.ts +0 -6
- package/lib/components/molecules/ad-slot/ad-slot.component.d.ts +0 -69
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +0 -39
- package/lib/components/molecules/alert-box/types.d.ts +0 -37
- package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +0 -22
- package/lib/components/molecules/breadcrumb/types.d.ts +0 -45
- package/lib/components/molecules/button-group/button-group.component.d.ts +0 -23
- package/lib/components/molecules/button-group/types.d.ts +0 -13
- package/lib/components/molecules/card/card.component.d.ts +0 -49
- package/lib/components/molecules/card/types.d.ts +0 -32
- package/lib/components/molecules/check-input/check-input.component.d.ts +0 -36
- package/lib/components/molecules/chip-group/chip-group.component.d.ts +0 -22
- package/lib/components/molecules/chip-group/types.d.ts +0 -65
- package/lib/components/molecules/code-display/code-display.component.d.ts +0 -24
- package/lib/components/molecules/code-display/types.d.ts +0 -10
- package/lib/components/molecules/command-display/command-display.component.d.ts +0 -11
- package/lib/components/molecules/command-display/types.d.ts +0 -3
- package/lib/components/molecules/comment/comment.component.d.ts +0 -42
- package/lib/components/molecules/comment/types.d.ts +0 -171
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +0 -16
- package/lib/components/molecules/comment-input/types.d.ts +0 -59
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +0 -18
- package/lib/components/molecules/content-loader/types.d.ts +0 -15
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +0 -58
- package/lib/components/molecules/content-reaction/types.d.ts +0 -77
- package/lib/components/molecules/currency-input/currency-input.component.d.ts +0 -40
- package/lib/components/molecules/currency-input/types.d.ts +0 -96
- package/lib/components/molecules/date-input/date-input.component.d.ts +0 -40
- package/lib/components/molecules/date-input/types.d.ts +0 -74
- package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +0 -50
- package/lib/components/molecules/date-range-input/types.d.ts +0 -109
- package/lib/components/molecules/docs-api-table/docs-api-table.component.d.ts +0 -41
- package/lib/components/molecules/docs-api-table/types.d.ts +0 -62
- package/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.d.ts +0 -31
- package/lib/components/molecules/docs-breadcrumb/types.d.ts +0 -20
- package/lib/components/molecules/docs-callout/docs-callout.component.d.ts +0 -17
- package/lib/components/molecules/docs-code-example/docs-code-example.component.d.ts +0 -45
- package/lib/components/molecules/docs-code-example/types.d.ts +0 -63
- package/lib/components/molecules/docs-nav-links/docs-nav-links.component.d.ts +0 -30
- package/lib/components/molecules/docs-nav-links/types.d.ts +0 -31
- package/lib/components/molecules/docs-search/docs-search.component.d.ts +0 -47
- package/lib/components/molecules/docs-search/types.d.ts +0 -27
- package/lib/components/molecules/docs-section/docs-section.component.d.ts +0 -29
- package/lib/components/molecules/docs-section/types.d.ts +0 -27
- package/lib/components/molecules/email-input/email-input.component.d.ts +0 -34
- package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +0 -23
- package/lib/components/molecules/expandable-text/types.d.ts +0 -14
- package/lib/components/molecules/features-list/features-list.component.d.ts +0 -66
- package/lib/components/molecules/features-list/types.d.ts +0 -36
- package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +0 -58
- package/lib/components/molecules/feedback-form/types.d.ts +0 -54
- package/lib/components/molecules/file-input/file-input.component.d.ts +0 -25
- package/lib/components/molecules/file-input/types.d.ts +0 -72
- package/lib/components/molecules/footer-links/footer-links.component.d.ts +0 -47
- package/lib/components/molecules/footer-links/types.d.ts +0 -50
- package/lib/components/molecules/glow-card/glow-card.component.d.ts +0 -60
- package/lib/components/molecules/glow-card/types.d.ts +0 -94
- package/lib/components/molecules/hint/hint.component.d.ts +0 -19
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +0 -15
- package/lib/components/molecules/image-crop/image-crop.component.d.ts +0 -59
- package/lib/components/molecules/info/info.component.d.ts +0 -9
- package/lib/components/molecules/info/types.d.ts +0 -10
- package/lib/components/molecules/language-selector/language-selector.component.d.ts +0 -40
- package/lib/components/molecules/language-selector/types.d.ts +0 -82
- package/lib/components/molecules/layered-card/layered-card.component.d.ts +0 -10
- package/lib/components/molecules/layered-card/types.d.ts +0 -15
- package/lib/components/molecules/link/link.component.d.ts +0 -24
- package/lib/components/molecules/link/types.d.ts +0 -19
- package/lib/components/molecules/linked-providers/linked-providers.component.d.ts +0 -30
- package/lib/components/molecules/linked-providers/types.d.ts +0 -38
- package/lib/components/molecules/links-accordion/links-accordion.component.d.ts +0 -61
- package/lib/components/molecules/links-accordion/types.d.ts +0 -39
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +0 -17
- package/lib/components/molecules/links-cake/types.d.ts +0 -13
- package/lib/components/molecules/multi-select-search/multi-select-search.component.d.ts +0 -76
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +0 -21
- package/lib/components/molecules/notes-box/types.d.ts +0 -21
- package/lib/components/molecules/number-from-to/number-from-to.component.d.ts +0 -27
- package/lib/components/molecules/number-from-to/types.d.ts +0 -76
- package/lib/components/molecules/number-input/number-input.component.d.ts +0 -16
- package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +0 -38
- package/lib/components/molecules/number-stepper/types.d.ts +0 -88
- package/lib/components/molecules/pagination/pagination.component.d.ts +0 -15
- package/lib/components/molecules/pagination/types.d.ts +0 -41
- package/lib/components/molecules/participant-card/participant-card.component.d.ts +0 -34
- package/lib/components/molecules/participant-card/types.d.ts +0 -132
- package/lib/components/molecules/password-input/password-input.component.d.ts +0 -37
- package/lib/components/molecules/phone-input/phone-input.component.d.ts +0 -59
- package/lib/components/molecules/phone-input/types.d.ts +0 -98
- package/lib/components/molecules/pill/pill.component.d.ts +0 -33
- package/lib/components/molecules/pill/types.d.ts +0 -9
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +0 -21
- package/lib/components/molecules/pin-input/types.d.ts +0 -69
- package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +0 -22
- package/lib/components/molecules/plain-code-box/types.d.ts +0 -10
- package/lib/components/molecules/popover-selector/popover-selector.component.d.ts +0 -42
- package/lib/components/molecules/popover-selector/types.d.ts +0 -69
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +0 -23
- package/lib/components/molecules/progress-status/types.d.ts +0 -20
- package/lib/components/molecules/prompter/prompter.component.d.ts +0 -10
- package/lib/components/molecules/prompter/types.d.ts +0 -25
- package/lib/components/molecules/quote-box/quote-box.component.d.ts +0 -26
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +0 -15
- package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +0 -21
- package/lib/components/molecules/raffle-status-card/types.d.ts +0 -108
- package/lib/components/molecules/range-input/range-input.component.d.ts +0 -25
- package/lib/components/molecules/range-input/types.d.ts +0 -59
- package/lib/components/molecules/rating/rating.component.d.ts +0 -23
- package/lib/components/molecules/rating/types.d.ts +0 -41
- package/lib/components/molecules/recap-card/recap-card.component.d.ts +0 -36
- package/lib/components/molecules/recap-card/types.d.ts +0 -30
- package/lib/components/molecules/refresher/refresher.component.d.ts +0 -84
- package/lib/components/molecules/refresher/types.d.ts +0 -86
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +0 -43
- package/lib/components/molecules/searchbar/types.d.ts +0 -33
- package/lib/components/molecules/segment-control/segment-control.component.d.ts +0 -35
- package/lib/components/molecules/segment-control/types.d.ts +0 -46
- package/lib/components/molecules/select-input/select-input.component.d.ts +0 -48
- package/lib/components/molecules/select-search/select-search.component.d.ts +0 -76
- package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +0 -22
- package/lib/components/molecules/share-buttons/types.d.ts +0 -108
- package/lib/components/molecules/stats-card/stats-card.component.d.ts +0 -20
- package/lib/components/molecules/stats-card/types.d.ts +0 -60
- package/lib/components/molecules/stepper/stepper.component.d.ts +0 -31
- package/lib/components/molecules/stepper/types.d.ts +0 -66
- package/lib/components/molecules/swipe-carousel/swipe-carousel.component.d.ts +0 -66
- package/lib/components/molecules/swipe-carousel/types.d.ts +0 -35
- package/lib/components/molecules/tabs/tabs.component.d.ts +0 -34
- package/lib/components/molecules/tabs/types.d.ts +0 -45
- package/lib/components/molecules/testimonial-card/testimonial-card.component.d.ts +0 -41
- package/lib/components/molecules/testimonial-card/types.d.ts +0 -25
- package/lib/components/molecules/text-input/text-input.component.d.ts +0 -42
- package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +0 -46
- package/lib/components/molecules/textarea-input/types.d.ts +0 -74
- package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +0 -40
- package/lib/components/molecules/ticket-grid/types.d.ts +0 -122
- package/lib/components/molecules/timeline/timeline.component.d.ts +0 -14
- package/lib/components/molecules/timeline/types.d.ts +0 -39
- package/lib/components/molecules/title-block/title-block.component.d.ts +0 -12
- package/lib/components/molecules/title-block/types.d.ts +0 -15
- package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +0 -39
- package/lib/components/molecules/toggle-input/types.d.ts +0 -30
- package/lib/components/molecules/update-banner/update-banner.component.d.ts +0 -42
- package/lib/components/molecules/username-input/types.d.ts +0 -34
- package/lib/components/molecules/username-input/username-input.component.d.ts +0 -45
- package/lib/components/molecules/winner-display/types.d.ts +0 -103
- package/lib/components/molecules/winner-display/winner-display.component.d.ts +0 -36
- package/lib/components/organisms/article/article.component.d.ts +0 -108
- package/lib/components/organisms/article/types.d.ts +0 -359
- package/lib/components/organisms/avatar-upload/avatar-upload.component.d.ts +0 -84
- package/lib/components/organisms/avatar-upload/types.d.ts +0 -62
- package/lib/components/organisms/banner/banner.component.d.ts +0 -16
- package/lib/components/organisms/banner/types.d.ts +0 -29
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +0 -88
- package/lib/components/organisms/bottom-nav/types.d.ts +0 -118
- package/lib/components/organisms/cards-carousel/cards-carousel.component.d.ts +0 -30
- package/lib/components/organisms/cards-carousel/types.d.ts +0 -11
- package/lib/components/organisms/comment-section/comment-section.component.d.ts +0 -50
- package/lib/components/organisms/comment-section/types.d.ts +0 -144
- package/lib/components/organisms/company-footer/company-footer.component.d.ts +0 -37
- package/lib/components/organisms/company-footer/types.d.ts +0 -15
- package/lib/components/organisms/data-table/data-table.component.d.ts +0 -63
- package/lib/components/organisms/data-table/types.d.ts +0 -219
- package/lib/components/organisms/docs-sidebar/docs-sidebar.component.d.ts +0 -51
- package/lib/components/organisms/docs-sidebar/types.d.ts +0 -93
- package/lib/components/organisms/docs-toc/docs-toc.component.d.ts +0 -62
- package/lib/components/organisms/docs-toc/types.d.ts +0 -62
- package/lib/components/organisms/footer/footer.component.d.ts +0 -36
- package/lib/components/organisms/footer/types.d.ts +0 -16
- package/lib/components/organisms/form/factory.d.ts +0 -17
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +0 -17
- package/lib/components/organisms/form/form.component.d.ts +0 -48
- package/lib/components/organisms/fun-header/fun-header.component.d.ts +0 -72
- package/lib/components/organisms/fun-header/types.d.ts +0 -28
- package/lib/components/organisms/header/header.component.d.ts +0 -22
- package/lib/components/organisms/header/types.d.ts +0 -16
- package/lib/components/organisms/infinite-list/infinite-list.component.d.ts +0 -113
- package/lib/components/organisms/infinite-list/types.d.ts +0 -197
- package/lib/components/organisms/item-list/item-list.component.d.ts +0 -43
- package/lib/components/organisms/item-list/types.d.ts +0 -126
- package/lib/components/organisms/login/login.component.d.ts +0 -79
- package/lib/components/organisms/login/types.d.ts +0 -70
- package/lib/components/organisms/menu/menu.component.d.ts +0 -44
- package/lib/components/organisms/menu/types.d.ts +0 -23
- package/lib/components/organisms/no-content/no-content.component.d.ts +0 -14
- package/lib/components/organisms/no-content/types.d.ts +0 -17
- package/lib/components/organisms/rotating-text/rotating-text.component.d.ts +0 -47
- package/lib/components/organisms/rotating-text/types.d.ts +0 -28
- package/lib/components/organisms/tabbed-content/tabbed-content.component.d.ts +0 -65
- package/lib/components/organisms/tabbed-content/types.d.ts +0 -53
- package/lib/components/organisms/terminal-404/terminal-404.component.d.ts +0 -42
- package/lib/components/organisms/terminal-404/types.d.ts +0 -22
- package/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.d.ts +0 -33
- package/lib/components/organisms/testimonial-carousel/types.d.ts +0 -8
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +0 -85
- package/lib/components/organisms/toolbar/types.d.ts +0 -31
- package/lib/components/organisms/wizard/types.d.ts +0 -42
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +0 -23
- package/lib/components/organisms/wizard/wizard.component.d.ts +0 -27
- package/lib/components/templates/auth-background/auth-background.component.d.ts +0 -59
- package/lib/components/templates/auth-background/types.d.ts +0 -30
- package/lib/components/templates/docs-layout/docs-layout.component.d.ts +0 -42
- package/lib/components/templates/docs-layout/types.d.ts +0 -39
- package/lib/components/templates/docs-page/docs-page.component.d.ts +0 -61
- package/lib/components/templates/docs-page/types.d.ts +0 -121
- package/lib/components/templates/docs-shell/docs-shell.component.d.ts +0 -33
- package/lib/components/templates/docs-shell/types.d.ts +0 -152
- package/lib/components/templates/layout/layout.component.d.ts +0 -5
- package/lib/components/templates/maintenance-page/maintenance-page.component.d.ts +0 -57
- package/lib/components/templates/maintenance-page/types.d.ts +0 -12
- package/lib/components/templates/page-content/page-content.component.d.ts +0 -107
- package/lib/components/templates/page-content/types.d.ts +0 -27
- package/lib/components/templates/page-template/page-template.component.d.ts +0 -54
- package/lib/components/templates/page-template/types.d.ts +0 -17
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +0 -89
- package/lib/components/templates/page-wrapper/types.d.ts +0 -19
- package/lib/components/templates/simple/simple.component.d.ts +0 -14
- package/lib/components/templates/simple/types.d.ts +0 -10
- package/lib/components/types.d.ts +0 -289
- package/lib/config/company-footer.config.d.ts +0 -98
- package/lib/services/ads/ads-loader.service.d.ts +0 -41
- package/lib/services/ads/ads.service.d.ts +0 -99
- package/lib/services/ads/config.d.ts +0 -53
- package/lib/services/ads/index.d.ts +0 -9
- package/lib/services/ads/types.d.ts +0 -106
- package/lib/services/app-config/app-config.service.d.ts +0 -115
- package/lib/services/app-config/config.d.ts +0 -31
- package/lib/services/app-config/index.d.ts +0 -47
- package/lib/services/app-config/types.d.ts +0 -54
- package/lib/services/app-config/version.d.ts +0 -64
- package/lib/services/auth/auth-state.service.d.ts +0 -92
- package/lib/services/auth/auth.service.d.ts +0 -401
- package/lib/services/auth/config.d.ts +0 -38
- package/lib/services/auth/device.service.d.ts +0 -101
- package/lib/services/auth/guards.d.ts +0 -123
- package/lib/services/auth/index.d.ts +0 -83
- package/lib/services/auth/interceptor.d.ts +0 -22
- package/lib/services/auth/oauth-callback.component.d.ts +0 -34
- package/lib/services/auth/oauth.service.d.ts +0 -99
- package/lib/services/auth/session.service.d.ts +0 -60
- package/lib/services/auth/storage.service.d.ts +0 -52
- package/lib/services/auth/sync.service.d.ts +0 -49
- package/lib/services/auth/token.service.d.ts +0 -57
- package/lib/services/auth/types.d.ts +0 -842
- package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +0 -71
- package/lib/services/confirmation-dialog/types.d.ts +0 -61
- package/lib/services/docs/docs-navigation.service.d.ts +0 -51
- package/lib/services/download.service.d.ts +0 -21
- package/lib/services/feedback/config.d.ts +0 -35
- package/lib/services/feedback/feedback.service.d.ts +0 -134
- package/lib/services/feedback/index.d.ts +0 -40
- package/lib/services/feedback/types.d.ts +0 -173
- package/lib/services/firebase/analytics-error-handler.d.ts +0 -54
- package/lib/services/firebase/analytics-router-tracker.d.ts +0 -51
- package/lib/services/firebase/analytics-types.d.ts +0 -221
- package/lib/services/firebase/analytics.service.d.ts +0 -256
- package/lib/services/firebase/config.d.ts +0 -49
- package/lib/services/firebase/firebase.service.d.ts +0 -251
- package/lib/services/firebase/firestore-collection.d.ts +0 -175
- package/lib/services/firebase/firestore.service.d.ts +0 -312
- package/lib/services/firebase/index.d.ts +0 -44
- package/lib/services/firebase/messaging.service.d.ts +0 -293
- package/lib/services/firebase/notifications.service.d.ts +0 -121
- package/lib/services/firebase/shared-config.d.ts +0 -118
- package/lib/services/firebase/storage.service.d.ts +0 -238
- package/lib/services/firebase/types.d.ts +0 -374
- package/lib/services/firebase/utils/path-builder.d.ts +0 -132
- package/lib/services/firebase/utils/query-builder.d.ts +0 -210
- package/lib/services/i18n/config.d.ts +0 -29
- package/lib/services/i18n/default-content.d.ts +0 -30
- package/lib/services/i18n/i18n.service.d.ts +0 -112
- package/lib/services/i18n/index.d.ts +0 -6
- package/lib/services/i18n/input-i18n.helper.d.ts +0 -70
- package/lib/services/i18n/translate.pipe.d.ts +0 -36
- package/lib/services/i18n/types.d.ts +0 -93
- package/lib/services/icons.service.d.ts +0 -9
- package/lib/services/image/image.service.d.ts +0 -76
- package/lib/services/image/types.d.ts +0 -74
- package/lib/services/in-app-browser.service.d.ts +0 -16
- package/lib/services/link-processor.service.d.ts +0 -104
- package/lib/services/local-storage.service.d.ts +0 -27
- package/lib/services/locale.service.d.ts +0 -52
- package/lib/services/meta/meta.service.d.ts +0 -23
- package/lib/services/meta/types.d.ts +0 -12
- package/lib/services/modal/modal.service.d.ts +0 -100
- package/lib/services/modal/simple-modal-content.component.d.ts +0 -19
- package/lib/services/modal/types.d.ts +0 -155
- package/lib/services/navigation/navigation.service.d.ts +0 -134
- package/lib/services/navigation/types.d.ts +0 -67
- package/lib/services/pagination/index.d.ts +0 -2
- package/lib/services/pagination/pagination.service.d.ts +0 -43
- package/lib/services/pagination/types.d.ts +0 -113
- package/lib/services/presets/config.d.ts +0 -32
- package/lib/services/presets/index.d.ts +0 -3
- package/lib/services/presets/preset.service.d.ts +0 -69
- package/lib/services/presets/types.d.ts +0 -39
- package/lib/services/qr-generator/qr-generator.service.d.ts +0 -115
- package/lib/services/qr-generator/types.d.ts +0 -141
- package/lib/services/skeleton/config.d.ts +0 -30
- package/lib/services/skeleton/directives/loading.directive.d.ts +0 -71
- package/lib/services/skeleton/index.d.ts +0 -10
- package/lib/services/skeleton/skeleton.service.d.ts +0 -127
- package/lib/services/skeleton/templates/detail-skeleton.component.d.ts +0 -18
- package/lib/services/skeleton/templates/form-skeleton.component.d.ts +0 -22
- package/lib/services/skeleton/templates/grid-skeleton.component.d.ts +0 -18
- package/lib/services/skeleton/templates/list-skeleton.component.d.ts +0 -17
- package/lib/services/skeleton/templates/profile-skeleton.component.d.ts +0 -20
- package/lib/services/skeleton/templates/table-skeleton.component.d.ts +0 -17
- package/lib/services/skeleton/types.d.ts +0 -111
- package/lib/services/theme.service.d.ts +0 -70
- package/lib/services/toast.service.d.ts +0 -22
- package/lib/services/types.d.ts +0 -1
- package/lib/shared/constants/storage.d.ts +0 -2
- package/lib/shared/pipes/process-links.pipe.d.ts +0 -55
- package/lib/shared/utils/dom.d.ts +0 -13
- package/lib/shared/utils/form-defaults.d.ts +0 -30
- package/lib/shared/utils/styles.d.ts +0 -13
- package/lib/shared/utils/text.d.ts +0 -11
- package/lib/version.d.ts +0 -5
- package/public-api.d.ts +0 -295
- /package/{lib/components/molecules/image-crop/index.d.ts → src/lib/components/molecules/image-crop/index.ts} +0 -0
- /package/{lib/config/index.d.ts → src/lib/config/index.ts} +0 -0
- /package/{lib/services/image/index.d.ts → src/lib/services/image/index.ts} +0 -0
- /package/{lib/services/meta/index.d.ts → src/lib/services/meta/index.ts} +0 -0
- /package/{lib/services/navigation/index.d.ts → src/lib/services/navigation/index.ts} +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, inject, Input } from '@angular/core';
|
|
3
|
-
import { PresetService } from '../../../services/presets';
|
|
4
|
-
import { ThemeService } from '../../../services/theme.service';
|
|
5
|
-
import { ActionHeaderComponent } from '../action-header/action-header.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
/**
|
|
9
|
-
* val-pill
|
|
10
|
-
*
|
|
11
|
-
* A pill/card component with customizable background and content.
|
|
12
|
-
* Supports presets for reusable configurations.
|
|
13
|
-
*
|
|
14
|
-
* @example With preset (recommended):
|
|
15
|
-
* <val-pill preset="info" [props]="{ content: {...} }"></val-pill>
|
|
16
|
-
*
|
|
17
|
-
* @example Static (backwards compatible):
|
|
18
|
-
* <val-pill [props]="{ background: '#fff', bordered: true, content: {...} }"></val-pill>
|
|
19
|
-
*
|
|
20
|
-
* @input preset: string - Name of preset to apply
|
|
21
|
-
* @input props: PillMetadata - Configuration for the pill
|
|
22
|
-
*/
|
|
23
|
-
export class PillComponent {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.theme = inject(ThemeService);
|
|
26
|
-
this.presets = inject(PresetService);
|
|
27
|
-
/**
|
|
28
|
-
* Pill configuration object. Values here override preset values.
|
|
29
|
-
*/
|
|
30
|
-
this.props = {};
|
|
31
|
-
/**
|
|
32
|
-
* Resolved props after merging preset + explicit props.
|
|
33
|
-
*/
|
|
34
|
-
this.resolvedProps = {};
|
|
35
|
-
}
|
|
36
|
-
ngOnInit() {
|
|
37
|
-
this.resolveProps();
|
|
38
|
-
}
|
|
39
|
-
ngOnChanges(changes) {
|
|
40
|
-
if (changes['preset'] || changes['props']) {
|
|
41
|
-
this.resolveProps();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Merge preset configuration with explicit props.
|
|
46
|
-
* Explicit props take precedence over preset values.
|
|
47
|
-
*/
|
|
48
|
-
resolveProps() {
|
|
49
|
-
const presetProps = this.preset
|
|
50
|
-
? this.presets.get('pill', this.preset)
|
|
51
|
-
: {};
|
|
52
|
-
this.resolvedProps = {
|
|
53
|
-
...presetProps,
|
|
54
|
-
...this.props,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PillComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PillComponent, isStandalone: true, selector: "val-pill", inputs: { preset: "preset", props: "props" }, usesOnChanges: true, ngImport: i0, template: `
|
|
59
|
-
<div
|
|
60
|
-
[id]="resolvedProps.token"
|
|
61
|
-
class="fun-card"
|
|
62
|
-
[class.bordered]="resolvedProps.bordered"
|
|
63
|
-
[class.hoverable]="resolvedProps.hoverable"
|
|
64
|
-
[ngStyle]="{
|
|
65
|
-
background: theme.IsDark ? 'var(--ion-background-color)' : resolvedProps.background,
|
|
66
|
-
}"
|
|
67
|
-
>
|
|
68
|
-
<val-action-header style="width: 100%;" [props]="resolvedProps.content" />
|
|
69
|
-
</div>
|
|
70
|
-
`, 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)}.fun-card{z-index:0;position:relative;margin-bottom:8px;cursor:pointer;background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));display:flex;border-radius:48px;align-items:start;padding:8px 8px 8px 24px;flex-direction:column;box-shadow:0 .25rem .75rem #12195412}.fun-card.hoverable{transition:transform .3s ease,box-shadow .3s ease}.fun-card.hoverable:hover{transform:scale(1.01);box-shadow:.1875rem .625rem .5rem #1219541a}.bordered{border:.0625rem solid var(--ion-color-medium)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ActionHeaderComponent, selector: "val-action-header", inputs: ["props"] }] }); }
|
|
71
|
-
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PillComponent, decorators: [{
|
|
73
|
-
type: Component,
|
|
74
|
-
args: [{ selector: 'val-pill', standalone: true, imports: [CommonModule, ActionHeaderComponent], template: `
|
|
75
|
-
<div
|
|
76
|
-
[id]="resolvedProps.token"
|
|
77
|
-
class="fun-card"
|
|
78
|
-
[class.bordered]="resolvedProps.bordered"
|
|
79
|
-
[class.hoverable]="resolvedProps.hoverable"
|
|
80
|
-
[ngStyle]="{
|
|
81
|
-
background: theme.IsDark ? 'var(--ion-background-color)' : resolvedProps.background,
|
|
82
|
-
}"
|
|
83
|
-
>
|
|
84
|
-
<val-action-header style="width: 100%;" [props]="resolvedProps.content" />
|
|
85
|
-
</div>
|
|
86
|
-
`, 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)}.fun-card{z-index:0;position:relative;margin-bottom:8px;cursor:pointer;background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));display:flex;border-radius:48px;align-items:start;padding:8px 8px 8px 24px;flex-direction:column;box-shadow:0 .25rem .75rem #12195412}.fun-card.hoverable{transition:transform .3s ease,box-shadow .3s ease}.fun-card.hoverable:hover{transform:scale(1.01);box-shadow:.1875rem .625rem .5rem #1219541a}.bordered{border:.0625rem solid var(--ion-color-medium)}\n"] }]
|
|
87
|
-
}], propDecorators: { preset: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], props: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}] } });
|
|
92
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbW9sZWN1bGVzL3BpbGwvcGlsbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBb0MsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzFELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUMvRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQzs7O0FBc0JqRjs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUNILE1BQU0sT0FBTyxhQUFhO0lBbEMxQjtRQW1DRSx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hlYWRlck1ldGFkYXRhO1xufTtcbiJdfQ==
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
2
|
-
import { NgOtpInputComponent, NgOtpInputModule } from 'ng-otp-input';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "ng-otp-input";
|
|
5
|
-
/** Size configurations for PIN input boxes */
|
|
6
|
-
const SIZE_CONFIG = {
|
|
7
|
-
small: { width: '40px', height: '44px', fontSize: '24px' },
|
|
8
|
-
medium: { width: '50px', height: '54px', fontSize: '28px' },
|
|
9
|
-
large: { width: '58px', height: '60px', fontSize: '32px' },
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* val-pin-input
|
|
13
|
-
*
|
|
14
|
-
* A PIN code input using ng-otp-input, integrated with Angular forms.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* <val-pin-input [props]="{ control: myControl }"></val-pin-input>
|
|
18
|
-
*
|
|
19
|
-
* @input props: PinInputMetadata - Configuration for the PIN input (form control, length, etc.)
|
|
20
|
-
*/
|
|
21
|
-
export class PinInputComponent {
|
|
22
|
-
constructor() {
|
|
23
|
-
this.codeLength = 5;
|
|
24
|
-
this.otpInputConfig = {
|
|
25
|
-
inputStyles: {
|
|
26
|
-
'font-size': SIZE_CONFIG.medium.fontSize,
|
|
27
|
-
width: SIZE_CONFIG.medium.width,
|
|
28
|
-
height: SIZE_CONFIG.medium.height,
|
|
29
|
-
},
|
|
30
|
-
inputClass: 'otp-input-box',
|
|
31
|
-
length: this.codeLength,
|
|
32
|
-
allowNumbersOnly: true,
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
// Usar props.length si se proporciona, sino mantener default 5
|
|
37
|
-
const length = this.props.length ?? 5;
|
|
38
|
-
// Usar props.size si se proporciona, sino mantener default 'medium'
|
|
39
|
-
const size = this.props.size ?? 'medium';
|
|
40
|
-
const sizeStyles = SIZE_CONFIG[size];
|
|
41
|
-
this.otpInputConfig = {
|
|
42
|
-
...this.otpInputConfig,
|
|
43
|
-
length,
|
|
44
|
-
allowNumbersOnly: this.props.allowNumbersOnly ?? true,
|
|
45
|
-
inputStyles: {
|
|
46
|
-
'font-size': sizeStyles.fontSize,
|
|
47
|
-
width: sizeStyles.width,
|
|
48
|
-
height: sizeStyles.height,
|
|
49
|
-
...this.props.inputStyles, // Allow custom overrides
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
reset() {
|
|
54
|
-
if (this.pinCode) {
|
|
55
|
-
this.pinCode.setValue('');
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PinInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PinInputComponent, isStandalone: true, selector: "val-pin-input", inputs: { props: "props" }, viewQueries: [{ propertyName: "pinCode", first: true, predicate: NgOtpInputComponent, descendants: true }], ngImport: i0, template: `
|
|
60
|
-
<div class="otp">
|
|
61
|
-
<ng-otp-input [formCtrl]="props.control" [config]="otpInputConfig"></ng-otp-input>
|
|
62
|
-
</div>
|
|
63
|
-
`, 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)}.section{margin-top:1rem}.input{margin:.5rem 0}@media (min-width: 768px){.input{margin:.75rem 0}}.field-description{display:block;font-size:.75rem;color:var(--ion-color-medium);margin-bottom:.25rem;line-height:1.4}.otp{text-align:center;margin-top:.25rem;font-family:var(--ion-default-font),Arial,sans-serif}@media (max-width: 480px){.otp ::ng-deep .otp-input{width:40px!important;height:44px!important;font-size:24px!important}}.otp-input-box:focus{border-color:#0ff}\n"], dependencies: [{ kind: "ngmodule", type: NgOtpInputModule }, { kind: "component", type: i1.NgOtpInputComponent, selector: "ng-otp-input", inputs: ["config", "formCtrl"], outputs: ["onInputChange"] }] }); }
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PinInputComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'val-pin-input', standalone: true, imports: [NgOtpInputModule], template: `
|
|
68
|
-
<div class="otp">
|
|
69
|
-
<ng-otp-input [formCtrl]="props.control" [config]="otpInputConfig"></ng-otp-input>
|
|
70
|
-
</div>
|
|
71
|
-
`, 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)}.section{margin-top:1rem}.input{margin:.5rem 0}@media (min-width: 768px){.input{margin:.75rem 0}}.field-description{display:block;font-size:.75rem;color:var(--ion-color-medium);margin-bottom:.25rem;line-height:1.4}.otp{text-align:center;margin-top:.25rem;font-family:var(--ion-default-font),Arial,sans-serif}@media (max-width: 480px){.otp ::ng-deep .otp-input{width:40px!important;height:44px!important;font-size:24px!important}}.otp-input-box:focus{border-color:#0ff}\n"] }]
|
|
72
|
-
}], ctorParameters: () => [], propDecorators: { pinCode: [{
|
|
73
|
-
type: ViewChild,
|
|
74
|
-
args: [NgOtpInputComponent, { static: false }]
|
|
75
|
-
}], props: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}] } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9tb2xlY3VsZXMvcGluLWlucHV0L3Bpbi1pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxtQkFBbUIsRUFBb0IsZ0JBQWdCLEVBQUUsTUFBTSxjQUFjLENBQUM7OztBQUd2Riw4Q0FBOEM7QUFDOUMsTUFBTSxXQUFXLEdBQThFO0lBQzdGLEtBQUssRUFBRSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFO0lBQzFELE1BQU0sRUFBRSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFO0lBQzNELEtBQUssRUFBRSxFQUFFLEtBQUssRU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bGFzcyAqL1xuICBpbnB1dENsYXNzPzogc3RyaW5nO1xuXG4gIC8vID09PSBSZWFjdGl2ZSBjb250ZW50ID09PVxuICAvKiogQ29udGVudCBrZXkgZm9yIHJlYWN0aXZlIGxhYmVsICovXG4gIGNvbnRlbnRLZXk/OiBzdHJpbmc7XG4gIC8qKiBDb21wb25lbnQgY2xhc3MgbmFtZSBmb3IgY29udGVudCBsb29rdXAgKi9cbiAgY29udGVudENsYXNzPzogc3RyaW5nO1xuICAvKiogRmFsbGJhY2sgdGV4dCBpZiBjb250ZW50IGtleSBpcyBub3QgZm91bmQgKi9cbiAgY29udGVudEZhbGxiYWNrPzogc3RyaW5nO1xuXG4gIC8vID09PSBWYWxpZGF0aW9uIGRpc3BsYXkgPT09XG4gIC8qKiBDdXN0b20gZXJyb3IgbWVzc2FnZXMgKi9cbiAgZXJyb3JzPzogUmVjb3JkPHN0cmluZywgc3RyaW5nPjtcbiAgLyoqIFNob3cgdmFsaWRhdGlvbiBlcnJvcnMgKi9cbiAgc2hvd0Vycm9ycz86IGJvb2xlYW47XG59XG5cbi8qKlxuICogRXZlbnQgZW1pdHRlZCB3aGVuIFBJTiBpbnB1dCBjaGFuZ2VzLlxuICovXG5leHBvcnQgaW50ZXJmYWNlIFBpbklucHV0Q2hhbmdlRXZlbnQge1xuICAvKiogQ3VycmVudCBQSU4gdmFsdWUgKi9cbiAgdmFsdWU6IHN0cmluZztcbiAgLyoqIFdoZXRoZXIgdGhlIFBJTiBpcyBjb21wbGV0ZSAqL1xuICBpc0NvbXBsZXRlOiBib29sZWFuO1xuICAvKiogTnVtYmVyIG9mIGRpZ2l0cyBlbnRlcmVkICovXG4gIGxlbmd0aDogbnVtYmVyO1xufVxuIl19
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ChangeDetectorRef, Component, inject, Input, ViewChild, } from '@angular/core';
|
|
3
|
-
import { Clipboard } from '@capacitor/clipboard';
|
|
4
|
-
import { ToastController } from '@ionic/angular';
|
|
5
|
-
import { IonButton, IonIcon } from '@ionic/angular/standalone';
|
|
6
|
-
import { I18nService } from '../../../services/i18n';
|
|
7
|
-
import * as Prism from 'prismjs';
|
|
8
|
-
import 'prismjs/components/prism-bash';
|
|
9
|
-
import 'prismjs/components/prism-css';
|
|
10
|
-
import 'prismjs/components/prism-javascript';
|
|
11
|
-
import 'prismjs/components/prism-markup';
|
|
12
|
-
import 'prismjs/components/prism-typescript';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
import * as i1 from "@angular/common";
|
|
15
|
-
export class PlainCodeBoxComponent {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.toast = inject(ToastController);
|
|
18
|
-
this.cdr = inject(ChangeDetectorRef);
|
|
19
|
-
this.i18n = inject(I18nService);
|
|
20
|
-
this.props = { lines: [] };
|
|
21
|
-
}
|
|
22
|
-
ngOnChanges(changes) {
|
|
23
|
-
if (changes['props'] && !changes['props'].firstChange) {
|
|
24
|
-
this.cdr.detectChanges();
|
|
25
|
-
setTimeout(() => this.highlightCode());
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
ngAfterViewInit() {
|
|
29
|
-
setTimeout(() => this.highlightCode());
|
|
30
|
-
}
|
|
31
|
-
highlightCode() {
|
|
32
|
-
if (this.codeBlock && this.props.lines && this.props.lines.length > 0) {
|
|
33
|
-
Prism.highlightElement(this.codeBlock.nativeElement);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
async copyCode() {
|
|
37
|
-
const fullCode = this.props.lines.map(line => line.text).join('\n');
|
|
38
|
-
if (fullCode) {
|
|
39
|
-
await Clipboard.write({
|
|
40
|
-
string: fullCode,
|
|
41
|
-
});
|
|
42
|
-
this.presentToast(this.i18n.t('copiedToClipboard'));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
async presentToast(message) {
|
|
46
|
-
const toast = await this.toast.create({
|
|
47
|
-
message: message,
|
|
48
|
-
duration: 2000,
|
|
49
|
-
position: 'bottom',
|
|
50
|
-
color: 'dark',
|
|
51
|
-
});
|
|
52
|
-
toast.present();
|
|
53
|
-
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PlainCodeBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PlainCodeBoxComponent, isStandalone: true, selector: "val-plain-code-box", inputs: { props: "props" }, viewQueries: [{ propertyName: "codeBlock", first: true, predicate: ["codeBlock"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
56
|
-
<div class="code-box-container">
|
|
57
|
-
<ion-button *ngIf="props.showCopyButton !== false" fill="clear" class="copy-button" (click)="copyCode()">
|
|
58
|
-
<ion-icon name="copy-outline"></ion-icon>
|
|
59
|
-
</ion-button>
|
|
60
|
-
<pre><code [class]="'language-' + (props.language || 'bash')" #codeBlock><ng-container *ngFor="let line of props.lines; let i = index"><span [class]="line.type ? 'line-' + line.type : 'line-normal'">{{ line.text }}</span><br *ngIf="i < props.lines.length - 1">
|
|
61
|
-
</ng-container></code></pre>
|
|
62
|
-
</div>
|
|
63
|
-
`, isInline: true, styles: [".code-box-container{position:relative;background-color:#282c34;border-radius:16px;overflow:hidden;box-shadow:0 4px 15px #0009;margin:0}@media (prefers-color-scheme: light){.code-box-container{background-color:#fff;box-shadow:0 2px 4px #0000001a}}.copy-button{position:absolute;top:8px;right:8px;z-index:10;--padding-start: 2px;--padding-end: 2px;--padding-top: 2px;--padding-bottom: 2px;min-width:28px;min-height:28px;height:28px;width:28px;color:#61afef;background:#0006;border-radius:6px;box-shadow:0 1px 4px #0000000d;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease}.copy-button:hover{background:#00000080;color:#8cc4ff}.copy-button ion-icon{font-size:1.2em;margin:0}@media (prefers-color-scheme: light){.copy-button{color:var(--ion-color-primary, #007bff);background:#ffffffb3}.copy-button:hover{background:#ffffffe6;color:var(--ion-color-primary-tint, #3880ff)}}pre{margin:0;padding:0;background-color:transparent;min-width:100%;min-height:100%;white-space:pre-wrap;word-break:normal;font-family:Roboto Mono,monospace}code{font-family:Roboto Mono,monospace;font-size:.9em;line-height:1.6;display:block;white-space:inherit;word-break:inherit;color:#abb2bf;margin:0}@media (prefers-color-scheme: light){code{color:#333}}code .line-normal{color:#abb2bf}@media (prefers-color-scheme: light){code .line-normal{color:#333}}code .line-command{color:#c678dd}@media (prefers-color-scheme: light){code .line-command{color:var(--ion-color-primary, #3880ff)}}code .line-error{color:#e06c75}@media (prefers-color-scheme: light){code .line-error{color:var(--ion-color-danger, #eb445a)}}code .line-success{color:#98c379}@media (prefers-color-scheme: light){code .line-success{color:var(--ion-color-success, #2dd36f)}}code .token.comment{color:#5c6370}code .token.selector,code .token.string{color:#98c379}code .token.punctuation{color:#abb2bf}code .token.operator{color:#c678dd}code .token.boolean,code .token.number{color:#d19a66}code .token.function{color:#61afef}code .token.keyword{color:#c678dd}code .token.class-name{color:#e6c07b}code .token.tag{color:#e06c75}code .token.attr-name{color:#d19a66}code .token.attr-value{color:#98c379}code .token.property{color:#56b6c2}code .token.variable{color:#e06c75}@media (max-width: 600px){.code-box-container{border-radius:16px}.copy-button{top:6px;right:6px;min-width:24px;min-height:24px;height:24px;width:24px}.copy-button ion-icon{font-size:1em}pre{padding:0;margin:0}code{font-size:.8em;line-height:1.5;margin:0}}@media (min-width: 601px) and (max-width: 1024px){code{font-size:.9em}}@media (min-width: 1025px){code{font-size:1em}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }] }); }
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PlainCodeBoxComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'val-plain-code-box', standalone: true, imports: [CommonModule, IonIcon, IonButton], template: `
|
|
68
|
-
<div class="code-box-container">
|
|
69
|
-
<ion-button *ngIf="props.showCopyButton !== false" fill="clear" class="copy-button" (click)="copyCode()">
|
|
70
|
-
<ion-icon name="copy-outline"></ion-icon>
|
|
71
|
-
</ion-button>
|
|
72
|
-
<pre><code [class]="'language-' + (props.language || 'bash')" #codeBlock><ng-container *ngFor="let line of props.lines; let i = index"><span [class]="line.type ? 'line-' + line.type : 'line-normal'">{{ line.text }}</span><br *ngIf="i < props.lines.length - 1">
|
|
73
|
-
</ng-container></code></pre>
|
|
74
|
-
</div>
|
|
75
|
-
`, styles: [".code-box-container{position:relative;background-color:#282c34;border-radius:16px;overflow:hidden;box-shadow:0 4px 15px #0009;margin:0}@media (prefers-color-scheme: light){.code-box-container{background-color:#fff;box-shadow:0 2px 4px #0000001a}}.copy-button{position:absolute;top:8px;right:8px;z-index:10;--padding-start: 2px;--padding-end: 2px;--padding-top: 2px;--padding-bottom: 2px;min-width:28px;min-height:28px;height:28px;width:28px;color:#61afef;background:#0006;border-radius:6px;box-shadow:0 1px 4px #0000000d;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease}.copy-button:hover{background:#00000080;color:#8cc4ff}.copy-button ion-icon{font-size:1.2em;margin:0}@media (prefers-color-scheme: light){.copy-button{color:var(--ion-color-primary, #007bff);background:#ffffffb3}.copy-button:hover{background:#ffffffe6;color:var(--ion-color-primary-tint, #3880ff)}}pre{margin:0;padding:0;background-color:transparent;min-width:100%;min-height:100%;white-space:pre-wrap;word-break:normal;font-family:Roboto Mono,monospace}code{font-family:Roboto Mono,monospace;font-size:.9em;line-height:1.6;display:block;white-space:inherit;word-break:inherit;color:#abb2bf;margin:0}@media (prefers-color-scheme: light){code{color:#333}}code .line-normal{color:#abb2bf}@media (prefers-color-scheme: light){code .line-normal{color:#333}}code .line-command{color:#c678dd}@media (prefers-color-scheme: light){code .line-command{color:var(--ion-color-primary, #3880ff)}}code .line-error{color:#e06c75}@media (prefers-color-scheme: light){code .line-error{color:var(--ion-color-danger, #eb445a)}}code .line-success{color:#98c379}@media (prefers-color-scheme: light){code .line-success{color:var(--ion-color-success, #2dd36f)}}code .token.comment{color:#5c6370}code .token.selector,code .token.string{color:#98c379}code .token.punctuation{color:#abb2bf}code .token.operator{color:#c678dd}code .token.boolean,code .token.number{color:#d19a66}code .token.function{color:#61afef}code .token.keyword{color:#c678dd}code .token.class-name{color:#e6c07b}code .token.tag{color:#e06c75}code .token.attr-name{color:#d19a66}code .token.attr-value{color:#98c379}code .token.property{color:#56b6c2}code .token.variable{color:#e06c75}@media (max-width: 600px){.code-box-container{border-radius:16px}.copy-button{top:6px;right:6px;min-width:24px;min-height:24px;height:24px;width:24px}.copy-button ion-icon{font-size:1em}pre{padding:0;margin:0}code{font-size:.8em;line-height:1.5;margin:0}}@media (min-width: 601px) and (max-width: 1024px){code{font-size:.9em}}@media (min-width: 1025px){code{font-size:1em}}\n"] }]
|
|
76
|
-
}], propDecorators: { props: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], codeBlock: [{
|
|
79
|
-
type: ViewChild,
|
|
80
|
-
args: ['codeBlock']
|
|
81
|
-
}] } });
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhaW4tY29kZS1ib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZX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wMDAsXG4gICAgICBwb3NpdGlvbjogJ2JvdHRvbScsXG4gICAgICBjb2xvcjogJ2RhcmsnLFxuICAgIH0pO1xuICAgIHRvYXN0LnByZXNlbnQoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbW9sZWN1bGVzL3BsYWluLWNvZGUtYm94L3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDb2RlTGluZVR5cGUgPSAnbm9ybWFsJyB8ICdjb21tYW5kJyB8ICdzdWNjZXNzJyB8ICdlcnJvcic7XG5cbmV4cG9ydCB0eXBlIENvZGVMaW5lID0ge1xuICB0ZXh0OiBzdHJpbmc7XG4gIHR5cGU/OiBDb2RlTGluZVR5cGU7XG59O1xuXG5leHBvcnQgdHlwZSBQbGFpbkNvZGVCb3hNZXRhZGF0YSA9IHtcbiAgbGluZXM6IENvZGVMaW5lW107XG4gIHNob3dDb3B5QnV0dG9uPzogYm9vbGVhbjtcbiAgbGFuZ3VhZ2U/OiBzdHJpbmc7XG59O1xuIl19
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, EventEmitter, inject, Input, Output } from '@angular/core';
|
|
3
|
-
import { IonButton, IonIcon, IonLabel, IonSelect, IonSelectOption } from '@ionic/angular/standalone';
|
|
4
|
-
import { addIcons } from 'ionicons';
|
|
5
|
-
import { chevronDown } from 'ionicons/icons';
|
|
6
|
-
import { I18nService } from '../../../services/i18n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
/**
|
|
10
|
-
* val-popover-selector
|
|
11
|
-
*
|
|
12
|
-
* A generic reusable popover selector component that can be used for any type of selection.
|
|
13
|
-
* Provides a button trigger that opens a popover with selectable options.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* // Basic usage
|
|
17
|
-
* <val-popover-selector
|
|
18
|
-
* [props]="selectorProps"
|
|
19
|
-
* (selectionChange)="onSelectionChange($event)">
|
|
20
|
-
* </val-popover-selector>
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* // With icon and custom styling
|
|
24
|
-
* const selectorProps: PopoverSelectorMetadata = {
|
|
25
|
-
* options: [
|
|
26
|
-
* { value: 'option1', label: 'Option 1', icon: 'star' },
|
|
27
|
-
* { value: 'option2', label: 'Option 2', icon: 'heart' }
|
|
28
|
-
* ],
|
|
29
|
-
* selectedValue: 'option1',
|
|
30
|
-
* label: 'Choose option',
|
|
31
|
-
* icon: 'settings',
|
|
32
|
-
* color: 'primary',
|
|
33
|
-
* size: 'large',
|
|
34
|
-
* fill: 'solid'
|
|
35
|
-
* };
|
|
36
|
-
*
|
|
37
|
-
* @input props: PopoverSelectorMetadata - Configuration for the selector
|
|
38
|
-
* @output selectionChange: EventEmitter<string | string[]> - Emitted when selection changes
|
|
39
|
-
*/
|
|
40
|
-
export class PopoverSelectorComponent {
|
|
41
|
-
constructor() {
|
|
42
|
-
/**
|
|
43
|
-
* Event emitted when the selection changes.
|
|
44
|
-
* Emits the selected value(s).
|
|
45
|
-
*/
|
|
46
|
-
this.selectionChange = new EventEmitter();
|
|
47
|
-
this.i18n = inject(I18nService);
|
|
48
|
-
// Register required icons
|
|
49
|
-
addIcons({ chevronDown });
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Get placeholder text.
|
|
53
|
-
*/
|
|
54
|
-
getPlaceholderText() {
|
|
55
|
-
return this.props.placeholder || this.i18n.t('selectPlaceholder');
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Get cancel text.
|
|
59
|
-
*/
|
|
60
|
-
getCancelText() {
|
|
61
|
-
return this.props.cancelText || this.i18n.t('cancel');
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Get ok text.
|
|
65
|
-
*/
|
|
66
|
-
getOkText() {
|
|
67
|
-
return this.props.okText || this.i18n.t('ok');
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Handle selection change from the ion-select.
|
|
71
|
-
* @param event - The ion-select change event
|
|
72
|
-
*/
|
|
73
|
-
onSelectionChange(event) {
|
|
74
|
-
const selectedValue = event.detail.value;
|
|
75
|
-
this.selectionChange.emit(selectedValue);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Get the display text for the trigger button.
|
|
79
|
-
* Shows the selected option's label or placeholder.
|
|
80
|
-
* @returns The display text
|
|
81
|
-
*/
|
|
82
|
-
getDisplayText() {
|
|
83
|
-
if (!this.props.selectedValue) {
|
|
84
|
-
return this.getPlaceholderText();
|
|
85
|
-
}
|
|
86
|
-
if (Array.isArray(this.props.selectedValue)) {
|
|
87
|
-
// Multiple selection
|
|
88
|
-
if (this.props.selectedValue.length === 0) {
|
|
89
|
-
return this.getPlaceholderText();
|
|
90
|
-
}
|
|
91
|
-
if (this.props.selectedValue.length === 1) {
|
|
92
|
-
const option = this.props.options.find(opt => opt.value === this.props.selectedValue[0]);
|
|
93
|
-
return option?.label || this.props.selectedValue[0];
|
|
94
|
-
}
|
|
95
|
-
return `${this.props.selectedValue.length} ${this.i18n.t('selected')}`;
|
|
96
|
-
}
|
|
97
|
-
// Single selection
|
|
98
|
-
const selectedOption = this.props.options.find(opt => opt.value === this.props.selectedValue);
|
|
99
|
-
return selectedOption?.label || this.props.selectedValue;
|
|
100
|
-
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopoverSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PopoverSelectorComponent, isStandalone: true, selector: "val-popover-selector", inputs: { props: "props" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
103
|
-
<div class="popover-selector-container">
|
|
104
|
-
<ion-label *ngIf="props.label" class="selector-label">{{ props.label }}</ion-label>
|
|
105
|
-
<ion-select
|
|
106
|
-
[value]="props.selectedValue"
|
|
107
|
-
[placeholder]="getPlaceholderText()"
|
|
108
|
-
[interface]="props.interface || 'popover'"
|
|
109
|
-
[multiple]="props.multiple || false"
|
|
110
|
-
[disabled]="props.disabled || false"
|
|
111
|
-
[cancelText]="getCancelText()"
|
|
112
|
-
[okText]="getOkText()"
|
|
113
|
-
(ionChange)="onSelectionChange($event)"
|
|
114
|
-
class="popover-selector-select"
|
|
115
|
-
>
|
|
116
|
-
<ion-button
|
|
117
|
-
slot="trigger"
|
|
118
|
-
[fill]="props.fill || 'clear'"
|
|
119
|
-
[size]="props.size || 'default'"
|
|
120
|
-
[shape]="'round'"
|
|
121
|
-
[color]="props.color || 'medium'"
|
|
122
|
-
[disabled]="props.disabled || false"
|
|
123
|
-
class="selector-trigger"
|
|
124
|
-
>
|
|
125
|
-
<ion-icon *ngIf="props.icon" [name]="props.icon" slot="start"> </ion-icon>
|
|
126
|
-
|
|
127
|
-
<span class="trigger-text">{{ getDisplayText() }}</span>
|
|
128
|
-
|
|
129
|
-
<ion-icon name="chevron-down-outline" slot="end" class="chevron-icon"> </ion-icon>
|
|
130
|
-
</ion-button>
|
|
131
|
-
|
|
132
|
-
<ion-select-option *ngFor="let option of props.options" [value]="option.value" [disabled]="option.disabled">
|
|
133
|
-
<div class="option-content">
|
|
134
|
-
<ion-icon *ngIf="option.icon" [name]="option.icon" class="option-icon"> </ion-icon>
|
|
135
|
-
<span>{{ option.label }}</span>
|
|
136
|
-
</div>
|
|
137
|
-
</ion-select-option>
|
|
138
|
-
</ion-select>
|
|
139
|
-
</div>
|
|
140
|
-
`, 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)}.popover-selector-container{display:inline-block;width:auto}.popover-selector-container .selector-label{display:block;margin-bottom:8px;font-weight:600;color:var(--ion-color-dark, #1a1a1a)}.popover-selector-select{display:inline-block;width:auto}.popover-selector-select .selector-trigger{--background: transparent;--background-hover: transparent;--background-activated: transparent;--background-focused: transparent;--box-shadow: none;--border-radius: 24px;display:inline-flex;align-items:center;min-width:auto;width:auto;height:auto;min-height:40px;padding:10px 16px;margin:0;background:var(--ion-color-light, #f8f9fa);border:none;border-radius:24px;box-shadow:0 2px 8px #00000014;transition:all .2s ease}.popover-selector-select .selector-trigger:hover:not([disabled]){background:var(--ion-color-light-shade, #e9ecef);transform:translateY(-1px);box-shadow:0 4px 12px #0000001f}.popover-selector-select .selector-trigger:active{transform:translateY(0);box-shadow:0 2px 6px #00000026}.popover-selector-select .selector-trigger:focus-visible{outline:2px solid var(--ion-color-primary, #3880ff);outline-offset:2px}.popover-selector-select .selector-trigger .trigger-text{display:inline-block;margin:0 8px 0 0;font-weight:600;font-size:14px;color:var(--ion-color-dark, #1a1a1a);white-space:nowrap;line-height:1.4}.popover-selector-select .selector-trigger .chevron-icon{font-size:16px;color:var(--ion-color-medium, #92949c);transition:transform .2s ease;margin-left:4px}.popover-selector-select .selector-trigger ion-icon[slot=start]{margin-right:8px;font-size:16px;color:var(--ion-color-medium-shade, #808289)}.popover-selector-select .selector-trigger.select-expanded{background:var(--ion-color-light-shade, #e9ecef)}.popover-selector-select .selector-trigger.select-expanded .chevron-icon{transform:rotate(180deg);color:var(--ion-color-primary, #3880ff)}.popover-selector-select .selector-trigger[disabled]{opacity:.6;pointer-events:none;background:var(--ion-color-light-tint, #f4f5f8);box-shadow:none;transform:none}.option-content{display:flex;align-items:center;gap:12px;padding:6px 0}.option-content .option-icon{font-size:18px;width:18px;height:18px;opacity:.8;color:var(--ion-color-medium-shade, #808289)}.option-content span{font-weight:500;color:var(--ion-color-dark, #1a1a1a);line-height:1.4}.popover-selector-container.size-small .selector-trigger{min-height:32px;padding:6px 12px;border-radius:18px}.popover-selector-container.size-small .selector-trigger .trigger-text{font-size:12px}.popover-selector-container.size-small .selector-trigger .chevron-icon,.popover-selector-container.size-small .selector-trigger ion-icon[slot=start]{font-size:14px}.popover-selector-container.size-large .selector-trigger{min-height:48px;padding:14px 20px;border-radius:28px}.popover-selector-container.size-large .selector-trigger .trigger-text{font-size:16px}.popover-selector-container.size-large .selector-trigger .chevron-icon,.popover-selector-container.size-large .selector-trigger ion-icon[slot=start]{font-size:18px}@media (max-width: 768px){.popover-selector-container .selector-trigger{min-height:38px;padding:9px 14px}.popover-selector-container .selector-trigger .trigger-text{font-size:13px}}@media (prefers-color-scheme: dark){.popover-selector-container .selector-label{color:var(--ion-color-light, #f4f5f8)}.popover-selector-container .selector-trigger{background:var(--ion-color-dark-tint, #383a3e)}.popover-selector-container .selector-trigger:hover:not([disabled]){background:var(--ion-color-dark-shade, #2f2f2f)}.popover-selector-container .selector-trigger .trigger-text{color:var(--ion-color-light, #f4f5f8)}.popover-selector-container .selector-trigger .chevron-icon,.popover-selector-container .selector-trigger ion-icon[slot=start]{color:var(--ion-color-light-shade, #d7d8da)}.popover-selector-container .selector-trigger.select-expanded{background:var(--ion-color-dark-shade, #2f2f2f)}}ion-select{border-radius:8px;padding:.625rem;border:.125rem solid var(--ion-color-light)!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonSelect, selector: "ion-select", inputs: ["cancelText", "color", "compareWith", "disabled", "errorText", "expandedIcon", "fill", "helperText", "interface", "interfaceOptions", "justify", "label", "labelPlacement", "mode", "multiple", "name", "okText", "placeholder", "selectedText", "shape", "toggleIcon", "value"] }, { kind: "component", type: IonSelectOption, selector: "ion-select-option", inputs: ["disabled", "value"] }, { kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }] }); }
|
|
141
|
-
}
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopoverSelectorComponent, decorators: [{
|
|
143
|
-
type: Component,
|
|
144
|
-
args: [{ selector: 'val-popover-selector', standalone: true, imports: [CommonModule, IonButton, IonIcon, IonSelect, IonSelectOption, IonLabel], template: `
|
|
145
|
-
<div class="popover-selector-container">
|
|
146
|
-
<ion-label *ngIf="props.label" class="selector-label">{{ props.label }}</ion-label>
|
|
147
|
-
<ion-select
|
|
148
|
-
[value]="props.selectedValue"
|
|
149
|
-
[placeholder]="getPlaceholderText()"
|
|
150
|
-
[interface]="props.interface || 'popover'"
|
|
151
|
-
[multiple]="props.multiple || false"
|
|
152
|
-
[disabled]="props.disabled || false"
|
|
153
|
-
[cancelText]="getCancelText()"
|
|
154
|
-
[okText]="getOkText()"
|
|
155
|
-
(ionChange)="onSelectionChange($event)"
|
|
156
|
-
class="popover-selector-select"
|
|
157
|
-
>
|
|
158
|
-
<ion-button
|
|
159
|
-
slot="trigger"
|
|
160
|
-
[fill]="props.fill || 'clear'"
|
|
161
|
-
[size]="props.size || 'default'"
|
|
162
|
-
[shape]="'round'"
|
|
163
|
-
[color]="props.color || 'medium'"
|
|
164
|
-
[disabled]="props.disabled || false"
|
|
165
|
-
class="selector-trigger"
|
|
166
|
-
>
|
|
167
|
-
<ion-icon *ngIf="props.icon" [name]="props.icon" slot="start"> </ion-icon>
|
|
168
|
-
|
|
169
|
-
<span class="trigger-text">{{ getDisplayText() }}</span>
|
|
170
|
-
|
|
171
|
-
<ion-icon name="chevron-down-outline" slot="end" class="chevron-icon"> </ion-icon>
|
|
172
|
-
</ion-button>
|
|
173
|
-
|
|
174
|
-
<ion-select-option *ngFor="let option of props.options" [value]="option.value" [disabled]="option.disabled">
|
|
175
|
-
<div class="option-content">
|
|
176
|
-
<ion-icon *ngIf="option.icon" [name]="option.icon" class="option-icon"> </ion-icon>
|
|
177
|
-
<span>{{ option.label }}</span>
|
|
178
|
-
</div>
|
|
179
|
-
</ion-select-option>
|
|
180
|
-
</ion-select>
|
|
181
|
-
</div>
|
|
182
|
-
`, 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)}.popover-selector-container{display:inline-block;width:auto}.popover-selector-container .selector-label{display:block;margin-bottom:8px;font-weight:600;color:var(--ion-color-dark, #1a1a1a)}.popover-selector-select{display:inline-block;width:auto}.popover-selector-select .selector-trigger{--background: transparent;--background-hover: transparent;--background-activated: transparent;--background-focused: transparent;--box-shadow: none;--border-radius: 24px;display:inline-flex;align-items:center;min-width:auto;width:auto;height:auto;min-height:40px;padding:10px 16px;margin:0;background:var(--ion-color-light, #f8f9fa);border:none;border-radius:24px;box-shadow:0 2px 8px #00000014;transition:all .2s ease}.popover-selector-select .selector-trigger:hover:not([disabled]){background:var(--ion-color-light-shade, #e9ecef);transform:translateY(-1px);box-shadow:0 4px 12px #0000001f}.popover-selector-select .selector-trigger:active{transform:translateY(0);box-shadow:0 2px 6px #00000026}.popover-selector-select .selector-trigger:focus-visible{outline:2px solid var(--ion-color-primary, #3880ff);outline-offset:2px}.popover-selector-select .selector-trigger .trigger-text{display:inline-block;margin:0 8px 0 0;font-weight:600;font-size:14px;color:var(--ion-color-dark, #1a1a1a);white-space:nowrap;line-height:1.4}.popover-selector-select .selector-trigger .chevron-icon{font-size:16px;color:var(--ion-color-medium, #92949c);transition:transform .2s ease;margin-left:4px}.popover-selector-select .selector-trigger ion-icon[slot=start]{margin-right:8px;font-size:16px;color:var(--ion-color-medium-shade, #808289)}.popover-selector-select .selector-trigger.select-expanded{background:var(--ion-color-light-shade, #e9ecef)}.popover-selector-select .selector-trigger.select-expanded .chevron-icon{transform:rotate(180deg);color:var(--ion-color-primary, #3880ff)}.popover-selector-select .selector-trigger[disabled]{opacity:.6;pointer-events:none;background:var(--ion-color-light-tint, #f4f5f8);box-shadow:none;transform:none}.option-content{display:flex;align-items:center;gap:12px;padding:6px 0}.option-content .option-icon{font-size:18px;width:18px;height:18px;opacity:.8;color:var(--ion-color-medium-shade, #808289)}.option-content span{font-weight:500;color:var(--ion-color-dark, #1a1a1a);line-height:1.4}.popover-selector-container.size-small .selector-trigger{min-height:32px;padding:6px 12px;border-radius:18px}.popover-selector-container.size-small .selector-trigger .trigger-text{font-size:12px}.popover-selector-container.size-small .selector-trigger .chevron-icon,.popover-selector-container.size-small .selector-trigger ion-icon[slot=start]{font-size:14px}.popover-selector-container.size-large .selector-trigger{min-height:48px;padding:14px 20px;border-radius:28px}.popover-selector-container.size-large .selector-trigger .trigger-text{font-size:16px}.popover-selector-container.size-large .selector-trigger .chevron-icon,.popover-selector-container.size-large .selector-trigger ion-icon[slot=start]{font-size:18px}@media (max-width: 768px){.popover-selector-container .selector-trigger{min-height:38px;padding:9px 14px}.popover-selector-container .selector-trigger .trigger-text{font-size:13px}}@media (prefers-color-scheme: dark){.popover-selector-container .selector-label{color:var(--ion-color-light, #f4f5f8)}.popover-selector-container .selector-trigger{background:var(--ion-color-dark-tint, #383a3e)}.popover-selector-container .selector-trigger:hover:not([disabled]){background:var(--ion-color-dark-shade, #2f2f2f)}.popover-selector-container .selector-trigger .trigger-text{color:var(--ion-color-light, #f4f5f8)}.popover-selector-container .selector-trigger .chevron-icon,.popover-selector-container .selector-trigger ion-icon[slot=start]{color:var(--ion-color-light-shade, #d7d8da)}.popover-selector-container .selector-trigger.select-expanded{background:var(--ion-color-dark-shade, #2f2f2f)}}ion-select{border-radius:8px;padding:.625rem;border:.125rem solid var(--ion-color-light)!important}\n"] }]
|
|
183
|
-
}], ctorParameters: () => [], propDecorators: { props: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}], selectionChange: [{
|
|
186
|
-
type: Output
|
|
187
|
-
}] } });
|
|
188
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci1zZWxlY3Rvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbW9sZWN1bGVzL3BvcG92ZXItc2VsZWN0b3IvcG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