@progressio_resources/gravity-design-system 3.5.3 → 3.5.5
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/lib/components/gravity-detail-container/gravity-detail-container.component.mjs +17 -5
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +2 -2
- package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +26 -5
- package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +2 -2
- package/esm2022/lib/gravity-design-system.module.mjs +6 -8
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/progressio_resources-gravity-design-system.mjs +50 -38
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-detail-container/gravity-detail-container.component.d.ts +5 -2
- package/lib/components/gravity-icon/gravity-icon.component.d.ts +5 -0
- package/lib/gravity-design-system.module.d.ts +9 -10
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/src/lib/assets/icon-set/coins/crypto/gt-icon-avax-currency/gt-icon-avax-currency-disabled.svg +4 -0
- package/src/lib/assets/icon-set/coins/crypto/gt-icon-avax-currency/gt-icon-avax-currency.svg +4 -0
- package/src/lib/assets/icon-set/networks/gt-icon-avax-network/gt-icon-avax-network-disabled.svg +5 -0
- package/src/lib/assets/icon-set/networks/gt-icon-avax-network/gt-icon-avax-network.svg +11 -0
- package/src/lib/assets/icon-set/networks/gt-icon-sol-network/gt-icon-sol-network-disabled.svg +5 -0
- package/src/lib/assets/icon-set/networks/gt-icon-sol-network/gt-icon-sol-network.svg +15 -0
- package/src/lib/assets/json/icons.json +24 -0
- package/src/lib/styles/components/_scroll_bar.scss +31 -0
- package/src/lib/styles/gravity-design-system.scss +1 -0
- package/esm2022/lib/layout/gravity-menu/gravity-menu.component.mjs +0 -24
- package/esm2022/lib/model/gravity-menu-items.model.mjs +0 -2
- package/lib/layout/gravity-menu/gravity-menu.component.d.ts +0 -9
- package/lib/model/gravity-menu-items.model.d.ts +0 -18
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityDetailContainerComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
mode: 'modal' | 'standard';
|
|
7
7
|
type: 'flyout' | 'detail-view';
|
|
8
|
+
optionalHeight: string;
|
|
8
9
|
closed: EventEmitter<void>;
|
|
10
|
+
containerRef: ElementRef<HTMLDivElement>;
|
|
9
11
|
isOpen: boolean;
|
|
10
12
|
open(): void;
|
|
11
13
|
dismiss(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDetailContainerComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDetailContainerComponent, "gravity-detail-container", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "closed": "closed"; }, never, ["[detail-body]", "[detail-actions]"], false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDetailContainerComponent, "gravity-detail-container", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; "optionalHeight": { "alias": "optionalHeight"; "required": false; }; }, { "closed": "closed"; }, never, ["[detail-body]", "[detail-actions]"], false, never>;
|
|
14
17
|
}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
+
import { SvgIconRegistryService } from "angular-svg-icon";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class GravityIconComponent {
|
|
4
|
+
private iconRegistry;
|
|
3
5
|
customIconColorVariable: string;
|
|
4
6
|
iconName: string;
|
|
5
7
|
iconSize: 'lg-24' | 'md-16' | 'sm-12' | 'xl-32';
|
|
6
8
|
hoverIcon: boolean;
|
|
7
9
|
size: 'sm' | 'md' | 'lg';
|
|
8
10
|
isCoin: boolean;
|
|
11
|
+
constructor(iconRegistry: SvgIconRegistryService);
|
|
9
12
|
static isOldIcon(iconName: string): boolean;
|
|
10
13
|
static isNewIcon(iconName: string): boolean;
|
|
14
|
+
get iconExists(): boolean;
|
|
15
|
+
private getFullIconName;
|
|
11
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityIconComponent, never>;
|
|
12
17
|
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, false, never>;
|
|
13
18
|
}
|
|
@@ -71,17 +71,16 @@ import * as i69 from "./components/gravity-segmented-button/gravity-segmented-bu
|
|
|
71
71
|
import * as i70 from "./components/gravity-currency-display-v2/gravity-currency-display-v2.component";
|
|
72
72
|
import * as i71 from "./layout/gravity-header/gravity-header.component";
|
|
73
73
|
import * as i72 from "./components/gravity-push-notifications/gravity-push-notifications.component";
|
|
74
|
-
import * as i73 from "
|
|
75
|
-
import * as i74 from "angular-svg-icon";
|
|
76
|
-
import * as i75 from "
|
|
77
|
-
import * as i76 from "
|
|
78
|
-
import * as i77 from "@angular/
|
|
79
|
-
import * as i78 from "
|
|
80
|
-
import * as i79 from "
|
|
81
|
-
import * as i80 from "@
|
|
82
|
-
import * as i81 from "@angular/router";
|
|
74
|
+
import * as i73 from "angular-svg-icon";
|
|
75
|
+
import * as i74 from "angular-svg-icon-preloader";
|
|
76
|
+
import * as i75 from "ngx-bootstrap/datepicker";
|
|
77
|
+
import * as i76 from "@angular/common";
|
|
78
|
+
import * as i77 from "@angular/forms";
|
|
79
|
+
import * as i78 from "./vendor/gravity-tooltip/gravity-tooltip.module";
|
|
80
|
+
import * as i79 from "@ng-bootstrap/ng-bootstrap";
|
|
81
|
+
import * as i80 from "@angular/router";
|
|
83
82
|
export declare class GravityDesignSystemModule {
|
|
84
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDesignSystemModule, never>;
|
|
85
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarComponent, typeof i6.GravityCalendarV2Component, typeof i7.GravityCardListComponent, typeof i8.GravityCheckboxComponent, typeof i9.GravityCurrencyComponent, typeof i10.GravityCurrencyDisplayComponent, typeof i11.GravityDataViewComponent, typeof i12.GravityDataViewsV2Component, typeof i13.GravityDialogComponent, typeof i14.GravityDetailContainerComponent, typeof i15.GravityDropdownListComponent, typeof i16.GravityDropdownListDisplayComponent, typeof i17.GravityIconButtonComponent, typeof i18.GravityIconComponent, typeof i19.GravityMultiLanguageComponent, typeof i20.GravityNetworkPillComponent, typeof i21.GravityNotificationComponent, typeof i22.GravityNotificationInstantContainerComponent, typeof i23.GravityFlyoutComponent, typeof i24.GravityRadioButtonComponent, typeof i25.GravityStatusIndicatorComponent, typeof i26.GravityStepperComponent, typeof i27.GravitySwitchComponent, typeof i28.GravityTableComponent, typeof i29.GravityTablesV2Component, typeof i30.GravityTextFieldComponent, typeof i31.GravityTextFieldNumberOnlyComponent, typeof i32.GravityTreeViewComponent, typeof i33.NodeComponent, typeof i34.NodeToggleComponent, typeof i35.NodeCheckboxComponent, typeof i36.NodeNameComponent, typeof i37.FilterByPipe, typeof i38.DateAbbreviationPipe, typeof i39.BsDatepickerDayDecoratorComponent, typeof i40.BsDatepickerNavigationViewComponent, typeof i41.BsDaysCalendarViewComponent, typeof i42.BsMonthCalendarViewComponent, typeof i43.BsYearsCalendarViewComponent, typeof i44.BsDatepickerContainerComponent, typeof i45.BsDatepickerDirective, typeof i46.BsDatepickerInlineContainerComponent, typeof i47.BsDatepickerInlineDirective, typeof i48.BsDaterangepickerContainerComponent, typeof i49.BsDaterangepickerDirective, typeof i50.BsDaterangepickerInlineContainerComponent, typeof i51.BsDaterangepickerInlineDirective, typeof i52.GravityModalComponent, typeof i53.GravityLinkComponent, typeof i54.GravityTabPrimaryComponent, typeof i55.GravityTabSecondaryComponent, typeof i56.GravityChipComponent, typeof i57.GravityChipGroupComponent, typeof i58.GravityEditableInputComponent, typeof i59.GravityCardButtonComponent, typeof i60.GravityDropdownLabelComponent, typeof i61.GravityNavigationCardComponent, typeof i62.GravityGenericAvatarSecondaryComponent, typeof i63.GravityBackdropComponent, typeof i64.GravityCalendarNextComponent, typeof i65.DayCalendarComponent, typeof i66.MonthCalendarComponent, typeof i67.YearCalendarComponent, typeof i68.DualMonthCalendarComponent, typeof i69.GravitySegmentedButtonComponent, typeof i70.GravityCurrencyDisplayV2Component, typeof i71.GravityHeaderComponent, typeof i72.GravityPushNotificationsComponent
|
|
84
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarComponent, typeof i6.GravityCalendarV2Component, typeof i7.GravityCardListComponent, typeof i8.GravityCheckboxComponent, typeof i9.GravityCurrencyComponent, typeof i10.GravityCurrencyDisplayComponent, typeof i11.GravityDataViewComponent, typeof i12.GravityDataViewsV2Component, typeof i13.GravityDialogComponent, typeof i14.GravityDetailContainerComponent, typeof i15.GravityDropdownListComponent, typeof i16.GravityDropdownListDisplayComponent, typeof i17.GravityIconButtonComponent, typeof i18.GravityIconComponent, typeof i19.GravityMultiLanguageComponent, typeof i20.GravityNetworkPillComponent, typeof i21.GravityNotificationComponent, typeof i22.GravityNotificationInstantContainerComponent, typeof i23.GravityFlyoutComponent, typeof i24.GravityRadioButtonComponent, typeof i25.GravityStatusIndicatorComponent, typeof i26.GravityStepperComponent, typeof i27.GravitySwitchComponent, typeof i28.GravityTableComponent, typeof i29.GravityTablesV2Component, typeof i30.GravityTextFieldComponent, typeof i31.GravityTextFieldNumberOnlyComponent, typeof i32.GravityTreeViewComponent, typeof i33.NodeComponent, typeof i34.NodeToggleComponent, typeof i35.NodeCheckboxComponent, typeof i36.NodeNameComponent, typeof i37.FilterByPipe, typeof i38.DateAbbreviationPipe, typeof i39.BsDatepickerDayDecoratorComponent, typeof i40.BsDatepickerNavigationViewComponent, typeof i41.BsDaysCalendarViewComponent, typeof i42.BsMonthCalendarViewComponent, typeof i43.BsYearsCalendarViewComponent, typeof i44.BsDatepickerContainerComponent, typeof i45.BsDatepickerDirective, typeof i46.BsDatepickerInlineContainerComponent, typeof i47.BsDatepickerInlineDirective, typeof i48.BsDaterangepickerContainerComponent, typeof i49.BsDaterangepickerDirective, typeof i50.BsDaterangepickerInlineContainerComponent, typeof i51.BsDaterangepickerInlineDirective, typeof i52.GravityModalComponent, typeof i53.GravityLinkComponent, typeof i54.GravityTabPrimaryComponent, typeof i55.GravityTabSecondaryComponent, typeof i56.GravityChipComponent, typeof i57.GravityChipGroupComponent, typeof i58.GravityEditableInputComponent, typeof i59.GravityCardButtonComponent, typeof i60.GravityDropdownLabelComponent, typeof i61.GravityNavigationCardComponent, typeof i62.GravityGenericAvatarSecondaryComponent, typeof i63.GravityBackdropComponent, typeof i64.GravityCalendarNextComponent, typeof i65.DayCalendarComponent, typeof i66.MonthCalendarComponent, typeof i67.YearCalendarComponent, typeof i68.DualMonthCalendarComponent, typeof i69.GravitySegmentedButtonComponent, typeof i70.GravityCurrencyDisplayV2Component, typeof i71.GravityHeaderComponent, typeof i72.GravityPushNotificationsComponent], [typeof i73.AngularSvgIconModule, typeof i74.AngularSvgIconPreloaderModule, typeof i75.BsDatepickerModule, typeof i76.CommonModule, typeof i77.FormsModule, typeof i78.GravityTooltipModule, typeof i79.NgbDatepickerModule, typeof i79.NgbOffcanvasModule, typeof i79.NgbProgressbarModule, typeof i79.NgbToastModule, typeof i77.ReactiveFormsModule, typeof i80.RouterLink], [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarComponent, typeof i6.GravityCalendarV2Component, typeof i7.GravityCardListComponent, typeof i8.GravityCheckboxComponent, typeof i9.GravityCurrencyComponent, typeof i10.GravityCurrencyDisplayComponent, typeof i70.GravityCurrencyDisplayV2Component, typeof i11.GravityDataViewComponent, typeof i12.GravityDataViewsV2Component, typeof i13.GravityDialogComponent, typeof i14.GravityDetailContainerComponent, typeof i15.GravityDropdownListComponent, typeof i16.GravityDropdownListDisplayComponent, typeof i17.GravityIconButtonComponent, typeof i18.GravityIconComponent, typeof i19.GravityMultiLanguageComponent, typeof i20.GravityNetworkPillComponent, typeof i22.GravityNotificationInstantContainerComponent, typeof i23.GravityFlyoutComponent, typeof i24.GravityRadioButtonComponent, typeof i25.GravityStatusIndicatorComponent, typeof i26.GravityStepperComponent, typeof i27.GravitySwitchComponent, typeof i28.GravityTableComponent, typeof i29.GravityTablesV2Component, typeof i30.GravityTextFieldComponent, typeof i31.GravityTextFieldNumberOnlyComponent, typeof i78.GravityTooltipModule, typeof i32.GravityTreeViewComponent, typeof i52.GravityModalComponent, typeof i53.GravityLinkComponent, typeof i54.GravityTabPrimaryComponent, typeof i55.GravityTabSecondaryComponent, typeof i56.GravityChipComponent, typeof i57.GravityChipGroupComponent, typeof i58.GravityEditableInputComponent, typeof i59.GravityCardButtonComponent, typeof i61.GravityNavigationCardComponent, typeof i62.GravityGenericAvatarSecondaryComponent, typeof i63.GravityBackdropComponent, typeof i64.GravityCalendarNextComponent, typeof i69.GravitySegmentedButtonComponent, typeof i71.GravityHeaderComponent, typeof i72.GravityPushNotificationsComponent]>;
|
|
86
85
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
87
86
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -47,7 +47,6 @@ export * from './lib/components/gravity-backdrop/gravity-backdrop.component';
|
|
|
47
47
|
export * from './lib/components/gravity-segmented-button/gravity-segmented-button.component';
|
|
48
48
|
export * from './lib/components/gravity-push-notifications/gravity-push-notifications.component';
|
|
49
49
|
export * from './lib/layout/gravity-header/gravity-header.component';
|
|
50
|
-
export * from './lib/layout/gravity-menu/gravity-menu.component';
|
|
51
50
|
export * from './lib/services/gravity-dialog-manager.service';
|
|
52
51
|
export * from './lib/vendor/gravity-tooltip';
|
|
53
52
|
export * from './lib/components/gravity-notification/gravity-notification-content.interface';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.999 0.5C24.5587 0.500085 31.498 7.43961 31.498 16C31.498 24.5604 24.5587 31.4999 15.999 31.5C7.43927 31.5 0.500001 24.5604 0.5 16C0.5 7.43955 7.43927 0.5 15.999 0.5Z" stroke="#97A4BD"/>
|
|
3
|
+
<path d="M15.6216 6.14111C15.8446 6.02713 16.1105 6.02713 16.3335 6.14111C16.5408 6.24726 16.7051 6.53409 17.0298 7.10791L18.5991 9.85889L18.6069 9.87354C18.9575 10.4889 19.1357 10.8009 19.2134 11.1284C19.2994 11.486 19.2994 11.8636 19.2134 12.2212C19.1351 12.5513 18.959 12.8659 18.603 13.4907L14.5942 20.6099L14.5835 20.6284C14.2305 21.249 14.0512 21.564 13.8032 21.8013C13.5334 22.0605 13.2088 22.2487 12.853 22.355C12.5283 22.4453 12.1638 22.4458 11.436 22.4458H8.34521C7.69581 22.4458 7.3748 22.4455 7.1792 22.3198C6.96803 22.1822 6.83938 21.9542 6.82373 21.7026C6.81203 21.4709 6.97169 21.1875 7.29248 20.6216L14.9253 7.10791C15.25 6.53409 15.4142 6.24725 15.6216 6.14111ZM21.0972 15.854C21.32 15.7401 21.5824 15.74 21.8052 15.854C22.0073 15.9574 22.1644 16.225 22.4761 16.7544L22.5015 16.7974L24.7202 20.6099C24.731 20.6287 24.7418 20.6474 24.7524 20.6655C25.0598 21.1984 25.2167 21.4705 25.2056 21.6948C25.1937 21.9462 25.0604 22.1783 24.8491 22.3159C24.6534 22.4454 24.3248 22.4458 23.6714 22.4458H19.2427C18.5895 22.4458 18.2606 22.4454 18.0688 22.3198C17.8576 22.1822 17.7281 21.9503 17.7124 21.6987C17.7008 21.4687 17.8626 21.1883 18.186 20.6274L18.1938 20.6138L20.4048 16.8013C20.7294 16.2394 20.8937 15.9601 21.0972 15.854Z" fill="#97A4BD"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.9989 32C24.8348 32 31.9977 24.8366 31.9977 16C31.9977 7.16344 24.8348 0 15.9989 0C7.16294 0 0 7.16344 0 16C0 24.8366 7.16294 32 15.9989 32Z" fill="#E84142"/>
|
|
3
|
+
<path d="M15.6216 6.14111C15.8446 6.02713 16.1105 6.02713 16.3335 6.14111C16.5408 6.24726 16.7051 6.53409 17.0298 7.10791L18.5991 9.85889L18.6069 9.87354C18.9575 10.4889 19.1357 10.8009 19.2134 11.1284C19.2994 11.486 19.2994 11.8636 19.2134 12.2212C19.1351 12.5513 18.959 12.8659 18.603 13.4907L14.5942 20.6099L14.5835 20.6284C14.2305 21.249 14.0512 21.564 13.8032 21.8013C13.5334 22.0605 13.2088 22.2487 12.853 22.355C12.5283 22.4453 12.1638 22.4458 11.436 22.4458H8.34521C7.69581 22.4458 7.3748 22.4455 7.1792 22.3198C6.96803 22.1822 6.83938 21.9542 6.82373 21.7026C6.81203 21.4709 6.97169 21.1875 7.29248 20.6216L14.9253 7.10791C15.25 6.53409 15.4142 6.24725 15.6216 6.14111ZM21.0972 15.854C21.32 15.7401 21.5824 15.74 21.8052 15.854C22.0073 15.9574 22.1644 16.225 22.4761 16.7544L22.5015 16.7974L24.7202 20.6099C24.731 20.6287 24.7418 20.6474 24.7524 20.6655C25.0598 21.1984 25.2167 21.4705 25.2056 21.6948C25.1937 21.9462 25.0604 22.1783 24.8491 22.3159C24.6534 22.4454 24.3248 22.4458 23.6714 22.4458H19.2427C18.5895 22.4458 18.2606 22.4454 18.0688 22.3198C17.8576 22.1822 17.7281 21.9503 17.7124 21.6987C17.7008 21.4687 17.8626 21.1883 18.186 20.6274L18.1938 20.6138L20.4048 16.8013C20.7294 16.2394 20.8937 15.9601 21.0972 15.854Z" fill="white"/>
|
|
4
|
+
</svg>
|
package/src/lib/assets/icon-set/networks/gt-icon-avax-network/gt-icon-avax-network-disabled.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="6" cy="6" r="6" fill="white"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 11.5556C9.06825 11.5556 11.5556 9.06825 11.5556 6C11.5556 2.93175 9.06825 0.444444 6 0.444444C2.93175 0.444444 0.444444 2.93175 0.444444 6C0.444444 9.06825 2.93175 11.5556 6 11.5556ZM6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z" fill="#97A4BD"/>
|
|
4
|
+
<path d="M5.85742 2.30322C5.94106 2.26048 6.04137 2.26048 6.125 2.30322C6.20259 2.34317 6.26416 2.45067 6.38574 2.66553L6.97461 3.69678L6.97754 3.70264C7.10896 3.93331 7.17597 4.05052 7.20508 4.17334C7.23726 4.30724 7.23721 4.44861 7.20508 4.58252C7.17573 4.70633 7.10911 4.82472 6.97559 5.05908L5.47266 7.729L5.46875 7.73584C5.33639 7.96853 5.26876 8.08631 5.17578 8.17529C5.07456 8.27254 4.95281 8.34345 4.81934 8.3833C4.69759 8.41713 4.56088 8.41748 4.28809 8.41748H3.12891C2.88572 8.41748 2.76573 8.41664 2.69238 8.36963C2.61315 8.31802 2.56446 8.23254 2.55859 8.13818C2.55433 8.05131 2.61419 7.94493 2.73438 7.73291L5.59668 2.66553C5.71824 2.45073 5.77986 2.3432 5.85742 2.30322ZM7.91113 5.94482C7.99466 5.90221 8.09327 5.90214 8.17676 5.94482C8.25255 5.98359 8.3118 6.08412 8.42871 6.28271L8.4375 6.29932L9.26953 7.729C9.27352 7.73594 9.27734 7.74281 9.28125 7.74951C9.3964 7.94914 9.45617 8.0512 9.45215 8.13525C9.4477 8.2295 9.39753 8.31704 9.31836 8.36865C9.24495 8.41723 9.12101 8.41748 8.87598 8.41748H7.21582C6.97079 8.41748 6.84729 8.41677 6.77539 8.36963C6.69627 8.31804 6.64751 8.23146 6.6416 8.13721C6.63723 8.05092 6.69798 7.9453 6.81934 7.73486L6.82227 7.72998L7.65137 6.30029C7.77309 6.08963 7.83485 5.98461 7.91113 5.94482Z" fill="#97A4BD"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_14377_3353)">
|
|
3
|
+
<circle cx="6" cy="6" r="6" fill="#E84142"/>
|
|
4
|
+
<path d="M5.85742 2.30322C5.94106 2.26048 6.04137 2.26048 6.125 2.30322C6.20254 2.34321 6.26421 2.45076 6.38574 2.66553L6.97363 3.69775L6.97754 3.70264C7.10894 3.93327 7.17497 4.05055 7.2041 4.17334C7.23637 4.30747 7.23637 4.44936 7.2041 4.5835C7.17471 4.70713 7.10891 4.82507 6.97559 5.05908L5.47266 7.729L5.46875 7.73584C5.33638 7.96855 5.26874 8.0863 5.17578 8.17529C5.07456 8.27259 4.95283 8.34343 4.81934 8.3833C4.69755 8.41718 4.561 8.41748 4.28809 8.41748H3.12891C2.88539 8.41748 2.76476 8.41676 2.69141 8.36963C2.61244 8.31799 2.56445 8.23236 2.55859 8.13818C2.55442 8.05134 2.61427 7.9448 2.73438 7.73291L5.59668 2.66553C5.71831 2.4506 5.77977 2.34309 5.85742 2.30322ZM7.91113 5.9458C7.99471 5.9031 8.0932 5.90307 8.17676 5.9458C8.25228 5.98471 8.31123 6.0848 8.42773 6.28271L8.4375 6.29932L9.26953 7.729C9.27352 7.73594 9.27734 7.74281 9.28125 7.74951C9.39657 7.94943 9.45539 8.0521 9.45117 8.13623C9.44658 8.23021 9.39727 8.3171 9.31836 8.36865C9.24495 8.41723 9.12101 8.41748 8.87598 8.41748H7.21484C6.97014 8.41748 6.84725 8.41673 6.77539 8.36963C6.69619 8.31801 6.64747 8.23154 6.6416 8.13721C6.63723 8.05092 6.69798 7.9453 6.81934 7.73486L6.82227 7.72998L7.65137 6.30029C7.77301 6.08977 7.83488 5.98557 7.91113 5.9458Z" fill="white"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_14377_3353">
|
|
8
|
+
<rect width="12" height="12" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="6" cy="6" r="6" fill="white"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 11.5556C9.06825 11.5556 11.5556 9.06825 11.5556 6C11.5556 2.93175 9.06825 0.444444 6 0.444444C2.93175 0.444444 0.444444 2.93175 0.444444 6C0.444444 9.06825 2.93175 11.5556 6 11.5556ZM6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z" fill="#97A4BD"/>
|
|
4
|
+
<path d="M9.95271 7.82314L8.68707 9.07331C8.65974 9.10058 8.62633 9.12211 8.58913 9.13718C8.55193 9.15225 8.51245 9.15943 8.47221 9.15943H2.47126C2.44241 9.15943 2.41432 9.15154 2.39078 9.13718C2.36649 9.12283 2.34827 9.10202 2.33688 9.07762C2.32549 9.05322 2.32169 9.02666 2.32701 9.00083C2.33156 8.97499 2.34523 8.95059 2.36421 8.93121L3.63136 7.68104C3.6587 7.65377 3.6921 7.63224 3.72855 7.61789C3.76575 7.60281 3.80523 7.59564 3.84547 7.59564H9.84566C9.87451 7.59564 9.9026 7.60353 9.92613 7.61789C9.95043 7.63224 9.96865 7.65305 9.98004 7.67745C9.99143 7.70185 9.99522 7.72841 9.98991 7.75424C9.9846 7.78008 9.97169 7.80448 9.95271 7.82385V7.82314ZM8.68707 5.30557C8.65974 5.2783 8.62633 5.25677 8.58913 5.2417C8.55193 5.22663 8.51245 5.21945 8.47221 5.21945H2.47126C2.44241 5.21945 2.41432 5.22734 2.39078 5.2417C2.36649 5.25605 2.34827 5.27686 2.33688 5.30126C2.32549 5.32566 2.32169 5.35222 2.32701 5.37805C2.33156 5.40389 2.34523 5.42829 2.36421 5.44767L3.63136 6.69784C3.6587 6.72511 3.6921 6.74664 3.72855 6.76099C3.76575 6.77606 3.80523 6.78324 3.84547 6.78324H9.84566C9.87451 6.78324 9.9026 6.77535 9.92613 6.76099C9.95043 6.74664 9.96865 6.72583 9.98004 6.70143C9.99143 6.67703 9.99522 6.65047 9.98991 6.62464C9.98535 6.5988 9.97169 6.5744 9.95271 6.55502L8.68707 5.30485V5.30557ZM2.47126 4.40777H8.47221C8.51245 4.40777 8.55269 4.39988 8.58913 4.38552C8.62633 4.37045 8.65974 4.34892 8.68707 4.32165L9.95271 3.07148C9.97245 3.0521 9.98535 3.02842 9.98991 3.00187C9.99447 2.97603 9.99143 2.94948 9.98004 2.92508C9.96865 2.90067 9.94967 2.88058 9.92613 2.86551C9.90184 2.85116 9.87451 2.84326 9.84566 2.84326H3.84471C3.80447 2.84326 3.76499 2.85116 3.72779 2.86551C3.69058 2.88058 3.65794 2.90211 3.6306 2.92866L2.36345 4.18027C2.34371 4.19965 2.3308 4.22333 2.32625 4.24988C2.32169 4.27572 2.32473 4.30227 2.33612 4.32667C2.34751 4.35108 2.36649 4.37117 2.39002 4.38624C2.41356 4.40059 2.44165 4.40849 2.4705 4.40849L2.47126 4.40777Z" fill="#97A4BD"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_13918_3226)">
|
|
3
|
+
<circle cx="6" cy="6" r="6" fill="black"/>
|
|
4
|
+
<path d="M9.95271 7.82314L8.68707 9.07331C8.65974 9.10058 8.62633 9.12211 8.58913 9.13718C8.55193 9.15225 8.51245 9.15943 8.47221 9.15943H2.47126C2.44241 9.15943 2.41432 9.15154 2.39078 9.13718C2.36649 9.12283 2.34827 9.10202 2.33688 9.07762C2.32549 9.05322 2.32169 9.02666 2.32701 9.00083C2.33156 8.97499 2.34523 8.95059 2.36421 8.93121L3.63136 7.68104C3.6587 7.65377 3.6921 7.63224 3.72855 7.61789C3.76575 7.60281 3.80523 7.59564 3.84547 7.59564H9.84566C9.87451 7.59564 9.9026 7.60353 9.92613 7.61789C9.95043 7.63224 9.96865 7.65305 9.98004 7.67745C9.99143 7.70185 9.99522 7.72841 9.98991 7.75424C9.9846 7.78008 9.97169 7.80448 9.95271 7.82385V7.82314ZM8.68707 5.30557C8.65974 5.2783 8.62633 5.25677 8.58913 5.2417C8.55193 5.22663 8.51245 5.21945 8.47221 5.21945H2.47126C2.44241 5.21945 2.41432 5.22734 2.39078 5.2417C2.36649 5.25605 2.34827 5.27686 2.33688 5.30126C2.32549 5.32566 2.32169 5.35222 2.32701 5.37805C2.33156 5.40389 2.34523 5.42829 2.36421 5.44767L3.63136 6.69784C3.6587 6.72511 3.6921 6.74664 3.72855 6.76099C3.76575 6.77606 3.80523 6.78324 3.84547 6.78324H9.84566C9.87451 6.78324 9.9026 6.77535 9.92613 6.76099C9.95043 6.74664 9.96865 6.72583 9.98004 6.70143C9.99143 6.67703 9.99522 6.65047 9.98991 6.62464C9.98535 6.5988 9.97169 6.5744 9.95271 6.55502L8.68707 5.30485V5.30557ZM2.47126 4.40777H8.47221C8.51245 4.40777 8.55269 4.39988 8.58913 4.38552C8.62633 4.37045 8.65974 4.34892 8.68707 4.32165L9.95271 3.07148C9.97245 3.0521 9.98535 3.02842 9.98991 3.00187C9.99447 2.97603 9.99143 2.94948 9.98004 2.92508C9.96865 2.90067 9.94967 2.88058 9.92613 2.86551C9.90184 2.85116 9.87451 2.84326 9.84566 2.84326H3.84471C3.80447 2.84326 3.76499 2.85116 3.72779 2.86551C3.69058 2.88058 3.65794 2.90211 3.6306 2.92866L2.36345 4.18027C2.34371 4.19965 2.3308 4.22333 2.32625 4.24988C2.32169 4.27572 2.32473 4.30227 2.33612 4.32667C2.34751 4.35108 2.36649 4.37117 2.39002 4.38624C2.41356 4.40059 2.44165 4.40849 2.4705 4.40849L2.47126 4.40777Z" fill="url(#paint0_linear_13918_3226)"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient id="paint0_linear_13918_3226" x1="3.06422" y1="9.38621" x2="8.78349" y2="2.38455" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop offset="0.08" stop-color="#9945FF"/>
|
|
9
|
+
<stop offset="0.97" stop-color="#14F195"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<clipPath id="clip0_13918_3226">
|
|
12
|
+
<rect width="12" height="12" fill="white"/>
|
|
13
|
+
</clipPath>
|
|
14
|
+
</defs>
|
|
15
|
+
</svg>
|
|
@@ -292,6 +292,14 @@
|
|
|
292
292
|
"iconName": "gt-icon-coin-id-41-disabled",
|
|
293
293
|
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-shib-currency/gt-icon-shib-currency-disabled.svg"
|
|
294
294
|
},
|
|
295
|
+
{
|
|
296
|
+
"iconName": "gt-icon-coin-id-45",
|
|
297
|
+
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-avax-currency/gt-icon-avax-currency.svg"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"iconName": "gt-icon-coin-id-45-disabled",
|
|
301
|
+
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-avax-currency/gt-icon-avax-currency-disabled.svg"
|
|
302
|
+
},
|
|
295
303
|
{
|
|
296
304
|
"iconName": "gt-icon-coin-id-49",
|
|
297
305
|
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency.svg"
|
|
@@ -864,6 +872,22 @@
|
|
|
864
872
|
"iconName": "gt-icon-network-id-9-disabled",
|
|
865
873
|
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-doge-network/gt-icon-doge-network-disabled.svg"
|
|
866
874
|
},
|
|
875
|
+
{
|
|
876
|
+
"iconName": "gt-icon-network-id-12",
|
|
877
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-sol-network/gt-icon-sol-network.svg"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"iconName": "gt-icon-network-id-12-disabled",
|
|
881
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-sol-network/gt-icon-sol-network-disabled.svg"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"iconName": "gt-icon-network-id-13",
|
|
885
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-avax-network/gt-icon-avax-network.svg"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"iconName": "gt-icon-network-id-13-disabled",
|
|
889
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-avax-network/gt-icon-avax-network-disabled.svg"
|
|
890
|
+
},
|
|
867
891
|
{
|
|
868
892
|
"iconName": "gt-icon-network-id-14",
|
|
869
893
|
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-op-network/gt-icon-op-network.svg"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
$scrollbar-width-sm: 4px;
|
|
2
|
+
$scrollbar-width-md: 8px;
|
|
3
|
+
|
|
4
|
+
@mixin custom-scrollbar($size) {
|
|
5
|
+
&::-webkit-scrollbar {
|
|
6
|
+
width: $size;
|
|
7
|
+
height: $size;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&::-webkit-scrollbar-track {
|
|
11
|
+
background-color: var(--surface-primary);
|
|
12
|
+
border-radius: 5px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&::-webkit-scrollbar-thumb {
|
|
16
|
+
background-color: var(--placeholder-empty-enabled-primary);
|
|
17
|
+
border-radius: 5px;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: var(--line-empty-enabled-primary);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.scrollbar-sm {
|
|
26
|
+
@include custom-scrollbar($scrollbar-width-sm);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.scrollbar-md {
|
|
30
|
+
@include custom-scrollbar($scrollbar-width-md);
|
|
31
|
+
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "angular-svg-icon";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../../components/gravity-icon/gravity-icon.component";
|
|
6
|
-
export class GravityMenuComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.size = 'xl';
|
|
9
|
-
this.items = new Array();
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GravityMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GravityMenuComponent, selector: "lib-gravity-menu", inputs: { logoUrl: "logoUrl", size: "size", items: "items" }, ngImport: i0, template: "<div class=\"gravity-menu {{size}}\">\n <svg-icon *ngIf=\"logoUrl\" class=\"menu-logo\" [src]=\"logoUrl\" />\n\n <div class=\"menu-body\">\n <div class=\"menu-section\">\n <div class=\"menu-group\">\n <div class=\"menu-item-group\">\n\n <ng-container *ngFor=\"let item of items\">\n <section class=\"first-level\">\n <p class=\"hr-label sm-regular\">\n <gravity-icon [iconName]=\"item.icon\" [iconSize]=\"'md-16'\"/>\n {{item.text}}\n </p>\n <gravity-icon [iconName]=\"item.closed ? 'arrow-down' : 'arrow-up'\" [iconSize]=\"'sm-12'\"></gravity-icon>\n </section>\n\n <section class=\"second-level\">\n <div class=\"options-list\">\n <ng-container *ngFor=\"let option of item.itemChildren\">\n <div class=\"option\">\n <div class=\"line\"></div>\n <span>{{option.text}}</span>\n </div>\n </ng-container>\n </div>\n </section>\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n</div>\n\n", styles: [".gravity-menu{height:100%;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.gravity-menu .menu-body{display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px 20px 24px;gap:var(--gravity-spacing-lg)}.gravity-menu .menu-body .menu-section{display:flex;flex-direction:column;align-items:flex-start;gap:var(--gravity-spacing-sm)}.gravity-menu .menu-body .menu-section .menu-group{width:214px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group{display:flex;width:220px;height:24px;align-items:center;gap:var(--gravity-spacing-xs);padding:0 var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .first-level{display:flex;align-self:stretch;justify-content:center;align-items:flex-start;padding-left:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level{display:flex;align-self:stretch;align-items:flex-start;justify-content:center;padding-left:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level .options-list{flex:1 0 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level .options-list .option{width:210px;height:34px;display:flex;align-items:center;gap:var(--gravity-spacing-sm)}\n"], dependencies: [{ kind: "component", type: i1.SvgIconComponent, selector: "svg-icon", inputs: ["src", "name", "stretch", "applyClass", "applyCss", "svgClass", "class", "viewBox", "svgAriaLabel", "svgStyle"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.GravityIconComponent, selector: "gravity-icon", inputs: ["customIconColorVariable", "iconName", "iconSize", "hoverIcon", "size", "isCoin"] }] }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GravityMenuComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{ selector: 'lib-gravity-menu', template: "<div class=\"gravity-menu {{size}}\">\n <svg-icon *ngIf=\"logoUrl\" class=\"menu-logo\" [src]=\"logoUrl\" />\n\n <div class=\"menu-body\">\n <div class=\"menu-section\">\n <div class=\"menu-group\">\n <div class=\"menu-item-group\">\n\n <ng-container *ngFor=\"let item of items\">\n <section class=\"first-level\">\n <p class=\"hr-label sm-regular\">\n <gravity-icon [iconName]=\"item.icon\" [iconSize]=\"'md-16'\"/>\n {{item.text}}\n </p>\n <gravity-icon [iconName]=\"item.closed ? 'arrow-down' : 'arrow-up'\" [iconSize]=\"'sm-12'\"></gravity-icon>\n </section>\n\n <section class=\"second-level\">\n <div class=\"options-list\">\n <ng-container *ngFor=\"let option of item.itemChildren\">\n <div class=\"option\">\n <div class=\"line\"></div>\n <span>{{option.text}}</span>\n </div>\n </ng-container>\n </div>\n </section>\n </ng-container>\n\n </div>\n </div>\n </div>\n </div>\n</div>\n\n", styles: [".gravity-menu{height:100%;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.gravity-menu .menu-body{display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px 20px 24px;gap:var(--gravity-spacing-lg)}.gravity-menu .menu-body .menu-section{display:flex;flex-direction:column;align-items:flex-start;gap:var(--gravity-spacing-sm)}.gravity-menu .menu-body .menu-section .menu-group{width:214px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group{display:flex;width:220px;height:24px;align-items:center;gap:var(--gravity-spacing-xs);padding:0 var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .first-level{display:flex;align-self:stretch;justify-content:center;align-items:flex-start;padding-left:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level{display:flex;align-self:stretch;align-items:flex-start;justify-content:center;padding-left:var(--gravity-spacing-xxs)}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level .options-list{flex:1 0 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.gravity-menu .menu-body .menu-section .menu-group .menu-item-group .second-level .options-list .option{width:210px;height:34px;display:flex;align-items:center;gap:var(--gravity-spacing-sm)}\n"] }]
|
|
17
|
-
}], propDecorators: { logoUrl: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], size: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], items: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3Jhdml0eS1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2dyYXZpdHktZGVzaWduLXN5c3RlbS9zcmMvbGliL2xheW91dC9ncmF2aXR5LW1lbnUvZ3Jhdml0eS1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2dyYXZpdHktZGVzaWduLXN5c3RlbS9zcmMvbGliL2xheW91dC9ncmF2aXR5LW1lbnUvZ3Jhdml0eS1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7OztBQVMvQyxNQUFNLE9BQU8sb0JBQW9CO0lBTmpDO1FBUWlCLFNBQUksR0FBOEIsSUFBSSxDQUFDO1FBQ3ZDLFVBQUssR0FBb0IsSUFBSSxLQUFLLEVBQVksQ0FBQztLQUMvRDsrR0FKWSxvQkFBb0I7bUdBQXBCLG9CQUFvQixzSENUakMsNnFDQW1DQTs7NEZEMUJhLG9CQUFvQjtrQkFOaEMsU0FBUzsrQkFDRSxrQkFBa0I7OEJBTWIsT0FBTztzQkFBdEIsS0FBSztnQkFDVSxJQUFJO3NCQUFuQixLQUFLO2dCQUNVLEtBQUs7c0JBQXBCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5wdXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtNZW51SXRlbX0gZnJvbSBcIi4uLy4uL21vZGVsL2dyYXZpdHktbWVudS1pdGVtcy5tb2RlbFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdsaWItZ3Jhdml0eS1tZW51JyxcbiAgdGVtcGxhdGVVcmw6ICcuL2dyYXZpdHktbWVudS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2dyYXZpdHktbWVudS5jb21wb25lbnQuc2NzcyddXG59KVxuXG5leHBvcnQgY2xhc3MgR3Jhdml0eU1lbnVDb21wb25lbnQge1xuXHRASW5wdXQoKSBwdWJsaWMgbG9nb1VybDogc3RyaW5nO1xuXHRASW5wdXQoKSBwdWJsaWMgc2l6ZTogJ3NtJyB8ICdtZCcgfCAnbGcnIHwgJ3hsJyA9ICd4bCc7XG5cdEBJbnB1dCgpIHB1YmxpYyBpdGVtczogQXJyYXk8TWVudUl0ZW0+ID0gbmV3IEFycmF5PE1lbnVJdGVtPigpO1xufVxuIiwiPGRpdiBjbGFzcz1cImdyYXZpdHktbWVudSB7e3NpemV9fVwiPlxuICA8c3ZnLWljb24gKm5nSWY9XCJsb2dvVXJsXCIgY2xhc3M9XCJtZW51LWxvZ29cIiBbc3JjXT1cImxvZ29VcmxcIiAvPlxuXG4gIDxkaXYgY2xhc3M9XCJtZW51LWJvZHlcIj5cbiAgICA8ZGl2IGNsYXNzPVwibWVudS1zZWN0aW9uXCI+XG4gICAgICA8ZGl2IGNsYXNzPVwibWVudS1ncm91cFwiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwibWVudS1pdGVtLWdyb3VwXCI+XG5cbiAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBpdGVtIG9mIGl0ZW1zXCI+XG4gICAgICAgICAgICA8c2VjdGlvbiBjbGFzcz1cImZpcnN0LWxldmVsXCI+XG4gICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJoci1sYWJlbCBzbS1yZWd1bGFyXCI+XG4gICAgICAgICAgICAgICAgICA8Z3Jhdml0eS1pY29uIFtpY29uTmFtZV09XCJpdGVtLmljb25cIiBbaWNvblNpemVdPVwiJ21kLTE2J1wiLz5cbiAgICAgICAgICAgICAgICAgIHt7aXRlbS50ZXh0fX1cbiAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgPGdyYXZpdHktaWNvbiBbaWNvbk5hbWVdPVwiaXRlbS5jbG9zZWQgPyAnYXJyb3ctZG93bicgOiAnYXJyb3ctdXAnXCIgIFtpY29uU2l6ZV09XCInc20tMTInXCI+PC9ncmF2aXR5LWljb24+XG4gICAgICAgICAgICA8L3NlY3Rpb24+XG5cbiAgICAgICAgICAgIDxzZWN0aW9uIGNsYXNzPVwic2Vjb25kLWxldmVsXCI+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJvcHRpb25zLWxpc3RcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBvcHRpb24gb2YgaXRlbS5pdGVtQ2hpbGRyZW5cIj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJvcHRpb25cIj5cbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImxpbmVcIj48L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3tvcHRpb24udGV4dH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9zZWN0aW9uPlxuICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG5cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3Jhdml0eS1tZW51LWl0ZW1zLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3Jhdml0eS1kZXNpZ24tc3lzdGVtL3NyYy9saWIvbW9kZWwvZ3Jhdml0eS1tZW51LWl0ZW1zLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIE1lbnVJdGVtIHtcblx0aWQ6IHN0cmluZztcblx0dGV4dDogc3RyaW5nO1xuXHRpY29uPzogc3RyaW5nO1xuXHRsaW5rPzogc3RyaW5nO1xuXHRoZWFkaW5nOiBib29sZWFuO1xuXHRjbG9zZWQ/OiBib29sZWFuO1xuXHRwYXJlbnRfaWQ/OiBzdHJpbmc7XG5cdGRpc2FibGVkPzogYm9vbGVhbjtcblx0Y3lwcmVzc190YWc6IHN0cmluZztcblx0cGVybWlzc2lvbl90YWc/OiBzdHJpbmc7XG5cdGl0ZW1DaGlsZHJlbj86IENoaWxkcmVuW107XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ2hpbGRyZW4ge1xuXHR0ZXh0OiBzdHJpbmc7XG5cdGxpbms/OiBzdHJpbmc7XG5cdGRpc2FibGVkPzogYm9vbGVhbjtcbn0iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MenuItem } from "../../model/gravity-menu-items.model";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GravityMenuComponent {
|
|
4
|
-
logoUrl: string;
|
|
5
|
-
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
-
items: Array<MenuItem>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GravityMenuComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityMenuComponent, "lib-gravity-menu", never, { "logoUrl": { "alias": "logoUrl"; "required": false; }; "size": { "alias": "size"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface MenuItem {
|
|
2
|
-
id: string;
|
|
3
|
-
text: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
link?: string;
|
|
6
|
-
heading: boolean;
|
|
7
|
-
closed?: boolean;
|
|
8
|
-
parent_id?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
cypress_tag: string;
|
|
11
|
-
permission_tag?: string;
|
|
12
|
-
itemChildren?: Children[];
|
|
13
|
-
}
|
|
14
|
-
export interface Children {
|
|
15
|
-
text: string;
|
|
16
|
-
link?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
}
|