@gettrx/core-components-angular 0.0.60 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/generated/components.mjs +729 -0
- package/esm2022/generated/proxies-list.mjs +30 -0
- package/esm2022/generated/text-value-accessor.mjs +36 -0
- package/{esm2020 → esm2022}/generated/value-accessor.mjs +4 -4
- package/{esm2020 → esm2022}/gettrx-module.mjs +5 -5
- package/esm2022/index.mjs +2 -0
- package/esm2022/lib/atoms/badge/badge.component.mjs +77 -0
- package/esm2022/lib/atoms/badge/badge.module.mjs +19 -0
- package/esm2022/lib/atoms/badge/index.mjs +2 -0
- package/esm2022/lib/atoms/badge/public_api.mjs +3 -0
- package/esm2022/lib/atoms/button/button-close.directive.mjs +39 -0
- package/esm2022/lib/atoms/button/button.directive.mjs +102 -0
- package/esm2022/lib/atoms/button/button.module.mjs +17 -0
- package/esm2022/lib/atoms/button/index.mjs +2 -0
- package/esm2022/lib/atoms/button/public_api.mjs +4 -0
- package/esm2022/lib/atoms/custom-button/custom-button.component.mjs +60 -0
- package/esm2022/lib/atoms/custom-button/custom-button.module.mjs +19 -0
- package/esm2022/lib/atoms/custom-button/index.mjs +3 -0
- package/esm2022/lib/atoms/custom-button/utils/utils.mjs +2 -0
- package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.component.mjs +109 -0
- package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.mjs +18 -0
- package/esm2022/lib/atoms/custom-gtr-switch/index.mjs +2 -0
- package/esm2022/lib/atoms/custom-gtr-switch/public_api.mjs +3 -0
- package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.mjs +143 -0
- package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.mjs +18 -0
- package/esm2022/lib/atoms/custom-gtr-tooltip/index.mjs +2 -0
- package/esm2022/lib/atoms/custom-gtr-tooltip/public_api.mjs +3 -0
- package/esm2022/lib/atoms/custom-gtr-tooltip/utils/utils.mjs +2 -0
- package/esm2022/lib/atoms/custom-input/custom-input.component.mjs +364 -0
- package/esm2022/lib/atoms/custom-input/custom-input.module.mjs +21 -0
- package/esm2022/lib/atoms/custom-input/index.mjs +2 -0
- package/esm2022/lib/atoms/custom-input/public_api.mjs +3 -0
- package/esm2022/lib/atoms/custom-input/utils/input-utils.mjs +26 -0
- package/esm2022/lib/atoms/custom-textarea/custom-textarea.component.mjs +242 -0
- package/esm2022/lib/atoms/custom-textarea/custom-textarea.module.mjs +21 -0
- package/esm2022/lib/atoms/custom-textarea/index.mjs +2 -0
- package/esm2022/lib/atoms/custom-textarea/public_api.mjs +3 -0
- package/esm2022/lib/atoms/custom-textarea/utils/gtr-textarea.types.mjs +9 -0
- package/esm2022/lib/atoms/gtr.types.mjs +10 -0
- package/esm2022/lib/atoms/icon/icon.component.mjs +44 -0
- package/esm2022/lib/atoms/icon/icon.module.mjs +18 -0
- package/esm2022/lib/atoms/icon/index.mjs +2 -0
- package/esm2022/lib/atoms/icon/public_api.mjs +3 -0
- package/esm2022/lib/atoms/popover/index.mjs +2 -0
- package/esm2022/lib/atoms/popover/popover.component.mjs +147 -0
- package/esm2022/lib/atoms/popover/popover.module.mjs +18 -0
- package/esm2022/lib/atoms/popover/public_api.mjs +3 -0
- package/esm2022/lib/atoms/radio-button/index.mjs +2 -0
- package/esm2022/lib/atoms/radio-button/public_api.mjs +3 -0
- package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +186 -0
- package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +19 -0
- package/esm2022/lib/atoms/skeleton/index.mjs +2 -0
- package/esm2022/lib/atoms/skeleton/public_api.mjs +4 -0
- package/esm2022/lib/atoms/skeleton/skeleton.component.mjs +24 -0
- package/esm2022/lib/atoms/skeleton/skeleton.module.mjs +20 -0
- package/esm2022/lib/atoms/skeleton/utils/skeleton.directive.mjs +51 -0
- package/esm2022/lib/molecules/accordion/accordion/accordion.component.mjs +108 -0
- package/esm2022/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.mjs +92 -0
- package/esm2022/lib/molecules/accordion/accordion.module.mjs +21 -0
- package/esm2022/lib/molecules/accordion/index.mjs +2 -0
- package/esm2022/lib/molecules/accordion/public_api.mjs +4 -0
- package/esm2022/lib/molecules/button/button-close.directive.mjs +39 -0
- package/esm2022/lib/molecules/button/button.directive.mjs +100 -0
- package/esm2022/lib/molecules/button/button.module.mjs +17 -0
- package/esm2022/lib/molecules/button/index.mjs +2 -0
- package/esm2022/lib/molecules/button/public_api.mjs +4 -0
- package/esm2022/lib/molecules/calendar/calendar/calendar-class-view.pipe.mjs +20 -0
- package/esm2022/lib/molecules/calendar/calendar/calendar.component.mjs +428 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.mjs +30 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.mjs +23 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.mjs +22 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.mjs +17 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.directive.mjs +119 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.pipe.mjs +19 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.mjs +20 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.component.mjs +418 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.pipe.mjs +17 -0
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.mjs +21 -0
- package/esm2022/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.mjs +85 -0
- package/esm2022/lib/molecules/calendar/calendar.module.mjs +55 -0
- package/esm2022/lib/molecules/calendar/calendar.service.mjs +62 -0
- package/esm2022/lib/molecules/calendar/calendar.utils.mjs +296 -0
- package/esm2022/lib/molecules/calendar/index.mjs +2 -0
- package/esm2022/lib/molecules/calendar/public_api.mjs +5 -0
- package/esm2022/lib/molecules/checkbox/checkbox/checkbox.component.mjs +96 -0
- package/esm2022/lib/molecules/checkbox/checkbox/checkbox.model.mjs +2 -0
- package/esm2022/lib/molecules/checkbox/checkbox.module.mjs +20 -0
- package/esm2022/lib/molecules/checkbox/index.mjs +2 -0
- package/esm2022/lib/molecules/checkbox/public_api.mjs +4 -0
- package/esm2022/lib/molecules/core-components.types.mjs +10 -0
- package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.component.mjs +148 -0
- package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.module.mjs +18 -0
- package/esm2022/lib/molecules/custom-gtr-modal/index.mjs +2 -0
- package/esm2022/lib/molecules/custom-gtr-modal/public_api.mjs +3 -0
- package/esm2022/lib/molecules/date-picker/date-picker.component.mjs +81 -0
- package/esm2022/lib/molecules/date-picker/date-picker.module.mjs +58 -0
- package/esm2022/lib/molecules/date-picker/index.mjs +2 -0
- package/esm2022/lib/molecules/date-picker/public_api.mjs +3 -0
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.mjs +700 -0
- package/esm2022/lib/molecules/date-range-picker/date-range-picker.module.mjs +58 -0
- package/esm2022/lib/molecules/date-range-picker/index.mjs +2 -0
- package/esm2022/lib/molecules/date-range-picker/public_api.mjs +3 -0
- package/esm2022/lib/molecules/dropdown/dropdown/dropdown.component.mjs +387 -0
- package/esm2022/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.mjs +79 -0
- package/esm2022/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +22 -0
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.mjs +93 -0
- package/esm2022/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.mjs +75 -0
- package/esm2022/lib/molecules/dropdown/dropdown.module.mjs +56 -0
- package/esm2022/lib/molecules/dropdown/dropdown.service.mjs +18 -0
- package/esm2022/lib/molecules/dropdown/index.mjs +2 -0
- package/esm2022/lib/molecules/dropdown/public_api.mjs +10 -0
- package/esm2022/lib/molecules/file-input/file-input/file-input.component.mjs +144 -0
- package/esm2022/lib/molecules/file-input/file-input/file-input.model.mjs +2 -0
- package/esm2022/lib/molecules/file-input/file-input.module.mjs +18 -0
- package/esm2022/lib/molecules/file-input/index.mjs +2 -0
- package/esm2022/lib/molecules/file-input/public_api.mjs +4 -0
- package/esm2022/lib/molecules/form/form/form.directive.mjs +33 -0
- package/esm2022/lib/molecules/form/form-check/form-check-input.directive.mjs +62 -0
- package/esm2022/lib/molecules/form/form-check/form-check-label.directive.mjs +22 -0
- package/esm2022/lib/molecules/form/form-check/form-check.component.mjs +77 -0
- package/esm2022/lib/molecules/form/form-control/form-control.directive.mjs +66 -0
- package/esm2022/lib/molecules/form/form-feedback/form-feedback.component.mjs +38 -0
- package/esm2022/lib/molecules/form/form-floating/form-floating.directive.mjs +32 -0
- package/esm2022/lib/molecules/form/form-label/form-label.directive.mjs +40 -0
- package/esm2022/lib/molecules/form/form-select/form-select.directive.mjs +35 -0
- package/esm2022/lib/molecules/form/form-text/form-text.directive.mjs +22 -0
- package/esm2022/lib/molecules/form/form.module.mjs +75 -0
- package/esm2022/lib/molecules/form/index.mjs +2 -0
- package/esm2022/lib/molecules/form/input-group/input-group.component.mjs +32 -0
- package/esm2022/lib/molecules/form/input-group-text/input-group-text.directive.mjs +23 -0
- package/esm2022/lib/molecules/form/public_api.mjs +14 -0
- package/esm2022/lib/molecules/numeric-counter/index.mjs +2 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.mjs +158 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.mjs +2 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.mjs +2 -0
- package/esm2022/lib/molecules/numeric-counter/numeric-counter.module.mjs +19 -0
- package/esm2022/lib/molecules/numeric-counter/public_api.mjs +5 -0
- package/esm2022/lib/molecules/pagination/helpers/index.mjs +3 -0
- package/esm2022/lib/molecules/pagination/helpers/models/index.mjs +3 -0
- package/esm2022/lib/molecules/pagination/helpers/models/pagination.interface.mjs +2 -0
- package/esm2022/lib/molecules/pagination/helpers/models/pagination.model.mjs +3 -0
- package/esm2022/lib/molecules/pagination/helpers/pipes/index.mjs +2 -0
- package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.mjs +21 -0
- package/esm2022/lib/molecules/pagination/index.mjs +2 -0
- package/esm2022/lib/molecules/pagination/pagination/pagination.component.mjs +146 -0
- package/esm2022/lib/molecules/pagination/pagination/pagination.mjs +80 -0
- package/esm2022/lib/molecules/pagination/pagination.module.mjs +21 -0
- package/esm2022/lib/molecules/pagination/public_api.mjs +4 -0
- package/esm2022/lib/molecules/select/helpers/enums/index.mjs +2 -0
- package/esm2022/lib/molecules/select/helpers/enums/select.enums.mjs +6 -0
- package/esm2022/lib/molecules/select/helpers/index.mjs +4 -0
- package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.mjs +57 -0
- package/esm2022/lib/molecules/select/helpers/pipes/index.mjs +3 -0
- package/esm2022/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.mjs +26 -0
- package/esm2022/lib/molecules/select/helpers/types/index.mjs +2 -0
- package/esm2022/lib/molecules/select/helpers/types/select.type.mjs +2 -0
- package/esm2022/lib/molecules/select/index.mjs +2 -0
- package/esm2022/lib/molecules/select/public_api.mjs +4 -0
- package/esm2022/lib/molecules/select/select/select.component.mjs +445 -0
- package/esm2022/lib/molecules/select/select.module.mjs +37 -0
- package/esm2022/lib/molecules/shared/html-attr.directive.mjs +55 -0
- package/esm2022/lib/molecules/shared/index.mjs +2 -0
- package/esm2022/lib/molecules/shared/public_api.mjs +4 -0
- package/esm2022/lib/molecules/shared/shared.module.mjs +22 -0
- package/esm2022/lib/molecules/shared/template-id.directive.mjs +20 -0
- package/esm2022/lib/molecules/stat-card/index.mjs +2 -0
- package/esm2022/lib/molecules/stat-card/public_api.mjs +3 -0
- package/esm2022/lib/molecules/stat-card/stat-card.component.mjs +135 -0
- package/esm2022/lib/molecules/stat-card/stat-card.module.mjs +21 -0
- package/esm2022/lib/molecules/time-picker/index.mjs +2 -0
- package/esm2022/lib/molecules/time-picker/public_api.mjs +3 -0
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +106 -0
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +107 -0
- package/esm2022/lib/molecules/time-picker/time-picker.component.mjs +512 -0
- package/esm2022/lib/molecules/time-picker/time-picker.module.mjs +51 -0
- package/esm2022/lib/molecules/time-picker/time.utils.mjs +676 -0
- package/esm2022/public-api.mjs +38 -0
- package/fesm2022/gettrx-core-components-angular.mjs +9696 -0
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -0
- package/generated/components.d.ts +124 -124
- package/generated/proxies-list.d.ts +1 -1
- package/generated/text-value-accessor.d.ts +1 -1
- package/gettrx-module.d.ts +1 -1
- package/index.d.ts +1 -5
- package/lib/atoms/badge/badge.component.d.ts +25 -0
- package/lib/atoms/badge/badge.module.d.ts +9 -0
- package/lib/atoms/badge/index.d.ts +1 -0
- package/lib/atoms/badge/public_api.d.ts +2 -0
- package/lib/atoms/button/button-close.directive.d.ts +13 -0
- package/lib/atoms/button/button.directive.d.ts +48 -0
- package/lib/atoms/button/button.module.d.ts +8 -0
- package/lib/atoms/button/index.d.ts +1 -0
- package/lib/atoms/button/public_api.d.ts +3 -0
- package/lib/atoms/custom-button/custom-button.component.d.ts +39 -0
- package/lib/atoms/custom-button/custom-button.module.d.ts +9 -0
- package/lib/atoms/custom-button/index.d.ts +2 -0
- package/lib/atoms/custom-button/utils/utils.d.ts +3 -0
- package/lib/atoms/custom-gtr-switch/custom-gtr-switch.component.d.ts +56 -0
- package/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.d.ts +8 -0
- package/lib/atoms/custom-gtr-switch/index.d.ts +1 -0
- package/lib/atoms/custom-gtr-switch/public_api.d.ts +2 -0
- package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.d.ts +59 -0
- package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.d.ts +8 -0
- package/lib/atoms/custom-gtr-tooltip/index.d.ts +1 -0
- package/lib/atoms/custom-gtr-tooltip/public_api.d.ts +2 -0
- package/lib/atoms/custom-gtr-tooltip/utils/utils.d.ts +1 -0
- package/lib/atoms/custom-input/custom-input.component.d.ts +161 -0
- package/lib/atoms/custom-input/custom-input.module.d.ts +10 -0
- package/lib/atoms/custom-input/index.d.ts +1 -0
- package/lib/atoms/custom-input/public_api.d.ts +2 -0
- package/lib/atoms/custom-input/utils/input-utils.d.ts +30 -0
- package/lib/atoms/custom-textarea/custom-textarea.component.d.ts +112 -0
- package/lib/atoms/custom-textarea/custom-textarea.module.d.ts +10 -0
- package/lib/atoms/custom-textarea/index.d.ts +1 -0
- package/lib/atoms/custom-textarea/public_api.d.ts +2 -0
- package/lib/atoms/custom-textarea/utils/gtr-textarea.types.d.ts +12 -0
- package/lib/atoms/gtr.types.d.ts +46 -0
- package/lib/atoms/icon/icon.component.d.ts +27 -0
- package/lib/atoms/icon/icon.module.d.ts +8 -0
- package/lib/atoms/icon/index.d.ts +1 -0
- package/lib/atoms/icon/public_api.d.ts +2 -0
- package/lib/atoms/popover/index.d.ts +1 -0
- package/lib/atoms/popover/popover.component.d.ts +35 -0
- package/lib/atoms/popover/popover.module.d.ts +8 -0
- package/lib/atoms/popover/public_api.d.ts +2 -0
- package/lib/atoms/radio-button/index.d.ts +1 -0
- package/lib/atoms/radio-button/public_api.d.ts +2 -0
- package/lib/atoms/radio-button/radio-button.component.d.ts +89 -0
- package/lib/atoms/radio-button/radio-button.module.d.ts +9 -0
- package/lib/atoms/skeleton/index.d.ts +1 -0
- package/lib/atoms/skeleton/public_api.d.ts +3 -0
- package/lib/atoms/skeleton/skeleton.component.d.ts +12 -0
- package/lib/atoms/skeleton/skeleton.module.d.ts +9 -0
- package/lib/atoms/skeleton/utils/skeleton.directive.d.ts +15 -0
- package/lib/molecules/accordion/accordion/accordion.component.d.ts +59 -0
- package/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.d.ts +37 -0
- package/lib/molecules/accordion/accordion.module.d.ts +11 -0
- package/lib/molecules/accordion/index.d.ts +1 -0
- package/lib/molecules/accordion/public_api.d.ts +3 -0
- package/lib/molecules/button/button-close.directive.d.ts +13 -0
- package/lib/molecules/button/button.directive.d.ts +48 -0
- package/lib/molecules/button/button.module.d.ts +8 -0
- package/lib/molecules/button/index.d.ts +1 -0
- package/lib/molecules/button/public_api.d.ts +3 -0
- package/lib/molecules/calendar/calendar/calendar-class-view.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar/calendar.component.d.ts +177 -0
- package/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.d.ts +15 -0
- package/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/calendar-day.directive.d.ts +33 -0
- package/lib/molecules/calendar/calendar-month/calendar-day.pipe.d.ts +8 -0
- package/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/calendar-month.component.d.ts +134 -0
- package/lib/molecules/calendar/calendar-month/calendar-month.pipe.d.ts +7 -0
- package/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.d.ts +8 -0
- package/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.d.ts +32 -0
- package/lib/molecules/calendar/calendar.module.d.ts +19 -0
- package/lib/molecules/calendar/calendar.service.d.ts +36 -0
- package/lib/molecules/calendar/calendar.utils.d.ts +26 -0
- package/lib/molecules/calendar/index.d.ts +1 -0
- package/lib/molecules/calendar/public_api.d.ts +4 -0
- package/lib/molecules/checkbox/checkbox/checkbox.component.d.ts +54 -0
- package/lib/molecules/checkbox/checkbox/checkbox.model.d.ts +4 -0
- package/lib/molecules/checkbox/checkbox.module.d.ts +10 -0
- package/lib/molecules/checkbox/index.d.ts +1 -0
- package/lib/molecules/checkbox/public_api.d.ts +3 -0
- package/lib/molecules/core-components.types.d.ts +46 -0
- package/lib/molecules/custom-gtr-modal/custom-gtr-modal.component.d.ts +75 -0
- package/lib/molecules/custom-gtr-modal/custom-gtr-modal.module.d.ts +8 -0
- package/lib/molecules/custom-gtr-modal/index.d.ts +1 -0
- package/lib/molecules/custom-gtr-modal/public_api.d.ts +2 -0
- package/lib/molecules/date-picker/date-picker.component.d.ts +18 -0
- package/lib/molecules/date-picker/date-picker.module.d.ts +18 -0
- package/lib/molecules/date-picker/index.d.ts +1 -0
- package/lib/molecules/date-picker/public_api.d.ts +2 -0
- package/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.d.ts +272 -0
- package/lib/molecules/date-range-picker/date-range-picker.module.d.ts +18 -0
- package/lib/molecules/date-range-picker/index.d.ts +1 -0
- package/lib/molecules/date-range-picker/public_api.d.ts +2 -0
- package/lib/molecules/dropdown/dropdown/dropdown.component.d.ts +136 -0
- package/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.d.ts +26 -0
- package/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +6 -0
- package/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.d.ts +36 -0
- package/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +34 -0
- package/lib/molecules/dropdown/dropdown.module.d.ts +13 -0
- package/lib/molecules/dropdown/dropdown.service.d.ts +13 -0
- package/lib/molecules/dropdown/index.d.ts +1 -0
- package/lib/molecules/dropdown/public_api.d.ts +9 -0
- package/lib/molecules/file-input/file-input/file-input.component.d.ts +72 -0
- package/lib/molecules/file-input/file-input/file-input.model.d.ts +3 -0
- package/lib/molecules/file-input/file-input.module.d.ts +8 -0
- package/lib/molecules/file-input/index.d.ts +1 -0
- package/lib/molecules/file-input/public_api.d.ts +3 -0
- package/lib/molecules/form/form/form.directive.d.ts +13 -0
- package/lib/molecules/form/form-check/form-check-input.directive.d.ts +31 -0
- package/lib/molecules/form/form-check/form-check-label.directive.d.ts +6 -0
- package/lib/molecules/form/form-check/form-check.component.d.ts +39 -0
- package/lib/molecules/form/form-control/form-control.directive.d.ts +31 -0
- package/lib/molecules/form/form-feedback/form-feedback.component.d.ts +17 -0
- package/lib/molecules/form/form-floating/form-floating.directive.d.ts +12 -0
- package/lib/molecules/form/form-label/form-label.directive.d.ts +16 -0
- package/lib/molecules/form/form-select/form-select.directive.d.ts +16 -0
- package/lib/molecules/form/form-text/form-text.directive.d.ts +6 -0
- package/lib/molecules/form/form.module.d.ts +18 -0
- package/lib/molecules/form/index.d.ts +1 -0
- package/lib/molecules/form/input-group/input-group.component.d.ts +11 -0
- package/lib/molecules/form/input-group-text/input-group-text.directive.d.ts +7 -0
- package/lib/molecules/form/public_api.d.ts +13 -0
- package/lib/molecules/numeric-counter/index.d.ts +1 -0
- package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.d.ts +27 -0
- package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.d.ts +1 -0
- package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.d.ts +4 -0
- package/lib/molecules/numeric-counter/numeric-counter.module.d.ts +9 -0
- package/lib/molecules/numeric-counter/public_api.d.ts +4 -0
- package/lib/molecules/pagination/helpers/index.d.ts +2 -0
- package/lib/molecules/pagination/helpers/models/index.d.ts +2 -0
- package/lib/molecules/pagination/helpers/models/pagination.interface.d.ts +7 -0
- package/lib/molecules/pagination/helpers/models/pagination.model.d.ts +2 -0
- package/lib/molecules/pagination/helpers/pipes/index.d.ts +1 -0
- package/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.d.ts +8 -0
- package/lib/molecules/pagination/index.d.ts +1 -0
- package/lib/molecules/pagination/pagination/pagination.component.d.ts +65 -0
- package/lib/molecules/pagination/pagination/pagination.d.ts +21 -0
- package/lib/molecules/pagination/pagination.module.d.ts +11 -0
- package/lib/molecules/pagination/public_api.d.ts +3 -0
- package/lib/molecules/select/helpers/enums/index.d.ts +1 -0
- package/lib/molecules/select/helpers/enums/select.enums.d.ts +4 -0
- package/lib/molecules/select/helpers/index.d.ts +3 -0
- package/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.d.ts +8 -0
- package/lib/molecules/select/helpers/pipes/index.d.ts +2 -0
- package/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.d.ts +7 -0
- package/lib/molecules/select/helpers/types/index.d.ts +1 -0
- package/lib/molecules/select/helpers/types/select.type.d.ts +7 -0
- package/lib/molecules/select/index.d.ts +1 -0
- package/lib/molecules/select/public_api.d.ts +3 -0
- package/lib/molecules/select/select/select.component.d.ts +159 -0
- package/lib/molecules/select/select.module.d.ts +12 -0
- package/lib/molecules/shared/html-attr.directive.d.ts +16 -0
- package/lib/molecules/shared/index.d.ts +1 -0
- package/lib/molecules/shared/public_api.d.ts +3 -0
- package/lib/molecules/shared/shared.module.d.ts +10 -0
- package/lib/molecules/shared/template-id.directive.d.ts +9 -0
- package/lib/molecules/stat-card/index.d.ts +1 -0
- package/lib/molecules/stat-card/public_api.d.ts +2 -0
- package/lib/molecules/stat-card/stat-card.component.d.ts +56 -0
- package/lib/molecules/stat-card/stat-card.module.d.ts +11 -0
- package/lib/molecules/time-picker/index.d.ts +1 -0
- package/lib/molecules/time-picker/public_api.d.ts +2 -0
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +39 -0
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +38 -0
- package/lib/molecules/time-picker/time-picker.component.d.ts +196 -0
- package/lib/molecules/time-picker/time-picker.module.d.ts +14 -0
- package/lib/molecules/time-picker/time.utils.d.ts +57 -0
- package/package.json +8 -15
- package/public-api.d.ts +31 -0
- package/esm2020/generated/components.mjs +0 -729
- package/esm2020/generated/number-value-accessor.mjs +0 -40
- package/esm2020/generated/proxies-list.mjs +0 -30
- package/esm2020/generated/text-value-accessor.mjs +0 -36
- package/esm2020/index.mjs +0 -9
- package/fesm2015/gettrx-core-components-angular.mjs +0 -918
- package/fesm2015/gettrx-core-components-angular.mjs.map +0 -1
- package/fesm2020/gettrx-core-components-angular.mjs +0 -918
- package/fesm2020/gettrx-core-components-angular.mjs.map +0 -1
- package/generated/number-value-accessor.d.ts +0 -9
- /package/{esm2020 → esm2022}/generated/angular-component-lib/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/gettrx-core-components-angular.mjs +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CustomButtonComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** (optional) Button type */
|
|
6
|
+
this.type = 'button';
|
|
7
|
+
/** (optional) Button type */
|
|
8
|
+
this.btnId = '';
|
|
9
|
+
/**
|
|
10
|
+
* (optional) color.
|
|
11
|
+
* @default primary
|
|
12
|
+
*/
|
|
13
|
+
this.color = 'primary';
|
|
14
|
+
/**
|
|
15
|
+
* (optional) loading.
|
|
16
|
+
* @default isLoading
|
|
17
|
+
*/
|
|
18
|
+
this.isLoading = false;
|
|
19
|
+
/**
|
|
20
|
+
* Optional variant. <br />
|
|
21
|
+
* `raised` : Rectangular contained button w/ elevation <br />
|
|
22
|
+
* `flat` : Rectangular contained button w/ no elevation <br />
|
|
23
|
+
* `outline` : Rectangular outlined button w/ no elevation <br />
|
|
24
|
+
* `link` : Rectangular text button w/ no elevation <br />
|
|
25
|
+
* `icon` : Circular button with a transparent background, meant to contain an icon
|
|
26
|
+
*/
|
|
27
|
+
this.variant = 'raised';
|
|
28
|
+
/** (optional) If `true`, the button is disabled */
|
|
29
|
+
this.disabled = false;
|
|
30
|
+
}
|
|
31
|
+
getCssClassMap() {
|
|
32
|
+
return {
|
|
33
|
+
[`${this.type}`]: true,
|
|
34
|
+
[`${this.color}`]: true,
|
|
35
|
+
[`${this.variant}`]: true,
|
|
36
|
+
['button--loading']: this.isLoading,
|
|
37
|
+
['disabled']: this.disabled,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
ngOnInit() { }
|
|
41
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
42
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomButtonComponent, selector: "gtr-button", inputs: { type: "type", btnId: "btnId", color: "color", isLoading: "isLoading", variant: "variant", disabled: "disabled" }, ngImport: i0, template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }); }
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonComponent, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'gtr-button', template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
47
|
+
}], propDecorators: { type: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], btnId: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], color: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], isLoading: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], variant: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], disabled: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}] } });
|
|
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HB1YmxpYyBnZXRDc3NDbGFzc01hcCgpIHtcbiAgICByZXR1cm4ge1xuICAgICAgW2Ake3RoaXMudHlwZX1gXTogdHJ1ZSxcbiAgICAgIFtgJHt0aGlzLmNvbG9yfWBdOiB0cnVlLFxuICAgICAgW2Ake3RoaXMudmFyaWFudH1gXTogdHJ1ZSxcbiAgICAgIFsnYnV0dG9uLS1sb2FkaW5nJ106IHRoaXMuaXNMb2FkaW5nLFxuICAgICAgWydkaXNhYmxlZCddOiB0aGlzLmRpc2FibGVkLFxuICAgIH07XG4gIH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHt9XG59XG4iLCI8YnV0dG9uIFt0eXBlXT1cInRoaXMudHlwZVwiIFtjbGFzc109XCJnZXRDc3NDbGFzc01hcCgpXCIgW2lkXT1cImJ0bklkXCIgW2F0dHIuZGF0YS10ZXN0aWRdPVwiYnRuSWRcIlxuICBbYXR0ci5hcmlhLWRpc2FibGVkXT1cInRoaXMuZGlzYWJsZWQgPyAndHJ1ZScgOiAnZmFsc2UnXCIgW2Rpc2FibGVkXT1cInRoaXMuZGlzYWJsZWRcIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9idXR0b24+XG4iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { CustomButtonComponent } from './custom-button.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CustomButtonModule {
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonModule, declarations: [CustomButtonComponent], imports: [CommonModule, FormsModule], exports: [CustomButtonComponent] }); }
|
|
9
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonModule, imports: [CommonModule, FormsModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomButtonModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [CustomButtonComponent],
|
|
15
|
+
imports: [CommonModule, FormsModule],
|
|
16
|
+
exports: [CustomButtonComponent],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWJ1dHRvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1idXR0b24vY3VzdG9tLWJ1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDOztBQU9sRSxNQUFNLE9BQU8sa0JBQWtCO2tJQUFsQixrQkFBa0I7bUlBQWxCLGtCQUFrQixpQkFKZCxxQkFBcUIsYUFDMUIsWUFBWSxFQUFFLFdBQVcsYUFDekIscUJBQXFCO21JQUVwQixrQkFBa0IsWUFIbkIsWUFBWSxFQUFFLFdBQVc7OzRGQUd4QixrQkFBa0I7a0JBTDlCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMscUJBQXFCLENBQUM7b0JBQ3JDLE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxXQUFXLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLHFCQUFxQixDQUFDO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgeyBDdXN0b21CdXR0b25Db21wb25lbnQgfSBmcm9tICcuL2N1c3RvbS1idXR0b24uY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQ3VzdG9tQnV0dG9uQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgRm9ybXNNb2R1bGVdLFxuICBleHBvcnRzOiBbQ3VzdG9tQnV0dG9uQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQ3VzdG9tQnV0dG9uTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CustomButtonComponent } from './custom-button.component';
|
|
2
|
+
export { CustomButtonModule } from './custom-button.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1idXR0b24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdXN0b21CdXR0b25Db21wb25lbnQgfSBmcm9tICcuL2N1c3RvbS1idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCB7IEN1c3RvbUJ1dHRvbk1vZHVsZSB9IGZyb20gJy4vY3VzdG9tLWJ1dHRvbi5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1idXR0b24vdXRpbHMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEJ1dHRvblR5cGUgPSAnYnV0dG9uJyB8ICdyZXNldCcgfCAnc3VibWl0JztcbmV4cG9ydCB0eXBlIEJ1dHRvbkNvbG9yID0gJ3ByaW1hcnknIHwgJ3NlY29uZGFyeScgfCAnc3VjY2VzcycgfCAnZGFuZ2VyJyB8ICdncmF5JztcbmV4cG9ydCB0eXBlIEJ1dHRvblZhcmlhbnQgPSAncmFpc2VkJyB8ICdmbGF0JyB8ICdvdXRsaW5lJyB8ICdsaW5rJyB8ICdpY29uJztcbiJdfQ==
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Optional, Output, Self, } 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 CustomGtrSwitchComponent {
|
|
6
|
+
constructor(ngControl) {
|
|
7
|
+
this.ngControl = ngControl;
|
|
8
|
+
/**
|
|
9
|
+
* Checked state for gtr switch button
|
|
10
|
+
* @returns boolean value
|
|
11
|
+
*/
|
|
12
|
+
this.checked = false;
|
|
13
|
+
/**
|
|
14
|
+
* Id for debugging the element
|
|
15
|
+
* @returns boolean value
|
|
16
|
+
*/
|
|
17
|
+
this.switchId = '';
|
|
18
|
+
/**
|
|
19
|
+
* Disabled state for switch button
|
|
20
|
+
* accept boolean value
|
|
21
|
+
*/
|
|
22
|
+
this.disabled = false;
|
|
23
|
+
/**
|
|
24
|
+
* Readonly state for switch button
|
|
25
|
+
* accept boolean value
|
|
26
|
+
*/
|
|
27
|
+
this.readonly = false;
|
|
28
|
+
/**
|
|
29
|
+
* Readonly state for switch button
|
|
30
|
+
* accept boolean value
|
|
31
|
+
*/
|
|
32
|
+
this.tabIndex = 0;
|
|
33
|
+
/**
|
|
34
|
+
* To detect value change events in gtr switch
|
|
35
|
+
* @returns Custom event for latest checked state
|
|
36
|
+
*/
|
|
37
|
+
this.gtrChange = new EventEmitter();
|
|
38
|
+
if (this.ngControl != null) {
|
|
39
|
+
this.ngControl.valueAccessor = this;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
ngAfterViewInit() {
|
|
43
|
+
// throw new Error('Method not implemented.');
|
|
44
|
+
}
|
|
45
|
+
writeValue(obj) {
|
|
46
|
+
// throw new Error('Method not implemented.');
|
|
47
|
+
}
|
|
48
|
+
registerOnChange(fn) {
|
|
49
|
+
// throw new Error('Method not implemented.');
|
|
50
|
+
}
|
|
51
|
+
registerOnTouched(fn) {
|
|
52
|
+
// throw new Error('Method not implemented.');
|
|
53
|
+
}
|
|
54
|
+
setDisabledState(isDisabled) {
|
|
55
|
+
// throw new Error('Method not implemented.');
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Local method to handle keyboard events for switch button
|
|
59
|
+
*/
|
|
60
|
+
handleKeyDown(event) {
|
|
61
|
+
event.preventDefault();
|
|
62
|
+
if (!this.disabled && !this.readonly) {
|
|
63
|
+
if (event.key === 'Enter') {
|
|
64
|
+
this.checked = !this.checked;
|
|
65
|
+
if (this.ngControl) {
|
|
66
|
+
this.ngControl.control?.setValue(this.checked);
|
|
67
|
+
}
|
|
68
|
+
this.gtrChange.emit(this.checked);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Local method to handle click events for switch button
|
|
74
|
+
*/
|
|
75
|
+
handleClick() {
|
|
76
|
+
if (!this.disabled && !this.readonly) {
|
|
77
|
+
this.checked = !this.checked;
|
|
78
|
+
if (this.ngControl) {
|
|
79
|
+
this.ngControl.control?.setValue(this.checked);
|
|
80
|
+
}
|
|
81
|
+
this.gtrChange.emit(this.checked);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
85
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomGtrSwitchComponent, selector: "gtr-switch", inputs: { checked: "checked", switchId: "switchId", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", label: "label" }, outputs: { gtrChange: "gtrChange" }, ngImport: i0, template: "<label [class]=\"'gtr-switch-wrapper'\" [id]=\"switchId\" [attr.data-testid]=\"switchId\" [class.readonly]=\"readonly\"\n role=\"switch\">\n <input [class]=\"'gtr-switch-input'\" [id]=\"switchId+'-input'\" [attr.data-testid]=\"switchId+'-input'\"\n [class.readonly]=\"readonly\" type=\"checkbox\" [checked]=\"this.checked\" data-toggle=\"toggle\" [disabled]=\"this.disabled\"\n [readonly]=\"this.readonly\" [attr.aria-label]=\"this.label\" [attr.aria-describedBy]=\"this.label\"\n [attr.aria-readonly]=\"this.readonly\" [attr.aria-disabled]=\"this.disabled\"\n [tabIndex]=\"this.tabIndex\" (keydown)=\"this.handleKeyDown($event)\" (change)=\"this.handleClick()\" />\n <span class=\"gtr-switch-button\"></span>\n <span class=\"gtr-switch-label\" [id]=\"switchId+'-label'\" [attr.data-testid]=\"switchId+'-label'\" *ngIf=\"label\">{{label}}</span>\n</label>\n", styles: [".gtr-switch-wrapper *,.gtr-switch-wrapper *:after,.gtr-switch-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-switch-wrapper{position:relative;display:flex;align-items:center;align-self:center;flex-direction:row;min-height:40px}.gtr-switch-wrapper.readonly{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-input{width:0px;height:0px;opacity:0}.gtr-switch-wrapper .gtr-switch-input:focus+.gtr-switch-button{border-color:var(--gtr-color-base-black-40)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button{opacity:.5;pointer-events:none;cursor:default;background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked~.gtr-switch-label{pointer-events:none;cursor:default;opacity:.5}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button{pointer-events:none;cursor:default;background:var(--gtr-color-base-black-20);border:solid 1px var(--gtr-color-base-black-10)}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button:before{background:var(--gtr-color-base-black-20)}.gtr-switch-wrapper .gtr-switch-input:disabled~.gtr-switch-label{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-button{position:relative;width:30px;height:18px;background:var(--gtr-color-font-inverse-primary);border:solid 1px var(--gtr-color-base-black-20);border-radius:34px;transition:.4s all ease-in-out;cursor:pointer}.gtr-switch-wrapper .gtr-switch-button:before{position:absolute;content:\"\";width:10px;height:10px;border-radius:50%;top:2.32px;left:3px;background:var(--gtr-color-base-black-20);transition:.4s all ease-in-out}.gtr-switch-wrapper .gtr-switch-label{display:flex;align-self:center;position:relative;cursor:pointer;font-size:15px;line-height:22px;-webkit-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-left:8px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
86
|
+
}
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchComponent, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{ selector: 'gtr-switch', template: "<label [class]=\"'gtr-switch-wrapper'\" [id]=\"switchId\" [attr.data-testid]=\"switchId\" [class.readonly]=\"readonly\"\n role=\"switch\">\n <input [class]=\"'gtr-switch-input'\" [id]=\"switchId+'-input'\" [attr.data-testid]=\"switchId+'-input'\"\n [class.readonly]=\"readonly\" type=\"checkbox\" [checked]=\"this.checked\" data-toggle=\"toggle\" [disabled]=\"this.disabled\"\n [readonly]=\"this.readonly\" [attr.aria-label]=\"this.label\" [attr.aria-describedBy]=\"this.label\"\n [attr.aria-readonly]=\"this.readonly\" [attr.aria-disabled]=\"this.disabled\"\n [tabIndex]=\"this.tabIndex\" (keydown)=\"this.handleKeyDown($event)\" (change)=\"this.handleClick()\" />\n <span class=\"gtr-switch-button\"></span>\n <span class=\"gtr-switch-label\" [id]=\"switchId+'-label'\" [attr.data-testid]=\"switchId+'-label'\" *ngIf=\"label\">{{label}}</span>\n</label>\n", styles: [".gtr-switch-wrapper *,.gtr-switch-wrapper *:after,.gtr-switch-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-switch-wrapper{position:relative;display:flex;align-items:center;align-self:center;flex-direction:row;min-height:40px}.gtr-switch-wrapper.readonly{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-input{width:0px;height:0px;opacity:0}.gtr-switch-wrapper .gtr-switch-input:focus+.gtr-switch-button{border-color:var(--gtr-color-base-black-40)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button{opacity:.5;pointer-events:none;cursor:default;background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked~.gtr-switch-label{pointer-events:none;cursor:default;opacity:.5}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button{pointer-events:none;cursor:default;background:var(--gtr-color-base-black-20);border:solid 1px var(--gtr-color-base-black-10)}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button:before{background:var(--gtr-color-base-black-20)}.gtr-switch-wrapper .gtr-switch-input:disabled~.gtr-switch-label{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-button{position:relative;width:30px;height:18px;background:var(--gtr-color-font-inverse-primary);border:solid 1px var(--gtr-color-base-black-20);border-radius:34px;transition:.4s all ease-in-out;cursor:pointer}.gtr-switch-wrapper .gtr-switch-button:before{position:absolute;content:\"\";width:10px;height:10px;border-radius:50%;top:2.32px;left:3px;background:var(--gtr-color-base-black-20);transition:.4s all ease-in-out}.gtr-switch-wrapper .gtr-switch-label{display:flex;align-self:center;position:relative;cursor:pointer;font-size:15px;line-height:22px;-webkit-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-left:8px}\n"] }]
|
|
90
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
91
|
+
type: Optional
|
|
92
|
+
}, {
|
|
93
|
+
type: Self
|
|
94
|
+
}] }]; }, propDecorators: { checked: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], switchId: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], disabled: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], readonly: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], tabIndex: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], label: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], gtrChange: [{
|
|
107
|
+
type: Output
|
|
108
|
+
}] } });
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWd0ci1zd2l0Y2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9hdG9tcy9jdXN0b20tZ3RyLXN3aXRjaC9jdXN0b20tZ3RyLXN3aXRjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1ndHItc3dpdGNoL2N1c3RvbS1ndHItc3dpdGNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ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sZVwiIFtkaXNhYmxlZF09XCJ0aGlzLmRpc2FibGVkXCJcbiAgICAgICAgIFtyZWFkb25seV09XCJ0aGlzLnJlYWRvbmx5XCIgW2F0dHIuYXJpYS1sYWJlbF09XCJ0aGlzLmxhYmVsXCIgW2F0dHIuYXJpYS1kZXNjcmliZWRCeV09XCJ0aGlzLmxhYmVsXCJcbiAgICAgICAgIFthdHRyLmFyaWEtcmVhZG9ubHldPVwidGhpcy5yZWFkb25seVwiIFthdHRyLmFyaWEtZGlzYWJsZWRdPVwidGhpcy5kaXNhYmxlZFwiXG4gICAgICAgICBbdGFiSW5kZXhdPVwidGhpcy50YWJJbmRleFwiIChrZXlkb3duKT1cInRoaXMuaGFuZGxlS2V5RG93bigkZXZlbnQpXCIgKGNoYW5nZSk9XCJ0aGlzLmhhbmRsZUNsaWNrKClcIiAvPlxuICA8c3BhbiBjbGFzcz1cImd0ci1zd2l0Y2gtYnV0dG9uXCI+PC9zcGFuPlxuICA8c3BhbiBjbGFzcz1cImd0ci1zd2l0Y2gtbGFiZWxcIiBbaWRdPVwic3dpdGNoSWQrJy1sYWJlbCdcIiBbYXR0ci5kYXRhLXRlc3RpZF09XCJzd2l0Y2hJZCsnLWxhYmVsJ1wiICpuZ0lmPVwibGFiZWxcIj57e2xhYmVsfX08L3NwYW4+XG48L2xhYmVsPlxuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CustomGtrSwitchComponent } from './custom-gtr-switch.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CustomGtrSwitchModule {
|
|
6
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchModule, declarations: [CustomGtrSwitchComponent], imports: [CommonModule], exports: [CustomGtrSwitchComponent] }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrSwitchModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
exports: [CustomGtrSwitchComponent],
|
|
15
|
+
declarations: [CustomGtrSwitchComponent],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWd0ci1zd2l0Y2gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9hdG9tcy9jdXN0b20tZ3RyLXN3aXRjaC9jdXN0b20tZ3RyLXN3aXRjaC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0JBQStCLENBQUM7O0FBTXpFLE1BQU0sT0FBTyxxQkFBcUI7a0lBQXJCLHFCQUFxQjttSUFBckIscUJBQXFCLGlCQUZqQix3QkFBd0IsYUFGN0IsWUFBWSxhQUNaLHdCQUF3QjttSUFHdkIscUJBQXFCLFlBSnRCLFlBQVk7OzRGQUlY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itchComponent } from './custom-gtr-switch.component';
|
|
2
|
+
export { CustomGtrSwitchModule } from './custom-gtr-switch.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvY3VzdG9tLWd0ci1zd2l0Y2gvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUN6RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1c3RvbUd0clN3aXRjaENvbXBvbmVudCB9IGZyb20gJy4vY3VzdG9tLWd0ci1zd2l0Y2guY29tcG9uZW50JztcbmV4cG9ydCB7IEN1c3RvbUd0clN3aXRjaE1vZHVsZSB9IGZyb20gJy4vY3VzdG9tLWd0ci1zd2l0Y2gubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Component, HostListener, Input, Optional, Self, ViewChild, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/forms";
|
|
4
|
+
export class CustomGtrTooltipComponent {
|
|
5
|
+
/**
|
|
6
|
+
* The keyup event for hide tooltip visibility on escape key
|
|
7
|
+
*/
|
|
8
|
+
handleKeyDown(event) {
|
|
9
|
+
if (event.key === 'Escape') {
|
|
10
|
+
// this.hideTooltip();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The resize and scroll listeners for scroll and window resize event is fired to adjust tooltip position
|
|
15
|
+
*/
|
|
16
|
+
handleResizeScroll() {
|
|
17
|
+
this.autoAdjustable && this.adjustPosition();
|
|
18
|
+
}
|
|
19
|
+
constructor(ngControl, tooltipElement) {
|
|
20
|
+
this.ngControl = ngControl;
|
|
21
|
+
this.tooltipElement = tooltipElement;
|
|
22
|
+
/**
|
|
23
|
+
* The tooltip content
|
|
24
|
+
*/
|
|
25
|
+
this.tooltipId = '';
|
|
26
|
+
/**
|
|
27
|
+
* The tooltip position
|
|
28
|
+
*/
|
|
29
|
+
this.position = 'top';
|
|
30
|
+
/**
|
|
31
|
+
* The popover auto adjust position
|
|
32
|
+
*/
|
|
33
|
+
this.autoAdjustable = false;
|
|
34
|
+
/**
|
|
35
|
+
* The tooltip adjustable position
|
|
36
|
+
*/
|
|
37
|
+
this.newPosition = '';
|
|
38
|
+
if (this.ngControl != null) {
|
|
39
|
+
this.ngControl.valueAccessor = this;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
writeValue(obj) {
|
|
43
|
+
// throw new Error('Method not implemented.');
|
|
44
|
+
}
|
|
45
|
+
registerOnChange(fn) {
|
|
46
|
+
// throw new Error('Method not implemented.');
|
|
47
|
+
}
|
|
48
|
+
registerOnTouched(fn) {
|
|
49
|
+
// throw new Error('Method not implemented.');
|
|
50
|
+
}
|
|
51
|
+
setDisabledState(isDisabled) {
|
|
52
|
+
// throw new Error('Method not implemented.');
|
|
53
|
+
}
|
|
54
|
+
// contentEl!: HTMLElement;
|
|
55
|
+
/**
|
|
56
|
+
* The watch decorator fires event when tooltip position changed
|
|
57
|
+
*/
|
|
58
|
+
async adjustPosition() {
|
|
59
|
+
if (!(this.tooltipElement && this.contentEl)) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const triggerRect = await this.tooltipElement.nativeElement.getBoundingClientRect();
|
|
63
|
+
const tooltipRect = await this.contentEl.nativeElement.getBoundingClientRect();
|
|
64
|
+
const viewportWidth = window.innerWidth || document.documentElement.clientWidth;
|
|
65
|
+
const viewportHeight = window.innerHeight || document.documentElement.clientHeight;
|
|
66
|
+
this.newPosition = this.position;
|
|
67
|
+
if (triggerRect.right + tooltipRect.width > viewportWidth) {
|
|
68
|
+
if (triggerRect.left - tooltipRect.width >= 0) {
|
|
69
|
+
this.newPosition = 'left';
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
this.newPosition = 'right';
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
if (viewportWidth < 492) {
|
|
76
|
+
this.newPosition = 'bottom';
|
|
77
|
+
}
|
|
78
|
+
if (triggerRect.left <= (tooltipRect.width / 100) * 10) {
|
|
79
|
+
this.contentEl.nativeElement.style.left = '125%';
|
|
80
|
+
}
|
|
81
|
+
if (triggerRect.right <= (tooltipRect.width / 100) * 10) {
|
|
82
|
+
this.contentEl.nativeElement.style.right = '125%';
|
|
83
|
+
}
|
|
84
|
+
if (triggerRect.bottom + tooltipRect.height > viewportHeight) {
|
|
85
|
+
if (triggerRect.top - tooltipRect.height >= 0) {
|
|
86
|
+
this.newPosition = 'top';
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this.newPosition = 'bottom';
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The click event for hide tooltip visibility
|
|
95
|
+
*/
|
|
96
|
+
hideTooltip() {
|
|
97
|
+
this.tooltipElement.nativeElement.style.visibility = 'hidden';
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The componentWillLoad hook
|
|
101
|
+
*/
|
|
102
|
+
ngAfterViewInit() {
|
|
103
|
+
this.newPosition = this.position;
|
|
104
|
+
setTimeout(() => {
|
|
105
|
+
if (!this.autoAdjustable) {
|
|
106
|
+
this.newPosition = this.position;
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.autoAdjustable && this.adjustPosition();
|
|
110
|
+
}, 100);
|
|
111
|
+
}
|
|
112
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
113
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomGtrTooltipComponent, selector: "gtr-tooltip", inputs: { tooltipId: "tooltipId", content: "content", position: "position", autoAdjustable: "autoAdjustable" }, host: { listeners: { "keydown": "handleKeyDown()", "scroll": "handleResizeScroll()", "resize": "handleResizeScroll()" } }, viewQueries: [{ propertyName: "contentEl", first: true, predicate: ["contentEl"], descendants: true }], ngImport: i0, template: "<div class=\"gtr-tooltip-wrapper\" [id]=\"tooltipId\" [attr.data-testid]=\"tooltipId\">\n <ng-content></ng-content>\n <div #contentEl [class]=\"'gtr-tooltip-text ' + newPosition\" [id]=\"tooltipId+'-text'\"\n [attr.data-testid]=\"tooltipId+'-text'\" role=\"tooltip\" tabIndex=\"0\" [attr.aria-describedby]=\"'tooltip-'+tooltipId\"\n [innerHTML]=\"this.content\"></div>\n</div>\n", styles: [":host{position:relative;display:inline-block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent}.gtr-tooltip-text{visibility:hidden;position:absolute;color:var(--gtr-color-base-white-100);padding:4px 12px;white-space:normal;background:var(--gtr-color-base-black-80);box-shadow:var(--gtr-content-box-shadow-base);border-radius:var(--gtr-border-radius-6);z-index:1;max-width:100vh;width:max-content;text-align:start;font-size:15px;font-style:normal;font-weight:400;line-height:22px}.gtr-tooltip-text.top{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.top:after{content:\"\";position:absolute;top:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-top-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.bottom{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.bottom:after{content:\"\";position:absolute;bottom:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-bottom-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.left{top:50%;right:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.left:after{content:\"\";position:absolute;top:50%;left:100%;border:5px solid var(--gtr-background-transparent);border-left-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}.gtr-tooltip-text.right{top:50%;left:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.right:after{content:\"\";position:absolute;top:50%;right:100%;border:5px solid var(--gtr-background-transparent);border-right-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}:host(:hover) .gtr-tooltip-text{visibility:visible}\n"] }); }
|
|
114
|
+
}
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipComponent, decorators: [{
|
|
116
|
+
type: Component,
|
|
117
|
+
args: [{ selector: 'gtr-tooltip', template: "<div class=\"gtr-tooltip-wrapper\" [id]=\"tooltipId\" [attr.data-testid]=\"tooltipId\">\n <ng-content></ng-content>\n <div #contentEl [class]=\"'gtr-tooltip-text ' + newPosition\" [id]=\"tooltipId+'-text'\"\n [attr.data-testid]=\"tooltipId+'-text'\" role=\"tooltip\" tabIndex=\"0\" [attr.aria-describedby]=\"'tooltip-'+tooltipId\"\n [innerHTML]=\"this.content\"></div>\n</div>\n", styles: [":host{position:relative;display:inline-block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent}.gtr-tooltip-text{visibility:hidden;position:absolute;color:var(--gtr-color-base-white-100);padding:4px 12px;white-space:normal;background:var(--gtr-color-base-black-80);box-shadow:var(--gtr-content-box-shadow-base);border-radius:var(--gtr-border-radius-6);z-index:1;max-width:100vh;width:max-content;text-align:start;font-size:15px;font-style:normal;font-weight:400;line-height:22px}.gtr-tooltip-text.top{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.top:after{content:\"\";position:absolute;top:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-top-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.bottom{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.bottom:after{content:\"\";position:absolute;bottom:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-bottom-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.left{top:50%;right:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.left:after{content:\"\";position:absolute;top:50%;left:100%;border:5px solid var(--gtr-background-transparent);border-left-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}.gtr-tooltip-text.right{top:50%;left:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.right:after{content:\"\";position:absolute;top:50%;right:100%;border:5px solid var(--gtr-background-transparent);border-right-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}:host(:hover) .gtr-tooltip-text{visibility:visible}\n"] }]
|
|
118
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
119
|
+
type: Optional
|
|
120
|
+
}, {
|
|
121
|
+
type: Self
|
|
122
|
+
}] }, { type: i0.ElementRef }]; }, propDecorators: { contentEl: [{
|
|
123
|
+
type: ViewChild,
|
|
124
|
+
args: ['contentEl']
|
|
125
|
+
}], handleKeyDown: [{
|
|
126
|
+
type: HostListener,
|
|
127
|
+
args: ['keydown']
|
|
128
|
+
}], handleResizeScroll: [{
|
|
129
|
+
type: HostListener,
|
|
130
|
+
args: ['scroll']
|
|
131
|
+
}, {
|
|
132
|
+
type: HostListener,
|
|
133
|
+
args: ['resize']
|
|
134
|
+
}], tooltipId: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], content: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], position: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], autoAdjustable: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}] } });
|
|
143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iAgPGRpdiAjY29udGVudEVsIFtjbGFzc109XCInZ3RyLXRvb2x0aXAtdGV4dCAnICsgbmV3UG9zaXRpb25cIiBbaWRdPVwidG9vbHRpcElkKyctdGV4dCdcIlxuICAgIFthdHRyLmRhdGEtdGVzdGlkXT1cInRvb2x0aXBJZCsnLXRleHQnXCIgcm9sZT1cInRvb2x0aXBcIiB0YWJJbmRleD1cIjBcIiBbYXR0ci5hcmlhLWRlc2NyaWJlZGJ5XT1cIid0b29sdGlwLScrdG9vbHRpcElkXCJcbiAgICBbaW5uZXJIVE1MXT1cInRoaXMuY29udGVudFwiPjwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CustomGtrTooltipComponent } from './custom-gtr-tooltip.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CustomGtrTooltipModule {
|
|
6
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipModule, declarations: [CustomGtrTooltipComponent], imports: [CommonModule], exports: [CustomGtrTooltipComponent] }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomGtrTooltipModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
exports: [CustomGtrTooltipComponent],
|
|
15
|
+
declarations: [CustomGtrTooltipComponent],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWd0ci10b29sdGlwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvY3VzdG9tLWd0ci10b29sdGlwL2N1c3RvbS1ndHItdG9vbHRpcC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBTTNFLE1BQU0sT0FBTyxzQkFBc0I7a0lBQXRCLHNCQUFzQjttSUFBdEIsc0JBQXNCLGlCQUZsQix5QkFBeUIsYUFGOUIsWUFBWSxhQUNaLHlCQUF5QjttSUFHeEIsc0JBQXNCLFlBSnZCLFlBQVk7OzRGQUlYLHNCQUFzQjtrQkFMbEMsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLHlCQUF5QixDQUFDO29CQUNwQyxZQUFZLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztpQkFDMUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEN1c3RvbUd0clRvb2x0aXBDb21wb25lbnQgfSBmcm9tICcuL2N1c3RvbS1ndHItdG9vbHRpcC5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtDdXN0b21HdHJUb29sdGlwQ29tcG9uZW50XSxcbiAgZGVjbGFyYXRpb25zOiBbQ3VzdG9tR3RyVG9vbHRpcENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEN1c3RvbUd0clRvb2x0aXBNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './public_api';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1ndHItdG9vbHRpcC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CustomGtrTooltipComponent } from './custom-gtr-tooltip.component';
|
|
2
|
+
export { CustomGtrTooltipModule } from './custom-gtr-tooltip.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvY3VzdG9tLWd0ci10b29sdGlwL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDM0UsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdXN0b21HdHJUb29sdGlwQ29tcG9uZW50IH0gZnJvbSAnLi9jdXN0b20tZ3RyLXRvb2x0aXAuY29tcG9uZW50JztcbmV4cG9ydCB7IEN1c3RvbUd0clRvb2x0aXBNb2R1bGUgfSBmcm9tICcuL2N1c3RvbS1ndHItdG9vbHRpcC5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2N1c3RvbS1ndHItdG9vbHRpcC91dGlscy91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgcG9zaXRpb25UeXBlID0gJ3RvcCcgfCAnYm90dG9tJyB8ICdsZWZ0JyB8ICdyaWdodCc7XG4iXX0=
|