@kong-ui-public/entities-gateway-services 3.8.2 → 3.8.3

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.
@@ -68,12 +68,12 @@ declare const _default: import("vue").DefineComponent<{
68
68
  };
69
69
  }>> & {
70
70
  onLoading?: ((isLoading: boolean) => any) | undefined;
71
- "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
72
71
  "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
72
+ "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
73
73
  }, {
74
+ enableTerraform: boolean;
74
75
  configCardDoc: string;
75
76
  hideTitle: boolean;
76
- enableTerraform: boolean;
77
77
  }, {}>;
78
78
  export default _default;
79
79
  //# sourceMappingURL=GatewayServiceConfigCard.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayServiceConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/GatewayServiceConfigCard.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,qCAAqC,EAAE,iCAAiC,EAAqC,MAAM,UAAU,CAAA;AAU3I,OAAO,gDAAgD,CAAA;;IA8arD,oHAAoH;;;;4BAI9F,iCAAiC,GAAG,qCAAqC,KAAG,OAAO;;IAQzG;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;IA9BH,oHAAoH;;;;4BAI9F,iCAAiC,GAAG,qCAAqC,KAAG,OAAO;;IAQzG;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;AApCL,wBA2CG"}
1
+ {"version":3,"file":"GatewayServiceConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/GatewayServiceConfigCard.vue"],"names":[],"mappings":"AA4MA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,qCAAqC,EAAE,iCAAiC,EAAqC,MAAM,UAAU,CAAA;AAU3I,OAAO,gDAAgD,CAAA;;IA4XrD,oHAAoH;;cAElG,QAAQ,CAAC,iCAAiC,GAAG,qCAAqC,CAAC;;4BAE/E,iCAAiC,GAAG,qCAAqC,KAAG,OAAO;;IAQzG;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;IA9BH,oHAAoH;;cAElG,QAAQ,CAAC,iCAAiC,GAAG,qCAAqC,CAAC;;4BAE/E,iCAAiC,GAAG,qCAAqC,KAAG,OAAO;;IAQzG;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;AArCL,wBA2CG"}
@@ -2,7 +2,19 @@ import type { PropType } from 'vue';
2
2
  import type { AxiosResponse } from 'axios';
3
3
  import type { KonnectGatewayServiceFormConfig, KongManagerGatewayServiceFormConfig } from '../types';
4
4
  import '@kong-ui-public/entities-shared/dist/style.css';
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ declare function __VLS_template(): {
6
+ slots: {
7
+ "form-actions"?(_: {
8
+ canSubmit: boolean;
9
+ cancel: () => void;
10
+ submit: () => Promise<AxiosResponse | undefined>;
11
+ }): any;
12
+ };
13
+ refs: {};
14
+ attrs: Partial<{}>;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import("vue").DefineComponent<{
6
18
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
7
19
  config: {
8
20
  type: PropType<KonnectGatewayServiceFormConfig | KongManagerGatewayServiceFormConfig>;
@@ -32,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
44
  }, {
33
45
  validateUrl: () => void;
34
46
  getPayload: import("vue").ComputedRef<Record<string, any>>;
35
- saveFormData: () => Promise<AxiosResponse<any, any> | undefined>;
47
+ saveFormData: () => Promise<AxiosResponse | undefined>;
36
48
  canSubmit: import("vue").ComputedRef<boolean>;
37
49
  initForm: (data: Record<string, any>) => void;
38
50
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -71,22 +83,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
83
  };
72
84
  }>> & {
73
85
  onError?: ((error: any) => any) | undefined;
74
- onLoading?: ((isLoading: boolean) => any) | undefined;
75
86
  onUpdate?: ((data: Record<string, any>) => any) | undefined;
76
87
  "onUrl-valid:success"?: (() => any) | undefined;
77
88
  "onUrl-valid:error"?: ((error: string) => any) | undefined;
89
+ onLoading?: ((isLoading: boolean) => any) | undefined;
78
90
  "onModel-updated"?: ((val: Record<string, any>) => any) | undefined;
79
91
  }, {
80
- enableTerraform: boolean;
81
92
  gatewayServiceId: string;
82
93
  hideSectionsInfo: boolean;
83
- }, {}>, {
84
- "form-actions"?(_: {
85
- canSubmit: boolean;
86
- cancel: () => void;
87
- submit: () => Promise<AxiosResponse<any, any> | undefined>;
88
- }): any;
89
- }>;
94
+ enableTerraform: boolean;
95
+ }, {}>;
96
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
90
97
  export default _default;
91
98
  type __VLS_WithTemplateSlots<T, S> = T & {
92
99
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayServiceForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/GatewayServiceForm.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,mCAAmC,EAGpC,MAAM,UAAU,C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KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;IAKjH,8CAA8C;;;;;;;;;;;;IA7C9C,oHAAoH;;cAElG,QAAQ,CAAC,+BAA+B,GAAG,mCAAmC,CAAC;;4BAE3E,+BAA+B,GAAG,mCAAmC,KAAG,OAAO;;;;;;IAYrG,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;IAKjH,8CAA8C;;;;;;;;;;;;;qBA3BX,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;AA3C7E,wBA0DG"}
@@ -1,746 +1,9 @@
1
- export default function useI18n(): {
2
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
3
- actions: {
4
- create: string;
5
- serverless_create: string;
6
- copy_id: string;
7
- copy_json: string;
8
- edit: string;
9
- clear: string;
10
- view: string;
11
- delete: {
12
- title: string;
13
- description: string;
14
- menu_label: string;
15
- };
16
- };
17
- search: {
18
- placeholder: {
19
- konnect: string;
20
- kongManager: string;
21
- };
22
- };
23
- gateway_services: {
24
- title: string;
25
- list: {
26
- toolbar_actions: {
27
- new_gateway_service: string;
28
- };
29
- table_headers: {
30
- name: string;
31
- control_plane: string;
32
- protocol: string;
33
- host: string;
34
- port: string;
35
- path: string;
36
- enabled: string;
37
- tags: string;
38
- id: string;
39
- created_at: string;
40
- updated_at: string;
41
- };
42
- empty_state: {
43
- title: string;
44
- description: string;
45
- serverless_title: string;
46
- };
47
- };
48
- form: {
49
- sections: {
50
- general: {
51
- title: string;
52
- description: string;
53
- };
54
- keys: {
55
- title: string;
56
- description: string;
57
- checkedGroupLabel: string;
58
- urlLabel: string;
59
- checkedGroupAltLabel: string;
60
- viewAdvancedFields: string;
61
- };
62
- };
63
- fields: {
64
- upstream_url: {
65
- label: string;
66
- placeholder: string;
67
- tooltip_for_konnect: string;
68
- tooltip_for_km: string;
69
- };
70
- name: {
71
- label: string;
72
- placeholder: string;
73
- tooltip: string;
74
- };
75
- protocol: {
76
- label: string;
77
- tooltip: string;
78
- options: {
79
- http: string;
80
- https: string;
81
- tcp: string;
82
- tls: string;
83
- tls_passthrough: string;
84
- grpc: string;
85
- grpcs: string;
86
- ws: string;
87
- wss: string;
88
- udp: string;
89
- };
90
- };
91
- host: {
92
- label: string;
93
- placeholder: string;
94
- tooltip: string;
95
- };
96
- path: {
97
- label: string;
98
- placeholder: string;
99
- tooltip: string;
100
- };
101
- port: {
102
- label: string;
103
- tooltip: string;
104
- };
105
- retries: {
106
- label: string;
107
- tooltip: string;
108
- };
109
- connect_timeout: {
110
- label: string;
111
- tooltip: string;
112
- };
113
- write_timeout: {
114
- label: string;
115
- tooltip: string;
116
- };
117
- read_timeout: {
118
- label: string;
119
- tooltip: string;
120
- };
121
- client_certificate: {
122
- label: string;
123
- placeholder: string;
124
- tooltip: string;
125
- };
126
- ca_certificates: {
127
- label: string;
128
- placeholder: string;
129
- tooltip: string;
130
- code1: string;
131
- code2: string;
132
- };
133
- tls_verify_enabled: {
134
- label: string;
135
- help: string;
136
- tooltip: string;
137
- code1: string;
138
- };
139
- tls_verify_option: {
140
- unset: {
141
- display: string;
142
- };
143
- true: {
144
- label: string;
145
- display: string;
146
- };
147
- false: {
148
- label: string;
149
- display: string;
150
- };
151
- };
152
- tags: {
153
- label: string;
154
- tooltip: string;
155
- placeholder: string;
156
- help: string;
157
- };
158
- enabled: {
159
- label: string;
160
- tooltip: string;
161
- false: string;
162
- true: string;
163
- };
164
- };
165
- };
166
- };
167
- errors: {
168
- general: string;
169
- delete: string;
170
- copy: string;
171
- urlErrorMessage: string;
172
- };
173
- copy: {
174
- success: string;
175
- success_brief: string;
176
- };
177
- glossary: {
178
- gateway_services: string;
179
- };
180
- }>;
181
- i18nT: import("@vue/runtime-core").DefineComponent<{
182
- i18n: {
183
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
184
- actions: {
185
- create: string;
186
- serverless_create: string;
187
- copy_id: string;
188
- copy_json: string;
189
- edit: string;
190
- clear: string;
191
- view: string;
192
- delete: {
193
- title: string;
194
- description: string;
195
- menu_label: string;
196
- };
197
- };
198
- search: {
199
- placeholder: {
200
- konnect: string;
201
- kongManager: string;
202
- };
203
- };
204
- gateway_services: {
205
- title: string;
206
- list: {
207
- toolbar_actions: {
208
- new_gateway_service: string;
209
- };
210
- table_headers: {
211
- name: string;
212
- control_plane: string;
213
- protocol: string;
214
- host: string;
215
- port: string;
216
- path: string;
217
- enabled: string;
218
- tags: string;
219
- id: string;
220
- created_at: string;
221
- updated_at: string;
222
- };
223
- empty_state: {
224
- title: string;
225
- description: string;
226
- serverless_title: string;
227
- };
228
- };
229
- form: {
230
- sections: {
231
- general: {
232
- title: string;
233
- description: string;
234
- };
235
- keys: {
236
- title: string;
237
- description: string;
238
- checkedGroupLabel: string;
239
- urlLabel: string;
240
- checkedGroupAltLabel: string;
241
- viewAdvancedFields: string;
242
- };
243
- };
244
- fields: {
245
- upstream_url: {
246
- label: string;
247
- placeholder: string;
248
- tooltip_for_konnect: string;
249
- tooltip_for_km: string;
250
- };
251
- name: {
252
- label: string;
253
- placeholder: string;
254
- tooltip: string;
255
- };
256
- protocol: {
257
- label: string;
258
- tooltip: string;
259
- options: {
260
- http: string;
261
- https: string;
262
- tcp: string;
263
- tls: string;
264
- tls_passthrough: string;
265
- grpc: string;
266
- grpcs: string;
267
- ws: string;
268
- wss: string;
269
- udp: string;
270
- };
271
- };
272
- host: {
273
- label: string;
274
- placeholder: string;
275
- tooltip: string;
276
- };
277
- path: {
278
- label: string;
279
- placeholder: string;
280
- tooltip: string;
281
- };
282
- port: {
283
- label: string;
284
- tooltip: string;
285
- };
286
- retries: {
287
- label: string;
288
- tooltip: string;
289
- };
290
- connect_timeout: {
291
- label: string;
292
- tooltip: string;
293
- };
294
- write_timeout: {
295
- label: string;
296
- tooltip: string;
297
- };
298
- read_timeout: {
299
- label: string;
300
- tooltip: string;
301
- };
302
- client_certificate: {
303
- label: string;
304
- placeholder: string;
305
- tooltip: string;
306
- };
307
- ca_certificates: {
308
- label: string;
309
- placeholder: string;
310
- tooltip: string;
311
- code1: string;
312
- code2: string;
313
- };
314
- tls_verify_enabled: {
315
- label: string;
316
- help: string;
317
- tooltip: string;
318
- code1: string;
319
- };
320
- tls_verify_option: {
321
- unset: {
322
- display: string;
323
- };
324
- true: {
325
- label: string;
326
- display: string;
327
- };
328
- false: {
329
- label: string;
330
- display: string;
331
- };
332
- };
333
- tags: {
334
- label: string;
335
- tooltip: string;
336
- placeholder: string;
337
- help: string;
338
- };
339
- enabled: {
340
- label: string;
341
- tooltip: string;
342
- false: string;
343
- true: string;
344
- };
345
- };
346
- };
347
- };
348
- errors: {
349
- general: string;
350
- delete: string;
351
- copy: string;
352
- urlErrorMessage: string;
353
- };
354
- copy: {
355
- success: string;
356
- success_brief: string;
357
- };
358
- glossary: {
359
- gateway_services: string;
360
- };
361
- }>>;
362
- default: null;
363
- };
364
- keypath: {
365
- type: StringConstructor;
366
- required: true;
367
- };
368
- tag: {
369
- type: StringConstructor;
370
- default: string;
371
- };
372
- }, () => import("@vue/runtime-core").VNodeChild, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
373
- i18n: {
374
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
375
- actions: {
376
- create: string;
377
- serverless_create: string;
378
- copy_id: string;
379
- copy_json: string;
380
- edit: string;
381
- clear: string;
382
- view: string;
383
- delete: {
384
- title: string;
385
- description: string;
386
- menu_label: string;
387
- };
388
- };
389
- search: {
390
- placeholder: {
391
- konnect: string;
392
- kongManager: string;
393
- };
394
- };
395
- gateway_services: {
396
- title: string;
397
- list: {
398
- toolbar_actions: {
399
- new_gateway_service: string;
400
- };
401
- table_headers: {
402
- name: string;
403
- control_plane: string;
404
- protocol: string;
405
- host: string;
406
- port: string;
407
- path: string;
408
- enabled: string;
409
- tags: string;
410
- id: string;
411
- created_at: string;
412
- updated_at: string;
413
- };
414
- empty_state: {
415
- title: string;
416
- description: string;
417
- serverless_title: string;
418
- };
419
- };
420
- form: {
421
- sections: {
422
- general: {
423
- title: string;
424
- description: string;
425
- };
426
- keys: {
427
- title: string;
428
- description: string;
429
- checkedGroupLabel: string;
430
- urlLabel: string;
431
- checkedGroupAltLabel: string;
432
- viewAdvancedFields: string;
433
- };
434
- };
435
- fields: {
436
- upstream_url: {
437
- label: string;
438
- placeholder: string;
439
- tooltip_for_konnect: string;
440
- tooltip_for_km: string;
441
- };
442
- name: {
443
- label: string;
444
- placeholder: string;
445
- tooltip: string;
446
- };
447
- protocol: {
448
- label: string;
449
- tooltip: string;
450
- options: {
451
- http: string;
452
- https: string;
453
- tcp: string;
454
- tls: string;
455
- tls_passthrough: string;
456
- grpc: string;
457
- grpcs: string;
458
- ws: string;
459
- wss: string;
460
- udp: string;
461
- };
462
- };
463
- host: {
464
- label: string;
465
- placeholder: string;
466
- tooltip: string;
467
- };
468
- path: {
469
- label: string;
470
- placeholder: string;
471
- tooltip: string;
472
- };
473
- port: {
474
- label: string;
475
- tooltip: string;
476
- };
477
- retries: {
478
- label: string;
479
- tooltip: string;
480
- };
481
- connect_timeout: {
482
- label: string;
483
- tooltip: string;
484
- };
485
- write_timeout: {
486
- label: string;
487
- tooltip: string;
488
- };
489
- read_timeout: {
490
- label: string;
491
- tooltip: string;
492
- };
493
- client_certificate: {
494
- label: string;
495
- placeholder: string;
496
- tooltip: string;
497
- };
498
- ca_certificates: {
499
- label: string;
500
- placeholder: string;
501
- tooltip: string;
502
- code1: string;
503
- code2: string;
504
- };
505
- tls_verify_enabled: {
506
- label: string;
507
- help: string;
508
- tooltip: string;
509
- code1: string;
510
- };
511
- tls_verify_option: {
512
- unset: {
513
- display: string;
514
- };
515
- true: {
516
- label: string;
517
- display: string;
518
- };
519
- false: {
520
- label: string;
521
- display: string;
522
- };
523
- };
524
- tags: {
525
- label: string;
526
- tooltip: string;
527
- placeholder: string;
528
- help: string;
529
- };
530
- enabled: {
531
- label: string;
532
- tooltip: string;
533
- false: string;
534
- true: string;
535
- };
536
- };
537
- };
538
- };
539
- errors: {
540
- general: string;
541
- delete: string;
542
- copy: string;
543
- urlErrorMessage: string;
544
- };
545
- copy: {
546
- success: string;
547
- success_brief: string;
548
- };
549
- glossary: {
550
- gateway_services: string;
551
- };
552
- }>>;
553
- default: null;
554
- };
555
- keypath: {
556
- type: StringConstructor;
557
- required: true;
558
- };
559
- tag: {
560
- type: StringConstructor;
561
- default: string;
562
- };
563
- }>>, {
564
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
565
- actions: {
566
- create: string;
567
- serverless_create: string;
568
- copy_id: string;
569
- copy_json: string;
570
- edit: string;
571
- clear: string;
572
- view: string;
573
- delete: {
574
- title: string;
575
- description: string;
576
- menu_label: string;
577
- };
578
- };
579
- search: {
580
- placeholder: {
581
- konnect: string;
582
- kongManager: string;
583
- };
584
- };
585
- gateway_services: {
586
- title: string;
587
- list: {
588
- toolbar_actions: {
589
- new_gateway_service: string;
590
- };
591
- table_headers: {
592
- name: string;
593
- control_plane: string;
594
- protocol: string;
595
- host: string;
596
- port: string;
597
- path: string;
598
- enabled: string;
599
- tags: string;
600
- id: string;
601
- created_at: string;
602
- updated_at: string;
603
- };
604
- empty_state: {
605
- title: string;
606
- description: string;
607
- serverless_title: string;
608
- };
609
- };
610
- form: {
611
- sections: {
612
- general: {
613
- title: string;
614
- description: string;
615
- };
616
- keys: {
617
- title: string;
618
- description: string;
619
- checkedGroupLabel: string;
620
- urlLabel: string;
621
- checkedGroupAltLabel: string;
622
- viewAdvancedFields: string;
623
- };
624
- };
625
- fields: {
626
- upstream_url: {
627
- label: string;
628
- placeholder: string;
629
- tooltip_for_konnect: string;
630
- tooltip_for_km: string;
631
- };
632
- name: {
633
- label: string;
634
- placeholder: string;
635
- tooltip: string;
636
- };
637
- protocol: {
638
- label: string;
639
- tooltip: string;
640
- options: {
641
- http: string;
642
- https: string;
643
- tcp: string;
644
- tls: string;
645
- tls_passthrough: string;
646
- grpc: string;
647
- grpcs: string;
648
- ws: string;
649
- wss: string;
650
- udp: string;
651
- };
652
- };
653
- host: {
654
- label: string;
655
- placeholder: string;
656
- tooltip: string;
657
- };
658
- path: {
659
- label: string;
660
- placeholder: string;
661
- tooltip: string;
662
- };
663
- port: {
664
- label: string;
665
- tooltip: string;
666
- };
667
- retries: {
668
- label: string;
669
- tooltip: string;
670
- };
671
- connect_timeout: {
672
- label: string;
673
- tooltip: string;
674
- };
675
- write_timeout: {
676
- label: string;
677
- tooltip: string;
678
- };
679
- read_timeout: {
680
- label: string;
681
- tooltip: string;
682
- };
683
- client_certificate: {
684
- label: string;
685
- placeholder: string;
686
- tooltip: string;
687
- };
688
- ca_certificates: {
689
- label: string;
690
- placeholder: string;
691
- tooltip: string;
692
- code1: string;
693
- code2: string;
694
- };
695
- tls_verify_enabled: {
696
- label: string;
697
- help: string;
698
- tooltip: string;
699
- code1: string;
700
- };
701
- tls_verify_option: {
702
- unset: {
703
- display: string;
704
- };
705
- true: {
706
- label: string;
707
- display: string;
708
- };
709
- false: {
710
- label: string;
711
- display: string;
712
- };
713
- };
714
- tags: {
715
- label: string;
716
- tooltip: string;
717
- placeholder: string;
718
- help: string;
719
- };
720
- enabled: {
721
- label: string;
722
- tooltip: string;
723
- false: string;
724
- true: string;
725
- };
726
- };
727
- };
728
- };
729
- errors: {
730
- general: string;
731
- delete: string;
732
- copy: string;
733
- urlErrorMessage: string;
734
- };
735
- copy: {
736
- success: string;
737
- success_brief: string;
738
- };
739
- glossary: {
740
- gateway_services: string;
741
- };
742
- }>;
743
- tag: string;
744
- }, {}>;
745
- };
1
+ import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
2
+ import english from '../locales/en.json';
3
+ interface UseI18nReturn {
4
+ i18n: ReturnType<typeof createI18n<typeof english>>;
5
+ i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
6
+ }
7
+ export default function useI18n(): UseI18nReturn;
8
+ export {};
746
9
  //# sourceMappingURL=useI18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B"}
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-gateway-services",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-gateway-services.umd.js",
6
6
  "module": "./dist/entities-gateway-services.es.js",
@@ -26,8 +26,8 @@
26
26
  "axios": "^1.6.8",
27
27
  "vue": ">= 3.3.13 < 4",
28
28
  "vue-router": "^4.3.3",
29
- "@kong-ui-public/i18n": "^2.2.2",
30
- "@kong-ui-public/entities-shared": "^3.9.2"
29
+ "@kong-ui-public/entities-shared": "^3.9.3",
30
+ "@kong-ui-public/i18n": "^2.2.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@kong/design-tokens": "1.17.2",
@@ -36,7 +36,7 @@
36
36
  "axios": "^1.7.7",
37
37
  "vue": "^3.4.38",
38
38
  "vue-router": "^4.4.5",
39
- "@kong-ui-public/entities-shared": "^3.9.2",
39
+ "@kong-ui-public/entities-shared": "^3.9.3",
40
40
  "@kong-ui-public/i18n": "^2.2.2"
41
41
  },
42
42
  "repository": {