@ingestro/pipelines-angular 1.0.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.
@@ -0,0 +1,1122 @@
1
+ import { CreatePipeline, ExecutionDetails, ExecutionList, PipelineList, PipelineDetails, CreateConnector, CreateTargetDataModel, FileUploader, ConnectorDetails, TargetDataModelList, ConnectorList, TargetDataModelDetails } from './adapter.js';
2
+ export * from './adapter.js';
3
+ import * as i0 from '@angular/core';
4
+ import { VERSION, EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ const mergeMetaConfig = (config) => {
8
+ return {
9
+ ...config,
10
+ metaData: {
11
+ framework: {
12
+ name: 'angular',
13
+ framework_version: VERSION.full,
14
+ },
15
+ },
16
+ };
17
+ };
18
+
19
+ let id$b = 0;
20
+ class CreatePipelineComponent {
21
+ id;
22
+ initialized = false;
23
+ accessToken;
24
+ templateId;
25
+ configuration;
26
+ settings;
27
+ onPipelineCreate = new EventEmitter();
28
+ onConnectorCreate = new EventEmitter();
29
+ onTdmCreate = new EventEmitter();
30
+ onExecutionView = new EventEmitter();
31
+ onClose = new EventEmitter();
32
+ onPipelineCreateHandler = (args) => {
33
+ this.onPipelineCreate.emit(args);
34
+ };
35
+ onConnectorCreateHandler = (args) => {
36
+ this.onConnectorCreate.emit(args);
37
+ };
38
+ onTdmCreateHandler = (args) => {
39
+ this.onTdmCreate.emit(args);
40
+ };
41
+ onExecutionViewHandler = (args) => {
42
+ this.onExecutionView.emit(args);
43
+ };
44
+ onCloseHandler = () => {
45
+ this.onClose.emit();
46
+ };
47
+ constructor() {
48
+ this.id = id$b++;
49
+ }
50
+ ngAfterViewInit() {
51
+ this.createPipeline();
52
+ }
53
+ ngOnChanges() {
54
+ if (this.initialized) {
55
+ this.createPipeline();
56
+ }
57
+ }
58
+ ngOnInit() {
59
+ this.initialized = true;
60
+ }
61
+ createPipeline() {
62
+ const config = mergeMetaConfig({
63
+ accessToken: this.accessToken,
64
+ templateId: this.templateId,
65
+ configuration: this.configuration,
66
+ settings: {
67
+ ...this.settings,
68
+ // @ts-expect-error identifier is hidden
69
+ identifier: `create-pipeline-adapter-${this.id}`,
70
+ },
71
+ onPipelineCreate: this.onPipelineCreate.observed
72
+ ? this.onPipelineCreateHandler
73
+ : undefined,
74
+ onConnectorCreate: this.onConnectorCreate.observed
75
+ ? this.onConnectorCreateHandler
76
+ : undefined,
77
+ onTdmCreate: this.onTdmCreate.observed
78
+ ? this.onTdmCreateHandler
79
+ : undefined,
80
+ onExecutionView: this.onExecutionView.observed
81
+ ? this.onExecutionViewHandler
82
+ : undefined,
83
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
84
+ });
85
+ CreatePipeline(`#create-pipeline-adapter-${this.id}`, config);
86
+ }
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
88
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: CreatePipelineComponent, isStandalone: false, selector: "create-pipeline", inputs: { accessToken: "accessToken", templateId: "templateId", configuration: "configuration", settings: "settings" }, outputs: { onPipelineCreate: "onPipelineCreate", onConnectorCreate: "onConnectorCreate", onTdmCreate: "onTdmCreate", onExecutionView: "onExecutionView", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="create-pipeline-adapter-{{ id }}"></div>', isInline: true });
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineComponent, decorators: [{
91
+ type: Component,
92
+ args: [{
93
+ selector: 'create-pipeline',
94
+ template: '<div id="create-pipeline-adapter-{{ id }}"></div>',
95
+ standalone: false,
96
+ }]
97
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
98
+ type: Input,
99
+ args: [{ required: true }]
100
+ }], templateId: [{
101
+ type: Input
102
+ }], configuration: [{
103
+ type: Input
104
+ }], settings: [{
105
+ type: Input
106
+ }], onPipelineCreate: [{
107
+ type: Output
108
+ }], onConnectorCreate: [{
109
+ type: Output
110
+ }], onTdmCreate: [{
111
+ type: Output
112
+ }], onExecutionView: [{
113
+ type: Output
114
+ }], onClose: [{
115
+ type: Output
116
+ }] } });
117
+
118
+ class CreatePipelineModule {
119
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
120
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineModule, declarations: [CreatePipelineComponent], imports: [CommonModule], exports: [CreatePipelineComponent] });
121
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineModule, imports: [CommonModule] });
122
+ }
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreatePipelineModule, decorators: [{
124
+ type: NgModule,
125
+ args: [{
126
+ declarations: [CreatePipelineComponent],
127
+ imports: [CommonModule],
128
+ exports: [CreatePipelineComponent],
129
+ }]
130
+ }] });
131
+
132
+ let id$a = 0;
133
+ class ExecutionDetailsComponent {
134
+ id;
135
+ initialized = false;
136
+ accessToken;
137
+ executionId;
138
+ settings;
139
+ onExecutionRun = new EventEmitter();
140
+ onClose = new EventEmitter();
141
+ onExecutionRunHandler = (args) => {
142
+ this.onExecutionRun.emit(args);
143
+ };
144
+ onCloseHandler = () => {
145
+ this.onClose.emit();
146
+ };
147
+ constructor() {
148
+ this.id = id$a++;
149
+ }
150
+ ngAfterViewInit() {
151
+ this.executionDetails();
152
+ }
153
+ ngOnChanges() {
154
+ if (this.initialized) {
155
+ this.executionDetails();
156
+ }
157
+ }
158
+ ngOnInit() {
159
+ this.initialized = true;
160
+ }
161
+ executionDetails() {
162
+ const config = mergeMetaConfig({
163
+ accessToken: this.accessToken,
164
+ executionId: this.executionId,
165
+ settings: {
166
+ ...this.settings,
167
+ // @ts-expect-error identifier is hidden
168
+ identifier: `execution-details-adapter-${this.id}`,
169
+ },
170
+ onExecutionRun: this.onExecutionRun.observed
171
+ ? this.onExecutionRunHandler
172
+ : undefined,
173
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
174
+ });
175
+ ExecutionDetails(`#execution-details-adapter-${this.id}`, config);
176
+ }
177
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
178
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: ExecutionDetailsComponent, isStandalone: false, selector: "execution-details", inputs: { accessToken: "accessToken", executionId: "executionId", settings: "settings" }, outputs: { onExecutionRun: "onExecutionRun", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="execution-details-adapter-{{ id }}"></div>', isInline: true });
179
+ }
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsComponent, decorators: [{
181
+ type: Component,
182
+ args: [{
183
+ selector: 'execution-details',
184
+ template: '<div id="execution-details-adapter-{{ id }}"></div>',
185
+ standalone: false,
186
+ }]
187
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
188
+ type: Input,
189
+ args: [{ required: true }]
190
+ }], executionId: [{
191
+ type: Input,
192
+ args: [{ required: true }]
193
+ }], settings: [{
194
+ type: Input
195
+ }], onExecutionRun: [{
196
+ type: Output
197
+ }], onClose: [{
198
+ type: Output
199
+ }] } });
200
+
201
+ class ExecutionDetailsModule {
202
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
203
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsModule, declarations: [ExecutionDetailsComponent], imports: [CommonModule], exports: [ExecutionDetailsComponent] });
204
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsModule, imports: [CommonModule] });
205
+ }
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionDetailsModule, decorators: [{
207
+ type: NgModule,
208
+ args: [{
209
+ declarations: [ExecutionDetailsComponent],
210
+ imports: [CommonModule],
211
+ exports: [ExecutionDetailsComponent],
212
+ }]
213
+ }] });
214
+
215
+ let id$9 = 0;
216
+ class ExecutionListComponent {
217
+ id;
218
+ initialized = false;
219
+ accessToken;
220
+ pipelineId;
221
+ settings;
222
+ onClose = new EventEmitter();
223
+ onExecutionView = new EventEmitter();
224
+ onCloseHandler = () => {
225
+ this.onClose.emit();
226
+ };
227
+ onExecutionViewHandler = (args) => {
228
+ this.onExecutionView.emit(args);
229
+ };
230
+ constructor() {
231
+ this.id = id$9++;
232
+ }
233
+ ngAfterViewInit() {
234
+ this.executionList();
235
+ }
236
+ ngOnChanges() {
237
+ if (this.initialized) {
238
+ this.executionList();
239
+ }
240
+ }
241
+ ngOnInit() {
242
+ this.initialized = true;
243
+ }
244
+ executionList() {
245
+ const config = mergeMetaConfig({
246
+ accessToken: this.accessToken,
247
+ pipelineId: this.pipelineId,
248
+ settings: {
249
+ ...this.settings,
250
+ // @ts-expect-error identifier is hidden
251
+ identifier: `execution-list-adapter-${this.id}`,
252
+ },
253
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
254
+ onExecutionView: this.onExecutionView.observed
255
+ ? this.onExecutionViewHandler
256
+ : undefined,
257
+ });
258
+ ExecutionList(`#execution-list-adapter-${this.id}`, config);
259
+ }
260
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
261
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: ExecutionListComponent, isStandalone: false, selector: "execution-list", inputs: { accessToken: "accessToken", pipelineId: "pipelineId", settings: "settings" }, outputs: { onClose: "onClose", onExecutionView: "onExecutionView" }, usesOnChanges: true, ngImport: i0, template: '<div id="execution-list-adapter-{{ id }}"></div>', isInline: true });
262
+ }
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListComponent, decorators: [{
264
+ type: Component,
265
+ args: [{
266
+ selector: 'execution-list',
267
+ template: '<div id="execution-list-adapter-{{ id }}"></div>',
268
+ standalone: false,
269
+ }]
270
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
271
+ type: Input,
272
+ args: [{ required: true }]
273
+ }], pipelineId: [{
274
+ type: Input
275
+ }], settings: [{
276
+ type: Input
277
+ }], onClose: [{
278
+ type: Output
279
+ }], onExecutionView: [{
280
+ type: Output
281
+ }] } });
282
+
283
+ class ExecutionListModule {
284
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
285
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListModule, declarations: [ExecutionListComponent], imports: [CommonModule], exports: [ExecutionListComponent] });
286
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListModule, imports: [CommonModule] });
287
+ }
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExecutionListModule, decorators: [{
289
+ type: NgModule,
290
+ args: [{
291
+ declarations: [ExecutionListComponent],
292
+ imports: [CommonModule],
293
+ exports: [ExecutionListComponent],
294
+ }]
295
+ }] });
296
+
297
+ let id$8 = 0;
298
+ class PipelineListComponent {
299
+ id;
300
+ initialized = false;
301
+ accessToken;
302
+ settings;
303
+ onPipelineView = new EventEmitter();
304
+ onPipelineCreate = new EventEmitter();
305
+ onClose = new EventEmitter();
306
+ onPipelineViewHandler = (args) => {
307
+ this.onPipelineView.emit(args);
308
+ };
309
+ onPipelineCreateHandler = () => {
310
+ this.onPipelineCreate.emit();
311
+ };
312
+ onCloseHandler = () => {
313
+ this.onClose.emit();
314
+ };
315
+ constructor() {
316
+ this.id = id$8++;
317
+ }
318
+ ngAfterViewInit() {
319
+ this.pipelineList();
320
+ }
321
+ ngOnChanges() {
322
+ if (this.initialized) {
323
+ this.pipelineList();
324
+ }
325
+ }
326
+ ngOnInit() {
327
+ this.initialized = true;
328
+ }
329
+ pipelineList() {
330
+ const config = mergeMetaConfig({
331
+ accessToken: this.accessToken,
332
+ settings: {
333
+ ...this.settings,
334
+ // @ts-expect-error identifier is hidden
335
+ identifier: `pipeline-list-adapter-${this.id}`,
336
+ },
337
+ onPipelineView: this.onPipelineView.observed
338
+ ? this.onPipelineViewHandler
339
+ : undefined,
340
+ onPipelineCreate: this.onPipelineCreate.observed
341
+ ? this.onPipelineCreateHandler
342
+ : undefined,
343
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
344
+ });
345
+ PipelineList(`#pipeline-list-adapter-${this.id}`, config);
346
+ }
347
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
348
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: PipelineListComponent, isStandalone: false, selector: "pipeline-list", inputs: { accessToken: "accessToken", settings: "settings" }, outputs: { onPipelineView: "onPipelineView", onPipelineCreate: "onPipelineCreate", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="pipeline-list-adapter-{{ id }}"></div>', isInline: true });
349
+ }
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineListComponent, decorators: [{
351
+ type: Component,
352
+ args: [{
353
+ selector: 'pipeline-list',
354
+ template: '<div id="pipeline-list-adapter-{{ id }}"></div>',
355
+ standalone: false,
356
+ }]
357
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
358
+ type: Input,
359
+ args: [{ required: true }]
360
+ }], settings: [{
361
+ type: Input
362
+ }], onPipelineView: [{
363
+ type: Output
364
+ }], onPipelineCreate: [{
365
+ type: Output
366
+ }], onClose: [{
367
+ type: Output
368
+ }] } });
369
+
370
+ class PipelineListModule {
371
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
372
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: PipelineListModule, declarations: [PipelineListComponent], imports: [CommonModule], exports: [PipelineListComponent] });
373
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineListModule, imports: [CommonModule] });
374
+ }
375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineListModule, decorators: [{
376
+ type: NgModule,
377
+ args: [{
378
+ declarations: [PipelineListComponent],
379
+ imports: [CommonModule],
380
+ exports: [PipelineListComponent],
381
+ }]
382
+ }] });
383
+
384
+ let id$7 = 0;
385
+ class PipelineDetailsComponent {
386
+ id;
387
+ initialized = false;
388
+ accessToken;
389
+ pipelineId;
390
+ settings;
391
+ onClose = new EventEmitter();
392
+ onPipelineDelete = new EventEmitter();
393
+ onConnectorCreate = new EventEmitter();
394
+ onTdmCreate = new EventEmitter();
395
+ onPipelineUpdate = new EventEmitter();
396
+ onExecutionRun = new EventEmitter();
397
+ onExecutionView = new EventEmitter();
398
+ onCloseHandler = () => {
399
+ this.onClose.emit();
400
+ };
401
+ onPipelineDeleteHandler = (args) => {
402
+ this.onPipelineDelete.emit(args);
403
+ };
404
+ onConnectorCreateHandler = (args) => {
405
+ this.onConnectorCreate.emit(args);
406
+ };
407
+ onTdmCreateHandler = (args) => {
408
+ this.onTdmCreate.emit(args);
409
+ };
410
+ onPipelineUpdateHandler = (args) => {
411
+ this.onPipelineUpdate.emit(args);
412
+ };
413
+ onExecutionRunHandler = (args) => {
414
+ this.onExecutionRun.emit(args);
415
+ };
416
+ onExecutionViewHandler = (args) => {
417
+ this.onExecutionView.emit(args);
418
+ };
419
+ constructor() {
420
+ this.id = id$7++;
421
+ }
422
+ ngAfterViewInit() {
423
+ this.pipelineDetails();
424
+ }
425
+ ngOnChanges() {
426
+ if (this.initialized) {
427
+ this.pipelineDetails();
428
+ }
429
+ }
430
+ ngOnInit() {
431
+ this.initialized = true;
432
+ }
433
+ pipelineDetails() {
434
+ const config = mergeMetaConfig({
435
+ accessToken: this.accessToken,
436
+ pipelineId: this.pipelineId,
437
+ settings: {
438
+ ...this.settings,
439
+ // @ts-expect-error identifier is hidden
440
+ identifier: `pipeline-details-adapter-${this.id}`,
441
+ },
442
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
443
+ onPipelineDelete: this.onPipelineDelete.observed
444
+ ? this.onPipelineDeleteHandler
445
+ : undefined,
446
+ onConnectorCreate: this.onConnectorCreate.observed
447
+ ? this.onConnectorCreateHandler
448
+ : undefined,
449
+ onTdmCreate: this.onTdmCreate.observed
450
+ ? this.onTdmCreateHandler
451
+ : undefined,
452
+ onPipelineUpdate: this.onPipelineUpdate.observed
453
+ ? this.onPipelineUpdateHandler
454
+ : undefined,
455
+ onExecutionRun: this.onExecutionRun.observed
456
+ ? this.onExecutionRunHandler
457
+ : undefined,
458
+ onExecutionView: this.onExecutionView.observed
459
+ ? this.onExecutionViewHandler
460
+ : undefined,
461
+ });
462
+ PipelineDetails(`#pipeline-details-adapter-${this.id}`, config);
463
+ }
464
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
465
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: PipelineDetailsComponent, isStandalone: false, selector: "pipeline-details", inputs: { accessToken: "accessToken", pipelineId: "pipelineId", settings: "settings" }, outputs: { onClose: "onClose", onPipelineDelete: "onPipelineDelete", onConnectorCreate: "onConnectorCreate", onTdmCreate: "onTdmCreate", onPipelineUpdate: "onPipelineUpdate", onExecutionRun: "onExecutionRun", onExecutionView: "onExecutionView" }, usesOnChanges: true, ngImport: i0, template: '<div id="pipeline-details-adapter-{{ id }}"></div>', isInline: true });
466
+ }
467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsComponent, decorators: [{
468
+ type: Component,
469
+ args: [{
470
+ selector: 'pipeline-details',
471
+ template: '<div id="pipeline-details-adapter-{{ id }}"></div>',
472
+ standalone: false,
473
+ }]
474
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
475
+ type: Input,
476
+ args: [{ required: true }]
477
+ }], pipelineId: [{
478
+ type: Input,
479
+ args: [{ required: true }]
480
+ }], settings: [{
481
+ type: Input
482
+ }], onClose: [{
483
+ type: Output
484
+ }], onPipelineDelete: [{
485
+ type: Output
486
+ }], onConnectorCreate: [{
487
+ type: Output
488
+ }], onTdmCreate: [{
489
+ type: Output
490
+ }], onPipelineUpdate: [{
491
+ type: Output
492
+ }], onExecutionRun: [{
493
+ type: Output
494
+ }], onExecutionView: [{
495
+ type: Output
496
+ }] } });
497
+
498
+ class PipelineDetailsModule {
499
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
500
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsModule, declarations: [PipelineDetailsComponent], imports: [CommonModule], exports: [PipelineDetailsComponent] });
501
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsModule, imports: [CommonModule] });
502
+ }
503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PipelineDetailsModule, decorators: [{
504
+ type: NgModule,
505
+ args: [{
506
+ declarations: [PipelineDetailsComponent],
507
+ imports: [CommonModule],
508
+ exports: [PipelineDetailsComponent],
509
+ }]
510
+ }] });
511
+
512
+ let id$6 = 0;
513
+ class CreateConnectorComponent {
514
+ id;
515
+ initialized = false;
516
+ accessToken;
517
+ configuration;
518
+ settings;
519
+ onConnectorCreate = new EventEmitter();
520
+ onClose = new EventEmitter();
521
+ onConnectorCreateHandler = (args) => {
522
+ this.onConnectorCreate.emit(args);
523
+ };
524
+ onCloseHandler = () => {
525
+ this.onClose.emit();
526
+ };
527
+ constructor() {
528
+ this.id = id$6++;
529
+ }
530
+ ngAfterViewInit() {
531
+ this.createConnector();
532
+ }
533
+ ngOnChanges() {
534
+ if (this.initialized) {
535
+ this.createConnector();
536
+ }
537
+ }
538
+ ngOnInit() {
539
+ this.initialized = true;
540
+ }
541
+ createConnector() {
542
+ const config = mergeMetaConfig({
543
+ accessToken: this.accessToken,
544
+ configuration: this.configuration,
545
+ settings: {
546
+ ...this.settings,
547
+ // @ts-expect-error identifier is hidden
548
+ identifier: `create-connector-adapter-${this.id}`,
549
+ },
550
+ onConnectorCreate: this.onConnectorCreate.observed
551
+ ? this.onConnectorCreateHandler
552
+ : undefined,
553
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
554
+ });
555
+ CreateConnector(`#create-connector-adapter-${this.id}`, config);
556
+ }
557
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
558
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: CreateConnectorComponent, isStandalone: false, selector: "create-connector", inputs: { accessToken: "accessToken", configuration: "configuration", settings: "settings" }, outputs: { onConnectorCreate: "onConnectorCreate", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="create-connector-adapter-{{ id }}"></div>', isInline: true });
559
+ }
560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorComponent, decorators: [{
561
+ type: Component,
562
+ args: [{
563
+ selector: 'create-connector',
564
+ template: '<div id="create-connector-adapter-{{ id }}"></div>',
565
+ standalone: false,
566
+ }]
567
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
568
+ type: Input,
569
+ args: [{ required: true }]
570
+ }], configuration: [{
571
+ type: Input
572
+ }], settings: [{
573
+ type: Input
574
+ }], onConnectorCreate: [{
575
+ type: Output
576
+ }], onClose: [{
577
+ type: Output
578
+ }] } });
579
+
580
+ class CreateConnectorModule {
581
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
582
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorModule, declarations: [CreateConnectorComponent], imports: [CommonModule], exports: [CreateConnectorComponent] });
583
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorModule, imports: [CommonModule] });
584
+ }
585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateConnectorModule, decorators: [{
586
+ type: NgModule,
587
+ args: [{
588
+ declarations: [CreateConnectorComponent],
589
+ imports: [CommonModule],
590
+ exports: [CreateConnectorComponent],
591
+ }]
592
+ }] });
593
+
594
+ let id$5 = 0;
595
+ class CreateTargetDataModelComponent {
596
+ id;
597
+ initialized = false;
598
+ accessToken;
599
+ configuration;
600
+ settings;
601
+ onTargetDataModelCreate = new EventEmitter();
602
+ onClose = new EventEmitter();
603
+ onTargetDataModelCreateHandler = (args) => {
604
+ this.onTargetDataModelCreate.emit(args);
605
+ };
606
+ onCloseHandler = () => {
607
+ this.onClose.emit();
608
+ };
609
+ constructor() {
610
+ this.id = id$5++;
611
+ }
612
+ ngAfterViewInit() {
613
+ this.createTargetDataModel();
614
+ }
615
+ ngOnChanges() {
616
+ if (this.initialized) {
617
+ this.createTargetDataModel();
618
+ }
619
+ }
620
+ ngOnInit() {
621
+ this.initialized = true;
622
+ }
623
+ createTargetDataModel() {
624
+ const config = mergeMetaConfig({
625
+ accessToken: this.accessToken,
626
+ configuration: this.configuration,
627
+ settings: {
628
+ ...this.settings,
629
+ // @ts-expect-error identifier is hidden
630
+ identifier: `create-target-data-model-adapter-${this.id}`,
631
+ },
632
+ onTargetDataModelCreate: this.onTargetDataModelCreate.observed
633
+ ? this.onTargetDataModelCreateHandler
634
+ : undefined,
635
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
636
+ });
637
+ CreateTargetDataModel(`#create-target-data-model-adapter-${this.id}`, config);
638
+ }
639
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
640
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: CreateTargetDataModelComponent, isStandalone: false, selector: "create-target-data-model", inputs: { accessToken: "accessToken", configuration: "configuration", settings: "settings" }, outputs: { onTargetDataModelCreate: "onTargetDataModelCreate", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="create-target-data-model-adapter-{{ id }}"></div>', isInline: true });
641
+ }
642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelComponent, decorators: [{
643
+ type: Component,
644
+ args: [{
645
+ selector: 'create-target-data-model',
646
+ template: '<div id="create-target-data-model-adapter-{{ id }}"></div>',
647
+ standalone: false,
648
+ }]
649
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
650
+ type: Input,
651
+ args: [{ required: true }]
652
+ }], configuration: [{
653
+ type: Input
654
+ }], settings: [{
655
+ type: Input
656
+ }], onTargetDataModelCreate: [{
657
+ type: Output
658
+ }], onClose: [{
659
+ type: Output
660
+ }] } });
661
+
662
+ class CreateTargetDataModelModule {
663
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
664
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelModule, declarations: [CreateTargetDataModelComponent], imports: [CommonModule], exports: [CreateTargetDataModelComponent] });
665
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelModule, imports: [CommonModule] });
666
+ }
667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CreateTargetDataModelModule, decorators: [{
668
+ type: NgModule,
669
+ args: [{
670
+ declarations: [CreateTargetDataModelComponent],
671
+ imports: [CommonModule],
672
+ exports: [CreateTargetDataModelComponent],
673
+ }]
674
+ }] });
675
+
676
+ let id$4 = 0;
677
+ class FileUploaderComponent {
678
+ id;
679
+ initialized = false;
680
+ accessToken;
681
+ inputConnectorId;
682
+ settings;
683
+ onExecutionView = new EventEmitter();
684
+ onClose = new EventEmitter();
685
+ onExecutionViewHandler = (args) => {
686
+ this.onExecutionView.emit(args);
687
+ };
688
+ onCloseHandler = () => {
689
+ this.onClose.emit();
690
+ };
691
+ constructor() {
692
+ this.id = id$4++;
693
+ }
694
+ ngAfterViewInit() {
695
+ this.fileUploader();
696
+ }
697
+ ngOnChanges() {
698
+ if (this.initialized) {
699
+ this.fileUploader();
700
+ }
701
+ }
702
+ ngOnInit() {
703
+ this.initialized = true;
704
+ }
705
+ fileUploader() {
706
+ const config = mergeMetaConfig({
707
+ accessToken: this.accessToken,
708
+ inputConnectorId: this.inputConnectorId,
709
+ settings: {
710
+ ...this.settings,
711
+ // @ts-expect-error identifier is hidden
712
+ identifier: `file-uploader-adapter-${this.id}`,
713
+ },
714
+ onExecutionView: this.onExecutionView.observed
715
+ ? this.onExecutionViewHandler
716
+ : undefined,
717
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
718
+ });
719
+ FileUploader(`#file-uploader-adapter-${this.id}`, config);
720
+ }
721
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
722
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: FileUploaderComponent, isStandalone: false, selector: "file-uploader", inputs: { accessToken: "accessToken", inputConnectorId: "inputConnectorId", settings: "settings" }, outputs: { onExecutionView: "onExecutionView", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="file-uploader-adapter-{{ id }}"></div>', isInline: true });
723
+ }
724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderComponent, decorators: [{
725
+ type: Component,
726
+ args: [{
727
+ selector: 'file-uploader',
728
+ template: '<div id="file-uploader-adapter-{{ id }}"></div>',
729
+ standalone: false,
730
+ }]
731
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
732
+ type: Input,
733
+ args: [{ required: true }]
734
+ }], inputConnectorId: [{
735
+ type: Input,
736
+ args: [{ required: true }]
737
+ }], settings: [{
738
+ type: Input
739
+ }], onExecutionView: [{
740
+ type: Output
741
+ }], onClose: [{
742
+ type: Output
743
+ }] } });
744
+
745
+ class FileUploaderModule {
746
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
747
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderModule, declarations: [FileUploaderComponent], imports: [CommonModule], exports: [FileUploaderComponent] });
748
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderModule, imports: [CommonModule] });
749
+ }
750
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileUploaderModule, decorators: [{
751
+ type: NgModule,
752
+ args: [{
753
+ declarations: [FileUploaderComponent],
754
+ imports: [CommonModule],
755
+ exports: [FileUploaderComponent],
756
+ }]
757
+ }] });
758
+
759
+ let id$3 = 0;
760
+ class ConnectorDetailsComponent {
761
+ id;
762
+ initialized = false;
763
+ accessToken;
764
+ connectorId;
765
+ settings;
766
+ onClose = new EventEmitter();
767
+ onConnectorUpdate = new EventEmitter();
768
+ onConnectorDelete = new EventEmitter();
769
+ onCloseHandler = () => {
770
+ this.onClose.emit();
771
+ };
772
+ onConnectorUpdateHandler = (args) => {
773
+ this.onConnectorUpdate.emit(args);
774
+ };
775
+ onConnectorDeleteHandler = (args) => {
776
+ this.onConnectorDelete.emit(args);
777
+ };
778
+ constructor() {
779
+ this.id = id$3++;
780
+ }
781
+ ngAfterViewInit() {
782
+ this.connectorDetails();
783
+ }
784
+ ngOnChanges() {
785
+ if (this.initialized) {
786
+ this.connectorDetails();
787
+ }
788
+ }
789
+ ngOnInit() {
790
+ this.initialized = true;
791
+ }
792
+ connectorDetails() {
793
+ const config = mergeMetaConfig({
794
+ accessToken: this.accessToken,
795
+ connectorId: this.connectorId,
796
+ settings: {
797
+ ...this.settings,
798
+ // @ts-expect-error identifier is hidden
799
+ identifier: `connector-details-adapter-${this.id}`,
800
+ },
801
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
802
+ onConnectorUpdate: this.onConnectorUpdate.observed
803
+ ? this.onConnectorUpdateHandler
804
+ : undefined,
805
+ onConnectorDelete: this.onConnectorDelete.observed
806
+ ? this.onConnectorDeleteHandler
807
+ : undefined,
808
+ });
809
+ ConnectorDetails(`#connector-details-adapter-${this.id}`, config);
810
+ }
811
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
812
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: ConnectorDetailsComponent, isStandalone: false, selector: "connector-details", inputs: { accessToken: "accessToken", connectorId: "connectorId", settings: "settings" }, outputs: { onClose: "onClose", onConnectorUpdate: "onConnectorUpdate", onConnectorDelete: "onConnectorDelete" }, usesOnChanges: true, ngImport: i0, template: '<div id="connector-details-adapter-{{ id }}"></div>', isInline: true });
813
+ }
814
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsComponent, decorators: [{
815
+ type: Component,
816
+ args: [{
817
+ selector: 'connector-details',
818
+ template: '<div id="connector-details-adapter-{{ id }}"></div>',
819
+ standalone: false,
820
+ }]
821
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
822
+ type: Input,
823
+ args: [{ required: true }]
824
+ }], connectorId: [{
825
+ type: Input,
826
+ args: [{ required: true }]
827
+ }], settings: [{
828
+ type: Input
829
+ }], onClose: [{
830
+ type: Output
831
+ }], onConnectorUpdate: [{
832
+ type: Output
833
+ }], onConnectorDelete: [{
834
+ type: Output
835
+ }] } });
836
+
837
+ class ConnectorDetailsModule {
838
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
839
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsModule, declarations: [ConnectorDetailsComponent], imports: [CommonModule], exports: [ConnectorDetailsComponent] });
840
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsModule, imports: [CommonModule] });
841
+ }
842
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorDetailsModule, decorators: [{
843
+ type: NgModule,
844
+ args: [{
845
+ declarations: [ConnectorDetailsComponent],
846
+ imports: [CommonModule],
847
+ exports: [ConnectorDetailsComponent],
848
+ }]
849
+ }] });
850
+
851
+ let id$2 = 0;
852
+ class TargetDataModelListComponent {
853
+ id;
854
+ initialized = false;
855
+ accessToken;
856
+ settings;
857
+ onTargetDataModelView = new EventEmitter();
858
+ onTargetDataModelCreate = new EventEmitter();
859
+ onClose = new EventEmitter();
860
+ onTargetDataModelViewHandler = (args) => {
861
+ this.onTargetDataModelView.emit(args);
862
+ };
863
+ onTargetDataModelCreateHandler = () => {
864
+ this.onTargetDataModelCreate.emit();
865
+ };
866
+ onCloseHandler = () => {
867
+ this.onClose.emit();
868
+ };
869
+ constructor() {
870
+ this.id = id$2++;
871
+ }
872
+ ngAfterViewInit() {
873
+ this.targetDataModelList();
874
+ }
875
+ ngOnChanges() {
876
+ if (this.initialized) {
877
+ this.targetDataModelList();
878
+ }
879
+ }
880
+ ngOnInit() {
881
+ this.initialized = true;
882
+ }
883
+ targetDataModelList() {
884
+ const config = mergeMetaConfig({
885
+ accessToken: this.accessToken,
886
+ settings: {
887
+ ...this.settings,
888
+ // @ts-expect-error identifier is hidden
889
+ identifier: `target-data-model-list-adapter-${this.id}`,
890
+ },
891
+ onTargetDataModelView: this.onTargetDataModelView.observed
892
+ ? this.onTargetDataModelViewHandler
893
+ : undefined,
894
+ onTargetDataModelCreate: this.onTargetDataModelCreate.observed
895
+ ? this.onTargetDataModelCreateHandler
896
+ : undefined,
897
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
898
+ });
899
+ TargetDataModelList(`#target-data-model-list-adapter-${this.id}`, config);
900
+ }
901
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
902
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: TargetDataModelListComponent, isStandalone: false, selector: "target-data-model-list", inputs: { accessToken: "accessToken", settings: "settings" }, outputs: { onTargetDataModelView: "onTargetDataModelView", onTargetDataModelCreate: "onTargetDataModelCreate", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="target-data-model-list-adapter-{{ id }}"></div>', isInline: true });
903
+ }
904
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListComponent, decorators: [{
905
+ type: Component,
906
+ args: [{
907
+ selector: 'target-data-model-list',
908
+ template: '<div id="target-data-model-list-adapter-{{ id }}"></div>',
909
+ standalone: false,
910
+ }]
911
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
912
+ type: Input,
913
+ args: [{ required: true }]
914
+ }], settings: [{
915
+ type: Input
916
+ }], onTargetDataModelView: [{
917
+ type: Output
918
+ }], onTargetDataModelCreate: [{
919
+ type: Output
920
+ }], onClose: [{
921
+ type: Output
922
+ }] } });
923
+
924
+ class TargetDataModelListModule {
925
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
926
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListModule, declarations: [TargetDataModelListComponent], imports: [CommonModule], exports: [TargetDataModelListComponent] });
927
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListModule, imports: [CommonModule] });
928
+ }
929
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelListModule, decorators: [{
930
+ type: NgModule,
931
+ args: [{
932
+ declarations: [TargetDataModelListComponent],
933
+ imports: [CommonModule],
934
+ exports: [TargetDataModelListComponent],
935
+ }]
936
+ }] });
937
+
938
+ let id$1 = 0;
939
+ class ConnectorListComponent {
940
+ id;
941
+ initialized = false;
942
+ accessToken;
943
+ settings;
944
+ onConnectorView = new EventEmitter();
945
+ onConnectorCreate = new EventEmitter();
946
+ onClose = new EventEmitter();
947
+ onConnectorViewHandler = (args) => {
948
+ this.onConnectorView.emit(args);
949
+ };
950
+ onConnectorCreateHandler = () => {
951
+ this.onConnectorCreate.emit();
952
+ };
953
+ onCloseHandler = () => {
954
+ this.onClose.emit();
955
+ };
956
+ constructor() {
957
+ this.id = id$1++;
958
+ }
959
+ ngAfterViewInit() {
960
+ this.connectorList();
961
+ }
962
+ ngOnChanges() {
963
+ if (this.initialized) {
964
+ this.connectorList();
965
+ }
966
+ }
967
+ ngOnInit() {
968
+ this.initialized = true;
969
+ }
970
+ connectorList() {
971
+ const config = mergeMetaConfig({
972
+ accessToken: this.accessToken,
973
+ settings: {
974
+ ...this.settings,
975
+ // @ts-expect-error identifier is hidden
976
+ identifier: `connector-list-adapter-${this.id}`,
977
+ },
978
+ onConnectorView: this.onConnectorView.observed
979
+ ? this.onConnectorViewHandler
980
+ : undefined,
981
+ onConnectorCreate: this.onConnectorCreate.observed
982
+ ? this.onConnectorCreateHandler
983
+ : undefined,
984
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
985
+ });
986
+ ConnectorList(`#connector-list-adapter-${this.id}`, config);
987
+ }
988
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
989
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: ConnectorListComponent, isStandalone: false, selector: "connector-list", inputs: { accessToken: "accessToken", settings: "settings" }, outputs: { onConnectorView: "onConnectorView", onConnectorCreate: "onConnectorCreate", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="connector-list-adapter-{{ id }}"></div>', isInline: true });
990
+ }
991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListComponent, decorators: [{
992
+ type: Component,
993
+ args: [{
994
+ selector: 'connector-list',
995
+ template: '<div id="connector-list-adapter-{{ id }}"></div>',
996
+ standalone: false,
997
+ }]
998
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
999
+ type: Input,
1000
+ args: [{ required: true }]
1001
+ }], settings: [{
1002
+ type: Input
1003
+ }], onConnectorView: [{
1004
+ type: Output
1005
+ }], onConnectorCreate: [{
1006
+ type: Output
1007
+ }], onClose: [{
1008
+ type: Output
1009
+ }] } });
1010
+
1011
+ class ConnectorListModule {
1012
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1013
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListModule, declarations: [ConnectorListComponent], imports: [CommonModule], exports: [ConnectorListComponent] });
1014
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListModule, imports: [CommonModule] });
1015
+ }
1016
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ConnectorListModule, decorators: [{
1017
+ type: NgModule,
1018
+ args: [{
1019
+ declarations: [ConnectorListComponent],
1020
+ imports: [CommonModule],
1021
+ exports: [ConnectorListComponent],
1022
+ }]
1023
+ }] });
1024
+
1025
+ let id = 0;
1026
+ class TargetDataModelDetailsComponent {
1027
+ id;
1028
+ initialized = false;
1029
+ accessToken;
1030
+ targetDataModelId;
1031
+ settings;
1032
+ onTargetDataModelUpdate = new EventEmitter();
1033
+ onTargetDataModelDelete = new EventEmitter();
1034
+ onClose = new EventEmitter();
1035
+ onTargetDataModelUpdateHandler = (args) => {
1036
+ this.onTargetDataModelUpdate.emit(args);
1037
+ };
1038
+ onTargetDataModelDeleteHandler = (args) => {
1039
+ this.onTargetDataModelDelete.emit(args);
1040
+ };
1041
+ onCloseHandler = () => {
1042
+ this.onClose.emit();
1043
+ };
1044
+ constructor() {
1045
+ this.id = id++;
1046
+ }
1047
+ ngAfterViewInit() {
1048
+ this.targetDataModelDetails();
1049
+ }
1050
+ ngOnChanges() {
1051
+ if (this.initialized) {
1052
+ this.targetDataModelDetails();
1053
+ }
1054
+ }
1055
+ ngOnInit() {
1056
+ this.initialized = true;
1057
+ }
1058
+ targetDataModelDetails() {
1059
+ const config = mergeMetaConfig({
1060
+ accessToken: this.accessToken,
1061
+ targetDataModelId: this.targetDataModelId,
1062
+ settings: {
1063
+ ...this.settings,
1064
+ // @ts-expect-error identifier is hidden
1065
+ identifier: `target-data-model-details-adapter-${this.id}`,
1066
+ },
1067
+ onTargetDataModelUpdate: this.onTargetDataModelUpdate.observed
1068
+ ? this.onTargetDataModelUpdateHandler
1069
+ : undefined,
1070
+ onTargetDataModelDelete: this.onTargetDataModelDelete.observed
1071
+ ? this.onTargetDataModelDeleteHandler
1072
+ : undefined,
1073
+ onClose: this.onClose.observed ? this.onCloseHandler : undefined,
1074
+ });
1075
+ TargetDataModelDetails(`#target-data-model-details-adapter-${this.id}`, config);
1076
+ }
1077
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1078
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.4", type: TargetDataModelDetailsComponent, isStandalone: false, selector: "target-data-model-details", inputs: { accessToken: "accessToken", targetDataModelId: "targetDataModelId", settings: "settings" }, outputs: { onTargetDataModelUpdate: "onTargetDataModelUpdate", onTargetDataModelDelete: "onTargetDataModelDelete", onClose: "onClose" }, usesOnChanges: true, ngImport: i0, template: '<div id="target-data-model-details-adapter-{{ id }}"></div>', isInline: true });
1079
+ }
1080
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsComponent, decorators: [{
1081
+ type: Component,
1082
+ args: [{
1083
+ selector: 'target-data-model-details',
1084
+ template: '<div id="target-data-model-details-adapter-{{ id }}"></div>',
1085
+ standalone: false,
1086
+ }]
1087
+ }], ctorParameters: () => [], propDecorators: { accessToken: [{
1088
+ type: Input,
1089
+ args: [{ required: true }]
1090
+ }], targetDataModelId: [{
1091
+ type: Input,
1092
+ args: [{ required: true }]
1093
+ }], settings: [{
1094
+ type: Input
1095
+ }], onTargetDataModelUpdate: [{
1096
+ type: Output
1097
+ }], onTargetDataModelDelete: [{
1098
+ type: Output
1099
+ }], onClose: [{
1100
+ type: Output
1101
+ }] } });
1102
+
1103
+ class TargetDataModelDetailsModule {
1104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1105
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsModule, declarations: [TargetDataModelDetailsComponent], imports: [CommonModule], exports: [TargetDataModelDetailsComponent] });
1106
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsModule, imports: [CommonModule] });
1107
+ }
1108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TargetDataModelDetailsModule, decorators: [{
1109
+ type: NgModule,
1110
+ args: [{
1111
+ declarations: [TargetDataModelDetailsComponent],
1112
+ imports: [CommonModule],
1113
+ exports: [TargetDataModelDetailsComponent],
1114
+ }]
1115
+ }] });
1116
+
1117
+ /**
1118
+ * Generated bundle index. Do not edit.
1119
+ */
1120
+
1121
+ export { ConnectorDetailsComponent, ConnectorDetailsModule, ConnectorListComponent, ConnectorListModule, CreateConnectorComponent, CreateConnectorModule, CreatePipelineComponent, CreatePipelineModule, CreateTargetDataModelComponent, CreateTargetDataModelModule, ExecutionDetailsComponent, ExecutionDetailsModule, ExecutionListComponent, ExecutionListModule, FileUploaderComponent, FileUploaderModule, PipelineDetailsComponent, PipelineDetailsModule, PipelineListComponent, PipelineListModule, TargetDataModelDetailsComponent, TargetDataModelDetailsModule, TargetDataModelListComponent, TargetDataModelListModule };
1122
+ //# sourceMappingURL=ingestro-pipelines-angular.mjs.map