@memberjunction/ng-shared 1.0.8 → 1.0.11
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/shared.service.d.ts +0 -1
- package/dist/lib/shared.service.d.ts.map +1 -1
- package/dist/lib/shared.service.js +0 -4
- package/dist/module.d.ts +2 -3
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +2 -6
- package/dist/public-api.d.ts +0 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -2
- package/package.json +4 -5
- package/dist/lib/util.d.ts +0 -2
- package/dist/lib/util.d.ts.map +0 -1
- package/dist/lib/util.js +0 -16
|
@@ -69,7 +69,6 @@ export declare class SharedService {
|
|
|
69
69
|
* @returns
|
|
70
70
|
*/
|
|
71
71
|
mapResourceTypeRouteSegmentToName(resourceRouteSegment: string): string | null;
|
|
72
|
-
kendoSVGIcon(iconName: string): any;
|
|
73
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
74
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
75
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.service.d.ts","sourceRoot":"","sources":["../../src/lib/shared.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAsB,eAAe,EAAW,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG3G,OAAO,EAAW,UAAU,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAwB,MAAM,sCAAsC,CAAC;;
|
|
1
|
+
{"version":3,"file":"shared.service.d.ts","sourceRoot":"","sources":["../../src/lib/shared.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAsB,eAAe,EAAW,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,kBAAkB,EA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AC,CAAC"}
|
|
@@ -11,7 +11,6 @@ import { Injectable } from '@angular/core';
|
|
|
11
11
|
import { LogError, Metadata, RunView } from '@memberjunction/core';
|
|
12
12
|
import { MJEventType, MJGlobal } from '@memberjunction/global';
|
|
13
13
|
import { Subject } from 'rxjs';
|
|
14
|
-
import { kendoSVGIcon } from './util';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
import * as i1 from "@progress/kendo-angular-notification";
|
|
17
16
|
export class SharedService {
|
|
@@ -293,9 +292,6 @@ export class SharedService {
|
|
|
293
292
|
else
|
|
294
293
|
return null;
|
|
295
294
|
}
|
|
296
|
-
kendoSVGIcon(iconName) {
|
|
297
|
-
return kendoSVGIcon(iconName);
|
|
298
|
-
}
|
|
299
295
|
}
|
|
300
296
|
SharedService._loaded = false;
|
|
301
297
|
SharedService._resourceTypes = [];
|
package/dist/module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./lib/urlPipe";
|
|
3
|
-
import * as i2 from "@progress/kendo-angular-
|
|
4
|
-
import * as i3 from "@progress/kendo-angular-notification";
|
|
3
|
+
import * as i2 from "@progress/kendo-angular-notification";
|
|
5
4
|
export declare class MemberJunctionSharedModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MemberJunctionSharedModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MemberJunctionSharedModule, [typeof i1.URLPipe], [typeof i2.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MemberJunctionSharedModule, [typeof i1.URLPipe], [typeof i2.NotificationModule], [typeof i1.URLPipe]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<MemberJunctionSharedModule>;
|
|
9
8
|
}
|
|
10
9
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;AAIA,qBAWa,0BAA0B;yCAA1B,0BAA0B;0CAA1B,0BAA0B;0CAA1B,0BAA0B;CAAI"}
|
package/dist/module.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
3
2
|
import { URLPipe } from './lib/urlPipe';
|
|
4
3
|
import { NotificationModule } from '@progress/kendo-angular-notification';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,8 +6,7 @@ export class MemberJunctionSharedModule {
|
|
|
7
6
|
}
|
|
8
7
|
MemberJunctionSharedModule.ɵfac = function MemberJunctionSharedModule_Factory(t) { return new (t || MemberJunctionSharedModule)(); };
|
|
9
8
|
MemberJunctionSharedModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MemberJunctionSharedModule });
|
|
10
|
-
MemberJunctionSharedModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
11
|
-
NotificationModule] });
|
|
9
|
+
MemberJunctionSharedModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [NotificationModule] });
|
|
12
10
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MemberJunctionSharedModule, [{
|
|
13
11
|
type: NgModule,
|
|
14
12
|
args: [{
|
|
@@ -16,7 +14,6 @@ MemberJunctionSharedModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports
|
|
|
16
14
|
URLPipe
|
|
17
15
|
],
|
|
18
16
|
imports: [
|
|
19
|
-
IconsModule,
|
|
20
17
|
NotificationModule,
|
|
21
18
|
],
|
|
22
19
|
exports: [
|
|
@@ -24,5 +21,4 @@ MemberJunctionSharedModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports
|
|
|
24
21
|
]
|
|
25
22
|
}]
|
|
26
23
|
}], null, null); })();
|
|
27
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MemberJunctionSharedModule, { declarations: [URLPipe], imports: [
|
|
28
|
-
NotificationModule], exports: [URLPipe] }); })();
|
|
24
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MemberJunctionSharedModule, { declarations: [URLPipe], imports: [NotificationModule], exports: [URLPipe] }); })();
|
package/dist/public-api.d.ts
CHANGED
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":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,UAAU,CAAC"}
|
package/dist/public-api.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "MemberJunction: Angular Shared Package - utility functions and other reusable elements used across other MJ Angular packages",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -23,12 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@angular/common": "~17.2.2",
|
|
26
|
-
"@angular/core": "~17.2.2"
|
|
27
|
-
"@progress/kendo-svg-icons": "^2.1.0"
|
|
26
|
+
"@angular/core": "~17.2.2"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@memberjunction/core": "^1.0.
|
|
31
|
-
"@memberjunction/graphql-dataprovider": "^1.0.
|
|
29
|
+
"@memberjunction/core": "^1.0.11",
|
|
30
|
+
"@memberjunction/graphql-dataprovider": "^1.0.11",
|
|
32
31
|
"@progress/kendo-angular-notification": "~15.1.0",
|
|
33
32
|
"tslib": "^2.3.0"
|
|
34
33
|
},
|
package/dist/lib/util.d.ts
DELETED
package/dist/lib/util.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/lib/util.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,OAe1C"}
|
package/dist/lib/util.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as KendoSVGIcons from "@progress/kendo-svg-icons";
|
|
2
|
-
export function kendoSVGIcon(iconName) {
|
|
3
|
-
// Cast KendoSVGIcons to any to bypass the index signature check
|
|
4
|
-
try {
|
|
5
|
-
const lookupName = iconName.endsWith('Icon') ? iconName : iconName + 'Icon';
|
|
6
|
-
const icon = KendoSVGIcons[lookupName];
|
|
7
|
-
if (!icon)
|
|
8
|
-
console.log('Icon not found: ' + iconName);
|
|
9
|
-
return icon || null;
|
|
10
|
-
}
|
|
11
|
-
catch (e) {
|
|
12
|
-
// icon not found
|
|
13
|
-
console.log('Icon not found: ' + iconName);
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
}
|