@gettrx/core-components-angular 1.0.1 → 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 -2
- 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/index.mjs +2 -0
- package/esm2022/lib/atoms/button-directive/public_api.mjs +4 -0
- 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/index.mjs +2 -0
- package/esm2022/lib/atoms/input/public_api.mjs +3 -0
- 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/index.mjs +2 -0
- package/esm2022/lib/atoms/switch/public_api.mjs +3 -0
- 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/index.mjs +2 -0
- package/esm2022/lib/atoms/textarea/public_api.mjs +3 -0
- 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/index.mjs +2 -0
- package/esm2022/lib/atoms/tooltip/public_api.mjs +3 -0
- package/esm2022/lib/atoms/tooltip/utils/utils.mjs +2 -0
- package/esm2022/lib/core-components.types.mjs +10 -0
- 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/index.mjs +2 -0
- package/esm2022/lib/molecules/modal/public_api.mjs +3 -0
- 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/esm2022/public-api.mjs +8 -8
- package/fesm2022/gettrx-core-components-angular.mjs +825 -974
- 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/{custom-button/custom-button.component.d.ts → button/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 -1
- 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/button.directive.d.ts → button-directive/gtr-button.directive.d.ts} +4 -4
- package/lib/atoms/button-directive/public_api.d.ts +3 -0
- package/lib/atoms/icon/gtr-icon.component.d.ts +28 -0
- package/lib/atoms/icon/{icon.module.d.ts → gtr-icon.module.d.ts} +2 -2
- package/lib/atoms/icon/public_api.d.ts +2 -2
- package/lib/atoms/{custom-input/custom-input.component.d.ts → input/gtr-input.component.d.ts} +6 -7
- package/lib/atoms/input/gtr-input.module.d.ts +10 -0
- package/lib/atoms/input/public_api.d.ts +2 -0
- package/lib/atoms/{custom-input/utils/input-utils.d.ts → input/utils/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 -7
- 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/{custom-gtr-switch/custom-gtr-switch.component.d.ts → switch/gtr-switch.component.d.ts} +4 -5
- package/lib/atoms/switch/gtr-switch.module.d.ts +8 -0
- package/lib/atoms/switch/public_api.d.ts +2 -0
- package/lib/atoms/{custom-textarea/custom-textarea.component.d.ts → textarea/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 -0
- package/lib/atoms/{custom-textarea → textarea}/utils/gtr-textarea.types.d.ts +3 -3
- package/lib/atoms/tooltip/gtr-tooltip.component.d.ts +49 -0
- package/lib/atoms/tooltip/gtr-tooltip.module.d.ts +8 -0
- package/lib/atoms/tooltip/public_api.d.ts +2 -0
- 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} +14 -14
- 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} +4 -4
- 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/{custom-gtr-modal/custom-gtr-modal.component.d.ts → modal/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 -0
- 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 -2
- package/public-api.d.ts +7 -7
- 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-close.directive.mjs +0 -39
- package/esm2022/lib/atoms/button/button.directive.mjs +0 -102
- package/esm2022/lib/atoms/button/button.module.mjs +0 -17
- package/esm2022/lib/atoms/button/public_api.mjs +0 -4
- package/esm2022/lib/atoms/custom-button/custom-button.component.mjs +0 -60
- package/esm2022/lib/atoms/custom-button/custom-button.module.mjs +0 -19
- package/esm2022/lib/atoms/custom-button/index.mjs +0 -3
- package/esm2022/lib/atoms/custom-button/utils/utils.mjs +0 -2
- package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.component.mjs +0 -109
- package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.mjs +0 -18
- package/esm2022/lib/atoms/custom-gtr-switch/index.mjs +0 -2
- package/esm2022/lib/atoms/custom-gtr-switch/public_api.mjs +0 -3
- package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.mjs +0 -143
- package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.mjs +0 -18
- package/esm2022/lib/atoms/custom-gtr-tooltip/index.mjs +0 -2
- package/esm2022/lib/atoms/custom-gtr-tooltip/public_api.mjs +0 -3
- package/esm2022/lib/atoms/custom-gtr-tooltip/utils/utils.mjs +0 -2
- package/esm2022/lib/atoms/custom-input/custom-input.component.mjs +0 -364
- package/esm2022/lib/atoms/custom-input/custom-input.module.mjs +0 -21
- package/esm2022/lib/atoms/custom-input/index.mjs +0 -2
- package/esm2022/lib/atoms/custom-input/public_api.mjs +0 -3
- package/esm2022/lib/atoms/custom-input/utils/input-utils.mjs +0 -26
- package/esm2022/lib/atoms/custom-textarea/custom-textarea.component.mjs +0 -242
- package/esm2022/lib/atoms/custom-textarea/custom-textarea.module.mjs +0 -21
- package/esm2022/lib/atoms/custom-textarea/index.mjs +0 -2
- package/esm2022/lib/atoms/custom-textarea/public_api.mjs +0 -3
- package/esm2022/lib/atoms/custom-textarea/utils/gtr-textarea.types.mjs +0 -9
- package/esm2022/lib/atoms/gtr.types.mjs +0 -10
- package/esm2022/lib/atoms/icon/icon.component.mjs +0 -44
- package/esm2022/lib/atoms/icon/icon.module.mjs +0 -18
- 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 -186
- 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/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/button/button-close.directive.mjs +0 -39
- package/esm2022/lib/molecules/button/button.directive.mjs +0 -100
- package/esm2022/lib/molecules/button/button.module.mjs +0 -17
- package/esm2022/lib/molecules/button/index.mjs +0 -2
- package/esm2022/lib/molecules/button/public_api.mjs +0 -4
- 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/core-components.types.mjs +0 -10
- package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.component.mjs +0 -148
- package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.module.mjs +0 -18
- package/esm2022/lib/molecules/custom-gtr-modal/index.mjs +0 -2
- package/esm2022/lib/molecules/custom-gtr-modal/public_api.mjs +0 -3
- 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 -58
- 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/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 -21
- 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-close.directive.d.ts +0 -13
- package/lib/atoms/button/button.module.d.ts +0 -8
- package/lib/atoms/button/public_api.d.ts +0 -3
- package/lib/atoms/custom-button/custom-button.module.d.ts +0 -9
- package/lib/atoms/custom-button/index.d.ts +0 -2
- package/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.d.ts +0 -8
- package/lib/atoms/custom-gtr-switch/public_api.d.ts +0 -2
- package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.d.ts +0 -59
- package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.d.ts +0 -8
- package/lib/atoms/custom-gtr-tooltip/public_api.d.ts +0 -2
- package/lib/atoms/custom-input/custom-input.module.d.ts +0 -10
- package/lib/atoms/custom-input/public_api.d.ts +0 -2
- package/lib/atoms/custom-textarea/custom-textarea.module.d.ts +0 -10
- package/lib/atoms/custom-textarea/public_api.d.ts +0 -2
- package/lib/atoms/gtr.types.d.ts +0 -46
- package/lib/atoms/icon/icon.component.d.ts +0 -27
- 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/molecules/accordion/accordion-wrapper/accordion-wrapper.component.d.ts +0 -37
- package/lib/molecules/accordion/accordion.module.d.ts +0 -11
- package/lib/molecules/button/button-close.directive.d.ts +0 -13
- package/lib/molecules/button/button.directive.d.ts +0 -48
- package/lib/molecules/button/button.module.d.ts +0 -8
- package/lib/molecules/button/public_api.d.ts +0 -3
- 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/custom-gtr-modal/custom-gtr-modal.module.d.ts +0 -8
- package/lib/molecules/custom-gtr-modal/public_api.d.ts +0 -2
- 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/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/{custom-button/utils/utils.d.ts → button/gtr-button.types.d.ts} +0 -0
- /package/lib/atoms/{custom-gtr-switch → button-directive}/index.d.ts +0 -0
- /package/lib/atoms/{custom-gtr-tooltip → input}/index.d.ts +0 -0
- /package/lib/atoms/{custom-input → switch}/index.d.ts +0 -0
- /package/lib/atoms/{custom-textarea → textarea}/index.d.ts +0 -0
- /package/lib/{molecules/button → atoms/tooltip}/index.d.ts +0 -0
- /package/lib/atoms/{custom-gtr-tooltip → tooltip}/utils/utils.d.ts +0 -0
- /package/lib/{molecules/core-components.types.d.ts → core-components.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/{custom-gtr-modal → modal}/index.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
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { NgFor, NgIf } from '@angular/common';
|
|
3
|
-
import { CheckboxComponent } from './checkbox/checkbox.component';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { GtrIconModule } from '../../atoms/icon';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CheckboxModule {
|
|
8
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [NgIf, NgFor, FormsModule, GtrIconModule], exports: [CheckboxComponent] }); }
|
|
10
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, imports: [FormsModule, GtrIconModule] }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [CheckboxComponent],
|
|
16
|
-
imports: [NgIf, NgFor, FormsModule, GtrIconModule],
|
|
17
|
-
exports: [CheckboxComponent],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2xlY3VsZXMvY2hlY2tib3gvY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaU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Z0ZvciwgRm9ybXNNb2R1bGUsIEd0ckljb25Nb2R1bGVdLFxuICBleHBvcnRzOiBbQ2hlY2tib3hDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBDaGVja2JveE1vZHVsZSB7fVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var BreakpointInfix;
|
|
2
|
-
(function (BreakpointInfix) {
|
|
3
|
-
BreakpointInfix["xs"] = "xs";
|
|
4
|
-
BreakpointInfix["sm"] = "sm";
|
|
5
|
-
BreakpointInfix["md"] = "md";
|
|
6
|
-
BreakpointInfix["lg"] = "lg";
|
|
7
|
-
BreakpointInfix["xl"] = "xl";
|
|
8
|
-
BreakpointInfix["xxl"] = "xxl";
|
|
9
|
-
})(BreakpointInfix || (BreakpointInfix = {}));
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS1jb21wb25lbnRzLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2xlY3VsZXMvY29yZS1jb21wb25lbnRzLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBTixJQUFZLGVBT1g7QUFQRCxXQUFZLGVBQWU7SUFDekIsNEJBQVMsQ0FBQTtJQUNULDRCQUFTLENBQUE7SUFDVCw0QkFBUyxDQUFBO0lBQ1QsNEJBQVMsQ0FBQTtJQUNULDRCQUFTLENBQUE7SUFDVCw4QkFBVyxDQUFBO0FBQ2IsQ0FBQyxFQVBXLGVBQWUsS0FBZixlQUFlLFFBTzFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSXNBY3RpdmVNYXRjaE9wdGlvbnMgfSBmcm9tICdAYW5ndWxhci9yb3V0ZXInO1xuXG5leHBvcnQgZW51bSBCcmVha3BvaW50SW5maXgge1xuICB4cyA9ICd4cycsXG4g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dGl2ZU9wdGlvbnM/OiB7IGV4YWN0OiBib29sZWFuIH0gfCBJc0FjdGl2ZU1hdGNoT3B0aW9ucztcbiAgcm91dGVyTGlua0FjdGl2ZT86IHN0cmluZyB8IHN0cmluZ1tdO1xuICBhcmlhQ3VycmVudFdoZW5BY3RpdmU/OiAncGFnZScgfCAnc3RlcCcgfCAnbG9jYXRpb24nIHwgJ2RhdGUnIHwgJ3RpbWUnIHwgdHJ1ZSB8IGZhbHNlO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElOYXZBdHRyaWJ1dGVzIHtcbiAgW3Byb3BOYW1lOiBzdHJpbmddOiBhbnk7XG59XG5cbmV4cG9ydCB0eXBlIEJ1dHRvblR5cGUgPSAnYnV0dG9uJyB8ICdzdWJtaXQnIHwgJ3Jlc2V0JztcbiJdfQ==
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostListener, Input, Optional, Output, Self, ViewChild, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/forms";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
export class CustomGtrModalComponent {
|
|
6
|
-
/**
|
|
7
|
-
* The listen decorator used to close modal via keyboard
|
|
8
|
-
*/
|
|
9
|
-
handleKeyDown(event) {
|
|
10
|
-
if (event.key === 'Escape' && this.isOpen) {
|
|
11
|
-
this.handleCloseModal();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
constructor(ngControl) {
|
|
15
|
-
this.ngControl = ngControl;
|
|
16
|
-
/**
|
|
17
|
-
* The modal open state
|
|
18
|
-
*/
|
|
19
|
-
this.isOpen = false;
|
|
20
|
-
/**
|
|
21
|
-
* The modal position
|
|
22
|
-
*/
|
|
23
|
-
this.modalPosition = 'center';
|
|
24
|
-
/**
|
|
25
|
-
* The modal position
|
|
26
|
-
*/
|
|
27
|
-
this.modalId = '';
|
|
28
|
-
/**
|
|
29
|
-
* The modal size
|
|
30
|
-
*/
|
|
31
|
-
this.modalSize = 'small';
|
|
32
|
-
/**
|
|
33
|
-
* The modal scroll
|
|
34
|
-
*/
|
|
35
|
-
this.scrollType = 'scroll-content';
|
|
36
|
-
/**
|
|
37
|
-
* The modal header
|
|
38
|
-
*/
|
|
39
|
-
this.header = '';
|
|
40
|
-
/**
|
|
41
|
-
* The modal header
|
|
42
|
-
*/
|
|
43
|
-
this.hasHeading = true;
|
|
44
|
-
/**
|
|
45
|
-
* The modal action eventemitter
|
|
46
|
-
*/
|
|
47
|
-
this.closeModal = new EventEmitter();
|
|
48
|
-
if (this.ngControl != null) {
|
|
49
|
-
this.ngControl.valueAccessor = this;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
ngAfterViewInit() {
|
|
53
|
-
// throw new Error('Method not implemented.');
|
|
54
|
-
if (this.isOpen) {
|
|
55
|
-
this.setFocusToModal();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
writeValue(obj) {
|
|
59
|
-
// throw new Error('Method not implemented.');
|
|
60
|
-
}
|
|
61
|
-
registerOnChange(fn) {
|
|
62
|
-
// throw new Error('Method not implemented.');
|
|
63
|
-
}
|
|
64
|
-
registerOnTouched(fn) {
|
|
65
|
-
// throw new Error('Method not implemented.');
|
|
66
|
-
}
|
|
67
|
-
setDisabledState(isDisabled) {
|
|
68
|
-
// throw new Error('Method not implemented.');
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* The connectedCallback hook
|
|
72
|
-
*/
|
|
73
|
-
// connectedCallback(): void {
|
|
74
|
-
// document.addEventListener("keydown", this.handleKeyDown);
|
|
75
|
-
// }
|
|
76
|
-
/**
|
|
77
|
-
* The disconnectedCallback hook
|
|
78
|
-
*/
|
|
79
|
-
// disconnectedCallback(): void {
|
|
80
|
-
// document.removeEventListener("keydown", this.handleKeyDown);
|
|
81
|
-
// }
|
|
82
|
-
/**
|
|
83
|
-
* The component funtion used to handle click on modal overlay
|
|
84
|
-
*/
|
|
85
|
-
handleOverlayClick(event) {
|
|
86
|
-
event.stopPropagation();
|
|
87
|
-
event.preventDefault();
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* The componentDidUpdate hook
|
|
91
|
-
*/
|
|
92
|
-
// componentDidUpdate(): void {
|
|
93
|
-
// if (this.isOpen) {
|
|
94
|
-
// this.setFocusToModal();
|
|
95
|
-
// }
|
|
96
|
-
// }
|
|
97
|
-
/**
|
|
98
|
-
* The component funtion used to set focus on modal
|
|
99
|
-
*/
|
|
100
|
-
setFocusToModal() {
|
|
101
|
-
if (this.modalElement) {
|
|
102
|
-
this.modalElement.nativeElement.focus();
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* The component funtion used to set close modal
|
|
107
|
-
*/
|
|
108
|
-
handleCloseModal() {
|
|
109
|
-
this.isOpen = false;
|
|
110
|
-
const bodyElement = document.querySelector('body');
|
|
111
|
-
if (bodyElement)
|
|
112
|
-
bodyElement.style.overflow = 'auto';
|
|
113
|
-
this.closeModal.emit();
|
|
114
|
-
}
|
|
115
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
116
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomGtrModalComponent, selector: "gtr-modal", inputs: { isOpen: "isOpen", modalPosition: "modalPosition", modalId: "modalId", modalSize: "modalSize", scrollType: "scrollType", header: "header", hasHeading: "hasHeading" }, outputs: { closeModal: "closeModal" }, host: { listeners: { "keydown": "handleKeyDown($event)" } }, viewQueries: [{ propertyName: "modalElement", first: true, predicate: ["modalElement"], descendants: true }], ngImport: i0, template: "<div [class]=\"'gtr-modal '+ modalPosition + ' ' + modalSize\" [class.open]=\"isOpen\" #modalElement tabIndex=\"-1\"\n [id]=\"modalId\" [attr.data-testid]=\"modalId\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\">\n <div class=\"gtr-modal-content\">\n <div class=\"gtr-modal-header\" *ngIf=\"hasHeading\">\n <span [id]=\"modalId+'-modal-title'\" [attr.data-testid]=\"modalId+'-modal-title'\" class=\"gtr-modal-title\">\n {{this.header}}\n </span>\n <button class=\"gtr-modal-close\" [id]=\"modalId+'-modal-cross-button'\" [attr.data-testid]=\"modalId+'-modal-cross-button'\" (click)=\"this.handleCloseModal()\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15 5L5 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M15 5L5 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n </svg>\n </button>\n </div>\n <div id=\"modal-content\" [class]=\"'gtr-modal-body ' + this.scrollType\">\n <ng-content select=\"[modal-body]\"></ng-content>\n <div class=\"gtr-modal-actions\">\n <ng-content select=\"[modal-actions]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":root{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px}.gtr-modal{display:none;position:fixed;z-index:9999;padding:20px;transform:translateZ(0);left:0;top:0;outline:0;width:100%;height:100%;overflow:auto;background-color:var(--gtr-color-base-black-20)}.gtr-modal.open{display:flex}.gtr-modal.open.top{display:block}.gtr-modal-content{background-color:#fefefe;margin:auto;padding:20px;width:90%;background-color:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-content-box-shadow-base)}.gtr-modal.small .gtr-modal-content{max-width:90%;width:400px}.gtr-modal-body.scroll-body{max-height:400px;overflow-y:auto;overflow-x:hidden;padding:8px}.gtr-modal.medium .gtr-modal-content{max-width:90%;width:700px}.gtr-modal.large .gtr-modal-content{max-width:90%;width:1000px}.gtr-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gtr-modal-title{font-style:normal;font-weight:600;font-size:18px;line-height:24px;padding:0;margin:0;color:#000}.gtr-modal-close{border:none;background:none;font-size:.9rem;cursor:pointer;padding:0}.gtr-modal-body p{font-style:normal;font-weight:400;font-size:15px;line-height:22px}.gtr-modal-body .gtr-modal-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:10px}.gtr-modal-body::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}@media screen and (max-width: 768px){.gtr-modal{padding:10px}.gtr-modal.small .gtr-modal-content,.gtr-modal.large .gtr-modal-content,.gtr-modal.medium .gtr-modal-content{max-width:100%}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
117
|
-
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalComponent, decorators: [{
|
|
119
|
-
type: Component,
|
|
120
|
-
args: [{ selector: 'gtr-modal', template: "<div [class]=\"'gtr-modal '+ modalPosition + ' ' + modalSize\" [class.open]=\"isOpen\" #modalElement tabIndex=\"-1\"\n [id]=\"modalId\" [attr.data-testid]=\"modalId\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\">\n <div class=\"gtr-modal-content\">\n <div class=\"gtr-modal-header\" *ngIf=\"hasHeading\">\n <span [id]=\"modalId+'-modal-title'\" [attr.data-testid]=\"modalId+'-modal-title'\" class=\"gtr-modal-title\">\n {{this.header}}\n </span>\n <button class=\"gtr-modal-close\" [id]=\"modalId+'-modal-cross-button'\" [attr.data-testid]=\"modalId+'-modal-cross-button'\" (click)=\"this.handleCloseModal()\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15 5L5 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M15 5L5 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n </svg>\n </button>\n </div>\n <div id=\"modal-content\" [class]=\"'gtr-modal-body ' + this.scrollType\">\n <ng-content select=\"[modal-body]\"></ng-content>\n <div class=\"gtr-modal-actions\">\n <ng-content select=\"[modal-actions]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":root{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px}.gtr-modal{display:none;position:fixed;z-index:9999;padding:20px;transform:translateZ(0);left:0;top:0;outline:0;width:100%;height:100%;overflow:auto;background-color:var(--gtr-color-base-black-20)}.gtr-modal.open{display:flex}.gtr-modal.open.top{display:block}.gtr-modal-content{background-color:#fefefe;margin:auto;padding:20px;width:90%;background-color:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-content-box-shadow-base)}.gtr-modal.small .gtr-modal-content{max-width:90%;width:400px}.gtr-modal-body.scroll-body{max-height:400px;overflow-y:auto;overflow-x:hidden;padding:8px}.gtr-modal.medium .gtr-modal-content{max-width:90%;width:700px}.gtr-modal.large .gtr-modal-content{max-width:90%;width:1000px}.gtr-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gtr-modal-title{font-style:normal;font-weight:600;font-size:18px;line-height:24px;padding:0;margin:0;color:#000}.gtr-modal-close{border:none;background:none;font-size:.9rem;cursor:pointer;padding:0}.gtr-modal-body p{font-style:normal;font-weight:400;font-size:15px;line-height:22px}.gtr-modal-body .gtr-modal-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:10px}.gtr-modal-body::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}@media screen and (max-width: 768px){.gtr-modal{padding:10px}.gtr-modal.small .gtr-modal-content,.gtr-modal.large .gtr-modal-content,.gtr-modal.medium .gtr-modal-content{max-width:100%}}\n"] }]
|
|
121
|
-
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
122
|
-
type: Optional
|
|
123
|
-
}, {
|
|
124
|
-
type: Self
|
|
125
|
-
}] }]; }, propDecorators: { modalElement: [{
|
|
126
|
-
type: ViewChild,
|
|
127
|
-
args: ['modalElement']
|
|
128
|
-
}], handleKeyDown: [{
|
|
129
|
-
type: HostListener,
|
|
130
|
-
args: ['keydown', ['$event']]
|
|
131
|
-
}], isOpen: [{
|
|
132
|
-
type: Input
|
|
133
|
-
}], modalPosition: [{
|
|
134
|
-
type: Input
|
|
135
|
-
}], modalId: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], modalSize: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], scrollType: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], header: [{
|
|
142
|
-
type: Input
|
|
143
|
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2J1dHRvbj5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGlkPVwibW9kYWwtY29udGVudFwiIFtjbGFzc109XCInZ3RyLW1vZGFsLWJvZHkgJyArIHRoaXMuc2Nyb2xsVHlwZVwiPlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW21vZGFsLWJvZHldXCI+PC9uZy1jb250ZW50PlxuICAgICAgPGRpdiBjbGFzcz1cImd0ci1tb2RhbC1hY3Rpb25zXCI+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlttb2RhbC1hY3Rpb25zXVwiPjwvbmctY29udGVudD5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CustomGtrModalComponent } from './custom-gtr-modal.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CustomGtrModalModule {
|
|
6
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalModule, declarations: [CustomGtrModalComponent], imports: [CommonModule], exports: [CustomGtrModalComponent] }); }
|
|
8
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrModalModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [CommonModule],
|
|
14
|
-
exports: [CustomGtrModalComponent],
|
|
15
|
-
declarations: [CustomGtrModalComponent],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWd0ci1tb2RhbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9jdXN0b20tZ3RyLW1vZGFsL2N1c3RvbS1ndHItbW9kYWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQU12RSxNQUFNLE9BQU8sb0JBQW9CO2tJQUFwQixvQkFBb0I7bUlBQXBCLG9CQUFvQixpQkFGaEIsdUJBQXVCLGFBRjVCLFlBQVksYUFDWix1QkFBdUI7bUlBR3RCLG9CQUFvQixZQUpyQixZQUFZOzs0RkFJWCxvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztvQkFDbEMsWUFBWSxFQUFFLENBQUMsdUJBQXVCLENBQUM7aUJBQ3hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBDdXN0b21HdHJNb2RhbENvbXBvbmVudCB9IGZyb20gJy4vY3VzdG9tLWd0ci1tb2RhbC5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtDdXN0b21HdHJNb2RhbENvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW0N1c3RvbUd0ck1vZGFsQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQ3VzdG9tR3RyTW9kYWxNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9jdXN0b20tZ3RyLW1vZGFsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { CustomGtrModalComponent } from './custom-gtr-modal.component';
|
|
2
|
-
export { CustomGtrModalModule } from './custom-gtr-modal.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9sZWN1bGVzL2N1c3RvbS1ndHItbW9kYWwvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1c3RvbUd0ck1vZGFsQ29tcG9uZW50IH0gZnJvbSAnLi9jdXN0b20tZ3RyLW1vZGFsLmNvbXBvbmVudCc7XG5leHBvcnQgeyBDdXN0b21HdHJNb2RhbE1vZHVsZSB9IGZyb20gJy4vY3VzdG9tLWd0ci1tb2RhbC5tb2R1bGUnO1xuIl19
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { DateRangePickerComponent } 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/calendar.component";
|
|
9
|
-
import * as i5 from "../time-picker/time-picker.component";
|
|
10
|
-
import * as i6 from "../button/button.directive";
|
|
11
|
-
import * as i7 from "../dropdown/dropdown/dropdown.component";
|
|
12
|
-
import * as i8 from "../dropdown/dropdown-menu/dropdown-menu.directive";
|
|
13
|
-
import * as i9 from "../form/input-group/input-group.component";
|
|
14
|
-
import * as i10 from "../form/form-control/form-control.directive";
|
|
15
|
-
import * as i11 from "../../atoms/icon/icon.component";
|
|
16
|
-
export class DatePickerComponent extends DateRangePickerComponent {
|
|
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: DatePickerComponent, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerComponent, selector: "gtr-date-picker", inputs: { placeholder: "placeholder", date: "date" }, outputs: { startDateChange: "dateChange" }, providers: [
|
|
57
|
-
{
|
|
58
|
-
provide: NG_VALUE_ACCESSOR,
|
|
59
|
-
useExisting: forwardRef((() => DatePickerComponent)),
|
|
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.CalendarComponent, 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.TimePickerComponent, 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.ButtonDirective, selector: "[gtrButton]", inputs: ["active", "color", "disabled", "shape", "size", "type", "variant"], exportAs: ["gtrButton"] }, { kind: "component", type: i7.DropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: i7.DropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: i8.DropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "component", type: i9.InputGroupComponent, selector: "gtr-input-group", inputs: ["sizing"] }, { kind: "directive", type: i10.FormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "component", type: i11.IconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
|
|
63
|
-
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
65
|
-
type: Component,
|
|
66
|
-
args: [{ selector: 'gtr-date-picker', exportAs: 'gtrDatePicker', providers: [
|
|
67
|
-
{
|
|
68
|
-
provide: NG_VALUE_ACCESSOR,
|
|
69
|
-
useExisting: forwardRef((() => DatePickerComponent)),
|
|
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: [{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hhbmdlKCRldmVudClcIlxuICAgICAgPjwvZ3RyLXRpbWUtcGlja2VyPlxuICAgICAgPGd0ci10aW1lLXBpY2tlclxuICAgICAgICAqbmdJZj1cInJhbmdlXCJcbiAgICAgICAgdmFyaWFudD1cInNlbGVjdFwiXG4gICAgICAgIFtsb2NhbGVdPVwibG9jYWxlXCJcbiAgICAgICAgW2Rpc2FibGVkXT1cIiFlbmREYXRlXCJcbiAgICAgICAgW3RpbWVdPVwiZW5kRGF0ZSA/PyB1bmRlZmluZWRcIlxuICAgICAgICAodGltZUNoYW5nZSk9XCJoYW5kbGVFbmRUaW1lQ2hhbmdlKCRldmVudClcIlxuICAgICAgPjwvZ3RyLXRpbWUtcGlja2VyPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cblxuXG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { DatePickerComponent } from './date-picker.component';
|
|
3
|
-
import { NgClass, NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { CalendarComponent } from '../calendar';
|
|
6
|
-
import { TimePickerComponent } from '../time-picker';
|
|
7
|
-
import { ButtonDirective } from '../button';
|
|
8
|
-
import { DropdownComponent, DropdownMenuDirective, DropdownToggleDirective } from '../dropdown';
|
|
9
|
-
import { FormControlDirective, InputGroupComponent, InputGroupTextDirective } from '../form';
|
|
10
|
-
import { GtrIconModule } from '../../atoms/icon';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export class DatePickerModule {
|
|
13
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, declarations: [DatePickerComponent], imports: [NgClass,
|
|
15
|
-
NgIf,
|
|
16
|
-
NgForOf,
|
|
17
|
-
NgTemplateOutlet,
|
|
18
|
-
ReactiveFormsModule,
|
|
19
|
-
CalendarComponent,
|
|
20
|
-
TimePickerComponent,
|
|
21
|
-
ButtonDirective,
|
|
22
|
-
DropdownComponent,
|
|
23
|
-
DropdownToggleDirective,
|
|
24
|
-
DropdownMenuDirective,
|
|
25
|
-
InputGroupComponent,
|
|
26
|
-
FormControlDirective,
|
|
27
|
-
InputGroupTextDirective,
|
|
28
|
-
GtrIconModule], exports: [DatePickerComponent] }); }
|
|
29
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, imports: [ReactiveFormsModule,
|
|
30
|
-
CalendarComponent,
|
|
31
|
-
TimePickerComponent,
|
|
32
|
-
GtrIconModule] }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
35
|
-
type: NgModule,
|
|
36
|
-
args: [{
|
|
37
|
-
declarations: [DatePickerComponent],
|
|
38
|
-
imports: [
|
|
39
|
-
NgClass,
|
|
40
|
-
NgIf,
|
|
41
|
-
NgForOf,
|
|
42
|
-
NgTemplateOutlet,
|
|
43
|
-
ReactiveFormsModule,
|
|
44
|
-
CalendarComponent,
|
|
45
|
-
TimePickerComponent,
|
|
46
|
-
ButtonDirective,
|
|
47
|
-
DropdownComponent,
|
|
48
|
-
DropdownToggleDirective,
|
|
49
|
-
DropdownMenuDirective,
|
|
50
|
-
InputGroupComponent,
|
|
51
|
-
FormControlDirective,
|
|
52
|
-
InputGroupTextDirective,
|
|
53
|
-
GtrIconModule,
|
|
54
|
-
],
|
|
55
|
-
exports: [DatePickerComponent],
|
|
56
|
-
}]
|
|
57
|
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