@gettrx/core-components-angular 1.0.4 → 1.0.6
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/text-value-accessor.mjs +3 -3
- package/esm2022/lib/atoms/popover/gtr-popover.component.mjs +10 -7
- package/esm2022/lib/atoms/radio-button/gtr-radio-button.component.mjs +7 -5
- package/esm2022/lib/atoms/toaster/gtr-toaster.component.mjs +85 -0
- package/esm2022/lib/atoms/toaster/gtr-toaster.module.mjs +22 -0
- package/esm2022/lib/atoms/toaster/index.mjs +2 -0
- package/esm2022/lib/atoms/toaster/public_api.mjs +4 -0
- package/esm2022/lib/atoms/toaster/services/gtr-toaster.service.mjs +56 -0
- package/esm2022/lib/atoms/toaster/util/gtr-toaster.util.mjs +2 -0
- package/esm2022/lib/molecules/modal/gtr-modal.component.mjs +7 -5
- package/esm2022/lib/molecules/tabs/gtr-tabs.module.mjs +19 -0
- package/esm2022/lib/molecules/tabs/index.mjs +2 -0
- package/esm2022/lib/molecules/tabs/public_api.mjs +4 -0
- package/esm2022/lib/molecules/tabs/tab/gtr-tab.component.mjs +34 -0
- package/esm2022/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.mjs +92 -0
- package/esm2022/lib/molecules/time-picker/public_api.mjs +2 -1
- package/esm2022/public-api.mjs +3 -3
- package/fesm2022/gettrx-core-components-angular.mjs +302 -16
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/generated/text-value-accessor.d.ts +1 -1
- package/lib/atoms/popover/gtr-popover.component.d.ts +3 -0
- package/lib/atoms/radio-button/gtr-radio-button.component.d.ts +2 -0
- package/lib/atoms/toaster/gtr-toaster.component.d.ts +27 -0
- package/lib/atoms/toaster/gtr-toaster.module.d.ts +10 -0
- package/lib/atoms/toaster/index.d.ts +1 -0
- package/lib/atoms/toaster/public_api.d.ts +3 -0
- package/lib/atoms/toaster/services/gtr-toaster.service.d.ts +14 -0
- package/lib/atoms/toaster/util/gtr-toaster.util.d.ts +13 -0
- package/lib/molecules/modal/gtr-modal.component.d.ts +2 -0
- package/lib/molecules/tabs/gtr-tabs.module.d.ts +9 -0
- package/lib/molecules/tabs/index.d.ts +1 -0
- package/lib/molecules/tabs/public_api.d.ts +3 -0
- package/lib/molecules/tabs/tab/gtr-tab.component.d.ts +16 -0
- package/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.d.ts +23 -0
- package/lib/molecules/time-picker/public_api.d.ts +1 -0
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, Directive, HostListener, NgModule, Input, HostBinding, booleanAttribute, EventEmitter, Optional, Self, Output, ViewChild,
|
|
4
|
-
import { fromEvent, BehaviorSubject, throwError } from 'rxjs';
|
|
3
|
+
import { Component, ChangeDetectionStrategy, Directive, HostListener, NgModule, Input, HostBinding, booleanAttribute, EventEmitter, Optional, Self, Output, ViewChild, Injectable, ContentChildren, Pipe, ViewChildren, forwardRef, ElementRef, Inject, ContentChild, QueryList } from '@angular/core';
|
|
4
|
+
import { fromEvent, Subject, Subscription, BehaviorSubject, throwError } from 'rxjs';
|
|
5
5
|
import { defineCustomElement as defineCustomElement$1 } from '@gettrx/core-components/components/gtr2-accordion.js';
|
|
6
6
|
import { defineCustomElement as defineCustomElement$2 } from '@gettrx/core-components/components/gtr2-accordion-wrapper.js';
|
|
7
7
|
import { defineCustomElement as defineCustomElement$3 } from '@gettrx/core-components/components/gtr2-badge.js';
|
|
@@ -804,7 +804,7 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
804
804
|
super(el);
|
|
805
805
|
}
|
|
806
806
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
807
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextValueAccessor, selector: "
|
|
807
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextValueAccessor, selector: "gtr2-input, gtr2-textarea, gtr2-select", host: { listeners: { "inputChanged": "handleChangeEvent($event.target.value)", "valueChanged": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
808
808
|
{
|
|
809
809
|
provide: NG_VALUE_ACCESSOR,
|
|
810
810
|
useExisting: TextValueAccessor,
|
|
@@ -816,7 +816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
816
816
|
type: Directive,
|
|
817
817
|
args: [{
|
|
818
818
|
/* tslint:disable-next-line:directive-selector */
|
|
819
|
-
selector: '
|
|
819
|
+
selector: 'gtr2-input, gtr2-textarea, gtr2-select',
|
|
820
820
|
host: {
|
|
821
821
|
'(inputChanged)': 'handleChangeEvent($event.target.value)',
|
|
822
822
|
'(valueChanged)': 'handleChangeEvent($event.target.value)'
|
|
@@ -2328,17 +2328,19 @@ class GtrPopoverComponent {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPopoverComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2331
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2331
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrPopoverComponent, selector: "gtr-popover", inputs: { position: "position", isOpened: ["isOpened", "isOpened", booleanAttribute], showPositionIndicator: ["showPositionIndicator", "showPositionIndicator", booleanAttribute], moveX: "moveX", moveY: "moveY", padding: "padding", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", closeOnClickOutside: ["closeOnClickOutside", "closeOnClickOutside", booleanAttribute], id: "id", testId: "testId" }, outputs: { stateChanged: "stateChanged" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "popoverEl", first: true, predicate: ["popoverEl"], descendants: true }, { propertyName: "contentEl", first: true, predicate: ["contentEl"], descendants: true }], ngImport: i0, template: "<div\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n #popoverEl\n class=\"gtr-popover\"\n (click)=\"togglePopover()\"\n role=\"popover\"\n [attr.aria-describedby]=\"'gtr-popover'\"\n [ngStyle]=\"{\n 'margin-top.px': marginTop,\n 'margin-bottom.px': marginBottom,\n 'margin-left.px': marginLeft,\n 'margin-right.px': marginRight,\n }\"\n>\n <ng-content select=\"[slot='gtr-popover-trigger']\"></ng-content>\n <div\n #contentEl\n [hidden]=\"!isVisible\"\n [class.gtr-content-visible]=\"isVisible\"\n [class]=\"\n 'gtr-content' +\n ' ' +\n adjustedPosition +\n ' ' +\n ' ' +\n (showPositionIndicator ? 'gtr-indicator' : '')\n \"\n [tabIndex]=\"0\"\n (click)=\"popoverContentClicked($event)\"\n [style.padding.px]=\"padding\"\n [ngStyle]=\"{ transform: 'translate(' + moveX + '%, ' + moveY + '%)' }\"\n >\n <ng-container>\n <ng-content select=\"[slot='gtr-popover-content']\"></ng-content>\n </ng-container>\n </div>\n</div>\n", styles: [":host{position:relative;display:inline-block!important;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;padding:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent;--background-color: var(--gtr-color-base-white-100);--text-color: var(--gtr-color-base-black-60)}.gtr-popover{position:relative;width:auto;display:inline-block}.gtr-content{position:absolute;z-index:1;background-color:var(--background-color)!important;color:var(--text-color);padding:16px 18px;box-shadow:var(--gtr-content-box-shadow-base);white-space:normal;max-width:300px;width:max-content;min-width:200px;overflow-x:hidden;color:#000}.gtr-content.gtr-indicator{overflow-x:visible!important}.gtr-content::-webkit-scrollbar,::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:0px;background:var(var(--gtr-color-base-black-40))}.gtr-content.top{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.top:before{content:\"\";position:absolute;top:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-top-color:var(--background-color);transform:translate(-50%)}.gtr-content.right{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.right:before{content:\"\";position:absolute;top:50%;right:100%;border:7px solid var(--gtr-background-transparent);border-right-color:var(--background-color);transform:translateY(-50%)}.gtr-content.bottom{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.bottom:before{content:\"\";position:absolute;bottom:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-bottom-color:var(--background-color);transform:translate(-50%)}.gtr-content.left{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.left:before{content:\"\";position:absolute;top:50%;left:100%;border:7px solid var(--gtr-background-transparent);border-left-color:var(--background-color);transform:translateY(-50%)}.gtr-content-visible{display:inline-block!important;background:#ffffff!important}@media screen and (max-width: 860px){.gtr-content{width:max-content;max-width:300px}}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
2332
2332
|
}
|
|
2333
2333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPopoverComponent, decorators: [{
|
|
2334
2334
|
type: Component,
|
|
2335
|
-
args: [{ selector: 'gtr-popover', template: "<div\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n #popoverEl\n class=\"gtr-popover\"\n (click)=\"togglePopover()\"\n role=\"popover\"\n [attr.aria-describedby]=\"'gtr-popover'\"\n [ngStyle]=\"{\n 'margin-top.px': marginTop,\n 'margin-bottom.px': marginBottom,\n 'margin-left.px': marginLeft,\n 'margin-right.px': marginRight,\n }\"\n>\n <ng-content select=\"[slot='gtr-popover-trigger']\"></ng-content>\n <div\n #contentEl\n [hidden]=\"!isVisible\"\n [class.gtr-content-visible]=\"isVisible\"\n [class]=\"\n 'gtr-content' +\n ' ' +\n adjustedPosition +\n ' ' +\n ' ' +\n (showPositionIndicator ? 'gtr-indicator' : '')\n \"\n [tabIndex]=\"0\"\n (click)=\"popoverContentClicked($event)\"\n [style.padding.px]=\"padding\"\n [ngStyle]=\"{ transform: 'translate(' + moveX + '%, ' + moveY + '%)' }\"\n >\n <ng-container>\n <ng-content select=\"[slot='gtr-popover-content']\"></ng-content>\n </ng-container>\n </div>\n</div>\n", styles: [":host{position:relative;display:inline-block!important;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;padding:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent;--background-color: var(--gtr-color-base-white-100);--text-color: var(--gtr-color-base-black-60)}.gtr-popover{position:relative;width:auto;display:inline-block}.gtr-content{position:absolute;z-index:1;background-color:var(--background-color)!important;color:var(--text-color);padding:16px 18px
|
|
2335
|
+
args: [{ selector: 'gtr-popover', template: "<div\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n #popoverEl\n class=\"gtr-popover\"\n (click)=\"togglePopover()\"\n role=\"popover\"\n [attr.aria-describedby]=\"'gtr-popover'\"\n [ngStyle]=\"{\n 'margin-top.px': marginTop,\n 'margin-bottom.px': marginBottom,\n 'margin-left.px': marginLeft,\n 'margin-right.px': marginRight,\n }\"\n>\n <ng-content select=\"[slot='gtr-popover-trigger']\"></ng-content>\n <div\n #contentEl\n [hidden]=\"!isVisible\"\n [class.gtr-content-visible]=\"isVisible\"\n [class]=\"\n 'gtr-content' +\n ' ' +\n adjustedPosition +\n ' ' +\n ' ' +\n (showPositionIndicator ? 'gtr-indicator' : '')\n \"\n [tabIndex]=\"0\"\n (click)=\"popoverContentClicked($event)\"\n [style.padding.px]=\"padding\"\n [ngStyle]=\"{ transform: 'translate(' + moveX + '%, ' + moveY + '%)' }\"\n >\n <ng-container>\n <ng-content select=\"[slot='gtr-popover-content']\"></ng-content>\n </ng-container>\n </div>\n</div>\n", styles: [":host{position:relative;display:inline-block!important;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;padding:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent;--background-color: var(--gtr-color-base-white-100);--text-color: var(--gtr-color-base-black-60)}.gtr-popover{position:relative;width:auto;display:inline-block}.gtr-content{position:absolute;z-index:1;background-color:var(--background-color)!important;color:var(--text-color);padding:16px 18px;box-shadow:var(--gtr-content-box-shadow-base);white-space:normal;max-width:300px;width:max-content;min-width:200px;overflow-x:hidden;color:#000}.gtr-content.gtr-indicator{overflow-x:visible!important}.gtr-content::-webkit-scrollbar,::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:0px;background:var(var(--gtr-color-base-black-40))}.gtr-content.top{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.top:before{content:\"\";position:absolute;top:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-top-color:var(--background-color);transform:translate(-50%)}.gtr-content.right{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.right:before{content:\"\";position:absolute;top:50%;right:100%;border:7px solid var(--gtr-background-transparent);border-right-color:var(--background-color);transform:translateY(-50%)}.gtr-content.bottom{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.bottom:before{content:\"\";position:absolute;bottom:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-bottom-color:var(--background-color);transform:translate(-50%)}.gtr-content.left{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.left:before{content:\"\";position:absolute;top:50%;left:100%;border:7px solid var(--gtr-background-transparent);border-left-color:var(--background-color);transform:translateY(-50%)}.gtr-content-visible{display:inline-block!important;background:#ffffff!important}@media screen and (max-width: 860px){.gtr-content{width:max-content;max-width:300px}}\n"] }]
|
|
2336
2336
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { position: [{
|
|
2337
2337
|
type: Input
|
|
2338
2338
|
}], isOpened: [{
|
|
2339
|
-
type: Input
|
|
2339
|
+
type: Input,
|
|
2340
|
+
args: [{ transform: booleanAttribute }]
|
|
2340
2341
|
}], showPositionIndicator: [{
|
|
2341
|
-
type: Input
|
|
2342
|
+
type: Input,
|
|
2343
|
+
args: [{ transform: booleanAttribute }]
|
|
2342
2344
|
}], moveX: [{
|
|
2343
2345
|
type: Input
|
|
2344
2346
|
}], moveY: [{
|
|
@@ -2354,7 +2356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2354
2356
|
}], marginRight: [{
|
|
2355
2357
|
type: Input
|
|
2356
2358
|
}], closeOnClickOutside: [{
|
|
2357
|
-
type: Input
|
|
2359
|
+
type: Input,
|
|
2360
|
+
args: [{ transform: booleanAttribute }]
|
|
2358
2361
|
}], id: [{
|
|
2359
2362
|
type: Input
|
|
2360
2363
|
}], testId: [{
|
|
@@ -2537,7 +2540,7 @@ class GtrRadioButtonComponent {
|
|
|
2537
2540
|
}
|
|
2538
2541
|
}
|
|
2539
2542
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrRadioButtonComponent, deps: [{ token: i1$1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2540
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2543
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrRadioButtonComponent, selector: "gtr-radio-button", inputs: { value: "value", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], label: "label", tabIndexNav: "tabIndexNav", radioId: "radioId", groupName: "groupName" }, outputs: { valueChanged: "valueChanged" }, host: { listeners: { "document:keyup": "handleKeyDown($event)" } }, ngImport: i0, template: "<div class=\"gtr-form-element-wrapper\" [id]=\"radioId+'-wrapper'\" [attr.data-testid]=\"radioId+'-wrapper'\" [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\">\n <div class=\"gtr-form-element-radio-wrapper gtr-relative-element\">\n <input type=\"radio\" [name]=\"groupName\" class=\"gtr-form-element-radio\" role=\"radio\" [id]=\"this.radioId\" [attr.data-testid]=\"this.radioId\"\n [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\" value=\"{{value}}\" [checked]=\"this.checked\"\n [disabled]=\"this.disabled\" (change)=\"this.handleChange($event)\" (keydown)=\"detectEnter($event)\"\n [attr.aria-checked]=\"this.checked ? 'true' : 'false'\" [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" />\n <span class=\"gtr-radio-stats\"> </span>\n <label [id]=\"this.radioId+'-label'\" [attr.data-testid]=\"this.radioId+'-label'\" [class]=\"'gtr-radio-label'+ this.disabled ? ' disabled' : ''\" [for]=\"this.radioId\"\n (click)=\"this.handleClick()\" role=\"radio\" [attr.aria-checked]=\"this.checked ? 'true' : 'false'\">{{this.label}}</label>\n </div>\n <ng-content select=\"[slot='grt-info']\"></ng-content>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-opacity-05: .5;--gtr-opacity-07: .7}.gtr-relative-element{position:relative}.gtr-form-element-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:10px;margin-bottom:5px}.gtr-form-element-wrapper:focus-visible,.gtr-form-element-wrapper :focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:1;cursor:pointer;margin:0;padding:0}.gtr-form-element-radio:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio-wrapper{display:flex;align-items:center;max-width:-moz-fit-content;max-width:fit-content}.gtr-form-element-radio-wrapper:focus{outline:none!important;background:var(--primary-light)}.gtr-radio-label{margin-left:8px;font-style:normal;font-weight:400;font-size:15px;line-height:22px;position:relative;top:1px}.gtr-radio-label:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio+.gtr-radio-stats{width:16px;height:16px;display:inline-block;margin-top:1px;border-width:1px;border-radius:100px;border-style:solid}.gtr-form-element-radio:not(:checked)+.gtr-radio-stats{border-color:var(--gtr-color-base-black-20);background:var(--gtr-color-base-white-100)}.gtr-form-element-radio:not(:checked):disabled+.gtr-radio-stats{background:linear-gradient(0deg,var(--gtr-color-base-white-80),var(--gtr-color-base-white-80)),var(--gtr-color-base-black-80);border-color:var(--gtr-color-base-white-80)}.gtr-form-element-radio:checked+.gtr-radio-stats{border-color:var(--gtr-color-base-primary-100);background:var(--gtr-color-base-primary-100);position:relative}.gtr-form-element-radio:checked+.gtr-radio-stats:after{content:\"\";display:block;height:8px;width:8px;position:absolute;background:var(--gtr-color-base-white-100);border-radius:calc(var(--gtr-border-radius-6) * 12);top:3px;left:3px}.gtr-form-element-radio:checked:disabled+.gtr-radio-stats,.gtr-form-element-radio:checked:disabled+.gtr-radio-stats+.gtr-radio-label{opacity:var(--gtr-opacity-05)}.gtr-form-element-radio:disabled{cursor:default}.gtr-radio-label.disabled{opacity:var(--gtr-opacity-07)}\n"] }); }
|
|
2541
2544
|
}
|
|
2542
2545
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrRadioButtonComponent, decorators: [{
|
|
2543
2546
|
type: Component,
|
|
@@ -2549,9 +2552,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2549
2552
|
}] }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2550
2553
|
type: Input
|
|
2551
2554
|
}], disabled: [{
|
|
2552
|
-
type: Input
|
|
2555
|
+
type: Input,
|
|
2556
|
+
args: [{ transform: booleanAttribute }]
|
|
2553
2557
|
}], checked: [{
|
|
2554
|
-
type: Input
|
|
2558
|
+
type: Input,
|
|
2559
|
+
args: [{ transform: booleanAttribute }]
|
|
2555
2560
|
}], label: [{
|
|
2556
2561
|
type: Input
|
|
2557
2562
|
}], tabIndexNav: [{
|
|
@@ -2596,6 +2601,152 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2596
2601
|
}]
|
|
2597
2602
|
}] });
|
|
2598
2603
|
|
|
2604
|
+
// toaster-v2.service.ts
|
|
2605
|
+
class GtrToasterService {
|
|
2606
|
+
constructor() {
|
|
2607
|
+
this.toastSubject = new Subject();
|
|
2608
|
+
}
|
|
2609
|
+
showToast(config, duration, data) {
|
|
2610
|
+
this.toastSubject.next({ config, duration, data });
|
|
2611
|
+
}
|
|
2612
|
+
showError(message, duration) {
|
|
2613
|
+
const config = {
|
|
2614
|
+
heading: '',
|
|
2615
|
+
message: message,
|
|
2616
|
+
type: 'error',
|
|
2617
|
+
};
|
|
2618
|
+
this.toastSubject.next({ config, duration });
|
|
2619
|
+
}
|
|
2620
|
+
showSuccess(message, duration) {
|
|
2621
|
+
const config = {
|
|
2622
|
+
heading: '',
|
|
2623
|
+
message: message,
|
|
2624
|
+
type: 'success',
|
|
2625
|
+
};
|
|
2626
|
+
this.toastSubject.next({ config, duration });
|
|
2627
|
+
}
|
|
2628
|
+
showWarning(message, duration) {
|
|
2629
|
+
const config = {
|
|
2630
|
+
heading: '',
|
|
2631
|
+
message: message,
|
|
2632
|
+
type: 'warning',
|
|
2633
|
+
};
|
|
2634
|
+
this.toastSubject.next({ config, duration });
|
|
2635
|
+
}
|
|
2636
|
+
showInfo(message, duration) {
|
|
2637
|
+
const config = {
|
|
2638
|
+
heading: '',
|
|
2639
|
+
message: message,
|
|
2640
|
+
type: 'info',
|
|
2641
|
+
};
|
|
2642
|
+
this.toastSubject.next({ config, duration });
|
|
2643
|
+
}
|
|
2644
|
+
getToastSubject() {
|
|
2645
|
+
return this.toastSubject;
|
|
2646
|
+
}
|
|
2647
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2648
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterService, providedIn: 'root' }); }
|
|
2649
|
+
}
|
|
2650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterService, decorators: [{
|
|
2651
|
+
type: Injectable,
|
|
2652
|
+
args: [{
|
|
2653
|
+
providedIn: 'root',
|
|
2654
|
+
}]
|
|
2655
|
+
}] });
|
|
2656
|
+
|
|
2657
|
+
class GtrToasterComponent {
|
|
2658
|
+
constructor(toasterV2Service) {
|
|
2659
|
+
this.toasterV2Service = toasterV2Service;
|
|
2660
|
+
this.id = '';
|
|
2661
|
+
this.testId = '';
|
|
2662
|
+
this.toasterData = {
|
|
2663
|
+
heading: 'Sample',
|
|
2664
|
+
type: 'success',
|
|
2665
|
+
message: 'sample toast message',
|
|
2666
|
+
position: 'top-right',
|
|
2667
|
+
};
|
|
2668
|
+
this.open = false;
|
|
2669
|
+
this.toastSubscription = new Subscription();
|
|
2670
|
+
}
|
|
2671
|
+
ngOnInit() {
|
|
2672
|
+
this.toasterElement?.nativeElement.focus();
|
|
2673
|
+
this.subscribeToToasts();
|
|
2674
|
+
}
|
|
2675
|
+
ngOnDestroy() {
|
|
2676
|
+
clearTimeout(this.timeout);
|
|
2677
|
+
this.toastSubscription.unsubscribe();
|
|
2678
|
+
}
|
|
2679
|
+
showToast(config, duration, data) {
|
|
2680
|
+
this.open = true;
|
|
2681
|
+
this.toasterData = config;
|
|
2682
|
+
this.duration = duration;
|
|
2683
|
+
this.scheduleHideToast(this.duration || 2000);
|
|
2684
|
+
return new Promise((resolve) => {
|
|
2685
|
+
this.resolvePromise = resolve;
|
|
2686
|
+
}).then(() => {
|
|
2687
|
+
this.open = false;
|
|
2688
|
+
return data;
|
|
2689
|
+
});
|
|
2690
|
+
}
|
|
2691
|
+
scheduleHideToast(duration) {
|
|
2692
|
+
clearTimeout(this.timeout);
|
|
2693
|
+
this.timeout = setTimeout(() => {
|
|
2694
|
+
this.open = false;
|
|
2695
|
+
if (this.resolvePromise) {
|
|
2696
|
+
this.resolvePromise();
|
|
2697
|
+
}
|
|
2698
|
+
}, duration);
|
|
2699
|
+
}
|
|
2700
|
+
hideToast() {
|
|
2701
|
+
this.open = false;
|
|
2702
|
+
if (this.resolvePromise) {
|
|
2703
|
+
this.resolvePromise();
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
handleKeyDown(event) {
|
|
2707
|
+
if (event.key === 'Escape') {
|
|
2708
|
+
this.hideToast();
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
subscribeToToasts() {
|
|
2712
|
+
const toastObserver = this.toasterV2Service.getToastSubject();
|
|
2713
|
+
if (toastObserver) {
|
|
2714
|
+
this.toastSubscription = this.toasterV2Service.getToastSubject().subscribe((toastConfig) => {
|
|
2715
|
+
const toast = toastConfig || this.toasterData;
|
|
2716
|
+
this.showToast(toast.config, toast.duration, toast.data);
|
|
2717
|
+
});
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterComponent, deps: [{ token: GtrToasterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2721
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrToasterComponent, selector: "gtr-toaster", inputs: { id: "id", testId: "testId" }, viewQueries: [{ propertyName: "toasterElement", first: true, predicate: ["toasterElement"], descendants: true, static: true }], ngImport: i0, template: "<!-- gtr2-toaster.component.html -->\n\n<div\n tabindex=\"0\"\n #toasterElement\n class=\"gtr-toaster-wrapper\"\n [ngClass]=\"{\n 'show': open,\n 'hide': !open,\n 'top-right': toasterData && toasterData.position ? toasterData.position : 'top-right'\n }\"\n (keydown)=\"handleKeyDown($event)\"\n [id]=\"id\" [attr.data-test-id]=\"testId\"\n>\n <div\n *ngIf=\"open\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n class=\"gtr-toaster-content-wrapper\"\n [ngStyle]=\"{ 'background-color': toasterData.backgroundColor }\"\n >\n <div class=\"gtr-toaster-icon\">\n <gtr-badge\n [shape]=\"'default'\"\n [type]=\"'icon'\"\n [color]=\"\n toasterData.type === 'success'\n ? 'success'\n : toasterData.type === 'error'\n ? 'danger'\n : toasterData.type === 'info'\n ? 'info'\n : toasterData.type === 'warning'\n ? 'warning'\n : 'default'\n \"\n >\n <gtr-icon\n [name]=\"\n toasterData.type === 'success'\n ? 'check'\n : toasterData.type === 'error'\n ? 'x'\n : toasterData.type === 'info'\n ? 'info-circle'\n : toasterData.type === 'warning'\n ? 'alert-triangle'\n : 'message'\n \"\n [size]=\"18\"\n ></gtr-icon>\n </gtr-badge>\n </div>\n <div class=\"gtr-toaster-content\">\n <h5 [style.color]=\"toasterData.color\"><b>{{ (toasterData.heading || toasterData.type) | titlecase }}</b></h5>\n <p *ngIf=\"toasterData.message\" [style.color]=\"toasterData.messageColor\">{{ toasterData.message }}</p>\n </div>\n <div class=\"close\" (click)=\"hideToast()\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.gtr-toaster-wrapper *,.gtr-toaster-wrapper *:after,.gtr-toaster-wrapper *:before{box-sizing:border-box}.gtr-toaster-wrapper{position:fixed;z-index:9999;transition:.6s ease-in-out;display:none}.gtr-toaster-wrapper.top-right{right:12px;top:12px}.gtr-toaster-wrapper.top-left{top:12px;left:12px}.gtr-toaster-wrapper.bottom-left{bottom:12px;left:12px}.gtr-toaster-wrapper.bottom-right{bottom:12px;right:12px}.gtr-toaster-wrapper.center-left{left:12px;top:50%}.gtr-toaster-wrapper.center-right{right:12px;top:50%}.gtr-toaster-wrapper.show{animation:fade-in .4s linear;display:block}.gtr-toaster-wrapper.hide{animation:fade-out .4s linear;display:none}.gtr-toaster-wrapper .gtr-toaster-content-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;width:380px;max-width:380px;border-radius:6px;box-shadow:0 4px 16px #a5a3ae73;background:#fff;padding:20px;align-items:flex-start;box-sizing:border-box}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-icon{margin-right:12px}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content{flex-grow:1;padding:0;margin:0}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content h5{font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-bold);font-size:15px;line-height:22px;padding:0;margin:0;color:var(--gtr-color-base-black-100)}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content p{margin:2px 0 0;padding:0;font-size:13px!important;line-height:20px;color:var(--gtr-color-base-black-60);color:var(--Light-Typography-Color-Body-Text, #4b465c);font-weight:400}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .close{cursor:pointer;color:var(--gtr-color-base-black-60)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media only screen and (max-width: 480px){.gtr-toaster-content-wrapper{width:100%!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] }); }
|
|
2722
|
+
}
|
|
2723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterComponent, decorators: [{
|
|
2724
|
+
type: Component,
|
|
2725
|
+
args: [{ selector: 'gtr-toaster', template: "<!-- gtr2-toaster.component.html -->\n\n<div\n tabindex=\"0\"\n #toasterElement\n class=\"gtr-toaster-wrapper\"\n [ngClass]=\"{\n 'show': open,\n 'hide': !open,\n 'top-right': toasterData && toasterData.position ? toasterData.position : 'top-right'\n }\"\n (keydown)=\"handleKeyDown($event)\"\n [id]=\"id\" [attr.data-test-id]=\"testId\"\n>\n <div\n *ngIf=\"open\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n class=\"gtr-toaster-content-wrapper\"\n [ngStyle]=\"{ 'background-color': toasterData.backgroundColor }\"\n >\n <div class=\"gtr-toaster-icon\">\n <gtr-badge\n [shape]=\"'default'\"\n [type]=\"'icon'\"\n [color]=\"\n toasterData.type === 'success'\n ? 'success'\n : toasterData.type === 'error'\n ? 'danger'\n : toasterData.type === 'info'\n ? 'info'\n : toasterData.type === 'warning'\n ? 'warning'\n : 'default'\n \"\n >\n <gtr-icon\n [name]=\"\n toasterData.type === 'success'\n ? 'check'\n : toasterData.type === 'error'\n ? 'x'\n : toasterData.type === 'info'\n ? 'info-circle'\n : toasterData.type === 'warning'\n ? 'alert-triangle'\n : 'message'\n \"\n [size]=\"18\"\n ></gtr-icon>\n </gtr-badge>\n </div>\n <div class=\"gtr-toaster-content\">\n <h5 [style.color]=\"toasterData.color\"><b>{{ (toasterData.heading || toasterData.type) | titlecase }}</b></h5>\n <p *ngIf=\"toasterData.message\" [style.color]=\"toasterData.messageColor\">{{ toasterData.message }}</p>\n </div>\n <div class=\"close\" (click)=\"hideToast()\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.gtr-toaster-wrapper *,.gtr-toaster-wrapper *:after,.gtr-toaster-wrapper *:before{box-sizing:border-box}.gtr-toaster-wrapper{position:fixed;z-index:9999;transition:.6s ease-in-out;display:none}.gtr-toaster-wrapper.top-right{right:12px;top:12px}.gtr-toaster-wrapper.top-left{top:12px;left:12px}.gtr-toaster-wrapper.bottom-left{bottom:12px;left:12px}.gtr-toaster-wrapper.bottom-right{bottom:12px;right:12px}.gtr-toaster-wrapper.center-left{left:12px;top:50%}.gtr-toaster-wrapper.center-right{right:12px;top:50%}.gtr-toaster-wrapper.show{animation:fade-in .4s linear;display:block}.gtr-toaster-wrapper.hide{animation:fade-out .4s linear;display:none}.gtr-toaster-wrapper .gtr-toaster-content-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;width:380px;max-width:380px;border-radius:6px;box-shadow:0 4px 16px #a5a3ae73;background:#fff;padding:20px;align-items:flex-start;box-sizing:border-box}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-icon{margin-right:12px}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content{flex-grow:1;padding:0;margin:0}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content h5{font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-bold);font-size:15px;line-height:22px;padding:0;margin:0;color:var(--gtr-color-base-black-100)}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content p{margin:2px 0 0;padding:0;font-size:13px!important;line-height:20px;color:var(--gtr-color-base-black-60);color:var(--Light-Typography-Color-Body-Text, #4b465c);font-weight:400}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .close{cursor:pointer;color:var(--gtr-color-base-black-60)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media only screen and (max-width: 480px){.gtr-toaster-content-wrapper{width:100%!important}}\n"] }]
|
|
2726
|
+
}], ctorParameters: function () { return [{ type: GtrToasterService }]; }, propDecorators: { id: [{
|
|
2727
|
+
type: Input
|
|
2728
|
+
}], testId: [{
|
|
2729
|
+
type: Input
|
|
2730
|
+
}], toasterElement: [{
|
|
2731
|
+
type: ViewChild,
|
|
2732
|
+
args: ['toasterElement', { static: true }]
|
|
2733
|
+
}] } });
|
|
2734
|
+
|
|
2735
|
+
class GtrToasterModule {
|
|
2736
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2737
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterModule, declarations: [GtrToasterComponent], imports: [CommonModule, GtrIconModule, GtrBadgeModule], exports: [GtrToasterComponent] }); }
|
|
2738
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterModule, providers: [GtrToasterService], imports: [CommonModule, GtrIconModule, GtrBadgeModule] }); }
|
|
2739
|
+
}
|
|
2740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrToasterModule, decorators: [{
|
|
2741
|
+
type: NgModule,
|
|
2742
|
+
args: [{
|
|
2743
|
+
declarations: [GtrToasterComponent],
|
|
2744
|
+
exports: [GtrToasterComponent],
|
|
2745
|
+
imports: [CommonModule, GtrIconModule, GtrBadgeModule],
|
|
2746
|
+
providers: [GtrToasterService],
|
|
2747
|
+
}]
|
|
2748
|
+
}] });
|
|
2749
|
+
|
|
2599
2750
|
class GtrAccordionComponent {
|
|
2600
2751
|
constructor() {
|
|
2601
2752
|
/**
|
|
@@ -4594,7 +4745,7 @@ class GtrModalComponent {
|
|
|
4594
4745
|
this.closeModal.emit();
|
|
4595
4746
|
}
|
|
4596
4747
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrModalComponent, deps: [{ token: i1$1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4597
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4748
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrModalComponent, selector: "gtr-modal", inputs: { isOpen: ["isOpen", "isOpen", booleanAttribute], modalPosition: "modalPosition", modalId: "modalId", modalSize: "modalSize", scrollType: "scrollType", header: "header", hasHeading: ["hasHeading", "hasHeading", booleanAttribute] }, outputs: { closeModal: "closeModal" }, host: { listeners: { "keydown": "handleKeyDown($event)" } }, viewQueries: [{ propertyName: "modalElement", first: true, predicate: ["modalElement"], descendants: true }], ngImport: i0, template: "<div [class]=\"'gtr-modal '+ modalPosition + ' ' + modalSize\" [class.open]=\"isOpen\" #modalElement tabIndex=\"-1\"\n [id]=\"modalId\" [attr.data-testid]=\"modalId\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\">\n <div class=\"gtr-modal-content\">\n <div class=\"gtr-modal-header\" *ngIf=\"hasHeading\">\n <span [id]=\"modalId+'-modal-title'\" [attr.data-testid]=\"modalId+'-modal-title'\" class=\"gtr-modal-title\">\n {{this.header}}\n </span>\n <button class=\"gtr-modal-close\" [id]=\"modalId+'-modal-cross-button'\" [attr.data-testid]=\"modalId+'-modal-cross-button'\" (click)=\"this.handleCloseModal()\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15 5L5 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M15 5L5 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M5 5L15 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n </svg>\n </button>\n </div>\n <div id=\"modal-content\" [class]=\"'gtr-modal-body ' + this.scrollType\">\n <ng-content select=\"[slot='modal-body']\">\n </ng-content>\n <div class=\"gtr-modal-actions\">\n <ng-content select=\"[slot='modal-actions']\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":root{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px}.gtr-modal{display:none;position:fixed;z-index:9999;padding:20px;transform:translateZ(0);left:0;top:0;outline:0;width:100%;height:100%;overflow:auto;background-color:var(--gtr-color-base-black-20)}.gtr-modal.open{display:flex}.gtr-modal.open.top{display:block}.gtr-modal-content{background-color:#fefefe;margin:auto;padding:20px;width:90%;background-color:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-content-box-shadow-base)}.gtr-modal.small .gtr-modal-content{max-width:90%;width:400px}.gtr-modal-body.scroll-body{max-height:400px;overflow-y:auto;overflow-x:hidden;padding:8px}.gtr-modal.medium .gtr-modal-content{max-width:90%;width:700px}.gtr-modal.large .gtr-modal-content{max-width:90%;width:1000px}.gtr-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gtr-modal-title{font-style:normal;font-weight:600;font-size:18px;line-height:24px;padding:0;margin:0;color:#000}.gtr-modal-close{border:none;background:none;font-size:.9rem;cursor:pointer;padding:0}.gtr-modal-body p{font-style:normal;font-weight:400;font-size:15px;line-height:22px}.gtr-modal-body .gtr-modal-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:10px}.gtr-modal-body::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}@media screen and (max-width: 768px){.gtr-modal{padding:10px}.gtr-modal.small .gtr-modal-content,.gtr-modal.large .gtr-modal-content,.gtr-modal.medium .gtr-modal-content{max-width:100%}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
4598
4749
|
}
|
|
4599
4750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrModalComponent, decorators: [{
|
|
4600
4751
|
type: Component,
|
|
@@ -4610,7 +4761,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4610
4761
|
type: HostListener,
|
|
4611
4762
|
args: ['keydown', ['$event']]
|
|
4612
4763
|
}], isOpen: [{
|
|
4613
|
-
type: Input
|
|
4764
|
+
type: Input,
|
|
4765
|
+
args: [{ transform: booleanAttribute }]
|
|
4614
4766
|
}], modalPosition: [{
|
|
4615
4767
|
type: Input
|
|
4616
4768
|
}], modalId: [{
|
|
@@ -4622,7 +4774,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4622
4774
|
}], header: [{
|
|
4623
4775
|
type: Input
|
|
4624
4776
|
}], hasHeading: [{
|
|
4625
|
-
type: Input
|
|
4777
|
+
type: Input,
|
|
4778
|
+
args: [{ transform: booleanAttribute }]
|
|
4626
4779
|
}], closeModal: [{
|
|
4627
4780
|
type: Output
|
|
4628
4781
|
}] } });
|
|
@@ -9531,6 +9684,139 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9531
9684
|
}]
|
|
9532
9685
|
}] });
|
|
9533
9686
|
|
|
9687
|
+
class GtrTabComponent {
|
|
9688
|
+
constructor() {
|
|
9689
|
+
this.label = '';
|
|
9690
|
+
this.active = false;
|
|
9691
|
+
this.disabled = false;
|
|
9692
|
+
this.tabChange = new EventEmitter();
|
|
9693
|
+
this._activeTab = {};
|
|
9694
|
+
}
|
|
9695
|
+
set activeTab(activeTab) {
|
|
9696
|
+
if (!activeTab)
|
|
9697
|
+
return;
|
|
9698
|
+
this._activeTab.activeTab = activeTab?.activeTab;
|
|
9699
|
+
this._activeTab.index = activeTab?.index;
|
|
9700
|
+
this.tabChange.emit(this._activeTab);
|
|
9701
|
+
}
|
|
9702
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9703
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrTabComponent, selector: "gtr-tab", inputs: { label: "label", active: "active", disabled: "disabled" }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: "<ng-container *ngIf=\"active\">\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\">\n <ng-content></ng-content>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
9704
|
+
}
|
|
9705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabComponent, decorators: [{
|
|
9706
|
+
type: Component,
|
|
9707
|
+
args: [{ selector: 'gtr-tab', template: "<ng-container *ngIf=\"active\">\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\">\n <ng-content></ng-content>\n </div>\n</ng-container>\n" }]
|
|
9708
|
+
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
9709
|
+
type: Input
|
|
9710
|
+
}], active: [{
|
|
9711
|
+
type: Input
|
|
9712
|
+
}], disabled: [{
|
|
9713
|
+
type: Input
|
|
9714
|
+
}], tabChange: [{
|
|
9715
|
+
type: Output
|
|
9716
|
+
}] } });
|
|
9717
|
+
|
|
9718
|
+
class GtrTabsWrapperComponent {
|
|
9719
|
+
constructor() {
|
|
9720
|
+
this.tabs = new QueryList();
|
|
9721
|
+
this.position = 'start';
|
|
9722
|
+
this.id = '';
|
|
9723
|
+
this.testId = '';
|
|
9724
|
+
this.tabChanges = new EventEmitter();
|
|
9725
|
+
}
|
|
9726
|
+
get tabsContainerClass() {
|
|
9727
|
+
return `gtr-tabs-container ${this.position}`;
|
|
9728
|
+
}
|
|
9729
|
+
get tabsWrapperClass() {
|
|
9730
|
+
return `gtr-tabs-wrapper ${this.position}`;
|
|
9731
|
+
}
|
|
9732
|
+
get tabListLength() {
|
|
9733
|
+
return this.tabs?.toArray()?.length || 0;
|
|
9734
|
+
}
|
|
9735
|
+
ngOnInit() { }
|
|
9736
|
+
ngAfterContentInit() {
|
|
9737
|
+
if (this.tabs?.toArray()?.length <= 0)
|
|
9738
|
+
return;
|
|
9739
|
+
const activeTab = this.tabs?.toArray()?.filter((t) => t?.active)[0];
|
|
9740
|
+
this.selectTab(activeTab || this.tabs?.first);
|
|
9741
|
+
}
|
|
9742
|
+
ngAfterViewInit() {
|
|
9743
|
+
this.onTabListScroll();
|
|
9744
|
+
}
|
|
9745
|
+
selectTab(selectedTab) {
|
|
9746
|
+
try {
|
|
9747
|
+
this.tabs.toArray().forEach((tab) => (tab.active = tab === selectedTab));
|
|
9748
|
+
const activeTab = this.tabs.toArray()?.filter((tab) => tab?.active);
|
|
9749
|
+
const activeTabIndex = this.tabs.toArray()?.findIndex((tab) => tab.active);
|
|
9750
|
+
selectedTab.activeTab = { activeTab: activeTab, index: activeTabIndex };
|
|
9751
|
+
this.tabChanges.emit({ activeTab: activeTab, index: activeTabIndex });
|
|
9752
|
+
}
|
|
9753
|
+
catch (err) { }
|
|
9754
|
+
}
|
|
9755
|
+
onTabListScroll() {
|
|
9756
|
+
try {
|
|
9757
|
+
const tabContainerEl = this.tabScrollListRef.nativeElement;
|
|
9758
|
+
if (!this.tabScrollListRef) {
|
|
9759
|
+
return;
|
|
9760
|
+
}
|
|
9761
|
+
if (!this.isScrollable(this.tabScrollListRef.nativeElement)) {
|
|
9762
|
+
tabContainerEl.classList.remove('fade-right');
|
|
9763
|
+
tabContainerEl.classList.remove('fade-left');
|
|
9764
|
+
return;
|
|
9765
|
+
}
|
|
9766
|
+
if (this.tabScrollListRef.nativeElement.scrollLeft > 0) {
|
|
9767
|
+
tabContainerEl.classList.remove('fade-left');
|
|
9768
|
+
tabContainerEl.classList.add('fade-right');
|
|
9769
|
+
}
|
|
9770
|
+
else {
|
|
9771
|
+
tabContainerEl.classList.remove('fade-right');
|
|
9772
|
+
tabContainerEl.classList.add('fade-left');
|
|
9773
|
+
}
|
|
9774
|
+
}
|
|
9775
|
+
catch (err) { }
|
|
9776
|
+
}
|
|
9777
|
+
isScrollable(element) {
|
|
9778
|
+
const hasHorizontalScroll = element?.scrollWidth > element?.clientWidth;
|
|
9779
|
+
return hasHorizontalScroll;
|
|
9780
|
+
}
|
|
9781
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9782
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrTabsWrapperComponent, selector: "gtr-tabs-wrapper", inputs: { position: "position", id: "id", testId: "testId" }, outputs: { tabChanges: "tabChanges" }, queries: [{ propertyName: "tabs", predicate: GtrTabComponent }], viewQueries: [{ propertyName: "tabScrollContainerRef", first: true, predicate: ["tabScrollContainerRef"], descendants: true, static: true }, { propertyName: "tabScrollListRef", first: true, predicate: ["tabScrollListRef"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n >\n <div [class]=\"tabsWrapperClass\">\n <div #tabButton\n *ngFor=\"let tab of tabs\"\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n >\n {{ tab.label }}\n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"tabListLength > 0\">\n <div class=\"gtr-tab-content-wrapper\">\n <div class=\"gtr-tab-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,.8));pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,rgba(255,255,255,0),rgba(255,255,255,.8));pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
9783
|
+
}
|
|
9784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsWrapperComponent, decorators: [{
|
|
9785
|
+
type: Component,
|
|
9786
|
+
args: [{ selector: 'gtr-tabs-wrapper', template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n >\n <div [class]=\"tabsWrapperClass\">\n <div #tabButton\n *ngFor=\"let tab of tabs\"\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n >\n {{ tab.label }}\n </div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"tabListLength > 0\">\n <div class=\"gtr-tab-content-wrapper\">\n <div class=\"gtr-tab-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,.8));pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,rgba(255,255,255,0),rgba(255,255,255,.8));pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }]
|
|
9787
|
+
}], propDecorators: { tabs: [{
|
|
9788
|
+
type: ContentChildren,
|
|
9789
|
+
args: [GtrTabComponent]
|
|
9790
|
+
}], position: [{
|
|
9791
|
+
type: Input
|
|
9792
|
+
}], id: [{
|
|
9793
|
+
type: Input
|
|
9794
|
+
}], testId: [{
|
|
9795
|
+
type: Input
|
|
9796
|
+
}], tabScrollContainerRef: [{
|
|
9797
|
+
type: ViewChild,
|
|
9798
|
+
args: ['tabScrollContainerRef', { static: true }]
|
|
9799
|
+
}], tabScrollListRef: [{
|
|
9800
|
+
type: ViewChild,
|
|
9801
|
+
args: ['tabScrollListRef', { static: true }]
|
|
9802
|
+
}], tabChanges: [{
|
|
9803
|
+
type: Output
|
|
9804
|
+
}] } });
|
|
9805
|
+
|
|
9806
|
+
class GtrTabsModule {
|
|
9807
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9808
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsModule, declarations: [GtrTabComponent, GtrTabsWrapperComponent], imports: [CommonModule], exports: [GtrTabComponent, GtrTabsWrapperComponent] }); }
|
|
9809
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsModule, imports: [CommonModule] }); }
|
|
9810
|
+
}
|
|
9811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrTabsModule, decorators: [{
|
|
9812
|
+
type: NgModule,
|
|
9813
|
+
args: [{
|
|
9814
|
+
declarations: [GtrTabComponent, GtrTabsWrapperComponent],
|
|
9815
|
+
exports: [GtrTabComponent, GtrTabsWrapperComponent],
|
|
9816
|
+
imports: [CommonModule],
|
|
9817
|
+
}]
|
|
9818
|
+
}] });
|
|
9819
|
+
|
|
9534
9820
|
/*
|
|
9535
9821
|
* Public API Surface of core-components-angular
|
|
9536
9822
|
*/
|
|
@@ -9539,5 +9825,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9539
9825
|
* Generated bundle index. Do not edit.
|
|
9540
9826
|
*/
|
|
9541
9827
|
|
|
9542
|
-
export { BreakpointInfix, GettrxModule, Gtr2Accordion, Gtr2AccordionWrapper, Gtr2Badge, Gtr2Button, Gtr2Checkbox, Gtr2DatePicker, Gtr2FileInput, Gtr2GroupDropdown, Gtr2Icon, Gtr2Input, Gtr2Modal, Gtr2NumericCounter, Gtr2Pagination, Gtr2Popover, Gtr2PopoverWrapper, Gtr2RadioButton, Gtr2RadioButtonGroup, Gtr2Select, Gtr2StatsCard, Gtr2Switch, Gtr2Tab, Gtr2TabGroup, Gtr2TableContainer, Gtr2Textarea, Gtr2Toaster, Gtr2Tooltip, GtrAccordionComponent, GtrAccordionModule, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrBadgeModule, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDirectiveModule, GtrButtonModule, GtrCalendarComponent, GtrCalendarModule, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrCheckboxModule, GtrComponentName, GtrDatePickerComponent, GtrDatePickerModule, GtrDateRangePickerComponent, GtrDateRangePickerModule, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownModule, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFileInputModule, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormModule, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrIconModule, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrInputModule, GtrModalComponent, GtrModalModule, GtrNumericCounterComponent, GtrNumericCounterModule, GtrPaginationComponent, GtrPaginationModule, GtrPopoverComponent, GtrPopoverModule, GtrRadioButtonComponent, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSelectModule, GtrSharedModule, GtrSkeletonComponent, GtrSkeletonDirective, GtrSkeletonModule, GtrStatCardComponent, GtrStatCardModule, GtrSwitchComponent, GtrSwitchModule, GtrTemplateIdDirective, GtrTextareaComponent, GtrTextareaModule, GtrTimePickerComponent, GtrTimePickerModule, GtrTooltipComponent, GtrTooltipModule, GtrTrimTextPipe, GtrValidatePagePipe, RadioButtonhModule, TextValueAccessor, ValueAccessor };
|
|
9828
|
+
export { BreakpointInfix, GettrxModule, Gtr2Accordion, Gtr2AccordionWrapper, Gtr2Badge, Gtr2Button, Gtr2Checkbox, Gtr2DatePicker, Gtr2FileInput, Gtr2GroupDropdown, Gtr2Icon, Gtr2Input, Gtr2Modal, Gtr2NumericCounter, Gtr2Pagination, Gtr2Popover, Gtr2PopoverWrapper, Gtr2RadioButton, Gtr2RadioButtonGroup, Gtr2Select, Gtr2StatsCard, Gtr2Switch, Gtr2Tab, Gtr2TabGroup, Gtr2TableContainer, Gtr2Textarea, Gtr2Toaster, Gtr2Tooltip, GtrAccordionComponent, GtrAccordionModule, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrBadgeModule, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDirectiveModule, GtrButtonModule, GtrCalendarComponent, GtrCalendarModule, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrCheckboxModule, GtrComponentName, GtrDatePickerComponent, GtrDatePickerModule, GtrDateRangePickerComponent, GtrDateRangePickerModule, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownModule, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFileInputModule, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormModule, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrIconModule, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrInputModule, GtrModalComponent, GtrModalModule, GtrNumericCounterComponent, GtrNumericCounterModule, GtrPaginationComponent, GtrPaginationModule, GtrPopoverComponent, GtrPopoverModule, GtrRadioButtonComponent, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSelectModule, GtrSharedModule, GtrSkeletonComponent, GtrSkeletonDirective, GtrSkeletonModule, GtrStatCardComponent, GtrStatCardModule, GtrSwitchComponent, GtrSwitchModule, GtrTabComponent, GtrTabsModule, GtrTabsWrapperComponent, GtrTemplateIdDirective, GtrTextareaComponent, GtrTextareaModule, GtrTimePickerComponent, GtrTimePickerModule, GtrToasterComponent, GtrToasterModule, GtrToasterService, GtrTooltipComponent, GtrTooltipModule, GtrTrimTextPipe, GtrValidatePagePipe, RadioButtonhModule, TextValueAccessor, ValueAccessor, convert12hTo24h, convert24hTo12h, convertTimeToDate, getAmPm, getDayPeriods, getListOfHours, getListOfMinutes, getListOfSeconds, getSelectedHour, getSelectedMinutes, getSelectedSeconds, getSupportedLocale, isAm, isAmPm, isHour12, isPm, isValidTime, isValidTimeZone };
|
|
9543
9829
|
//# sourceMappingURL=gettrx-core-components-angular.mjs.map
|