@memberjunction/ng-dashboards 5.7.0 → 5.8.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.
Files changed (53) hide show
  1. package/dist/Integration/components/connection-studio/connection-studio.component.d.ts +81 -0
  2. package/dist/Integration/components/connection-studio/connection-studio.component.d.ts.map +1 -0
  3. package/dist/Integration/components/connection-studio/connection-studio.component.js +960 -0
  4. package/dist/Integration/components/connection-studio/connection-studio.component.js.map +1 -0
  5. package/dist/Integration/components/control-tower/control-tower.component.d.ts +43 -0
  6. package/dist/Integration/components/control-tower/control-tower.component.d.ts.map +1 -0
  7. package/dist/Integration/components/control-tower/control-tower.component.js +446 -0
  8. package/dist/Integration/components/control-tower/control-tower.component.js.map +1 -0
  9. package/dist/Integration/components/mapping-workspace/mapping-workspace.component.d.ts +43 -0
  10. package/dist/Integration/components/mapping-workspace/mapping-workspace.component.d.ts.map +1 -0
  11. package/dist/Integration/components/mapping-workspace/mapping-workspace.component.js +467 -0
  12. package/dist/Integration/components/mapping-workspace/mapping-workspace.component.js.map +1 -0
  13. package/dist/Integration/components/sync-activity/sync-activity.component.d.ts +65 -0
  14. package/dist/Integration/components/sync-activity/sync-activity.component.d.ts.map +1 -0
  15. package/dist/Integration/components/sync-activity/sync-activity.component.js +671 -0
  16. package/dist/Integration/components/sync-activity/sync-activity.component.js.map +1 -0
  17. package/dist/Integration/components/widgets/integration-card.component.d.ts +22 -0
  18. package/dist/Integration/components/widgets/integration-card.component.d.ts.map +1 -0
  19. package/dist/Integration/components/widgets/integration-card.component.js +262 -0
  20. package/dist/Integration/components/widgets/integration-card.component.js.map +1 -0
  21. package/dist/Integration/components/widgets/run-history-panel.component.d.ts +29 -0
  22. package/dist/Integration/components/widgets/run-history-panel.component.d.ts.map +1 -0
  23. package/dist/Integration/components/widgets/run-history-panel.component.js +398 -0
  24. package/dist/Integration/components/widgets/run-history-panel.component.js.map +1 -0
  25. package/dist/Integration/index.d.ts +9 -0
  26. package/dist/Integration/index.d.ts.map +1 -0
  27. package/dist/Integration/index.js +16 -0
  28. package/dist/Integration/index.js.map +1 -0
  29. package/dist/Integration/integration.module.d.ts +22 -0
  30. package/dist/Integration/integration.module.d.ts.map +1 -0
  31. package/dist/Integration/integration.module.js +88 -0
  32. package/dist/Integration/integration.module.js.map +1 -0
  33. package/dist/Integration/services/integration-data.service.d.ts +154 -0
  34. package/dist/Integration/services/integration-data.service.d.ts.map +1 -0
  35. package/dist/Integration/services/integration-data.service.js +292 -0
  36. package/dist/Integration/services/integration-data.service.js.map +1 -0
  37. package/dist/__tests__/connection-studio.test.d.ts +2 -0
  38. package/dist/__tests__/connection-studio.test.d.ts.map +1 -0
  39. package/dist/__tests__/connection-studio.test.js +186 -0
  40. package/dist/__tests__/connection-studio.test.js.map +1 -0
  41. package/dist/__tests__/integration-data-service.test.d.ts +2 -0
  42. package/dist/__tests__/integration-data-service.test.d.ts.map +1 -0
  43. package/dist/__tests__/integration-data-service.test.js +131 -0
  44. package/dist/__tests__/integration-data-service.test.js.map +1 -0
  45. package/dist/module.d.ts +2 -1
  46. package/dist/module.d.ts.map +1 -1
  47. package/dist/module.js +17 -6
  48. package/dist/module.js.map +1 -1
  49. package/dist/public-api.d.ts +2 -1
  50. package/dist/public-api.d.ts.map +1 -1
  51. package/dist/public-api.js +3 -1
  52. package/dist/public-api.js.map +1 -1
  53. package/package.json +40 -39
@@ -0,0 +1,81 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseResourceComponent } from '@memberjunction/ng-shared';
3
+ import { ResourceData, MJCredentialEntity } from '@memberjunction/core-entities';
4
+ import { CredentialDialogResult } from '@memberjunction/ng-credentials';
5
+ import { IntegrationDefinitionRow, SourceTypeRow } from '../../services/integration-data.service';
6
+ import * as i0 from "@angular/core";
7
+ interface StepDef {
8
+ Index: number;
9
+ Label: string;
10
+ }
11
+ type TestStatusType = 'idle' | 'testing' | 'success' | 'failed';
12
+ export declare class ConnectionStudioComponent extends BaseResourceComponent implements OnInit {
13
+ Steps: StepDef[];
14
+ CurrentStep: number;
15
+ Integrations: IntegrationDefinitionRow[];
16
+ SourceTypes: SourceTypeRow[];
17
+ IsLoadingIntegrations: boolean;
18
+ SelectedIntegrationID: string | null;
19
+ UseCustomMode: boolean;
20
+ CustomSourceTypeID: string | null;
21
+ Companies: Array<{
22
+ ID: string;
23
+ Name: string;
24
+ }>;
25
+ SelectedCompanyID: string | null;
26
+ NewCompanyName: string;
27
+ IsCreatingCompany: boolean;
28
+ ConnectionName: string;
29
+ ConnectionDescription: string;
30
+ SelectedCredential: MJCredentialEntity | null;
31
+ CredentialTypeName: string;
32
+ ShowCredentialDialog: boolean;
33
+ PreselectedCredentialTypeId: string | undefined;
34
+ CredentialPickerMode: 'choose' | 'existing' | 'new';
35
+ ExistingCredentials: MJCredentialEntity[];
36
+ IsLoadingCredentials: boolean;
37
+ TestStatus: TestStatusType;
38
+ TestMessage: string;
39
+ IsSaving: boolean;
40
+ SaveCompleted: boolean;
41
+ SaveError: string;
42
+ private dataService;
43
+ private cdr;
44
+ ngOnInit(): Promise<void>;
45
+ get SelectedIntegration(): IntegrationDefinitionRow | null;
46
+ get SelectedIntegrationName(): string;
47
+ get SelectedIntegrationIcon(): string;
48
+ get CustomSourceTypeName(): string;
49
+ get IsStep1Valid(): boolean;
50
+ get IsStep2Valid(): boolean;
51
+ LoadIntegrations(): Promise<void>;
52
+ get HasCompanies(): boolean;
53
+ get NeedsCompanyPicker(): boolean;
54
+ get SelectedCompanyName(): string;
55
+ CreateCompany(): Promise<void>;
56
+ SelectIntegration(integration: IntegrationDefinitionRow): void;
57
+ SelectCustomMode(): void;
58
+ SelectCustomSourceType(st: SourceTypeRow): void;
59
+ IsSelectedIntegration(id: string): boolean;
60
+ IsSelectedCustomSourceType(id: string): boolean;
61
+ IntegrationIcon(integration: IntegrationDefinitionRow): string;
62
+ get IntegrationCredentialTypeID(): string | null;
63
+ ShowExistingCredentials(): Promise<void>;
64
+ SelectExistingCredential(credential: MJCredentialEntity): void;
65
+ OpenCredentialDialog(): void;
66
+ OnCredentialDialogClose(result: CredentialDialogResult): void;
67
+ ClearCredential(): void;
68
+ BackToCredentialChoice(): void;
69
+ NextStep(): void;
70
+ PrevStep(): void;
71
+ TestConnection(): void;
72
+ SaveIntegration(): Promise<void>;
73
+ ResetWizard(): void;
74
+ GetResourceDisplayName(_data: ResourceData): Promise<string>;
75
+ GetResourceIconClass(_data: ResourceData): Promise<string>;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionStudioComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConnectionStudioComponent, "app-connection-studio", never, {}, {}, never, never, false, never>;
78
+ }
79
+ export declare function LoadConnectionStudio(): void;
80
+ export {};
81
+ //# sourceMappingURL=connection-studio.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection-studio.component.d.ts","sourceRoot":"","sources":["../../../../src/Integration/components/connection-studio/connection-studio.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAA6B,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAA+C,MAAM,+BAA+B,CAAC;AAE9H,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAEL,wBAAwB,EACxB,aAAa,EACd,MAAM,yCAAyC,CAAC;;AAEjD,UAAU,OAAO;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAoBhE,qBAOa,yBAA0B,SAAQ,qBAAsB,YAAW,MAAM;IAEpF,KAAK,EAAE,OAAO,EAAE,CAId;IAEF,WAAW,SAAK;IAGhB,YAAY,EAAE,wBAAwB,EAAE,CAAM;IAC9C,WAAW,EAAE,aAAa,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