@progressio_resources/gravity-design-system 4.0.45 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,16 +2,16 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnChanges, TemplateRef, EventEmitter, ElementRef, ComponentFactoryResolver, ApplicationRef, Injector, SimpleChanges, ModuleWithProviders, AfterViewInit, OnInit, OnDestroy, PipeTransform, ChangeDetectorRef, Renderer2, ViewContainerRef, QueryList } from '@angular/core';
|
|
3
3
|
import * as i1$1 from 'angular-svg-icon';
|
|
4
4
|
import { SvgIconRegistryService } from 'angular-svg-icon';
|
|
5
|
-
import * as i2 from '
|
|
6
|
-
import * as i3 from 'ngx-bootstrap/datepicker';
|
|
5
|
+
import * as i2 from 'ngx-bootstrap/datepicker';
|
|
7
6
|
import * as i1 from '@angular/common';
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
7
|
+
import * as i4 from '@angular/forms';
|
|
8
|
+
import * as i6 from '@ng-bootstrap/ng-bootstrap';
|
|
10
9
|
import { NgbActiveModal, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
|
|
11
|
-
import * as
|
|
10
|
+
import * as i7 from '@angular/router';
|
|
12
11
|
import { TimeUnit } from 'ngx-bootstrap/chronos';
|
|
13
12
|
import * as rxjs from 'rxjs';
|
|
14
|
-
import {
|
|
13
|
+
import { Observable, BehaviorSubject, Subscription } from 'rxjs';
|
|
14
|
+
import { HttpClient } from '@angular/common/http';
|
|
15
15
|
import { PositioningService } from 'ngx-bootstrap/positioning';
|
|
16
16
|
import { Action, MiniStore } from 'ngx-bootstrap/mini-ngrx';
|
|
17
17
|
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
|
|
@@ -870,18 +870,32 @@ declare class GravityIconButtonComponent {
|
|
|
870
870
|
static ɵcmp: i0.ɵɵComponentDeclaration<GravityIconButtonComponent, "gravity-icon-button", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; }, { "clickOnIcon": "clickOnIcon"; }, never, never, true, never>;
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
+
declare class GravityIconCatalogService {
|
|
874
|
+
private http;
|
|
875
|
+
private readonly catalogUrl;
|
|
876
|
+
private catalog$;
|
|
877
|
+
constructor(http: HttpClient);
|
|
878
|
+
getCatalog(): Observable<Map<string, string>>;
|
|
879
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityIconCatalogService, never>;
|
|
880
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GravityIconCatalogService>;
|
|
881
|
+
}
|
|
882
|
+
|
|
873
883
|
declare class GravityIconComponent {
|
|
874
884
|
private iconRegistry;
|
|
885
|
+
private iconCatalog;
|
|
875
886
|
customIconColorVariable: string;
|
|
876
887
|
iconName: string;
|
|
877
888
|
iconSize: 'lg-24' | 'md-16' | 'sm-12' | 'xl-32';
|
|
878
889
|
hoverIcon: boolean;
|
|
879
890
|
size: 'sm' | 'md' | 'lg';
|
|
880
891
|
isCoin: boolean;
|
|
881
|
-
|
|
892
|
+
iconExists: i0.WritableSignal<boolean>;
|
|
893
|
+
constructor(iconRegistry: SvgIconRegistryService, iconCatalog: GravityIconCatalogService);
|
|
882
894
|
static isOldIcon(iconName: string): boolean;
|
|
883
895
|
static isNewIcon(iconName: string): boolean;
|
|
884
|
-
|
|
896
|
+
ngOnChanges(): void;
|
|
897
|
+
get fullIconName(): string;
|
|
898
|
+
private loadIconOnDemand;
|
|
885
899
|
private getFullIconName;
|
|
886
900
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityIconComponent, never>;
|
|
887
901
|
static ɵcmp: i0.ɵɵComponentDeclaration<GravityIconComponent, "gravity-icon", never, { "customIconColorVariable": { "alias": "customIconColorVariable"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "hoverIcon": { "alias": "hoverIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "isCoin": { "alias": "isCoin"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -2489,6 +2503,7 @@ declare class GravityHeaderComponent {
|
|
|
2489
2503
|
longTitle: string;
|
|
2490
2504
|
backButton: boolean;
|
|
2491
2505
|
breadCrumb: BreadCrumb;
|
|
2506
|
+
systemTime: string;
|
|
2492
2507
|
language: 'en' | 'es';
|
|
2493
2508
|
notifications: boolean;
|
|
2494
2509
|
resolution: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -2501,12 +2516,13 @@ declare class GravityHeaderComponent {
|
|
|
2501
2516
|
private _isMenuOpen;
|
|
2502
2517
|
iconToggle: boolean;
|
|
2503
2518
|
isBackButtonPressed: boolean;
|
|
2519
|
+
get systemTimeText(): string;
|
|
2504
2520
|
toggleMenu(): void;
|
|
2505
2521
|
backAction(): void;
|
|
2506
2522
|
handleViewedNotificationsResponse($event: NotificationViewedStatusRequest): void;
|
|
2507
2523
|
isMobile(): boolean;
|
|
2508
2524
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityHeaderComponent, never>;
|
|
2509
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityHeaderComponent, "gravity-header", never, { "title": { "alias": "title"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "longTitle": { "alias": "longTitle"; "required": false; }; "backButton": { "alias": "backButton"; "required": false; }; "breadCrumb": { "alias": "breadCrumb"; "required": false; }; "language": { "alias": "language"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "userNotifications": { "alias": "userNotifications"; "required": false; }; "isMenuOpen": { "alias": "isMenuOpen"; "required": false; }; }, { "backButtonResponse": "backButtonResponse"; "toggleMenuResponse": "toggleMenuResponse"; "viewedNotificationsResponse": "viewedNotificationsResponse"; }, never, ["[main-actions]"], true, never>;
|
|
2525
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityHeaderComponent, "gravity-header", never, { "title": { "alias": "title"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "longTitle": { "alias": "longTitle"; "required": false; }; "backButton": { "alias": "backButton"; "required": false; }; "breadCrumb": { "alias": "breadCrumb"; "required": false; }; "systemTime": { "alias": "systemTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "userNotifications": { "alias": "userNotifications"; "required": false; }; "isMenuOpen": { "alias": "isMenuOpen"; "required": false; }; }, { "backButtonResponse": "backButtonResponse"; "toggleMenuResponse": "toggleMenuResponse"; "viewedNotificationsResponse": "viewedNotificationsResponse"; }, never, ["[main-actions]"], true, never>;
|
|
2510
2526
|
}
|
|
2511
2527
|
|
|
2512
2528
|
interface GravityPageChangedEvent {
|
|
@@ -2601,9 +2617,11 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2601
2617
|
items: MenuHeader[];
|
|
2602
2618
|
userInfo: UserInfo[];
|
|
2603
2619
|
logoUrl: MenuLogoUrls;
|
|
2620
|
+
showCloseButton: boolean;
|
|
2604
2621
|
isOpen: boolean;
|
|
2622
|
+
systemTime: string;
|
|
2605
2623
|
collapsable: boolean;
|
|
2606
|
-
|
|
2624
|
+
language: 'en' | 'es';
|
|
2607
2625
|
cardButtons: SecondaryActions[];
|
|
2608
2626
|
maxCardButtonsPerRow: number;
|
|
2609
2627
|
currentLink: string | null;
|
|
@@ -2623,6 +2641,7 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2623
2641
|
collapsedMode: boolean;
|
|
2624
2642
|
visibleSubMenu: boolean;
|
|
2625
2643
|
selectedOption: MenuOption | null;
|
|
2644
|
+
get systemTimeText(): string;
|
|
2626
2645
|
private resizeObserver;
|
|
2627
2646
|
private clickOutsideListener;
|
|
2628
2647
|
constructor(elRef: ElementRef, renderer: Renderer2);
|
|
@@ -2643,7 +2662,7 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2643
2662
|
private toggleAllHeaders;
|
|
2644
2663
|
private adjustScrollOnGrow;
|
|
2645
2664
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityMenuComponent, never>;
|
|
2646
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityMenuComponent, "gravity-menu", never, { "items": { "alias": "items"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "
|
|
2665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityMenuComponent, "gravity-menu", never, { "items": { "alias": "items"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "systemTime": { "alias": "systemTime"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "language": { "alias": "language"; "required": false; }; "cardButtons": { "alias": "cardButtons"; "required": false; }; "maxCardButtonsPerRow": { "alias": "maxCardButtonsPerRow"; "required": false; }; "currentLink": { "alias": "currentLink"; "required": false; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; }; "size": { "alias": "size"; "required": false; }; "mainFooterAction": { "alias": "mainFooterAction"; "required": false; }; }, { "close": "close"; "selected": "selected"; "collapsed": "collapsed"; }, never, never, true, never>;
|
|
2647
2666
|
}
|
|
2648
2667
|
|
|
2649
2668
|
declare class GravityTooltipContainerComponent {
|
|
@@ -2687,7 +2706,7 @@ declare class GravityTooltipContainerComponent {
|
|
|
2687
2706
|
|
|
2688
2707
|
declare class GravityDesignSystemModule {
|
|
2689
2708
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDesignSystemModule, never>;
|
|
2690
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, never, [typeof i1$1.AngularSvgIconModule, typeof i2.
|
|
2709
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, never, [typeof i1$1.AngularSvgIconModule, typeof i2.BsDatepickerModule, typeof i1.CommonModule, typeof i4.FormsModule, typeof GravityTooltipModule, typeof i6.NgbDatepickerModule, typeof i6.NgbOffcanvasModule, typeof i6.NgbProgressbarModule, typeof i6.NgbToastModule, typeof i4.ReactiveFormsModule, typeof i7.RouterLink, typeof GravityAttachFileComponent, typeof GravityAvatarStackComponent, typeof GravityGenericAvatarComponent, typeof GravityBadgeComponent, typeof GravityButtonComponent, typeof GravityCalendarV2Component, typeof GravityCheckboxComponent, typeof GravityCurrencyComponent, typeof GravityCurrencyDropdownShortComponent, typeof GravityDataViewsV2Component, typeof GravityDialogComponent, typeof GravityDetailContainerComponent, typeof GravityDropdownListComponent, typeof GravityDropdownListDisplayComponent, typeof GravityIconButtonComponent, typeof GravityIconComponent, typeof GravityMultiLanguageComponent, typeof GravityNetworkPillComponent, typeof GravityNotificationComponent, typeof GravityNotificationInstantContainerComponent, typeof GravityRadioButtonComponent, typeof GravityRadioCardComponent, typeof GravityStatusIndicatorComponent, typeof GravityStepperComponent, typeof GravityStepperV2Component, typeof GravityStrengthMeterComponent, typeof GravitySwitchComponent, typeof GravityTableComponent, typeof GravityTablesV2Component, typeof GravityTextFieldComponent, typeof GravityTextFieldAmountOnlyComponent, typeof GravityTextFieldNumberOnlyComponent, typeof GravityTreeViewComponent, typeof NodeComponent, typeof NodeToggleComponent, typeof NodeCheckboxComponent, typeof NodeNameComponent, typeof FilterByPipe, typeof DateAbbreviationPipe, typeof BsDatepickerDayDecoratorComponent, typeof BsDatepickerNavigationViewComponent, typeof BsDaysCalendarViewComponent, typeof BsMonthCalendarViewComponent, typeof BsYearsCalendarViewComponent, typeof BsDatepickerContainerComponent, typeof BsDatepickerDirective, typeof BsDatepickerInlineContainerComponent, typeof BsDatepickerInlineDirective, typeof BsDaterangepickerContainerComponent, typeof BsDaterangepickerDirective, typeof BsDaterangepickerInlineContainerComponent, typeof BsDaterangepickerInlineDirective, typeof GravityModalComponent, typeof GravityLinkComponent, typeof GravityTabPrimaryComponent, typeof GravityTabSecondaryComponent, typeof GravityChipGroupComponent, typeof GravityEditableInputComponent, typeof GravityActionCardComponent, typeof GravityDropdownLabelComponent, typeof GravityNavigationCardComponent, typeof GravityGenericAvatarSecondaryComponent, typeof GravityBackdropComponent, typeof GravityDatePickerComponent, typeof DayCalendarComponent, typeof MonthCalendarComponent, typeof YearCalendarComponent, typeof GravitySegmentedButtonComponent, typeof GravityCurrencyDisplayV2Component, typeof GravityHeaderComponent, typeof GravityPaginationComponent, typeof GravityPushNotificationsComponent, typeof GravityMenuComponent, typeof GravityTooltipContainerComponent], [typeof GravityAttachFileComponent, typeof GravityAvatarStackComponent, typeof GravityGenericAvatarComponent, typeof GravityBadgeComponent, typeof GravityButtonComponent, typeof GravityCalendarV2Component, typeof GravityCheckboxComponent, typeof GravityCurrencyComponent, typeof GravityCurrencyDisplayV2Component, typeof GravityCurrencyDropdownShortComponent, typeof GravityDataViewsV2Component, typeof GravityDialogComponent, typeof GravityDetailContainerComponent, typeof GravityDropdownListComponent, typeof GravityDropdownListDisplayComponent, typeof GravityIconButtonComponent, typeof GravityIconComponent, typeof GravityMultiLanguageComponent, typeof GravityNetworkPillComponent, typeof GravityNotificationInstantContainerComponent, typeof GravityRadioButtonComponent, typeof GravityRadioCardComponent, typeof GravityStatusIndicatorComponent, typeof GravityStepperComponent, typeof GravityStepperV2Component, typeof GravityStrengthMeterComponent, typeof GravitySwitchComponent, typeof GravityTableComponent, typeof GravityTablesV2Component, typeof GravityTextFieldComponent, typeof GravityTextFieldAmountOnlyComponent, typeof GravityTextFieldNumberOnlyComponent, typeof GravityTooltipModule, typeof GravityTreeViewComponent, typeof GravityModalComponent, typeof GravityLinkComponent, typeof GravityTabPrimaryComponent, typeof GravityTabSecondaryComponent, typeof GravityChipGroupComponent, typeof GravityEditableInputComponent, typeof GravityActionCardComponent, typeof GravityNavigationCardComponent, typeof GravityGenericAvatarSecondaryComponent, typeof GravityBackdropComponent, typeof GravityDatePickerComponent, typeof GravitySegmentedButtonComponent, typeof GravityHeaderComponent, typeof GravityPaginationComponent, typeof GravityPushNotificationsComponent, typeof GravityMenuComponent, typeof GravityTooltipContainerComponent]>;
|
|
2691
2710
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
2692
2711
|
}
|
|
2693
2712
|
|