@progressio_resources/gravity-design-system 3.1.8 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,9 +73,10 @@ export declare enum ICONS {
73
73
  'unsuccess' = 54,
74
74
  'update' = 55,
75
75
  'user' = 56,
76
- 'warning-circle' = 57,
77
- 'hero-avatar-admin' = 58,
78
- 'hero-avatar-regular' = 59,
79
- 'hero-avatar-support' = 60,
80
- 'hero-avatar-blocked' = 61
76
+ 'wallet' = 57,
77
+ 'warning-circle' = 58,
78
+ 'hero-avatar-admin' = 59,
79
+ 'hero-avatar-regular' = 60,
80
+ 'hero-avatar-support' = 61,
81
+ 'hero-avatar-blocked' = 62
81
82
  }
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
3
  import { NodeItem } from '../models/node-item';
4
4
  import { NodeState } from '../models/node-state';
5
5
  import { TreeCallbacks } from '../models/tree-callbacks';
@@ -12,30 +12,30 @@ export declare class TreeService implements OnDestroy {
12
12
  selectedItems: any[];
13
13
  treeState: NodeState[];
14
14
  private filterChangeSubject;
15
- private selectedItemsSubject;
15
+ selectedItemsSubject: BehaviorSubject<any[]>;
16
16
  private selectedStates;
17
17
  constructor();
18
18
  ngOnDestroy(): void;
19
19
  connect(): Observable<any[]>;
20
20
  setInitialState(): void;
21
- private setInitialSelectedState;
21
+ setInitialSelectedState(): void;
22
+ private traverseAndInitialize;
22
23
  clear(): void;
23
24
  private filterTraverse;
24
25
  private applyFilter;
25
26
  private filter;
26
27
  checkboxClick(state: NodeState): void;
27
28
  private toggleSelectedState;
28
- private setChecked;
29
+ private selectParents;
29
30
  private setUnchecked;
30
31
  private removeSelected;
31
32
  private static hasNoChildren;
32
33
  private addSelected;
33
34
  reEvaluateSelectedState(state: NodeState): void;
34
- childStateChanged(state: NodeState): void;
35
+ private childStateChanged;
35
36
  private anyChildSelected;
36
37
  static initState(parent: NodeState, nodeItem: NodeItem<any>): NodeState;
37
38
  private allChildrenSelected;
38
- private anyActiveSelected;
39
39
  filterChanged(value: string): void;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeService, never>;
41
41
  static ɵprov: i0.ɵɵInjectableDeclaration<TreeService>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progressio_resources/gravity-design-system",
3
3
  "description": "Gravity Design System",
4
- "version": "3.1.8",
4
+ "version": "3.2.0",
5
5
  "license": "SEE LICENSE IN LIBRARY-LICENSE",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^16.2.12",
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.9138 1.6001C18.445 1.60035 18.8756 2.02913 18.8756 2.55856V6.25358H23.0381C23.5696 6.25358 24 6.68246 24 7.21204V22.4416C24 22.9712 23.5696 23.4001 23.0381 23.4001H0.961857C0.430394 23.4001 0 22.9712 0 22.4416V2.55856C0 2.02897 0.430394 1.6001 0.961857 1.6001H17.9138ZM1.92371 21.4832H22.0763V8.1705H1.92371V21.4832ZM18.3682 13.8684L18.4666 13.8728C18.9518 13.9219 19.33 14.3304 19.33 14.8268C19.33 15.3564 18.8996 15.7853 18.3682 15.7853H15.3964C14.8649 15.7853 14.4345 15.3564 14.4345 14.8268C14.4345 14.2973 14.8649 13.8684 15.3964 13.8684H18.3682ZM1.92371 6.25358H16.9508V3.51702H1.92371V6.25358Z" fill="#394C6E"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.9518 1.25C12.2963 1.25017 12.5757 1.52776 12.5757 1.87042V4.35321H15.3761C15.7208 4.35321 16 4.63086 16 4.97363V15.1296C16 15.4723 15.7208 15.75 15.3761 15.75H0.623909C0.279211 15.75 0 15.4723 0 15.1296V1.87042C0 1.52765 0.279211 1.25 0.623909 1.25H11.9518ZM1.24782 14.5092H14.7522V5.59405H1.24782V14.5092ZM12.2554 9.43118L12.3818 9.4433C12.6659 9.50136 12.8793 9.75185 12.8793 10.0516C12.8793 10.3944 12.6001 10.672 12.2554 10.672H10.2696C9.92487 10.672 9.64566 10.3944 9.64566 10.0516C9.64566 9.70883 9.92487 9.43118 10.2696 9.43118H12.2554ZM1.24782 4.35321H11.3279V2.49084H1.24782V4.35321Z" fill="#394C6E"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.96343 1.0498C9.22196 1.0498 9.43221 1.25826 9.43221 1.51594V3.38268H11.5323C11.7909 3.38268 12 3.59113 12 3.84881V11.4837C12 11.7414 11.7909 11.9498 11.5323 11.9498H0.467676C0.209141 11.9498 0 11.7414 0 11.4837V1.51594C0 1.25826 0.209141 1.0498 0.467676 1.0498H8.96343ZM0.935353 11.0175H11.0646V4.31494H0.935353V11.0175ZM9.19172 7.20011L9.28592 7.20895C9.49933 7.25238 9.6594 7.44071 9.6594 7.66624C9.6594 7.92392 9.45026 8.13237 9.19172 8.13237H7.70225C7.44372 8.13237 7.23458 7.92392 7.23458 7.66624C7.23458 7.40856 7.44372 7.20011 7.70225 7.20011H9.19172ZM0.935353 3.38268H8.49575V1.98207H0.935353V3.38268Z" fill="#394C6E"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M23.9025 2C24.5919 2 25.1514 2.5553 25.1514 3.24084V8.20641H30.7522C31.4416 8.20641 32 8.76171 32 9.44726V29.7592C32 30.4447 31.4416 31 30.7522 31H1.24782C0.558422 31 0 30.4447 0 29.7592V3.24084C0 2.5553 0.558422 2 1.24782 2H23.9025ZM2.49564 28.5183H29.5044V10.6881H2.49564V28.5183ZM24.5109 18.3624L24.6383 18.3679C25.2679 18.4313 25.7587 18.9604 25.7587 19.6032C25.7587 20.2887 25.2003 20.844 24.5109 20.844H20.5391C19.8497 20.844 19.2913 20.2887 19.2913 19.6032C19.2913 18.9177 19.8497 18.3624 20.5391 18.3624H24.5109ZM2.49564 8.20641H22.6547V4.48168H2.49564V8.20641Z" fill="#394C6E"/>
3
+ </svg>
@@ -1160,6 +1160,22 @@
1160
1160
  "iconName": "gt-icon-user-xl-32",
1161
1161
  "iconPath": "/assets/gravity/icon-set/gt-icon-user/gt-icon-user-xl-32.svg"
1162
1162
  },
1163
+ {
1164
+ "iconName": "gt-icon-wallet-lg-24",
1165
+ "iconPath": "/assets/gravity/icon-set/gt-icon-wallet/gt-icon-wallet-lg-24.svg"
1166
+ },
1167
+ {
1168
+ "iconName": "gt-icon-wallet-md-16",
1169
+ "iconPath": "/assets/gravity/icon-set/gt-icon-wallet/gt-icon-wallet-md-16.svg"
1170
+ },
1171
+ {
1172
+ "iconName": "gt-icon-wallet-sm-12",
1173
+ "iconPath": "/assets/gravity/icon-set/gt-icon-wallet/gt-icon-wallet-sm-12.svg"
1174
+ },
1175
+ {
1176
+ "iconName": "gt-icon-wallet-xl-32",
1177
+ "iconPath": "/assets/gravity/icon-set/gt-icon-wallet/gt-icon-wallet-xl-32.svg"
1178
+ },
1163
1179
  {
1164
1180
  "iconName": "gt-icon-warning-circle-lg-24",
1165
1181
  "iconPath": "/assets/gravity/icon-set/gt-icon-warning-circle/gt-icon-warning-circle-lg-24.svg"