@gravitee/ui-policy-studio-angular 7.6.0 → 7.7.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 (71) hide show
  1. package/README.md +2 -3
  2. package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +14 -7
  3. package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +91 -0
  4. package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +44 -0
  5. package/esm2020/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.mjs +31 -0
  6. package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +3 -3
  7. package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +9 -6
  8. package/esm2020/lib/gio-policy-studio.component.mjs +43 -28
  9. package/esm2020/lib/gio-policy-studio.model.mjs +1 -1
  10. package/esm2020/lib/gio-policy-studio.module.mjs +20 -4
  11. package/esm2020/lib/models/SaveOutput.mjs +2 -0
  12. package/esm2020/lib/models/index.mjs +2 -1
  13. package/esm2020/lib/models/plan/Plan.mjs +1 -1
  14. package/esm2020/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +41 -0
  15. package/esm2020/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.mjs +35 -0
  16. package/esm2020/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +87 -0
  17. package/esm2020/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +69 -0
  18. package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +66 -0
  19. package/esm2020/testing/lib/gio-policy-studio.harness.mjs +105 -0
  20. package/esm2020/testing/lib/models/ConnectorsInfo.mjs +2 -0
  21. package/esm2020/testing/lib/models/SaveOutput.mjs +2 -0
  22. package/esm2020/testing/lib/models/flow/Flow.fixture.mjs +2 -2
  23. package/esm2020/testing/{testing → lib/models}/index.mjs +5 -3
  24. package/esm2020/testing/lib/models/plan/Plan.fixture.mjs +2 -1
  25. package/esm2020/testing/lib/models/plan/Plan.mjs +1 -1
  26. package/esm2020/testing/lib/models/plan/index.mjs +17 -0
  27. package/esm2020/testing/public-testing-api.mjs +2 -2
  28. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +329 -1312
  29. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  30. package/fesm2015/gravitee-ui-policy-studio-angular.mjs +240 -43
  31. package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  32. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +320 -1317
  33. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  34. package/fesm2020/gravitee-ui-policy-studio-angular.mjs +233 -43
  35. package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  36. package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +4 -3
  37. package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +16 -0
  38. package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +11 -0
  39. package/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.d.ts +7 -0
  40. package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +1 -1
  41. package/lib/gio-policy-studio.component.d.ts +5 -8
  42. package/lib/gio-policy-studio.model.d.ts +1 -0
  43. package/lib/gio-policy-studio.module.d.ts +14 -10
  44. package/lib/models/SaveOutput.d.ts +6 -0
  45. package/lib/models/index.d.ts +1 -0
  46. package/lib/models/plan/Plan.d.ts +1 -0
  47. package/package.json +1 -1
  48. package/testing/lib/components/flow-details/gio-ps-flow-details.harness.d.ts +9 -0
  49. package/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.d.ts +5 -0
  50. package/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.d.ts +16 -0
  51. package/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.d.ts +15 -0
  52. package/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.d.ts +25 -0
  53. package/testing/lib/gio-policy-studio.harness.d.ts +34 -0
  54. package/testing/lib/models/ConnectorsInfo.d.ts +4 -0
  55. package/testing/lib/models/SaveOutput.d.ts +6 -0
  56. package/testing/lib/models/index.d.ts +4 -0
  57. package/testing/lib/models/plan/Plan.d.ts +1 -0
  58. package/testing/lib/models/plan/index.d.ts +1 -0
  59. package/testing/public-testing-api.d.ts +1 -1
  60. package/esm2020/testing/testing/harnesses/div.harness.mjs +0 -42
  61. package/esm2020/testing/testing/harnesses/index.mjs +0 -17
  62. package/esm2020/testing/testing/stories-resources/apim-definition.json +0 -405
  63. package/esm2020/testing/testing/stories-resources/apim-flow.json +0 -54
  64. package/esm2020/testing/testing/stories-resources/apim-policies.json +0 -486
  65. package/esm2020/testing/testing/stories-resources/apim-property-providers.json +0 -39
  66. package/esm2020/testing/testing/stories-resources/apim-resource-types.json +0 -187
  67. package/esm2020/testing/testing/stories-resources/index.mjs +0 -26
  68. package/testing/testing/harnesses/div.harness.d.ts +0 -20
  69. package/testing/testing/harnesses/index.d.ts +0 -1
  70. package/testing/testing/index.d.ts +0 -2
  71. package/testing/testing/stories-resources/index.d.ts +0 -592
@@ -1,592 +0,0 @@
1
- export declare const apimPolicies: {
2
- data: ({
3
- id: string;
4
- name: string;
5
- description: string;
6
- version: string;
7
- schema: string;
8
- icon: string;
9
- category: string;
10
- onRequest: boolean;
11
- onResponse: boolean;
12
- } | {
13
- id: string;
14
- name: string;
15
- description: string;
16
- version: string;
17
- icon: string;
18
- category: string;
19
- onRequest: boolean;
20
- onResponse: boolean;
21
- schema?: undefined;
22
- } | {
23
- id: string;
24
- name: string;
25
- description: string;
26
- version: string;
27
- schema: string;
28
- icon: string;
29
- onRequest: boolean;
30
- onResponse: boolean;
31
- category?: undefined;
32
- })[];
33
- };
34
- export declare const apimResourceTypes: {
35
- data: ({
36
- id: string;
37
- name: string;
38
- description: string;
39
- version: string;
40
- schema: {
41
- type: string;
42
- id: string;
43
- properties: {
44
- name: {
45
- title: string;
46
- description: string;
47
- type: string;
48
- default: string;
49
- };
50
- timeToIdleSeconds: {
51
- title: string;
52
- type: string;
53
- description: string;
54
- default: number;
55
- minimum: number;
56
- };
57
- timeToLiveSeconds: {
58
- title: string;
59
- type: string;
60
- description: string;
61
- default: number;
62
- minimum: number;
63
- };
64
- maxEntriesLocalHeap: {
65
- title: string;
66
- description: string;
67
- type: string;
68
- default: number;
69
- minimum: number;
70
- };
71
- serverURL?: undefined;
72
- version?: undefined;
73
- securityDomain?: undefined;
74
- clientId?: undefined;
75
- clientSecret?: undefined;
76
- userClaim?: undefined;
77
- oauthResource?: undefined;
78
- extractPayload?: undefined;
79
- checkRequiredScopes?: undefined;
80
- requiredScopes?: undefined;
81
- modeStrict?: undefined;
82
- propagateAuthHeader?: undefined;
83
- url?: undefined;
84
- authUrl?: undefined;
85
- secrets?: undefined;
86
- };
87
- required: string[];
88
- };
89
- } | {
90
- id: string;
91
- name: string;
92
- description: string;
93
- version: string;
94
- schema: {
95
- type: string;
96
- id: string;
97
- properties: {
98
- serverURL: {
99
- title: string;
100
- description: string;
101
- type: string;
102
- };
103
- version: {
104
- title: string;
105
- description: string;
106
- type: string;
107
- default: string;
108
- enum: string[];
109
- };
110
- securityDomain: {
111
- title: string;
112
- description: string;
113
- type: string;
114
- };
115
- clientId: {
116
- title: string;
117
- description: string;
118
- type: string;
119
- default?: undefined;
120
- };
121
- clientSecret: {
122
- title: string;
123
- description: string;
124
- type: string;
125
- };
126
- userClaim: {
127
- title: string;
128
- description: string;
129
- type: string;
130
- default: string;
131
- };
132
- name?: undefined;
133
- timeToIdleSeconds?: undefined;
134
- timeToLiveSeconds?: undefined;
135
- maxEntriesLocalHeap?: undefined;
136
- oauthResource?: undefined;
137
- extractPayload?: undefined;
138
- checkRequiredScopes?: undefined;
139
- requiredScopes?: undefined;
140
- modeStrict?: undefined;
141
- propagateAuthHeader?: undefined;
142
- url?: undefined;
143
- authUrl?: undefined;
144
- secrets?: undefined;
145
- };
146
- required: string[];
147
- };
148
- } | {
149
- id: string;
150
- name: string;
151
- description: string;
152
- version: string;
153
- schema: {
154
- type: string;
155
- id: string;
156
- properties: {
157
- oauthResource: {
158
- title: string;
159
- description: string;
160
- type: string;
161
- };
162
- extractPayload: {
163
- title: string;
164
- description: string;
165
- type: string;
166
- default: boolean;
167
- };
168
- checkRequiredScopes: {
169
- title: string;
170
- description: string;
171
- type: string;
172
- default: boolean;
173
- };
174
- requiredScopes: {
175
- type: string;
176
- title: string;
177
- description: string;
178
- items: {
179
- type: string;
180
- title: string;
181
- };
182
- };
183
- modeStrict: {
184
- title: string;
185
- description: string;
186
- type: string;
187
- default: boolean;
188
- };
189
- propagateAuthHeader: {
190
- title: string;
191
- description: string;
192
- type: string;
193
- default: boolean;
194
- };
195
- name?: undefined;
196
- timeToIdleSeconds?: undefined;
197
- timeToLiveSeconds?: undefined;
198
- maxEntriesLocalHeap?: undefined;
199
- serverURL?: undefined;
200
- version?: undefined;
201
- securityDomain?: undefined;
202
- clientId?: undefined;
203
- clientSecret?: undefined;
204
- userClaim?: undefined;
205
- url?: undefined;
206
- authUrl?: undefined;
207
- secrets?: undefined;
208
- };
209
- required: string[];
210
- };
211
- } | {
212
- id: string;
213
- name: string;
214
- description: string;
215
- version: string;
216
- schema: {
217
- type: string;
218
- id: string;
219
- properties: {
220
- url: {
221
- title: string;
222
- description: string;
223
- type: string;
224
- default: string;
225
- };
226
- authUrl: {
227
- title: string;
228
- description: string;
229
- type: string;
230
- default: string;
231
- };
232
- clientId: {
233
- title: string;
234
- description: string;
235
- type: string;
236
- default: string;
237
- };
238
- secrets: {
239
- title: string;
240
- type: string;
241
- "x-schema-form": {
242
- type: string;
243
- codemirrorOptions: {
244
- placeholder: string;
245
- lineWrapping: boolean;
246
- lineNumbers: boolean;
247
- allowDropFileTypes: boolean;
248
- autoCloseTags: boolean;
249
- mode: string;
250
- };
251
- };
252
- };
253
- name?: undefined;
254
- timeToIdleSeconds?: undefined;
255
- timeToLiveSeconds?: undefined;
256
- maxEntriesLocalHeap?: undefined;
257
- serverURL?: undefined;
258
- version?: undefined;
259
- securityDomain?: undefined;
260
- clientSecret?: undefined;
261
- userClaim?: undefined;
262
- oauthResource?: undefined;
263
- extractPayload?: undefined;
264
- checkRequiredScopes?: undefined;
265
- requiredScopes?: undefined;
266
- modeStrict?: undefined;
267
- propagateAuthHeader?: undefined;
268
- };
269
- required: string[];
270
- };
271
- })[];
272
- };
273
- export declare const apimDefinition: {
274
- name: string;
275
- version: string;
276
- flow_mode: string;
277
- flows: {
278
- name: string;
279
- condition: string;
280
- enabled: boolean;
281
- methods: string[];
282
- "path-operator": {
283
- path: string;
284
- operator: string;
285
- };
286
- pre: ({
287
- policy: string;
288
- name: string;
289
- enabled: boolean;
290
- description: string;
291
- configuration: {
292
- rate: {
293
- limit: number;
294
- periodTime: number;
295
- periodTimeUnit: string;
296
- };
297
- propagateApiKey?: undefined;
298
- };
299
- } | {
300
- policy: string;
301
- name: string;
302
- enabled: boolean;
303
- description: string;
304
- configuration: {
305
- propagateApiKey: boolean;
306
- rate?: undefined;
307
- };
308
- } | {
309
- policy: string;
310
- name: string;
311
- enabled: boolean;
312
- description: string;
313
- configuration: {
314
- rate?: undefined;
315
- propagateApiKey?: undefined;
316
- };
317
- })[];
318
- post: {
319
- policy: string;
320
- name: string;
321
- enabled: boolean;
322
- description: string;
323
- configuration: {};
324
- }[];
325
- }[];
326
- plans: ({
327
- id: string;
328
- name: string;
329
- flows: ({
330
- name: string;
331
- enabled: boolean;
332
- methods: string[];
333
- "path-operator": {
334
- path: string;
335
- operator: string;
336
- };
337
- condition: string;
338
- pre: ({
339
- policy: string;
340
- name: string;
341
- enabled: boolean;
342
- description: string;
343
- configuration: {
344
- rate: {
345
- limit: number;
346
- periodTime: number;
347
- periodTimeUnit: string;
348
- };
349
- propagateApiKey?: undefined;
350
- "add-headers"?: undefined;
351
- };
352
- } | {
353
- policy: string;
354
- name: string;
355
- enabled: boolean;
356
- description: string;
357
- configuration: {
358
- propagateApiKey: boolean;
359
- rate?: undefined;
360
- "add-headers"?: undefined;
361
- };
362
- } | {
363
- policy: string;
364
- name: string;
365
- enabled: boolean;
366
- description: string;
367
- configuration: {
368
- "add-headers": string;
369
- rate?: undefined;
370
- propagateApiKey?: undefined;
371
- };
372
- })[];
373
- post: {
374
- policy: string;
375
- name: string;
376
- enabled: boolean;
377
- description: string;
378
- configuration: {};
379
- }[];
380
- } | {
381
- name: string;
382
- "path-operator": {
383
- path: string;
384
- operator: string;
385
- };
386
- enabled: boolean;
387
- methods: string[];
388
- condition: string;
389
- pre: {
390
- policy: string;
391
- name: string;
392
- enabled: boolean;
393
- description: string;
394
- configuration: {};
395
- }[];
396
- post: {
397
- policy: string;
398
- name: string;
399
- enabled: boolean;
400
- description: string;
401
- configuration: {};
402
- }[];
403
- })[];
404
- } | {
405
- id: string;
406
- name: string;
407
- flows: ({
408
- name: string;
409
- "path-operator": {
410
- path: string;
411
- operator: string;
412
- };
413
- methods: never[];
414
- condition: string;
415
- enabled: boolean;
416
- pre: ({
417
- policy: string;
418
- name: string;
419
- enabled: boolean;
420
- description: string;
421
- configuration: {
422
- rate: {
423
- limit: number;
424
- periodTime: number;
425
- periodTimeUnit: string;
426
- };
427
- propagateApiKey?: undefined;
428
- "add-headers"?: undefined;
429
- };
430
- } | {
431
- policy: string;
432
- name: string;
433
- enabled: boolean;
434
- description: string;
435
- configuration: {
436
- propagateApiKey: boolean;
437
- rate?: undefined;
438
- "add-headers"?: undefined;
439
- };
440
- } | {
441
- policy: string;
442
- name: string;
443
- enabled: boolean;
444
- description: string;
445
- configuration: {
446
- "add-headers": string;
447
- rate?: undefined;
448
- propagateApiKey?: undefined;
449
- };
450
- })[];
451
- post: {
452
- policy: string;
453
- name: string;
454
- enabled: boolean;
455
- description: string;
456
- configuration: {};
457
- }[];
458
- } | {
459
- name: string;
460
- enabled: boolean;
461
- methods: string[];
462
- condition: string;
463
- pre: {
464
- policy: string;
465
- name: string;
466
- enabled: boolean;
467
- description: string;
468
- configuration: {};
469
- }[];
470
- post: {
471
- policy: string;
472
- name: string;
473
- enabled: boolean;
474
- description: string;
475
- configuration: {};
476
- }[];
477
- "path-operator"?: undefined;
478
- })[];
479
- })[];
480
- resources: {
481
- type: string;
482
- enabled: boolean;
483
- name: string;
484
- configuration: {
485
- timeToIdleSeconds: number;
486
- timeToLiveSeconds: number;
487
- maxEntriesLocalHeap: number;
488
- };
489
- }[];
490
- properties: ({
491
- key: string;
492
- value: string;
493
- encryptable?: undefined;
494
- encrypted?: undefined;
495
- } | {
496
- key: string;
497
- value: string;
498
- encryptable: boolean;
499
- encrypted: boolean;
500
- })[];
501
- };
502
- export declare const apimFlow: {
503
- type: string;
504
- id: string;
505
- properties: {
506
- name: {
507
- title: string;
508
- description: string;
509
- type: string;
510
- };
511
- "path-operator": {
512
- type: string;
513
- title: string;
514
- properties: {
515
- operator: {
516
- title: string;
517
- description: string;
518
- type: string;
519
- enum: string[];
520
- default: string;
521
- "x-schema-form": {
522
- titleMap: {
523
- EQUALS: string;
524
- STARTS_WITH: string;
525
- };
526
- };
527
- };
528
- path: {
529
- title: string;
530
- description: string;
531
- type: string;
532
- pattern: string;
533
- default: string;
534
- };
535
- };
536
- required: string[];
537
- };
538
- methods: {
539
- title: string;
540
- description: string;
541
- type: string;
542
- items: {
543
- type: string;
544
- enum: string[];
545
- };
546
- };
547
- condition: {
548
- title: string;
549
- description: string;
550
- type: string;
551
- };
552
- };
553
- required: never[];
554
- disabled: never[];
555
- };
556
- export declare const apimPropertyProviders: {
557
- data: {
558
- id: string;
559
- name: string;
560
- schema: {
561
- type: string;
562
- properties: {
563
- url: {
564
- title: string;
565
- description: string;
566
- type: string;
567
- pattern: string;
568
- };
569
- transformation: {
570
- title: string;
571
- type: string;
572
- "x-schema-form": {
573
- type: string;
574
- codemirrorOptions: {
575
- lineWrapping: boolean;
576
- lineNumbers: boolean;
577
- allowDropFileTypes: boolean;
578
- autoCloseTags: boolean;
579
- mode: string;
580
- };
581
- help: {
582
- title: string;
583
- content: string;
584
- };
585
- };
586
- };
587
- };
588
- required: string[];
589
- };
590
- documentation: string;
591
- }[];
592
- };