@gettrx/core-components-angular 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/atoms/badge/gtr-badge.component.mjs +77 -0
- package/esm2022/lib/atoms/badge/gtr-badge.module.mjs +19 -0
- package/esm2022/lib/atoms/badge/public_api.mjs +3 -3
- package/esm2022/lib/atoms/button/gtr-button.component.mjs +60 -0
- package/esm2022/lib/atoms/button/gtr-button.module.mjs +19 -0
- package/esm2022/lib/atoms/button/gtr-button.types.mjs +2 -0
- package/esm2022/lib/atoms/button/index.mjs +3 -3
- package/esm2022/lib/atoms/button-directive/gtr-button-close.directive.mjs +39 -0
- package/esm2022/lib/atoms/button-directive/gtr-button-directive.module.mjs +17 -0
- package/esm2022/lib/atoms/button-directive/gtr-button.directive.mjs +102 -0
- package/esm2022/lib/atoms/button-directive/public_api.mjs +4 -4
- package/esm2022/lib/atoms/icon/gtr-icon.component.mjs +50 -0
- package/esm2022/lib/atoms/icon/gtr-icon.module.mjs +18 -0
- package/esm2022/lib/atoms/icon/public_api.mjs +3 -3
- package/esm2022/lib/atoms/input/gtr-input.component.mjs +375 -0
- package/esm2022/lib/atoms/input/gtr-input.module.mjs +21 -0
- package/esm2022/lib/atoms/input/public_api.mjs +3 -3
- package/esm2022/lib/atoms/input/utils/gtr-input-utils.mjs +26 -0
- package/esm2022/lib/atoms/popover/gtr-popover.component.mjs +147 -0
- package/esm2022/lib/atoms/popover/gtr-popover.module.mjs +18 -0
- package/esm2022/lib/atoms/popover/public_api.mjs +3 -3
- package/esm2022/lib/atoms/radio-button/gtr-radio-button.component.mjs +184 -0
- package/esm2022/lib/atoms/radio-button/gtr-radio-button.module.mjs +19 -0
- package/esm2022/lib/atoms/radio-button/public_api.mjs +3 -3
- package/esm2022/lib/atoms/skeleton/gtr-skeleton.component.mjs +24 -0
- package/esm2022/lib/atoms/skeleton/gtr-skeleton.module.mjs +20 -0
- package/esm2022/lib/atoms/skeleton/public_api.mjs +4 -4
- package/esm2022/lib/atoms/skeleton/utils/gtr-skeleton.directive.mjs +51 -0
- package/esm2022/lib/atoms/switch/gtr-switch.component.mjs +106 -0
- package/esm2022/lib/atoms/switch/gtr-switch.module.mjs +18 -0
- package/esm2022/lib/atoms/switch/public_api.mjs +3 -3
- package/esm2022/lib/atoms/textarea/gtr-textarea.component.mjs +242 -0
- package/esm2022/lib/atoms/textarea/gtr-textarea.module.mjs +21 -0
- package/esm2022/lib/atoms/textarea/public_api.mjs +3 -3
- package/esm2022/lib/atoms/textarea/utils/gtr-textarea.types.mjs +9 -0
- package/esm2022/lib/atoms/tooltip/gtr-tooltip.component.mjs +111 -0
- package/esm2022/lib/atoms/tooltip/gtr-tooltip.module.mjs +18 -0
- package/esm2022/lib/atoms/tooltip/public_api.mjs +3 -3
- package/esm2022/lib/molecules/accordion/accordion/gtr-accordion.component.mjs +108 -0
- package/esm2022/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.mjs +92 -0
- package/esm2022/lib/molecules/accordion/gtr-accordion.module.mjs +21 -0
- package/esm2022/lib/molecules/accordion/public_api.mjs +4 -4
- package/esm2022/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.mjs +20 -0
- package/esm2022/lib/molecules/calendar/calendar/gtr-calendar.component.mjs +428 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.mjs +30 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.mjs +23 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.mjs +22 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.mjs +17 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.mjs +119 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.mjs +19 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.mjs +20 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.mjs +418 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.mjs +17 -0
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.mjs +21 -0
- package/esm2022/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.mjs +85 -0
- package/esm2022/lib/molecules/calendar/gtr-calendar.module.mjs +55 -0
- package/esm2022/lib/molecules/calendar/gtr-calendar.service.mjs +62 -0
- package/esm2022/lib/molecules/calendar/gtr-calendar.utils.mjs +296 -0
- package/esm2022/lib/molecules/calendar/public_api.mjs +5 -5
- package/esm2022/lib/molecules/checkbox/checkbox/{checkbox.component.mjs → gtr-checkbox.component.mjs} +9 -9
- package/esm2022/lib/molecules/checkbox/checkbox/gtr-checkbox.utils.mjs +2 -0
- package/esm2022/lib/molecules/checkbox/gtr-checkbox.module.mjs +20 -0
- package/esm2022/lib/molecules/checkbox/public_api.mjs +4 -4
- package/esm2022/lib/molecules/date-picker/gtr-date-picker.component.mjs +81 -0
- package/esm2022/lib/molecules/date-picker/gtr-date-picker.module.mjs +58 -0
- package/esm2022/lib/molecules/date-picker/public_api.mjs +3 -3
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.mjs +700 -0
- package/esm2022/lib/molecules/date-range-picker/gtr-date-range-picker.module.mjs +60 -0
- package/esm2022/lib/molecules/date-range-picker/public_api.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown/gtr-dropdown.component.mjs +387 -0
- package/esm2022/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.mjs +79 -0
- package/esm2022/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.mjs +93 -0
- package/esm2022/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.mjs +75 -0
- package/esm2022/lib/molecules/dropdown/gtr-dropdown.module.mjs +56 -0
- package/esm2022/lib/molecules/dropdown/gtr-dropdown.service.mjs +18 -0
- package/esm2022/lib/molecules/dropdown/public_api.mjs +10 -10
- package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.component.mjs +144 -0
- package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.model.mjs +2 -0
- package/esm2022/lib/molecules/file-input/gtr-file-input.module.mjs +18 -0
- package/esm2022/lib/molecules/file-input/public_api.mjs +4 -4
- package/esm2022/lib/molecules/form/form/gtr-form.directive.mjs +33 -0
- package/esm2022/lib/molecules/form/form-check/gtr-form-check-input.directive.mjs +62 -0
- package/esm2022/lib/molecules/form/form-check/gtr-form-check-label.directive.mjs +22 -0
- package/esm2022/lib/molecules/form/form-check/gtr-form-check.component.mjs +77 -0
- package/esm2022/lib/molecules/form/form-control/gtr-form-control.directive.mjs +66 -0
- package/esm2022/lib/molecules/form/form-feedback/gtr-form-feedback.component.mjs +38 -0
- package/esm2022/lib/molecules/form/form-floating/gtr-form-floating.directive.mjs +32 -0
- package/esm2022/lib/molecules/form/form-label/gtr-form-label.directive.mjs +40 -0
- package/esm2022/lib/molecules/form/form-select/gtr-form-select.directive.mjs +35 -0
- package/esm2022/lib/molecules/form/form-text/gtr-form-text.directive.mjs +22 -0
- package/esm2022/lib/molecules/form/gtr-form.module.mjs +75 -0
- package/esm2022/lib/molecules/form/input-group/gtr-input-group.component.mjs +32 -0
- package/esm2022/lib/molecules/form/input-group-text/gtr-input-group-text.directive.mjs +23 -0
- package/esm2022/lib/molecules/form/public_api.mjs +14 -14
- package/esm2022/lib/molecules/modal/gtr-modal.component.mjs +148 -0
- package/esm2022/lib/molecules/modal/gtr-modal.module.mjs +18 -0
- package/esm2022/lib/molecules/modal/public_api.mjs +3 -3
- package/esm2022/lib/molecules/numeric-counter/gtr-numeric-counter.module.mjs +19 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/{numeric-counter.component.mjs → gtr-numeric-counter.component.mjs} +9 -9
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.mjs +2 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.type.mjs +2 -0
- package/esm2022/lib/molecules/numeric-counter/public_api.mjs +5 -5
- package/esm2022/lib/molecules/pagination/gtr-pagination.module.mjs +36 -0
- package/esm2022/lib/molecules/pagination/helpers/models/gtr-pagination.interface.mjs +2 -0
- package/esm2022/lib/molecules/pagination/helpers/models/gtr-pagination.model.mjs +3 -0
- package/esm2022/lib/molecules/pagination/helpers/models/index.mjs +3 -3
- package/esm2022/lib/molecules/pagination/helpers/pipes/index.mjs +2 -2
- package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.mjs +21 -0
- package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.component.mjs +146 -0
- package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.utils.mjs +80 -0
- package/esm2022/lib/molecules/pagination/public_api.mjs +4 -4
- package/esm2022/lib/molecules/select/gtr-select.module.mjs +37 -0
- package/esm2022/lib/molecules/select/helpers/enums/gtr-select.enums.mjs +6 -0
- package/esm2022/lib/molecules/select/helpers/enums/index.mjs +2 -2
- package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.mjs +57 -0
- package/esm2022/lib/molecules/select/helpers/pipes/index.mjs +3 -3
- package/esm2022/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.mjs +26 -0
- package/esm2022/lib/molecules/select/helpers/types/gtr-select.type.mjs +2 -0
- package/esm2022/lib/molecules/select/helpers/types/index.mjs +2 -2
- package/esm2022/lib/molecules/select/public_api.mjs +3 -3
- package/esm2022/lib/molecules/select/select/gtr-select.component.mjs +445 -0
- package/esm2022/lib/molecules/shared/gtr-html-attr.directive.mjs +55 -0
- package/esm2022/lib/molecules/shared/gtr-shared.module.mjs +22 -0
- package/esm2022/lib/molecules/shared/gtr-template-id.directive.mjs +20 -0
- package/esm2022/lib/molecules/shared/public_api.mjs +4 -4
- package/esm2022/lib/molecules/stat-card/gtr-stat-card.component.mjs +135 -0
- package/esm2022/lib/molecules/stat-card/gtr-stat-card.module.mjs +22 -0
- package/esm2022/lib/molecules/stat-card/public_api.mjs +3 -3
- package/esm2022/lib/molecules/time-picker/gtr-time-picker.component.mjs +512 -0
- package/esm2022/lib/molecules/time-picker/gtr-time-picker.module.mjs +51 -0
- package/esm2022/lib/molecules/time-picker/gtr-time.utils.mjs +676 -0
- package/esm2022/lib/molecules/time-picker/public_api.mjs +3 -3
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.mjs +106 -0
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.mjs +107 -0
- package/fesm2022/gettrx-core-components-angular.mjs +801 -786
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/lib/atoms/badge/gtr-badge.component.d.ts +25 -0
- package/lib/atoms/badge/gtr-badge.module.d.ts +9 -0
- package/lib/atoms/badge/public_api.d.ts +2 -2
- package/lib/atoms/button/{button.component.d.ts → gtr-button.component.d.ts} +4 -4
- package/lib/atoms/button/gtr-button.module.d.ts +9 -0
- package/lib/atoms/button/index.d.ts +2 -2
- package/lib/atoms/button-directive/gtr-button-close.directive.d.ts +13 -0
- package/lib/atoms/button-directive/gtr-button-directive.module.d.ts +8 -0
- package/lib/atoms/button-directive/{button.directive.d.ts → gtr-button.directive.d.ts} +3 -3
- package/lib/atoms/button-directive/public_api.d.ts +3 -3
- package/lib/atoms/icon/gtr-icon.component.d.ts +28 -0
- package/lib/atoms/icon/gtr-icon.module.d.ts +8 -0
- package/lib/atoms/icon/public_api.d.ts +2 -2
- package/lib/atoms/input/{input.component.d.ts → gtr-input.component.d.ts} +5 -5
- package/lib/atoms/input/gtr-input.module.d.ts +10 -0
- package/lib/atoms/input/public_api.d.ts +2 -2
- package/lib/atoms/input/utils/{input-utils.d.ts → gtr-input-utils.d.ts} +5 -5
- package/lib/atoms/popover/gtr-popover.component.d.ts +35 -0
- package/lib/atoms/popover/gtr-popover.module.d.ts +8 -0
- package/lib/atoms/popover/public_api.d.ts +2 -2
- package/lib/atoms/radio-button/{radio-button.component.d.ts → gtr-radio-button.component.d.ts} +3 -3
- package/lib/atoms/radio-button/{radio-button.module.d.ts → gtr-radio-button.module.d.ts} +2 -2
- package/lib/atoms/radio-button/public_api.d.ts +2 -2
- package/lib/atoms/skeleton/gtr-skeleton.component.d.ts +12 -0
- package/lib/atoms/skeleton/gtr-skeleton.module.d.ts +9 -0
- package/lib/atoms/skeleton/public_api.d.ts +3 -3
- package/lib/atoms/skeleton/utils/gtr-skeleton.directive.d.ts +15 -0
- package/lib/atoms/switch/{switch.component.d.ts → gtr-switch.component.d.ts} +3 -3
- package/lib/atoms/switch/gtr-switch.module.d.ts +8 -0
- package/lib/atoms/switch/public_api.d.ts +2 -2
- package/lib/atoms/textarea/{textarea.component.d.ts → gtr-textarea.component.d.ts} +5 -5
- package/lib/atoms/textarea/gtr-textarea.module.d.ts +10 -0
- package/lib/atoms/textarea/public_api.d.ts +2 -2
- package/lib/atoms/textarea/utils/{textarea.types.d.ts → gtr-textarea.types.d.ts} +3 -3
- package/lib/atoms/tooltip/{tooltip.component.d.ts → gtr-tooltip.component.d.ts} +3 -3
- package/lib/atoms/tooltip/gtr-tooltip.module.d.ts +8 -0
- package/lib/atoms/tooltip/public_api.d.ts +2 -2
- package/lib/molecules/accordion/accordion/{accordion.component.d.ts → gtr-accordion.component.d.ts} +3 -3
- package/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.d.ts +37 -0
- package/lib/molecules/accordion/gtr-accordion.module.d.ts +11 -0
- package/lib/molecules/accordion/public_api.d.ts +3 -3
- package/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar/{calendar.component.d.ts → gtr-calendar.component.d.ts} +13 -13
- package/lib/molecules/calendar/calendar-month/{calendar-class-day.pipe.d.ts → gtr-calendar-class-day.pipe.d.ts} +3 -3
- package/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/{calendar-day.directive.d.ts → gtr-calendar-day.directive.d.ts} +5 -5
- package/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.d.ts +8 -0
- package/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/{calendar-month.component.d.ts → gtr-calendar-month.component.d.ts} +8 -8
- package/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.d.ts +8 -0
- package/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.d.ts +32 -0
- package/lib/molecules/calendar/gtr-calendar.module.d.ts +19 -0
- package/lib/molecules/calendar/gtr-calendar.service.d.ts +36 -0
- package/lib/molecules/calendar/public_api.d.ts +4 -4
- package/lib/molecules/checkbox/checkbox/{checkbox.component.d.ts → gtr-checkbox.component.d.ts} +4 -4
- package/lib/molecules/checkbox/gtr-checkbox.module.d.ts +10 -0
- package/lib/molecules/checkbox/public_api.d.ts +3 -3
- package/lib/molecules/date-picker/{date-picker.component.d.ts → gtr-date-picker.component.d.ts} +4 -4
- package/lib/molecules/date-picker/gtr-date-picker.module.d.ts +18 -0
- package/lib/molecules/date-picker/public_api.d.ts +2 -2
- package/lib/molecules/date-range-picker/date-range-picker/{date-range-picker.component.d.ts → gtr-date-range-picker.component.d.ts} +13 -13
- package/lib/molecules/date-range-picker/gtr-date-range-picker.module.d.ts +18 -0
- package/lib/molecules/date-range-picker/public_api.d.ts +2 -2
- package/lib/molecules/dropdown/dropdown/{dropdown.component.d.ts → gtr-dropdown.component.d.ts} +17 -17
- package/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.d.ts +26 -0
- package/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.d.ts +36 -0
- package/lib/molecules/dropdown/dropdown-menu/{dropdown-menu.directive.d.ts → gtr-dropdown-menu.directive.d.ts} +5 -5
- package/lib/molecules/dropdown/gtr-dropdown.module.d.ts +13 -0
- package/lib/molecules/dropdown/gtr-dropdown.service.d.ts +13 -0
- package/lib/molecules/dropdown/public_api.d.ts +9 -9
- package/lib/molecules/file-input/file-input/{file-input.component.d.ts → gtr-file-input.component.d.ts} +4 -4
- package/lib/molecules/file-input/gtr-file-input.module.d.ts +8 -0
- package/lib/molecules/file-input/public_api.d.ts +3 -3
- package/lib/molecules/form/form/{form.directive.d.ts → gtr-form.directive.d.ts} +3 -3
- package/lib/molecules/form/form-check/{form-check-input.directive.d.ts → gtr-form-check-input.directive.d.ts} +3 -3
- package/lib/molecules/form/form-check/gtr-form-check-label.directive.d.ts +6 -0
- package/lib/molecules/form/form-check/{form-check.component.d.ts → gtr-form-check.component.d.ts} +5 -5
- package/lib/molecules/form/form-control/{form-control.directive.d.ts → gtr-form-control.directive.d.ts} +3 -3
- package/lib/molecules/form/form-feedback/{form-feedback.component.d.ts → gtr-form-feedback.component.d.ts} +3 -3
- package/lib/molecules/form/form-floating/gtr-form-floating.directive.d.ts +12 -0
- package/lib/molecules/form/form-label/{form-label.directive.d.ts → gtr-form-label.directive.d.ts} +3 -3
- package/lib/molecules/form/form-select/gtr-form-select.directive.d.ts +16 -0
- package/lib/molecules/form/form-text/gtr-form-text.directive.d.ts +6 -0
- package/lib/molecules/form/gtr-form.module.d.ts +18 -0
- package/lib/molecules/form/input-group/gtr-input-group.component.d.ts +11 -0
- package/lib/molecules/form/input-group-text/gtr-input-group-text.directive.d.ts +7 -0
- package/lib/molecules/form/public_api.d.ts +13 -13
- package/lib/molecules/modal/{modal.component.d.ts → gtr-modal.component.d.ts} +3 -3
- package/lib/molecules/modal/gtr-modal.module.d.ts +8 -0
- package/lib/molecules/modal/public_api.d.ts +2 -2
- package/lib/molecules/numeric-counter/gtr-numeric-counter.module.d.ts +9 -0
- package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.d.ts +27 -0
- package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.d.ts +1 -0
- package/lib/molecules/numeric-counter/public_api.d.ts +4 -4
- package/lib/molecules/pagination/gtr-pagination.module.d.ts +11 -0
- package/lib/molecules/pagination/helpers/models/index.d.ts +2 -2
- package/lib/molecules/pagination/helpers/pipes/index.d.ts +1 -1
- package/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.d.ts +8 -0
- package/lib/molecules/pagination/pagination/{pagination.component.d.ts → gtr-pagination.component.d.ts} +4 -4
- package/lib/molecules/pagination/public_api.d.ts +3 -3
- package/lib/molecules/select/gtr-select.module.d.ts +12 -0
- package/lib/molecules/select/helpers/enums/index.d.ts +1 -1
- package/lib/molecules/select/helpers/pipes/format-selected-value/{format-selected-value.pipe.d.ts → gtr-format-selected-value.pipe.d.ts} +3 -3
- package/lib/molecules/select/helpers/pipes/index.d.ts +2 -2
- package/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.d.ts +7 -0
- package/lib/molecules/select/helpers/types/index.d.ts +1 -1
- package/lib/molecules/select/public_api.d.ts +2 -2
- package/lib/molecules/select/select/{select.component.d.ts → gtr-select.component.d.ts} +3 -3
- package/lib/molecules/shared/gtr-html-attr.directive.d.ts +16 -0
- package/lib/molecules/shared/gtr-shared.module.d.ts +10 -0
- package/lib/molecules/shared/gtr-template-id.directive.d.ts +9 -0
- package/lib/molecules/shared/public_api.d.ts +3 -3
- package/lib/molecules/stat-card/{stat-card.component.d.ts → gtr-stat-card.component.d.ts} +3 -3
- package/lib/molecules/stat-card/gtr-stat-card.module.d.ts +11 -0
- package/lib/molecules/stat-card/public_api.d.ts +2 -2
- package/lib/molecules/time-picker/{time-picker.component.d.ts → gtr-time-picker.component.d.ts} +6 -6
- package/lib/molecules/time-picker/gtr-time-picker.module.d.ts +14 -0
- package/lib/molecules/time-picker/public_api.d.ts +2 -2
- package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.d.ts +39 -0
- package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.d.ts +38 -0
- package/package.json +3 -3
- package/esm2022/lib/atoms/badge/badge.component.mjs +0 -77
- package/esm2022/lib/atoms/badge/badge.module.mjs +0 -19
- package/esm2022/lib/atoms/button/button.component.mjs +0 -60
- package/esm2022/lib/atoms/button/button.module.mjs +0 -19
- package/esm2022/lib/atoms/button/utils/utils.mjs +0 -2
- package/esm2022/lib/atoms/button-directive/button-close.directive.mjs +0 -39
- package/esm2022/lib/atoms/button-directive/button-directive.module.mjs +0 -17
- package/esm2022/lib/atoms/button-directive/button.directive.mjs +0 -102
- package/esm2022/lib/atoms/icon/icon.component.mjs +0 -50
- package/esm2022/lib/atoms/icon/icon.module.mjs +0 -18
- package/esm2022/lib/atoms/input/input.component.mjs +0 -375
- package/esm2022/lib/atoms/input/input.module.mjs +0 -21
- package/esm2022/lib/atoms/input/utils/input-utils.mjs +0 -26
- package/esm2022/lib/atoms/popover/popover.component.mjs +0 -147
- package/esm2022/lib/atoms/popover/popover.module.mjs +0 -18
- package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +0 -184
- package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +0 -19
- package/esm2022/lib/atoms/skeleton/skeleton.component.mjs +0 -24
- package/esm2022/lib/atoms/skeleton/skeleton.module.mjs +0 -20
- package/esm2022/lib/atoms/skeleton/utils/skeleton.directive.mjs +0 -51
- package/esm2022/lib/atoms/switch/switch.component.mjs +0 -106
- package/esm2022/lib/atoms/switch/switch.module.mjs +0 -18
- package/esm2022/lib/atoms/textarea/textarea.component.mjs +0 -242
- package/esm2022/lib/atoms/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/atoms/textarea/utils/textarea.types.mjs +0 -9
- package/esm2022/lib/atoms/tooltip/tooltip.component.mjs +0 -111
- package/esm2022/lib/atoms/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/lib/molecules/accordion/accordion/accordion.component.mjs +0 -108
- package/esm2022/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.mjs +0 -92
- package/esm2022/lib/molecules/accordion/accordion.module.mjs +0 -21
- package/esm2022/lib/molecules/calendar/calendar/calendar-class-view.pipe.mjs +0 -20
- package/esm2022/lib/molecules/calendar/calendar/calendar.component.mjs +0 -428
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.mjs +0 -30
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.mjs +0 -23
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.mjs +0 -22
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.mjs +0 -17
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.directive.mjs +0 -119
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.pipe.mjs +0 -19
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.mjs +0 -20
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.component.mjs +0 -418
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.pipe.mjs +0 -17
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.mjs +0 -21
- package/esm2022/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.mjs +0 -85
- package/esm2022/lib/molecules/calendar/calendar.module.mjs +0 -55
- package/esm2022/lib/molecules/calendar/calendar.service.mjs +0 -62
- package/esm2022/lib/molecules/calendar/calendar.utils.mjs +0 -296
- package/esm2022/lib/molecules/checkbox/checkbox/checkbox.model.mjs +0 -2
- package/esm2022/lib/molecules/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/molecules/date-picker/date-picker.component.mjs +0 -81
- package/esm2022/lib/molecules/date-picker/date-picker.module.mjs +0 -58
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.mjs +0 -700
- package/esm2022/lib/molecules/date-range-picker/date-range-picker.module.mjs +0 -60
- package/esm2022/lib/molecules/dropdown/dropdown/dropdown.component.mjs +0 -387
- package/esm2022/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.mjs +0 -79
- package/esm2022/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.mjs +0 -93
- package/esm2022/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.mjs +0 -75
- package/esm2022/lib/molecules/dropdown/dropdown.module.mjs +0 -56
- package/esm2022/lib/molecules/dropdown/dropdown.service.mjs +0 -18
- package/esm2022/lib/molecules/file-input/file-input/file-input.component.mjs +0 -144
- package/esm2022/lib/molecules/file-input/file-input/file-input.model.mjs +0 -2
- package/esm2022/lib/molecules/file-input/file-input.module.mjs +0 -18
- package/esm2022/lib/molecules/form/form/form.directive.mjs +0 -33
- package/esm2022/lib/molecules/form/form-check/form-check-input.directive.mjs +0 -62
- package/esm2022/lib/molecules/form/form-check/form-check-label.directive.mjs +0 -22
- package/esm2022/lib/molecules/form/form-check/form-check.component.mjs +0 -77
- package/esm2022/lib/molecules/form/form-control/form-control.directive.mjs +0 -66
- package/esm2022/lib/molecules/form/form-feedback/form-feedback.component.mjs +0 -38
- package/esm2022/lib/molecules/form/form-floating/form-floating.directive.mjs +0 -32
- package/esm2022/lib/molecules/form/form-label/form-label.directive.mjs +0 -40
- package/esm2022/lib/molecules/form/form-select/form-select.directive.mjs +0 -35
- package/esm2022/lib/molecules/form/form-text/form-text.directive.mjs +0 -22
- package/esm2022/lib/molecules/form/form.module.mjs +0 -75
- package/esm2022/lib/molecules/form/input-group/input-group.component.mjs +0 -32
- package/esm2022/lib/molecules/form/input-group-text/input-group-text.directive.mjs +0 -23
- package/esm2022/lib/molecules/modal/modal.component.mjs +0 -148
- package/esm2022/lib/molecules/modal/modal.module.mjs +0 -18
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.mjs +0 -2
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.mjs +0 -2
- package/esm2022/lib/molecules/numeric-counter/numeric-counter.module.mjs +0 -19
- package/esm2022/lib/molecules/pagination/helpers/models/pagination.interface.mjs +0 -2
- package/esm2022/lib/molecules/pagination/helpers/models/pagination.model.mjs +0 -3
- package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.mjs +0 -21
- package/esm2022/lib/molecules/pagination/pagination/pagination.component.mjs +0 -146
- package/esm2022/lib/molecules/pagination/pagination/pagination.mjs +0 -80
- package/esm2022/lib/molecules/pagination/pagination.module.mjs +0 -21
- package/esm2022/lib/molecules/select/helpers/enums/select.enums.mjs +0 -6
- package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.mjs +0 -57
- package/esm2022/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.mjs +0 -26
- package/esm2022/lib/molecules/select/helpers/types/select.type.mjs +0 -2
- package/esm2022/lib/molecules/select/select/select.component.mjs +0 -445
- package/esm2022/lib/molecules/select/select.module.mjs +0 -37
- package/esm2022/lib/molecules/shared/html-attr.directive.mjs +0 -55
- package/esm2022/lib/molecules/shared/shared.module.mjs +0 -22
- package/esm2022/lib/molecules/shared/template-id.directive.mjs +0 -20
- package/esm2022/lib/molecules/stat-card/stat-card.component.mjs +0 -135
- package/esm2022/lib/molecules/stat-card/stat-card.module.mjs +0 -22
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +0 -106
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +0 -107
- package/esm2022/lib/molecules/time-picker/time-picker.component.mjs +0 -512
- package/esm2022/lib/molecules/time-picker/time-picker.module.mjs +0 -51
- package/esm2022/lib/molecules/time-picker/time.utils.mjs +0 -676
- package/lib/atoms/badge/badge.component.d.ts +0 -25
- package/lib/atoms/badge/badge.module.d.ts +0 -9
- package/lib/atoms/button/button.module.d.ts +0 -9
- package/lib/atoms/button-directive/button-close.directive.d.ts +0 -13
- package/lib/atoms/button-directive/button-directive.module.d.ts +0 -8
- package/lib/atoms/icon/icon.component.d.ts +0 -28
- package/lib/atoms/icon/icon.module.d.ts +0 -8
- package/lib/atoms/input/input.module.d.ts +0 -10
- package/lib/atoms/popover/popover.component.d.ts +0 -35
- package/lib/atoms/popover/popover.module.d.ts +0 -8
- package/lib/atoms/skeleton/skeleton.component.d.ts +0 -12
- package/lib/atoms/skeleton/skeleton.module.d.ts +0 -9
- package/lib/atoms/skeleton/utils/skeleton.directive.d.ts +0 -15
- package/lib/atoms/switch/switch.module.d.ts +0 -8
- package/lib/atoms/textarea/textarea.module.d.ts +0 -10
- package/lib/atoms/tooltip/tooltip.module.d.ts +0 -8
- package/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.d.ts +0 -37
- package/lib/molecules/accordion/accordion.module.d.ts +0 -11
- package/lib/molecules/calendar/calendar/calendar-class-view.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-day.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.d.ts +0 -32
- package/lib/molecules/calendar/calendar.module.d.ts +0 -19
- package/lib/molecules/calendar/calendar.service.d.ts +0 -36
- package/lib/molecules/checkbox/checkbox.module.d.ts +0 -10
- package/lib/molecules/date-picker/date-picker.module.d.ts +0 -18
- package/lib/molecules/date-range-picker/date-range-picker.module.d.ts +0 -18
- package/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.d.ts +0 -26
- package/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.d.ts +0 -36
- package/lib/molecules/dropdown/dropdown.module.d.ts +0 -13
- package/lib/molecules/dropdown/dropdown.service.d.ts +0 -13
- package/lib/molecules/file-input/file-input.module.d.ts +0 -8
- package/lib/molecules/form/form-check/form-check-label.directive.d.ts +0 -6
- package/lib/molecules/form/form-floating/form-floating.directive.d.ts +0 -12
- package/lib/molecules/form/form-select/form-select.directive.d.ts +0 -16
- package/lib/molecules/form/form-text/form-text.directive.d.ts +0 -6
- package/lib/molecules/form/form.module.d.ts +0 -18
- package/lib/molecules/form/input-group/input-group.component.d.ts +0 -11
- package/lib/molecules/form/input-group-text/input-group-text.directive.d.ts +0 -7
- package/lib/molecules/modal/modal.module.d.ts +0 -8
- package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.d.ts +0 -27
- package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.d.ts +0 -1
- package/lib/molecules/numeric-counter/numeric-counter.module.d.ts +0 -9
- package/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.d.ts +0 -8
- package/lib/molecules/pagination/pagination.module.d.ts +0 -11
- package/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.d.ts +0 -7
- package/lib/molecules/select/select.module.d.ts +0 -12
- package/lib/molecules/shared/html-attr.directive.d.ts +0 -16
- package/lib/molecules/shared/shared.module.d.ts +0 -10
- package/lib/molecules/shared/template-id.directive.d.ts +0 -9
- package/lib/molecules/stat-card/stat-card.module.d.ts +0 -11
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +0 -39
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +0 -38
- package/lib/molecules/time-picker/time-picker.module.d.ts +0 -14
- /package/lib/atoms/button/{utils/utils.d.ts → gtr-button.types.d.ts} +0 -0
- /package/lib/molecules/calendar/{calendar.utils.d.ts → gtr-calendar.utils.d.ts} +0 -0
- /package/lib/molecules/checkbox/checkbox/{checkbox.model.d.ts → gtr-checkbox.utils.d.ts} +0 -0
- /package/lib/molecules/file-input/file-input/{file-input.model.d.ts → gtr-file-input.model.d.ts} +0 -0
- /package/lib/molecules/numeric-counter/numeric-counter/{numeric-counter.type.d.ts → gtr-numeric-counter.type.d.ts} +0 -0
- /package/lib/molecules/pagination/helpers/models/{pagination.interface.d.ts → gtr-pagination.interface.d.ts} +0 -0
- /package/lib/molecules/pagination/helpers/models/{pagination.model.d.ts → gtr-pagination.model.d.ts} +0 -0
- /package/lib/molecules/pagination/pagination/{pagination.d.ts → gtr-pagination.utils.d.ts} +0 -0
- /package/lib/molecules/select/helpers/enums/{select.enums.d.ts → gtr-select.enums.d.ts} +0 -0
- /package/lib/molecules/select/helpers/types/{select.type.d.ts → gtr-select.type.d.ts} +0 -0
- /package/lib/molecules/time-picker/{time.utils.d.ts → gtr-time.utils.d.ts} +0 -0
|
@@ -2,8 +2,8 @@ import { Component, EventEmitter, Input, Output, forwardRef } from '@angular/cor
|
|
|
2
2
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "../../../atoms/icon/icon.component";
|
|
6
|
-
export class
|
|
5
|
+
import * as i2 from "../../../atoms/icon/gtr-icon.component";
|
|
6
|
+
export class GtrCheckboxComponent {
|
|
7
7
|
constructor() {
|
|
8
8
|
/**
|
|
9
9
|
* Option to mark checkbox checked
|
|
@@ -60,21 +60,21 @@ export class CheckboxComponent {
|
|
|
60
60
|
event.preventDefault();
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
64
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
63
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrCheckboxComponent, selector: "gtr-checkbox", inputs: { identifier: "identifier", value: "value", label: "label", checked: "checked", disabled: "disabled", readonly: "readonly" }, outputs: { selectionChanged: "selectionChanged" }, providers: [
|
|
65
65
|
{
|
|
66
66
|
provide: NG_VALUE_ACCESSOR,
|
|
67
|
-
useExisting: forwardRef((() =>
|
|
67
|
+
useExisting: forwardRef((() => GtrCheckboxComponent)),
|
|
68
68
|
multi: true,
|
|
69
69
|
},
|
|
70
|
-
], ngImport: i0, template: "<label\n class=\"gtr-checkbox-wrapper\"\n [attr.id]=\"identifier || 'gtr-checkbox'\"\n [attr.data-testid]=\"identifier || 'gtr-checkbox'\"\n>\n <input\n type=\"checkbox\"\n name=\"gtr-checkbox-input\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (change)=\"handleClick()\"\n (keydown)=\"handleKeydown($event)\"\n [attr.aria-checked]=\"checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.role]=\"readonly ? 'switch' : 'checkbox'\"\n tabindex=\"0\"\n />\n <span class=\"gtr-checkmark\">\n <gtr-icon\n *ngIf=\"!disabled || (checked && disabled)\"\n name=\"check\"\n [size]=\"14\"\n weight=\"bold\"\n ></gtr-icon>\n </span>\n <span *ngIf=\"label\" class=\"gtr-checkbox-label\">{{ label }}</span>\n</label>\n", styles: [":root{--gtr-color-base-black-100: rgba(0, 0, 0, 0);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-primary-100: rgba(0, 96, 194, 1);--gtr-content-box-shadow-20: 0px 2px 4px rgba(0, 0, 0, .2);--gtr-color-base-white-100: rgba(0, 0, 0, 1)}:host{box-sizing:border-box}.gtr-checkbox-wrapper{display:flex;align-self:center;position:relative;cursor:pointer;font-size:13px;line-height:22px;-webkit-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100)}.gtr-checkbox-wrapper .gtr-checkbox-label{padding-left:6px}.gtr-checkbox-wrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.gtr-checkmark{height:18px;width:18px;border-radius:4px;background-color:var(--gtr-color-base-white-100);border:solid 1px var(--gtr-color-base-black-20)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled~.gtr-checkmark{background-color:var(--gtr-color-base-black-20);border-color:var(--gtr-color-base-black-10);cursor:default}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);opacity:.5;border-color:var(--gtr-color-base-primary-100);cursor:default;box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkbox-label{opacity:.5}.gtr-checkmark{color:var(--gtr-color-base-white-100)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.
|
|
70
|
+
], ngImport: i0, template: "<label\n class=\"gtr-checkbox-wrapper\"\n [attr.id]=\"identifier || 'gtr-checkbox'\"\n [attr.data-testid]=\"identifier || 'gtr-checkbox'\"\n>\n <input\n type=\"checkbox\"\n name=\"gtr-checkbox-input\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (change)=\"handleClick()\"\n (keydown)=\"handleKeydown($event)\"\n [attr.aria-checked]=\"checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.role]=\"readonly ? 'switch' : 'checkbox'\"\n tabindex=\"0\"\n />\n <span class=\"gtr-checkmark\">\n <gtr-icon\n *ngIf=\"!disabled || (checked && disabled)\"\n name=\"check\"\n [size]=\"14\"\n weight=\"bold\"\n ></gtr-icon>\n </span>\n <span *ngIf=\"label\" class=\"gtr-checkbox-label\">{{ label }}</span>\n</label>\n", styles: [":root{--gtr-color-base-black-100: rgba(0, 0, 0, 0);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-primary-100: rgba(0, 96, 194, 1);--gtr-content-box-shadow-20: 0px 2px 4px rgba(0, 0, 0, .2);--gtr-color-base-white-100: rgba(0, 0, 0, 1)}:host{box-sizing:border-box}.gtr-checkbox-wrapper{display:flex;align-self:center;position:relative;cursor:pointer;font-size:13px;line-height:22px;-webkit-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100)}.gtr-checkbox-wrapper .gtr-checkbox-label{padding-left:6px}.gtr-checkbox-wrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.gtr-checkmark{height:18px;width:18px;border-radius:4px;background-color:var(--gtr-color-base-white-100);border:solid 1px var(--gtr-color-base-black-20)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled~.gtr-checkmark{background-color:var(--gtr-color-base-black-20);border-color:var(--gtr-color-base-black-10);cursor:default}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);opacity:.5;border-color:var(--gtr-color-base-primary-100);cursor:default;box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkbox-label{opacity:.5}.gtr-checkmark{color:var(--gtr-color-base-white-100)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{ selector: 'gtr-checkbox', providers: [
|
|
75
75
|
{
|
|
76
76
|
provide: NG_VALUE_ACCESSOR,
|
|
77
|
-
useExisting: forwardRef((() =>
|
|
77
|
+
useExisting: forwardRef((() => GtrCheckboxComponent)),
|
|
78
78
|
multi: true,
|
|
79
79
|
},
|
|
80
80
|
], template: "<label\n class=\"gtr-checkbox-wrapper\"\n [attr.id]=\"identifier || 'gtr-checkbox'\"\n [attr.data-testid]=\"identifier || 'gtr-checkbox'\"\n>\n <input\n type=\"checkbox\"\n name=\"gtr-checkbox-input\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (change)=\"handleClick()\"\n (keydown)=\"handleKeydown($event)\"\n [attr.aria-checked]=\"checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.role]=\"readonly ? 'switch' : 'checkbox'\"\n tabindex=\"0\"\n />\n <span class=\"gtr-checkmark\">\n <gtr-icon\n *ngIf=\"!disabled || (checked && disabled)\"\n name=\"check\"\n [size]=\"14\"\n weight=\"bold\"\n ></gtr-icon>\n </span>\n <span *ngIf=\"label\" class=\"gtr-checkbox-label\">{{ label }}</span>\n</label>\n", styles: [":root{--gtr-color-base-black-100: rgba(0, 0, 0, 0);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-primary-100: rgba(0, 96, 194, 1);--gtr-content-box-shadow-20: 0px 2px 4px rgba(0, 0, 0, .2);--gtr-color-base-white-100: rgba(0, 0, 0, 1)}:host{box-sizing:border-box}.gtr-checkbox-wrapper{display:flex;align-self:center;position:relative;cursor:pointer;font-size:13px;line-height:22px;-webkit-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100)}.gtr-checkbox-wrapper .gtr-checkbox-label{padding-left:6px}.gtr-checkbox-wrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.gtr-checkmark{height:18px;width:18px;border-radius:4px;background-color:var(--gtr-color-base-white-100);border:solid 1px var(--gtr-color-base-black-20)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled~.gtr-checkmark{background-color:var(--gtr-color-base-black-20);border-color:var(--gtr-color-base-black-10);cursor:default}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);opacity:.5;border-color:var(--gtr-color-base-primary-100);cursor:default;box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkbox-label{opacity:.5}.gtr-checkmark{color:var(--gtr-color-base-white-100)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{display:block}\n"] }]
|
|
@@ -93,4 +93,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
93
93
|
}], selectionChanged: [{
|
|
94
94
|
type: Output
|
|
95
95
|
}] } });
|
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLWNoZWNrYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2NoZWNrYm94L2NoZWNrYm94L2d0ci1jaGVja2JveC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9jaGVja2JveC9jaGVja2JveC9ndHItY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7O0FBZXpFLE1BQU0sT0FBTyxvQkFBb0I7S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=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLWNoZWNrYm94LnV0aWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2xlY3VsZXMvY2hlY2tib3gvY2hlY2tib3gvZ3RyLWNoZWNrYm94LnV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEd0ckNoZWNrYm94VmFsdWVDaGFuZ2VkIHtcbiAgdmFsdWU6IGFueTtcbiAgY2hlY2tlZDogYm9vbGVhbjtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { NgFor, NgIf } from '@angular/common';
|
|
3
|
+
import { GtrCheckboxComponent } from './checkbox/gtr-checkbox.component';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { GtrIconModule } from '../../atoms/icon';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class GtrCheckboxModule {
|
|
8
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxModule, declarations: [GtrCheckboxComponent], imports: [NgIf, NgFor, FormsModule, GtrIconModule], exports: [GtrCheckboxComponent] }); }
|
|
10
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxModule, imports: [FormsModule, GtrIconModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCheckboxModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [GtrCheckboxComponent],
|
|
16
|
+
imports: [NgIf, NgFor, FormsModule, GtrIconModule],
|
|
17
|
+
exports: [GtrCheckboxComponent],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLWNoZWNrYm94Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2NoZWNrYm94L2d0ci1jaGVja2JveC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7O0FBT2pELE1BQU0sT0FBTyxpQkFBaUI7a0lBQWpCLGlCQUFpQjttSUFBakIsaUJBQWlCLGlCQUpiLG9CQUFvQixhQUN6QixJQUFJLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxhQUFhLGFBQ3ZDLG9CQUFvQjttSUFFbkIsaUJBQWlCLFlBSEwsV0FBVyxFQUFFLGFBQWE7OzRGQUd0QyxpQkFBaUI7a0JBTDdCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLElBQUksRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLGFBQWEsQ0FBQztvQkFDbEQsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7aUJBQ2hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE5nRm9yLCBOZ0lmIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEd0ckNoZWNrYm94Q29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2JveC9ndHItY2hlY2tib3guY29tcG9uZW50JztcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgR3RySWNvbk1vZHVsZSB9IGZyb20gJy4uLy4uL2F0b21zL2ljb24nO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtHdHJDaGVja2JveENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtOZ0lmLCBOZ0ZvciwgRm9ybXNNb2R1bGUsIEd0ckljb25Nb2R1bGVdLFxuICBleHBvcnRzOiBbR3RyQ2hlY2tib3hDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBHdHJDaGVja2JveE1vZHVsZSB7fVxuIl19
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export * from './checkbox/checkbox.
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export { GtrCheckboxModule } from './gtr-checkbox.module';
|
|
2
|
+
export { GtrCheckboxComponent } from './checkbox/gtr-checkbox.component';
|
|
3
|
+
export * from './checkbox/gtr-checkbox.utils';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2NoZWNrYm94L3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDekUsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEd0ckNoZWNrYm94TW9kdWxlIH0gZnJvbSAnLi9ndHItY2hlY2tib3gubW9kdWxlJztcbmV4cG9ydCB7IEd0ckNoZWNrYm94Q29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2JveC9ndHItY2hlY2tib3guY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2hlY2tib3gvZ3RyLWNoZWNrYm94LnV0aWxzJztcbiJdfQ==
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { GtrDateRangePickerComponent } from '../date-range-picker';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/layout";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
import * as i4 from "../calendar/calendar/gtr-calendar.component";
|
|
9
|
+
import * as i5 from "../time-picker/gtr-time-picker.component";
|
|
10
|
+
import * as i6 from "../../atoms/button-directive/gtr-button.directive";
|
|
11
|
+
import * as i7 from "../dropdown/dropdown/gtr-dropdown.component";
|
|
12
|
+
import * as i8 from "../dropdown/dropdown-menu/gtr-dropdown-menu.directive";
|
|
13
|
+
import * as i9 from "../form/input-group/gtr-input-group.component";
|
|
14
|
+
import * as i10 from "../form/form-control/gtr-form-control.directive";
|
|
15
|
+
import * as i11 from "../../atoms/icon/gtr-icon.component";
|
|
16
|
+
export class GtrDatePickerComponent extends GtrDateRangePickerComponent {
|
|
17
|
+
constructor(breakpointObserver) {
|
|
18
|
+
super(breakpointObserver);
|
|
19
|
+
this.placeholder = 'Select date';
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
this.startDateChange = new EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
get range() {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
get calendars() {
|
|
27
|
+
return 1;
|
|
28
|
+
}
|
|
29
|
+
get endDate() {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
get date() {
|
|
33
|
+
return this.startDate;
|
|
34
|
+
}
|
|
35
|
+
set date(value) {
|
|
36
|
+
this.startDate = value;
|
|
37
|
+
}
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
writeValue(value) {
|
|
40
|
+
this.date = value;
|
|
41
|
+
this.startDateValue = this.date ? this.date.toLocaleDateString(this.locale) : '';
|
|
42
|
+
}
|
|
43
|
+
subscribeDateChange(subscribe = true) {
|
|
44
|
+
if (subscribe) {
|
|
45
|
+
this.dateChangeSubscriptions.push(this.startDateChange.subscribe((next) => {
|
|
46
|
+
this.date = next;
|
|
47
|
+
this.onChange(next);
|
|
48
|
+
}));
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
this.dateChangeSubscriptions.forEach((subscription) => {
|
|
52
|
+
subscription?.unsubscribe();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerComponent, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrDatePickerComponent, selector: "gtr-date-picker", inputs: { placeholder: "placeholder", date: "date" }, outputs: { startDateChange: "dateChange" }, providers: [
|
|
57
|
+
{
|
|
58
|
+
provide: NG_VALUE_ACCESSOR,
|
|
59
|
+
useExisting: forwardRef((() => GtrDatePickerComponent)),
|
|
60
|
+
multi: true,
|
|
61
|
+
},
|
|
62
|
+
], exportAs: ["gtrDatePicker"], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"alwaysOpen\">\n <div class=\"date-range-picker-input\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div class=\"date-range-picker-calendar\">\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n <div *ngIf=\"templates?.datePickerFooter\" class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter\"></ng-container>\n </div>\n </div>\n <ng-content></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"!alwaysOpen\">\n <gtr-dropdown #dropdown=\"gtrDropdown\"\n [autoClose]=\"'outside'\"\n class=\"date-picker picker\"\n [ngClass]=\"datePickerClasses\"\n [(visible)]=\"visible\" [popperOptions]=\"popperjsOptions\">\n\n <div gtrDropdownToggle\n [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div gtrDropdownMenu>\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n\n <div *ngIf=\"templates?.datePickerFooter\" class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n </div>\n <ng-content></ng-content>\n </gtr-dropdown>\n</ng-container>\n\n<ng-template #dateRangePickerInput>\n\n <gtr-input-group [sizing]=\"size ?? ''\"\n class=\"picker-input-group\"\n >\n <input (change)=\"handleStartDateInputChange($event)\"\n [formControl]=\"startDateInput\"\n [ngClass]=\"{hover: !!inputStartHoverValue}\"\n [placeholder]=\"startDatePlaceholder\"\n gtrFormControl\n #startDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"range ? undefined : valid\"\n class=\"date-picker-input\"\n >\n <input (change)=\"handleEndDateInputChange($event)\"\n *ngIf=\"range\"\n [formControl]=\"endDateInput\"\n [ngClass]=\"{hover: !!inputEndHoverValue}\"\n [placeholder]=\"endDatePlaceholder\"\n gtrFormControl\n #endDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"valid ?? undefined\"\n class=\"date-picker-input\"\n >\n\n <ng-container *ngIf=\"!alwaysOpen\">\n <span *ngIf=\"indicator || cleaner\" class=\"picker-input-group-icons\">\n <span *ngIf=\"indicator\" class=\"picker-input-group-indicator\">\n <gtr-icon name=\"chevron-down\" [size]=\"20\"></gtr-icon>\n </span>\n <span (click)=\"!disabled && handleClear($event)\"\n *ngIf=\"cleaner && startDateElementRef.value && !disabled\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </span>\n </span>\n </ng-container>\n </gtr-input-group>\n</ng-template>\n\n<ng-template #dateRangePicker>\n\n <div class=\"date-picker-body\">\n <ng-template [ngIf]=\"!isMobile\">\n <div *ngIf=\"ranges\" class=\"date-picker-ranges\">\n <button (click)=\"setCustomRange(customRange)\"\n *ngFor=\"let customRange of customRanges\"\n [color]=\"rangesButtonsColor\"\n [size]=\"rangesButtonsSize\"\n [variant]=\"rangesButtonsVariant\"\n gtrButton>\n {{getCustomRangeKey(customRange)}}\n </button>\n </div>\n </ng-template>\n <gtr-calendar\n (calendarCellHover)=\"handleCalendarCellHover($event)\"\n (calendarDateChange)=\"handleCalendarDateChange($event)\"\n (endDateChange)=\"handleEndDateChange($event)\"\n (startDateChange)=\"handleStartDateChange($event)\"\n [calendarDate]=\"calendarDate\"\n [calendars]=\"isMobile ? 1 : calendars\"\n [dateFilter]=\"dateFilter\"\n [disabledDates]=\"disabledDates\"\n [endDate]=\"endDate\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [locale]=\"locale\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [navigation]=\"navigation\"\n [range]=\"range\"\n [startDate]=\"startDate\"\n [navYearFirst]=\"navYearFirst\"\n [dayFormat]=\"dayFormat\"\n [weekdayFormat]=\"weekdayFormat\"\n [selectAdjacentDays]=\"selectAdjacentDays\"\n [showAdjacentDays]=\"showAdjacentDays\"\n [type]=\"rangesType\"\n class=\"date-picker-calendars\"\n ></gtr-calendar>\n <div *ngIf=\"false && timepicker\" class=\"date-picker-timepickers\">\n <!-- todo-->\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!startDate\"\n [time]=\"startDate ?? undefined\"\n (timeChange)=\"handleStartTimeChange($event)\"\n ></gtr-time-picker>\n <gtr-time-picker\n *ngIf=\"range\"\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!endDate\"\n [time]=\"endDate ?? undefined\"\n (timeChange)=\"handleEndTimeChange($event)\"\n ></gtr-time-picker>\n </div>\n </div>\n\n\n</ng-template>\n", styles: [".picker-input-group-indicator{color:var(--gtr-color-base-black-80)!important}.picker-input-group-icons{border:none;display:flex;align-items:center;padding:0 14px}.date-picker-input{border:none!important;outline:none!important;padding:7px 14px}.picker-input-group{outline:none!important;box-shadow:none!important;background-color:#fff!important;border-radius:6px!important;border:1px solid var(--light-solid-color-extra-divider, #DBDADE)!important;background:var(--light-solid-color-extra-card-background, #FFF)!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.GtrCalendarComponent, selector: "gtr-calendar", inputs: ["calendarDate", "calendars", "dayFormat", "disabledDates", "startDate", "endDate", "firstDayOfWeek", "locale", "maxDate", "minDate", "navigation", "navYearFirst", "range", "view", "type", "weekdayFormat", "dateFilter", "selectAdjacentDays", "showAdjacentDays"], outputs: ["calendarCellHover", "calendarDateChange", "endDateChange", "startDateChange", "viewChange"], exportAs: ["gtrCalendar"] }, { kind: "component", type: i5.GtrTimePickerComponent, selector: "gtr-time-picker", inputs: ["cleaner", "dateTimeFormatOptions", "disabled", "filterHours", "filterMinutes", "filterSeconds", "indicator", "inputReadOnly", "locale", "placeholder", "seconds", "size", "time", "variant", "valid", "visible"], outputs: ["timeChange"], exportAs: ["cTimePicker"] }, { kind: "directive", type: i6.GtrButtonDirective, selector: "[gtrButton]", inputs: ["active", "color", "disabled", "shape", "size", "type", "variant"], exportAs: ["gtrButton"] }, { kind: "component", type: i7.GtrDropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: i7.GtrDropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: i8.GtrDropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "component", type: i9.GtrInputGroupComponent, selector: "gtr-input-group", inputs: ["sizing"] }, { kind: "directive", type: i10.GtrFormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "component", type: i11.GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
|
|
63
|
+
}
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerComponent, decorators: [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'gtr-date-picker', exportAs: 'gtrDatePicker', providers: [
|
|
67
|
+
{
|
|
68
|
+
provide: NG_VALUE_ACCESSOR,
|
|
69
|
+
useExisting: forwardRef((() => GtrDatePickerComponent)),
|
|
70
|
+
multi: true,
|
|
71
|
+
},
|
|
72
|
+
], template: "<ng-container *ngIf=\"alwaysOpen\">\n <div class=\"date-range-picker-input\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div class=\"date-range-picker-calendar\">\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n <div *ngIf=\"templates?.datePickerFooter\" class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter\"></ng-container>\n </div>\n </div>\n <ng-content></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"!alwaysOpen\">\n <gtr-dropdown #dropdown=\"gtrDropdown\"\n [autoClose]=\"'outside'\"\n class=\"date-picker picker\"\n [ngClass]=\"datePickerClasses\"\n [(visible)]=\"visible\" [popperOptions]=\"popperjsOptions\">\n\n <div gtrDropdownToggle\n [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div gtrDropdownMenu>\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n\n <div *ngIf=\"templates?.datePickerFooter\" class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n </div>\n <ng-content></ng-content>\n </gtr-dropdown>\n</ng-container>\n\n<ng-template #dateRangePickerInput>\n\n <gtr-input-group [sizing]=\"size ?? ''\"\n class=\"picker-input-group\"\n >\n <input (change)=\"handleStartDateInputChange($event)\"\n [formControl]=\"startDateInput\"\n [ngClass]=\"{hover: !!inputStartHoverValue}\"\n [placeholder]=\"startDatePlaceholder\"\n gtrFormControl\n #startDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"range ? undefined : valid\"\n class=\"date-picker-input\"\n >\n <input (change)=\"handleEndDateInputChange($event)\"\n *ngIf=\"range\"\n [formControl]=\"endDateInput\"\n [ngClass]=\"{hover: !!inputEndHoverValue}\"\n [placeholder]=\"endDatePlaceholder\"\n gtrFormControl\n #endDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"valid ?? undefined\"\n class=\"date-picker-input\"\n >\n\n <ng-container *ngIf=\"!alwaysOpen\">\n <span *ngIf=\"indicator || cleaner\" class=\"picker-input-group-icons\">\n <span *ngIf=\"indicator\" class=\"picker-input-group-indicator\">\n <gtr-icon name=\"chevron-down\" [size]=\"20\"></gtr-icon>\n </span>\n <span (click)=\"!disabled && handleClear($event)\"\n *ngIf=\"cleaner && startDateElementRef.value && !disabled\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </span>\n </span>\n </ng-container>\n </gtr-input-group>\n</ng-template>\n\n<ng-template #dateRangePicker>\n\n <div class=\"date-picker-body\">\n <ng-template [ngIf]=\"!isMobile\">\n <div *ngIf=\"ranges\" class=\"date-picker-ranges\">\n <button (click)=\"setCustomRange(customRange)\"\n *ngFor=\"let customRange of customRanges\"\n [color]=\"rangesButtonsColor\"\n [size]=\"rangesButtonsSize\"\n [variant]=\"rangesButtonsVariant\"\n gtrButton>\n {{getCustomRangeKey(customRange)}}\n </button>\n </div>\n </ng-template>\n <gtr-calendar\n (calendarCellHover)=\"handleCalendarCellHover($event)\"\n (calendarDateChange)=\"handleCalendarDateChange($event)\"\n (endDateChange)=\"handleEndDateChange($event)\"\n (startDateChange)=\"handleStartDateChange($event)\"\n [calendarDate]=\"calendarDate\"\n [calendars]=\"isMobile ? 1 : calendars\"\n [dateFilter]=\"dateFilter\"\n [disabledDates]=\"disabledDates\"\n [endDate]=\"endDate\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [locale]=\"locale\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [navigation]=\"navigation\"\n [range]=\"range\"\n [startDate]=\"startDate\"\n [navYearFirst]=\"navYearFirst\"\n [dayFormat]=\"dayFormat\"\n [weekdayFormat]=\"weekdayFormat\"\n [selectAdjacentDays]=\"selectAdjacentDays\"\n [showAdjacentDays]=\"showAdjacentDays\"\n [type]=\"rangesType\"\n class=\"date-picker-calendars\"\n ></gtr-calendar>\n <div *ngIf=\"false && timepicker\" class=\"date-picker-timepickers\">\n <!-- todo-->\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!startDate\"\n [time]=\"startDate ?? undefined\"\n (timeChange)=\"handleStartTimeChange($event)\"\n ></gtr-time-picker>\n <gtr-time-picker\n *ngIf=\"range\"\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!endDate\"\n [time]=\"endDate ?? undefined\"\n (timeChange)=\"handleEndTimeChange($event)\"\n ></gtr-time-picker>\n </div>\n </div>\n\n\n</ng-template>\n", styles: [".picker-input-group-indicator{color:var(--gtr-color-base-black-80)!important}.picker-input-group-icons{border:none;display:flex;align-items:center;padding:0 14px}.date-picker-input{border:none!important;outline:none!important;padding:7px 14px}.picker-input-group{outline:none!important;box-shadow:none!important;background-color:#fff!important;border-radius:6px!important;border:1px solid var(--light-solid-color-extra-divider, #DBDADE)!important;background:var(--light-solid-color-extra-card-background, #FFF)!important}\n"] }]
|
|
73
|
+
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }]; }, propDecorators: { placeholder: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], startDateChange: [{
|
|
76
|
+
type: Output,
|
|
77
|
+
args: ['dateChange']
|
|
78
|
+
}], date: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}] } });
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLWRhdGUtcGlja2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2RhdGUtcGlja2VyL2d0ci1kYXRlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9kYXRlLXJhbmdlLXBpY2tlci9kYXRlLXJhbmdlLXBpY2tlci9ndHItZGF0ZS1yYW5nZS1waWNrZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUF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T1cInJhbmdlc1R5cGVcIlxuICAgICAgY2xhc3M9XCJkYXRlLXBpY2tlci1jYWxlbmRhcnNcIlxuICAgID48L2d0ci1jYWxlbmRhcj5cbiAgICA8ZGl2ICpuZ0lmPVwiZmFsc2UgJiYgdGltZXBpY2tlclwiIGNsYXNzPVwiZGF0ZS1waWNrZXItdGltZXBpY2tlcnNcIj5cbiAgICAgIDwhLS0gdG9kby0tPlxuICAgICAgPGd0ci10aW1lLXBpY2tlclxuICAgICAgICB2YXJpYW50PVwic2VsZWN0XCJcbiAgICAgICAgW2xvY2FsZV09XCJsb2NhbGVcIlxuICAgICAgICBbZGlzYWJsZWRdPVwiIXN0YXJ0RGF0ZVwiXG4gICAgICAgIFt0aW1lXT1cInN0YXJ0RGF0ZSA/PyB1bmRlZmluZWRcIlxuICAgICAgICAodGltZUNoYW5nZSk9XCJoYW5kbGVTdGFydFRpbWVDaGFuZ2UoJGV2ZW50KVwiXG4gICAgICA+PC9ndHItdGltZS1waWNrZXI+XG4gICAgICA8Z3RyLXRpbWUtcGlja2VyXG4gICAgICAgICpuZ0lmPVwicmFuZ2VcIlxuICAgICAgICB2YXJpYW50PVwic2VsZWN0XCJcbiAgICAgICAgW2xvY2FsZV09XCJsb2NhbGVcIlxuICAgICAgICBbZGlzYWJsZWRdPVwiIWVuZERhdGVcIlxuICAgICAgICBbdGltZV09XCJlbmREYXRlID8/IHVuZGVmaW5lZFwiXG4gICAgICAgICh0aW1lQ2hhbmdlKT1cImhhbmRsZUVuZFRpbWVDaGFuZ2UoJGV2ZW50KVwiXG4gICAgICA+PC9ndHItdGltZS1waWNrZXI+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuXG5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { GtrDatePickerComponent } from './gtr-date-picker.component';
|
|
3
|
+
import { NgClass, NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { GtrCalendarComponent } from '../calendar';
|
|
6
|
+
import { GtrTimePickerComponent } from '../time-picker';
|
|
7
|
+
import { GtrDropdownComponent, GtrDropdownMenuDirective, GtrDropdownToggleDirective, } from '../dropdown';
|
|
8
|
+
import { GtrFormControlDirective, GtrInputGroupComponent, GtrInputGroupTextDirective, } from '../form';
|
|
9
|
+
import { GtrIconModule } from '../../atoms/icon';
|
|
10
|
+
import { GtrButtonDirective } from '../../atoms/button-directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export class GtrDatePickerModule {
|
|
13
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerModule, declarations: [GtrDatePickerComponent], imports: [NgClass,
|
|
15
|
+
NgIf,
|
|
16
|
+
NgForOf,
|
|
17
|
+
NgTemplateOutlet,
|
|
18
|
+
ReactiveFormsModule,
|
|
19
|
+
GtrCalendarComponent,
|
|
20
|
+
GtrTimePickerComponent,
|
|
21
|
+
GtrButtonDirective,
|
|
22
|
+
GtrDropdownComponent,
|
|
23
|
+
GtrDropdownToggleDirective,
|
|
24
|
+
GtrDropdownMenuDirective,
|
|
25
|
+
GtrInputGroupComponent,
|
|
26
|
+
GtrFormControlDirective,
|
|
27
|
+
GtrInputGroupTextDirective,
|
|
28
|
+
GtrIconModule], exports: [GtrDatePickerComponent] }); }
|
|
29
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerModule, imports: [ReactiveFormsModule,
|
|
30
|
+
GtrCalendarComponent,
|
|
31
|
+
GtrTimePickerComponent,
|
|
32
|
+
GtrIconModule] }); }
|
|
33
|
+
}
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrDatePickerModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [GtrDatePickerComponent],
|
|
38
|
+
imports: [
|
|
39
|
+
NgClass,
|
|
40
|
+
NgIf,
|
|
41
|
+
NgForOf,
|
|
42
|
+
NgTemplateOutlet,
|
|
43
|
+
ReactiveFormsModule,
|
|
44
|
+
GtrCalendarComponent,
|
|
45
|
+
GtrTimePickerComponent,
|
|
46
|
+
GtrButtonDirective,
|
|
47
|
+
GtrDropdownComponent,
|
|
48
|
+
GtrDropdownToggleDirective,
|
|
49
|
+
GtrDropdownMenuDirective,
|
|
50
|
+
GtrInputGroupComponent,
|
|
51
|
+
GtrFormControlDirective,
|
|
52
|
+
GtrInputGroupTextDirective,
|
|
53
|
+
GtrIconModule,
|
|
54
|
+
],
|
|
55
|
+
exports: [GtrDatePickerComponent],
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLWRhdGUtcGlja2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2RhdGUtcGlja2VyL2d0ci1kYXRlLXBpY2tlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsT0FBTyxFQUFFLE9BQU8sRUFBRSxJQUFJLEV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64,
|
|
1
|
+
export { GtrDatePickerComponent } from './gtr-date-picker.component';
|
|
2
|
+
export { GtrDatePickerModule } from './gtr-date-picker.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2RhdGUtcGlja2VyL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDckUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBHdHJEYXRlUGlja2VyQ29tcG9uZW50IH0gZnJvbSAnLi9ndHItZGF0ZS1waWNrZXIuY29tcG9uZW50JztcbmV4cG9ydCB7IEd0ckRhdGVQaWNrZXJNb2R1bGUgfSBmcm9tICcuL2d0ci1kYXRlLXBpY2tlci5tb2R1bGUnO1xuIl19
|