@testgorilla/tgo-ui 2.9.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +112 -0
- package/.editorconfig +16 -0
- package/.eslintignore +5 -0
- package/.eslintrc.js +301 -0
- package/.github/README.md +81 -0
- package/.husky/pre-commit +4 -0
- package/.prettierignore +2 -0
- package/.prettierrc +13 -0
- package/.storybook/main.js +25 -0
- package/.storybook/preview-head.html +10 -0
- package/.storybook/preview.js +107 -0
- package/.storybook/tsconfig.json +24 -0
- package/.storybook/typings.d.ts +4 -0
- package/.stylelintrc.json +30 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/CHANGELOG.md +123 -0
- package/README.md +39 -0
- package/angular.json +164 -0
- package/e2e/bannerAction.spec.ts +46 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts +53 -0
- package/e2e/button.spec.ts-snapshots/id-button--basic-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-as-link-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-only-label-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--disabled-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--full-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-left-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-right-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--loading-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-cell-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-trigger-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--only-icon-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--small-chromium-linux.png +0 -0
- package/e2e/card.spec.ts +43 -0
- package/e2e/card.spec.ts-snapshots/id-card--default-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts +47 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--greysacale-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-error-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-petrol-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-teal-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-warning-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--secondary-colors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts +102 -0
- package/e2e/createAccount.spec.ts-snapshots/id-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/id-deprecated-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-errors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts +94 -0
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-deprecated-create-password--default-chromium-linux.png +0 -0
- package/e2e/dialog.spec.ts +43 -0
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-darwin.png +0 -0
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-linux.png +0 -0
- package/e2e/field.spec.ts +51 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--email-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--number-type-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--password-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--search-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--tel-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--text-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-disable-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-errors-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-require-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--without-label-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts +94 -0
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-deprecated-forgot-password--default-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-chromium-linux.png +0 -0
- package/e2e/label.spec.ts +47 -0
- package/e2e/label.spec.ts-snapshots/id-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--small-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--small-chromium-linux.png +0 -0
- package/e2e/login.spec.ts +102 -0
- package/e2e/login.spec.ts-snapshots/id-deprecated-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/id-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-errors-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-texts-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts +45 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--default-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--powered-by-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--reverse-chromium-linux.png +0 -0
- package/e2e/navbar.spec.ts +42 -0
- package/e2e/navbar.spec.ts-snapshots/id-navbar--default-chromium-linux.png +0 -0
- package/e2e/navigation.spec.ts +43 -0
- package/e2e/navigation.spec.ts-snapshots/id-navigation--default-chromium-linux.png +0 -0
- package/e2e/paginator.spec.ts +42 -0
- package/e2e/paginator.spec.ts-snapshots/id-paginator--default-chromium-linux.png +0 -0
- package/e2e/progressBar.spec.ts +42 -0
- package/e2e/progressBar.spec.ts-snapshots/id-progressbar--determinate-chromium-linux.png +0 -0
- package/e2e/table.spec.ts +47 -0
- package/e2e/table.spec.ts-snapshots/id-deprecated-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-linux.png +0 -0
- package/e2e/typography.spec.ts +42 -0
- package/e2e/typography.spec.ts-snapshots/id-foundations-typography--page-args-viewMode-story-chromium-linux.png +0 -0
- package/globalSetup.js +9 -0
- package/jest.config.js +69 -0
- package/ng-package.json +9 -0
- package/package.json +68 -17
- package/projects/client/src/app/app.component.html +1 -0
- package/projects/client/src/app/app.component.scss +8 -0
- package/projects/client/src/app/app.component.spec.ts +27 -0
- package/projects/client/src/app/app.component.ts +37 -0
- package/projects/client/src/app/app.routes.ts +8 -0
- package/projects/client/src/app/components/avatar/avatar.component.html +10 -0
- package/projects/client/src/app/components/avatar/avatar.component.scss +0 -0
- package/projects/client/src/app/components/avatar/avatar.component.ts +25 -0
- package/projects/client/src/assets/.gitkeep +0 -0
- package/projects/client/src/favicon.ico +0 -0
- package/projects/client/src/index.html +13 -0
- package/projects/client/src/main.ts +15 -0
- package/projects/client/src/styles.scss +10 -0
- package/projects/client/tsconfig.app.json +14 -0
- package/projects/client/tsconfig.spec.json +14 -0
- package/projects/tgo-canopy-ui/__mocks__/alert-bar.mock.ts +18 -0
- package/projects/tgo-canopy-ui/__mocks__/button.mock.ts +34 -0
- package/projects/tgo-canopy-ui/__mocks__/field.mock.ts +10 -0
- package/projects/tgo-canopy-ui/__mocks__/icon.mock.ts +14 -0
- package/projects/tgo-canopy-ui/__mocks__/tag.mock.ts +9 -0
- package/projects/tgo-canopy-ui/assets/.gitkeep +0 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.html +35 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +26 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +284 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.spec.ts +37 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.stories.ts +176 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +97 -0
- package/projects/tgo-canopy-ui/components/alert-banner/__snapshots__/alert-banner.component.spec.ts.snap +42 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +22 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +39 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +177 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +100 -0
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +130 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +198 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +40 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +283 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +238 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +135 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +519 -0
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +22 -0
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +33 -0
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +15 -0
- package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +21 -0
- package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +24 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +23 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +14 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +75 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +39 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +111 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +76 -0
- package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +13 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.html +10 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.scss +147 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +57 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +61 -0
- package/projects/tgo-canopy-ui/components/badge/badge.component.ts +99 -0
- package/projects/tgo-canopy-ui/components/badge/badge.model.ts +40 -0
- package/projects/tgo-canopy-ui/components/button/__snapshots__/button.component.spec.ts.snap +64 -0
- package/projects/tgo-canopy-ui/components/button/button.component.html +80 -0
- package/projects/tgo-canopy-ui/components/button/button.component.module.ts +23 -0
- package/projects/tgo-canopy-ui/components/button/button.component.scss +1012 -0
- package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +274 -0
- package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +455 -0
- package/projects/tgo-canopy-ui/components/button/button.component.ts +393 -0
- package/projects/tgo-canopy-ui/components/button/button.model.ts +28 -0
- package/projects/tgo-canopy-ui/components/card/card.component.html +9 -0
- package/projects/tgo-canopy-ui/components/card/card.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/card/card.component.scss +91 -0
- package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +76 -0
- package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +88 -0
- package/projects/tgo-canopy-ui/components/card/card.component.ts +72 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +23 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +17 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +221 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +191 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +122 -0
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +233 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +16 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.module.ts +18 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.scss +3 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.spec.ts +42 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.ts +43 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +10 -0
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +37 -0
- package/projects/tgo-canopy-ui/components/datepicker/__snapshots__/datepicker.component.spec.ts.snap +56 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.html +98 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.module.ts +33 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.scss +195 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.spec.ts +249 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +138 -0
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +358 -0
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.spec.ts +35 -0
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.ts +43 -0
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.html +5 -0
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.scss +32 -0
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.stories.ts +31 -0
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.ts +54 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.html +113 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.module.ts +25 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.scss +188 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.stories.ts +620 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.ts +160 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.model.ts +51 -0
- package/projects/tgo-canopy-ui/components/deprecated-table/directives/dynamic-component.directive.ts +41 -0
- package/projects/tgo-canopy-ui/components/dialog/__snapshots__/dialog.component.spec.ts.snap +51 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.html +41 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.module.ts +15 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.scss +133 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.spec.ts +230 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +60 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +184 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +55 -0
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +33 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/__snapshots__/dialog-custom.component.spec.ts.snap +28 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.html +38 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.mdx +38 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.spec.ts +56 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.stories.ts +27 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.ts +45 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/__snapshots__/dialog-demo.component.spec.ts.snap +21 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +4 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.mdx +28 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.module.ts +15 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.scss +12 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.spec.ts +58 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.stories.ts +30 -0
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.ts +33 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.html +13 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.scss +57 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.spec.ts +21 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.stories.ts +48 -0
- package/projects/tgo-canopy-ui/components/divider/divider.component.ts +54 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.html +43 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.module.ts +31 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.scss +237 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +104 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +213 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +250 -0
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.model.ts +5 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.html +3 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.module.ts +10 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.scss +41 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.spec.ts +39 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.stories.ts +59 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.ts +38 -0
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.constant.ts +9 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.html +25 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.module.ts +13 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.scss +70 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +80 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +159 -0
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +174 -0
- package/projects/tgo-canopy-ui/components/field/__snapshots__/field.component.spec.ts.snap +55 -0
- package/projects/tgo-canopy-ui/components/field/field.component.html +105 -0
- package/projects/tgo-canopy-ui/components/field/field.component.module.ts +32 -0
- package/projects/tgo-canopy-ui/components/field/field.component.scss +492 -0
- package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +268 -0
- package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +212 -0
- package/projects/tgo-canopy-ui/components/field/field.component.ts +430 -0
- package/projects/tgo-canopy-ui/components/field/field.model.ts +11 -0
- package/projects/tgo-canopy-ui/components/file-upload/__snapshots__/file-upload.component.spec.ts.snap +59 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +94 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.module.ts +23 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.scss +182 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +142 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.stories.ts +96 -0
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.ts +284 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.html +32 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.module.ts +14 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.scss +23 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.spec.ts +111 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.stories.ts +28 -0
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.ts +74 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +41 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +210 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +34 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.scss +59 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.spec.ts +127 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +217 -0
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +6 -0
- package/projects/tgo-canopy-ui/components/icon/__snapshots__/icon.component.spec.ts.snap +20 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.html +1 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +13 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.scss +66 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +150 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +68 -0
- package/projects/tgo-canopy-ui/components/icon/icon.component.ts +147 -0
- package/projects/tgo-canopy-ui/components/icon/icon.config.ts +658 -0
- package/projects/tgo-canopy-ui/components/icon/icon.model.ts +8 -0
- package/projects/tgo-canopy-ui/components/icon-label/__snapshots__/icon-label.component.spec.ts.snap +15 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.html +2 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.scss +8 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.spec.ts +64 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.stories.ts +48 -0
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.ts +53 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/__snapshots__/icons-showcase.component.spec.ts.snap +3487 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.html +17 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.scss +25 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.spec.ts +40 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.stories.ts +44 -0
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.ts +43 -0
- package/projects/tgo-canopy-ui/components/login/login.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.html +14 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.module.ts +10 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.scss +13 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.spec.ts +162 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +55 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.ts +148 -0
- package/projects/tgo-canopy-ui/components/logo/logo.model.ts +30 -0
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +36 -0
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +70 -0
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.spec.ts +58 -0
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.ts +58 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +62 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +36 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +240 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +136 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +134 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +206 -0
- package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +12 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/__snapshots__/overflow-menu.component.spec.ts.snap +28 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +47 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +13 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +98 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +124 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +58 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +88 -0
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +11 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +35 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.scss +61 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +34 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.stories.ts +56 -0
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.ts +64 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +10 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.scss +159 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.spec.ts +29 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +36 -0
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +67 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +31 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.module.ts +22 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.scss +56 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.spec.ts +45 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.stories.ts +49 -0
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.ts +106 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.html +19 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.module.ts +13 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.scss +54 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.spec.ts +40 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.stories.ts +50 -0
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.ts +98 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.html +2 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.spec.ts +28 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.stories.ts +40 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.ts +20 -0
- package/projects/tgo-canopy-ui/components/phone-input/join-string.pipe.spec.ts +9 -0
- package/projects/tgo-canopy-ui/components/phone-input/join-strings.pipe.ts +8 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.html +64 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.module.ts +35 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.scss +133 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.spec.ts +212 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.stories.ts +89 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.ts +427 -0
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.model.ts +8 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.html +9 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +152 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.spec.ts +76 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.stories.ts +48 -0
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +82 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.html +26 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.scss +41 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.spec.ts +102 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.stories.ts +69 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.ts +114 -0
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.model.ts +13 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.html +16 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +13 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +175 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +141 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +126 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +190 -0
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +4 -0
- package/projects/tgo-canopy-ui/components/rating/__snapshots__/rating.component.spec.ts.snap +47 -0
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.spec.ts +33 -0
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.ts +17 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.html +31 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.scss +139 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.spec.ts +142 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.stories.ts +87 -0
- package/projects/tgo-canopy-ui/components/rating/rating.component.ts +97 -0
- package/projects/tgo-canopy-ui/components/scale/__snapshots__/scale.component.spec.ts.snap +42 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.html +7 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.scss +71 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +125 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +60 -0
- package/projects/tgo-canopy-ui/components/scale/scale.component.ts +57 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +16 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +86 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +69 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +98 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +69 -0
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +8 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +11 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +22 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +44 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +50 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +48 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +54 -0
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +7 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.html +37 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.module.ts +24 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.scss +97 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +176 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +110 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.model.ts +12 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.spec.ts +88 -0
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.ts +28 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.html +5 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.scss +14 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.spec.ts +26 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.stories.ts +54 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.ts +98 -0
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.module.ts +12 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.html +5 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.spec.ts +75 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.stories.ts +47 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.ts +66 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.model.ts +3 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.html +75 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +24 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.scss +223 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +103 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +87 -0
- package/projects/tgo-canopy-ui/components/slider/slider.component.ts +185 -0
- package/projects/tgo-canopy-ui/components/slider/slider.model.ts +4 -0
- package/projects/tgo-canopy-ui/components/snackbar/__snapshots__/snackbar.component.spec.ts.snap +44 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +33 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +16 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +45 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +214 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +159 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +196 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +52 -0
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +37 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +6 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +75 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +82 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +46 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +59 -0
- package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +10 -0
- package/projects/tgo-canopy-ui/components/step/step.component.html +100 -0
- package/projects/tgo-canopy-ui/components/step/step.component.module.ts +11 -0
- package/projects/tgo-canopy-ui/components/step/step.component.scss +315 -0
- package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +61 -0
- package/projects/tgo-canopy-ui/components/step/step.component.ts +134 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +79 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +25 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +144 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +64 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +84 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +118 -0
- package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +10 -0
- package/projects/tgo-canopy-ui/components/table/sentence-case.pipe.ts +13 -0
- package/projects/tgo-canopy-ui/components/table/sentence-case.spec.ts +53 -0
- package/projects/tgo-canopy-ui/components/table/table.component.html +290 -0
- package/projects/tgo-canopy-ui/components/table/table.component.module.ts +33 -0
- package/projects/tgo-canopy-ui/components/table/table.component.scss +201 -0
- package/projects/tgo-canopy-ui/components/table/table.component.spec.ts +187 -0
- package/projects/tgo-canopy-ui/components/table/table.component.stories.ts +425 -0
- package/projects/tgo-canopy-ui/components/table/table.component.ts +235 -0
- package/projects/tgo-canopy-ui/components/table/table.model.ts +103 -0
- package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +33 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +19 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +22 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +234 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +85 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +73 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +79 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.directive.spec.ts +90 -0
- package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +11 -0
- package/projects/tgo-canopy-ui/components/tag/__snapshots__/tag.component.spec.ts.snap +42 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.html +26 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +15 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.scss +161 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +193 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +125 -0
- package/projects/tgo-canopy-ui/components/tag/tag.component.ts +213 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +24 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +14 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +202 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +197 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +97 -0
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +179 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +9 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +10 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.spec.ts +53 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.stories.ts +235 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +81 -0
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +6 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +29 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.spec.ts +75 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.ts +53 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.module.ts +12 -0
- package/projects/tgo-canopy-ui/directives/digits-only.directive.spec.ts +121 -0
- package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +42 -0
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.spec.ts +84 -0
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.ts +39 -0
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +57 -0
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +27 -0
- package/projects/tgo-canopy-ui/directives/select-text.directive.spec.ts +54 -0
- package/projects/tgo-canopy-ui/directives/select-text.directive.ts +37 -0
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.spec.ts +59 -0
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.ts +31 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.html +4 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.module.ts +10 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.scss +318 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.spec.ts +47 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.ts +22 -0
- package/projects/tgo-canopy-ui/foundations/colors/colors.stories.ts +426 -0
- package/projects/tgo-canopy-ui/foundations/typography/typography.stories.ts +195 -0
- package/projects/tgo-canopy-ui/mocked-assets/images/some_progress.svg +4 -0
- package/projects/tgo-canopy-ui/models/colors.model.ts +88 -0
- package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +4 -0
- package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +42 -0
- package/projects/tgo-canopy-ui/pipes/data-property-getter.ts +31 -0
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.spec.ts +32 -0
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.ts +20 -0
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.spec.ts +44 -0
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.ts +18 -0
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +45 -0
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +71 -0
- package/projects/tgo-canopy-ui/polyfills.ts +51 -0
- package/projects/tgo-canopy-ui/providers/is-mobile.ts +11 -0
- package/projects/tgo-canopy-ui/public-api.ts +184 -0
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.spec.ts +57 -0
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.ts +28 -0
- package/projects/tgo-canopy-ui/test-utils/mock-file.spec.ts +44 -0
- package/projects/tgo-canopy-ui/test-utils/mock-file.ts +24 -0
- package/projects/tgo-canopy-ui/test.ts +20 -0
- package/projects/tgo-canopy-ui/theme/_variables.scss +1 -0
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.spec.ts +47 -0
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.ts +36 -0
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +68 -0
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +66 -0
- package/projects/tgo-canopy-ui/utils/color-contrast.spec.ts +46 -0
- package/projects/tgo-canopy-ui/utils/color-contrast.ts +135 -0
- package/projects/tgo-canopy-ui/utils/localization/language.model.ts +14 -0
- package/projects/tgo-canopy-ui/utils/localization/language.service.mocks.ts +6 -0
- package/projects/tgo-canopy-ui/utils/localization/language.service.spec.ts +25 -0
- package/projects/tgo-canopy-ui/utils/localization/language.service.ts +32 -0
- package/projects/tgo-canopy-ui/utils/table.utils.spec.ts +47 -0
- package/projects/tgo-canopy-ui/utils/table.utils.ts +22 -0
- package/projects/tgo-canopy-ui/utils/transform-theme.ts +9 -0
- package/projects/tgo-canopy-ui/utils/transform.theme.spec.ts +16 -0
- package/projects/tgo-canopy-ui/utils/validators.utils.spec.ts +16 -0
- package/projects/tgo-canopy-ui/utils/validators.utils.ts +9 -0
- package/setupJest.ts +1 -0
- package/transloco.config.js +5 -0
- package/tsconfig.json +46 -0
- package/tsconfig.spec.json +17 -0
- package/tsconfig.ui.json +24 -0
- package/tsconfig.ui.prod.json +10 -0
- package/visual-tests/component-page-objects/avatar-component.ts +30 -0
- package/visual-tests/component-page-objects/base-component.ts +44 -0
- package/visual-tests/component-tests/avatar.spec.ts +32 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-allow-edit-for-the-avatar-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/playwright.config.ts +45 -0
- package/visual-tests/runConfig.ts +1 -0
- package/components/accordion/accordion.component.d.ts +0 -76
- package/components/accordion/accordion.component.module.d.ts +0 -12
- package/components/alert-banner/alert-banner.component.d.ts +0 -89
- package/components/alert-banner/alert-banner.component.module.d.ts +0 -10
- package/components/autocomplete/autocomplete.component.d.ts +0 -208
- package/components/autocomplete/autocomplete.component.module.d.ts +0 -21
- package/components/autocomplete/autocomplete.model.d.ts +0 -18
- package/components/autocomplete/includes.pipe.d.ts +0 -12
- package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
- package/components/avatar/avatar.component.d.ts +0 -58
- package/components/avatar/avatar.component.module.d.ts +0 -12
- package/components/avatar/avatar.model.d.ts +0 -7
- package/components/badge/badge.component.d.ts +0 -58
- package/components/badge/badge.component.module.d.ts +0 -9
- package/components/badge/badge.model.d.ts +0 -27
- package/components/button/button.component.d.ts +0 -190
- package/components/button/button.component.module.d.ts +0 -13
- package/components/button/button.model.d.ts +0 -14
- package/components/card/card.component.d.ts +0 -46
- package/components/card/card.component.module.d.ts +0 -9
- package/components/checkbox/checkbox.component.d.ts +0 -147
- package/components/checkbox/checkbox.component.module.d.ts +0 -15
- package/components/confirm-dialog/confirm-dialog.component.d.ts +0 -25
- package/components/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
- package/components/confirm-dialog/confirm-dialog.model.d.ts +0 -9
- package/components/datepicker/datepicker.component.d.ts +0 -205
- package/components/datepicker/datepicker.component.module.d.ts +0 -18
- package/components/datepicker/no-date-format.directive.d.ts +0 -11
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -38
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
- package/components/deprecated-table/deprecated-table.component.d.ts +0 -91
- package/components/deprecated-table/deprecated-table.component.module.d.ts +0 -14
- package/components/deprecated-table/deprecated-table.model.d.ts +0 -45
- package/components/deprecated-table/directives/dynamic-component.directive.d.ts +0 -13
- package/components/dialog/dialog.component.d.ts +0 -108
- package/components/dialog/dialog.component.module.d.ts +0 -11
- package/components/dialog/dialog.service.d.ts +0 -13
- package/components/divider/divider.component.d.ts +0 -39
- package/components/divider/divider.component.module.d.ts +0 -9
- package/components/dropdown/dropdown.component.d.ts +0 -157
- package/components/dropdown/dropdown.component.module.d.ts +0 -17
- package/components/dropdown/dropdown.model.d.ts +0 -5
- package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
- package/components/empty-state/empty-state.component.d.ts +0 -124
- package/components/empty-state/empty-state.component.module.d.ts +0 -11
- package/components/field/field.component.d.ts +0 -238
- package/components/field/field.component.module.d.ts +0 -18
- package/components/field/field.model.d.ts +0 -1
- package/components/file-upload/file-upload.component.d.ts +0 -124
- package/components/file-upload/file-upload.component.module.d.ts +0 -14
- package/components/icon/icon.component.d.ts +0 -65
- package/components/icon/icon.component.module.d.ts +0 -10
- package/components/icon/icon.config.d.ts +0 -10
- package/components/icon/icon.model.d.ts +0 -7
- package/components/icon-label/icon-label.component.d.ts +0 -39
- package/components/icon-label/icon-label.component.module.d.ts +0 -9
- package/components/logo/logo.component.d.ts +0 -57
- package/components/logo/logo.component.module.d.ts +0 -8
- package/components/logo/logo.model.d.ts +0 -29
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -22
- package/components/navbar/navbar.component.d.ts +0 -113
- package/components/navbar/navbar.component.module.d.ts +0 -20
- package/components/navbar/navbar.model.d.ts +0 -10
- package/components/overflow-menu/overflow-menu.component.d.ts +0 -55
- package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -11
- package/components/overflow-menu/overflow-menu.model.d.ts +0 -10
- package/components/page-header/page-header.component.d.ts +0 -45
- package/components/page-header/page-header.component.module.d.ts +0 -10
- package/components/paginator/paginator.component.d.ts +0 -49
- package/components/paginator/paginator.component.module.d.ts +0 -9
- package/components/password-criteria/password.component.d.ts +0 -49
- package/components/password-criteria/password.component.module.d.ts +0 -13
- package/components/password-strength/password-strength.component.d.ts +0 -52
- package/components/password-strength/password-strength.component.module.d.ts +0 -11
- package/components/phone-input/join-strings.pipe.d.ts +0 -7
- package/components/phone-input/phone-input.component.d.ts +0 -154
- package/components/phone-input/phone-input.component.module.d.ts +0 -20
- package/components/phone-input/phone-input.model.d.ts +0 -8
- package/components/progress-bar/progress-bar.component.d.ts +0 -52
- package/components/progress-bar/progress-bar.component.module.d.ts +0 -9
- package/components/radial-progress/radial-progress.component.d.ts +0 -68
- package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
- package/components/radial-progress/radial-progress.model.d.ts +0 -10
- package/components/radio-button/radio-button.component.d.ts +0 -116
- package/components/radio-button/radio-button.component.module.d.ts +0 -11
- package/components/radio-button/radio-button.model.d.ts +0 -4
- package/components/rating/half-star.pipe.d.ts +0 -14
- package/components/rating/rating.component.d.ts +0 -64
- package/components/rating/rating.component.module.d.ts +0 -10
- package/components/scale/scale.component.d.ts +0 -34
- package/components/scale/scale.component.module.d.ts +0 -8
- package/components/segmented-bar/segmented-bar.component.d.ts +0 -54
- package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -10
- package/components/segmented-bar/segmented-bar.model.d.ts +0 -7
- package/components/segmented-button/segmented-button.component.d.ts +0 -23
- package/components/segmented-button/segmented-button.component.module.d.ts +0 -10
- package/components/segmented-button/segmented-button.model.d.ts +0 -6
- package/components/side-sheet/side-sheet.component.d.ts +0 -49
- package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
- package/components/side-sheet/side-sheet.model.d.ts +0 -10
- package/components/side-sheet/side-sheet.service.d.ts +0 -14
- package/components/skeleton/skeleton.component.d.ts +0 -26
- package/components/skeleton/skeleton.model.d.ts +0 -2
- package/components/slider/slider.component.d.ts +0 -103
- package/components/slider/slider.component.module.d.ts +0 -14
- package/components/slider/slider.model.d.ts +0 -4
- package/components/snackbar/snackbar.component.d.ts +0 -111
- package/components/snackbar/snackbar.component.module.d.ts +0 -12
- package/components/snackbar/snackbar.service.d.ts +0 -12
- package/components/spinner/spinner.component.d.ts +0 -38
- package/components/spinner/spinner.module.d.ts +0 -8
- package/components/step/step.component.d.ts +0 -104
- package/components/step/step.component.module.d.ts +0 -9
- package/components/stepper/stepper.component.d.ts +0 -76
- package/components/stepper/stepper.component.module.d.ts +0 -15
- package/components/stepper/stepper.model.d.ts +0 -9
- package/components/table/sentence-case.pipe.d.ts +0 -7
- package/components/table/table.component.d.ts +0 -86
- package/components/table/table.component.module.d.ts +0 -19
- package/components/table/table.model.d.ts +0 -87
- package/components/tabs/tab.directive.d.ts +0 -18
- package/components/tabs/tabs.component.d.ts +0 -59
- package/components/tabs/tabs.component.module.d.ts +0 -11
- package/components/tabs/tabs.model.d.ts +0 -9
- package/components/tag/tag.component.d.ts +0 -129
- package/components/tag/tag.component.module.d.ts +0 -12
- package/components/toggle/toggle.component.d.ts +0 -99
- package/components/toggle/toggle.component.module.d.ts +0 -12
- package/components/tooltip/tooltip.component.d.ts +0 -44
- package/components/tooltip/tooltip.component.module.d.ts +0 -8
- package/components/tooltip/tooltip.model.d.ts +0 -6
- package/components/validation-error/validation-error.component.d.ts +0 -27
- package/components/validation-error/validation-error.module.d.ts +0 -10
- package/directives/digits-only.directive.d.ts +0 -15
- package/directives/drag-drop.directive.d.ts +0 -12
- package/directives/ellipse-text.directive.d.ts +0 -16
- package/directives/select-text.directive.d.ts +0 -19
- package/directives/step-line-width.directive.d.ts +0 -15
- package/esm2022/assets/i18n/da-dk.json +0 -77
- package/esm2022/assets/i18n/de.json +0 -77
- package/esm2022/assets/i18n/en.json +0 -100
- package/esm2022/assets/i18n/es.json +0 -77
- package/esm2022/assets/i18n/fr.json +0 -77
- package/esm2022/assets/i18n/it-it.json +0 -77
- package/esm2022/assets/i18n/ja-jp.json +0 -77
- package/esm2022/assets/i18n/nb-no.json +0 -77
- package/esm2022/assets/i18n/nl.json +0 -77
- package/esm2022/assets/i18n/pl-pl.json +0 -77
- package/esm2022/assets/i18n/pt-br.json +0 -77
- package/esm2022/assets/i18n/sv-se.json +0 -77
- package/esm2022/components/accordion/accordion.component.mjs +0 -105
- package/esm2022/components/accordion/accordion.component.module.mjs +0 -40
- package/esm2022/components/accordion/accordion.model.mjs +0 -2
- package/esm2022/components/alert-banner/alert-banner.component.mjs +0 -127
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +0 -20
- package/esm2022/components/alert-banner/alert-banner.model.mjs +0 -2
- package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -496
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +0 -62
- package/esm2022/components/autocomplete/autocomplete.model.mjs +0 -22
- package/esm2022/components/autocomplete/includes.pipe.mjs +0 -21
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +0 -29
- package/esm2022/components/avatar/avatar.component.mjs +0 -91
- package/esm2022/components/avatar/avatar.component.module.mjs +0 -22
- package/esm2022/components/avatar/avatar.model.mjs +0 -12
- package/esm2022/components/badge/badge.component.mjs +0 -102
- package/esm2022/components/badge/badge.component.module.mjs +0 -19
- package/esm2022/components/badge/badge.model.mjs +0 -28
- package/esm2022/components/button/button.component.mjs +0 -352
- package/esm2022/components/button/button.component.module.mjs +0 -41
- package/esm2022/components/button/button.model.mjs +0 -2
- package/esm2022/components/card/card.component.mjs +0 -75
- package/esm2022/components/card/card.component.module.mjs +0 -19
- package/esm2022/components/card/card.model.mjs +0 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +0 -228
- package/esm2022/components/checkbox/checkbox.component.module.mjs +0 -25
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +0 -48
- package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +0 -29
- package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +0 -2
- package/esm2022/components/datepicker/datepicker.component.mjs +0 -302
- package/esm2022/components/datepicker/datepicker.component.module.mjs +0 -60
- package/esm2022/components/datepicker/no-date-format.directive.mjs +0 -56
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +0 -55
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +0 -20
- package/esm2022/components/deprecated-table/deprecated-table.component.mjs +0 -158
- package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +0 -43
- package/esm2022/components/deprecated-table/deprecated-table.model.mjs +0 -13
- package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +0 -40
- package/esm2022/components/dialog/dialog.component.mjs +0 -193
- package/esm2022/components/dialog/dialog.component.module.mjs +0 -23
- package/esm2022/components/dialog/dialog.service.mjs +0 -32
- package/esm2022/components/divider/divider.component.mjs +0 -65
- package/esm2022/components/divider/divider.component.module.mjs +0 -19
- package/esm2022/components/divider/divider.model.mjs +0 -2
- package/esm2022/components/dropdown/dropdown.component.mjs +0 -228
- package/esm2022/components/dropdown/dropdown.component.module.mjs +0 -57
- package/esm2022/components/dropdown/dropdown.model.mjs +0 -2
- package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +0 -45
- package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +0 -18
- package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +0 -9
- package/esm2022/components/empty-state/empty-state.component.mjs +0 -195
- package/esm2022/components/empty-state/empty-state.component.module.mjs +0 -21
- package/esm2022/components/empty-state/empty-state.model.mjs +0 -2
- package/esm2022/components/field/field.component.mjs +0 -409
- package/esm2022/components/field/field.component.module.mjs +0 -58
- package/esm2022/components/field/field.model.mjs +0 -2
- package/esm2022/components/file-upload/file-upload.component.mjs +0 -270
- package/esm2022/components/file-upload/file-upload.component.module.mjs +0 -40
- package/esm2022/components/icon/icon.component.mjs +0 -127
- package/esm2022/components/icon/icon.component.module.mjs +0 -21
- package/esm2022/components/icon/icon.config.mjs +0 -657
- package/esm2022/components/icon/icon.model.mjs +0 -2
- package/esm2022/components/icon-label/icon-label.component.mjs +0 -53
- package/esm2022/components/icon-label/icon-label.component.module.mjs +0 -20
- package/esm2022/components/logo/logo.component.mjs +0 -149
- package/esm2022/components/logo/logo.component.module.mjs +0 -18
- package/esm2022/components/logo/logo.model.mjs +0 -32
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +0 -75
- package/esm2022/components/navbar/navbar.component.mjs +0 -200
- package/esm2022/components/navbar/navbar.component.module.mjs +0 -67
- package/esm2022/components/navbar/navbar.model.mjs +0 -2
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +0 -73
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +0 -21
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +0 -2
- package/esm2022/components/page-header/page-header.component.mjs +0 -81
- package/esm2022/components/page-header/page-header.component.module.mjs +0 -20
- package/esm2022/components/paginator/paginator.component.mjs +0 -76
- package/esm2022/components/paginator/paginator.component.module.mjs +0 -19
- package/esm2022/components/password-criteria/password.component.mjs +0 -115
- package/esm2022/components/password-criteria/password.component.module.mjs +0 -39
- package/esm2022/components/password-strength/password-strength.component.mjs +0 -103
- package/esm2022/components/password-strength/password-strength.component.module.mjs +0 -21
- package/esm2022/components/phone-input/join-strings.pipe.mjs +0 -14
- package/esm2022/components/phone-input/phone-input.component.mjs +0 -363
- package/esm2022/components/phone-input/phone-input.component.module.mjs +0 -63
- package/esm2022/components/phone-input/phone-input.model.mjs +0 -2
- package/esm2022/components/progress-bar/progress-bar.component.mjs +0 -74
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +0 -20
- package/esm2022/components/radial-progress/radial-progress.component.mjs +0 -106
- package/esm2022/components/radial-progress/radial-progress.component.module.mjs +0 -20
- package/esm2022/components/radial-progress/radial-progress.model.mjs +0 -11
- package/esm2022/components/radio-button/radio-button.component.mjs +0 -176
- package/esm2022/components/radio-button/radio-button.component.module.mjs +0 -21
- package/esm2022/components/radio-button/radio-button.model.mjs +0 -2
- package/esm2022/components/rating/half-star.pipe.mjs +0 -23
- package/esm2022/components/rating/rating.component.mjs +0 -92
- package/esm2022/components/rating/rating.component.module.mjs +0 -20
- package/esm2022/components/scale/scale.component.mjs +0 -58
- package/esm2022/components/scale/scale.component.module.mjs +0 -18
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +0 -75
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +0 -20
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +0 -2
- package/esm2022/components/segmented-button/segmented-button.component.mjs +0 -53
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +0 -32
- package/esm2022/components/segmented-button/segmented-button.model.mjs +0 -2
- package/esm2022/components/side-sheet/side-sheet.component.mjs +0 -109
- package/esm2022/components/side-sheet/side-sheet.component.module.mjs +0 -43
- package/esm2022/components/side-sheet/side-sheet.model.mjs +0 -2
- package/esm2022/components/side-sheet/side-sheet.service.mjs +0 -31
- package/esm2022/components/skeleton/skeleton.component.mjs +0 -71
- package/esm2022/components/skeleton/skeleton.model.mjs +0 -2
- package/esm2022/components/slider/slider.component.mjs +0 -191
- package/esm2022/components/slider/slider.component.module.mjs +0 -43
- package/esm2022/components/slider/slider.model.mjs +0 -2
- package/esm2022/components/snackbar/snackbar.component.mjs +0 -208
- package/esm2022/components/snackbar/snackbar.component.module.mjs +0 -24
- package/esm2022/components/snackbar/snackbar.model.mjs +0 -2
- package/esm2022/components/snackbar/snackbar.service.mjs +0 -41
- package/esm2022/components/spinner/spinner.component.mjs +0 -62
- package/esm2022/components/spinner/spinner.model.mjs +0 -2
- package/esm2022/components/spinner/spinner.module.mjs +0 -18
- package/esm2022/components/step/step.component.mjs +0 -110
- package/esm2022/components/step/step.component.module.mjs +0 -19
- package/esm2022/components/stepper/stepper.component.mjs +0 -124
- package/esm2022/components/stepper/stepper.component.module.mjs +0 -44
- package/esm2022/components/stepper/stepper.model.mjs +0 -2
- package/esm2022/components/table/sentence-case.pipe.mjs +0 -19
- package/esm2022/components/table/table.component.mjs +0 -191
- package/esm2022/components/table/table.component.module.mjs +0 -58
- package/esm2022/components/table/table.model.mjs +0 -13
- package/esm2022/components/tabs/tab.directive.mjs +0 -42
- package/esm2022/components/tabs/tabs.component.mjs +0 -99
- package/esm2022/components/tabs/tabs.component.module.mjs +0 -33
- package/esm2022/components/tabs/tabs.model.mjs +0 -2
- package/esm2022/components/tag/tag.component.mjs +0 -201
- package/esm2022/components/tag/tag.component.module.mjs +0 -23
- package/esm2022/components/tag/tag.model.mjs +0 -2
- package/esm2022/components/toggle/toggle.component.mjs +0 -158
- package/esm2022/components/toggle/toggle.component.module.mjs +0 -22
- package/esm2022/components/toggle/toggle.model.mjs +0 -2
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -79
- package/esm2022/components/tooltip/tooltip.component.module.mjs +0 -18
- package/esm2022/components/tooltip/tooltip.model.mjs +0 -8
- package/esm2022/components/validation-error/validation-error.component.mjs +0 -59
- package/esm2022/components/validation-error/validation-error.model.mjs +0 -2
- package/esm2022/components/validation-error/validation-error.module.mjs +0 -20
- package/esm2022/directives/digits-only.directive.mjs +0 -52
- package/esm2022/directives/drag-drop.directive.mjs +0 -55
- package/esm2022/directives/ellipse-text.directive.mjs +0 -37
- package/esm2022/directives/select-text.directive.mjs +0 -41
- package/esm2022/directives/step-line-width.directive.mjs +0 -38
- package/esm2022/models/application-theme.model.mjs +0 -2
- package/esm2022/models/colors.model.mjs +0 -78
- package/esm2022/models/screen-breakpoints.model.mjs +0 -6
- package/esm2022/pipes/data-property-getter.mjs +0 -33
- package/esm2022/pipes/has-validation-error.pipe.mjs +0 -27
- package/esm2022/pipes/name-initials.pipe.mjs +0 -25
- package/esm2022/pipes/ui-translate.pipe.mjs +0 -76
- package/esm2022/providers/is-mobile.mjs +0 -11
- package/esm2022/public-api.mjs +0 -184
- package/esm2022/testgorilla-tgo-ui.mjs +0 -5
- package/esm2022/utils/alert-bar.model.mjs +0 -2
- package/esm2022/utils/alert-bars.utils.mjs +0 -33
- package/esm2022/utils/autocomplete-utils.mjs +0 -61
- package/esm2022/utils/color-contrast.mjs +0 -131
- package/esm2022/utils/localization/language.model.mjs +0 -16
- package/esm2022/utils/localization/language.service.mjs +0 -33
- package/esm2022/utils/table.utils.mjs +0 -19
- package/fesm2022/testgorilla-tgo-ui.mjs +0 -11049
- package/fesm2022/testgorilla-tgo-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/models/colors.model.d.ts +0 -63
- package/models/screen-breakpoints.model.d.ts +0 -4
- package/pipes/data-property-getter.d.ts +0 -8
- package/pipes/has-validation-error.pipe.d.ts +0 -15
- package/pipes/name-initials.pipe.d.ts +0 -7
- package/pipes/ui-translate.pipe.d.ts +0 -28
- package/providers/is-mobile.d.ts +0 -2
- package/public-api.d.ts +0 -130
- package/utils/alert-bars.utils.d.ts +0 -7
- package/utils/autocomplete-utils.d.ts +0 -11
- package/utils/color-contrast.d.ts +0 -28
- package/utils/localization/language.model.d.ts +0 -14
- package/utils/localization/language.service.d.ts +0 -16
- package/utils/table.utils.d.ts +0 -6
- /package/{components/accordion/accordion.model.d.ts → projects/tgo-canopy-ui/components/accordion/accordion.model.ts} +0 -0
- /package/{components/alert-banner/alert-banner.model.d.ts → projects/tgo-canopy-ui/components/alert-banner/alert-banner.model.ts} +0 -0
- /package/{components/card/card.model.d.ts → projects/tgo-canopy-ui/components/card/card.model.ts} +0 -0
- /package/{components/divider/divider.model.d.ts → projects/tgo-canopy-ui/components/divider/divider.model.ts} +0 -0
- /package/{components/empty-state/empty-state.model.d.ts → projects/tgo-canopy-ui/components/empty-state/empty-state.model.ts} +0 -0
- /package/{components/snackbar/snackbar.model.d.ts → projects/tgo-canopy-ui/components/snackbar/snackbar.model.ts} +0 -0
- /package/{components/spinner/spinner.model.d.ts → projects/tgo-canopy-ui/components/spinner/spinner.model.ts} +0 -0
- /package/{components/tag/tag.model.d.ts → projects/tgo-canopy-ui/components/tag/tag.model.ts} +0 -0
- /package/{components/toggle/toggle.model.d.ts → projects/tgo-canopy-ui/components/toggle/toggle.model.ts} +0 -0
- /package/{components/validation-error/validation-error.model.d.ts → projects/tgo-canopy-ui/components/validation-error/validation-error.model.ts} +0 -0
- /package/{models/application-theme.model.d.ts → projects/tgo-canopy-ui/models/application-theme.model.ts} +0 -0
- /package/{utils/alert-bar.model.d.ts → projects/tgo-canopy-ui/utils/alert-bar.model.ts} +0 -0
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-underscore-dangle */
|
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Inject, Input, Optional, Output, Self, ViewEncapsulation, } from '@angular/core';
|
|
3
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
-
import { LanguageService } from '../../utils/localization/language.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/platform-browser";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "@angular/material/form-field";
|
|
10
|
-
import * as i5 from "@angular/material/input";
|
|
11
|
-
import * as i6 from "../icon/icon.component";
|
|
12
|
-
import * as i7 from "@angular/material/datepicker";
|
|
13
|
-
import * as i8 from "./no-date-format.directive";
|
|
14
|
-
import * as i9 from "../validation-error/validation-error.component";
|
|
15
|
-
import * as i10 from "../../pipes/ui-translate.pipe";
|
|
16
|
-
import * as i11 from "../../pipes/has-validation-error.pipe";
|
|
17
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
18
|
-
export class DatepickerComponent {
|
|
19
|
-
/**
|
|
20
|
-
* Input field errors
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof DatepickerComponent
|
|
24
|
-
*/
|
|
25
|
-
set errors(errors) {
|
|
26
|
-
this._errors = errors?.filter(Boolean).map(error => this.sanitizer.bypassSecurityTrustHtml(error));
|
|
27
|
-
this.errorsLength = this.setErrorsLength();
|
|
28
|
-
}
|
|
29
|
-
constructor(defaultAppTheme, cdr, sanitizer, ngControl) {
|
|
30
|
-
this.defaultAppTheme = defaultAppTheme;
|
|
31
|
-
this.cdr = cdr;
|
|
32
|
-
this.sanitizer = sanitizer;
|
|
33
|
-
this.ngControl = ngControl;
|
|
34
|
-
this.class = 'ui-datepicker';
|
|
35
|
-
/**
|
|
36
|
-
* Form field label
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof DatepickerComponent
|
|
40
|
-
*/
|
|
41
|
-
this.label = '';
|
|
42
|
-
/**
|
|
43
|
-
* Input placeholder
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof DatepickerComponent
|
|
47
|
-
*/
|
|
48
|
-
this.placeholder = '';
|
|
49
|
-
/**
|
|
50
|
-
* Input id
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof DatepickerComponent
|
|
54
|
-
*/
|
|
55
|
-
this.id = '';
|
|
56
|
-
/**
|
|
57
|
-
* Input is update only on blur
|
|
58
|
-
*
|
|
59
|
-
* @type {Boolean}
|
|
60
|
-
* @memberof DatepickerComponent
|
|
61
|
-
*/
|
|
62
|
-
this.updateOnBlur = false;
|
|
63
|
-
/**
|
|
64
|
-
* The language to be used
|
|
65
|
-
*
|
|
66
|
-
* @type {Language}
|
|
67
|
-
* @memberof DatepickerComponent
|
|
68
|
-
*/
|
|
69
|
-
this.language = LanguageService.defaultLanguage;
|
|
70
|
-
/**
|
|
71
|
-
* Show reserved content below form field
|
|
72
|
-
*
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof DatepickerComponent
|
|
75
|
-
*/
|
|
76
|
-
this.showBottomContent = true;
|
|
77
|
-
/**
|
|
78
|
-
* Set full width DatepickerComponent
|
|
79
|
-
*
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof DatepickerComponent
|
|
82
|
-
*/
|
|
83
|
-
this.fullWidth = false;
|
|
84
|
-
/**
|
|
85
|
-
* Show and pick date without day
|
|
86
|
-
* @default false
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof DatepickerComponent
|
|
89
|
-
*/
|
|
90
|
-
this.monthPicker = false;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* Defines the application theme
|
|
94
|
-
*
|
|
95
|
-
* @type {ApplicationTheme}
|
|
96
|
-
* @memberof DatepickerComponent
|
|
97
|
-
*/
|
|
98
|
-
this.applicationTheme = 'light';
|
|
99
|
-
/**
|
|
100
|
-
* Hide in-build errors for Reactive Forms
|
|
101
|
-
*
|
|
102
|
-
* @type {number}
|
|
103
|
-
* @memberof DatepickerComponent
|
|
104
|
-
*/
|
|
105
|
-
this.hideBuiltInErrors = false;
|
|
106
|
-
/**
|
|
107
|
-
* Hide label in errors
|
|
108
|
-
*
|
|
109
|
-
* @type {number}
|
|
110
|
-
* @memberof DatepickerComponent
|
|
111
|
-
*/
|
|
112
|
-
this.hideLabelInErrors = false;
|
|
113
|
-
/**
|
|
114
|
-
* Prevent user input
|
|
115
|
-
*
|
|
116
|
-
* @type {boolean}
|
|
117
|
-
* @memberof DatepickerComponent
|
|
118
|
-
*/
|
|
119
|
-
this.preventUserInput = false;
|
|
120
|
-
/**
|
|
121
|
-
* @ignore
|
|
122
|
-
*/
|
|
123
|
-
this.onChange = (_) => { };
|
|
124
|
-
/**
|
|
125
|
-
* @ignore
|
|
126
|
-
*/
|
|
127
|
-
this.onTouch = () => { };
|
|
128
|
-
/**
|
|
129
|
-
* Event emitted when the value is change - when used outside of form
|
|
130
|
-
*
|
|
131
|
-
* @type {Date}
|
|
132
|
-
* @memberof DatepickerComponent
|
|
133
|
-
*/
|
|
134
|
-
this.changed = new EventEmitter();
|
|
135
|
-
this.range = new FormGroup({
|
|
136
|
-
start: new FormControl(null),
|
|
137
|
-
end: new FormControl(null),
|
|
138
|
-
});
|
|
139
|
-
this.translationContext = 'DATEPICKER.';
|
|
140
|
-
if (defaultAppTheme) {
|
|
141
|
-
this.applicationTheme = defaultAppTheme;
|
|
142
|
-
}
|
|
143
|
-
if (this.ngControl != null) {
|
|
144
|
-
this.ngControl.valueAccessor = this;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
get hint() {
|
|
148
|
-
if (this.hintMessage === undefined) {
|
|
149
|
-
return this.isRange ? 'MM/DD/YYYY - MM/DD/YYYY' : this.monthPicker ? 'MM/YYYY' : 'MM/DD/YYYY';
|
|
150
|
-
}
|
|
151
|
-
return this.hintMessage;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
155
|
-
* to display validation errors that might happen (e.g. required)
|
|
156
|
-
*/
|
|
157
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
158
|
-
ngDoCheck() {
|
|
159
|
-
if (this.ngControl?.touched || this.ngControl?.errors) {
|
|
160
|
-
this.cdr.markForCheck();
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
164
|
-
ngOnInit() {
|
|
165
|
-
document.body.setAttribute('theme', this.applicationTheme);
|
|
166
|
-
}
|
|
167
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
168
|
-
ngOnChanges() {
|
|
169
|
-
if (this.isRange) {
|
|
170
|
-
this.setRange();
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
// Set errors length for validation
|
|
174
|
-
// Consider only those errors which which are not empty
|
|
175
|
-
setErrorsLength() {
|
|
176
|
-
if (!!this._errors) {
|
|
177
|
-
return this._errors.filter(err => !!err).length > 0 ? true : false;
|
|
178
|
-
}
|
|
179
|
-
return false;
|
|
180
|
-
}
|
|
181
|
-
onValueChange(value) {
|
|
182
|
-
this.writeValue(value);
|
|
183
|
-
this.errorsLength = this.setErrorsLength();
|
|
184
|
-
if (!this.updateOnBlur) {
|
|
185
|
-
this.onTouch();
|
|
186
|
-
}
|
|
187
|
-
this.onChange(value);
|
|
188
|
-
this.changed.emit(value);
|
|
189
|
-
}
|
|
190
|
-
writeValue(value) {
|
|
191
|
-
this.value = value;
|
|
192
|
-
if (this.isRange) {
|
|
193
|
-
this.setRange();
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
registerOnChange(fn) {
|
|
197
|
-
this.onChange = fn;
|
|
198
|
-
}
|
|
199
|
-
registerOnTouched(fn) {
|
|
200
|
-
this.onTouch = fn;
|
|
201
|
-
}
|
|
202
|
-
setDisabledState(isDisabled) {
|
|
203
|
-
this.disabled = isDisabled;
|
|
204
|
-
this.cdr.markForCheck();
|
|
205
|
-
}
|
|
206
|
-
dateRangeChange(start, end) {
|
|
207
|
-
if (start && end) {
|
|
208
|
-
this.onValueChange(this.getRange(start, end));
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
setMonthAndYear(normalizedMonthAndYear, datepicker) {
|
|
212
|
-
const ctrlValue = typeof this.value === 'string' ? new Date(this.value) : this.value || new Date();
|
|
213
|
-
ctrlValue.setMonth(normalizedMonthAndYear.getMonth());
|
|
214
|
-
ctrlValue.setFullYear(normalizedMonthAndYear.getFullYear());
|
|
215
|
-
datepicker.close();
|
|
216
|
-
this.onValueChange(new Date(ctrlValue));
|
|
217
|
-
}
|
|
218
|
-
setRange() {
|
|
219
|
-
if (typeof this.value === 'string') {
|
|
220
|
-
const [start, end] = this.value?.split('-');
|
|
221
|
-
if (start) {
|
|
222
|
-
this.range.controls.start.setValue(new Date(start));
|
|
223
|
-
}
|
|
224
|
-
if (end) {
|
|
225
|
-
this.range.controls.end.setValue(new Date(end));
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
getRange(start, end) {
|
|
230
|
-
return `${start}-${end}`;
|
|
231
|
-
}
|
|
232
|
-
onInput(event) {
|
|
233
|
-
const target = event.target;
|
|
234
|
-
const [month, year] = target.value.split('/');
|
|
235
|
-
const date = new Date().getDate();
|
|
236
|
-
const fullDateString = `${month}/${date}/${year}`;
|
|
237
|
-
const fullDate = new Date(fullDateString);
|
|
238
|
-
this.onValueChange(fullDate);
|
|
239
|
-
}
|
|
240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: i0.ChangeDetectorRef }, { token: i1.DomSanitizer }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
241
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatepickerComponent, selector: "ui-datepicker", inputs: { label: "label", fieldName: "fieldName", placeholder: "placeholder", id: "id", value: "value", errors: "errors", isRange: "isRange", disabled: "disabled", required: "required", hintMessage: "hintMessage", updateOnBlur: "updateOnBlur", language: "language", showBottomContent: "showBottomContent", fullWidth: "fullWidth", minDate: "minDate", maxDate: "maxDate", monthPicker: "monthPicker", applicationTheme: "applicationTheme", hideBuiltInErrors: "hideBuiltInErrors", hideLabelInErrors: "hideLabelInErrors", preventUserInput: "preventUserInput" }, outputs: { changed: "changed" }, host: { properties: { "class": "this.class" } }, usesOnChanges: true, ngImport: i0, template: "<ng-container>\n <mat-form-field\n *ngIf=\"!monthPicker; else dateYearPicker\"\n #uiDatepicker\n appearance=\"outline\"\n [color]=\"(errorsLength || (ngControl?.errors && ngControl?.touched )) ? 'warn' : 'accent'\"\n [ngClass]=\"{ 'hide-bottom-content': !showBottomContent, 'full-width': fullWidth }\"\n >\n <mat-label *ngIf=\"label\">{{ label }}<span *ngIf=\"required\"> *</span></mat-label>\n <ng-container *ngIf=\"!isRange\">\n <input *ngIf=\"!isRange\" matInput\n [matDatepicker]=\"picker\"\n (blur)=\"onTouch()\"\n (dateChange)=\"onValueChange($event.value)\"\n [id]=\"id!\"\n [placeholder]=\"placeholder!\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [name]=\"fieldName!\"\n [readonly]=\"preventUserInput\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n />\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\">\n <ui-icon matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </ng-container>\n\n <ng-container *ngIf=\"isRange\">\n <mat-date-range-input *ngIf=\"isRange\" [formGroup]=\"range\" [rangePicker]=\"rangePicker\" [min]=\"minDate\" [max]=\"maxDate\" >\n <input matStartDate #dateRangeStart formControlName=\"start\" [placeholder]=\"(translationContext + 'START_DATE') | uiTranslate : language\" >\n <input matEndDate #dateRangeEnd formControlName=\"end\" [placeholder]=\"(translationContext + 'END_DATE') | uiTranslate : language\" (dateChange)=\"dateRangeChange(dateRangeStart.value, dateRangeEnd.value)\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"rangePicker\">\n <ui-icon matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-date-range-picker #rangePicker></mat-date-range-picker>\n </ng-container>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\">{{ hint }}</mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container *ngIf=\"errorsLength\">\n <div class=\"errors\" *ngFor=\"let error of _errors\">\n <ui-icon [applicationTheme]=\"applicationTheme\" name=\"Error\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n </ng-container>\n <ui-validation-error *ngIf=\"ngControl && !hideBuiltInErrors\" [ngControl]=\"ngControl\" [label]=\"hideLabelInErrors ? null : label\" [language]=\"language\"></ui-validation-error>\n </mat-hint>\n </mat-form-field>\n\n <ng-template #dateYearPicker>\n <mat-form-field\n appNoDateFormat\n #uiDatepicker\n appearance=\"outline\"\n [color]=\"(errorsLength || (ngControl?.errors && ngControl?.touched )) ? 'warn' : 'accent'\"\n [ngClass]=\"{ 'hide-bottom-content': !showBottomContent, 'full-width': fullWidth }\"\n >\n <mat-label *ngIf=\"label\">{{ label }}<span *ngIf=\"required\"> *</span></mat-label>\n\n <ng-container >\n <input matInput\n [id]=\"id!\"\n (blur)=\"onTouch()\"\n [placeholder]=\"placeholder!\"\n [matDatepicker]=\"dp\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [name]=\"fieldName!\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [readonly]=\"preventUserInput\"\n (change)=\"onInput($event)\"\n (dateChange)=\"onValueChange($event.value)\"\n >\n <mat-datepicker-toggle matIconSuffix [for]=\"dp\">\n <ui-icon *ngIf=\"applicationTheme !== 'classic'\" matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker panelClass=\"month-picker\" #dp startView=\"multi-year\" (monthSelected)=\"setMonthAndYear($event, dp)\"></mat-datepicker>\n </ng-container>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl.touched && (ngControl?.errors | hasValidationError))\">{{ hint }}</mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container *ngIf=\"errorsLength\">\n <div class=\"errors\" *ngFor=\"let error of _errors\">\n <ui-icon [applicationTheme]=\"applicationTheme\" name=\"Error\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n </ng-container>\n <ui-validation-error *ngIf=\"ngControl && !hideBuiltInErrors\" [ngControl]=\"ngControl\" [label]=\"hideLabelInErrors ? null : label\" [language]=\"language\"></ui-validation-error>\n </mat-hint>\n\n </mat-form-field>\n </ng-template>\n\n</ng-container>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.month-picker .mat-calendar-period-button{pointer-events:none}.month-picker .mat-calendar-arrow{display:none}.ui-datepicker{width:100%}.ui-datepicker .mat-mdc-form-field{margin-top:0;min-width:296px}.ui-datepicker .mat-mdc-form-field.full-width{width:100%}.ui-datepicker .mat-mdc-form-field.hide-bottom-content .mat-mdc-form-field-subscript-wrapper{display:none}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper{height:48px}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:22px}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mdc-notched-outline{color:#888}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mdc-notched-outline .mdc-floating-label--float-above{transform:translateY(-30px) scale(.75)}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-infix{min-height:48px;max-height:48px;padding:4px 0;line-height:22px;display:inline-flex;align-items:center}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-subscript-wrapper{padding:0 0 12px;margin-top:0;font-size:12px;line-height:16px;position:relative}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-subscript-wrapper .mat-form-field-hint-spacer{display:none}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.info{color:#888;width:100%}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-bottom-align:before{height:0}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint-wrapper{padding:0;position:relative}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error,.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error svg{color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error{display:flex}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error ui-icon{margin-right:4px}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__leading,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__trailing,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__notch{border-color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__leading,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__trailing,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__notch{border-color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix .mat-form-field-label mat-label{color:#cb7b7a}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint.error{display:flex;flex-flow:column;row-gap:4px}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint.error .errors{display:flex;padding-bottom:10px}.ui-datepicker .mat-mdc-form-field.mat-accent.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline{color:#276678}.ui-datepicker .mat-mdc-form-field.mat-accent.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix .mat-form-field-label mat-label{color:#276678}.ui-datepicker .mat-mdc-form-field.mat-form-field-disabled.mat-form-field-appearance-outline .mdc-notched-outline{color:#e0e0e0}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint .hint-message{color:#888!important;margin-top:4px}.mat-datepicker-content .mat-mdc-button.mat-unthemed .mdc-button__label>span{font-weight:600}.mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#e9f0f1}.mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background-color:#e9f0f1}[theme=dark] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),[theme=light] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#fff2fc}[theme=dark] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before,[theme=light] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background-color:#fff2fc}[theme=dark] .mat-datepicker-content .mat-calendar-body-selected,[theme=light] .mat-datepicker-content .mat-calendar-body-selected{background-color:#d410aa}[theme=dark] .mat-datepicker-content .mat-calendar-body-today:not(.mat-calendar-body-selected),[theme=light] .mat-datepicker-content .mat-calendar-body-today:not(.mat-calendar-body-selected){background:transparent;--mat-datepicker-calendar-date-focus-state-background-color: $tgo-white }[theme=dark] .mat-datepicker-content .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),[theme=light] .mat-datepicker-content .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){--mat-datepicker-calendar-date-focus-state-background-color: $brand-10}.info{margin-top:4px!important;padding-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i7.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i7.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i7.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "directive", type: i7.MatDatepickerToggleIcon, selector: "[matDatepickerToggleIcon]" }, { kind: "component", type: i7.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i7.MatStartDate, selector: "input[matStartDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i7.MatEndDate, selector: "input[matEndDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i7.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: i8.NoDateFormatDirective, selector: "[appNoDateFormat]" }, { kind: "component", type: i9.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "label", "applicationTheme", "language"] }, { kind: "pipe", type: i10.UiTranslatePipe, name: "uiTranslate" }, { kind: "pipe", type: i11.HasValidationErrorPipe, name: "hasValidationError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
242
|
-
}
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
244
|
-
type: Component,
|
|
245
|
-
args: [{ selector: 'ui-datepicker', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <mat-form-field\n *ngIf=\"!monthPicker; else dateYearPicker\"\n #uiDatepicker\n appearance=\"outline\"\n [color]=\"(errorsLength || (ngControl?.errors && ngControl?.touched )) ? 'warn' : 'accent'\"\n [ngClass]=\"{ 'hide-bottom-content': !showBottomContent, 'full-width': fullWidth }\"\n >\n <mat-label *ngIf=\"label\">{{ label }}<span *ngIf=\"required\"> *</span></mat-label>\n <ng-container *ngIf=\"!isRange\">\n <input *ngIf=\"!isRange\" matInput\n [matDatepicker]=\"picker\"\n (blur)=\"onTouch()\"\n (dateChange)=\"onValueChange($event.value)\"\n [id]=\"id!\"\n [placeholder]=\"placeholder!\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [name]=\"fieldName!\"\n [readonly]=\"preventUserInput\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n />\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\">\n <ui-icon matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </ng-container>\n\n <ng-container *ngIf=\"isRange\">\n <mat-date-range-input *ngIf=\"isRange\" [formGroup]=\"range\" [rangePicker]=\"rangePicker\" [min]=\"minDate\" [max]=\"maxDate\" >\n <input matStartDate #dateRangeStart formControlName=\"start\" [placeholder]=\"(translationContext + 'START_DATE') | uiTranslate : language\" >\n <input matEndDate #dateRangeEnd formControlName=\"end\" [placeholder]=\"(translationContext + 'END_DATE') | uiTranslate : language\" (dateChange)=\"dateRangeChange(dateRangeStart.value, dateRangeEnd.value)\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"rangePicker\">\n <ui-icon matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-date-range-picker #rangePicker></mat-date-range-picker>\n </ng-container>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\">{{ hint }}</mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container *ngIf=\"errorsLength\">\n <div class=\"errors\" *ngFor=\"let error of _errors\">\n <ui-icon [applicationTheme]=\"applicationTheme\" name=\"Error\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n </ng-container>\n <ui-validation-error *ngIf=\"ngControl && !hideBuiltInErrors\" [ngControl]=\"ngControl\" [label]=\"hideLabelInErrors ? null : label\" [language]=\"language\"></ui-validation-error>\n </mat-hint>\n </mat-form-field>\n\n <ng-template #dateYearPicker>\n <mat-form-field\n appNoDateFormat\n #uiDatepicker\n appearance=\"outline\"\n [color]=\"(errorsLength || (ngControl?.errors && ngControl?.touched )) ? 'warn' : 'accent'\"\n [ngClass]=\"{ 'hide-bottom-content': !showBottomContent, 'full-width': fullWidth }\"\n >\n <mat-label *ngIf=\"label\">{{ label }}<span *ngIf=\"required\"> *</span></mat-label>\n\n <ng-container >\n <input matInput\n [id]=\"id!\"\n (blur)=\"onTouch()\"\n [placeholder]=\"placeholder!\"\n [matDatepicker]=\"dp\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [name]=\"fieldName!\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [readonly]=\"preventUserInput\"\n (change)=\"onInput($event)\"\n (dateChange)=\"onValueChange($event.value)\"\n >\n <mat-datepicker-toggle matIconSuffix [for]=\"dp\">\n <ui-icon *ngIf=\"applicationTheme !== 'classic'\" matDatepickerToggleIcon [applicationTheme]=\"applicationTheme\" name=\"Calendar\" size=\"24\" color=\"inherit\"></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker panelClass=\"month-picker\" #dp startView=\"multi-year\" (monthSelected)=\"setMonthAndYear($event, dp)\"></mat-datepicker>\n </ng-container>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl.touched && (ngControl?.errors | hasValidationError))\">{{ hint }}</mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container *ngIf=\"errorsLength\">\n <div class=\"errors\" *ngFor=\"let error of _errors\">\n <ui-icon [applicationTheme]=\"applicationTheme\" name=\"Error\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n </ng-container>\n <ui-validation-error *ngIf=\"ngControl && !hideBuiltInErrors\" [ngControl]=\"ngControl\" [label]=\"hideLabelInErrors ? null : label\" [language]=\"language\"></ui-validation-error>\n </mat-hint>\n\n </mat-form-field>\n </ng-template>\n\n</ng-container>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.month-picker .mat-calendar-period-button{pointer-events:none}.month-picker .mat-calendar-arrow{display:none}.ui-datepicker{width:100%}.ui-datepicker .mat-mdc-form-field{margin-top:0;min-width:296px}.ui-datepicker .mat-mdc-form-field.full-width{width:100%}.ui-datepicker .mat-mdc-form-field.hide-bottom-content .mat-mdc-form-field-subscript-wrapper{display:none}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper{height:48px}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:22px}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mdc-notched-outline{color:#888}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mdc-notched-outline .mdc-floating-label--float-above{transform:translateY(-30px) scale(.75)}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-infix{min-height:48px;max-height:48px;padding:4px 0;line-height:22px;display:inline-flex;align-items:center}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-subscript-wrapper{padding:0 0 12px;margin-top:0;font-size:12px;line-height:16px;position:relative}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-subscript-wrapper .mat-form-field-hint-spacer{display:none}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.info{color:#888;width:100%}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-bottom-align:before{height:0}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint-wrapper{padding:0;position:relative}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error,.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error svg{color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error{display:flex}.ui-datepicker .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-form-field-hint.error ui-icon{margin-right:4px}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__leading,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__trailing,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline:not(.mdc-text-field--disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline .mdc-notched-outline__notch{border-color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__leading,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__trailing,.ui-datepicker .mat-mdc-form-field.mat-warn.mat-form-field-appearance-outline .mdc-notched-outline .mdc-notched-outline__notch{border-color:#cb7b7a}.ui-datepicker .mat-mdc-form-field.mat-warn.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix .mat-form-field-label mat-label{color:#cb7b7a}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint.error{display:flex;flex-flow:column;row-gap:4px}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint.error .errors{display:flex;padding-bottom:10px}.ui-datepicker .mat-mdc-form-field.mat-accent.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-mdc-form-field-flex:hover .mdc-notched-outline{color:#276678}.ui-datepicker .mat-mdc-form-field.mat-accent.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-infix .mat-form-field-label mat-label{color:#276678}.ui-datepicker .mat-mdc-form-field.mat-form-field-disabled.mat-form-field-appearance-outline .mdc-notched-outline{color:#e0e0e0}.ui-datepicker .mat-mdc-form-field .mat-mdc-form-field-hint .hint-message{color:#888!important;margin-top:4px}.mat-datepicker-content .mat-mdc-button.mat-unthemed .mdc-button__label>span{font-weight:600}.mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#e9f0f1}.mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background-color:#e9f0f1}[theme=dark] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),[theme=light] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#fff2fc}[theme=dark] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before,[theme=light] .mat-datepicker-content.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background-color:#fff2fc}[theme=dark] .mat-datepicker-content .mat-calendar-body-selected,[theme=light] .mat-datepicker-content .mat-calendar-body-selected{background-color:#d410aa}[theme=dark] .mat-datepicker-content .mat-calendar-body-today:not(.mat-calendar-body-selected),[theme=light] .mat-datepicker-content .mat-calendar-body-today:not(.mat-calendar-body-selected){background:transparent;--mat-datepicker-calendar-date-focus-state-background-color: $tgo-white }[theme=dark] .mat-datepicker-content .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),[theme=light] .mat-datepicker-content .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){--mat-datepicker-calendar-date-focus-state-background-color: $brand-10}.info{margin-top:4px!important;padding-bottom:10px}\n"] }]
|
|
246
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
247
|
-
type: Optional
|
|
248
|
-
}, {
|
|
249
|
-
type: Inject,
|
|
250
|
-
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
251
|
-
}] }, { type: i0.ChangeDetectorRef }, { type: i1.DomSanitizer }, { type: i2.NgControl, decorators: [{
|
|
252
|
-
type: Optional
|
|
253
|
-
}, {
|
|
254
|
-
type: Self
|
|
255
|
-
}] }]; }, propDecorators: { class: [{
|
|
256
|
-
type: HostBinding
|
|
257
|
-
}], label: [{
|
|
258
|
-
type: Input
|
|
259
|
-
}], fieldName: [{
|
|
260
|
-
type: Input
|
|
261
|
-
}], placeholder: [{
|
|
262
|
-
type: Input
|
|
263
|
-
}], id: [{
|
|
264
|
-
type: Input
|
|
265
|
-
}], value: [{
|
|
266
|
-
type: Input
|
|
267
|
-
}], errors: [{
|
|
268
|
-
type: Input
|
|
269
|
-
}], isRange: [{
|
|
270
|
-
type: Input
|
|
271
|
-
}], disabled: [{
|
|
272
|
-
type: Input
|
|
273
|
-
}], required: [{
|
|
274
|
-
type: Input
|
|
275
|
-
}], hintMessage: [{
|
|
276
|
-
type: Input
|
|
277
|
-
}], updateOnBlur: [{
|
|
278
|
-
type: Input
|
|
279
|
-
}], language: [{
|
|
280
|
-
type: Input
|
|
281
|
-
}], showBottomContent: [{
|
|
282
|
-
type: Input
|
|
283
|
-
}], fullWidth: [{
|
|
284
|
-
type: Input
|
|
285
|
-
}], minDate: [{
|
|
286
|
-
type: Input
|
|
287
|
-
}], maxDate: [{
|
|
288
|
-
type: Input
|
|
289
|
-
}], monthPicker: [{
|
|
290
|
-
type: Input
|
|
291
|
-
}], applicationTheme: [{
|
|
292
|
-
type: Input
|
|
293
|
-
}], hideBuiltInErrors: [{
|
|
294
|
-
type: Input
|
|
295
|
-
}], hideLabelInErrors: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}], preventUserInput: [{
|
|
298
|
-
type: Input
|
|
299
|
-
}], changed: [{
|
|
300
|
-
type: Output
|
|
301
|
-
}] } });
|
|
302
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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fCBoYXNWYWxpZGF0aW9uRXJyb3IpKVwiPnt7IGhpbnQgfX08L21hdC1oaW50PlxuICAgICAgPG1hdC1oaW50IGNsYXNzPVwiZXJyb3JcIiAqbmdJZj1cImVycm9yc0xlbmd0aCB8fCAobmdDb250cm9sLnRvdWNoZWQgJiYgKG5nQ29udHJvbD8uZXJyb3JzIHwgaGFzVmFsaWRhdGlvbkVycm9yKSlcIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImVycm9yc0xlbmd0aFwiPlxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJlcnJvcnNcIiAqbmdGb3I9XCJsZXQgZXJyb3Igb2YgX2Vycm9yc1wiPlxuICAgICAgICAgICAgPHVpLWljb24gW2FwcGxpY2F0aW9uVGhlbWVdPVwiYXBwbGljYXRpb25UaGVtZVwiIG5hbWU9XCJFcnJvclwiPjwvdWktaWNvbj5cbiAgICAgICAgICAgIDxzcGFuIFtpbm5lckhUTUxdPVwiZXJyb3JcIj48L3NwYW4+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8dWktdmFsaWRhdGlvbi1lcnJvciAqbmdJZj1cIm5nQ29udHJvbCAmJiAhaGlkZUJ1aWx0SW5FcnJvcnNcIiBbbmdDb250cm9sXT1cIm5nQ29udHJvbFwiIFtsYWJlbF09XCJoaWRlTGFiZWxJbkVycm9ycyA/IG51bGwgOiBsYWJlbFwiIFtsYW5ndWFnZV09XCJsYW5ndWFnZVwiPjwvdWktdmFsaWRhdGlvbi1lcnJvcj5cbiAgICAgIDwvbWF0LWhpbnQ+XG5cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICA8L25nLXRlbXBsYXRlPlxuXG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { DatepickerComponent } from './datepicker.component';
|
|
4
|
-
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
5
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import { MatInputModule } from '@angular/material/input';
|
|
8
|
-
import { IconComponentModule } from '../icon/icon.component.module';
|
|
9
|
-
import { MatNativeDateModule } from '@angular/material/core';
|
|
10
|
-
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
11
|
-
import { NoDateFormatDirective } from './no-date-format.directive';
|
|
12
|
-
import { HasValidationErrorPipe } from '../../pipes/has-validation-error.pipe';
|
|
13
|
-
import { ValidationErrorModule } from '../validation-error/validation-error.module';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export class DatepickerComponentModule {
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
17
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponentModule, declarations: [DatepickerComponent], imports: [CommonModule,
|
|
18
|
-
MatFormFieldModule,
|
|
19
|
-
MatInputModule,
|
|
20
|
-
IconComponentModule,
|
|
21
|
-
FormsModule,
|
|
22
|
-
ReactiveFormsModule,
|
|
23
|
-
MatDatepickerModule,
|
|
24
|
-
MatNativeDateModule,
|
|
25
|
-
UiTranslatePipe,
|
|
26
|
-
NoDateFormatDirective,
|
|
27
|
-
HasValidationErrorPipe,
|
|
28
|
-
ValidationErrorModule], exports: [DatepickerComponent] }); }
|
|
29
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponentModule, imports: [CommonModule,
|
|
30
|
-
MatFormFieldModule,
|
|
31
|
-
MatInputModule,
|
|
32
|
-
IconComponentModule,
|
|
33
|
-
FormsModule,
|
|
34
|
-
ReactiveFormsModule,
|
|
35
|
-
MatDatepickerModule,
|
|
36
|
-
MatNativeDateModule,
|
|
37
|
-
ValidationErrorModule] }); }
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponentModule, decorators: [{
|
|
40
|
-
type: NgModule,
|
|
41
|
-
args: [{
|
|
42
|
-
declarations: [DatepickerComponent],
|
|
43
|
-
imports: [
|
|
44
|
-
CommonModule,
|
|
45
|
-
MatFormFieldModule,
|
|
46
|
-
MatInputModule,
|
|
47
|
-
IconComponentModule,
|
|
48
|
-
FormsModule,
|
|
49
|
-
ReactiveFormsModule,
|
|
50
|
-
MatDatepickerModule,
|
|
51
|
-
MatNativeDateModule,
|
|
52
|
-
UiTranslatePipe,
|
|
53
|
-
NoDateFormatDirective,
|
|
54
|
-
HasValidationErrorPipe,
|
|
55
|
-
ValidationErrorModule,
|
|
56
|
-
],
|
|
57
|
-
exports: [DatepickerComponent],
|
|
58
|
-
}]
|
|
59
|
-
}] });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RhdGVwaWNrZXIvZGF0ZXBpY2tlci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHdCQUF3QixDQUFD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NzIERhdGVwaWNrZXJDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Directive, Injectable } from '@angular/core';
|
|
2
|
-
import { DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, } from '@angular/material/core';
|
|
3
|
-
import { formatDate } from '@angular/common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CustomDateAdapter extends NativeDateAdapter {
|
|
6
|
-
format(date) {
|
|
7
|
-
return formatDate(date, 'MM/yyyy', 'en-US');
|
|
8
|
-
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomDateAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomDateAdapter }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomDateAdapter, decorators: [{
|
|
13
|
-
type: Injectable
|
|
14
|
-
}] });
|
|
15
|
-
const FORMATS = {
|
|
16
|
-
parse: {
|
|
17
|
-
dateInput: 'MM/YYYY',
|
|
18
|
-
},
|
|
19
|
-
display: {
|
|
20
|
-
dateInput: 'MM/YYYY',
|
|
21
|
-
monthYearLabel: 'MMM YYYY',
|
|
22
|
-
dateA11yLabel: 'LL',
|
|
23
|
-
monthYearA11yLabel: 'MMMM YYYY',
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
export class NoDateFormatDirective {
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
28
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NoDateFormatDirective, isStandalone: true, selector: "[appNoDateFormat]", providers: [
|
|
29
|
-
{
|
|
30
|
-
provide: DateAdapter,
|
|
31
|
-
useClass: CustomDateAdapter,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
provide: MAT_DATE_FORMATS,
|
|
35
|
-
useValue: FORMATS,
|
|
36
|
-
},
|
|
37
|
-
], ngImport: i0 }); }
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoDateFormatDirective, decorators: [{
|
|
40
|
-
type: Directive,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: '[appNoDateFormat]',
|
|
43
|
-
providers: [
|
|
44
|
-
{
|
|
45
|
-
provide: DateAdapter,
|
|
46
|
-
useClass: CustomDateAdapter,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
provide: MAT_DATE_FORMATS,
|
|
50
|
-
useValue: FORMATS,
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
standalone: true,
|
|
54
|
-
}]
|
|
55
|
-
}] });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tZGF0ZS1mb3JtYXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RhdGVwaWNrZXIvbm8tZGF0ZS1mb3JtYXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sRUFDTCxXQUFXLEVBQ1gsZ0JBQWdCLEVBRWhCLGlCQUFpQixHQUNsQixNQUFNLHdCQUF3QixDQUFDO0FBQ2hDLE9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iAgICB9LFxuICAgIHtcbiAgICAgIHByb3ZpZGU6IE1BVF9EQVRFX0ZPUk1BVFMsXG4gICAgICB1c2VWYWx1ZTogRk9STUFUUyxcbiAgICB9LFxuICBdLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBOb0RhdGVGb3JtYXREaXJlY3RpdmUge31cbiJdfQ==
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/material/paginator";
|
|
4
|
-
export class DeprecatedPaginatorComponent {
|
|
5
|
-
/**
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
ngOnInit() { }
|
|
9
|
-
constructor() {
|
|
10
|
-
// TODO: Some properties and methods are ignored on purpose because of a current issue with compodoc and angular 13
|
|
11
|
-
// https://github.com/storybookjs/storybook/issues/16865
|
|
12
|
-
// https://github.com/storybookjs/storybook/issues/17004
|
|
13
|
-
/**
|
|
14
|
-
* Paginator size options
|
|
15
|
-
*
|
|
16
|
-
* @type {number[]}
|
|
17
|
-
* @memberof PaginatorComponent
|
|
18
|
-
*/
|
|
19
|
-
this.pageSizeOptions = [10, 25, 50];
|
|
20
|
-
/**
|
|
21
|
-
* Data length
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof PaginatorComponent
|
|
25
|
-
*/
|
|
26
|
-
this.length = 0;
|
|
27
|
-
/**
|
|
28
|
-
* Default page size
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof PaginatorComponent
|
|
32
|
-
*/
|
|
33
|
-
this.defaultPageSize = 25;
|
|
34
|
-
/**
|
|
35
|
-
* @ignore
|
|
36
|
-
*/
|
|
37
|
-
this.paginatorChangedEvent = new EventEmitter();
|
|
38
|
-
}
|
|
39
|
-
paginatorChanged(paginator) {
|
|
40
|
-
this.paginatorChangedEvent.emit(paginator);
|
|
41
|
-
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeprecatedPaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DeprecatedPaginatorComponent, selector: "ui-paginator", inputs: { length: "length", defaultPageSize: "defaultPageSize" }, outputs: { paginatorChangedEvent: "paginatorChangedEvent" }, ngImport: i0, template: "<mat-paginator [length]=\"length\"\n [pageSize]=\"defaultPageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"paginatorChanged($event)\">\n</mat-paginator>", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.mat-mdc-paginator{border-radius:0 0 8px 8px}.mat-mdc-paginator .mat-mdc-paginator-outer-container{border-radius:0 0 8px 8px;font-weight:400;font-size:14px;line-height:16px;color:#000}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container{padding:0}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-select-value-text{font-size:14px}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions{height:100%}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions button{height:100%;width:70px;border-radius:0}\n"], dependencies: [{ kind: "component", type: i1.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeprecatedPaginatorComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{ selector: 'ui-paginator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-paginator [length]=\"length\"\n [pageSize]=\"defaultPageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"paginatorChanged($event)\">\n</mat-paginator>", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.mat-mdc-paginator{border-radius:0 0 8px 8px}.mat-mdc-paginator .mat-mdc-paginator-outer-container{border-radius:0 0 8px 8px;font-weight:400;font-size:14px;line-height:16px;color:#000}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container{padding:0}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-select-value-text{font-size:14px}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions{height:100%}.mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions button{height:100%;width:70px;border-radius:0}\n"] }]
|
|
48
|
-
}], ctorParameters: function () { return []; }, propDecorators: { length: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], defaultPageSize: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], paginatorChangedEvent: [{
|
|
53
|
-
type: Output
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjYXRlZC1wYWdpbmF0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RlcHJlY2F0ZWQtcGFnaW5hdG9yL2RlcHJlY2F0ZWQtcGFnaW5hdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy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