@lowcodeunit/applications-flow-common 1.37.78-integration → 1.37.81-project-tree
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/esm2020/lib/elements/dashboard-toolbar/dashboard-toolbar.component.mjs +8 -33
- package/esm2020/lib/elements/feed-card-sm/feed-card-sm.component.mjs +2 -2
- package/esm2020/lib/elements/feed-header/feed-header.component.mjs +3 -4
- package/esm2020/lib/elements/main-feed-card/main-feed-card.component.mjs +2 -2
- package/esm2020/lib/elements/page-header/page-header.component.mjs +3 -3
- package/esm2020/lib/elements/product-discovery-card/product-discovery-card.component.mjs +2 -2
- package/esm2020/lib/elements/project-card/project-card.component.mjs +241 -12
- package/esm2020/lib/elements/project-info-card/project-info-card.component.mjs +3 -3
- package/esm2020/lib/elements/project-wizard-card/project-wizard-card.component.mjs +2 -2
- package/esm2020/lib/elements/question-card/question-card.component.mjs +3 -3
- package/esm2020/lib/elements/skeleton-feed-card/skeleton-feed-card.component.mjs +2 -2
- package/esm2020/lib/elements/three-column/three-column.component.mjs +4 -6
- package/esm2020/lib/elements/usage-stats/usage-stats.component.mjs +4 -4
- package/esm2020/lib/models/tree-node.model.mjs +5 -0
- package/esm2020/lib/services/social-ui.service.mjs +3 -1
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +267 -59
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +263 -58
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lib/elements/dashboard-toolbar/dashboard-toolbar.component.d.ts +1 -9
- package/lib/elements/project-card/project-card.component.d.ts +46 -1
- package/lib/elements/three-column/three-column.component.d.ts +0 -1
- package/lib/models/tree-node.model.d.ts +17 -0
- package/package.json +1 -1
@@ -1,15 +1,7 @@
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
2
1
|
import { OnInit } from '@angular/core';
|
3
|
-
import { EaCService } from '../../services/eac.service';
|
4
|
-
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
5
2
|
import * as i0 from "@angular/core";
|
6
3
|
export declare class DashboardToolbarComponent implements OnInit {
|
7
|
-
|
8
|
-
protected eacSvc: EaCService;
|
9
|
-
get State(): ApplicationsFlowState;
|
10
|
-
get ProjectLookups(): string[];
|
11
|
-
IsSmScreen: boolean;
|
12
|
-
constructor(breakpointObserver: BreakpointObserver, eacSvc: EaCService);
|
4
|
+
constructor();
|
13
5
|
ngOnInit(): void;
|
14
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardToolbarComponent, never>;
|
15
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardToolbarComponent, "lcu-dashboard-toolbar", never, {}, {}, never, never>;
|
@@ -1,14 +1,59 @@
|
|
1
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
1
2
|
import { OnInit } from '@angular/core';
|
3
|
+
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
4
|
+
import { EaCApplicationAsCode, EaCProjectAsCode } from '@semanticjs/common';
|
5
|
+
import { FlatNode, TreeNode } from '../../models/tree-node.model';
|
2
6
|
import { EaCService } from '../../services/eac.service';
|
7
|
+
import { SocialUIService } from '../../services/social-ui.service';
|
3
8
|
import { ApplicationsFlowState } from '../../state/applications-flow.state';
|
4
9
|
import * as i0 from "@angular/core";
|
5
10
|
export declare class ProjectCardComponent implements OnInit {
|
6
11
|
protected eacSvc: EaCService;
|
12
|
+
protected socialSvc: SocialUIService;
|
13
|
+
private transformer;
|
7
14
|
get ProjectLookups(): string[];
|
8
15
|
get State(): ApplicationsFlowState;
|
9
|
-
|
16
|
+
get ApplicationsBank(): {
|
17
|
+
[lookup: string]: EaCApplicationAsCode;
|
18
|
+
};
|
19
|
+
get ApplicationLookups(): string[];
|
20
|
+
get Applications(): {
|
21
|
+
[lookup: string]: EaCApplicationAsCode;
|
22
|
+
};
|
23
|
+
get ApplicationRoutes(): Array<string>;
|
24
|
+
get CurrentRouteApplicationLookups(): Array<string>;
|
25
|
+
get RoutedApplications(): {
|
26
|
+
[route: string]: {
|
27
|
+
[lookup: string]: EaCApplicationAsCode;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
treeControl: FlatTreeControl<FlatNode, FlatNode>;
|
31
|
+
treeFlattener: MatTreeFlattener<TreeNode, {
|
32
|
+
expandable: boolean;
|
33
|
+
name: string;
|
34
|
+
level: number;
|
35
|
+
routerLink: string;
|
36
|
+
url: string;
|
37
|
+
lookup: string;
|
38
|
+
description: string;
|
39
|
+
}, {
|
40
|
+
expandable: boolean;
|
41
|
+
name: string;
|
42
|
+
level: number;
|
43
|
+
routerLink: string;
|
44
|
+
url: string;
|
45
|
+
lookup: string;
|
46
|
+
description: string;
|
47
|
+
}>;
|
48
|
+
DataSource: MatTreeFlatDataSource<TreeNode, FlatNode, FlatNode>;
|
49
|
+
Project: EaCProjectAsCode;
|
50
|
+
AppRoute: string;
|
51
|
+
constructor(eacSvc: EaCService, socialSvc: SocialUIService);
|
52
|
+
HasChild: (_: number, node: FlatNode) => boolean;
|
10
53
|
ngOnInit(): void;
|
11
54
|
RouteToPath(path: string): void;
|
55
|
+
BuildTree(): Array<TreeNode>;
|
56
|
+
HandleRoute(route: string): void;
|
12
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProjectCardComponent, never>;
|
13
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProjectCardComponent, "lcu-project-card", never, {}, {}, never, never>;
|
14
59
|
}
|
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ThreeColumnComponent implements OnInit {
|
5
5
|
breakpointObserver: BreakpointObserver;
|
6
6
|
SmallScreen: boolean;
|
7
|
-
Layout: string;
|
8
7
|
constructor(breakpointObserver: BreakpointObserver);
|
9
8
|
ngOnInit(): void;
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreeColumnComponent, never>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class TreeNode {
|
2
|
+
description?: string;
|
3
|
+
name: string;
|
4
|
+
url: string;
|
5
|
+
lookup?: string;
|
6
|
+
routerLink: string;
|
7
|
+
children?: TreeNode[];
|
8
|
+
}
|
9
|
+
export declare class FlatNode {
|
10
|
+
expandable: boolean;
|
11
|
+
name: string;
|
12
|
+
url: string;
|
13
|
+
lookup?: string;
|
14
|
+
description?: string;
|
15
|
+
routerLink: string;
|
16
|
+
level: number;
|
17
|
+
}
|