@progressio_resources/gravity-design-system 4.1.7 → 4.1.8
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
|
@@ -2646,15 +2646,16 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2646
2646
|
items: MenuHeader[];
|
|
2647
2647
|
userInfo: UserInfo[];
|
|
2648
2648
|
logoUrl: MenuLogoUrls;
|
|
2649
|
-
showCloseButton: boolean;
|
|
2650
2649
|
isOpen: boolean;
|
|
2651
2650
|
systemTime: string;
|
|
2652
2651
|
collapsable: boolean;
|
|
2653
2652
|
language: 'en' | 'es';
|
|
2653
|
+
showCloseButton: boolean;
|
|
2654
2654
|
cardButtons: SecondaryActions[];
|
|
2655
2655
|
maxCardButtonsPerRow: number;
|
|
2656
2656
|
currentLink: string | null;
|
|
2657
2657
|
secondaryActions: SecondaryActions[];
|
|
2658
|
+
showControlPanelButton: boolean;
|
|
2658
2659
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2659
2660
|
mainFooterAction: {
|
|
2660
2661
|
icon: string;
|
|
@@ -2664,6 +2665,7 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2664
2665
|
close: EventEmitter<any>;
|
|
2665
2666
|
selected: EventEmitter<string>;
|
|
2666
2667
|
collapsed: EventEmitter<boolean>;
|
|
2668
|
+
switchControlPanel: EventEmitter<void>;
|
|
2667
2669
|
menuBody: ElementRef<HTMLDivElement>;
|
|
2668
2670
|
closing: boolean;
|
|
2669
2671
|
scrollPosition: number;
|
|
@@ -2677,13 +2679,21 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2677
2679
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2678
2680
|
ngAfterViewInit(): void;
|
|
2679
2681
|
ngOnDestroy(): void;
|
|
2682
|
+
getSwitchControlPanelText(collapsedMode?: boolean): string;
|
|
2683
|
+
onSwitchControlPanel(): void;
|
|
2680
2684
|
private preselectOptionByLink;
|
|
2681
2685
|
private handleSizeChange;
|
|
2682
2686
|
selectOption(option: MenuOption, header: MenuHeader): void;
|
|
2683
2687
|
closeMenu(): void;
|
|
2684
2688
|
toggleMenuHeader(header: MenuHeader, index: number): void;
|
|
2685
2689
|
isHeaderSelected(header: MenuHeader): boolean;
|
|
2686
|
-
|
|
2690
|
+
getAllMobileCardButtons(): (SecondaryActions & {
|
|
2691
|
+
isControlPanel?: boolean;
|
|
2692
|
+
})[];
|
|
2693
|
+
getCardButtonsRows(): (SecondaryActions & {
|
|
2694
|
+
isControlPanel?: boolean;
|
|
2695
|
+
})[][];
|
|
2696
|
+
isMobileCardsOverflow(): boolean;
|
|
2687
2697
|
collapseMenu(): void;
|
|
2688
2698
|
hasOptionBadge(header: MenuHeader): boolean;
|
|
2689
2699
|
clearSelection(clearSelection: boolean): void;
|
|
@@ -2691,7 +2701,7 @@ declare class GravityMenuComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
2691
2701
|
private toggleAllHeaders;
|
|
2692
2702
|
private adjustScrollOnGrow;
|
|
2693
2703
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityMenuComponent, never>;
|
|
2694
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityMenuComponent, "gravity-menu", never, { "items": { "alias": "items"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "
|
|
2704
|
+
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; }; "systemTime": { "alias": "systemTime"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "cardButtons": { "alias": "cardButtons"; "required": false; }; "maxCardButtonsPerRow": { "alias": "maxCardButtonsPerRow"; "required": false; }; "currentLink": { "alias": "currentLink"; "required": false; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; }; "showControlPanelButton": { "alias": "showControlPanelButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "mainFooterAction": { "alias": "mainFooterAction"; "required": false; }; }, { "close": "close"; "selected": "selected"; "collapsed": "collapsed"; "switchControlPanel": "switchControlPanel"; }, never, never, true, never>;
|
|
2695
2705
|
}
|
|
2696
2706
|
|
|
2697
2707
|
declare class GravityTooltipContainerComponent {
|