@kong-ui-public/entities-routes 3.16.26-pr.2701.377d8f5a8.0 → 3.16.26

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-F5bIgjiX.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-CL0sBDYW.js +2615 -0
  5. package/dist/style.css +1 -0
  6. package/dist/types/components/RouteConfigCard.vue.d.ts +77 -0
  7. package/dist/types/components/RouteConfigCard.vue.d.ts.map +1 -0
  8. package/dist/types/components/RouteForm.vue.d.ts +175 -0
  9. package/dist/types/components/RouteForm.vue.d.ts.map +1 -0
  10. package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts +34 -0
  11. package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts.map +1 -0
  12. package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts +40 -0
  13. package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts.map +1 -0
  14. package/dist/types/components/RouteFormRulesComposer.vue.d.ts +55 -0
  15. package/dist/types/components/RouteFormRulesComposer.vue.d.ts.map +1 -0
  16. package/dist/types/components/RouteList.vue.d.ts +143 -0
  17. package/dist/types/components/RouteList.vue.d.ts.map +1 -0
  18. package/dist/types/components/rules-composer/ExpressionsRules.vue.d.ts +42 -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 +40 -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 +30 -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 +15 -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 +15 -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 +14 -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 +23 -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 +14 -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 +10 -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 +11 -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 +14 -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 +15 -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 +34 -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 +9 -9
@@ -0,0 +1,42 @@
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_PublicProps = __VLS_Props & {
10
+ 'fields': SharedRouteRulesFields & ExpressionsRouteRulesFields;
11
+ };
12
+ declare var __VLS_15: {
13
+ expression: {
14
+ value: string;
15
+ update: (value: string) => void;
16
+ };
17
+ state: import("../..").ExpressionsEditorState;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ 'after-expressions-editor'?: (props: typeof __VLS_15) => any;
21
+ };
22
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:fields": (value: SharedRouteRulesFields & ExpressionsRouteRulesFields) => any;
24
+ notify: (args_0: {
25
+ message: string;
26
+ type: string;
27
+ }) => any;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
+ "onUpdate:fields"?: ((value: SharedRouteRulesFields & ExpressionsRouteRulesFields) => any) | undefined;
30
+ onNotify?: ((args_0: {
31
+ message: string;
32
+ type: string;
33
+ }) => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
36
+ export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ //# 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":"AAiIA,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;AAsBF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,QAAQ,EAAE,sBAAsB,GAAG,2BAA2B,CAAC;CAC9D,CAAC;AAuPF,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;AA0BnE,QAAA,MAAM,eAAe;;;iBArSC,MAAM;cAAQ,MAAM;;;;;iBAApB,MAAM;cAAQ,MAAM;;kFA0SxC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,40 @@
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_PublicProps = __VLS_Props & {
10
+ modelValue: string | undefined;
11
+ };
12
+ declare var __VLS_30: {}, __VLS_33: RouteFlavor.TRADITIONAL, __VLS_34: {}, __VLS_37: {}, __VLS_40: RouteFlavor.EXPRESSIONS, __VLS_41: {}, __VLS_43: {}, __VLS_46: RouteFlavor.TRADITIONAL, __VLS_47: {}, __VLS_50: RouteFlavor.EXPRESSIONS, __VLS_51: {};
13
+ type __VLS_Slots = {} & {
14
+ [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34) => any;
15
+ } & {
16
+ [K in NonNullable<typeof __VLS_40>]?: (props: typeof __VLS_41) => any;
17
+ } & {
18
+ [K in NonNullable<typeof __VLS_46>]?: (props: typeof __VLS_47) => any;
19
+ } & {
20
+ [K in NonNullable<typeof __VLS_50>]?: (props: typeof __VLS_51) => any;
21
+ } & {
22
+ 'before-content'?: (props: typeof __VLS_30) => any;
23
+ } & {
24
+ 'before-content'?: (props: typeof __VLS_37) => any;
25
+ } & {
26
+ 'before-content'?: (props: typeof __VLS_43) => any;
27
+ };
28
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (value: string | undefined) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
40
+ //# 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":"AAgJA,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;AAsBF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAwMF,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;AAyBzD,QAAA,MAAM,eAAe;;;;kFAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,30 @@
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_PublicProps = __VLS_Props & {
10
+ 'fields': SharedRouteRulesFields & TraditionalRouteRulesFields;
11
+ 'customMethods': Array<{
12
+ label: string;
13
+ value: string;
14
+ }>;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:customMethods": (value: {
18
+ label: string;
19
+ value: string;
20
+ }[]) => any;
21
+ "update:fields": (value: SharedRouteRulesFields & TraditionalRouteRulesFields) => any;
22
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
+ "onUpdate:customMethods"?: ((value: {
24
+ label: string;
25
+ value: string;
26
+ }[]) => any) | undefined;
27
+ "onUpdate:fields"?: ((value: SharedRouteRulesFields & TraditionalRouteRulesFields) => any) | undefined;
28
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ export default _default;
30
+ //# 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":"AA8VA,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;AA2GF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,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;;;eAG6C,MAAM;eAAS,MAAM;;;;;eAArB,MAAM;eAAS,MAAM;;;;AA2nBpE,wBAKG"}
@@ -0,0 +1,15 @@
1
+ import type { Destinations } from '../../../types';
2
+ type __VLS_PublicProps = {
3
+ modelValue: Destinations[];
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
15
+ //# 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":"AAuEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAmBlD,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC;;;;;;;;;;AAgLF,wBAKG"}
@@ -0,0 +1,15 @@
1
+ import type { HeaderFields } from '../../../types';
2
+ type __VLS_PublicProps = {
3
+ modelValue: HeaderFields[];
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
15
+ //# 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":"AAqEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAoBlD,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC;;;;;;;;;;AA0KF,wBAKG"}
@@ -0,0 +1,14 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
14
+ //# 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":"AAsFA,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;;;;;;;;;;AAwJF,wBAKG"}
@@ -0,0 +1,23 @@
1
+ import { type Method, type CustomMethod } from '../../../types';
2
+ type __VLS_PublicProps = {
3
+ 'methods': Array<Method | CustomMethod>;
4
+ 'customMethods': Array<{
5
+ label: string;
6
+ value: string;
7
+ }>;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
23
+ //# 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":"AAiFA,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAwCxE,KAAK,iBAAiB,GAAG;IACzB,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;;;;eAG6C,MAAM;eAAS,MAAM;;;;;eAArB,MAAM;eAAS,MAAM;;;AAgHpE,wBAKG"}
@@ -0,0 +1,14 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
14
+ //# 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":"AAsFA,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;;;;;;;;;;AAwJF,wBAKG"}
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ routingRulesEntity: string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, 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
+ export default _default;
10
+ //# 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":"AA0CA,KAAK,WAAW,GAAG;IACjB,kBAAkB,EAAE,MAAM,CAAA;CAC3B,CAAC;;;;;;AAgGF,wBAKG"}
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ disabled: boolean;
3
+ routingRulesEntity: string;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, 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
+ export default _default;
11
+ //# 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":"AAmCA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;CAC3B,CAAC;;;;;;AAyFF,wBAKG"}
@@ -0,0 +1,14 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue: string[];
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
14
+ //# 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":"AAgFA,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;;;;;;;;;;AAuJF,wBAKG"}
@@ -0,0 +1,15 @@
1
+ import type { Sources } from '../../../types';
2
+ type __VLS_PublicProps = {
3
+ modelValue: Sources[];
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, 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_PublicProps> & 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
+ export default _default;
15
+ //# 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":"AAuEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAmB7C,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;;;;;;;;;;AAgLF,wBAKG"}
@@ -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"}
@@ -0,0 +1,58 @@
1
+ declare const _default: {
2
+ list: {
3
+ konnect: {
4
+ all: string;
5
+ forGatewayService: string;
6
+ };
7
+ kongManager: {
8
+ all: string;
9
+ forGatewayService: string;
10
+ };
11
+ };
12
+ form: {
13
+ konnect: {
14
+ services: string;
15
+ create: {
16
+ all: string;
17
+ forGatewayService: string;
18
+ };
19
+ fetch: {
20
+ all: string;
21
+ forGatewayService: string;
22
+ };
23
+ edit: {
24
+ all: string;
25
+ forGatewayService: string;
26
+ };
27
+ };
28
+ kongManager: {
29
+ services: string;
30
+ create: {
31
+ all: string;
32
+ forGatewayService: string;
33
+ };
34
+ fetch: {
35
+ all: string;
36
+ forGatewayService: string;
37
+ };
38
+ edit: {
39
+ all: string;
40
+ forGatewayService: string;
41
+ };
42
+ };
43
+ };
44
+ item: {
45
+ konnect: {
46
+ getService: string;
47
+ all: string;
48
+ forGatewayService: string;
49
+ };
50
+ kongManager: {
51
+ getService: string;
52
+ all: string;
53
+ forGatewayService: string;
54
+ };
55
+ };
56
+ };
57
+ export default _default;
58
+ //# sourceMappingURL=routes-endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-endpoints.d.ts","sourceRoot":"","sources":["../../src/routes-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAuDC"}
@@ -0,0 +1,4 @@
1
+ export * from './route-list';
2
+ export * from './route-form';
3
+ export * from './route-config-card';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,31 @@
1
+ import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchemaItem } from '@kong-ui-public/entities-shared';
2
+ /** Konnect Route entity config */
3
+ export interface KonnectRouteEntityConfig extends KonnectBaseEntityConfig {
4
+ }
5
+ /** Kong Manager Route entity config */
6
+ export interface KongManagerRouteEntityConfig extends KongManagerBaseEntityConfig {
7
+ }
8
+ export interface RouteConfigurationSchema {
9
+ id: ConfigurationSchemaItem;
10
+ name: ConfigurationSchemaItem;
11
+ protocols: ConfigurationSchemaItem;
12
+ service: ConfigurationSchemaItem;
13
+ hosts: ConfigurationSchemaItem;
14
+ methods: ConfigurationSchemaItem;
15
+ paths: ConfigurationSchemaItem;
16
+ headers: ConfigurationSchemaItem;
17
+ strip_path: ConfigurationSchemaItem;
18
+ preserve_host: ConfigurationSchemaItem;
19
+ tags: ConfigurationSchemaItem;
20
+ created_at: ConfigurationSchemaItem;
21
+ updated_at: ConfigurationSchemaItem;
22
+ snis: ConfigurationSchemaItem;
23
+ https_redirect_status_code: ConfigurationSchemaItem;
24
+ request_buffering: ConfigurationSchemaItem;
25
+ response_buffering: ConfigurationSchemaItem;
26
+ regex_priority: ConfigurationSchemaItem;
27
+ path_handling: ConfigurationSchemaItem;
28
+ destinations: ConfigurationSchemaItem;
29
+ sources: ConfigurationSchemaItem;
30
+ }
31
+ //# sourceMappingURL=route-config-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-config-card.d.ts","sourceRoot":"","sources":["../../../src/types/route-config-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAEpI,kCAAkC;AAClC,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,uCAAuC;AACvC,MAAM,WAAW,4BAA6B,SAAQ,2BAA2B;CAAG;AAEpF,MAAM,WAAW,wBAAwB;IAEvC,EAAE,EAAE,uBAAuB,CAAA;IAC3B,IAAI,EAAE,uBAAuB,CAAA;IAC7B,SAAS,EAAE,uBAAuB,CAAA;IAClC,OAAO,EAAE,uBAAuB,CAAA;IAChC,KAAK,EAAE,uBAAuB,CAAA;IAC9B,OAAO,EAAE,uBAAuB,CAAA;IAChC,KAAK,EAAE,uBAAuB,CAAA;IAC9B,OAAO,EAAE,uBAAuB,CAAA;IAChC,UAAU,EAAE,uBAAuB,CAAA;IACnC,aAAa,EAAE,uBAAuB,CAAA;IACtC,IAAI,EAAE,uBAAuB,CAAA;IAC7B,UAAU,EAAE,uBAAuB,CAAA;IACnC,UAAU,EAAE,uBAAuB,CAAA;IAEnC,IAAI,EAAE,uBAAuB,CAAA;IAC7B,0BAA0B,EAAE,uBAAuB,CAAA;IACnD,iBAAiB,EAAE,uBAAuB,CAAA;IAC1C,kBAAkB,EAAE,uBAAuB,CAAA;IAC3C,cAAc,EAAE,uBAAuB,CAAA;IACvC,aAAa,EAAE,uBAAuB,CAAA;IACtC,YAAY,EAAE,uBAAuB,CAAA;IACrC,OAAO,EAAE,uBAAuB,CAAA;CACjC"}