@memberjunction/ng-explorer-core 2.8.0 → 2.10.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.
- package/dist/app-routing.module.d.ts +1 -0
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +42 -3
- package/dist/app-routing.module.js.map +1 -1
- package/dist/generic/Item.types.d.ts +12 -0
- package/dist/generic/Item.types.d.ts.map +1 -1
- package/dist/generic/Item.types.js +7 -0
- package/dist/generic/Item.types.js.map +1 -1
- package/dist/lib/app-view/application-view.component.d.ts +6 -8
- package/dist/lib/app-view/application-view.component.d.ts.map +1 -1
- package/dist/lib/app-view/application-view.component.js +47 -30
- package/dist/lib/app-view/application-view.component.js.map +1 -1
- package/dist/lib/base-browser-component/base-browser-component.d.ts.map +1 -1
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts +16 -5
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts.map +1 -1
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js +172 -17
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js.map +1 -1
- package/dist/lib/list-view/list-view.component.d.ts +4 -1
- package/dist/lib/list-view/list-view.component.d.ts.map +1 -1
- package/dist/lib/list-view/list-view.component.js +63 -43
- package/dist/lib/list-view/list-view.component.js.map +1 -1
- package/dist/lib/query-browser-component/query-browser.component.d.ts +2 -1
- package/dist/lib/query-browser-component/query-browser.component.d.ts.map +1 -1
- package/dist/lib/query-browser-component/query-browser.component.js +12 -9
- package/dist/lib/query-browser-component/query-browser.component.js.map +1 -1
- package/dist/lib/report-browser-component/report-browser.component.d.ts +2 -1
- package/dist/lib/report-browser-component/report-browser.component.d.ts.map +1 -1
- package/dist/lib/report-browser-component/report-browser.component.js +9 -7
- package/dist/lib/report-browser-component/report-browser.component.js.map +1 -1
- package/dist/lib/resource-browser/resource-browser.component.d.ts +37 -33
- package/dist/lib/resource-browser/resource-browser.component.d.ts.map +1 -1
- package/dist/lib/resource-browser/resource-browser.component.js +466 -432
- package/dist/lib/resource-browser/resource-browser.component.js.map +1 -1
- package/dist/lib/single-view/single-view.component.d.ts +4 -2
- package/dist/lib/single-view/single-view.component.d.ts.map +1 -1
- package/dist/lib/single-view/single-view.component.js +54 -26
- package/dist/lib/single-view/single-view.component.js.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.js +11 -3
- package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +7 -3
- package/dist/module.js.map +1 -1
- package/package.json +22 -22
|
@@ -13,6 +13,7 @@ export declare class CustomReuseStrategy implements RouteReuseStrategy {
|
|
|
13
13
|
shouldAttach(route: ActivatedRouteSnapshot): boolean;
|
|
14
14
|
retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null;
|
|
15
15
|
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean;
|
|
16
|
+
objectContentsEqual(obj1: any, obj2: any): boolean;
|
|
16
17
|
private callHook;
|
|
17
18
|
}
|
|
18
19
|
export declare class ResourceResolver implements Resolve<void> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-routing.module.d.ts","sourceRoot":"","sources":["../src/app-routing.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAwB,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,EAAoD,MAAM,iBAAiB,CAAC;AAoBvK,OAAO,EAAc,aAAa,EAAyC,MAAM,2BAA2B,CAAC;AAC7G,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;;;AAG1E,qBAAa,mBAAoB,YAAW,kBAAkB;IAC5D,YAAY,EAAE;QAAE,CAAC,GAAG,EAAE,MA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,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO;IAmClD,OAAO,CAAC,QAAQ;CAUjB;AAED,qBAGa,gBAAiB,YAAW,OAAO,CAAC,IAAI,CAAC;IACxC,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,MAAM;gBAA5C,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,MAAM;IAexE,OAAO,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI;yCAhB7D,gBAAgB;6CAAhB,gBAAgB;CAsF5B;AAmDD,UAAU,sBAAuB,SAAQ,mBAAmB;IAC1D,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CACjC;AAED,qBAIa,gBAAgB;IACf,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAIlC,iBAAiB;cAWD,sBAAsB;yCAhB3B,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAoD5B"}
|
|
@@ -64,7 +64,46 @@ export class CustomReuseStrategy {
|
|
|
64
64
|
}
|
|
65
65
|
// Determines if the route should be reused
|
|
66
66
|
shouldReuseRoute(future, curr) {
|
|
67
|
-
|
|
67
|
+
// we need to compare the params object from future and curr and see if any differences
|
|
68
|
+
// and do the same for the queryParams object from each
|
|
69
|
+
// if there are differences, return false, otherwise return true
|
|
70
|
+
const futureParams = future.params;
|
|
71
|
+
const currParams = curr.params;
|
|
72
|
+
const futureQueryParams = future.queryParams;
|
|
73
|
+
const currQueryParams = curr.queryParams;
|
|
74
|
+
// only reuse (e.g. return true) when all of these comparisons are the same
|
|
75
|
+
return this.objectContentsEqual(futureParams, currParams) && // route params are the same
|
|
76
|
+
this.objectContentsEqual(futureQueryParams, currQueryParams) && // query params are the same
|
|
77
|
+
future.routeConfig === curr.routeConfig; // route config object is the same
|
|
78
|
+
}
|
|
79
|
+
objectContentsEqual(obj1, obj2) {
|
|
80
|
+
if (obj1 === obj2) {
|
|
81
|
+
return true; // exact same object
|
|
82
|
+
}
|
|
83
|
+
if (obj1 === null && obj2 !== null) {
|
|
84
|
+
return false; // not the same object
|
|
85
|
+
}
|
|
86
|
+
if (obj1 === undefined && obj2 !== undefined) {
|
|
87
|
+
return false; // not the same object
|
|
88
|
+
}
|
|
89
|
+
if (typeof obj1 === 'object' || typeof obj2 === 'object') {
|
|
90
|
+
if (Object.keys(obj1).length !== Object.keys(obj2).length) {
|
|
91
|
+
return false; // different number of keys
|
|
92
|
+
}
|
|
93
|
+
for (const key in obj1) {
|
|
94
|
+
// check to see the type of the key, if it is an object, then we call this function recursively
|
|
95
|
+
// otherwise we do simple comparison
|
|
96
|
+
if (typeof obj1[key] === 'object' && typeof obj2[key] === 'object') {
|
|
97
|
+
if (!this.objectContentsEqual(obj1[key], obj2[key])) {
|
|
98
|
+
return false; // any individual key not matching means the objects are different
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
else if (obj1[key] !== obj2[key]) {
|
|
102
|
+
return false; // any individual key not matching means the objects are different
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return true;
|
|
68
107
|
}
|
|
69
108
|
callHook(detachedTree, hookName) {
|
|
70
109
|
if (!detachedTree || !hookName) {
|
|
@@ -272,11 +311,11 @@ export class AppRoutingModule {
|
|
|
272
311
|
}
|
|
273
312
|
AppRoutingModule.ɵfac = function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(i0.ɵɵinject(i2.Router)); };
|
|
274
313
|
AppRoutingModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AppRoutingModule });
|
|
275
|
-
AppRoutingModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [RouterModule.forRoot(routes, { initialNavigation: 'disabled' }), RouterModule] });
|
|
314
|
+
AppRoutingModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [RouterModule.forRoot(routes, { initialNavigation: 'disabled', onSameUrlNavigation: 'reload' }), RouterModule] });
|
|
276
315
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppRoutingModule, [{
|
|
277
316
|
type: NgModule,
|
|
278
317
|
args: [{
|
|
279
|
-
imports: [RouterModule.forRoot(routes, { initialNavigation: 'disabled' })],
|
|
318
|
+
imports: [RouterModule.forRoot(routes, { initialNavigation: 'disabled', onSameUrlNavigation: 'reload' })],
|
|
280
319
|
exports: [RouterModule],
|
|
281
320
|
}]
|
|
282
321
|
}], () => [{ type: i2.Router }], null); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["../src/app-routing.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAgB,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAU,YAAY,EAAkH,MAAM,iBAAiB,CAAC;AACvK,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,gBAAgB,IAAI,SAAS,EAC7B,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAa,QAAQ,EAAW,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAW,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAiB,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;;;AAI7G,MAAM,OAAO,mBAAmB;IAAhC;QACE,iBAAY,GAAqD,EAAE,CAAC;IA6DtE,CAAC;IA3DC,sDAAsD;IACtD,YAAY,CAAC,KA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CAAC,CAAC,IAAI,0CAAE,IAAI,GAAG,WAAW,EAAE,OAAK,MAAA,KAAK,CAAC,IAAI,0CAAE,IAAI,GAAG,WAAW,EAAE,CAAA,CAAA,EAAA,CAAC,CAAC,CAAC,CAAC;YAE9J,uCAAuC;YACvC,IAAI,aAAa,EAAE,CAAC;gBAClB,iBAAiB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACxC,CAAC;YAED,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;QAC7C,CAAC;KAAA;;gFAnDU,gBAAgB;kEAAhB,gBAAgB;sEAHjB,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,EAC9F,YAAY;iFAEX,gBAAgB;cAJ5B,QAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACzG,OAAO,EAAE,CAAC,YAAY,CAAC;aACxB;;wFACY,gBAAgB,0CAFjB,YAAY"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { BaseEntity } from "@memberjunction/core";
|
|
1
2
|
export declare enum ItemType {
|
|
3
|
+
/**
|
|
4
|
+
* Folders represent any Category Entity
|
|
5
|
+
* e.g. User View Categories, List Categories, Dashboard Categories, etc.
|
|
6
|
+
*/
|
|
2
7
|
Folder = "Folder",
|
|
3
8
|
Entity = "Entity",
|
|
4
9
|
Resource = "Resource",
|
|
@@ -40,10 +45,17 @@ export declare class Folder {
|
|
|
40
45
|
ParentFolderID?: string | null;
|
|
41
46
|
Name: string;
|
|
42
47
|
Description: string | null;
|
|
48
|
+
CategoryEntity?: BaseEntity;
|
|
43
49
|
constructor(id: string, folderName: string);
|
|
44
50
|
}
|
|
45
51
|
export declare class TreeFolder extends Folder {
|
|
46
52
|
EntityID: string;
|
|
47
53
|
constructor(entityID: string, id: string, folderName: string);
|
|
48
54
|
}
|
|
55
|
+
export declare class NewItemOption {
|
|
56
|
+
Text: string;
|
|
57
|
+
Description?: string;
|
|
58
|
+
Icon?: string;
|
|
59
|
+
Action?: () => void;
|
|
60
|
+
}
|
|
49
61
|
//# sourceMappingURL=Item.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.types.d.ts","sourceRoot":"","sources":["../../src/generic/Item.types.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACxB;AAED,qBAAa,IAAI;IACN,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,OAAO,CAAS;IACjC;;OAEG;IACI,MAAM,EAAE,OAAO,CAAS;IAC/B;;OAEG;IACI,mBAAmB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAQ;IACpE;;OAEG;IACI,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrC,IAAI,EAAG,GAAG,GAAG,MAAM,CAAC;gBAEf,IAAI,EAAE,GAAG,GAAG,MAAM,EAAE,IAAI,EAAE,QAAQ;CAkBjD;AAED,qBAAa,QAAS,SAAQ,IAAI;IACvB,UAAU,EAAE,QAAQ,EAAE,CAAM;gBAEvB,IAAI,EAAE,GAAG,GAAG,MAAM,EAAE,IAAI,EAAE,QAAQ;CAGjD;AAED;;;;GAIG;AACH,qBAAa,MAAM;IACR,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CA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EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;CAI/D;AAED,qBAAa,aAAa;IACtB,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export var ItemType;
|
|
2
2
|
(function (ItemType) {
|
|
3
|
+
/**
|
|
4
|
+
* Folders represent any Category Entity
|
|
5
|
+
* e.g. User View Categories, List Categories, Dashboard Categories, etc.
|
|
6
|
+
*/
|
|
3
7
|
ItemType["Folder"] = "Folder";
|
|
4
8
|
ItemType["Entity"] = "Entity";
|
|
5
9
|
ItemType["Resource"] = "Resource";
|
|
@@ -63,4 +67,7 @@ export class TreeFolder extends Folder {
|
|
|
63
67
|
this.EntityID = entityID;
|
|
64
68
|
}
|
|
65
69
|
}
|
|
70
|
+
export class NewItemOption {
|
|
71
|
+
}
|
|
72
|
+
;
|
|
66
73
|
//# sourceMappingURL=Item.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.types.js","sourceRoot":"","sources":["../../src/generic/Item.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Item.types.js","sourceRoot":"","sources":["../../src/generic/Item.types.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,QAWX;AAXD,WAAY,QAAQ;IAChB;;;OAGG;IACH,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;IAC3B,iCAAqB,CAAA;AACzB,CAAC,EAXW,QAAQ,KAAR,QAAQ,QAWnB;AAAA,CAAC;AAEF,MAAM,OAAO,IAAI;IAmBb,YAAY,IAAkB,EAAE,IAAc;QAfvC,aAAQ,GAAY,KAAK,CAAC;QACjC;;WAEG;QACI,WAAM,GA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,12 +3,12 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
3
3
|
import { ApplicationEntityInfo, ApplicationInfo, UserInfo } from '@memberjunction/core';
|
|
4
4
|
import { EntityEntity, UserApplicationEntity, UserFavoriteEntity, UserViewEntityExtended } from '@memberjunction/core-entities';
|
|
5
5
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
6
|
-
import { Item } from '../../generic/Item.types';
|
|
6
|
+
import { Item, NewItemOption } from '../../generic/Item.types';
|
|
7
7
|
import { BaseBrowserComponent } from '../base-browser-component/base-browser-component';
|
|
8
8
|
import { Location } from '@angular/common';
|
|
9
9
|
import { UserViewPropertiesDialogComponent } from '@memberjunction/ng-user-view-properties';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { BeforeUpdateItemEvent, DropdownOptionClickEvent } from '../../generic/Events.types';
|
|
11
|
+
import { AvailableResourcesComponent } from '@memberjunction/ng-resource-permissions';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class ApplicationViewComponent extends BaseBrowserComponent implements OnInit {
|
|
14
14
|
private router;
|
|
@@ -18,7 +18,7 @@ export declare class ApplicationViewComponent extends BaseBrowserComponent imple
|
|
|
18
18
|
private cdr;
|
|
19
19
|
entityRowRef: Element | undefined;
|
|
20
20
|
viewPropertiesDialog: UserViewPropertiesDialogComponent;
|
|
21
|
-
|
|
21
|
+
availableResourcesComponent: AvailableResourcesComponent;
|
|
22
22
|
categoryEntityID: string;
|
|
23
23
|
currentlySelectedAppEntity: EntityEntity | undefined;
|
|
24
24
|
ResourceItemFilter: string;
|
|
@@ -30,9 +30,7 @@ export declare class ApplicationViewComponent extends BaseBrowserComponent imple
|
|
|
30
30
|
userApp: UserApplicationEntity | undefined;
|
|
31
31
|
currentUser: UserInfo;
|
|
32
32
|
FilterOutCurrentUserViews: string;
|
|
33
|
-
|
|
34
|
-
text: string;
|
|
35
|
-
}[];
|
|
33
|
+
NewItemOptions: NewItemOption[];
|
|
36
34
|
ViewResourceTypeID: string;
|
|
37
35
|
constructor(router: Router, route: ActivatedRoute, location: Location, sharedService: SharedService, cdr: ChangeDetectorRef);
|
|
38
36
|
ngOnInit(): Promise<void>;
|
|
@@ -50,7 +48,7 @@ export declare class ApplicationViewComponent extends BaseBrowserComponent imple
|
|
|
50
48
|
LinkToSharedViewDialogVisible: boolean;
|
|
51
49
|
createItemClickedEvent(event: DropdownOptionClickEvent): void;
|
|
52
50
|
HandleLinkToSharedView(okClicked: Boolean): Promise<void>;
|
|
53
|
-
createNewView(
|
|
51
|
+
createNewView(): void;
|
|
54
52
|
editView(event: BeforeUpdateItemEvent): Promise<void>;
|
|
55
53
|
OnViewPropertiesDialogClose(args: {
|
|
56
54
|
Saved?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-view.component.d.ts","sourceRoot":"","sources":["../../../src/lib/app-view/application-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,EAAwB,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,qBAAqB,EAA0C,eAAe,EAAc,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5I,OAAO,EAAE,YAAY,EAAsB,qBAAqB,EAA+B,kBAAkB,EAA0C,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACzN,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAU,IAAI,EAAY,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"application-view.component.d.ts","sourceRoot":"","sources":["../../../src/lib/app-view/application-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,EAAwB,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,qBAAqB,EA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hB,wBAAwB;2CAAxB,wBAAwB;CA8ZpC"}
|
|
@@ -20,13 +20,14 @@ import * as i5 from "@progress/kendo-angular-buttons";
|
|
|
20
20
|
import * as i6 from "@memberjunction/ng-user-view-properties";
|
|
21
21
|
import * as i7 from "@memberjunction/ng-record-selector";
|
|
22
22
|
import * as i8 from "@memberjunction/ng-resource-permissions";
|
|
23
|
-
import * as i9 from "
|
|
23
|
+
import * as i9 from "@memberjunction/ng-generic-dialog";
|
|
24
|
+
import * as i10 from "../resource-browser/resource-browser.component";
|
|
24
25
|
const _c0 = ["entityRow"];
|
|
25
26
|
const _c1 = ["userViewDialog"];
|
|
26
|
-
const _c2 = ["
|
|
27
|
+
const _c2 = ["availableResourcesComponent"];
|
|
27
28
|
function ApplicationViewComponent_div_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
28
29
|
i0.ɵɵelementStart(0, "div", 7);
|
|
29
|
-
i0.ɵɵelement(1, "span",
|
|
30
|
+
i0.ɵɵelement(1, "span", 25);
|
|
30
31
|
i0.ɵɵelementEnd();
|
|
31
32
|
} if (rf & 2) {
|
|
32
33
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -34,17 +35,17 @@ function ApplicationViewComponent_div_0_Conditional_3_Template(rf, ctx) { if (rf
|
|
|
34
35
|
i0.ɵɵproperty("ngClass", ctx_r1.app.Icon);
|
|
35
36
|
} }
|
|
36
37
|
function ApplicationViewComponent_div_0_button_23_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelement(0, "span",
|
|
38
|
+
i0.ɵɵelement(0, "span", 25);
|
|
38
39
|
} if (rf & 2) {
|
|
39
40
|
const item_r4 = i0.ɵɵnextContext().$implicit;
|
|
40
41
|
i0.ɵɵproperty("ngClass", item_r4.Icon + " button-icon");
|
|
41
42
|
} }
|
|
42
43
|
function ApplicationViewComponent_div_0_button_23_Template(rf, ctx) { if (rf & 1) {
|
|
43
44
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
44
|
-
i0.ɵɵelementStart(0, "button",
|
|
45
|
+
i0.ɵɵelementStart(0, "button", 26);
|
|
45
46
|
i0.ɵɵlistener("click", function ApplicationViewComponent_div_0_button_23_Template_button_click_0_listener() { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAppEntityButtonClicked(item_r4)); });
|
|
46
47
|
i0.ɵɵelementStart(1, "span");
|
|
47
|
-
i0.ɵɵtemplate(2, ApplicationViewComponent_div_0_button_23_Conditional_2_Template, 1, 1, "span",
|
|
48
|
+
i0.ɵɵtemplate(2, ApplicationViewComponent_div_0_button_23_Conditional_2_Template, 1, 1, "span", 25);
|
|
48
49
|
i0.ɵɵtext(3);
|
|
49
50
|
i0.ɵɵelementEnd()();
|
|
50
51
|
} if (rf & 2) {
|
|
@@ -58,7 +59,7 @@ function ApplicationViewComponent_div_0_button_23_Template(rf, ctx) { if (rf & 1
|
|
|
58
59
|
} }
|
|
59
60
|
function ApplicationViewComponent_div_0_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
60
61
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
61
|
-
i0.ɵɵelementStart(0, "div",
|
|
62
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
62
63
|
i0.ɵɵlistener("click", function ApplicationViewComponent_div_0_Conditional_24_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ShowAppEntitySelectionDialog()); });
|
|
63
64
|
i0.ɵɵelement(1, "span", 16);
|
|
64
65
|
i0.ɵɵtext(2, " Click Here to Select Entities ");
|
|
@@ -69,20 +70,26 @@ function ApplicationViewComponent_div_0_Conditional_25_Template(rf, ctx) { if (r
|
|
|
69
70
|
} }
|
|
70
71
|
function ApplicationViewComponent_div_0_Conditional_26_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
71
72
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
72
|
-
i0.ɵɵelementStart(0, "div", 21)(1, "
|
|
73
|
-
i0.ɵɵlistener("
|
|
73
|
+
i0.ɵɵelementStart(0, "div", 21)(1, "mj-resource-browser", 29);
|
|
74
|
+
i0.ɵɵlistener("ResourceSelected", function ApplicationViewComponent_div_0_Conditional_26_div_0_Template_mj_resource_browser_ResourceSelected_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onItemClick($event)); })("NavigateToParentEvent", function ApplicationViewComponent_div_0_Conditional_26_div_0_Template_mj_resource_browser_NavigateToParentEvent_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.navigateToParentFolder()); })("EditItemEvent", function ApplicationViewComponent_div_0_Conditional_26_div_0_Template_mj_resource_browser_EditItemEvent_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.editView($event)); });
|
|
74
75
|
i0.ɵɵelementEnd()();
|
|
75
76
|
} if (rf & 2) {
|
|
76
77
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
77
78
|
i0.ɵɵadvance();
|
|
78
|
-
i0.ɵɵproperty("
|
|
79
|
+
i0.ɵɵproperty("EnableCategories", true)("CategoryEntityID", ctx_r1.currentlySelectedAppEntity == null ? null : ctx_r1.currentlySelectedAppEntity.ID)("CurrentCategoryID", ctx_r1.selectedFolderID)("Title", ctx_r1.currentlySelectedAppEntity == null ? null : ctx_r1.currentlySelectedAppEntity.Name)("ItemFilter", ctx_r1.ResourceItemFilter)("NewItemOptions", ctx_r1.NewItemOptions);
|
|
79
80
|
} }
|
|
80
81
|
function ApplicationViewComponent_div_0_Conditional_26_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
-
i0.ɵɵtemplate(0, ApplicationViewComponent_div_0_Conditional_26_div_0_Template, 2,
|
|
82
|
+
i0.ɵɵtemplate(0, ApplicationViewComponent_div_0_Conditional_26_div_0_Template, 2, 6, "div", 28);
|
|
82
83
|
} if (rf & 2) {
|
|
83
84
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
84
85
|
i0.ɵɵproperty("ngIf", ctx_r1.SelectedAppEntities.length > 0);
|
|
85
86
|
} }
|
|
87
|
+
function ApplicationViewComponent_div_0_mj_available_resources_30_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
+
i0.ɵɵelement(0, "mj-available-resources", 30, 2);
|
|
89
|
+
} if (rf & 2) {
|
|
90
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
91
|
+
i0.ɵɵproperty("User", ctx_r1.currentUser)("ResourceTypeID", ctx_r1.ViewResourceTypeID)("ResourceExtraFilter", ctx_r1.FilterOutCurrentUserViews);
|
|
92
|
+
} }
|
|
86
93
|
function ApplicationViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
87
94
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
88
95
|
i0.ɵɵelementStart(0, "div", 4)(1, "div", 5)(2, "div", 6);
|
|
@@ -118,8 +125,9 @@ function ApplicationViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
118
125
|
i0.ɵɵelementStart(27, "mj-user-view-properties-dialog", 22, 1);
|
|
119
126
|
i0.ɵɵlistener("dialogClosed", function ApplicationViewComponent_div_0_Template_mj_user_view_properties_dialog_dialogClosed_27_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnViewPropertiesDialogClose($event)); });
|
|
120
127
|
i0.ɵɵelementEnd();
|
|
121
|
-
i0.ɵɵelementStart(29, "mj-
|
|
122
|
-
i0.ɵɵlistener("DialogClosed", function
|
|
128
|
+
i0.ɵɵelementStart(29, "mj-generic-dialog", 23);
|
|
129
|
+
i0.ɵɵlistener("DialogClosed", function ApplicationViewComponent_div_0_Template_mj_generic_dialog_DialogClosed_29_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.HandleLinkToSharedView($event)); });
|
|
130
|
+
i0.ɵɵtemplate(30, ApplicationViewComponent_div_0_mj_available_resources_30_Template, 2, 3, "mj-available-resources", 24);
|
|
123
131
|
i0.ɵɵelementEnd()();
|
|
124
132
|
} if (rf & 2) {
|
|
125
133
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -138,7 +146,9 @@ function ApplicationViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
138
146
|
i0.ɵɵadvance(2);
|
|
139
147
|
i0.ɵɵproperty("ShowPropertiesButton", false);
|
|
140
148
|
i0.ɵɵadvance(2);
|
|
141
|
-
i0.ɵɵproperty("
|
|
149
|
+
i0.ɵɵproperty("DialogVisible", ctx_r1.LinkToSharedViewDialogVisible);
|
|
150
|
+
i0.ɵɵadvance();
|
|
151
|
+
i0.ɵɵproperty("ngIf", ctx_r1.LinkToSharedViewDialogVisible);
|
|
142
152
|
} }
|
|
143
153
|
export class ApplicationViewComponent extends BaseBrowserComponent {
|
|
144
154
|
constructor(router, route, location, sharedService, cdr) {
|
|
@@ -153,9 +163,15 @@ export class ApplicationViewComponent extends BaseBrowserComponent {
|
|
|
153
163
|
this.AllAppEntities = [];
|
|
154
164
|
this.SelectedAppEntities = [];
|
|
155
165
|
this.UnselectedAppEntities = [];
|
|
156
|
-
this.
|
|
157
|
-
{
|
|
158
|
-
|
|
166
|
+
this.NewItemOptions = [
|
|
167
|
+
{
|
|
168
|
+
Text: 'New View',
|
|
169
|
+
Description: 'Create a new User View',
|
|
170
|
+
Icon: 'folder',
|
|
171
|
+
Action: () => {
|
|
172
|
+
this.createNewView();
|
|
173
|
+
}
|
|
174
|
+
}
|
|
159
175
|
];
|
|
160
176
|
this.LinkToSharedViewDialogVisible = false;
|
|
161
177
|
this.categoryEntityName = "User View Categories";
|
|
@@ -397,15 +413,17 @@ export class ApplicationViewComponent extends BaseBrowserComponent {
|
|
|
397
413
|
}
|
|
398
414
|
}
|
|
399
415
|
navigateToCurrentPage() {
|
|
400
|
-
|
|
416
|
+
var _a;
|
|
417
|
+
if (!this.app) {
|
|
401
418
|
throw new Error('Application Not Loaded');
|
|
419
|
+
}
|
|
402
420
|
//we're capable of loading the data associated with the selected ApplicationEntityInfo object
|
|
403
421
|
//without a page refresh, but we'd need additonal logic to handle routing, e.g. back
|
|
404
422
|
//button in the browser taking you to the last selected entity.
|
|
405
423
|
//so its easier if we instead navigate to this page with an updated url and leverage angular's router
|
|
406
|
-
let folderID = this.selectedFolderID
|
|
424
|
+
let folderID = this.selectedFolderID;
|
|
407
425
|
let url = ["/app", this.app.Name];
|
|
408
|
-
let appEntityName = this.currentlySelectedAppEntity ?
|
|
426
|
+
let appEntityName = ((_a = this.currentlySelectedAppEntity) === null || _a === void 0 ? void 0 : _a.Name) || null;
|
|
409
427
|
if (appEntityName) {
|
|
410
428
|
url.push(`${appEntityName}`);
|
|
411
429
|
if (folderID) {
|
|
@@ -435,7 +453,7 @@ export class ApplicationViewComponent extends BaseBrowserComponent {
|
|
|
435
453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
436
454
|
this.LinkToSharedViewDialogVisible = false;
|
|
437
455
|
if (okClicked) {
|
|
438
|
-
const resources = this.
|
|
456
|
+
const resources = this.availableResourcesComponent.SelectedResources;
|
|
439
457
|
const md = new Metadata();
|
|
440
458
|
let success = true;
|
|
441
459
|
for (const r of resources) {
|
|
@@ -458,8 +476,7 @@ export class ApplicationViewComponent extends BaseBrowserComponent {
|
|
|
458
476
|
}
|
|
459
477
|
});
|
|
460
478
|
}
|
|
461
|
-
createNewView(
|
|
462
|
-
event.Cancel = true;
|
|
479
|
+
createNewView() {
|
|
463
480
|
if (this.viewPropertiesDialog && this.currentlySelectedAppEntity) {
|
|
464
481
|
this.viewPropertiesDialog.CategoryID = this.selectedFolderID; // pass along a folder if we have one, if null, that's fine it saves to "root" which is the null CategoryID
|
|
465
482
|
this.viewPropertiesDialog.CreateView(this.currentlySelectedAppEntity.Name);
|
|
@@ -528,24 +545,24 @@ ApplicationViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ap
|
|
|
528
545
|
let _t;
|
|
529
546
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.entityRowRef = _t.first);
|
|
530
547
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewPropertiesDialog = _t.first);
|
|
531
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
|
532
|
-
} }, inputs: { categoryEntityID: "categoryEntityID" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["entityRow", ""], ["userViewDialog", ""], ["
|
|
533
|
-
i0.ɵɵtemplate(0, ApplicationViewComponent_div_0_Template, 31,
|
|
548
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.availableResourcesComponent = _t.first);
|
|
549
|
+
} }, inputs: { categoryEntityID: "categoryEntityID" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["entityRow", ""], ["userViewDialog", ""], ["availableResourcesComponent", ""], ["class", "app-container", 4, "ngIf"], [1, "app-container"], [1, "card-header-entity", "cloumn"], [1, "header-wrap"], [1, "title-icon"], [1, "title-wrap"], [1, "title-wrap-inner"], [1, "breadcrumb", 3, "click"], [1, "breadcrumb-separator"], [1, "fa-solid", "fa-chevron-right"], [1, "breadcrumb-end"], [1, "config-button"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-gear"], ["EntityName", "Entities", "DisplayField", "Name", "DisplayIconField", "Icon", 3, "DialogClosed", "AvailableRecords", "SelectedRecords", "UnselectedRecords", "DialogVisible"], [1, "row", 2, "max-width", "100%"], [1, "col-xs-12", "col-sm-6", "example-col"], ["kendoButton", "", "fillMode", "flat", 3, "toggleable", "selected", "click", 4, "ngFor", "ngForOf"], [1, "main-area", "margin-top-neg-20"], [3, "dialogClosed", "ShowPropertiesButton"], ["DialogTitle", "Available Resources", 3, "DialogClosed", "DialogVisible"], ["ExtraColumns", "UserName, Description", "SelectionMode", "Multiple", 3, "User", "ResourceTypeID", "ResourceExtraFilter", 4, "ngIf"], [3, "ngClass"], ["kendoButton", "", "fillMode", "flat", 3, "click", "toggleable", "selected"], [3, "click"], ["class", "main-area margin-top-neg-20", 4, "ngIf"], ["ResourceTypeName", "User Views", "DisplayMode", "Tile", 3, "ResourceSelected", "NavigateToParentEvent", "EditItemEvent", "EnableCategories", "CategoryEntityID", "CurrentCategoryID", "Title", "ItemFilter", "NewItemOptions"], ["ExtraColumns", "UserName, Description", "SelectionMode", "Multiple", 3, "User", "ResourceTypeID", "ResourceExtraFilter"]], template: function ApplicationViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
550
|
+
i0.ɵɵtemplate(0, ApplicationViewComponent_div_0_Template, 31, 12, "div", 3);
|
|
534
551
|
} if (rf & 2) {
|
|
535
552
|
i0.ɵɵproperty("ngIf", ctx.app);
|
|
536
|
-
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i4.LoaderComponent, i5.ButtonComponent, i6.UserViewPropertiesDialogComponent, i7.RecordSelectorDialogComponent, i8.
|
|
553
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i4.LoaderComponent, i5.ButtonComponent, i6.UserViewPropertiesDialogComponent, i7.RecordSelectorDialogComponent, i8.AvailableResourcesComponent, i9.GenericDialogComponent, i10.ResourceBrowserComponent], styles: [".app-container[_ngcontent-%COMP%] {\n padding: 15px;\n}\n \n.entity-list[_ngcontent-%COMP%] {\n width: 500px;\n}\n.favorites-list[_ngcontent-%COMP%] {\n width: 400px;\n}\n\n.cloumn[_ngcontent-%COMP%] {\n flex-direction: column;\n}\n.example-col[_ngcontent-%COMP%] {\n overflow-x: auto;\n}\n.example-col[_ngcontent-%COMP%] .k-selected[_ngcontent-%COMP%] {\n font-weight: 800;\n color: var(--tdata-color);\n border-bottom: 3px solid var(--border-blue) !important;\n background: var(--white-color);\n}\n\n.margin-top-neg-20[_ngcontent-%COMP%] {\n margin-top: -20px;\n padding: 0px !important\n}\n\n.header-wrap[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n width: 100%;\n}\n\n.title-wrap[_ngcontent-%COMP%] {\n flex-grow: 1;\n font-size: 24px;\n}\n.title-wrap-inner[_ngcontent-%COMP%] {\n display: block;\n}\n\n.breadcrumb[_ngcontent-%COMP%] {\n color: darkblue;\n cursor: pointer;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.breadcrumb-end[_ngcontent-%COMP%] {\n display: inline;\n margin-left: 5px;\n}\n\n\n.breadcrumb-separator[_ngcontent-%COMP%] {\n font-size: 14px;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n.home-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n font-size: 18px;\n vertical-align: middle;\n}\n \n.title-icon[_ngcontent-%COMP%] {\n font-size: 32px;\n margin-right: 15px;\n}\n\n.config-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.button-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n font-size: 16px;\n}", ".main-area[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view[_ngcontent-%COMP%] {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n .list-view .k-listview-header, \n .list-view .k-listview-footer {\n border: none;\n}\n .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header[_ngcontent-%COMP%], \n.footer[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header[_ngcontent-%COMP%] {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header[_ngcontent-%COMP%] .head-tag[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header[_ngcontent-%COMP%] .count[_ngcontent-%COMP%] {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer[_ngcontent-%COMP%] {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%] {\n color: var(--sideNav);\n}\n.card-wrapper[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper[_ngcontent-%COMP%] .k-card-body[_ngcontent-%COMP%] {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper[_ngcontent-%COMP%] .view-card[_ngcontent-%COMP%] {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card[_ngcontent-%COMP%] .btn-wrapper[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.k-card-body[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}"] });
|
|
537
554
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationViewComponent, [{
|
|
538
555
|
type: Component,
|
|
539
|
-
args: [{ selector: 'mj-application-view', template: "<div class=\"app-container\" *ngIf=\"this.app\">\n <div class=\"card-header-entity cloumn\">\n <div class=\"header-wrap\"> \n @if (this.app.Icon && this.app.Icon.length > 0) {\n <div class=\"title-icon\">\n <span [ngClass]=\"this.app.Icon\"></span>\n </div> \n }\n <div class=\"title-wrap\">\n <div class=\"title-wrap-inner\">\n <span class=\"breadcrumb\" (click)=\"GoHome($event)\">Home</span> \n <span class=\"breadcrumb-separator\"><span class=\"fa-solid fa-chevron-right\"></span></span>\n <span class=\"breadcrumb\" (click)=\"GoToApps($event)\">Applications</span>\n <span class=\"breadcrumb-separator\"><span class=\"fa-solid fa-chevron-right\"></span></span>\n <span class=\"breadcrumb-end\">{{this.app.Name}}</span>\n </div>\n </div>\n <div class=\"config-button\">\n <button kendoButton (click)=\"ShowAppEntitySelectionDialog()\"><span class=\"fa-solid fa-gear\"></span></button>\n <mj-record-selector-dialog \n EntityName=\"Entities\"\n [AvailableRecords]=\"AllAppEntities\" \n [SelectedRecords]=\"SelectedAppEntities\" \n [UnselectedRecords]=\"UnselectedAppEntities\"\n [DialogVisible]=\"AppEntitySelectionDialogVisible\"\n DisplayField=\"Name\"\n DisplayIconField=\"Icon\"\n (DialogClosed)=\"OnAppEntitySelectionDialogClosed($event)\"\n >\n </mj-record-selector-dialog>\n </div>\n </div> \n <div class=\"row\" #entityRow style=\"max-width: 100%;\">\n <div class=\"col-xs-12 col-sm-6 example-col\">\n <button\n *ngFor=\"let item of SelectedAppEntities\"\n kendoButton\n fillMode=\"flat\"\n [toggleable]=\"true\"\n [selected]=\"IsEntitySelected(item)\"\n (click)=\"onAppEntityButtonClicked(item)\"\n >\n <span>\n @if (item.Icon && item.Icon.length > 0) {\n <span [ngClass]=\"item.Icon + ' button-icon'\" ></span>\n }\n {{item.Name}}\n </span>\n </button>\n </div>\n </div>\n </div>\n @if (SelectedAppEntities.length === 0 && !showLoader) {\n <div (click)=\"ShowAppEntitySelectionDialog()\">\n <span class=\"fa-solid fa-gear\"></span>\n Click Here to Select Entities\n </div>\n }\n @if(showLoader) {\n <kendo-loader></kendo-loader>\n }\n @else {\n <div class=\"main-area margin-top-neg-20\" *ngIf=\"SelectedAppEntities.length > 0\">\n <!-- \n WIP: uncomment this to continue working on the rest of this imnplementation @JS-BC\n Items to continue:\n 1) Make sure to load folders and linked items the way it is done in the 'BaseBrowserCOmponent' but inside our new compnent and generically\n 2) Implement the rest of the functionality in the new component's UI, remember to never violate encapsulation, bubble events for things the container component (this component) should be handling\n 3) Then implement this in the other areas.\n 4) You should be able to then kill off the generic-browser-list component and I still don't know what generic-BROWSE-list component does, kill that too when done if it doens't have a purpose. And finally, the BaseBrowwserComponent may no longer serve a purpose after this is done\n \n <mj-resource-browser\n ResourceTypeName=\"User Views\"\n [EnableCategories]=\"true\"\n [Title]=\"currentlySelectedAppEntity?.Name\"\n [ItemFilter]=\"ResourceItemFilter\"\n DisplayMode=\"Tile\"\n\n (ResourceSelected)=\"onItemClick($event)\"\n >\n\n </mj-resource-browser> -->\n \n \n <app-generic-browser-list \n iconName=\"aggregateFields\" \n [items]=\"items\"\n [categoryEntityID]=\"categoryEntityID\"\n addText=\"Create New View\"\n ItemEntityName=\"User Views\"\n resourceName=\"View\"\n [title]=\"pageTitle\"\n [extraDropdownOptions]=\"extraDropdownOptions\"\n [CategoryEntityName]=\"categoryEntityName\"\n (itemClickEvent)=\"onItemClick($event)\" \n [selectedFolderID]=\"selectedFolderID\"\n [showLoader]=\"showLoader\"\n [viewingResource]=false\n [displayAsGrid]=\"displayAsGrid\"\n (AfterAddFolderEvent)=\"onEvent($event)\"\n (AfterAddItemEvent)=\"onEvent($event)\"\n (AfterDeleteItemEvent)=\"onEvent($event)\"\n (AfterDeleteFolderEvent)=\"onEvent($event)\"\n (AfterUnlinkItemEvent)=\"onEvent($event)\"\n (viewModeChangeEvent)=\"onViewModeChange($event)\"\n (BeforeAddItemEvent)=\"createNewView($event)\"\n (BeforeUpdateItemEvent)=\"editView($event)\"\n (dropdownOptionClickEvent)=\"createItemClickedEvent($event)\"\n (NavigateToParentEvent)=\"navigateToParentFolder()\"\n />\n </div>\n }\n\n <mj-user-view-properties-dialog #userViewDialog [ShowPropertiesButton]=\"false\"(dialogClosed)=\"OnViewPropertiesDialogClose($event)\"></mj-user-view-properties-dialog>\n <mj-available-resources-dialog \n #availableResourcesDialog\n [User]=\"currentUser\"\n [DialogVisible]=\"LinkToSharedViewDialogVisible\"\n [ResourceTypeID]=\"ViewResourceTypeID\"\n ExtraColumns= \"UserName, Description\"\n SelectionMode=\"Multiple\"\n (DialogClosed)=\"HandleLinkToSharedView($event)\"\n [ResourceExtraFilter]=\"FilterOutCurrentUserViews\"\n ></mj-available-resources-dialog>\n</div>\n", styles: [".app-container {\n padding: 15px;\n}\n \n.entity-list {\n width: 500px;\n}\n.favorites-list {\n width: 400px;\n}\n\n.cloumn {\n flex-direction: column;\n}\n.example-col {\n overflow-x: auto;\n}\n.example-col .k-selected {\n font-weight: 800;\n color: var(--tdata-color);\n border-bottom: 3px solid var(--border-blue) !important;\n background: var(--white-color);\n}\n\n.margin-top-neg-20 {\n margin-top: -20px;\n padding: 0px !important\n}\n\n.header-wrap {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n width: 100%;\n}\n\n.title-wrap {\n flex-grow: 1;\n font-size: 24px;\n}\n.title-wrap-inner {\n display: block;\n}\n\n.breadcrumb {\n color: darkblue;\n cursor: pointer;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.breadcrumb-end {\n display: inline;\n margin-left: 5px;\n}\n\n\n.breadcrumb-separator {\n font-size: 14px;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n.home-icon {\n margin-right: 5px;\n font-size: 18px;\n vertical-align: middle;\n}\n \n.title-icon {\n font-size: 32px;\n margin-right: 15px;\n}\n\n.config-button {\n display: flex;\n align-items: center;\n}\n\n.button-icon {\n margin-right: 5px;\n font-size: 16px;\n}", "\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
|
|
556
|
+
args: [{ selector: 'mj-application-view', template: "<div class=\"app-container\" *ngIf=\"this.app\">\n <div class=\"card-header-entity cloumn\">\n <div class=\"header-wrap\"> \n @if (this.app.Icon && this.app.Icon.length > 0) {\n <div class=\"title-icon\">\n <span [ngClass]=\"this.app.Icon\"></span>\n </div> \n }\n <div class=\"title-wrap\">\n <div class=\"title-wrap-inner\">\n <span class=\"breadcrumb\" (click)=\"GoHome($event)\">Home</span> \n <span class=\"breadcrumb-separator\"><span class=\"fa-solid fa-chevron-right\"></span></span>\n <span class=\"breadcrumb\" (click)=\"GoToApps($event)\">Applications</span>\n <span class=\"breadcrumb-separator\"><span class=\"fa-solid fa-chevron-right\"></span></span>\n <span class=\"breadcrumb-end\">{{this.app.Name}}</span>\n </div>\n </div>\n <div class=\"config-button\">\n <button kendoButton (click)=\"ShowAppEntitySelectionDialog()\"><span class=\"fa-solid fa-gear\"></span></button>\n <mj-record-selector-dialog \n EntityName=\"Entities\"\n [AvailableRecords]=\"AllAppEntities\" \n [SelectedRecords]=\"SelectedAppEntities\" \n [UnselectedRecords]=\"UnselectedAppEntities\"\n [DialogVisible]=\"AppEntitySelectionDialogVisible\"\n DisplayField=\"Name\"\n DisplayIconField=\"Icon\"\n (DialogClosed)=\"OnAppEntitySelectionDialogClosed($event)\"\n >\n </mj-record-selector-dialog>\n </div>\n </div> \n <div class=\"row\" #entityRow style=\"max-width: 100%;\">\n <div class=\"col-xs-12 col-sm-6 example-col\">\n <button\n *ngFor=\"let item of SelectedAppEntities\"\n kendoButton\n fillMode=\"flat\"\n [toggleable]=\"true\"\n [selected]=\"IsEntitySelected(item)\"\n (click)=\"onAppEntityButtonClicked(item)\"\n >\n <span>\n @if (item.Icon && item.Icon.length > 0) {\n <span [ngClass]=\"item.Icon + ' button-icon'\" ></span>\n }\n {{item.Name}}\n </span>\n </button>\n </div>\n </div>\n </div>\n @if (SelectedAppEntities.length === 0 && !showLoader) {\n <div (click)=\"ShowAppEntitySelectionDialog()\">\n <span class=\"fa-solid fa-gear\"></span>\n Click Here to Select Entities\n </div>\n }\n @if(showLoader) {\n <kendo-loader></kendo-loader>\n }\n @else {\n <div class=\"main-area margin-top-neg-20\" *ngIf=\"SelectedAppEntities.length > 0\">\n <mj-resource-browser\n ResourceTypeName=\"User Views\"\n [EnableCategories]=\"true\"\n [CategoryEntityID]=\"currentlySelectedAppEntity?.ID\"\n [CurrentCategoryID]=\"selectedFolderID\"\n [Title]=\"currentlySelectedAppEntity?.Name\"\n [ItemFilter]=\"ResourceItemFilter\"\n DisplayMode=\"Tile\"\n [NewItemOptions]=\"NewItemOptions\"\n (ResourceSelected)=\"onItemClick($event)\"\n (NavigateToParentEvent)=\"navigateToParentFolder()\"\n (EditItemEvent)=\"editView($event)\"\n />\n \n <!--\n <app-generic-browser-list \n iconName=\"aggregateFields\" \n [items]=\"items\"\n [categoryEntityID]=\"categoryEntityID\"\n addText=\"Create New View\"\n ItemEntityName=\"User Views\"\n resourceName=\"View\"\n [title]=\"pageTitle\"\n [extraDropdownOptions]=\"extraDropdownOptions\"\n [CategoryEntityName]=\"categoryEntityName\"\n (itemClickEvent)=\"onItemClick($event)\" \n [selectedFolderID]=\"selectedFolderID\"\n [showLoader]=\"showLoader\"\n [viewingResource]=false\n [displayAsGrid]=\"displayAsGrid\"\n (AfterAddFolderEvent)=\"onEvent($event)\"\n (AfterAddItemEvent)=\"onEvent($event)\"\n (AfterDeleteItemEvent)=\"onEvent($event)\"\n (AfterDeleteFolderEvent)=\"onEvent($event)\"\n (AfterUnlinkItemEvent)=\"onEvent($event)\"\n (viewModeChangeEvent)=\"onViewModeChange($event)\"\n (BeforeAddItemEvent)=\"createNewView($event)\"\n (BeforeUpdateItemEvent)=\"editView($event)\"\n (dropdownOptionClickEvent)=\"createItemClickedEvent($event)\"\n (NavigateToParentEvent)=\"navigateToParentFolder()\"\n />\n -->\n </div>\n }\n\n <mj-user-view-properties-dialog #userViewDialog [ShowPropertiesButton]=\"false\"(dialogClosed)=\"OnViewPropertiesDialogClose($event)\"></mj-user-view-properties-dialog>\n\n <mj-generic-dialog\n DialogTitle=\"Available Resources\"\n (DialogClosed)=\"HandleLinkToSharedView($event)\"\n [DialogVisible]=\"LinkToSharedViewDialogVisible\"\n >\n <mj-available-resources\n *ngIf=\"LinkToSharedViewDialogVisible\" \n #availableResourcesComponent\n [User]=\"currentUser\"\n [ResourceTypeID]=\"ViewResourceTypeID\"\n [ResourceExtraFilter]=\"FilterOutCurrentUserViews\"\n ExtraColumns= \"UserName, Description\"\n SelectionMode=\"Multiple\"\n >\n </mj-available-resources>\n </mj-generic-dialog> \n</div>\n", styles: [".app-container {\n padding: 15px;\n}\n \n.entity-list {\n width: 500px;\n}\n.favorites-list {\n width: 400px;\n}\n\n.cloumn {\n flex-direction: column;\n}\n.example-col {\n overflow-x: auto;\n}\n.example-col .k-selected {\n font-weight: 800;\n color: var(--tdata-color);\n border-bottom: 3px solid var(--border-blue) !important;\n background: var(--white-color);\n}\n\n.margin-top-neg-20 {\n margin-top: -20px;\n padding: 0px !important\n}\n\n.header-wrap {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n width: 100%;\n}\n\n.title-wrap {\n flex-grow: 1;\n font-size: 24px;\n}\n.title-wrap-inner {\n display: block;\n}\n\n.breadcrumb {\n color: darkblue;\n cursor: pointer;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.breadcrumb-end {\n display: inline;\n margin-left: 5px;\n}\n\n\n.breadcrumb-separator {\n font-size: 14px;\n display: inline;\n margin-left: 5px;\n margin-right: 5px;\n}\n.home-icon {\n margin-right: 5px;\n font-size: 18px;\n vertical-align: middle;\n}\n \n.title-icon {\n font-size: 32px;\n margin-right: 15px;\n}\n\n.config-button {\n display: flex;\n align-items: center;\n}\n\n.button-icon {\n margin-right: 5px;\n font-size: 16px;\n}", "\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
|
|
540
557
|
}], () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.Location }, { type: i3.SharedService }, { type: i0.ChangeDetectorRef }], { entityRowRef: [{
|
|
541
558
|
type: ViewChild,
|
|
542
559
|
args: ['entityRow']
|
|
543
560
|
}], viewPropertiesDialog: [{
|
|
544
561
|
type: ViewChild,
|
|
545
562
|
args: ['userViewDialog']
|
|
546
|
-
}],
|
|
563
|
+
}], availableResourcesComponent: [{
|
|
547
564
|
type: ViewChild,
|
|
548
|
-
args: ['
|
|
565
|
+
args: ['availableResourcesComponent']
|
|
549
566
|
}], categoryEntityID: [{
|
|
550
567
|
type: Input
|
|
551
568
|
}] }); })();
|