@kong-ui-public/entities-upstreams-targets 3.7.31-pr.2132.c7fba69a4.0 → 3.7.31

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 (54) hide show
  1. package/dist/entities-upstreams-targets.es.js +3591 -0
  2. package/dist/entities-upstreams-targets.umd.js +1 -0
  3. package/dist/style.css +1 -0
  4. package/dist/types/components/TargetForm.vue.d.ts +69 -0
  5. package/dist/types/components/TargetForm.vue.d.ts.map +1 -0
  6. package/dist/types/components/TargetsList.vue.d.ts +113 -0
  7. package/dist/types/components/TargetsList.vue.d.ts.map +1 -0
  8. package/dist/types/components/UpstreamsConfigCard.vue.d.ts +62 -0
  9. package/dist/types/components/UpstreamsConfigCard.vue.d.ts.map +1 -0
  10. package/dist/types/components/UpstreamsForm.vue.d.ts +43 -0
  11. package/dist/types/components/UpstreamsForm.vue.d.ts.map +1 -0
  12. package/dist/types/components/UpstreamsFormActiveHealthCheck.vue.d.ts +153 -0
  13. package/dist/types/components/UpstreamsFormActiveHealthCheck.vue.d.ts.map +1 -0
  14. package/dist/types/components/UpstreamsFormGeneralInfo.vue.d.ts +69 -0
  15. package/dist/types/components/UpstreamsFormGeneralInfo.vue.d.ts.map +1 -0
  16. package/dist/types/components/UpstreamsFormHealthChecks.vue.d.ts +49 -0
  17. package/dist/types/components/UpstreamsFormHealthChecks.vue.d.ts.map +1 -0
  18. package/dist/types/components/UpstreamsFormLoadBalancing.vue.d.ts +121 -0
  19. package/dist/types/components/UpstreamsFormLoadBalancing.vue.d.ts.map +1 -0
  20. package/dist/types/components/UpstreamsFormPassiveHealthCheck.vue.d.ts +91 -0
  21. package/dist/types/components/UpstreamsFormPassiveHealthCheck.vue.d.ts.map +1 -0
  22. package/dist/types/components/UpstreamsList.vue.d.ts +123 -0
  23. package/dist/types/components/UpstreamsList.vue.d.ts.map +1 -0
  24. package/dist/types/composables/index.d.ts +10 -0
  25. package/dist/types/composables/index.d.ts.map +1 -0
  26. package/dist/types/composables/useHelpers.d.ts +12 -0
  27. package/dist/types/composables/useHelpers.d.ts.map +1 -0
  28. package/dist/types/composables/useI18n.d.ts +9 -0
  29. package/dist/types/composables/useI18n.d.ts.map +1 -0
  30. package/dist/types/composables/useMultiselectCreation.d.ts +23 -0
  31. package/dist/types/composables/useMultiselectCreation.d.ts.map +1 -0
  32. package/dist/types/constants.d.ts +21 -0
  33. package/dist/types/constants.d.ts.map +1 -0
  34. package/dist/types/index.d.ts +12 -0
  35. package/dist/types/index.d.ts.map +1 -0
  36. package/dist/types/links.d.ts +6 -0
  37. package/dist/types/links.d.ts.map +1 -0
  38. package/dist/types/targets-endpoints.d.ts +20 -0
  39. package/dist/types/targets-endpoints.d.ts.map +1 -0
  40. package/dist/types/types/index.d.ts +18 -0
  41. package/dist/types/types/index.d.ts.map +1 -0
  42. package/dist/types/types/target-form.d.ts +29 -0
  43. package/dist/types/types/target-form.d.ts.map +1 -0
  44. package/dist/types/types/targets-list.d.ts +18 -0
  45. package/dist/types/types/targets-list.d.ts.map +1 -0
  46. package/dist/types/types/upstreams-config.d.ts +29 -0
  47. package/dist/types/types/upstreams-config.d.ts.map +1 -0
  48. package/dist/types/types/upstreams-form.d.ts +163 -0
  49. package/dist/types/types/upstreams-form.d.ts.map +1 -0
  50. package/dist/types/types/upstreams-list.d.ts +19 -0
  51. package/dist/types/types/upstreams-list.d.ts.map +1 -0
  52. package/dist/types/upstreams-endpoints.d.ts +24 -0
  53. package/dist/types/upstreams-endpoints.d.ts.map +1 -0
  54. package/package.json +4 -4
@@ -0,0 +1,43 @@
1
+ import { type PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import '@kong-ui-public/entities-shared/dist/style.css';
4
+ import type { KongManagerUpstreamsFormConfig, KonnectUpstreamsFormConfig, UpstreamResponse } from '../types';
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
7
+ config: {
8
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
9
+ required: true;
10
+ validator: (config: KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig) => boolean;
11
+ };
12
+ /** If a valid upstreamId is provided, it will put the form in Edit mode instead of Create */
13
+ upstreamId: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ error: (error: AxiosError<unknown, any>) => any;
20
+ update: (data: UpstreamResponse) => any;
21
+ loading: (isLoading: boolean) => any;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
24
+ config: {
25
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
26
+ required: true;
27
+ validator: (config: KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig) => boolean;
28
+ };
29
+ /** If a valid upstreamId is provided, it will put the form in Edit mode instead of Create */
30
+ upstreamId: {
31
+ type: StringConstructor;
32
+ required: false;
33
+ default: string;
34
+ };
35
+ }>> & Readonly<{
36
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
37
+ onUpdate?: ((data: UpstreamResponse) => any) | undefined;
38
+ onLoading?: ((isLoading: boolean) => any) | undefined;
39
+ }>, {
40
+ upstreamId: string;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
43
+ //# sourceMappingURL=UpstreamsForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsForm.vue"],"names":[],"mappings":"AAwfA,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AAatD,OAAO,gDAAgD,CAAA;AACvD,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAM1B,gBAAgB,EAEjB,MAAM,UAAU,CAAA;;IAooBf,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;IAQ3F,6FAA6F;;;;;;;;;;;IAZ7F,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;IAQ3F,6FAA6F;;;;;;;;;;;;;AAvB/F,wBA8BG"}
@@ -0,0 +1,153 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ActiveHealthCheckHeader, HealthCheckType, KongManagerUpstreamsFormConfig, KonnectUpstreamsFormConfig } from '../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ config: {
5
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
6
+ required: true;
7
+ };
8
+ type: {
9
+ type: PropType<HealthCheckType>;
10
+ required: true;
11
+ };
12
+ httpPath: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ timeout: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ concurrency: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ };
24
+ httpsSni: {
25
+ type: StringConstructor;
26
+ required: true;
27
+ };
28
+ verifySsl: {
29
+ type: BooleanConstructor;
30
+ required: true;
31
+ };
32
+ headers: {
33
+ type: PropType<ActiveHealthCheckHeader[]>;
34
+ required: true;
35
+ };
36
+ healthyInterval: {
37
+ type: StringConstructor;
38
+ required: true;
39
+ };
40
+ healthySuccesses: {
41
+ type: StringConstructor;
42
+ required: true;
43
+ };
44
+ healthyHttpStatuses: {
45
+ type: PropType<string[]>;
46
+ required: true;
47
+ };
48
+ unhealthyInterval: {
49
+ type: StringConstructor;
50
+ required: true;
51
+ };
52
+ unhealthyHttpFailures: {
53
+ type: StringConstructor;
54
+ required: true;
55
+ };
56
+ unhealthyTcpFailures: {
57
+ type: StringConstructor;
58
+ required: true;
59
+ };
60
+ unhealthyHttpStatuses: {
61
+ type: PropType<string[]>;
62
+ required: true;
63
+ };
64
+ unhealthyTimeouts: {
65
+ type: StringConstructor;
66
+ required: true;
67
+ };
68
+ readonly: {
69
+ type: BooleanConstructor;
70
+ required: false;
71
+ default: boolean;
72
+ };
73
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
74
+ [x: string]: any;
75
+ } & {
76
+ [x: string]: any;
77
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
+ config: {
79
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
80
+ required: true;
81
+ };
82
+ type: {
83
+ type: PropType<HealthCheckType>;
84
+ required: true;
85
+ };
86
+ httpPath: {
87
+ type: StringConstructor;
88
+ required: true;
89
+ };
90
+ timeout: {
91
+ type: StringConstructor;
92
+ required: true;
93
+ };
94
+ concurrency: {
95
+ type: StringConstructor;
96
+ required: true;
97
+ };
98
+ httpsSni: {
99
+ type: StringConstructor;
100
+ required: true;
101
+ };
102
+ verifySsl: {
103
+ type: BooleanConstructor;
104
+ required: true;
105
+ };
106
+ headers: {
107
+ type: PropType<ActiveHealthCheckHeader[]>;
108
+ required: true;
109
+ };
110
+ healthyInterval: {
111
+ type: StringConstructor;
112
+ required: true;
113
+ };
114
+ healthySuccesses: {
115
+ type: StringConstructor;
116
+ required: true;
117
+ };
118
+ healthyHttpStatuses: {
119
+ type: PropType<string[]>;
120
+ required: true;
121
+ };
122
+ unhealthyInterval: {
123
+ type: StringConstructor;
124
+ required: true;
125
+ };
126
+ unhealthyHttpFailures: {
127
+ type: StringConstructor;
128
+ required: true;
129
+ };
130
+ unhealthyTcpFailures: {
131
+ type: StringConstructor;
132
+ required: true;
133
+ };
134
+ unhealthyHttpStatuses: {
135
+ type: PropType<string[]>;
136
+ required: true;
137
+ };
138
+ unhealthyTimeouts: {
139
+ type: StringConstructor;
140
+ required: true;
141
+ };
142
+ readonly: {
143
+ type: BooleanConstructor;
144
+ required: false;
145
+ default: boolean;
146
+ };
147
+ }>> & Readonly<{
148
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
149
+ }>, {
150
+ readonly: boolean;
151
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
152
+ export default _default;
153
+ //# sourceMappingURL=UpstreamsFormActiveHealthCheck.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsFormActiveHealthCheck.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormActiveHealthCheck.vue"],"names":[],"mappings":"AA+gBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EACV,uBAAuB,EACvB,eAAe,EACY,8BAA8B,EACzD,0BAA0B,EAC3B,MAAM,UAAU,CAAA;;;cAqmCG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;;;cAIrE,QAAQ,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAwB1B,QAAQ,CAAC,uBAAuB,EAAE,CAAC;;;;;;;;;;;;cAYnC,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;cAgBlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;cAxDjB,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;;;cAIrE,QAAQ,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAwB1B,QAAQ,CAAC,uBAAuB,EAAE,CAAC;;;;;;;;;;;;cAYnC,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;cAgBlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;AAhFrC,wBA6FG"}
@@ -0,0 +1,69 @@
1
+ import type { PropType } from 'vue';
2
+ import type { KongManagerUpstreamsFormConfig, KonnectUpstreamsFormConfig } from '../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ config: {
5
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
6
+ required: true;
7
+ };
8
+ name: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ hostHeader: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ clientCertificate: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ tags: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ };
24
+ readonly: {
25
+ type: BooleanConstructor;
26
+ required: false;
27
+ default: boolean;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
+ "update:name": (val: string) => any;
31
+ "update:host-header": (val: string) => any;
32
+ "update:client-certificate": (val: string) => any;
33
+ "update:tags": (val: string) => any;
34
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
+ config: {
36
+ type: PropType<KonnectUpstreamsFormConfig | KongManagerUpstreamsFormConfig>;
37
+ required: true;
38
+ };
39
+ name: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ hostHeader: {
44
+ type: StringConstructor;
45
+ required: true;
46
+ };
47
+ clientCertificate: {
48
+ type: StringConstructor;
49
+ required: true;
50
+ };
51
+ tags: {
52
+ type: StringConstructor;
53
+ required: true;
54
+ };
55
+ readonly: {
56
+ type: BooleanConstructor;
57
+ required: false;
58
+ default: boolean;
59
+ };
60
+ }>> & Readonly<{
61
+ "onUpdate:name"?: ((val: string) => any) | undefined;
62
+ "onUpdate:host-header"?: ((val: string) => any) | undefined;
63
+ "onUpdate:client-certificate"?: ((val: string) => any) | undefined;
64
+ "onUpdate:tags"?: ((val: string) => any) | undefined;
65
+ }>, {
66
+ readonly: boolean;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
69
+ //# sourceMappingURL=UpstreamsFormGeneralInfo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsFormGeneralInfo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormGeneralInfo.vue"],"names":[],"mappings":"AAoOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;;;cA0etE,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAArE,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAbzF,wBAsCG"}
@@ -0,0 +1,49 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ activeHealthSwitch: {
3
+ type: BooleanConstructor;
4
+ required: true;
5
+ };
6
+ passiveHealthSwitch: {
7
+ type: BooleanConstructor;
8
+ required: true;
9
+ };
10
+ healthchecksThreshold: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ readonly: {
15
+ type: BooleanConstructor;
16
+ required: false;
17
+ default: boolean;
18
+ };
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ "update:active-health-switch": (val: boolean) => any;
21
+ "update:passive-health-switch": (val: boolean) => any;
22
+ "update:healthchecks-threshold": (val: string) => any;
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ activeHealthSwitch: {
25
+ type: BooleanConstructor;
26
+ required: true;
27
+ };
28
+ passiveHealthSwitch: {
29
+ type: BooleanConstructor;
30
+ required: true;
31
+ };
32
+ healthchecksThreshold: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ readonly: {
37
+ type: BooleanConstructor;
38
+ required: false;
39
+ default: boolean;
40
+ };
41
+ }>> & Readonly<{
42
+ "onUpdate:active-health-switch"?: ((val: boolean) => any) | undefined;
43
+ "onUpdate:passive-health-switch"?: ((val: boolean) => any) | undefined;
44
+ "onUpdate:healthchecks-threshold"?: ((val: string) => any) | undefined;
45
+ }>, {
46
+ readonly: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ export default _default;
49
+ //# sourceMappingURL=UpstreamsFormHealthChecks.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsFormHealthChecks.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormHealthChecks.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoYA,wBA6BG"}
@@ -0,0 +1,121 @@
1
+ import type { PropType } from 'vue';
2
+ import type { UpstreamAlgorithm, UpstreamHash } from '../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ algorithm: {
5
+ type: PropType<UpstreamAlgorithm>;
6
+ required: true;
7
+ };
8
+ slots: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ hashOn: {
13
+ type: PropType<UpstreamHash>;
14
+ required: true;
15
+ };
16
+ hashFallback: {
17
+ type: PropType<UpstreamHash>;
18
+ required: true;
19
+ };
20
+ hashOnHeader: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ };
24
+ hashOnCookie: {
25
+ type: StringConstructor;
26
+ required: true;
27
+ };
28
+ hashOnCookiePath: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ hashOnQueryArgument: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ hashOnUriCapture: {
37
+ type: StringConstructor;
38
+ required: true;
39
+ };
40
+ hashFallbackHeader: {
41
+ type: StringConstructor;
42
+ required: true;
43
+ };
44
+ hashFallbackQueryArgument: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ hashFallbackUriCapture: {
49
+ type: StringConstructor;
50
+ required: true;
51
+ };
52
+ readonly: {
53
+ type: BooleanConstructor;
54
+ required: false;
55
+ default: boolean;
56
+ };
57
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
+ [x: string]: any;
59
+ } & {
60
+ [x: string]: any;
61
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ algorithm: {
63
+ type: PropType<UpstreamAlgorithm>;
64
+ required: true;
65
+ };
66
+ slots: {
67
+ type: StringConstructor;
68
+ required: true;
69
+ };
70
+ hashOn: {
71
+ type: PropType<UpstreamHash>;
72
+ required: true;
73
+ };
74
+ hashFallback: {
75
+ type: PropType<UpstreamHash>;
76
+ required: true;
77
+ };
78
+ hashOnHeader: {
79
+ type: StringConstructor;
80
+ required: true;
81
+ };
82
+ hashOnCookie: {
83
+ type: StringConstructor;
84
+ required: true;
85
+ };
86
+ hashOnCookiePath: {
87
+ type: StringConstructor;
88
+ required: true;
89
+ };
90
+ hashOnQueryArgument: {
91
+ type: StringConstructor;
92
+ required: true;
93
+ };
94
+ hashOnUriCapture: {
95
+ type: StringConstructor;
96
+ required: true;
97
+ };
98
+ hashFallbackHeader: {
99
+ type: StringConstructor;
100
+ required: true;
101
+ };
102
+ hashFallbackQueryArgument: {
103
+ type: StringConstructor;
104
+ required: true;
105
+ };
106
+ hashFallbackUriCapture: {
107
+ type: StringConstructor;
108
+ required: true;
109
+ };
110
+ readonly: {
111
+ type: BooleanConstructor;
112
+ required: false;
113
+ default: boolean;
114
+ };
115
+ }>> & Readonly<{
116
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
117
+ }>, {
118
+ readonly: boolean;
119
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
+ export default _default;
121
+ //# sourceMappingURL=UpstreamsFormLoadBalancing.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsFormLoadBalancing.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormLoadBalancing.vue"],"names":[],"mappings":"AAqdA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAuC,iBAAiB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;;cAs5BhF,QAAQ,CAAC,iBAAiB,CAAC;;;;;;;;cAQ3B,QAAQ,CAAC,YAAY,CAAC;;;;cAItB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAZtB,QAAQ,CAAC,iBAAiB,CAAC;;;;;;;;cAQ3B,QAAQ,CAAC,YAAY,CAAC;;;;cAItB,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjC1C,wBA0EG"}
@@ -0,0 +1,91 @@
1
+ import type { PropType } from 'vue';
2
+ import type { HealthCheckType } from '../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ type: {
5
+ type: PropType<HealthCheckType>;
6
+ required: true;
7
+ };
8
+ healthySuccesses: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ healthyHttpStatuses: {
13
+ type: PropType<string[]>;
14
+ required: true;
15
+ };
16
+ unhealthyTimeouts: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ unhealthyHttpFailures: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ };
24
+ unhealthyHttpStatuses: {
25
+ type: PropType<string[]>;
26
+ required: true;
27
+ };
28
+ unhealthyTcpFailures: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ readonly: {
33
+ type: BooleanConstructor;
34
+ required: false;
35
+ default: boolean;
36
+ };
37
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
38
+ "update:type": (val: HealthCheckType) => any;
39
+ "update:healthy-successes": (val: string) => any;
40
+ "update:healthy-http-statuses": (val: string[]) => any;
41
+ "update:unhealthy-http-failures": (val: string) => any;
42
+ "update:unhealthy-tcp-failures": (val: string) => any;
43
+ "update:unhealthy-http-statuses": (val: string[]) => any;
44
+ "update:unhealthy-timeouts": (val: string) => any;
45
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ type: {
47
+ type: PropType<HealthCheckType>;
48
+ required: true;
49
+ };
50
+ healthySuccesses: {
51
+ type: StringConstructor;
52
+ required: true;
53
+ };
54
+ healthyHttpStatuses: {
55
+ type: PropType<string[]>;
56
+ required: true;
57
+ };
58
+ unhealthyTimeouts: {
59
+ type: StringConstructor;
60
+ required: true;
61
+ };
62
+ unhealthyHttpFailures: {
63
+ type: StringConstructor;
64
+ required: true;
65
+ };
66
+ unhealthyHttpStatuses: {
67
+ type: PropType<string[]>;
68
+ required: true;
69
+ };
70
+ unhealthyTcpFailures: {
71
+ type: StringConstructor;
72
+ required: true;
73
+ };
74
+ readonly: {
75
+ type: BooleanConstructor;
76
+ required: false;
77
+ default: boolean;
78
+ };
79
+ }>> & Readonly<{
80
+ "onUpdate:type"?: ((val: HealthCheckType) => any) | undefined;
81
+ "onUpdate:healthy-successes"?: ((val: string) => any) | undefined;
82
+ "onUpdate:healthy-http-statuses"?: ((val: string[]) => any) | undefined;
83
+ "onUpdate:unhealthy-http-failures"?: ((val: string) => any) | undefined;
84
+ "onUpdate:unhealthy-tcp-failures"?: ((val: string) => any) | undefined;
85
+ "onUpdate:unhealthy-http-statuses"?: ((val: string[]) => any) | undefined;
86
+ "onUpdate:unhealthy-timeouts"?: ((val: string) => any) | undefined;
87
+ }>, {
88
+ readonly: boolean;
89
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
+ export default _default;
91
+ //# sourceMappingURL=UpstreamsFormPassiveHealthCheck.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsFormPassiveHealthCheck.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormPassiveHealthCheck.vue"],"names":[],"mappings":"AAsRA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,eAAe,EAA6B,MAAM,UAAU,CAAA;;;cA0lBtD,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQ1B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;cAYlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;cApBjB,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQ1B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;cAYlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;AApCrC,wBAiDG"}
@@ -0,0 +1,123 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KongManagerUpstreamsListConfig, KonnectUpstreamsListConfig, EntityRow, CopyEventPayload } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
7
+ config: {
8
+ type: PropType<KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig>;
9
+ required: true;
10
+ validator: (config: KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig) => boolean;
11
+ };
12
+ cacheIdentifier: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
17
+ canCreate: {
18
+ type: PropType<() => boolean | Promise<boolean>>;
19
+ required: false;
20
+ default: () => Promise<boolean>;
21
+ };
22
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
23
+ canDelete: {
24
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
25
+ required: false;
26
+ default: () => Promise<boolean>;
27
+ };
28
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
29
+ canEdit: {
30
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
31
+ required: false;
32
+ default: () => Promise<boolean>;
33
+ };
34
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
35
+ canRetrieve: {
36
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
37
+ required: false;
38
+ default: () => Promise<boolean>;
39
+ };
40
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
41
+ useActionOutside: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ /**
46
+ * Enables the new empty state design, this prop can be removed when
47
+ * the khcp-14756-empty-states-m2 FF is removed.
48
+ */
49
+ enableV2EmptyStates: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
54
+ error: (error: AxiosError<unknown, any>) => any;
55
+ "click:learn-more": () => any;
56
+ "copy:success": (payload: CopyEventPayload) => any;
57
+ "copy:error": (payload: CopyEventPayload) => any;
58
+ "delete:success": (upstream: EntityRow) => any;
59
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
61
+ config: {
62
+ type: PropType<KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig>;
63
+ required: true;
64
+ validator: (config: KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig) => boolean;
65
+ };
66
+ cacheIdentifier: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
71
+ canCreate: {
72
+ type: PropType<() => boolean | Promise<boolean>>;
73
+ required: false;
74
+ default: () => Promise<boolean>;
75
+ };
76
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
77
+ canDelete: {
78
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
79
+ required: false;
80
+ default: () => Promise<boolean>;
81
+ };
82
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
83
+ canEdit: {
84
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
85
+ required: false;
86
+ default: () => Promise<boolean>;
87
+ };
88
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
89
+ canRetrieve: {
90
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
91
+ required: false;
92
+ default: () => Promise<boolean>;
93
+ };
94
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
95
+ useActionOutside: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ /**
100
+ * Enables the new empty state design, this prop can be removed when
101
+ * the khcp-14756-empty-states-m2 FF is removed.
102
+ */
103
+ enableV2EmptyStates: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ }>> & Readonly<{
108
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
109
+ "onClick:learn-more"?: (() => any) | undefined;
110
+ "onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
111
+ "onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
112
+ "onDelete:success"?: ((upstream: EntityRow) => any) | undefined;
113
+ }>, {
114
+ cacheIdentifier: string;
115
+ canCreate: () => boolean | Promise<boolean>;
116
+ canDelete: (row: EntityRow) => boolean | Promise<boolean>;
117
+ canEdit: (row: EntityRow) => boolean | Promise<boolean>;
118
+ canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
119
+ useActionOutside: boolean;
120
+ enableV2EmptyStates: boolean;
121
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
+ export default _default;
123
+ //# sourceMappingURL=UpstreamsList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpstreamsList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsList.vue"],"names":[],"mappings":"AAikBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGvC,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAC1B,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAYjB,OAAO,gDAAgD,CAAA;;IAy9BrD,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;;;;;IAY3F,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;;;OAGG;;;;;;;;;;;;IAhDH,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;;;;;IAY3F,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;;;OAGG;;;;;;;;;;;;;qBA9BgC,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;;;;AAjD7E,wBAmEG"}