@memberjunction/ng-dashboards 5.29.0 → 5.30.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/AI/components/agents/agent-configuration.component.d.ts.map +1 -1
- package/dist/AI/components/agents/agent-configuration.component.js +11 -9
- package/dist/AI/components/agents/agent-configuration.component.js.map +1 -1
- package/dist/AI/components/agents/agent-editor.component.d.ts.map +1 -1
- package/dist/AI/components/agents/agent-editor.component.js +21 -19
- package/dist/AI/components/agents/agent-editor.component.js.map +1 -1
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js +154 -154
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +8 -0
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.js +2 -2
- package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
- package/dist/APIKeys/api-applications-panel.component.d.ts +1 -1
- package/dist/APIKeys/api-applications-panel.component.d.ts.map +1 -1
- package/dist/APIKeys/api-applications-panel.component.js +15 -2
- package/dist/APIKeys/api-applications-panel.component.js.map +1 -1
- package/dist/APIKeys/api-key-edit-panel.component.d.ts.map +1 -1
- package/dist/APIKeys/api-key-edit-panel.component.js +17 -5
- package/dist/APIKeys/api-key-edit-panel.component.js.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.js +56 -71
- package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts +0 -8
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js +73 -74
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-share-adapter.d.ts +25 -0
- package/dist/DashboardBrowser/dashboard-share-adapter.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboard-share-adapter.js +99 -0
- package/dist/DashboardBrowser/dashboard-share-adapter.js.map +1 -0
- package/dist/DashboardBrowser/dashboard-share-dialog.component.d.ts +21 -104
- package/dist/DashboardBrowser/dashboard-share-dialog.component.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-share-dialog.component.js +48 -530
- package/dist/DashboardBrowser/dashboard-share-dialog.component.js.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +5 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.js +17 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
- package/dist/Integration/components/connections/connections.component.d.ts +18 -1
- package/dist/Integration/components/connections/connections.component.d.ts.map +1 -1
- package/dist/Integration/components/connections/connections.component.js +251 -199
- package/dist/Integration/components/connections/connections.component.js.map +1 -1
- package/dist/Integration/services/integration-data.service.d.ts +7 -2
- package/dist/Integration/services/integration-data.service.d.ts.map +1 -1
- package/dist/Integration/services/integration-data.service.js +10 -2
- package/dist/Integration/services/integration-data.service.js.map +1 -1
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js +144 -144
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-operations-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-operations-resource.component.js +12 -14
- package/dist/Lists/components/lists-operations-resource.component.js.map +1 -1
- package/dist/MCP/mcp-dashboard.component.d.ts.map +1 -1
- package/dist/MCP/mcp-dashboard.component.js +28 -57
- package/dist/MCP/mcp-dashboard.component.js.map +1 -1
- package/dist/Permissions/audit-log-resource.component.d.ts +38 -0
- package/dist/Permissions/audit-log-resource.component.d.ts.map +1 -0
- package/dist/Permissions/audit-log-resource.component.js +380 -0
- package/dist/Permissions/audit-log-resource.component.js.map +1 -0
- package/dist/Permissions/permissions-shared.d.ts +51 -0
- package/dist/Permissions/permissions-shared.d.ts.map +1 -0
- package/dist/Permissions/permissions-shared.js +91 -0
- package/dist/Permissions/permissions-shared.js.map +1 -0
- package/dist/Permissions/resource-access-resource.component.d.ts +45 -0
- package/dist/Permissions/resource-access-resource.component.d.ts.map +1 -0
- package/dist/Permissions/resource-access-resource.component.js +342 -0
- package/dist/Permissions/resource-access-resource.component.js.map +1 -0
- package/dist/Permissions/user-access-resource.component.d.ts +39 -0
- package/dist/Permissions/user-access-resource.component.d.ts.map +1 -0
- package/dist/Permissions/user-access-resource.component.js +346 -0
- package/dist/Permissions/user-access-resource.component.js.map +1 -0
- package/dist/component-studio-dashboards.module.d.ts +1 -0
- package/dist/component-studio-dashboards.module.d.ts.map +1 -1
- package/dist/component-studio-dashboards.module.js +7 -0
- package/dist/component-studio-dashboards.module.js.map +1 -1
- package/dist/core-dashboards.module.d.ts +24 -20
- package/dist/core-dashboards.module.d.ts.map +1 -1
- package/dist/core-dashboards.module.js +26 -1
- package/dist/core-dashboards.module.js.map +1 -1
- package/dist/public-api.d.ts +4 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -0
- package/dist/public-api.js.map +1 -1
- package/dist/shared/pipes/highlight-search.pipe.d.ts +1 -1
- package/dist/shared/pipes/highlight-search.pipe.d.ts.map +1 -1
- package/dist/shared/pipes/highlight-search.pipe.js +14 -4
- package/dist/shared/pipes/highlight-search.pipe.js.map +1 -1
- package/package.json +51 -50
|
@@ -1,115 +1,32 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import { MJDashboardEntity
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MJDashboardEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import { ResourceShareContext, ResourceShareDialogResult } from '@memberjunction/ng-resource-permissions';
|
|
4
|
+
import { DashboardShareAdapter } from './dashboard-share-adapter';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
/**
|
|
5
|
-
*
|
|
7
|
+
* Public re-export kept for backward compatibility with existing call sites
|
|
8
|
+
* ({@link DashboardBrowserResourceComponent}, `DashboardResource` wrapper).
|
|
9
|
+
* The new abstraction lives in `@memberjunction/ng-resource-permissions`.
|
|
6
10
|
*/
|
|
7
|
-
export
|
|
8
|
-
/** The permission entity (may be new or existing) */
|
|
9
|
-
Permission: MJDashboardPermissionEntity;
|
|
10
|
-
/** The user being shared with */
|
|
11
|
-
User: MJUserEntity;
|
|
12
|
-
/** Whether this is a newly added share */
|
|
13
|
-
IsNew: boolean;
|
|
14
|
-
/** Whether this share has been marked for removal */
|
|
15
|
-
MarkedForRemoval: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Result emitted when the dialog is closed
|
|
19
|
-
*/
|
|
20
|
-
export interface ShareDialogResult {
|
|
21
|
-
/** The action taken: 'save' or 'cancel' */
|
|
22
|
-
Action: 'save' | 'cancel';
|
|
23
|
-
/** The dashboard that was shared (only on save) */
|
|
11
|
+
export type ShareDialogResult = ResourceShareDialogResult & {
|
|
24
12
|
Dashboard?: MJDashboardEntity;
|
|
25
|
-
}
|
|
13
|
+
};
|
|
26
14
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
15
|
+
* Thin wrapper that maps a `MJDashboardEntity` + the Dashboard-specific
|
|
16
|
+
* permission model onto the generic `mj-resource-share-dialog`. Existing call
|
|
17
|
+
* sites (`<mj-dashboard-share-dialog [Dashboard]=... [Visible]=... (Result)=... />`)
|
|
18
|
+
* continue to work unchanged — this component just constructs the context +
|
|
19
|
+
* adapter and delegates.
|
|
29
20
|
*/
|
|
30
|
-
export declare class DashboardShareDialogComponent
|
|
31
|
-
private cdr;
|
|
21
|
+
export declare class DashboardShareDialogComponent {
|
|
32
22
|
Visible: boolean;
|
|
33
|
-
Dashboard: MJDashboardEntity | null;
|
|
23
|
+
set Dashboard(value: MJDashboardEntity | null);
|
|
24
|
+
get Dashboard(): MJDashboardEntity | null;
|
|
34
25
|
Result: EventEmitter<ShareDialogResult>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/** All users in the system */
|
|
40
|
-
private allUsers;
|
|
41
|
-
/** Loading state */
|
|
42
|
-
IsLoading: boolean;
|
|
43
|
-
/** Error message to display */
|
|
44
|
-
Error: string | null;
|
|
45
|
-
/** Search filter for available users */
|
|
46
|
-
UserSearchFilter: string;
|
|
47
|
-
constructor(cdr: ChangeDetectorRef);
|
|
48
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
49
|
-
/**
|
|
50
|
-
* Reset dialog state
|
|
51
|
-
*/
|
|
52
|
-
private resetDialog;
|
|
53
|
-
/**
|
|
54
|
-
* Load existing shares and available users
|
|
55
|
-
*/
|
|
56
|
-
private loadData;
|
|
57
|
-
/**
|
|
58
|
-
* Update the list of available users (excludes owner and already shared)
|
|
59
|
-
*/
|
|
60
|
-
private updateAvailableUsers;
|
|
61
|
-
/**
|
|
62
|
-
* Get filtered available users based on search
|
|
63
|
-
*/
|
|
64
|
-
get FilteredAvailableUsers(): MJUserEntity[];
|
|
65
|
-
/**
|
|
66
|
-
* Check if there are unsaved changes
|
|
67
|
-
*/
|
|
68
|
-
get HasChanges(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Add a user to the share list
|
|
71
|
-
*/
|
|
72
|
-
addUserShare(user: MJUserEntity): Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Mark a share for removal
|
|
75
|
-
*/
|
|
76
|
-
removeUserShare(share: UserSharePermission): void;
|
|
77
|
-
/**
|
|
78
|
-
* Undo removal of a share
|
|
79
|
-
*/
|
|
80
|
-
undoRemove(share: UserSharePermission): void;
|
|
81
|
-
/**
|
|
82
|
-
* Get shares that are not marked for removal
|
|
83
|
-
*/
|
|
84
|
-
get ActiveShares(): UserSharePermission[];
|
|
85
|
-
/**
|
|
86
|
-
* Get shares marked for removal
|
|
87
|
-
*/
|
|
88
|
-
get RemovedShares(): UserSharePermission[];
|
|
89
|
-
/**
|
|
90
|
-
* Toggle CanEdit permission (also enables CanRead)
|
|
91
|
-
*/
|
|
92
|
-
toggleCanEdit(share: UserSharePermission): void;
|
|
93
|
-
/**
|
|
94
|
-
* Toggle CanDelete permission (also enables CanRead and CanEdit)
|
|
95
|
-
*/
|
|
96
|
-
toggleCanDelete(share: UserSharePermission): void;
|
|
97
|
-
/**
|
|
98
|
-
* Toggle CanShare permission (also enables CanRead)
|
|
99
|
-
*/
|
|
100
|
-
toggleCanShare(share: UserSharePermission): void;
|
|
101
|
-
/**
|
|
102
|
-
* Save all permission changes
|
|
103
|
-
*/
|
|
104
|
-
onSave(): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Cancel and close the dialog
|
|
107
|
-
*/
|
|
108
|
-
onCancel(): void;
|
|
109
|
-
/**
|
|
110
|
-
* Get initials for a user (for avatar display)
|
|
111
|
-
*/
|
|
112
|
-
getUserInitials(user: MJUserEntity): string;
|
|
26
|
+
context: ResourceShareContext | null;
|
|
27
|
+
adapter: DashboardShareAdapter;
|
|
28
|
+
private _dashboard;
|
|
29
|
+
onResult(result: ResourceShareDialogResult): void;
|
|
113
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardShareDialogComponent, never>;
|
|
114
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardShareDialogComponent, "mj-dashboard-share-dialog", never, { "Visible": { "alias": "Visible"; "required": false; }; "Dashboard": { "alias": "Dashboard"; "required": false; }; }, { "Result": "Result"; }, never, never, false, never>;
|
|
115
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-share-dialog.component.d.ts","sourceRoot":"","sources":["../../src/DashboardBrowser/dashboard-share-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"dashboard-share-dialog.component.d.ts","sourceRoot":"","sources":["../../src/DashboardBrowser/dashboard-share-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACH,oBAAoB,EACpB,yBAAyB,EAC5B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAElE;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,yBAAyB,GAAG;IAAE,SAAS,CAAC,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE9F;;;;;;GAMG;AACH,qBAYa,6BAA6B;IAC7B,OAAO,UAAS;IACzB,IACI,SAAS,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,EAU5C;IACD,IAAI,SAAS,IAAI,iBAAiB,GAAG,IAAI,CAExC;IACS,MAAM,kCAAyC;IAElD,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAQ;IAC5C,OAAO,wBAA+B;IAE7C,OAAO,CAAC,UAAU,CAAkC;IAEpD,QAAQ,CAAC,MAAM,EAAE,yBAAyB,GAAG,IAAI;yCAxBxC,6BAA6B;2CAA7B,6BAA6B;CA8BzC"}
|