@memberjunction/ng-shared 1.3.3 → 1.4.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.
@@ -1 +1 @@
1
- {"version":3,"file":"base-resource-component.d.ts","sourceRoot":"","sources":["../../src/lib/base-resource-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,8BAAsB,qBAAqB;IAChC,IAAI,EAAE,YAAY,CAAsB;IAE/C,OAAO,CAAC,aAAa,CAAkB;IACvC,IAAW,YAAY,IAAI,OAAO,CAEjC;IAED,OAAO,CAAC,YAAY,CAAkB;IACtC,IAAW,WAAW,IAAI,OAAO,CAEhC;IAED,OAAO,CAAC,kBAAkB,CAAa;IACvC,IAAW,iBAAiB,IAAI,GAAG,CAElC;IACD,IAAW,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAEtC;IAED,OAAO,CAAC,iBAAiB,CAAa;IACtC,IAAW,gBAAgB,IAAI,GAAG,CAEjC;IACD,IAAW,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAErC;IAED,OAAO,CAAC,yBAAyB,CAAa;IAC9C,IAAW,wBAAwB,IAAI,GAAG,CAEzC;IACD,IAAW,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAE7C;IAED,SAAS,CAAC,kBAAkB;IAO5B,SAAS,CAAC,iBAAiB;IAQ3B,SAAS,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,UAAU;IAO9D,QAAQ,CAAC,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;CACvE;AAED,qBAAa,YAAY;gBACT,IAAI,GAAE,GAAU;IASrB,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,cAAc,EAAG,MAAM,CAAC;IACxB,gBAAgB,EAAG,GAAG,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC;IAE1B;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAGhC;IACD,IAAW,YAAY,IAAI,MAAM,CAGhC;CACJ"}
1
+ {"version":3,"file":"base-resource-component.d.ts","sourceRoot":"","sources":["../../src/lib/base-resource-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,8BAAsB,qBAAqB;IAChC,IAAI,EAAE,YAAY,CAAsB;IAE/C,OAAO,CAAC,aAAa,CAAkB;IACvC,IAAW,YAAY,IAAI,OAAO,CAEjC;IAED,OAAO,CAAC,YAAY,CAAkB;IACtC,IAAW,WAAW,IAAI,OAAO,CAEhC;IAGD,OAAO,CAAC,kBAAkB,CAAa;IACvC,IAAW,iBAAiB,IAAI,GAAG,CAElC;IACD,IAAW,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAEtC;IAED,OAAO,CAAC,iBAAiB,CAAa;IACtC,IAAW,gBAAgB,IAAI,GAAG,CAEjC;IACD,IAAW,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAErC;IAED,OAAO,CAAC,yBAAyB,CAAa;IAC9C,IAAW,wBAAwB,IAAI,GAAG,CAEzC;IACD,IAAW,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAE7C;IAED,SAAS,CAAC,kBAAkB;IAO5B,SAAS,CAAC,iBAAiB;IAS3B,SAAS,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,UAAU;IAO9D,QAAQ,CAAC,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;CACvE;AAED,qBAAa,YAAY;gBACT,IAAI,GAAE,GAAU;IASrB,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,cAAc,EAAG,MAAM,CAAC;IACxB,gBAAgB,EAAG,GAAG,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC;IAE1B;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAGhC;IACD,IAAW,YAAY,IAAI,MAAM,CAGhC;CACJ"}
@@ -45,7 +45,7 @@ export class BaseResourceComponent {
45
45
  }
46
46
  }
47
47
  ResourceRecordSaved(resourceRecordEntity) {
48
- this.Data.ResourceRecordID = resourceRecordEntity.PrimaryKey.Value;
48
+ this.Data.ResourceRecordID = resourceRecordEntity.PrimaryKey.ToString();
49
49
  if (this._resourceRecordSavedEvent) {
50
50
  this._resourceRecordSavedEvent(resourceRecordEntity);
51
51
  }
@@ -1,3 +1,4 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { ResourceTypeEntity, UserNotificationEntity, ViewColumnInfo } from '@memberjunction/core-entities';
2
3
  import { Observable } from 'rxjs';
3
4
  import { NotificationService } from "@progress/kendo-angular-notification";
@@ -35,6 +36,10 @@ export declare class SharedService {
35
36
  static get UserNotifications(): UserNotificationEntity[];
36
37
  static get UnreadUserNotifications(): UserNotificationEntity[];
37
38
  static get UnreadUserNotificationCount(): number;
39
+ /**
40
+ * Utility method that returns true if child is a descendant of parent, false otherwise.
41
+ */
42
+ static IsDescendant(parent: ElementRef, child: ElementRef): boolean;
38
43
  /**
39
44
  * Creates a notification in the database and refreshes the UI. Returns the notification object.
40
45
  * @param title
@@ -86,6 +91,19 @@ export declare const EventCodes: {
86
91
  readonly ViewNotifications: "ViewNotifications";
87
92
  readonly PushStatusUpdates: "PushStatusUpdates";
88
93
  readonly UserNotificationsUpdated: "UserNotificationsUpdated";
94
+ readonly CloseCurrentTab: "CloseCurrentTab";
89
95
  };
90
96
  export type EventCodes = typeof EventCodes[keyof typeof EventCodes];
97
+ export declare const BaseFormComponentEventCodes: {
98
+ readonly BASE_CODE: "BaseFormComponent_Event";
99
+ readonly EDITING_COMPLETE: "EDITING_COMPLETE";
100
+ readonly REVERT_PENDING_CHANGES: "REVERT_PENDING_CHANGES";
101
+ readonly POPULATE_PENDING_RECORDS: "POPULATE_PENDING_RECORDS";
102
+ };
103
+ export type BaseFormComponentEventCodes = typeof BaseFormComponentEventCodes[keyof typeof BaseFormComponentEventCodes];
104
+ export declare class BaseFormComponentEvent {
105
+ subEventCode: string;
106
+ elementRef: any;
107
+ returnValue: any;
108
+ }
91
109
  //# sourceMappingURL=shared.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.service.d.ts","sourceRoot":"","sources":["../../src/lib/shared.service.ts"],"names":[],"mappings":"AAEA,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;;AAEjG,qBAGa,aAAa;IAOZ,OAAO,CAAC,mBAAmB;IANvC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAgB;IACxC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAkB;IACxC,OAAO,CAAC,MAAM,CAAC,cAAc,CAA4B;IACzD,OAAO,CAAC,SAAS,CAAiB;IAClC,UAAU,sBAAiC;gBAEvB,mBAAmB,EAAE,mBAAmB;IAwD5D,WAAkB,QAAQ,IAAI,aAAa,CAE1C;IAED;;OAEG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED,IAAW,aAAa,IAAI,kBAAkB,EAAE,CAE/C;IACD,IAAW,gBAAgB,IAAI,kBAAkB,CAEhD;IACD,IAAW,kBAAkB,IAAI,kBAAkB,CAElD;IACD,IAAW,qBAAqB,IAAI,kBAAkB,CAErD;IACD,IAAW,kBAAkB,IAAI,kBAAkB,CAElD;IACD,IAAW,yBAAyB,IAAI,kBAAkB,CAEzD;IACM,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAG5D,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;WAInD,WAAW;IAuC/B,iBAAiB,CAAC,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAE,MAAU,EAAE,aAAa,GAAE,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,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG1E,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAab,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAA;AACV,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAEvH,qBAAa,sBAAsB;IACjC,YAAY,EAAG,MAAM,CAAA;IACrB,UAAU,EAAE,GAAG,CAAA;IACf,WAAW,EAAE,GAAG,CAAA;CACjB"}
@@ -200,6 +200,21 @@ export class SharedService {
200
200
  static get UnreadUserNotificationCount() {
201
201
  return SharedService.UnreadUserNotifications.length;
202
202
  }
203
+ /**
204
+ * Utility method that returns true if child is a descendant of parent, false otherwise.
205
+ */
206
+ static IsDescendant(parent, child) {
207
+ if (parent && child && parent.nativeElement && child.nativeElement) {
208
+ let node = child.nativeElement.parentNode;
209
+ while (node != null) {
210
+ if (node == parent.nativeElement) {
211
+ return true;
212
+ }
213
+ node = node.parentNode;
214
+ }
215
+ }
216
+ return false;
217
+ }
203
218
  /**
204
219
  * Creates a notification in the database and refreshes the UI. Returns the notification object.
205
220
  * @param title
@@ -323,5 +338,14 @@ export const EventCodes = {
323
338
  RunSearch: "RunSearch",
324
339
  ViewNotifications: "ViewNotifications",
325
340
  PushStatusUpdates: "PushStatusUpdates",
326
- UserNotificationsUpdated: "UserNotificationsUpdated"
341
+ UserNotificationsUpdated: "UserNotificationsUpdated",
342
+ CloseCurrentTab: "CloseCurrentTab"
327
343
  };
344
+ export const BaseFormComponentEventCodes = {
345
+ BASE_CODE: 'BaseFormComponent_Event',
346
+ EDITING_COMPLETE: 'EDITING_COMPLETE',
347
+ REVERT_PENDING_CHANGES: 'REVERT_PENDING_CHANGES',
348
+ POPULATE_PENDING_RECORDS: 'POPULATE_PENDING_RECORDS'
349
+ };
350
+ export class BaseFormComponentEvent {
351
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SimpleTextFormatPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTextFormatPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SimpleTextFormatPipe, "formatText", false>;
7
+ }
8
+ //# sourceMappingURL=simpleTextFormat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simpleTextFormat.d.ts","sourceRoot":"","sources":["../../src/lib/simpleTextFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAEpD,qBACa,oBAAqB,YAAW,aAAa;IACxD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCADrB,oBAAoB;uCAApB,oBAAoB;CAShC"}
@@ -0,0 +1,18 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class SimpleTextFormatPipe {
4
+ transform(value) {
5
+ if (!value)
6
+ return value;
7
+ // Replace \n with <br> and \t with non-breaking spaces
8
+ return value
9
+ .replace(/\n/g, '<br>')
10
+ .replace(/\t/g, '&nbsp;&nbsp;&nbsp;&nbsp;');
11
+ }
12
+ }
13
+ SimpleTextFormatPipe.ɵfac = function SimpleTextFormatPipe_Factory(t) { return new (t || SimpleTextFormatPipe)(); };
14
+ SimpleTextFormatPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "formatText", type: SimpleTextFormatPipe, pure: true });
15
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SimpleTextFormatPipe, [{
16
+ type: Pipe,
17
+ args: [{ name: 'formatText' }]
18
+ }], null, null); })();
package/dist/module.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./lib/urlPipe";
3
- import * as i2 from "@progress/kendo-angular-notification";
3
+ import * as i2 from "./lib/simpleTextFormat";
4
+ import * as i3 from "@progress/kendo-angular-notification";
4
5
  export declare class MemberJunctionSharedModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MemberJunctionSharedModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MemberJunctionSharedModule, [typeof i1.URLPipe], [typeof i2.NotificationModule], [typeof i1.URLPipe]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MemberJunctionSharedModule, [typeof i1.URLPipe, typeof i2.SimpleTextFormatPipe], [typeof i3.NotificationModule], [typeof i1.URLPipe, typeof i2.SimpleTextFormatPipe]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MemberJunctionSharedModule>;
8
9
  }
9
10
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;AAIA,qBAWa,0BAA0B;yCAA1B,0BAA0B;0CAA1B,0BAA0B;0CAA1B,0BAA0B;CAAI"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;AAKA,qBAaa,0BAA0B;yCAA1B,0BAA0B;0CAA1B,0BAA0B;0CAA1B,0BAA0B;CAAI"}
package/dist/module.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { URLPipe } from './lib/urlPipe';
3
3
  import { NotificationModule } from '@progress/kendo-angular-notification';
4
+ import { SimpleTextFormatPipe } from './lib/simpleTextFormat';
4
5
  import * as i0 from "@angular/core";
5
6
  export class MemberJunctionSharedModule {
6
7
  }
@@ -11,14 +12,18 @@ MemberJunctionSharedModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports
11
12
  type: NgModule,
12
13
  args: [{
13
14
  declarations: [
14
- URLPipe
15
+ URLPipe,
16
+ SimpleTextFormatPipe
15
17
  ],
16
18
  imports: [
17
19
  NotificationModule,
18
20
  ],
19
21
  exports: [
20
- URLPipe
22
+ URLPipe,
23
+ SimpleTextFormatPipe
21
24
  ]
22
25
  }]
23
26
  }], null, null); })();
24
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MemberJunctionSharedModule, { declarations: [URLPipe], imports: [NotificationModule], exports: [URLPipe] }); })();
27
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MemberJunctionSharedModule, { declarations: [URLPipe,
28
+ SimpleTextFormatPipe], imports: [NotificationModule], exports: [URLPipe,
29
+ SimpleTextFormatPipe] }); })();
@@ -1,4 +1,5 @@
1
1
  export * from './lib/urlPipe';
2
+ export * from './lib/simpleTextFormat';
2
3
  export * from './lib/shared.service';
3
4
  export * from './lib/base-resource-component';
4
5
  export * from './module';
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,UAAU,CAAC"}
@@ -2,6 +2,7 @@
2
2
  * Public API Surface
3
3
  */
4
4
  export * from './lib/urlPipe';
5
+ export * from './lib/simpleTextFormat';
5
6
  export * from './lib/shared.service';
6
7
  export * from './lib/base-resource-component';
7
8
  export * from './module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-shared",
3
- "version": "1.3.3",
3
+ "version": "1.4.1",
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",
@@ -26,8 +26,8 @@
26
26
  "@angular/core": "~17.2.2"
27
27
  },
28
28
  "dependencies": {
29
- "@memberjunction/core": "~1.3.3",
30
- "@memberjunction/graphql-dataprovider": "~1.3.3",
29
+ "@memberjunction/core": "~1.4.1",
30
+ "@memberjunction/graphql-dataprovider": "~1.4.1",
31
31
  "@progress/kendo-angular-notification": "~15.1.0",
32
32
  "tslib": "^2.3.0"
33
33
  },