@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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type BadgeColor = 'danger' | 'info' | 'brown' | 'pink' | 'purple' | 'blue' | 'warning' | 'success' | 'dark' | 'gray' | 'dark-green' | 'default';
|
|
3
|
+
export declare class GtrBadgeComponent {
|
|
4
|
+
shape: 'default' | 'round';
|
|
5
|
+
type: 'pill' | 'icon' | 'dot';
|
|
6
|
+
color: BadgeColor;
|
|
7
|
+
ariaLabel: string | undefined;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
position: 'default' | 'overlap';
|
|
10
|
+
id: string;
|
|
11
|
+
testid: string;
|
|
12
|
+
positionProperty: {
|
|
13
|
+
top?: string;
|
|
14
|
+
bottom?: string;
|
|
15
|
+
left?: string;
|
|
16
|
+
right?: string;
|
|
17
|
+
};
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
iconName?: string;
|
|
20
|
+
constructor();
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrBadgeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrBadgeComponent, "gtr-badge", never, { "shape": { "alias": "shape"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "position": { "alias": "position"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testid": { "alias": "testid"; "required": false; }; "positionProperty": { "alias": "positionProperty"; "required": false; }; "backgroundColor": { "alias": "background-color"; "required": false; }; "iconName": { "alias": "icon-name"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
23
|
+
static ngAcceptInputType_hidden: unknown;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-badge.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/gtr-icon.module";
|
|
5
|
+
export declare class GtrBadgeModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrBadgeModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrBadgeModule, [typeof i1.GtrBadgeComponent], [typeof i2.CommonModule, typeof i3.GtrIconModule], [typeof i1.GtrBadgeComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrBadgeModule>;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { GtrBadgeComponent } from './gtr-badge.component';
|
|
2
|
+
export { GtrBadgeModule } from './gtr-badge.module';
|
package/lib/atoms/{custom-button/custom-button.component.d.ts → button/gtr-button.component.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ButtonColor, ButtonVariant, ButtonType } from './
|
|
2
|
+
import { ButtonColor, ButtonVariant, ButtonType } from './gtr-button.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GtrButtonComponent implements OnInit {
|
|
5
5
|
classMap: any;
|
|
6
6
|
/** (optional) Button type */
|
|
7
7
|
type?: ButtonType | any;
|
|
@@ -34,6 +34,6 @@ export declare class CustomButtonComponent implements OnInit {
|
|
|
34
34
|
disabled: boolean | undefined;
|
|
35
35
|
};
|
|
36
36
|
ngOnInit(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrButtonComponent, "gtr-button", never, { "type": { "alias": "type"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
39
39
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class GtrButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrButtonModule, [typeof i1.GtrButtonComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.GtrButtonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrButtonModule>;
|
|
9
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { GtrButtonComponent } from './gtr-button.component';
|
|
2
|
+
export { GtrButtonModule } from './gtr-button.module';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GtrButtonDirective } from './gtr-button.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GtrButtonCloseDirective extends GtrButtonDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Change the default color to white.
|
|
6
|
+
* @type boolean
|
|
7
|
+
*/
|
|
8
|
+
white: string | boolean;
|
|
9
|
+
get hostClasses(): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonCloseDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ngAcceptInputType_white: unknown;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-button.directive";
|
|
3
|
+
import * as i2 from "./gtr-button-close.directive";
|
|
4
|
+
export declare class GtrButtonDirectiveModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonDirectiveModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrButtonDirectiveModule, never, [typeof i1.GtrButtonDirective, typeof i2.GtrButtonCloseDirective], [typeof i1.GtrButtonDirective, typeof i2.GtrButtonCloseDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrButtonDirectiveModule>;
|
|
8
|
+
}
|
package/lib/atoms/{button/button.directive.d.ts → button-directive/gtr-button.directive.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonType, Colors, Shapes } from '
|
|
1
|
+
import { ButtonType, Colors, Shapes } from '../../core-components.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class GtrButtonDirective {
|
|
4
4
|
/**
|
|
5
5
|
* Toggle the active state for the component. [docs]
|
|
6
6
|
* @type boolean
|
|
@@ -41,8 +41,8 @@ export declare class ButtonDirective {
|
|
|
41
41
|
get isActive(): boolean | null;
|
|
42
42
|
get attrDisabled(): "" | null;
|
|
43
43
|
get tabIndex(): string | null;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonDirective, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonDirective, "[gtrButton]", ["gtrButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
46
|
static ngAcceptInputType_active: unknown;
|
|
47
47
|
static ngAcceptInputType_disabled: unknown;
|
|
48
48
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GtrIconComponent implements OnDestroy {
|
|
4
|
+
/**
|
|
5
|
+
* The font icon
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* The icon width
|
|
10
|
+
*/
|
|
11
|
+
weight: string;
|
|
12
|
+
/**
|
|
13
|
+
* The icon color
|
|
14
|
+
*/
|
|
15
|
+
color: string;
|
|
16
|
+
/**
|
|
17
|
+
* The icon size
|
|
18
|
+
*/
|
|
19
|
+
set size(value: number);
|
|
20
|
+
/**
|
|
21
|
+
* The element id
|
|
22
|
+
*/
|
|
23
|
+
iconId: string;
|
|
24
|
+
height: string;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrIconComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrIconComponent, "gtr-icon", never, { "name": { "alias": "name"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconId": { "alias": "iconId"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./icon.component";
|
|
2
|
+
import * as i1 from "./gtr-icon.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
export declare class GtrIconModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrIconModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrIconModule, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrIconModule, [typeof i1.GtrIconComponent], [typeof i2.CommonModule], [typeof i1.GtrIconComponent]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<GtrIconModule>;
|
|
8
8
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { GtrIconModule } from './icon.module';
|
|
1
|
+
export { GtrIconComponent } from './gtr-icon.component';
|
|
2
|
+
export { GtrIconModule } from './gtr-icon.module';
|
package/lib/atoms/{custom-input/custom-input.component.d.ts → input/gtr-input.component.d.ts}
RENAMED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { GtrInputDataResponse } from './utils/gtr-input-utils';
|
|
3
3
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class GtrInputComponent implements ControlValueAccessor {
|
|
6
6
|
ngControl: NgControl;
|
|
7
7
|
constructor(ngControl: NgControl);
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
8
|
onChanged: any;
|
|
10
9
|
onTouched: any;
|
|
11
10
|
registerOnChange(fn: (value: any) => void): void;
|
|
@@ -108,7 +107,7 @@ export declare class CustomInputComponent implements AfterViewInit, ControlValue
|
|
|
108
107
|
/**
|
|
109
108
|
* The input change eventemitter
|
|
110
109
|
*/
|
|
111
|
-
inputChanged: EventEmitter<
|
|
110
|
+
inputChanged: EventEmitter<GtrInputDataResponse>;
|
|
112
111
|
/**
|
|
113
112
|
* The error eventemitter
|
|
114
113
|
*/
|
|
@@ -156,6 +155,6 @@ export declare class CustomInputComponent implements AfterViewInit, ControlValue
|
|
|
156
155
|
get isShowCustomError(): boolean;
|
|
157
156
|
get isShowDefaultError(): boolean;
|
|
158
157
|
get isInputInvalid(): boolean;
|
|
159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputComponent, [{ optional: true; self: true; }]>;
|
|
159
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputComponent, "gtr-input", never, { "inputWrapperId": { "alias": "inputWrapperId"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputIcon": { "alias": "inputIcon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconFontWeight": { "alias": "iconFontWeight"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "validateLabel": { "alias": "validateLabel"; "required": false; }; "isNumber": { "alias": "isNumber"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isOnlyView": { "alias": "isOnlyView"; "required": false; }; "defaultValidation": { "alias": "defaultValidation"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "inputChanged": "inputChanged"; "handleError": "handleError"; }, never, never, false, never>;
|
|
161
160
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-input.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../skeleton/utils/gtr-skeleton.directive";
|
|
5
|
+
import * as i4 from "../icon/gtr-icon.module";
|
|
6
|
+
export declare class GtrInputModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrInputModule, [typeof i1.GtrInputComponent], [typeof i2.CommonModule, typeof i3.GtrSkeletonDirective, typeof i4.GtrIconModule], [typeof i1.GtrInputComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrInputModule>;
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const GTR_INPUT_CONSTANTS: {
|
|
2
2
|
email_regex: RegExp;
|
|
3
3
|
password_regex: RegExp;
|
|
4
4
|
number_regex: RegExp;
|
|
5
5
|
};
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const GTR_INPUT_ERROR_MESSAGES: {
|
|
7
7
|
invalid_number: string;
|
|
8
8
|
invalid_input_type: string;
|
|
9
9
|
invalid_email: string;
|
|
@@ -12,17 +12,17 @@ export declare const ERROR_MESSAGES: {
|
|
|
12
12
|
input_not_allowed: string;
|
|
13
13
|
};
|
|
14
14
|
export type input = 'text' | 'number' | 'password' | 'email';
|
|
15
|
-
export declare enum
|
|
15
|
+
export declare enum GtrInputType {
|
|
16
16
|
TEXT = "text",
|
|
17
17
|
NUMBER = "number",
|
|
18
18
|
PASSWORD = "password",
|
|
19
19
|
EMAIL = "email"
|
|
20
20
|
}
|
|
21
|
-
export declare enum
|
|
21
|
+
export declare enum GtrInputState {
|
|
22
22
|
VALID = "valid",
|
|
23
23
|
INVALID = "invalid"
|
|
24
24
|
}
|
|
25
|
-
export interface
|
|
25
|
+
export interface GtrInputDataResponse {
|
|
26
26
|
event: Event | KeyboardEvent;
|
|
27
27
|
value: string | number;
|
|
28
28
|
inputstate: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GtrPopoverComponent implements OnInit {
|
|
4
|
+
private cdr;
|
|
5
|
+
position: 'top' | 'bottom' | 'left' | 'right';
|
|
6
|
+
isOpened: boolean;
|
|
7
|
+
showPositionIndicator: boolean;
|
|
8
|
+
moveX?: number | null;
|
|
9
|
+
moveY?: number | null;
|
|
10
|
+
padding?: number | null;
|
|
11
|
+
marginTop?: number | null;
|
|
12
|
+
marginBottom?: number | null;
|
|
13
|
+
marginLeft?: number | null;
|
|
14
|
+
marginRight?: number | null;
|
|
15
|
+
closeOnClickOutside: boolean;
|
|
16
|
+
id: string;
|
|
17
|
+
testId: string;
|
|
18
|
+
stateChanged: EventEmitter<any>;
|
|
19
|
+
popoverEl: ElementRef | undefined;
|
|
20
|
+
contentEl: ElementRef | undefined;
|
|
21
|
+
isVisible: boolean;
|
|
22
|
+
adjustedPosition: string;
|
|
23
|
+
positionMargin: string;
|
|
24
|
+
onResize(event: Event): void;
|
|
25
|
+
constructor(cdr: ChangeDetectorRef);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
togglePopover(): void;
|
|
29
|
+
handleClickOutside(event: Event): void;
|
|
30
|
+
handleKeyUp(event: KeyboardEvent): void;
|
|
31
|
+
popoverContentClicked(event: Event): void;
|
|
32
|
+
adjustPopoverPosition(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrPopoverComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrPopoverComponent, "gtr-popover", never, { "position": { "alias": "position"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; "showPositionIndicator": { "alias": "showPositionIndicator"; "required": false; }; "moveX": { "alias": "moveX"; "required": false; }; "moveY": { "alias": "moveY"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "stateChanged": "stateChanged"; }, never, ["[slot='gtr-popover-trigger']", "[slot='gtr-popover-content']"], false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-popover.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class GtrPopoverModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrPopoverModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrPopoverModule, [typeof i1.GtrPopoverComponent], [typeof i2.CommonModule], [typeof i1.GtrPopoverComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrPopoverModule>;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { GtrPopoverComponent } from './gtr-popover.component';
|
|
2
|
+
export { GtrPopoverModule } from './gtr-popover.module';
|
package/lib/atoms/radio-button/{radio-button.component.d.ts → gtr-radio-button.component.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GtrRadioButtonComponent implements OnInit, AfterViewInit, ControlValueAccessor {
|
|
5
5
|
ngControl: NgControl;
|
|
6
6
|
radioEl: ElementRef;
|
|
7
7
|
constructor(ngControl: NgControl, radioEl: ElementRef);
|
|
@@ -30,10 +30,6 @@ export declare class RadioButtonComponent implements OnInit, AfterViewInit, Cont
|
|
|
30
30
|
* The radio input tabindex
|
|
31
31
|
*/
|
|
32
32
|
tabIndexNav?: number;
|
|
33
|
-
/**
|
|
34
|
-
* The radio input template id
|
|
35
|
-
*/
|
|
36
|
-
templateId?: string;
|
|
37
33
|
/**
|
|
38
34
|
* The radio input value changed eventemitter
|
|
39
35
|
*/
|
|
@@ -84,6 +80,6 @@ export declare class RadioButtonComponent implements OnInit, AfterViewInit, Cont
|
|
|
84
80
|
handleChange(event?: any): void;
|
|
85
81
|
detectEnter(e: any): void;
|
|
86
82
|
ngOnInit(): void;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrRadioButtonComponent, [{ optional: true; self: true; }, null]>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrRadioButtonComponent, "gtr-radio-button", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "label": { "alias": "label"; "required": false; }; "tabIndexNav": { "alias": "tabIndexNav"; "required": false; }; "radioId": { "alias": "radioId"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, ["[slot='grt-info']"], false, never>;
|
|
89
85
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./radio-button.component";
|
|
2
|
+
import * as i1 from "./gtr-radio-button.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
export declare class RadioButtonhModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonhModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonhModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonhModule, [typeof i1.GtrRadioButtonComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.GtrRadioButtonComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonhModule>;
|
|
9
9
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { RadioButtonhModule } from './radio-button.module';
|
|
1
|
+
export { GtrRadioButtonComponent } from './gtr-radio-button.component';
|
|
2
|
+
export { RadioButtonhModule } from './gtr-radio-button.module';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GtrSkeletonComponent {
|
|
4
|
+
private host;
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
className: string;
|
|
8
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrSkeletonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrSkeletonComponent, "gtr-skeleton", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-skeleton.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./utils/gtr-skeleton.directive";
|
|
5
|
+
export declare class GtrSkeletonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrSkeletonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrSkeletonModule, [typeof i1.GtrSkeletonComponent], [typeof i2.CommonModule, typeof i3.GtrSkeletonDirective], [typeof i1.GtrSkeletonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrSkeletonModule>;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { GtrSkeletonModule } from './gtr-skeleton.module';
|
|
2
|
+
export { GtrSkeletonDirective } from './utils/gtr-skeleton.directive';
|
|
3
|
+
export { GtrSkeletonComponent } from './gtr-skeleton.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GtrSkeletonDirective {
|
|
4
|
+
private tpl;
|
|
5
|
+
private vcr;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
size: number;
|
|
8
|
+
width: string;
|
|
9
|
+
height: string;
|
|
10
|
+
className: string;
|
|
11
|
+
constructor(tpl: TemplateRef<any>, vcr: ViewContainerRef);
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrSkeletonDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrSkeletonDirective, "[skeleton]", never, { "isLoading": { "alias": "skeleton"; "required": false; }; "size": { "alias": "skeletonRepeat"; "required": false; }; "width": { "alias": "skeletonWidth"; "required": false; }; "height": { "alias": "skeletonHeight"; "required": false; }; "className": { "alias": "skeletonClassName"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GtrSwitchComponent implements ControlValueAccessor {
|
|
5
5
|
ngControl: NgControl;
|
|
6
6
|
constructor(ngControl: NgControl);
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
7
|
writeValue(obj: any): void;
|
|
9
8
|
registerOnChange(fn: any): void;
|
|
10
9
|
registerOnTouched(fn: any): void;
|
|
@@ -51,6 +50,6 @@ export declare class CustomGtrSwitchComponent implements AfterViewInit, ControlV
|
|
|
51
50
|
* Local method to handle click events for switch button
|
|
52
51
|
*/
|
|
53
52
|
handleClick(): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrSwitchComponent, [{ optional: true; self: true; }]>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrSwitchComponent, "gtr-switch", never, { "checked": { "alias": "checked"; "required": false; }; "switchId": { "alias": "switchId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "gtrChange": "gtrChange"; }, never, never, false, never>;
|
|
56
55
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-switch.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class GtrSwitchModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrSwitchModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrSwitchModule, [typeof i1.GtrSwitchComponent], [typeof i2.CommonModule], [typeof i1.GtrSwitchComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrSwitchModule>;
|
|
8
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { GtrTextareaDataResponse } from './utils/gtr-textarea.types';
|
|
3
3
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class GtrTextareaComponent implements ControlValueAccessor {
|
|
6
6
|
ngControl: NgControl;
|
|
7
7
|
constructor(ngControl: NgControl);
|
|
8
8
|
onChanged: any;
|
|
@@ -66,7 +66,7 @@ export declare class CustomTextareaComponent implements ControlValueAccessor {
|
|
|
66
66
|
/**
|
|
67
67
|
* The textarea change eventemitter
|
|
68
68
|
*/
|
|
69
|
-
textareaChanged: EventEmitter<
|
|
69
|
+
textareaChanged: EventEmitter<GtrTextareaDataResponse>;
|
|
70
70
|
/**
|
|
71
71
|
* The error eventemitter
|
|
72
72
|
*/
|
|
@@ -107,6 +107,6 @@ export declare class CustomTextareaComponent implements ControlValueAccessor {
|
|
|
107
107
|
get isShowDefaultError(): boolean;
|
|
108
108
|
get isInputInvalid(): boolean;
|
|
109
109
|
render(): void;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTextareaComponent, [{ optional: true; self: true; }]>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTextareaComponent, "gtr-textarea", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "textareaLabel": { "alias": "textareaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "textAreaWrapperId": { "alias": "textAreaWrapperId"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "isOnlyView": { "alias": "isOnlyView"; "required": false; }; "defaultValidation": { "alias": "defaultValidation"; "required": false; }; }, { "textareaChanged": "textareaChanged"; "handleError": "handleError"; }, never, never, false, never>;
|
|
112
112
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-textarea.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../skeleton/utils/gtr-skeleton.directive";
|
|
5
|
+
import * as i4 from "../icon/gtr-icon.module";
|
|
6
|
+
export declare class GtrTextareaModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTextareaModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrTextareaModule, [typeof i1.GtrTextareaComponent], [typeof i2.CommonModule, typeof i3.GtrSkeletonDirective, typeof i4.GtrIconModule], [typeof i1.GtrTextareaComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrTextareaModule>;
|
|
10
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const GTR_TEXTTAREA_ERROR_MESSAGES: {
|
|
2
2
|
empty_field: string;
|
|
3
3
|
};
|
|
4
|
-
export declare enum
|
|
4
|
+
export declare enum GtrTextareaState {
|
|
5
5
|
VALID = "valid",
|
|
6
6
|
INVALID = "invalid"
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface GtrTextareaDataResponse {
|
|
9
9
|
value: string | number;
|
|
10
10
|
textareastate: string;
|
|
11
11
|
invalid: boolean;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { positionType } from './utils/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GtrTooltipComponent implements AfterViewInit {
|
|
5
|
+
tooltipElement: ElementRef;
|
|
6
|
+
/**
|
|
7
|
+
* The tooltip element
|
|
8
|
+
*/
|
|
9
|
+
contentEl?: ElementRef;
|
|
10
|
+
/**
|
|
11
|
+
* The resize and scroll listeners for scroll and window resize event is fired to adjust tooltip position
|
|
12
|
+
*/
|
|
13
|
+
handleResizeScroll(): void;
|
|
14
|
+
constructor(tooltipElement: ElementRef);
|
|
15
|
+
/**
|
|
16
|
+
* The tooltip content
|
|
17
|
+
*/
|
|
18
|
+
tooltipId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The tooltip content
|
|
21
|
+
*/
|
|
22
|
+
content?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The tooltip position
|
|
25
|
+
*/
|
|
26
|
+
position: positionType;
|
|
27
|
+
/**
|
|
28
|
+
* The popover auto adjust position
|
|
29
|
+
*/
|
|
30
|
+
autoAdjustable: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The tooltip adjustable position
|
|
33
|
+
*/
|
|
34
|
+
newPosition: string;
|
|
35
|
+
/**
|
|
36
|
+
* The watch decorator fires event when tooltip position changed
|
|
37
|
+
*/
|
|
38
|
+
adjustPosition(): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* The click event for hide tooltip visibility
|
|
41
|
+
*/
|
|
42
|
+
hideTooltip(): void;
|
|
43
|
+
/**
|
|
44
|
+
* The componentWillLoad hook
|
|
45
|
+
*/
|
|
46
|
+
ngAfterViewInit(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTooltipComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTooltipComponent, "gtr-tooltip", never, { "tooltipId": { "alias": "tooltipId"; "required": false; }; "content": { "alias": "content"; "required": false; }; "position": { "alias": "position"; "required": false; }; "autoAdjustable": { "alias": "autoAdjustable"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gtr-tooltip.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class GtrTooltipModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTooltipModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrTooltipModule, [typeof i1.GtrTooltipComponent], [typeof i2.CommonModule], [typeof i1.GtrTooltipComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrTooltipModule>;
|
|
8
|
+
}
|