@memberjunction/ng-shared-generic 6.2.2 → 6.3.0-edge.1
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/lib/angular-graphql-data-provider.d.ts +53 -0
- package/dist/lib/angular-graphql-data-provider.d.ts.map +1 -0
- package/dist/lib/angular-graphql-data-provider.js +91 -0
- package/dist/lib/angular-graphql-data-provider.js.map +1 -0
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +2 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +8 -7
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { GraphQLDataProvider, GraphQLProviderConfigData } from '@memberjunction/graphql-dataprovider';
|
|
3
|
+
/**
|
|
4
|
+
* Structural typing for the global Zone.js root zone holder, avoiding any types or direct Zone.js imports.
|
|
5
|
+
*/
|
|
6
|
+
export interface RootZoneHolder {
|
|
7
|
+
Zone?: {
|
|
8
|
+
root?: {
|
|
9
|
+
run<R>(cb: () => R): R;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Angular-aware extension of {@link GraphQLDataProvider}. Delegates background transport I/O
|
|
15
|
+
* (WebSocket handshakes, ping/pong watchdogs, subscription dispatch, and keep-alive intervals)
|
|
16
|
+
* to `NgZone.runOutsideAngular` so continuous socket traffic does not trigger continuous
|
|
17
|
+
* Angular change-detection cycles or keep the browser main thread hot.
|
|
18
|
+
*/
|
|
19
|
+
export declare class AngularGraphQLDataProvider extends GraphQLDataProvider {
|
|
20
|
+
private _ngZone;
|
|
21
|
+
constructor(ngZone?: NgZone | null);
|
|
22
|
+
/**
|
|
23
|
+
* Attaches an {@link NgZone} instance to this provider. If null or undefined is passed,
|
|
24
|
+
* any existing zone reference is preserved.
|
|
25
|
+
*/
|
|
26
|
+
SetNgZone(ngZone: NgZone | null | undefined): void;
|
|
27
|
+
/**
|
|
28
|
+
* Currently attached {@link NgZone}, or null when running in headless/fallback mode.
|
|
29
|
+
*/
|
|
30
|
+
get NgZone(): NgZone | null;
|
|
31
|
+
/**
|
|
32
|
+
* Runs background transport operations outside Angular's zone when an {@link NgZone} is
|
|
33
|
+
* available. Falls back to Zone.js `root.run()` or direct execution when no zone has been injected.
|
|
34
|
+
*/
|
|
35
|
+
protected ExecuteInBackgroundScope<T>(fn: () => T): T;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Resolves an {@link AngularGraphQLDataProvider} instance. Reuses and attaches `ngZone` to an
|
|
39
|
+
* existing `GraphQLDataProvider.Instance` when it is already an `AngularGraphQLDataProvider`, or
|
|
40
|
+
* constructs a new instance (which upgrades an unconfigured base provider in the global store).
|
|
41
|
+
*/
|
|
42
|
+
export declare function ResolveAngularGraphQLProvider(ngZone?: NgZone | null): AngularGraphQLDataProvider;
|
|
43
|
+
/**
|
|
44
|
+
* Initializes and configures the GraphQL client with an {@link AngularGraphQLDataProvider},
|
|
45
|
+
* ensuring WebSocket transport operations run outside Angular's change-detection zone.
|
|
46
|
+
*/
|
|
47
|
+
export declare function SetupAngularGraphQLClient(config: GraphQLProviderConfigData, ngZone?: NgZone | null): Promise<AngularGraphQLDataProvider>;
|
|
48
|
+
/**
|
|
49
|
+
* Connects to GraphQL and metadata with an {@link AngularGraphQLDataProvider}, ensuring WebSocket
|
|
50
|
+
* transport operations run outside Angular's change-detection zone.
|
|
51
|
+
*/
|
|
52
|
+
export declare function ConnectAngularGraphQLClient(config: GraphQLProviderConfigData, ngZone?: NgZone | null): Promise<AngularGraphQLDataProvider>;
|
|
53
|
+
//# sourceMappingURL=angular-graphql-data-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"angular-graphql-data-provider.d.ts","sourceRoot":"","sources":["../../src/lib/angular-graphql-data-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAE5B,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,IAAI,CAAC,EAAE;QACH,IAAI,CAAC,EAAE;YACH,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;SAC1B,CAAC;KACL,CAAC;CACL;AAED;;;;;GAKG;AACH,qBACa,0BAA2B,SAAQ,mBAAmB;IAC/D,OAAO,CAAC,OAAO,CAAuB;gBAE1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAOlC;;;OAGG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;IAMzD;;OAEG;IACH,IAAW,MAAM,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED;;;OAGG;cACgB,wBAAwB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC;CAajE;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,0BAA0B,CAShG;AAED;;;GAGG;AACH,wBAAsB,yBAAyB,CAC3C,MAAM,EAAE,yBAAyB,EACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GACvB,OAAO,CAAC,0BAA0B,CAAC,CAIrC;AAED;;;GAGG;AACH,wBAAsB,2BAA2B,CAC7C,MAAM,EAAE,yBAAyB,EACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GACvB,OAAO,CAAC,0BAA0B,CAAC,CAIrC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { RegisterClassEx } from '@memberjunction/global';
|
|
8
|
+
import { ConnectGraphQLClient, GraphQLDataProvider, SetupGraphQLClient, } from '@memberjunction/graphql-dataprovider';
|
|
9
|
+
/**
|
|
10
|
+
* Angular-aware extension of {@link GraphQLDataProvider}. Delegates background transport I/O
|
|
11
|
+
* (WebSocket handshakes, ping/pong watchdogs, subscription dispatch, and keep-alive intervals)
|
|
12
|
+
* to `NgZone.runOutsideAngular` so continuous socket traffic does not trigger continuous
|
|
13
|
+
* Angular change-detection cycles or keep the browser main thread hot.
|
|
14
|
+
*/
|
|
15
|
+
let AngularGraphQLDataProvider = class AngularGraphQLDataProvider extends GraphQLDataProvider {
|
|
16
|
+
_ngZone = null;
|
|
17
|
+
constructor(ngZone) {
|
|
18
|
+
super();
|
|
19
|
+
if (ngZone) {
|
|
20
|
+
this.SetNgZone(ngZone);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Attaches an {@link NgZone} instance to this provider. If null or undefined is passed,
|
|
25
|
+
* any existing zone reference is preserved.
|
|
26
|
+
*/
|
|
27
|
+
SetNgZone(ngZone) {
|
|
28
|
+
if (ngZone) {
|
|
29
|
+
this._ngZone = ngZone;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Currently attached {@link NgZone}, or null when running in headless/fallback mode.
|
|
34
|
+
*/
|
|
35
|
+
get NgZone() {
|
|
36
|
+
return this._ngZone;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Runs background transport operations outside Angular's zone when an {@link NgZone} is
|
|
40
|
+
* available. Falls back to Zone.js `root.run()` or direct execution when no zone has been injected.
|
|
41
|
+
*/
|
|
42
|
+
ExecuteInBackgroundScope(fn) {
|
|
43
|
+
if (this._ngZone) {
|
|
44
|
+
return this._ngZone.runOutsideAngular(fn);
|
|
45
|
+
}
|
|
46
|
+
const holder = globalThis;
|
|
47
|
+
const rootZone = holder.Zone?.root;
|
|
48
|
+
if (rootZone && typeof rootZone.run === 'function') {
|
|
49
|
+
return rootZone.run(fn);
|
|
50
|
+
}
|
|
51
|
+
return fn();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
AngularGraphQLDataProvider = __decorate([
|
|
55
|
+
RegisterClassEx(GraphQLDataProvider, { skipNullKeyWarning: true })
|
|
56
|
+
], AngularGraphQLDataProvider);
|
|
57
|
+
export { AngularGraphQLDataProvider };
|
|
58
|
+
/**
|
|
59
|
+
* Resolves an {@link AngularGraphQLDataProvider} instance. Reuses and attaches `ngZone` to an
|
|
60
|
+
* existing `GraphQLDataProvider.Instance` when it is already an `AngularGraphQLDataProvider`, or
|
|
61
|
+
* constructs a new instance (which upgrades an unconfigured base provider in the global store).
|
|
62
|
+
*/
|
|
63
|
+
export function ResolveAngularGraphQLProvider(ngZone) {
|
|
64
|
+
const existing = GraphQLDataProvider.Instance;
|
|
65
|
+
if (existing instanceof AngularGraphQLDataProvider) {
|
|
66
|
+
if (ngZone) {
|
|
67
|
+
existing.SetNgZone(ngZone);
|
|
68
|
+
}
|
|
69
|
+
return existing;
|
|
70
|
+
}
|
|
71
|
+
return new AngularGraphQLDataProvider(ngZone);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Initializes and configures the GraphQL client with an {@link AngularGraphQLDataProvider},
|
|
75
|
+
* ensuring WebSocket transport operations run outside Angular's change-detection zone.
|
|
76
|
+
*/
|
|
77
|
+
export async function SetupAngularGraphQLClient(config, ngZone) {
|
|
78
|
+
const provider = ResolveAngularGraphQLProvider(ngZone);
|
|
79
|
+
await SetupGraphQLClient(config, provider);
|
|
80
|
+
return provider;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Connects to GraphQL and metadata with an {@link AngularGraphQLDataProvider}, ensuring WebSocket
|
|
84
|
+
* transport operations run outside Angular's change-detection zone.
|
|
85
|
+
*/
|
|
86
|
+
export async function ConnectAngularGraphQLClient(config, ngZone) {
|
|
87
|
+
const provider = ResolveAngularGraphQLProvider(ngZone);
|
|
88
|
+
await ConnectGraphQLClient(config, provider);
|
|
89
|
+
return provider;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=angular-graphql-data-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"angular-graphql-data-provider.js","sourceRoot":"","sources":["../../src/lib/angular-graphql-data-provider.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EACH,oBAAoB,EACpB,mBAAmB,EAEnB,kBAAkB,GACrB,MAAM,sCAAsC,CAAC;AAa9C;;;;;GAKG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,mBAAmB;IACvD,OAAO,GAAkB,IAAI,CAAC;IAEtC,YAAY,MAAsB;QAC9B,KAAK,EAAE,CAAC;QACR,IAAI,MAAM,EAAE,CAAC;YACT,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IAED;;;OAGG;IACI,SAAS,CAAC,MAAiC;QAC9C,IAAI,MAAM,EAAE,CAAC;YACT,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QAC1B,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED;;;OAGG;IACgB,wBAAwB,CAAI,EAAW;QACtD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;QAC9C,CAAC;QAED,MAAM,MAAM,GAAG,UAA4B,CAAC;QAC5C,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC;QACnC,IAAI,QAAQ,IAAI,OAAO,QAAQ,CAAC,GAAG,KAAK,UAAU,EAAE,CAAC;YACjD,OAAO,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;QAED,OAAO,EAAE,EAAE,CAAC;IAChB,CAAC;CACJ,CAAA;AA5CY,0BAA0B;IADtC,eAAe,CAAC,mBAAmB,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;GACtD,0BAA0B,CA4CtC;;AAED;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAC,MAAsB;IAChE,MAAM,QAAQ,GAAG,mBAAmB,CAAC,QAAQ,CAAC;IAC9C,IAAI,QAAQ,YAAY,0BAA0B,EAAE,CAAC;QACjD,IAAI,MAAM,EAAE,CAAC;YACT,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QACD,OAAO,QAAQ,CAAC;IACpB,CAAC;IACD,OAAO,IAAI,0BAA0B,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC3C,MAAiC,EACjC,MAAsB;IAEtB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC;IACvD,MAAM,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3C,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC7C,MAAiC,EACjC,MAAsB;IAEtB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC;IACvD,MAAM,oBAAoB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC7C,OAAO,QAAQ,CAAC;AACpB,CAAC","sourcesContent":["import { NgZone } from '@angular/core';\nimport { RegisterClassEx } from '@memberjunction/global';\nimport {\n ConnectGraphQLClient,\n GraphQLDataProvider,\n GraphQLProviderConfigData,\n SetupGraphQLClient,\n} from '@memberjunction/graphql-dataprovider';\n\n/**\n * Structural typing for the global Zone.js root zone holder, avoiding any types or direct Zone.js imports.\n */\nexport interface RootZoneHolder {\n Zone?: {\n root?: {\n run<R>(cb: () => R): R;\n };\n };\n}\n\n/**\n * Angular-aware extension of {@link GraphQLDataProvider}. Delegates background transport I/O\n * (WebSocket handshakes, ping/pong watchdogs, subscription dispatch, and keep-alive intervals)\n * to `NgZone.runOutsideAngular` so continuous socket traffic does not trigger continuous\n * Angular change-detection cycles or keep the browser main thread hot.\n */\n@RegisterClassEx(GraphQLDataProvider, { skipNullKeyWarning: true })\nexport class AngularGraphQLDataProvider extends GraphQLDataProvider {\n private _ngZone: NgZone | null = null;\n\n constructor(ngZone?: NgZone | null) {\n super();\n if (ngZone) {\n this.SetNgZone(ngZone);\n }\n }\n\n /**\n * Attaches an {@link NgZone} instance to this provider. If null or undefined is passed,\n * any existing zone reference is preserved.\n */\n public SetNgZone(ngZone: NgZone | null | undefined): void {\n if (ngZone) {\n this._ngZone = ngZone;\n }\n }\n\n /**\n * Currently attached {@link NgZone}, or null when running in headless/fallback mode.\n */\n public get NgZone(): NgZone | null {\n return this._ngZone;\n }\n\n /**\n * Runs background transport operations outside Angular's zone when an {@link NgZone} is\n * available. Falls back to Zone.js `root.run()` or direct execution when no zone has been injected.\n */\n protected override ExecuteInBackgroundScope<T>(fn: () => T): T {\n if (this._ngZone) {\n return this._ngZone.runOutsideAngular(fn);\n }\n\n const holder = globalThis as RootZoneHolder;\n const rootZone = holder.Zone?.root;\n if (rootZone && typeof rootZone.run === 'function') {\n return rootZone.run(fn);\n }\n\n return fn();\n }\n}\n\n/**\n * Resolves an {@link AngularGraphQLDataProvider} instance. Reuses and attaches `ngZone` to an\n * existing `GraphQLDataProvider.Instance` when it is already an `AngularGraphQLDataProvider`, or\n * constructs a new instance (which upgrades an unconfigured base provider in the global store).\n */\nexport function ResolveAngularGraphQLProvider(ngZone?: NgZone | null): AngularGraphQLDataProvider {\n const existing = GraphQLDataProvider.Instance;\n if (existing instanceof AngularGraphQLDataProvider) {\n if (ngZone) {\n existing.SetNgZone(ngZone);\n }\n return existing;\n }\n return new AngularGraphQLDataProvider(ngZone);\n}\n\n/**\n * Initializes and configures the GraphQL client with an {@link AngularGraphQLDataProvider},\n * ensuring WebSocket transport operations run outside Angular's change-detection zone.\n */\nexport async function SetupAngularGraphQLClient(\n config: GraphQLProviderConfigData,\n ngZone?: NgZone | null\n): Promise<AngularGraphQLDataProvider> {\n const provider = ResolveAngularGraphQLProvider(ngZone);\n await SetupGraphQLClient(config, provider);\n return provider;\n}\n\n/**\n * Connects to GraphQL and metadata with an {@link AngularGraphQLDataProvider}, ensuring WebSocket\n * transport operations run outside Angular's change-detection zone.\n */\nexport async function ConnectAngularGraphQLClient(\n config: GraphQLProviderConfigData,\n ngZone?: NgZone | null\n): Promise<AngularGraphQLDataProvider> {\n const provider = ResolveAngularGraphQLProvider(ngZone);\n await ConnectGraphQLClient(config, provider);\n return provider;\n}\n"]}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export * from './lib/ag-grid-theme-params';
|
|
|
8
8
|
export * from './lib/loading/loading.component';
|
|
9
9
|
export * from './lib/rich-text/rich-text-sanitize';
|
|
10
10
|
export * from './lib/rich-text/safe-rich-html.pipe';
|
|
11
|
+
export * from './lib/angular-graphql-data-provider';
|
|
11
12
|
//# sourceMappingURL=public-api.d.ts.map
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,cAAc,CAAC;AAG7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAG7C,cAAc,iBAAiB,CAAC;AAGhC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,iCAAiC,CAAC;AAGhD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,cAAc,CAAC;AAG7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAG7C,cAAc,iBAAiB,CAAC;AAGhC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,iCAAiC,CAAC;AAGhD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,qCAAqC,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -17,4 +17,6 @@ export * from './lib/loading/loading.component';
|
|
|
17
17
|
// Rich-text rendering (safe HTML/SVG sanitization)
|
|
18
18
|
export * from './lib/rich-text/rich-text-sanitize';
|
|
19
19
|
export * from './lib/rich-text/safe-rich-html.pipe';
|
|
20
|
+
// Angular GraphQL Provider
|
|
21
|
+
export * from './lib/angular-graphql-data-provider';
|
|
20
22
|
//# sourceMappingURL=public-api.js.map
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,cAAc,CAAC;AAE7B,WAAW;AACX,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAE7C,cAAc;AACd,cAAc,iBAAiB,CAAC;AAEhC,oBAAoB;AACpB,cAAc,4BAA4B,CAAC;AAE3C,aAAa;AACb,cAAc,iCAAiC,CAAC;AAEhD,mDAAmD;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC","sourcesContent":["/*\n * Public API Surface for @memberjunction/ng-shared-generic\n */\n\n// Module\nexport * from './lib/module';\n\n// Services\nexport * from './lib/recent-access.service';\nexport * from './lib/recent-resource-type';\nexport * from './lib/theme.service';\nexport * from './lib/brand-overlay-prepaint';\n\n// DOM helpers\nexport * from './lib/dom-utils';\n\n// Theming constants\nexport * from './lib/ag-grid-theme-params';\n\n// Components\nexport * from './lib/loading/loading.component';\n\n// Rich-text rendering (safe HTML/SVG sanitization)\nexport * from './lib/rich-text/rich-text-sanitize';\nexport * from './lib/rich-text/safe-rich-html.pipe';\n"]}
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,cAAc,CAAC;AAE7B,WAAW;AACX,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAE7C,cAAc;AACd,cAAc,iBAAiB,CAAC;AAEhC,oBAAoB;AACpB,cAAc,4BAA4B,CAAC;AAE3C,aAAa;AACb,cAAc,iCAAiC,CAAC;AAEhD,mDAAmD;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AAEpD,2BAA2B;AAC3B,cAAc,qCAAqC,CAAC","sourcesContent":["/*\n * Public API Surface for @memberjunction/ng-shared-generic\n */\n\n// Module\nexport * from './lib/module';\n\n// Services\nexport * from './lib/recent-access.service';\nexport * from './lib/recent-resource-type';\nexport * from './lib/theme.service';\nexport * from './lib/brand-overlay-prepaint';\n\n// DOM helpers\nexport * from './lib/dom-utils';\n\n// Theming constants\nexport * from './lib/ag-grid-theme-params';\n\n// Components\nexport * from './lib/loading/loading.component';\n\n// Rich-text rendering (safe HTML/SVG sanitization)\nexport * from './lib/rich-text/rich-text-sanitize';\nexport * from './lib/rich-text/safe-rich-html.pipe';\n\n// Angular GraphQL Provider\nexport * from './lib/angular-graphql-data-provider';\n\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-shared-generic",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-edge.1",
|
|
4
4
|
"description": "MemberJunction: Generic Angular Shared Package - utility services and reusable elements used in any Angular application.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@angular/compiler": "21.2.22",
|
|
18
18
|
"@angular/compiler-cli": "21.2.22",
|
|
19
|
-
"@memberjunction/ng-test-utils": "6.
|
|
19
|
+
"@memberjunction/ng-test-utils": "6.3.0-edge.1",
|
|
20
20
|
"vitest": "^4.0.18"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -26,11 +26,12 @@
|
|
|
26
26
|
"rxjs": "^7.8.2"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@memberjunction/core": "6.
|
|
30
|
-
"@memberjunction/ng-base-types": "6.
|
|
31
|
-
"@memberjunction/core-entities": "6.
|
|
32
|
-
"@memberjunction/global": "6.
|
|
33
|
-
"@memberjunction/
|
|
29
|
+
"@memberjunction/core": "6.3.0-edge.1",
|
|
30
|
+
"@memberjunction/ng-base-types": "6.3.0-edge.1",
|
|
31
|
+
"@memberjunction/core-entities": "6.3.0-edge.1",
|
|
32
|
+
"@memberjunction/global": "6.3.0-edge.1",
|
|
33
|
+
"@memberjunction/graphql-dataprovider": "6.3.0-edge.1",
|
|
34
|
+
"@memberjunction/theme-engine": "6.3.0-edge.1",
|
|
34
35
|
"dompurify": "^3.3.0",
|
|
35
36
|
"tslib": "^2.8.1"
|
|
36
37
|
},
|