@kong-ui-public/expressions 0.4.29 → 0.4.30

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.
@@ -1,43 +1,42 @@
1
1
  import type { ParseResult } from '@kong/atc-router';
2
2
  import { type Schema } from '../schema';
3
- declare const _default: import("vue").DefineComponent<{
4
- modelValue: {
5
- required: true;
6
- type: import("vue").PropType<string>;
7
- };
8
- schema: {
9
- type: import("vue").PropType<Schema>;
10
- required: true;
11
- };
12
- parseDebounce: {
13
- type: import("vue").PropType<number>;
14
- default: number;
15
- };
16
- inactiveUntilFocused: {
17
- type: import("vue").PropType<boolean>;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare let __VLS_typeProps: {
4
+ schema: Schema;
5
+ parseDebounce?: number;
6
+ inactiveUntilFocused?: boolean;
7
+ };
8
+ type __VLS_PublicProps = {
9
+ modelValue: string;
10
+ } & typeof __VLS_typeProps;
11
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
12
+ parseDebounce: number;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
14
  "parse-result-update": (result: ParseResult) => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- modelValue: {
23
- required: true;
24
- type: import("vue").PropType<string>;
25
- };
26
- schema: {
27
- type: import("vue").PropType<Schema>;
28
- required: true;
29
- };
30
- parseDebounce: {
31
- type: import("vue").PropType<number>;
32
- default: number;
33
- };
34
- inactiveUntilFocused: {
35
- type: import("vue").PropType<boolean>;
36
- };
37
- }>> & {
15
+ "update:modelValue": (modelValue: string) => void;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
17
+ parseDebounce: number;
18
+ }>>> & {
38
19
  "onParse-result-update"?: ((result: ParseResult) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
39
21
  }, {
40
22
  parseDebounce: number;
41
23
  }, {}>;
42
24
  export default _default;
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
39
+ type __VLS_PrettifyLocal<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
43
42
  //# sourceMappingURL=ExpressionsEditor.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpressionsEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ExpressionsEditor.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAA;AAKxE,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,WAAW,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+PnC,MAAM;;AARxB,wBAcG"}
1
+ {"version":3,"file":"ExpressionsEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ExpressionsEditor.vue"],"names":[],"mappings":"AAsNA,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAA;AAKxE,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,WAAW,CAAA;AAYrD,QAAA,IAAI,eAAe,EAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAqLF,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,eAAe,CAAC;;;;;;;;;;;;mBAzLT,MAAM;;AAsPxB,wBAUG;AAKH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GAC5C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -39,8 +39,8 @@ declare const _default: import("vue").DefineComponent<{
39
39
  "onUpdate:modelValue"?: ((value: string, event: monaco.editor.IModelContentChangedEvent) => any) | undefined;
40
40
  }, {
41
41
  theme: string;
42
- language: string;
43
42
  options: Record<string, any>;
43
+ language: string;
44
44
  }, {}>;
45
45
  export default _default;
46
46
  //# sourceMappingURL=MonacoEditor.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MonacoEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MonacoEditor.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8IvC,wBAwBG"}
1
+ {"version":3,"file":"MonacoEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MonacoEditor.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKvC,wBAwBG"}
@@ -1,21 +1,28 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ "title-logo"?(_: {}): any;
4
+ default?(_: {}): any;
5
+ "below-title"?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
12
  title: string;
3
13
  size: number;
4
- hideTitle?: boolean | undefined;
5
- noMargin?: boolean | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ hideTitle?: boolean;
15
+ noMargin?: boolean;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
17
  title: string;
8
18
  size: number;
9
- hideTitle?: boolean | undefined;
10
- noMargin?: boolean | undefined;
11
- }>>>, {}, {}>, {
12
- "title-logo"?(_: {}): any;
13
- default?(_: {}): any;
14
- "below-title"?(_: {}): any;
15
- }>;
19
+ hideTitle?: boolean;
20
+ noMargin?: boolean;
21
+ }>>>, {}, {}>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
23
  export default _default;
17
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
25
+ type __VLS_TypePropsToOption<T> = {
19
26
  [K in keyof T]-?: {} extends Pick<T, K> ? {
20
27
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
28
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AA0JA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"PageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;;8BAuDW,GAAG;yBACR,GAAG;+BACG,GAAG;;;WASxB,OAAO,IAA6B;EAEjD;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAzFZ,MAAM;UACP,MAAM;gBACA,OAAO;eACR,OAAO;;WAHX,MAAM;UACP,MAAM;gBACA,OAAO;eACR,OAAO;aA4FlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,33 +1,33 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- active?: boolean | undefined;
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ active?: boolean;
3
3
  protocol: string;
4
4
  host: string;
5
- port?: number | undefined;
6
- path?: string | undefined;
7
- method?: string | undefined;
5
+ port?: number;
6
+ path?: string;
7
+ method?: string;
8
8
  headers?: {
9
9
  [k: string]: string | string[];
10
- } | undefined;
11
- sni?: string | undefined;
10
+ };
11
+ sni?: string;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  remove: () => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- active?: boolean | undefined;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
15
+ active?: boolean;
16
16
  protocol: string;
17
17
  host: string;
18
- port?: number | undefined;
19
- path?: string | undefined;
20
- method?: string | undefined;
18
+ port?: number;
19
+ path?: string;
20
+ method?: string;
21
21
  headers?: {
22
22
  [k: string]: string | string[];
23
- } | undefined;
24
- sni?: string | undefined;
23
+ };
24
+ sni?: string;
25
25
  }>>> & {
26
26
  onRemove?: (() => any) | undefined;
27
27
  }, {}, {}>;
28
28
  export default _default;
29
29
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
30
+ type __VLS_TypePropsToOption<T> = {
31
31
  [K in keyof T]-?: {} extends Pick<T, K> ? {
32
32
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
33
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestCard.vue.ts"],"names":[],"mappings":";;cAgUY,MAAM;UACV,MAAM;;;;;;;;;;;;cADF,MAAM;UACV,MAAM;;;;;;;;;;;AARd,wBAgBG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestCard.vue"],"names":[],"mappings":";aA2QW,OAAO;cACN,MAAM;UACV,MAAM;WACL,MAAM;WACN,MAAM;aACJ,MAAM;cACL;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE;UACtC,MAAM;;;;aAPH,OAAO;cACN,MAAM;UACV,MAAM;WACL,MAAM;WACN,MAAM;aACJ,MAAM;cACL;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE;UACtC,MAAM;;;;AAyLd,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { Request } from '../definitions';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  visible: boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  import: (requests: Request[]) => void;
6
6
  dismiss: (completed: boolean) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
8
  visible: boolean;
9
9
  }>>> & {
10
10
  onImport?: ((requests: Request[]) => any) | undefined;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
12
12
  }, {}, {}>;
13
13
  export default _default;
14
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
15
+ type __VLS_TypePropsToOption<T> = {
16
16
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
17
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
18
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestImportModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestImportModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;;aA4PlC,OAAO;;;;;aAAP,OAAO;;;;;AANlB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestImportModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestImportModal.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;;aASlC,OAAO;;;;;aAAP,OAAO;;;;;AAgOlB,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { type Request } from '../definitions';
2
2
  import '@kong-ui-public/forms/dist/style.css';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
4
  visible: boolean;
5
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  addRequest: (request: Request) => void;
7
7
  dismiss: (completed: boolean) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
9
  visible: boolean;
10
10
  }>>> & {
11
11
  onDismiss?: ((completed: boolean) => any) | undefined;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
13
  }, {}, {}>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
16
+ type __VLS_TypePropsToOption<T> = {
17
17
  [K in keyof T]-?: {} extends Pick<T, K> ? {
18
18
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
19
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestModal.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0D,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAKrG,OAAO,sCAAsC,CAAA;;aAmRlC,OAAO;;;;;aAAP,OAAO;;;;;AANlB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RequestModal.vue"],"names":[],"mappings":"AAAA,OAgNO,EAA0D,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAKrG,OAAO,sCAAsC,CAAA;;aAyFlC,OAAO;;;;;aAAP,OAAO;;;;;AAyLlB,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -14,14 +14,14 @@ export type Emits = {
14
14
  type: string;
15
15
  }];
16
16
  };
17
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  change: (expression: string) => void;
19
19
  commit: (expression: string) => void;
20
20
  notify: (args_0: {
21
21
  message: string;
22
22
  type: string;
23
23
  }) => void;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
25
25
  onChange?: ((expression: string) => any) | undefined;
26
26
  onCommit?: ((expression: string) => any) | undefined;
27
27
  onNotify?: ((args_0: {
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
31
31
  }, {}, {}>;
32
32
  export default _default;
33
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
34
+ type __VLS_TypePropsToOption<T> = {
35
35
  [K in keyof T]-?: {} extends Pick<T, K> ? {
36
36
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
37
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"RouterPlayground.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouterPlayground.vue.ts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAC5B,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAC5B,MAAM,EAAE,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC5C,CAAA;;;;;;;;;;;;;;;;AAoxBD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RouterPlayground.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouterPlayground.vue"],"names":[],"mappings":"AA2hBA,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAC5B,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IAC5B,MAAM,EAAE,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC5C,CAAA;;;;;iBADqB,MAAM;cAAQ,MAAM;;;;;;iBAApB,MAAM;cAAQ,MAAM;;;AAkrB1C,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Props as RouterPlaygroudProps } from './RouterPlayground.vue';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  isVisible: boolean;
4
4
  } & RouterPlaygroudProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  cancel: () => void;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
9
9
  message: string;
10
10
  type: string;
11
11
  }) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
13
  isVisible: boolean;
14
14
  } & RouterPlaygroudProps>>> & {
15
15
  onChange?: ((expression: string) => any) | undefined;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
22
22
  }, {}, {}>;
23
23
  export default _default;
24
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToRuntimeProps<T> = {
25
+ type __VLS_TypePropsToOption<T> = {
26
26
  [K in keyof T]-?: {} extends Pick<T, K> ? {
27
27
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
28
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"RouterPlaygroundModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouterPlaygroundModal.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,KAAK,IAAI,oBAAoB,EAE9B,MAAM,wBAAwB,CAAA;;eAyIlB,OAAO;;;;;;;;;;eAAP,OAAO;;;;;;;;;;AANpB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RouterPlaygroundModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouterPlaygroundModal.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EACV,KAAK,IAAI,oBAAoB,EAE9B,MAAM,wBAAwB,CAAA;;eASlB,OAAO;;;;;;;;;;eAAP,OAAO;;;;;;;;;;AAmJpB,wBAOG;AAKH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,6 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- default?(_: {}): any;
3
- }>;
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
4
11
  export default _default;
5
12
  type __VLS_WithTemplateSlots<T, S> = T & {
6
13
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SupportText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SupportText.vue.ts"],"names":[],"mappings":";;;AA6DA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SupportText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SupportText.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;;yBA8BM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,286 +1,9 @@
1
- export default function useI18n(): {
2
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
3
- comma: string;
4
- requestImport: {
5
- warning: string;
6
- warningBoldText: string;
7
- title: string;
8
- jsonError: string;
9
- };
10
- requestModal: {
11
- title: string;
12
- help: string;
13
- noneSelectedText: string;
14
- methodInputPlaceholder: string;
15
- headersInputPlaceholder: string;
16
- headerButtonLabel: string;
17
- headerHint: string;
18
- headerValueInputPlaceholder: string;
19
- headerValueHint: string;
20
- sniPlaceholder: string;
21
- invalidRequest: string;
22
- unsupportedProtocol: string;
23
- };
24
- request: {
25
- SNI: string;
26
- headers: string;
27
- Method: string;
28
- Headers: string;
29
- };
30
- routerPlayground: {
31
- help: string;
32
- learnMore: string;
33
- expressions: string;
34
- addToRoute: string;
35
- inspiration: string;
36
- importTooltip: string;
37
- import: string;
38
- exportTooltip: string;
39
- export: string;
40
- add: string;
41
- addRequest: string;
42
- noRequests: string;
43
- noRequestsDescription: string;
44
- clearRequests: string;
45
- click: string;
46
- clearRequestsPrompt: string;
47
- notifyCopy: string;
48
- notifyClear: string;
49
- notifyImport: string;
50
- };
51
- routerPlaygroundModal: {
52
- actionButton: string;
53
- title: string;
54
- };
55
- errors: {
56
- requiredProtocol: string;
57
- unsupportedProtocols: string;
58
- requiredHost: string;
59
- requiredPath: string;
60
- sniNotAvailable: string;
61
- requiredMethod: string;
62
- methodShouldCapitalized: string;
63
- failedToImport: string;
64
- };
65
- }>;
66
- i18nT: import("@vue/runtime-core").DefineComponent<{
67
- i18n: {
68
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
69
- comma: string;
70
- requestImport: {
71
- warning: string;
72
- warningBoldText: string;
73
- title: string;
74
- jsonError: string;
75
- };
76
- requestModal: {
77
- title: string;
78
- help: string;
79
- noneSelectedText: string;
80
- methodInputPlaceholder: string;
81
- headersInputPlaceholder: string;
82
- headerButtonLabel: string;
83
- headerHint: string;
84
- headerValueInputPlaceholder: string;
85
- headerValueHint: string;
86
- sniPlaceholder: string;
87
- invalidRequest: string;
88
- unsupportedProtocol: string;
89
- };
90
- request: {
91
- SNI: string;
92
- headers: string;
93
- Method: string;
94
- Headers: string;
95
- };
96
- routerPlayground: {
97
- help: string;
98
- learnMore: string;
99
- expressions: string;
100
- addToRoute: string;
101
- inspiration: string;
102
- importTooltip: string;
103
- import: string;
104
- exportTooltip: string;
105
- export: string;
106
- add: string;
107
- addRequest: string;
108
- noRequests: string;
109
- noRequestsDescription: string;
110
- clearRequests: string;
111
- click: string;
112
- clearRequestsPrompt: string;
113
- notifyCopy: string;
114
- notifyClear: string;
115
- notifyImport: string;
116
- };
117
- routerPlaygroundModal: {
118
- actionButton: string;
119
- title: string;
120
- };
121
- errors: {
122
- requiredProtocol: string;
123
- unsupportedProtocols: string;
124
- requiredHost: string;
125
- requiredPath: string;
126
- sniNotAvailable: string;
127
- requiredMethod: string;
128
- methodShouldCapitalized: string;
129
- failedToImport: string;
130
- };
131
- }>>;
132
- default: null;
133
- };
134
- keypath: {
135
- type: StringConstructor;
136
- required: true;
137
- };
138
- tag: {
139
- type: StringConstructor;
140
- default: string;
141
- };
142
- }, () => import("@vue/runtime-core").VNodeChild, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
143
- i18n: {
144
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
145
- comma: string;
146
- requestImport: {
147
- warning: string;
148
- warningBoldText: string;
149
- title: string;
150
- jsonError: string;
151
- };
152
- requestModal: {
153
- title: string;
154
- help: string;
155
- noneSelectedText: string;
156
- methodInputPlaceholder: string;
157
- headersInputPlaceholder: string;
158
- headerButtonLabel: string;
159
- headerHint: string;
160
- headerValueInputPlaceholder: string;
161
- headerValueHint: string;
162
- sniPlaceholder: string;
163
- invalidRequest: string;
164
- unsupportedProtocol: string;
165
- };
166
- request: {
167
- SNI: string;
168
- headers: string;
169
- Method: string;
170
- Headers: string;
171
- };
172
- routerPlayground: {
173
- help: string;
174
- learnMore: string;
175
- expressions: string;
176
- addToRoute: string;
177
- inspiration: string;
178
- importTooltip: string;
179
- import: string;
180
- exportTooltip: string;
181
- export: string;
182
- add: string;
183
- addRequest: string;
184
- noRequests: string;
185
- noRequestsDescription: string;
186
- clearRequests: string;
187
- click: string;
188
- clearRequestsPrompt: string;
189
- notifyCopy: string;
190
- notifyClear: string;
191
- notifyImport: string;
192
- };
193
- routerPlaygroundModal: {
194
- actionButton: string;
195
- title: string;
196
- };
197
- errors: {
198
- requiredProtocol: string;
199
- unsupportedProtocols: string;
200
- requiredHost: string;
201
- requiredPath: string;
202
- sniNotAvailable: string;
203
- requiredMethod: string;
204
- methodShouldCapitalized: string;
205
- failedToImport: string;
206
- };
207
- }>>;
208
- default: null;
209
- };
210
- keypath: {
211
- type: StringConstructor;
212
- required: true;
213
- };
214
- tag: {
215
- type: StringConstructor;
216
- default: string;
217
- };
218
- }>>, {
219
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
220
- comma: string;
221
- requestImport: {
222
- warning: string;
223
- warningBoldText: string;
224
- title: string;
225
- jsonError: string;
226
- };
227
- requestModal: {
228
- title: string;
229
- help: string;
230
- noneSelectedText: string;
231
- methodInputPlaceholder: string;
232
- headersInputPlaceholder: string;
233
- headerButtonLabel: string;
234
- headerHint: string;
235
- headerValueInputPlaceholder: string;
236
- headerValueHint: string;
237
- sniPlaceholder: string;
238
- invalidRequest: string;
239
- unsupportedProtocol: string;
240
- };
241
- request: {
242
- SNI: string;
243
- headers: string;
244
- Method: string;
245
- Headers: string;
246
- };
247
- routerPlayground: {
248
- help: string;
249
- learnMore: string;
250
- expressions: string;
251
- addToRoute: string;
252
- inspiration: string;
253
- importTooltip: string;
254
- import: string;
255
- exportTooltip: string;
256
- export: string;
257
- add: string;
258
- addRequest: string;
259
- noRequests: string;
260
- noRequestsDescription: string;
261
- clearRequests: string;
262
- click: string;
263
- clearRequestsPrompt: string;
264
- notifyCopy: string;
265
- notifyClear: string;
266
- notifyImport: string;
267
- };
268
- routerPlaygroundModal: {
269
- actionButton: string;
270
- title: string;
271
- };
272
- errors: {
273
- requiredProtocol: string;
274
- unsupportedProtocols: string;
275
- requiredHost: string;
276
- requiredPath: string;
277
- sniNotAvailable: string;
278
- requiredMethod: string;
279
- methodShouldCapitalized: string;
280
- failedToImport: string;
281
- };
282
- }>;
283
- tag: string;
284
- }, {}>;
285
- };
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 {};
286
9
  //# sourceMappingURL=useI18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B"}
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAC2E,KAAK,OAAO,EAC7F,MAAM,eAAe,CAAA;AAGtB,eAAO,MAAM,eAAe,YAAa,OAAO,SAE/C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,YAAa,QAAQ,OAAO,CAAC,KAAG,MAAM,GAAG,SAwD1E,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAC2E,KAAK,OAAO,EAC7F,MAAM,eAAe,CAAA;AAGtB,eAAO,MAAM,eAAe,YAAa,OAAO,SAE/C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,YAAa,OAAO,CAAC,OAAO,CAAC,KAAG,MAAM,GAAG,SAwD1E,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/expressions",
3
- "version": "0.4.29",
3
+ "version": "0.4.30",
4
4
  "type": "module",
5
5
  "module": "./dist/expressions.es.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -54,8 +54,8 @@
54
54
  "@kong/icons": "^1.15.2",
55
55
  "monaco-editor": "0.51.0",
56
56
  "uuid": "^10.0.0",
57
- "@kong-ui-public/core": "^1.10.1",
58
57
  "@kong-ui-public/i18n": "^2.2.2",
58
+ "@kong-ui-public/core": "^1.10.1",
59
59
  "@kong-ui-public/forms": "^4.6.0"
60
60
  },
61
61
  "scripts": {