@kong-ui-public/entities-routes 3.17.14-pr.2781.b1238e65f.0 → 3.17.15-pr.2790.95b70759b.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 (64) hide show
  1. package/dist/RouteFormExpressionsEditor-Djsgv4nT.js +64 -0
  2. package/dist/entities-routes.es.js +20 -0
  3. package/dist/entities-routes.umd.js +1 -0
  4. package/dist/index-CfYLdXXX.js +2640 -0
  5. package/dist/style.css +1 -0
  6. package/dist/types/components/RouteConfigCard.vue.d.ts +78 -0
  7. package/dist/types/components/RouteConfigCard.vue.d.ts.map +1 -0
  8. package/dist/types/components/RouteForm.vue.d.ts +176 -0
  9. package/dist/types/components/RouteForm.vue.d.ts.map +1 -0
  10. package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts +36 -0
  11. package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts.map +1 -0
  12. package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts +42 -0
  13. package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts.map +1 -0
  14. package/dist/types/components/RouteFormRulesComposer.vue.d.ts +57 -0
  15. package/dist/types/components/RouteFormRulesComposer.vue.d.ts.map +1 -0
  16. package/dist/types/components/RouteList.vue.d.ts +157 -0
  17. package/dist/types/components/RouteList.vue.d.ts.map +1 -0
  18. package/dist/types/components/rules-composer/ExpressionsRules.vue.d.ts +44 -0
  19. package/dist/types/components/rules-composer/ExpressionsRules.vue.d.ts.map +1 -0
  20. package/dist/types/components/rules-composer/RulesComposer.vue.d.ts +42 -0
  21. package/dist/types/components/rules-composer/RulesComposer.vue.d.ts.map +1 -0
  22. package/dist/types/components/rules-composer/TraditionalRules.vue.d.ts +32 -0
  23. package/dist/types/components/rules-composer/TraditionalRules.vue.d.ts.map +1 -0
  24. package/dist/types/components/rules-composer/rules/DestinationRules.vue.d.ts +16 -0
  25. package/dist/types/components/rules-composer/rules/DestinationRules.vue.d.ts.map +1 -0
  26. package/dist/types/components/rules-composer/rules/HeaderRules.vue.d.ts +16 -0
  27. package/dist/types/components/rules-composer/rules/HeaderRules.vue.d.ts.map +1 -0
  28. package/dist/types/components/rules-composer/rules/HostRules.vue.d.ts +15 -0
  29. package/dist/types/components/rules-composer/rules/HostRules.vue.d.ts.map +1 -0
  30. package/dist/types/components/rules-composer/rules/MethodRules.vue.d.ts +24 -0
  31. package/dist/types/components/rules-composer/rules/MethodRules.vue.d.ts.map +1 -0
  32. package/dist/types/components/rules-composer/rules/PathRules.vue.d.ts +15 -0
  33. package/dist/types/components/rules-composer/rules/PathRules.vue.d.ts.map +1 -0
  34. package/dist/types/components/rules-composer/rules/RuleControlsAdd.vue.d.ts +11 -0
  35. package/dist/types/components/rules-composer/rules/RuleControlsAdd.vue.d.ts.map +1 -0
  36. package/dist/types/components/rules-composer/rules/RuleControlsRemove.vue.d.ts +12 -0
  37. package/dist/types/components/rules-composer/rules/RuleControlsRemove.vue.d.ts.map +1 -0
  38. package/dist/types/components/rules-composer/rules/SniRules.vue.d.ts +15 -0
  39. package/dist/types/components/rules-composer/rules/SniRules.vue.d.ts.map +1 -0
  40. package/dist/types/components/rules-composer/rules/SourceRules.vue.d.ts +16 -0
  41. package/dist/types/components/rules-composer/rules/SourceRules.vue.d.ts.map +1 -0
  42. package/dist/types/composables/index.d.ts +6 -0
  43. package/dist/types/composables/index.d.ts.map +1 -0
  44. package/dist/types/composables/useI18n.d.ts +9 -0
  45. package/dist/types/composables/useI18n.d.ts.map +1 -0
  46. package/dist/types/constants.d.ts +65 -0
  47. package/dist/types/constants.d.ts.map +1 -0
  48. package/dist/types/index.d.ts +9 -0
  49. package/dist/types/index.d.ts.map +1 -0
  50. package/dist/types/routes-endpoints.d.ts +58 -0
  51. package/dist/types/routes-endpoints.d.ts.map +1 -0
  52. package/dist/types/types/index.d.ts +4 -0
  53. package/dist/types/types/index.d.ts.map +1 -0
  54. package/dist/types/types/route-config-card.d.ts +31 -0
  55. package/dist/types/types/route-config-card.d.ts.map +1 -0
  56. package/dist/types/types/route-form.d.ts +148 -0
  57. package/dist/types/types/route-form.d.ts.map +1 -0
  58. package/dist/types/types/route-list.d.ts +36 -0
  59. package/dist/types/types/route-list.d.ts.map +1 -0
  60. package/dist/types/utilities/helpers.d.ts +2 -0
  61. package/dist/types/utilities/helpers.d.ts.map +1 -0
  62. package/dist/types/utilities/index.d.ts +2 -0
  63. package/dist/types/utilities/index.d.ts.map +1 -0
  64. package/package.json +6 -6
@@ -0,0 +1,157 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { HeaderTag } from '@kong/kongponents';
4
+ import type { KongManagerRouteListConfig, KonnectRouteListConfig, EntityRow, CopyEventPayload } from '../types';
5
+ import '@kong-ui-public/entities-shared/dist/style.css';
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
8
+ config: {
9
+ type: PropType<KonnectRouteListConfig | KongManagerRouteListConfig>;
10
+ required: true;
11
+ validator: (config: KonnectRouteListConfig | KongManagerRouteListConfig) => boolean;
12
+ };
13
+ cacheIdentifier: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
18
+ canCreate: {
19
+ type: PropType<() => boolean | Promise<boolean>>;
20
+ required: false;
21
+ default: () => Promise<boolean>;
22
+ };
23
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
24
+ canDelete: {
25
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
26
+ required: false;
27
+ default: () => Promise<boolean>;
28
+ };
29
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
30
+ canEdit: {
31
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
32
+ required: false;
33
+ default: () => Promise<boolean>;
34
+ };
35
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
36
+ canRetrieve: {
37
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
38
+ required: false;
39
+ default: () => Promise<boolean>;
40
+ };
41
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can start debugger session on a given entity */
42
+ canDebug: {
43
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
44
+ required: false;
45
+ default: () => Promise<boolean>;
46
+ };
47
+ title: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ titleTag: {
52
+ type: PropType<HeaderTag>;
53
+ default: string;
54
+ };
55
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
56
+ useActionOutside: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ hideTraditionalColumns: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ hasExpressionColumn: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
69
+ error: (error: AxiosError<unknown, any>) => any;
70
+ "click:learn-more": () => any;
71
+ "copy:success": (payload: CopyEventPayload) => any;
72
+ "copy:error": (payload: CopyEventPayload) => any;
73
+ "delete:success": (route: EntityRow) => any;
74
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
75
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
76
+ config: {
77
+ type: PropType<KonnectRouteListConfig | KongManagerRouteListConfig>;
78
+ required: true;
79
+ validator: (config: KonnectRouteListConfig | KongManagerRouteListConfig) => boolean;
80
+ };
81
+ cacheIdentifier: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
86
+ canCreate: {
87
+ type: PropType<() => boolean | Promise<boolean>>;
88
+ required: false;
89
+ default: () => Promise<boolean>;
90
+ };
91
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
92
+ canDelete: {
93
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
94
+ required: false;
95
+ default: () => Promise<boolean>;
96
+ };
97
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
98
+ canEdit: {
99
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
100
+ required: false;
101
+ default: () => Promise<boolean>;
102
+ };
103
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
104
+ canRetrieve: {
105
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
106
+ required: false;
107
+ default: () => Promise<boolean>;
108
+ };
109
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can start debugger session on a given entity */
110
+ canDebug: {
111
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
112
+ required: false;
113
+ default: () => Promise<boolean>;
114
+ };
115
+ title: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ titleTag: {
120
+ type: PropType<HeaderTag>;
121
+ default: string;
122
+ };
123
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
124
+ useActionOutside: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ hideTraditionalColumns: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ hasExpressionColumn: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ }>> & Readonly<{
137
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
138
+ "onClick:learn-more"?: (() => any) | undefined;
139
+ "onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
140
+ "onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
141
+ "onDelete:success"?: ((route: EntityRow) => any) | undefined;
142
+ }>, {
143
+ title: string;
144
+ titleTag: HeaderTag;
145
+ cacheIdentifier: string;
146
+ canCreate: () => boolean | Promise<boolean>;
147
+ canDelete: (row: EntityRow) => boolean | Promise<boolean>;
148
+ canEdit: (row: EntityRow) => boolean | Promise<boolean>;
149
+ canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
150
+ canDebug: (row: EntityRow) => boolean | Promise<boolean>;
151
+ useActionOutside: boolean;
152
+ hideTraditionalColumns: boolean;
153
+ hasExpressionColumn: boolean;
154
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
155
+ declare const _default: typeof __VLS_export;
156
+ export default _default;
157
+ //# sourceMappingURL=RouteList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteList.vue"],"names":[],"mappings":"AAyqBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,OAAO,KAAK,EAAyB,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAezE,OAAO,KAAK,EACV,0BAA0B,EAC1B,sBAAsB,EACtB,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AASjB,OAAO,gDAAgD,CAAA;AA6vCvD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;;;;;IAYnF,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,8IAA8I;;cAE1H,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;cAS1D,QAAQ,CAAC,SAAS,CAAC;;;IAGrC,iHAAiH;;;;;;;;;;;;;;;;;;;;IAtDjH,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;;;;;IAYnF,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,8IAA8I;;cAE1H,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;cAS1D,QAAQ,CAAC,SAAS,CAAC;;;IAGrC,iHAAiH;;;;;;;;;;;;;;;;;;;;;;;qBApC9E,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;oBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;4EA0B3E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,44 @@
1
+ import type { PROTOCOLS_TO_ROUTE_RULES } from '../../constants';
2
+ import { type ExpressionsRouteRulesFields, type SharedRouteRulesFields } from '../../types';
3
+ type __VLS_Props = {
4
+ protocols: keyof typeof PROTOCOLS_TO_ROUTE_RULES;
5
+ hideAdvanced?: boolean;
6
+ readonly?: boolean;
7
+ showExpressionsModalEntry?: boolean;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ 'fields': SharedRouteRulesFields & ExpressionsRouteRulesFields;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare var __VLS_17: {
14
+ expression: {
15
+ value: string;
16
+ update: (value: string) => void;
17
+ };
18
+ state: import("../..").ExpressionsEditorState;
19
+ };
20
+ type __VLS_Slots = {} & {
21
+ 'after-expressions-editor'?: (props: typeof __VLS_17) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:fields": (value: SharedRouteRulesFields & ExpressionsRouteRulesFields) => any;
25
+ notify: (args_0: {
26
+ message: string;
27
+ type: string;
28
+ }) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ "onUpdate:fields"?: ((value: SharedRouteRulesFields & ExpressionsRouteRulesFields) => any) | undefined;
31
+ onNotify?: ((args_0: {
32
+ message: string;
33
+ type: string;
34
+ }) => any) | undefined;
35
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
39
+ type __VLS_WithSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
44
+ //# sourceMappingURL=ExpressionsRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpressionsRules.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/rules-composer/ExpressionsRules.vue"],"names":[],"mappings":"AAkIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAE/D,OAAO,EAAE,KAAK,2BAA2B,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAK3F,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,OAAO,wBAAwB,CAAA;IAChD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC,CAAC;AAmBF,KAAK,gBAAgB,GAAG;IACxB,QAAQ,EAAE,sBAAsB,GAAG,2BAA2B,CAAC;CAC9D,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmPxD,QAAA,IAAI,QAAQ;;;;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,0BAA0B,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGnE,QAAA,MAAM,UAAU;;;iBA5QM,MAAM;cAAQ,MAAM;;;;;iBAApB,MAAM;cAAQ,MAAM;;kFA+QxC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { RouteFlavor, type RouteFlavors } from '../../types';
2
+ type __VLS_Props = {
3
+ routeFlavors: RouteFlavors;
4
+ tooltips?: {
5
+ [RouteFlavor.TRADITIONAL]?: string;
6
+ [RouteFlavor.EXPRESSIONS]?: string;
7
+ };
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue: string | undefined;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare var __VLS_33: {}, __VLS_36: RouteFlavor.TRADITIONAL, __VLS_37: {}, __VLS_40: {}, __VLS_43: RouteFlavor.EXPRESSIONS, __VLS_44: {}, __VLS_46: {}, __VLS_49: RouteFlavor.TRADITIONAL, __VLS_50: {}, __VLS_53: RouteFlavor.EXPRESSIONS, __VLS_54: {};
14
+ type __VLS_Slots = {} & {
15
+ [K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any;
16
+ } & {
17
+ [K in NonNullable<typeof __VLS_43>]?: (props: typeof __VLS_44) => any;
18
+ } & {
19
+ [K in NonNullable<typeof __VLS_49>]?: (props: typeof __VLS_50) => any;
20
+ } & {
21
+ [K in NonNullable<typeof __VLS_53>]?: (props: typeof __VLS_54) => any;
22
+ } & {
23
+ 'before-content'?: (props: typeof __VLS_33) => any;
24
+ } & {
25
+ 'before-content'?: (props: typeof __VLS_40) => any;
26
+ } & {
27
+ 'before-content'?: (props: typeof __VLS_46) => any;
28
+ };
29
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:modelValue": (value: string | undefined) => any;
31
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ //# sourceMappingURL=RulesComposer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RulesComposer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/rules-composer/RulesComposer.vue"],"names":[],"mappings":"AAiJA,OAAO,EAAE,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAA;AAM5D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,QAAQ,CAAC,EAAE;QACT,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;QAClC,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;KACnC,CAAA;CACF,CAAC;AAmBF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4KxD,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,yBAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,yBAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,yBAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,yBAAW,EAAE,QAAQ,IAAY,CAAE;AAC5O,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGzD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PROTOCOLS_TO_ROUTE_RULES } from '../../constants';
2
+ import { type SharedRouteRulesFields, type TraditionalRouteRulesFields } from '../../types';
3
+ type __VLS_Props = {
4
+ protocols: keyof typeof PROTOCOLS_TO_ROUTE_RULES;
5
+ hideAdvanced?: boolean;
6
+ readonly?: boolean;
7
+ configType: 'basic' | 'advanced';
8
+ };
9
+ type __VLS_ModelProps = {
10
+ 'fields': SharedRouteRulesFields & TraditionalRouteRulesFields;
11
+ 'customMethods': Array<{
12
+ label: string;
13
+ value: string;
14
+ }>;
15
+ };
16
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:customMethods": (value: {
19
+ label: string;
20
+ value: string;
21
+ }[]) => any;
22
+ "update:fields": (value: SharedRouteRulesFields & TraditionalRouteRulesFields) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
+ "onUpdate:customMethods"?: ((value: {
25
+ label: string;
26
+ value: string;
27
+ }[]) => any) | undefined;
28
+ "onUpdate:fields"?: ((value: SharedRouteRulesFields & TraditionalRouteRulesFields) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ //# sourceMappingURL=TraditionalRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TraditionalRules.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/rules-composer/TraditionalRules.vue"],"names":[],"mappings":"AA+VA,OAAO,EAA6F,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AACrJ,OAAO,EAAwB,KAAK,sBAAsB,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAYjH,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,OAAO,wBAAwB,CAAA;IAChD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,GAAG,UAAU,CAAA;CACjC,CAAC;AAwGF,KAAK,gBAAgB,GAAG;IACxB,QAAQ,EAAE,sBAAsB,GAAG,2BAA2B,CAAC;IAC/D,eAAe,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxD,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAkkBxD,QAAA,MAAM,YAAY;;eArkB6B,MAAM;eAAS,MAAM;;;;;eAArB,MAAM;eAAS,MAAM;;;kFAwkBlE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import type { Destinations } from '../../../types';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Destinations[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ add: () => any;
7
+ remove: (index: number) => any;
8
+ "update:modelValue": (value: Destinations[]) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
10
+ onAdd?: (() => any) | undefined;
11
+ onRemove?: ((index: number) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: Destinations[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=DestinationRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DestinationRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/DestinationRules.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAgBlD,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC;AAkKF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import type { HeaderFields } from '../../../types';
2
+ type __VLS_ModelProps = {
3
+ modelValue: HeaderFields[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ add: () => any;
7
+ remove: (index: number) => any;
8
+ "update:modelValue": (value: HeaderFields[]) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
10
+ onAdd?: (() => any) | undefined;
11
+ onRemove?: ((index: number) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: HeaderFields[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=HeaderRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/HeaderRules.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAiBlD,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC;AA4JF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ add: () => any;
6
+ remove: (index: number) => any;
7
+ "update:modelValue": (value: string[]) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
+ onAdd?: (() => any) | undefined;
10
+ onRemove?: ((index: number) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=HostRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/HostRules.vue"],"names":[],"mappings":"AAoFA,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AA6IF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,24 @@
1
+ import { type Method, type CustomMethod } from '../../../types';
2
+ type __VLS_ModelProps = {
3
+ 'methods': Array<Method | CustomMethod>;
4
+ 'customMethods': Array<{
5
+ label: string;
6
+ value: string;
7
+ }>;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:methods": (value: string[]) => any;
11
+ "update:customMethods": (value: {
12
+ label: string;
13
+ value: string;
14
+ }[]) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
16
+ "onUpdate:methods"?: ((value: string[]) => any) | undefined;
17
+ "onUpdate:customMethods"?: ((value: {
18
+ label: string;
19
+ value: string;
20
+ }[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ //# sourceMappingURL=MethodRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MethodRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/MethodRules.vue"],"names":[],"mappings":"AAkFA,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAqCxE,KAAK,gBAAgB,GAAG;IACxB,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACxC,eAAe,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxD,CAAC;AAyGF,QAAA,MAAM,YAAY;;;eAtG6B,MAAM;eAAS,MAAM;;;;;eAArB,MAAM;eAAS,MAAM;;kFAyGlE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ add: () => any;
6
+ remove: (index: number) => any;
7
+ "update:modelValue": (value: string[]) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
+ onAdd?: (() => any) | undefined;
10
+ onRemove?: ((index: number) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=PathRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PathRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/PathRules.vue"],"names":[],"mappings":"AAoFA,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AA6IF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ routingRulesEntity: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ add: (...args: any[]) => void;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onAdd?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=RuleControlsAdd.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuleControlsAdd.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/RuleControlsAdd.vue"],"names":[],"mappings":"AA2CA,KAAK,WAAW,GAAG;IACjB,kBAAkB,EAAE,MAAM,CAAA;CAC3B,CAAC;AAoFF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ disabled: boolean;
3
+ routingRulesEntity: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ remove: (...args: any[]) => void;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onRemove?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ //# sourceMappingURL=RuleControlsRemove.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuleControlsRemove.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/RuleControlsRemove.vue"],"names":[],"mappings":"AAoCA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;CAC3B,CAAC;AA+EF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ add: () => any;
6
+ remove: (index: number) => any;
7
+ "update:modelValue": (value: string[]) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
+ onAdd?: (() => any) | undefined;
10
+ onRemove?: ((index: number) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=SniRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SniRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/SniRules.vue"],"names":[],"mappings":"AA8EA,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AA4IF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import type { Sources } from '../../../types';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Sources[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ add: () => any;
7
+ remove: (index: number) => any;
8
+ "update:modelValue": (value: Sources[]) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
10
+ onAdd?: (() => any) | undefined;
11
+ onRemove?: ((index: number) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: Sources[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=SourceRules.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceRules.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/rules-composer/rules/SourceRules.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAgB7C,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAkKF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,6 @@
1
+ import useI18n from './useI18n';
2
+ declare const _default: {
3
+ useI18n: typeof useI18n;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;;;;AAG/B,wBAEC"}
@@ -0,0 +1,9 @@
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 {};
9
+ //# sourceMappingURL=useI18n.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,65 @@
1
+ import { RoutingRulesEntities, type Destinations, type HeaderFields, type Method, type Sources } from './types';
2
+ export declare const INITIAL_TRADITIONAL_ROUTE_RULES_VALUES: {
3
+ paths: string[];
4
+ snis: string[];
5
+ hosts: string[];
6
+ methods: Method[];
7
+ headers: HeaderFields[];
8
+ sources: Sources[];
9
+ destinations: Destinations[];
10
+ };
11
+ export declare const PROTOCOLS_TO_ROUTE_RULES: {
12
+ http: RoutingRulesEntities[];
13
+ https: RoutingRulesEntities[];
14
+ 'http,https': RoutingRulesEntities[];
15
+ 'https,http': RoutingRulesEntities[];
16
+ grpc: RoutingRulesEntities[];
17
+ grpcs: RoutingRulesEntities[];
18
+ 'grpc,grpcs': RoutingRulesEntities[];
19
+ 'grpcs,grpc': RoutingRulesEntities[];
20
+ udp: RoutingRulesEntities[];
21
+ tls: RoutingRulesEntities[];
22
+ tcp: RoutingRulesEntities[];
23
+ 'tls,udp': RoutingRulesEntities[];
24
+ 'udp,tls': RoutingRulesEntities[];
25
+ 'tcp,udp': RoutingRulesEntities[];
26
+ 'udp,tcp': RoutingRulesEntities[];
27
+ 'tcp,tls': RoutingRulesEntities[];
28
+ 'tls,tcp': RoutingRulesEntities[];
29
+ 'tcp,tls,udp': RoutingRulesEntities[];
30
+ 'tls,udp,tcp': RoutingRulesEntities[];
31
+ 'udp,tcp,tls': RoutingRulesEntities[];
32
+ tls_passthrough: RoutingRulesEntities[];
33
+ ws: RoutingRulesEntities[];
34
+ wss: RoutingRulesEntities[];
35
+ 'ws,wss': RoutingRulesEntities[];
36
+ 'wss,ws': RoutingRulesEntities[];
37
+ };
38
+ export declare const HTTP_REDIRECT_STATUS_CODES: {
39
+ label: string;
40
+ value: number;
41
+ }[];
42
+ export declare const PATH_HANDLING_OPTIONS: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ export declare const INITIAL_SHARED_ROUTE_RULES_FIELDS: {
47
+ https_redirect_status_code: number;
48
+ strip_path: true;
49
+ preserve_host: false;
50
+ request_buffering: true;
51
+ response_buffering: true;
52
+ };
53
+ export declare const INITIAL_ROUTE_RULES_FIELDS: {
54
+ expression: string;
55
+ priority: number;
56
+ paths: string[];
57
+ regex_priority: number;
58
+ path_handling: "v0";
59
+ https_redirect_status_code: number;
60
+ strip_path: true;
61
+ preserve_host: false;
62
+ request_buffering: true;
63
+ response_buffering: true;
64
+ };
65
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,YAAY,EAEjB,KAAK,YAAY,EACjB,KAAK,MAAM,EAEX,KAAK,OAAO,EAEb,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,sCAAsC;WACX,MAAM,EAAE;UACT,MAAM,EAAE;WACP,MAAM,EAAE;aACR,MAAM,EAAE;aACkB,YAAY,EAAE;aACP,OAAO,EAAE;kBACJ,YAAY,EAAE;CAC3F,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BD,CAAA;AAEpC,eAAO,MAAM,0BAA0B;;;GAMtC,CAAA;AAED,eAAO,MAAM,qBAAqB;;;GAGjC,CAAA;AAED,eAAO,MAAM,iCAAiC;;;;;;CAMZ,CAAA;AAElC,eAAO,MAAM,0BAA0B;;;;;;;;;;;CAWtC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import RouteConfigCard from './components/RouteConfigCard.vue';
2
+ import RouteForm from './components/RouteForm.vue';
3
+ import RouteFormRulesComposer from './components/RouteFormRulesComposer.vue';
4
+ import RouteList from './components/RouteList.vue';
5
+ export { RouteConfigCard, RouteForm, RouteFormRulesComposer, RouteList };
6
+ export * from './constants';
7
+ export * from './types';
8
+ export * from './utilities';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,kCAAkC,CAAA;AAC9D,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,sBAAsB,MAAM,yCAAyC,CAAA;AAC5E,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,sBAAsB,EAAE,SAAS,EAAE,CAAA;AAExE,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA"}