@testgorilla/tgo-ui 3.9.3 → 3.9.5-beta-20.0.0
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/fesm2022/testgorilla-tgo-ui.mjs +712 -766
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +7060 -3
- package/package.json +15 -16
- package/projects/tgo-canopy-ui/assets/icons/Switch-tab.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Switch-tab-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Switch-tab-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/theme/_input.scss +1 -1
- package/projects/tgo-canopy-ui/theme/_palette.scss +2 -1
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +4 -4
- package/components/accordion/accordion.component.d.ts +0 -100
- package/components/accordion/accordion.component.module.d.ts +0 -12
- package/components/accordion/accordion.model.d.ts +0 -2
- package/components/ai-feedback/ai-feedback.component.d.ts +0 -15
- package/components/ai-feedback/ai-feedback.model.d.ts +0 -1
- package/components/ai-feedback/ai-feedback.module.d.ts +0 -10
- package/components/alert-banner/alert-banner.component.d.ts +0 -132
- package/components/alert-banner/alert-banner.component.module.d.ts +0 -11
- package/components/alert-banner/alert-banner.model.d.ts +0 -1
- package/components/autocomplete/autocomplete.component.d.ts +0 -314
- package/components/autocomplete/autocomplete.component.module.d.ts +0 -24
- package/components/autocomplete/autocomplete.model.d.ts +0 -22
- package/components/autocomplete/includes.pipe.d.ts +0 -12
- package/components/autocomplete/prevent-input.directive.d.ts +0 -7
- package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
- package/components/avatar/avatar.component.d.ts +0 -67
- package/components/avatar/avatar.component.module.d.ts +0 -13
- package/components/avatar/avatar.model.d.ts +0 -16
- package/components/badge/badge.component.d.ts +0 -59
- package/components/badge/badge.component.module.d.ts +0 -10
- package/components/badge/badge.model.d.ts +0 -37
- package/components/button/button.component.d.ts +0 -235
- package/components/button/button.component.module.d.ts +0 -16
- package/components/button/button.model.d.ts +0 -14
- package/components/card/card.component.d.ts +0 -75
- package/components/card/card.component.module.d.ts +0 -9
- package/components/card/card.model.d.ts +0 -2
- package/components/checkbox/checkbox.component.d.ts +0 -193
- package/components/checkbox/checkbox.component.module.d.ts +0 -18
- package/components/checkbox/focus-visible.directive.d.ts +0 -12
- package/components/checklist/checklist.component.d.ts +0 -85
- package/components/checklist/checklist.model.d.ts +0 -9
- package/components/confirm-dialog/confirm-dialog.component.d.ts +0 -38
- package/components/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
- package/components/confirm-dialog/confirm-dialog.model.d.ts +0 -19
- package/components/datepicker/date-adapter.d.ts +0 -34
- package/components/datepicker/datepicker.component.d.ts +0 -214
- package/components/datepicker/datepicker.component.module.d.ts +0 -18
- package/components/datepicker/datepicker.service.d.ts +0 -8
- 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/dialog/dialog.component.d.ts +0 -162
- package/components/dialog/dialog.component.module.d.ts +0 -11
- package/components/dialog/dialog.model.d.ts +0 -12
- package/components/dialog/dialog.service.d.ts +0 -14
- package/components/divider/divider.component.d.ts +0 -39
- package/components/divider/divider.component.module.d.ts +0 -9
- package/components/divider/divider.model.d.ts +0 -1
- package/components/donut-chart/donut-chart.component.d.ts +0 -34
- package/components/donut-chart/donut-chart.component.model.d.ts +0 -6
- package/components/donut-chart/donut-chart.component.module.d.ts +0 -8
- package/components/dropdown/dropdown.component.d.ts +0 -214
- package/components/dropdown/dropdown.component.module.d.ts +0 -17
- package/components/dropdown/dropdown.model.d.ts +0 -6
- 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 -202
- package/components/empty-state/empty-state.component.module.d.ts +0 -11
- package/components/empty-state/empty-state.model.d.ts +0 -3
- package/components/field/field.component.d.ts +0 -361
- package/components/field/field.component.module.d.ts +0 -19
- package/components/field/field.model.d.ts +0 -1
- package/components/file-upload/file-upload.component.d.ts +0 -137
- package/components/file-upload/file-upload.component.module.d.ts +0 -14
- package/components/filter-button/filter-button.component.d.ts +0 -140
- package/components/filter-button/filter-button.component.module.d.ts +0 -18
- package/components/filter-button/filter-button.model.d.ts +0 -13
- package/components/gaussian-chart/gaussian-chart.component.d.ts +0 -75
- package/components/gaussian-chart/gaussian-chart.module.d.ts +0 -13
- package/components/icon/icon.component.d.ts +0 -72
- 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 -46
- package/components/icon-label/icon-label.component.module.d.ts +0 -9
- package/components/logo/logo.component.d.ts +0 -66
- package/components/logo/logo.component.module.d.ts +0 -8
- package/components/logo/logo.model.d.ts +0 -29
- package/components/media-card/media-card.component.d.ts +0 -32
- package/components/multi-input/multi-input.component.d.ts +0 -171
- package/components/multi-input/multi-input.component.module.d.ts +0 -18
- package/components/multi-input/multi-input.model.d.ts +0 -1
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -27
- package/components/navbar/navbar.component.d.ts +0 -126
- package/components/navbar/navbar.component.module.d.ts +0 -21
- package/components/navbar/navbar.model.d.ts +0 -21
- package/components/overflow-menu/overflow-menu.component.d.ts +0 -96
- package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -15
- package/components/overflow-menu/overflow-menu.model.d.ts +0 -28
- package/components/page-header/page-header.component.d.ts +0 -38
- package/components/page-header/page-header.component.module.d.ts +0 -10
- package/components/paginator/paginator.component.d.ts +0 -58
- package/components/paginator/paginator.component.module.d.ts +0 -9
- package/components/password-criteria/password.component.d.ts +0 -44
- package/components/password-criteria/password.component.module.d.ts +0 -13
- package/components/password-strength/password-strength.component.d.ts +0 -45
- 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 -147
- 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 -73
- package/components/progress-bar/progress-bar.component.module.d.ts +0 -10
- package/components/radial-progress/radial-progress.component.d.ts +0 -75
- 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 -182
- package/components/radio-button/radio-button.component.module.d.ts +0 -15
- 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 -71
- package/components/rating/rating.component.module.d.ts +0 -10
- package/components/scale/scale.component.d.ts +0 -54
- package/components/scale/scale.component.module.d.ts +0 -8
- package/components/scale-table/scale-table.component.d.ts +0 -39
- package/components/scale-table/scale-table.model.d.ts +0 -5
- package/components/segmented-bar/segmented-bar.component.d.ts +0 -63
- package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -12
- package/components/segmented-bar/segmented-bar.model.d.ts +0 -12
- package/components/segmented-button/segmented-button.component.d.ts +0 -55
- package/components/segmented-button/segmented-button.component.module.d.ts +0 -11
- package/components/segmented-button/segmented-button.model.d.ts +0 -8
- package/components/side-panel/side-panel-data-injection-token.d.ts +0 -2
- package/components/side-panel/side-panel.animations.d.ts +0 -3
- package/components/side-panel/side-panel.component.d.ts +0 -19
- package/components/side-panel/side-panel.model.d.ts +0 -19
- package/components/side-panel/side-panel.service.d.ts +0 -21
- package/components/side-sheet/side-sheet.component.d.ts +0 -43
- 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 -27
- package/components/skeleton/skeleton.model.d.ts +0 -2
- package/components/slider/slider.component.d.ts +0 -116
- package/components/slider/slider.component.module.d.ts +0 -7
- package/components/slider/slider.model.d.ts +0 -5
- package/components/snackbar/snackbar.component.d.ts +0 -119
- package/components/snackbar/snackbar.component.module.d.ts +0 -13
- package/components/snackbar/snackbar.model.d.ts +0 -2
- package/components/snackbar/snackbar.service.d.ts +0 -16
- package/components/spider-chart/spider-chart.component.d.ts +0 -90
- package/components/spider-chart/spider-chart.model.d.ts +0 -12
- package/components/spider-chart/spider-chart.module.d.ts +0 -13
- package/components/spinner/spinner.component.d.ts +0 -59
- package/components/spinner/spinner.model.d.ts +0 -1
- package/components/spinner/spinner.module.d.ts +0 -10
- package/components/step/step.component.d.ts +0 -184
- package/components/step/step.component.module.d.ts +0 -11
- package/components/stepper/stepper.component.d.ts +0 -102
- package/components/stepper/stepper.component.module.d.ts +0 -15
- package/components/stepper/stepper.model.d.ts +0 -23
- package/components/table/sentence-case.pipe.d.ts +0 -7
- package/components/table/table.component.d.ts +0 -117
- package/components/table/table.component.module.d.ts +0 -20
- package/components/table/table.model.d.ts +0 -104
- package/components/tabs/tab.directive.d.ts +0 -28
- package/components/tabs/tabs.component.d.ts +0 -77
- package/components/tabs/tabs.component.module.d.ts +0 -13
- package/components/tabs/tabs.model.d.ts +0 -20
- package/components/tag/tag.component.d.ts +0 -131
- package/components/tag/tag.component.module.d.ts +0 -13
- package/components/tag/tag.model.d.ts +0 -1
- package/components/toggle/toggle.component.d.ts +0 -113
- package/components/toggle/toggle.component.module.d.ts +0 -14
- package/components/toggle/toggle.model.d.ts +0 -1
- package/components/tooltip/tooltip-template.directive.d.ts +0 -27
- package/components/tooltip/tooltip.component.d.ts +0 -64
- package/components/tooltip/tooltip.component.module.d.ts +0 -12
- package/components/tooltip/tooltip.model.d.ts +0 -8
- package/components/universal-skills-report/universal-skills-report.component.d.ts +0 -33
- package/components/universal-skills-report/universal-skills-report.component.module.d.ts +0 -14
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +0 -47
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +0 -16
- package/components/validation-error/validation-error.component.d.ts +0 -22
- package/components/validation-error/validation-error.model.d.ts +0 -1
- package/components/validation-error/validation-error.module.d.ts +0 -10
- package/directives/digits-only.directive.d.ts +0 -17
- package/directives/drag-drop.directive.d.ts +0 -12
- package/directives/dynamic-component.directive.d.ts +0 -20
- package/directives/ellipse-text.directive.d.ts +0 -20
- package/directives/select-text.directive.d.ts +0 -19
- package/directives/step-line-element.directive.d.ts +0 -17
- package/esm2022/assets/i18n/da-dk.json +0 -181
- package/esm2022/assets/i18n/de.json +0 -181
- package/esm2022/assets/i18n/en.json +0 -820
- package/esm2022/assets/i18n/es.json +0 -181
- package/esm2022/assets/i18n/fr.json +0 -181
- package/esm2022/assets/i18n/it-it.json +0 -181
- package/esm2022/assets/i18n/ja-jp.json +0 -181
- package/esm2022/assets/i18n/nb-no.json +0 -181
- package/esm2022/assets/i18n/nl.json +0 -181
- package/esm2022/assets/i18n/pl-pl.json +0 -181
- package/esm2022/assets/i18n/pt-br.json +0 -181
- package/esm2022/assets/i18n/sv-se.json +0 -181
- package/esm2022/components/accordion/accordion.component.mjs +0 -135
- package/esm2022/components/accordion/accordion.component.module.mjs +0 -40
- package/esm2022/components/accordion/accordion.model.mjs +0 -2
- package/esm2022/components/ai-feedback/ai-feedback.component.mjs +0 -35
- package/esm2022/components/ai-feedback/ai-feedback.model.mjs +0 -2
- package/esm2022/components/ai-feedback/ai-feedback.module.mjs +0 -20
- package/esm2022/components/alert-banner/alert-banner.component.mjs +0 -198
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +0 -21
- package/esm2022/components/alert-banner/alert-banner.model.mjs +0 -2
- package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -814
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +0 -77
- package/esm2022/components/autocomplete/autocomplete.model.mjs +0 -25
- package/esm2022/components/autocomplete/includes.pipe.mjs +0 -25
- package/esm2022/components/autocomplete/prevent-input.directive.mjs +0 -27
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +0 -32
- package/esm2022/components/avatar/avatar.component.mjs +0 -104
- package/esm2022/components/avatar/avatar.component.module.mjs +0 -23
- package/esm2022/components/avatar/avatar.model.mjs +0 -21
- package/esm2022/components/badge/badge.component.mjs +0 -109
- package/esm2022/components/badge/badge.component.module.mjs +0 -20
- package/esm2022/components/badge/badge.model.mjs +0 -38
- package/esm2022/components/button/button.component.mjs +0 -445
- package/esm2022/components/button/button.component.module.mjs +0 -51
- package/esm2022/components/button/button.model.mjs +0 -2
- package/esm2022/components/card/card.component.mjs +0 -132
- 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 -329
- package/esm2022/components/checkbox/checkbox.component.module.mjs +0 -28
- package/esm2022/components/checkbox/focus-visible.directive.mjs +0 -40
- package/esm2022/components/checklist/checklist.component.mjs +0 -157
- package/esm2022/components/checklist/checklist.model.mjs +0 -2
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +0 -66
- 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/date-adapter.mjs +0 -39
- package/esm2022/components/datepicker/datepicker.component.mjs +0 -333
- package/esm2022/components/datepicker/datepicker.component.module.mjs +0 -60
- package/esm2022/components/datepicker/datepicker.service.mjs +0 -20
- 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/dialog/dialog.component.mjs +0 -274
- package/esm2022/components/dialog/dialog.component.module.mjs +0 -23
- package/esm2022/components/dialog/dialog.model.mjs +0 -2
- package/esm2022/components/dialog/dialog.service.mjs +0 -36
- 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/donut-chart/donut-chart.component.mjs +0 -122
- package/esm2022/components/donut-chart/donut-chart.component.model.mjs +0 -2
- package/esm2022/components/donut-chart/donut-chart.component.module.mjs +0 -20
- package/esm2022/components/dropdown/dropdown.component.mjs +0 -378
- 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 -301
- 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 -544
- package/esm2022/components/field/field.component.module.mjs +0 -64
- package/esm2022/components/field/field.model.mjs +0 -2
- package/esm2022/components/file-upload/file-upload.component.mjs +0 -296
- package/esm2022/components/file-upload/file-upload.component.module.mjs +0 -40
- package/esm2022/components/filter-button/filter-button.component.mjs +0 -255
- package/esm2022/components/filter-button/filter-button.component.module.mjs +0 -58
- package/esm2022/components/filter-button/filter-button.model.mjs +0 -2
- package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +0 -246
- package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +0 -42
- package/esm2022/components/icon/icon.component.mjs +0 -162
- package/esm2022/components/icon/icon.component.module.mjs +0 -21
- package/esm2022/components/icon/icon.config.mjs +0 -749
- package/esm2022/components/icon/icon.model.mjs +0 -2
- package/esm2022/components/icon-label/icon-label.component.mjs +0 -62
- package/esm2022/components/icon-label/icon-label.component.module.mjs +0 -20
- package/esm2022/components/logo/logo.component.mjs +0 -165
- package/esm2022/components/logo/logo.component.module.mjs +0 -18
- package/esm2022/components/logo/logo.model.mjs +0 -32
- package/esm2022/components/media-card/media-card.component.mjs +0 -47
- package/esm2022/components/multi-input/multi-input.component.mjs +0 -331
- package/esm2022/components/multi-input/multi-input.component.module.mjs +0 -58
- package/esm2022/components/multi-input/multi-input.model.mjs +0 -2
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +0 -86
- package/esm2022/components/navbar/navbar.component.mjs +0 -212
- package/esm2022/components/navbar/navbar.component.module.mjs +0 -71
- package/esm2022/components/navbar/navbar.model.mjs +0 -2
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +0 -214
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +0 -25
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +0 -2
- package/esm2022/components/page-header/page-header.component.mjs +0 -71
- package/esm2022/components/page-header/page-header.component.module.mjs +0 -20
- package/esm2022/components/paginator/paginator.component.mjs +0 -87
- package/esm2022/components/paginator/paginator.component.module.mjs +0 -19
- package/esm2022/components/password-criteria/password.component.mjs +0 -111
- package/esm2022/components/password-criteria/password.component.module.mjs +0 -39
- package/esm2022/components/password-strength/password-strength.component.mjs +0 -93
- 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 -353
- 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 -103
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +0 -21
- package/esm2022/components/radial-progress/radial-progress.component.mjs +0 -118
- 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 -329
- package/esm2022/components/radio-button/radio-button.component.module.mjs +0 -25
- 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 -106
- package/esm2022/components/rating/rating.component.module.mjs +0 -20
- package/esm2022/components/scale/scale.component.mjs +0 -136
- package/esm2022/components/scale/scale.component.module.mjs +0 -18
- package/esm2022/components/scale-table/scale-table.component.mjs +0 -61
- package/esm2022/components/scale-table/scale-table.model.mjs +0 -2
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +0 -106
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +0 -22
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +0 -2
- package/esm2022/components/segmented-button/segmented-button.component.mjs +0 -104
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +0 -21
- package/esm2022/components/segmented-button/segmented-button.model.mjs +0 -2
- package/esm2022/components/side-panel/side-panel-data-injection-token.mjs +0 -3
- package/esm2022/components/side-panel/side-panel.animations.mjs +0 -26
- package/esm2022/components/side-panel/side-panel.component.mjs +0 -51
- package/esm2022/components/side-panel/side-panel.model.mjs +0 -23
- package/esm2022/components/side-panel/side-panel.service.mjs +0 -86
- package/esm2022/components/side-sheet/side-sheet.component.mjs +0 -105
- 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 -74
- package/esm2022/components/skeleton/skeleton.model.mjs +0 -2
- package/esm2022/components/slider/slider.component.mjs +0 -256
- package/esm2022/components/slider/slider.component.module.mjs +0 -16
- package/esm2022/components/slider/slider.model.mjs +0 -2
- package/esm2022/components/snackbar/snackbar.component.mjs +0 -218
- package/esm2022/components/snackbar/snackbar.component.module.mjs +0 -25
- package/esm2022/components/snackbar/snackbar.model.mjs +0 -2
- package/esm2022/components/snackbar/snackbar.service.mjs +0 -40
- package/esm2022/components/spider-chart/spider-chart.component.mjs +0 -443
- package/esm2022/components/spider-chart/spider-chart.model.mjs +0 -4
- package/esm2022/components/spider-chart/spider-chart.module.mjs +0 -44
- package/esm2022/components/spinner/spinner.component.mjs +0 -84
- package/esm2022/components/spinner/spinner.model.mjs +0 -2
- package/esm2022/components/spinner/spinner.module.mjs +0 -20
- package/esm2022/components/step/step.component.mjs +0 -209
- package/esm2022/components/step/step.component.module.mjs +0 -21
- package/esm2022/components/stepper/stepper.component.mjs +0 -198
- 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 -273
- package/esm2022/components/table/table.component.module.mjs +0 -61
- package/esm2022/components/table/table.model.mjs +0 -25
- package/esm2022/components/tabs/tab.directive.mjs +0 -63
- package/esm2022/components/tabs/tabs.component.mjs +0 -219
- package/esm2022/components/tabs/tabs.component.module.mjs +0 -23
- package/esm2022/components/tabs/tabs.model.mjs +0 -2
- package/esm2022/components/tag/tag.component.mjs +0 -212
- package/esm2022/components/tag/tag.component.module.mjs +0 -24
- package/esm2022/components/tag/tag.model.mjs +0 -2
- package/esm2022/components/toggle/toggle.component.mjs +0 -190
- package/esm2022/components/toggle/toggle.component.module.mjs +0 -24
- package/esm2022/components/toggle/toggle.model.mjs +0 -2
- package/esm2022/components/tooltip/tooltip-template.directive.mjs +0 -133
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -108
- package/esm2022/components/tooltip/tooltip.component.module.mjs +0 -27
- package/esm2022/components/tooltip/tooltip.model.mjs +0 -8
- package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +0 -80
- package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +0 -43
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +0 -109
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +0 -52
- package/esm2022/components/validation-error/validation-error.component.mjs +0 -55
- 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 -77
- package/esm2022/directives/drag-drop.directive.mjs +0 -55
- package/esm2022/directives/dynamic-component.directive.mjs +0 -40
- package/esm2022/directives/ellipse-text.directive.mjs +0 -51
- package/esm2022/directives/select-text.directive.mjs +0 -40
- package/esm2022/directives/step-line-element.directive.mjs +0 -51
- package/esm2022/models/application-theme.model.mjs +0 -2
- package/esm2022/models/checkbox.model.mjs +0 -2
- package/esm2022/models/colors.model.mjs +0 -78
- package/esm2022/models/keyboard-events.model.mjs +0 -13
- package/esm2022/models/screen-breakpoints.model.mjs +0 -7
- package/esm2022/models/universal-skills-report.model.mjs +0 -33
- package/esm2022/pipes/data-property-getter.mjs +0 -33
- package/esm2022/pipes/has-validation-error.pipe.mjs +0 -27
- package/esm2022/pipes/memoize-func.pipe.mjs +0 -39
- package/esm2022/pipes/name-initials.pipe.mjs +0 -25
- package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +0 -31
- package/esm2022/pipes/ui-translate.pipe.mjs +0 -81
- package/esm2022/providers/is-large-tablet.mjs +0 -11
- package/esm2022/providers/is-mobile.mjs +0 -11
- package/esm2022/public-api.mjs +0 -239
- package/esm2022/services/icons.service.mjs +0 -22
- package/esm2022/services/universal-skills.service.mjs +0 -85
- 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 -34
- package/esm2022/utils/autocomplete-utils.mjs +0 -78
- package/esm2022/utils/color-contrast.mjs +0 -131
- package/esm2022/utils/hex-to-rgb.mjs +0 -9
- package/esm2022/utils/localization/language.model.mjs +0 -16
- package/esm2022/utils/localization/language.service.mjs +0 -44
- package/esm2022/utils/table.utils.mjs +0 -25
- package/models/application-theme.model.d.ts +0 -1
- package/models/checkbox.model.d.ts +0 -1
- package/models/colors.model.d.ts +0 -63
- package/models/keyboard-events.model.d.ts +0 -11
- package/models/screen-breakpoints.model.d.ts +0 -5
- package/models/universal-skills-report.model.d.ts +0 -44
- package/pipes/data-property-getter.d.ts +0 -8
- package/pipes/has-validation-error.pipe.d.ts +0 -15
- package/pipes/memoize-func.pipe.d.ts +0 -26
- package/pipes/name-initials.pipe.d.ts +0 -7
- package/pipes/ui-ordinal-suffix.pipe.d.ts +0 -7
- package/pipes/ui-translate.pipe.d.ts +0 -32
- package/providers/is-large-tablet.d.ts +0 -2
- package/providers/is-mobile.d.ts +0 -2
- package/public-api.d.ts +0 -168
- package/services/icons.service.d.ts +0 -8
- package/services/universal-skills.service.d.ts +0 -13
- package/utils/alert-bar.model.d.ts +0 -2
- package/utils/alert-bars.utils.d.ts +0 -7
- package/utils/autocomplete-utils.d.ts +0 -12
- package/utils/color-contrast.d.ts +0 -28
- package/utils/hex-to-rgb.d.ts +0 -1
- package/utils/localization/language.model.d.ts +0 -14
- package/utils/localization/language.service.d.ts +0 -20
- package/utils/table.utils.d.ts +0 -6
|
@@ -1,333 +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 { adjustLightness } from '../../utils/color-contrast';
|
|
5
|
-
import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
6
|
-
import { UI_DATE_FORMATS, UiDateAdapter } from './date-adapter';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/platform-browser";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
import * as i3 from "./datepicker.service";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "@angular/material/form-field";
|
|
13
|
-
import * as i6 from "@angular/material/input";
|
|
14
|
-
import * as i7 from "../icon/icon.component";
|
|
15
|
-
import * as i8 from "@angular/material/datepicker";
|
|
16
|
-
import * as i9 from "./no-date-format.directive";
|
|
17
|
-
import * as i10 from "../validation-error/validation-error.component";
|
|
18
|
-
import * as i11 from "../../pipes/ui-translate.pipe";
|
|
19
|
-
import * as i12 from "../../pipes/has-validation-error.pipe";
|
|
20
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
21
|
-
export class DatepickerComponent {
|
|
22
|
-
/**
|
|
23
|
-
* Input field errors
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof DatepickerComponent
|
|
27
|
-
*/
|
|
28
|
-
set errors(errors) {
|
|
29
|
-
this._errors = errors?.filter(Boolean).map(error => this.sanitizer.bypassSecurityTrustHtml(error));
|
|
30
|
-
this.errorsLength = this.setErrorsLength();
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Use browser timezone
|
|
34
|
-
* @type boolean
|
|
35
|
-
* @memberof DatepickerComponent
|
|
36
|
-
*/
|
|
37
|
-
set browserTimezone(value) {
|
|
38
|
-
this.datepickerService.useBrowserTimezone = value;
|
|
39
|
-
}
|
|
40
|
-
constructor(defaultAppTheme, cdr, sanitizer, ngControl, datepickerService) {
|
|
41
|
-
this.defaultAppTheme = defaultAppTheme;
|
|
42
|
-
this.cdr = cdr;
|
|
43
|
-
this.sanitizer = sanitizer;
|
|
44
|
-
this.ngControl = ngControl;
|
|
45
|
-
this.datepickerService = datepickerService;
|
|
46
|
-
this.class = 'ui-datepicker';
|
|
47
|
-
/**
|
|
48
|
-
* Form field label
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof DatepickerComponent
|
|
52
|
-
*/
|
|
53
|
-
this.label = '';
|
|
54
|
-
/**
|
|
55
|
-
* Input placeholder
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof DatepickerComponent
|
|
59
|
-
*/
|
|
60
|
-
this.placeholder = '';
|
|
61
|
-
/**
|
|
62
|
-
* Input id
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof DatepickerComponent
|
|
66
|
-
*/
|
|
67
|
-
this.id = '';
|
|
68
|
-
/**
|
|
69
|
-
* Input is update only on blur
|
|
70
|
-
*
|
|
71
|
-
* @type {Boolean}
|
|
72
|
-
* @memberof DatepickerComponent
|
|
73
|
-
*/
|
|
74
|
-
this.updateOnBlur = false;
|
|
75
|
-
/**
|
|
76
|
-
* Show reserved content below form field
|
|
77
|
-
*
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof DatepickerComponent
|
|
80
|
-
*/
|
|
81
|
-
this.showBottomContent = true;
|
|
82
|
-
/**
|
|
83
|
-
* Set full width DatepickerComponent
|
|
84
|
-
*
|
|
85
|
-
* @type {boolean}
|
|
86
|
-
* @memberof DatepickerComponent
|
|
87
|
-
*/
|
|
88
|
-
this.fullWidth = false;
|
|
89
|
-
/**
|
|
90
|
-
* Show and pick date without day
|
|
91
|
-
* @default false
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof DatepickerComponent
|
|
94
|
-
*/
|
|
95
|
-
this.monthPicker = false;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* Defines the application theme
|
|
99
|
-
*
|
|
100
|
-
* @type {ApplicationTheme}
|
|
101
|
-
* @memberof DatepickerComponent
|
|
102
|
-
*/
|
|
103
|
-
this.applicationTheme = 'light';
|
|
104
|
-
/**
|
|
105
|
-
* Hide in-build errors for Reactive Forms
|
|
106
|
-
*
|
|
107
|
-
* @type {number}
|
|
108
|
-
* @memberof DatepickerComponent
|
|
109
|
-
*/
|
|
110
|
-
this.hideBuiltInErrors = false;
|
|
111
|
-
/**
|
|
112
|
-
* Hide label in errors
|
|
113
|
-
*
|
|
114
|
-
* @type {number}
|
|
115
|
-
* @memberof DatepickerComponent
|
|
116
|
-
*/
|
|
117
|
-
this.hideLabelInErrors = false;
|
|
118
|
-
/**
|
|
119
|
-
* Prevent user input
|
|
120
|
-
*
|
|
121
|
-
* @type {boolean}
|
|
122
|
-
* @memberof DatepickerComponent
|
|
123
|
-
*/
|
|
124
|
-
this.preventUserInput = false;
|
|
125
|
-
/**
|
|
126
|
-
* Color of the option hover.
|
|
127
|
-
* Defaults to Test Gorilla primary color.
|
|
128
|
-
*
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @memberof DatepickerComponent
|
|
131
|
-
*/
|
|
132
|
-
this.companyColor = '';
|
|
133
|
-
/**
|
|
134
|
-
* @ignore
|
|
135
|
-
*/
|
|
136
|
-
this.onChange = (_) => { };
|
|
137
|
-
/**
|
|
138
|
-
* @ignore
|
|
139
|
-
*/
|
|
140
|
-
this.onTouch = () => { };
|
|
141
|
-
/**
|
|
142
|
-
* Event emitted when the value is change - when used outside of form
|
|
143
|
-
*
|
|
144
|
-
* @type {Date}
|
|
145
|
-
* @memberof DatepickerComponent
|
|
146
|
-
*/
|
|
147
|
-
this.changed = new EventEmitter();
|
|
148
|
-
this.range = new FormGroup({
|
|
149
|
-
start: new FormControl(null),
|
|
150
|
-
end: new FormControl(null),
|
|
151
|
-
});
|
|
152
|
-
this.translationContext = 'DATEPICKER.';
|
|
153
|
-
if (defaultAppTheme) {
|
|
154
|
-
this.applicationTheme = defaultAppTheme;
|
|
155
|
-
}
|
|
156
|
-
if (this.ngControl != null) {
|
|
157
|
-
this.ngControl.valueAccessor = this;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
get hint() {
|
|
161
|
-
if (this.hintMessage === undefined) {
|
|
162
|
-
return this.isRange ? 'MM/DD/YYYY - MM/DD/YYYY' : this.monthPicker ? 'MM/YYYY' : 'MM/DD/YYYY';
|
|
163
|
-
}
|
|
164
|
-
return this.hintMessage;
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
168
|
-
* to display validation errors that might happen (e.g. required)
|
|
169
|
-
*/
|
|
170
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
171
|
-
ngDoCheck() {
|
|
172
|
-
if (this.ngControl?.touched || this.ngControl?.errors) {
|
|
173
|
-
this.cdr.markForCheck();
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
177
|
-
ngOnInit() {
|
|
178
|
-
document.body.setAttribute('theme', this.applicationTheme);
|
|
179
|
-
this.setStyleVariable();
|
|
180
|
-
}
|
|
181
|
-
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
|
182
|
-
ngOnChanges(changes) {
|
|
183
|
-
if (this.isRange) {
|
|
184
|
-
this.setRange();
|
|
185
|
-
}
|
|
186
|
-
if (changes['companyColor']) {
|
|
187
|
-
this.setStyleVariable();
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
// Set errors length for validation
|
|
191
|
-
// Consider only those errors which which are not empty
|
|
192
|
-
setErrorsLength() {
|
|
193
|
-
if (!!this._errors) {
|
|
194
|
-
return this._errors.filter(err => !!err).length > 0 ? true : false;
|
|
195
|
-
}
|
|
196
|
-
return false;
|
|
197
|
-
}
|
|
198
|
-
onValueChange(value) {
|
|
199
|
-
this.writeValue(value);
|
|
200
|
-
this.errorsLength = this.setErrorsLength();
|
|
201
|
-
if (!this.updateOnBlur) {
|
|
202
|
-
this.onTouch();
|
|
203
|
-
}
|
|
204
|
-
this.onChange(value);
|
|
205
|
-
this.changed.emit(value);
|
|
206
|
-
}
|
|
207
|
-
writeValue(value) {
|
|
208
|
-
this.value = value;
|
|
209
|
-
if (this.isRange) {
|
|
210
|
-
this.setRange();
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
registerOnChange(fn) {
|
|
214
|
-
this.onChange = fn;
|
|
215
|
-
}
|
|
216
|
-
registerOnTouched(fn) {
|
|
217
|
-
this.onTouch = fn;
|
|
218
|
-
}
|
|
219
|
-
setDisabledState(isDisabled) {
|
|
220
|
-
this.disabled = isDisabled;
|
|
221
|
-
this.cdr.markForCheck();
|
|
222
|
-
}
|
|
223
|
-
dateRangeChange() {
|
|
224
|
-
const start = this.range.controls.start.value;
|
|
225
|
-
const end = this.range.controls.end.value;
|
|
226
|
-
this.onValueChange([start ? new Date(start) : start, end ? new Date(end) : end]);
|
|
227
|
-
}
|
|
228
|
-
setMonthAndYear(normalizedMonthAndYear, datepicker) {
|
|
229
|
-
const ctrlValue = this.value || new Date();
|
|
230
|
-
ctrlValue.setMonth(normalizedMonthAndYear.getMonth());
|
|
231
|
-
ctrlValue.setFullYear(normalizedMonthAndYear.getFullYear());
|
|
232
|
-
datepicker.close();
|
|
233
|
-
this.onValueChange(new Date(ctrlValue));
|
|
234
|
-
}
|
|
235
|
-
setRange() {
|
|
236
|
-
if (Array.isArray(this.value)) {
|
|
237
|
-
const [start, end] = this.value;
|
|
238
|
-
if (start) {
|
|
239
|
-
this.range.controls.start.setValue(new Date(start));
|
|
240
|
-
}
|
|
241
|
-
if (end) {
|
|
242
|
-
this.range.controls.end.setValue(new Date(end));
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
if (!this.value) {
|
|
246
|
-
this.range.controls.start.setValue(null);
|
|
247
|
-
this.range.controls.end.setValue(null);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
onInput(event) {
|
|
251
|
-
const target = event.target;
|
|
252
|
-
const [month, year] = target.value.split('/');
|
|
253
|
-
const date = new Date().getDate();
|
|
254
|
-
const fullDateString = `${month}/${date}/${year}`;
|
|
255
|
-
const fullDate = new Date(fullDateString);
|
|
256
|
-
this.onValueChange(fullDate);
|
|
257
|
-
}
|
|
258
|
-
setStyleVariable() {
|
|
259
|
-
const hover = this.companyColor ? adjustLightness(this.companyColor, 'hover') : '#FFF2FC';
|
|
260
|
-
document.body.style.setProperty('--datepicker-hover-color', hover);
|
|
261
|
-
document.body.style.setProperty('--datepicker-selected-color', `${this.companyColor || '#D410AA'}`);
|
|
262
|
-
}
|
|
263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", 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 }, { token: i3.DatepickerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
264
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", 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", showBottomContent: "showBottomContent", fullWidth: "fullWidth", minDate: "minDate", maxDate: "maxDate", monthPicker: "monthPicker", applicationTheme: "applicationTheme", hideBuiltInErrors: "hideBuiltInErrors", hideLabelInErrors: "hideLabelInErrors", preventUserInput: "preventUserInput", companyColor: "companyColor", browserTimezone: "browserTimezone" }, outputs: { changed: "changed" }, host: { properties: { "class": "this.class" } }, providers: [
|
|
265
|
-
{ provide: DateAdapter, useClass: UiDateAdapter },
|
|
266
|
-
{ provide: MAT_DATE_FORMATS, useValue: UI_DATE_FORMATS },
|
|
267
|
-
], usesOnChanges: true, ngImport: i0, template: "@if (monthPicker) {\n <mat-form-field\n appNoDateFormat\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n\n <input\n 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\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker\n panelClass=\"month-picker\"\n #dp\n startView=\"multi-year\"\n (monthSelected)=\"setMonthAndYear($event, dp)\"\n ></mat-datepicker>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n} @else {\n @if (isRange) {\n <mat-form-field\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n\n <mat-date-range-input [formGroup]=\"range\" [rangePicker]=\"rangePicker\" [min]=\"minDate\" [max]=\"maxDate\">\n <input\n matStartDate\n formControlName=\"start\"\n [placeholder]=\"translationContext + 'START_DATE' | uiTranslate | async\"\n (dateChange)=\"dateRangeChange()\"\n />\n <input\n matEndDate\n formControlName=\"end\"\n [placeholder]=\"translationContext + 'END_DATE' | uiTranslate | async\"\n (dateChange)=\"dateRangeChange()\"\n />\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"rangePicker\">\n <ui-icon\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-date-range-picker #rangePicker></mat-date-range-picker>\n\n <mat-hint\n class=\"info\"\n *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n } @else {\n <mat-form-field\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n <input\n 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\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n\n <mat-hint\n class=\"info\"\n *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n }\n}\n\n<ng-template #labelTpl>{{ label }}<span *ngIf=\"required\"> *</span></ng-template>\n<ng-template #hintsTpl>\n @if (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 }\n <ui-validation-error\n *ngIf=\"ngControl && !hideBuiltInErrors\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors ? null : label\"\n ></ui-validation-error>\n</ng-template>\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-form-field-appearance-outline .mat-mdc-form-field-icon-suffix{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:var(--datepicker-hover-color)}[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:var(--datepicker-hover-color)}[theme=dark] .mat-datepicker-content .mat-calendar-body-selected,[theme=light] .mat-datepicker-content .mat-calendar-body-selected{background-color:var(--datepicker-selected-color)}[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: var(--datepicker-hover-color)}.info{margin-top:4px!important;padding-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i6.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: i7.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { 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: i8.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i8.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i8.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "directive", type: i8.MatDatepickerToggleIcon, selector: "[matDatepickerToggleIcon]" }, { kind: "component", type: i8.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i8.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i8.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i8.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: i9.NoDateFormatDirective, selector: "[appNoDateFormat]" }, { kind: "component", type: i10.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.UiTranslatePipe, name: "uiTranslate" }, { kind: "pipe", type: i12.HasValidationErrorPipe, name: "hasValidationError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
268
|
-
}
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
270
|
-
type: Component,
|
|
271
|
-
args: [{ selector: 'ui-datepicker', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
272
|
-
{ provide: DateAdapter, useClass: UiDateAdapter },
|
|
273
|
-
{ provide: MAT_DATE_FORMATS, useValue: UI_DATE_FORMATS },
|
|
274
|
-
], template: "@if (monthPicker) {\n <mat-form-field\n appNoDateFormat\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n\n <input\n 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\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker\n panelClass=\"month-picker\"\n #dp\n startView=\"multi-year\"\n (monthSelected)=\"setMonthAndYear($event, dp)\"\n ></mat-datepicker>\n\n <mat-hint class=\"info\" *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n} @else {\n @if (isRange) {\n <mat-form-field\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n\n <mat-date-range-input [formGroup]=\"range\" [rangePicker]=\"rangePicker\" [min]=\"minDate\" [max]=\"maxDate\">\n <input\n matStartDate\n formControlName=\"start\"\n [placeholder]=\"translationContext + 'START_DATE' | uiTranslate | async\"\n (dateChange)=\"dateRangeChange()\"\n />\n <input\n matEndDate\n formControlName=\"end\"\n [placeholder]=\"translationContext + 'END_DATE' | uiTranslate | async\"\n (dateChange)=\"dateRangeChange()\"\n />\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"rangePicker\">\n <ui-icon\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-date-range-picker #rangePicker></mat-date-range-picker>\n\n <mat-hint\n class=\"info\"\n *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n } @else {\n <mat-form-field\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\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\"></ng-container>\n </mat-label>\n <input\n 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\n matDatepickerToggleIcon\n [applicationTheme]=\"applicationTheme\"\n name=\"Calendar\"\n size=\"24\"\n color=\"inherit\"\n ></ui-icon>\n </mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n\n <mat-hint\n class=\"info\"\n *ngIf=\"hint && !_errors && !(ngControl?.touched && (ngControl?.errors | hasValidationError))\"\n >{{ hint }}\n </mat-hint>\n <mat-hint class=\"error\" *ngIf=\"errorsLength || (ngControl?.touched && (ngControl?.errors | hasValidationError))\">\n <ng-container [ngTemplateOutlet]=\"hintsTpl\"></ng-container>\n </mat-hint>\n </mat-form-field>\n }\n}\n\n<ng-template #labelTpl>{{ label }}<span *ngIf=\"required\"> *</span></ng-template>\n<ng-template #hintsTpl>\n @if (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 }\n <ui-validation-error\n *ngIf=\"ngControl && !hideBuiltInErrors\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors ? null : label\"\n ></ui-validation-error>\n</ng-template>\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-form-field-appearance-outline .mat-mdc-form-field-icon-suffix{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:var(--datepicker-hover-color)}[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:var(--datepicker-hover-color)}[theme=dark] .mat-datepicker-content .mat-calendar-body-selected,[theme=light] .mat-datepicker-content .mat-calendar-body-selected{background-color:var(--datepicker-selected-color)}[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: var(--datepicker-hover-color)}.info{margin-top:4px!important;padding-bottom:10px}\n"] }]
|
|
275
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
276
|
-
type: Optional
|
|
277
|
-
}, {
|
|
278
|
-
type: Inject,
|
|
279
|
-
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
280
|
-
}] }, { type: i0.ChangeDetectorRef }, { type: i1.DomSanitizer }, { type: i2.NgControl, decorators: [{
|
|
281
|
-
type: Optional
|
|
282
|
-
}, {
|
|
283
|
-
type: Self
|
|
284
|
-
}] }, { type: i3.DatepickerService }], propDecorators: { class: [{
|
|
285
|
-
type: HostBinding
|
|
286
|
-
}], label: [{
|
|
287
|
-
type: Input
|
|
288
|
-
}], fieldName: [{
|
|
289
|
-
type: Input
|
|
290
|
-
}], placeholder: [{
|
|
291
|
-
type: Input
|
|
292
|
-
}], id: [{
|
|
293
|
-
type: Input
|
|
294
|
-
}], value: [{
|
|
295
|
-
type: Input
|
|
296
|
-
}], errors: [{
|
|
297
|
-
type: Input
|
|
298
|
-
}], isRange: [{
|
|
299
|
-
type: Input
|
|
300
|
-
}], disabled: [{
|
|
301
|
-
type: Input
|
|
302
|
-
}], required: [{
|
|
303
|
-
type: Input
|
|
304
|
-
}], hintMessage: [{
|
|
305
|
-
type: Input
|
|
306
|
-
}], updateOnBlur: [{
|
|
307
|
-
type: Input
|
|
308
|
-
}], showBottomContent: [{
|
|
309
|
-
type: Input
|
|
310
|
-
}], fullWidth: [{
|
|
311
|
-
type: Input
|
|
312
|
-
}], minDate: [{
|
|
313
|
-
type: Input
|
|
314
|
-
}], maxDate: [{
|
|
315
|
-
type: Input
|
|
316
|
-
}], monthPicker: [{
|
|
317
|
-
type: Input
|
|
318
|
-
}], applicationTheme: [{
|
|
319
|
-
type: Input
|
|
320
|
-
}], hideBuiltInErrors: [{
|
|
321
|
-
type: Input
|
|
322
|
-
}], hideLabelInErrors: [{
|
|
323
|
-
type: Input
|
|
324
|
-
}], preventUserInput: [{
|
|
325
|
-
type: Input
|
|
326
|
-
}], companyColor: [{
|
|
327
|
-
type: Input
|
|
328
|
-
}], browserTimezone: [{
|
|
329
|
-
type: Input
|
|
330
|
-
}], changed: [{
|
|
331
|
-
type: Output
|
|
332
|
-
}] } });
|
|
333
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvZGF0ZXBpY2tlci9kYXRlcGlja2VyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9kYXRlcGlja2VyL2RhdGVwaWNrZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseUNBQXlDO0FBQ3pDLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUVULFlBQVksRUFDWixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFFTCxRQUFRLEVBQ1IsTUFBTSxFQUNOLElBQUksRUFFSixpQkFBaUIsR0FFbEIsTUFBTSxlQUFlL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RhdGlvbkVycm9yKSlcIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJoaW50c1RwbFwiPjwvbmctY29udGFpbmVyPlxuICAgICAgPC9tYXQtaGludD5cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICB9XG59XG5cbjxuZy10ZW1wbGF0ZSAjbGFiZWxUcGw+e3sgbGFiZWwgfX08c3BhbiAqbmdJZj1cInJlcXVpcmVkXCI+ICo8L3NwYW4+PC9uZy10ZW1wbGF0ZT5cbjxuZy10ZW1wbGF0ZSAjaGludHNUcGw+XG4gIEBpZiAoZXJyb3JzTGVuZ3RoKSB7XG4gICAgPGRpdiBjbGFzcz1cImVycm9yc1wiICpuZ0Zvcj1cImxldCBlcnJvciBvZiBfZXJyb3JzXCI+XG4gICAgICA8dWktaWNvbiBbYXBwbGljYXRpb25UaGVtZV09XCJhcHBsaWNhdGlvblRoZW1lXCIgbmFtZT1cIkVycm9yXCI+PC91aS1pY29uPlxuICAgICAgPHNwYW4gW2lubmVySFRNTF09XCJlcnJvclwiPjwvc3Bhbj5cbiAgICA8L2Rpdj5cbiAgfVxuICA8dWktdmFsaWRhdGlvbi1lcnJvclxuICAgICpuZ0lmPVwibmdDb250cm9sICYmICFoaWRlQnVpbHRJbkVycm9yc1wiXG4gICAgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIlxuICAgIFtsYWJlbF09XCJoaWRlTGFiZWxJbkVycm9ycyA/IG51bGwgOiBsYWJlbFwiXG4gID48L3VpLXZhbGlkYXRpb24tZXJyb3I+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -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: "18.2.13", ngImport: i0, type: DatepickerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
17
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", 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: "18.2.13", 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: "18.2.13", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RhdGVwaWNrZXIvZGF0ZXBpY2tlci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzdELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ25FLE9BQU8sRUFBRSxXQUFXLE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angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class DatepickerService {
|
|
4
|
-
#useBrowserTimezone = false;
|
|
5
|
-
set useBrowserTimezone(value) {
|
|
6
|
-
this.#useBrowserTimezone = value;
|
|
7
|
-
}
|
|
8
|
-
get useBrowserTimezone() {
|
|
9
|
-
return this.#useBrowserTimezone;
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatepickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatepickerService, providedIn: 'root' }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatepickerService, decorators: [{
|
|
15
|
-
type: Injectable,
|
|
16
|
-
args: [{
|
|
17
|
-
providedIn: 'root'
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RhdGVwaWNrZXIvZGF0ZXBpY2tlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxpQkFBaUI7SUFDNUIsbUJBQW1CLEdBQUcsS0FBSyxDQUFDO0lBRTVCLElBQUksa0JBQWtCLENBQUMsS0FBYztRQUNuQyxJQUFJLENBQUMsbUJBQW1CLEdBQUcsS0FBSyxDQUFDO0lBQ25DLENBQUM7SUFFRCxJQUFJLGtCQUFrQjtRQUNwQixPQUFPLElBQUksQ0FBQyxtQkFBbUIsQ0FBQztJQUNsQyxDQUFDOytHQVRVLGlCQUFpQjttSEFBakIsaUJBQWlCLGNBRmhCLE1BQU07OzRGQUVQLGlCQUFpQjtrQkFIN0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIERhdGVwaWNrZXJTZXJ2aWNlIHtcbiAgI3VzZUJyb3dzZXJUaW1lem9uZSA9IGZhbHNlO1xuXG4gIHNldCB1c2VCcm93c2VyVGltZXpvbmUodmFsdWU6IGJvb2xlYW4pIHtcbiAgICB0aGlzLiN1c2VCcm93c2VyVGltZXpvbmUgPSB2YWx1ZTtcbiAgfVxuXG4gIGdldCB1c2VCcm93c2VyVGltZXpvbmUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuI3VzZUJyb3dzZXJUaW1lem9uZTtcbiAgfVxufVxuIl19
|
|
@@ -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: "18.2.13", ngImport: i0, type: CustomDateAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CustomDateAdapter }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", 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: "18.2.13", ngImport: i0, type: NoDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
28
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", 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: "18.2.13", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tZGF0ZS1mb3JtYXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2RhdGVwaWNrZXIvbm8tZGF0ZS1mb3JtYXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sRUFDTCxXQUFXLEVBQ1gsZ0JBQWdCLEVBRWhCLGlCQUFpQixHQUNsQixNQUFNLHdCQUF3QixDQUFDO0FBQ2hDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFHN0MsTUFBTSxPQUFPLGlCQUFrQixTQUFRLGlCQUFpQjtJQUM3QyxNQUFNLENBQUMsSUFBVTtRQUN4QixPQUFPLFVBQVUsQ0FBQyxJQUFJLEVBQUUsU0FBUyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQzlDLENBQUM7K0dBSFUsaUJBQWlCO21IQUFqQixpQkFBaUI7OzRGQUFqQixpQkFBaUI7a0JBRDdCLFVBQVU7O0FBT1gsTUFBTSxPQUFPLEdBQW1CO0lBQzlCLEtBQUssRUFBRTtRQUNMLFNBQVMsRUFBRSxTQUFTO0tBQ3JCO0lBQ0QsT0FBTyxFQUFFO1FBQ1A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