@gettrx/core-components-angular 0.0.58 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-core-components-angular.mjs +2 -2
- package/{esm2020 → esm2022}/gettrx-module.mjs +5 -5
- 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/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/skeleton/skeleton.component.mjs +24 -0
- package/esm2022/lib/atoms/skeleton/utils/skeleton.directive.mjs +51 -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/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/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 +18 -0
- package/fesm2022/gettrx-core-components-angular.mjs +7888 -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 +5 -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/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/skeleton/skeleton.component.d.ts +12 -0
- package/lib/atoms/skeleton/utils/skeleton.directive.d.ts +15 -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/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/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 +14 -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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type BadgeColor = 'danger' | 'info' | 'brown' | 'pink' | 'purple' | 'blue' | 'warning' | 'success' | 'dark' | 'gray' | 'dark-green';
|
|
3
|
+
export declare class BadgeComponent {
|
|
4
|
+
shape: 'default' | 'round';
|
|
5
|
+
type: 'pill' | 'icon' | 'dot';
|
|
6
|
+
color: BadgeColor;
|
|
7
|
+
ariaLabel: string | undefined;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
position: 'default' | 'overlap';
|
|
10
|
+
id: string;
|
|
11
|
+
testid: string;
|
|
12
|
+
positionProperty: {
|
|
13
|
+
top?: string;
|
|
14
|
+
bottom?: string;
|
|
15
|
+
left?: string;
|
|
16
|
+
right?: string;
|
|
17
|
+
};
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
iconName?: string;
|
|
20
|
+
constructor();
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "gtr-badge", never, { "shape": { "alias": "shape"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "position": { "alias": "position"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testid": { "alias": "testid"; "required": false; }; "positionProperty": { "alias": "positionProperty"; "required": false; }; "backgroundColor": { "alias": "background-color"; "required": false; }; "iconName": { "alias": "icon-name"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
23
|
+
static ngAcceptInputType_hidden: unknown;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/icon.module";
|
|
5
|
+
export declare class BadgeModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeModule, [typeof i1.BadgeComponent], [typeof i2.CommonModule, typeof i3.GtrIconModule], [typeof i1.BadgeComponent, typeof i1.BadgeComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BadgeModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonDirective } from './button.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonCloseDirective extends ButtonDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Change the default color to white.
|
|
6
|
+
* @type boolean
|
|
7
|
+
*/
|
|
8
|
+
white: string | boolean;
|
|
9
|
+
get hostClasses(): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonCloseDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ngAcceptInputType_white: unknown;
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ButtonType, Colors, Shapes } from '../gtr.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Toggle the active state for the component. [docs]
|
|
6
|
+
* @type boolean
|
|
7
|
+
*/
|
|
8
|
+
active: string | boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the color context of the component to one of Gettrx’s themed colors. [docs]
|
|
11
|
+
* @type Colors
|
|
12
|
+
*/
|
|
13
|
+
color?: Colors;
|
|
14
|
+
/**
|
|
15
|
+
* Toggle the disabled state for the component.
|
|
16
|
+
* @type boolean
|
|
17
|
+
*/
|
|
18
|
+
disabled: string | boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Select the shape of the component.
|
|
21
|
+
* @type { 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string }
|
|
22
|
+
*/
|
|
23
|
+
shape?: Shapes;
|
|
24
|
+
/**
|
|
25
|
+
* Size the component small or large.
|
|
26
|
+
* @type {'sm' | 'lg'}
|
|
27
|
+
*/
|
|
28
|
+
size?: 'sm' | 'lg' | '';
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the type of button. Always specify the type attribute for the `<button>` element.
|
|
31
|
+
* Different browsers may use different default types for the `<button>` element.
|
|
32
|
+
*/
|
|
33
|
+
type: ButtonType;
|
|
34
|
+
/**
|
|
35
|
+
* Set the button variant to an outlined button or a ghost button.
|
|
36
|
+
* @type {'ghost' | 'outline'}
|
|
37
|
+
*/
|
|
38
|
+
variant?: 'ghost' | 'outline';
|
|
39
|
+
get hostClasses(): any;
|
|
40
|
+
get ariaDisabled(): string | true | null;
|
|
41
|
+
get isActive(): boolean | null;
|
|
42
|
+
get attrDisabled(): "" | null;
|
|
43
|
+
get tabIndex(): string | null;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[gtrButton]", ["gtrButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
static ngAcceptInputType_active: unknown;
|
|
47
|
+
static ngAcceptInputType_disabled: unknown;
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button.directive";
|
|
3
|
+
import * as i2 from "./button-close.directive";
|
|
4
|
+
export declare class ButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.ButtonDirective, typeof i2.ButtonCloseDirective], [typeof i1.ButtonDirective, typeof i2.ButtonCloseDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ButtonColor, ButtonVariant, ButtonType } from './utils/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomButtonComponent implements OnInit {
|
|
5
|
+
classMap: any;
|
|
6
|
+
/** (optional) Button type */
|
|
7
|
+
type?: ButtonType | any;
|
|
8
|
+
/** (optional) Button type */
|
|
9
|
+
btnId: string;
|
|
10
|
+
/**
|
|
11
|
+
* (optional) color.
|
|
12
|
+
* @default primary
|
|
13
|
+
*/
|
|
14
|
+
color?: ButtonColor | any;
|
|
15
|
+
/**
|
|
16
|
+
* (optional) loading.
|
|
17
|
+
* @default isLoading
|
|
18
|
+
*/
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Optional variant. <br />
|
|
22
|
+
* `raised` : Rectangular contained button w/ elevation <br />
|
|
23
|
+
* `flat` : Rectangular contained button w/ no elevation <br />
|
|
24
|
+
* `outline` : Rectangular outlined button w/ no elevation <br />
|
|
25
|
+
* `link` : Rectangular text button w/ no elevation <br />
|
|
26
|
+
* `icon` : Circular button with a transparent background, meant to contain an icon
|
|
27
|
+
*/
|
|
28
|
+
variant?: ButtonVariant | any;
|
|
29
|
+
/** (optional) If `true`, the button is disabled */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
getCssClassMap(): {
|
|
32
|
+
[x: string]: boolean | undefined;
|
|
33
|
+
"button--loading": boolean | undefined;
|
|
34
|
+
disabled: boolean | undefined;
|
|
35
|
+
};
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomButtonComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomButtonComponent, "gtr-button", never, { "type": { "alias": "type"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class CustomButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomButtonModule, [typeof i1.CustomButtonComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.CustomButtonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomButtonModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IsActiveMatchOptions } from '@angular/router';
|
|
2
|
+
export declare enum BreakpointInfix {
|
|
3
|
+
xs = "xs",
|
|
4
|
+
sm = "sm",
|
|
5
|
+
md = "md",
|
|
6
|
+
lg = "lg",
|
|
7
|
+
xl = "xl",
|
|
8
|
+
xxl = "xxl"
|
|
9
|
+
}
|
|
10
|
+
export type BreakpointInfixStrings = keyof typeof BreakpointInfix;
|
|
11
|
+
export type Breakpoints = BreakpointInfixStrings | string;
|
|
12
|
+
export type Sizes = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | string;
|
|
13
|
+
export type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string;
|
|
14
|
+
export type ColorsGradient = `${Colors}-gradient`;
|
|
15
|
+
export type BackgroundColors = Colors | 'body' | 'white' | 'transparent';
|
|
16
|
+
export type Directions = 'down' | 'up' | 'start' | 'end' | '';
|
|
17
|
+
export type TextColors = Colors | 'body' | 'white' | 'muted' | 'black-50' | 'white-50' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse';
|
|
18
|
+
export type Alignment = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom';
|
|
19
|
+
export type BadgePositions = 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start' | string | undefined;
|
|
20
|
+
export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
|
|
21
|
+
export type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string;
|
|
22
|
+
export type Triggers = 'hover' | 'focus' | 'click';
|
|
23
|
+
export type Positions = 'fixed' | 'sticky';
|
|
24
|
+
export type InputType = 'button' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'checkbox' | 'radio';
|
|
25
|
+
export interface INavLinkProps {
|
|
26
|
+
queryParams?: {
|
|
27
|
+
[k: string]: any;
|
|
28
|
+
};
|
|
29
|
+
fragment?: string;
|
|
30
|
+
queryParamsHandling?: 'merge' | 'preserve' | '' | null;
|
|
31
|
+
preserveFragment?: boolean;
|
|
32
|
+
skipLocationChange?: boolean;
|
|
33
|
+
replaceUrl?: boolean;
|
|
34
|
+
state?: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
};
|
|
37
|
+
routerLinkActiveOptions?: {
|
|
38
|
+
exact: boolean;
|
|
39
|
+
} | IsActiveMatchOptions;
|
|
40
|
+
routerLinkActive?: string | string[];
|
|
41
|
+
ariaCurrentWhenActive?: 'page' | 'step' | 'location' | 'date' | 'time' | true | false;
|
|
42
|
+
}
|
|
43
|
+
export interface INavAttributes {
|
|
44
|
+
[propName: string]: any;
|
|
45
|
+
}
|
|
46
|
+
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IconComponent implements OnDestroy {
|
|
4
|
+
/**
|
|
5
|
+
* The font icon
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* The icon width
|
|
10
|
+
*/
|
|
11
|
+
weight: string;
|
|
12
|
+
/**
|
|
13
|
+
* The icon color
|
|
14
|
+
*/
|
|
15
|
+
color: string;
|
|
16
|
+
/**
|
|
17
|
+
* The icon size
|
|
18
|
+
*/
|
|
19
|
+
size: number;
|
|
20
|
+
/**
|
|
21
|
+
* The element id
|
|
22
|
+
*/
|
|
23
|
+
iconId: string;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "gtr-icon", never, { "name": { "alias": "name"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconId": { "alias": "iconId"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./icon.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class GtrIconModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrIconModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GtrIconModule, [typeof i1.IconComponent], [typeof i2.CommonModule], [typeof i1.IconComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GtrIconModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SkeletonComponent {
|
|
4
|
+
private host;
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
className: string;
|
|
8
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "app-skeleton", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SkeletonDirective {
|
|
4
|
+
private tpl;
|
|
5
|
+
private vcr;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
size: number;
|
|
8
|
+
width: string;
|
|
9
|
+
height: string;
|
|
10
|
+
className: string;
|
|
11
|
+
constructor(tpl: TemplateRef<any>, vcr: ViewContainerRef);
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkeletonDirective, "[skeleton]", never, { "isLoading": { "alias": "skeleton"; "required": false; }; "size": { "alias": "skeletonRepeat"; "required": false; }; "width": { "alias": "skeletonWidth"; "required": false; }; "height": { "alias": "skeletonHeight"; "required": false; }; "className": { "alias": "skeletonClassName"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonDirective } from './button.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonCloseDirective extends ButtonDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Change the default color to white.
|
|
6
|
+
* @type boolean
|
|
7
|
+
*/
|
|
8
|
+
white: string | boolean;
|
|
9
|
+
get hostClasses(): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonCloseDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ngAcceptInputType_white: unknown;
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ButtonType, Colors, Shapes } from '../core-components.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Toggle the active state for the component. [docs]
|
|
6
|
+
* @type boolean
|
|
7
|
+
*/
|
|
8
|
+
active: string | boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the color context of the component to one of Gettrx Core’s themed colors. [docs]
|
|
11
|
+
* @type Colors
|
|
12
|
+
*/
|
|
13
|
+
color?: Colors;
|
|
14
|
+
/**
|
|
15
|
+
* Toggle the disabled state for the component.
|
|
16
|
+
* @type boolean
|
|
17
|
+
*/
|
|
18
|
+
disabled: string | boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Select the shape of the component.
|
|
21
|
+
* @type { 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string }
|
|
22
|
+
*/
|
|
23
|
+
shape?: Shapes;
|
|
24
|
+
/**
|
|
25
|
+
* Size the component small or large.
|
|
26
|
+
* @type {'sm' | 'lg'}
|
|
27
|
+
*/
|
|
28
|
+
size?: 'sm' | 'lg' | '';
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the type of button. Always specify the type attribute for the `<button>` element.
|
|
31
|
+
* Different browsers may use different default types for the `<button>` element.
|
|
32
|
+
*/
|
|
33
|
+
type: ButtonType;
|
|
34
|
+
/**
|
|
35
|
+
* Set the button variant to an outlined button or a ghost button.
|
|
36
|
+
* @type {'ghost' | 'outline'}
|
|
37
|
+
*/
|
|
38
|
+
variant?: 'ghost' | 'outline';
|
|
39
|
+
get hostClasses(): any;
|
|
40
|
+
get ariaDisabled(): string | true | null;
|
|
41
|
+
get isActive(): boolean | null;
|
|
42
|
+
get attrDisabled(): "" | null;
|
|
43
|
+
get tabIndex(): string | null;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[gtrButton]", ["gtrButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
static ngAcceptInputType_active: unknown;
|
|
47
|
+
static ngAcceptInputType_disabled: unknown;
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button.directive";
|
|
3
|
+
import * as i2 from "./button-close.directive";
|
|
4
|
+
export declare class ButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.ButtonDirective, typeof i2.ButtonCloseDirective], [typeof i1.ButtonDirective, typeof i2.ButtonCloseDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarClassViewPipe implements PipeTransform {
|
|
4
|
+
transform(view: string): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassViewPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassViewPipe, "calendarClassView", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
|
|
4
|
+
import { CalendarMonthComponent } from '../calendar-month/calendar-month.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
7
|
+
private calendarService;
|
|
8
|
+
static ngAcceptInputType_navigation: BooleanInput;
|
|
9
|
+
static ngAcceptInputType_navYearFirst: BooleanInput;
|
|
10
|
+
static ngAcceptInputType_range: BooleanInput;
|
|
11
|
+
static ngAcceptInputType_selectAdjacentDays: BooleanInput;
|
|
12
|
+
constructor(calendarService: CalendarService);
|
|
13
|
+
/**
|
|
14
|
+
* Default date of the component
|
|
15
|
+
* @type (Date | string)
|
|
16
|
+
*/
|
|
17
|
+
set calendarDate(value: Date | string | number);
|
|
18
|
+
get calendarDate(): Date;
|
|
19
|
+
private _calendarDate;
|
|
20
|
+
/**
|
|
21
|
+
* The number of calendars that render on desktop devices.
|
|
22
|
+
* @type number
|
|
23
|
+
* default 1
|
|
24
|
+
*/
|
|
25
|
+
set calendars(value: number);
|
|
26
|
+
get calendars(): number;
|
|
27
|
+
private _calendars;
|
|
28
|
+
get calendarsArray(): unknown[];
|
|
29
|
+
/**
|
|
30
|
+
* Set the format of day name.
|
|
31
|
+
* @default 'numeric'
|
|
32
|
+
* @type DayFormatType
|
|
33
|
+
*/
|
|
34
|
+
set dayFormat(value: DayFormatType);
|
|
35
|
+
get dayFormat(): DayFormatType;
|
|
36
|
+
private _dayFormat;
|
|
37
|
+
/**
|
|
38
|
+
* Specify the list of dates that cannot be selected.
|
|
39
|
+
* @type (Date[] | Date[][])
|
|
40
|
+
*/
|
|
41
|
+
set disabledDates(value: Date[] | Date[][]);
|
|
42
|
+
get disabledDates(): Date[] | Date[][];
|
|
43
|
+
private _disabledDates;
|
|
44
|
+
/**
|
|
45
|
+
* Initial selected date.
|
|
46
|
+
* @type (Date | null)
|
|
47
|
+
*/
|
|
48
|
+
set startDate(value: Date | number | string | null | undefined);
|
|
49
|
+
get startDate(): Date | number | string | null | undefined;
|
|
50
|
+
_startDate: Date | null;
|
|
51
|
+
/**
|
|
52
|
+
* Initial selected to date (range).
|
|
53
|
+
* @type (Date | null)
|
|
54
|
+
*/
|
|
55
|
+
set endDate(value: Date | number | string | null | undefined);
|
|
56
|
+
get endDate(): Date | number | string | null | undefined;
|
|
57
|
+
_endDate: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the day of start week.
|
|
60
|
+
* - 0 - Sunday,
|
|
61
|
+
* - 1 - Monday,
|
|
62
|
+
* - 2 - Tuesday,
|
|
63
|
+
* - 3 - Wednesday,
|
|
64
|
+
* - 4 - Thursday,
|
|
65
|
+
* - 5 - Friday,
|
|
66
|
+
* - 6 - Saturday,
|
|
67
|
+
*
|
|
68
|
+
* @type number
|
|
69
|
+
* @default 1
|
|
70
|
+
*/
|
|
71
|
+
set firstDayOfWeek(value: number);
|
|
72
|
+
get firstDayOfWeek(): number;
|
|
73
|
+
private _firstDayOfWeek;
|
|
74
|
+
/**
|
|
75
|
+
* Sets the default locale for components. If not set, it is inherited from the browser.
|
|
76
|
+
* @default 'default'
|
|
77
|
+
*/
|
|
78
|
+
set locale(value: string);
|
|
79
|
+
get locale(): string;
|
|
80
|
+
private _locale;
|
|
81
|
+
/**
|
|
82
|
+
* Max selectable date.
|
|
83
|
+
*/
|
|
84
|
+
set maxDate(value: Date | string | null | undefined);
|
|
85
|
+
get maxDate(): Date | string | null | undefined;
|
|
86
|
+
private _maxDate;
|
|
87
|
+
/**
|
|
88
|
+
* Min selectable date.
|
|
89
|
+
*/
|
|
90
|
+
set minDate(value: Date | string | null | undefined);
|
|
91
|
+
get minDate(): Date | string | null | undefined;
|
|
92
|
+
private _minDate;
|
|
93
|
+
/**
|
|
94
|
+
* Show navigation.
|
|
95
|
+
* @type boolean
|
|
96
|
+
*/
|
|
97
|
+
set navigation(value: boolean);
|
|
98
|
+
get navigation(): boolean;
|
|
99
|
+
private _navigation;
|
|
100
|
+
/**
|
|
101
|
+
* Reorder year-month navigation, and render year first.
|
|
102
|
+
* @type boolean
|
|
103
|
+
* @default false
|
|
104
|
+
*/
|
|
105
|
+
set navYearFirst(value: boolean);
|
|
106
|
+
get navYearFirst(): boolean;
|
|
107
|
+
private _navYearFirst;
|
|
108
|
+
/**
|
|
109
|
+
* Allow range selection.
|
|
110
|
+
* @type boolean
|
|
111
|
+
* @default false
|
|
112
|
+
*/
|
|
113
|
+
set range(value: boolean);
|
|
114
|
+
get range(): boolean;
|
|
115
|
+
private _range;
|
|
116
|
+
/**
|
|
117
|
+
* Set calendar view.
|
|
118
|
+
* @type 'days' | 'months' | 'years'
|
|
119
|
+
* @default 'days'
|
|
120
|
+
*/
|
|
121
|
+
set view(value: "days" | "months" | "years");
|
|
122
|
+
get view(): "days" | "months" | "years";
|
|
123
|
+
private _view;
|
|
124
|
+
/**
|
|
125
|
+
* Set calendar type.
|
|
126
|
+
* @type 'days' | 'months' | 'years'
|
|
127
|
+
* @default 'days'
|
|
128
|
+
*/
|
|
129
|
+
set type(value: 'days' | 'months' | 'years');
|
|
130
|
+
get type(): 'days' | 'months' | 'years';
|
|
131
|
+
private _type;
|
|
132
|
+
/**
|
|
133
|
+
* Set length or format of day name.
|
|
134
|
+
* @type number | 'long' | 'narrow' | 'short'
|
|
135
|
+
* @default 'short'
|
|
136
|
+
*/
|
|
137
|
+
set weekdayFormat(value: WeekdayFormatType);
|
|
138
|
+
get weekdayFormat(): WeekdayFormatType;
|
|
139
|
+
private _weekdayFormat;
|
|
140
|
+
set dateFilter(value: DateFilterType | undefined);
|
|
141
|
+
/**
|
|
142
|
+
* Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacentDays` option is set to true.
|
|
143
|
+
* @type boolean
|
|
144
|
+
* @default false
|
|
145
|
+
* @since 4.4.10
|
|
146
|
+
*/
|
|
147
|
+
selectAdjacentDays: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
|
|
150
|
+
* @type boolean
|
|
151
|
+
* @default true
|
|
152
|
+
*/
|
|
153
|
+
showAdjacentDays: boolean;
|
|
154
|
+
calendarCellHover: EventEmitter<Date | null>;
|
|
155
|
+
calendarDateChange: EventEmitter<Date>;
|
|
156
|
+
endDateChange: EventEmitter<Date | null>;
|
|
157
|
+
startDateChange: EventEmitter<Date | null>;
|
|
158
|
+
viewChange: EventEmitter<string>;
|
|
159
|
+
set hoverDate(value: Date | null);
|
|
160
|
+
get hoverDate(): Date | null;
|
|
161
|
+
private _hoverDate;
|
|
162
|
+
private calendarStateSubscription;
|
|
163
|
+
get hostClasses(): any;
|
|
164
|
+
calendarMonths: QueryList<CalendarMonthComponent>;
|
|
165
|
+
ngOnDestroy(): void;
|
|
166
|
+
ngOnInit(): void;
|
|
167
|
+
calendarStateSubscribe(subscribe?: boolean): void;
|
|
168
|
+
setCalendarPage(years: number, months?: number, setMonth?: number): void;
|
|
169
|
+
handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
|
|
170
|
+
/**
|
|
171
|
+
* Clear startDate and endDate
|
|
172
|
+
* @type void
|
|
173
|
+
*/
|
|
174
|
+
clearDates(): void;
|
|
175
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
176
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "gtr-calendar", ["gtrCalendar"], { "calendarDate": { "alias": "calendarDate"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "dayFormat": { "alias": "dayFormat"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "range": { "alias": "range"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, true, never>;
|
|
177
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarClassDayPipe implements PipeTransform {
|
|
4
|
+
transform(dateObj: {
|
|
5
|
+
date: Date;
|
|
6
|
+
month: string;
|
|
7
|
+
}, datesConfig?: {
|
|
8
|
+
minDate: any;
|
|
9
|
+
maxDate: any;
|
|
10
|
+
disabledDates: any;
|
|
11
|
+
dateFilter: any;
|
|
12
|
+
}): any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassDayPipe, never>;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassDayPipe, "calendarClassDay", true>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarClassMonthPipe implements PipeTransform {
|
|
4
|
+
transform(calendarDate: string | number | Date, monthIndex: number): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassMonthPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassMonthPipe, "calendarClassMonth", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarClassYearPipe implements PipeTransform {
|
|
4
|
+
transform(year: number, args?: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassYearPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassYearPipe, "calendarClassYear", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarDayTitlePipe implements PipeTransform {
|
|
4
|
+
transform(date: Date, locale?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayTitlePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarDayTitlePipe, "calendarDayTitle", true>;
|
|
7
|
+
}
|