vitepress-openapi 0.0.3-alpha.74 → 0.0.3-alpha.76

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 (91) hide show
  1. package/dist/OpenApi-CDzPw3Gb.js +5669 -0
  2. package/dist/OpenApi-JZDy_oqC.cjs +111 -0
  3. package/dist/types/src/components/Context/OAContextAsync.vue.d.ts +4 -4
  4. package/dist/types/src/components/Context/OAContextProvider.vue.d.ts +2 -2
  5. package/dist/types/src/components/Feature/OAInfo.vue.d.ts +2 -2
  6. package/dist/types/src/components/Feature/OAIntroduction.vue.d.ts +2 -2
  7. package/dist/types/src/components/Feature/OAOperation.vue.d.ts +19 -4
  8. package/dist/types/src/components/Feature/OAOperationContent.vue.d.ts +0 -8
  9. package/dist/types/src/components/Feature/OAServers.vue.d.ts +2 -2
  10. package/dist/types/src/components/Feature/OASpec.vue.d.ts +20 -5
  11. package/dist/types/src/components/Feature/OASpecContent.vue.d.ts +0 -11
  12. package/dist/types/src/components/index.d.ts +1 -3
  13. package/dist/types/src/components/ui/button/Button.vue.d.ts +4 -4
  14. package/dist/types/src/components/ui/button/index.d.ts +1 -1
  15. package/dist/types/src/components/ui/checkbox/Checkbox.vue.d.ts +12 -12
  16. package/dist/types/src/components/ui/collapsible/Collapsible.vue.d.ts +2 -2
  17. package/dist/types/src/components/ui/collapsible/CollapsibleContent.vue.d.ts +2 -2
  18. package/dist/types/src/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +2 -2
  19. package/dist/types/src/components/ui/label/Label.vue.d.ts +3 -3
  20. package/dist/types/src/components/ui/select/Select.vue.d.ts +11 -10
  21. package/dist/types/src/components/ui/select/SelectContent.vue.d.ts +21 -10
  22. package/dist/types/src/components/ui/select/SelectGroup.vue.d.ts +3 -3
  23. package/dist/types/src/components/ui/select/SelectItem.vue.d.ts +4 -4
  24. package/dist/types/src/components/ui/select/SelectItemText.vue.d.ts +2 -2
  25. package/dist/types/src/components/ui/select/SelectLabel.vue.d.ts +2 -2
  26. package/dist/types/src/components/ui/select/SelectScrollDownButton.vue.d.ts +3 -3
  27. package/dist/types/src/components/ui/select/SelectScrollUpButton.vue.d.ts +3 -3
  28. package/dist/types/src/components/ui/select/SelectSeparator.vue.d.ts +1 -1
  29. package/dist/types/src/components/ui/select/SelectTrigger.vue.d.ts +4 -3
  30. package/dist/types/src/components/ui/select/SelectValue.vue.d.ts +2 -2
  31. package/dist/types/src/components/ui/tabs/Tabs.vue.d.ts +6 -6
  32. package/dist/types/src/components/ui/tabs/TabsContent.vue.d.ts +4 -4
  33. package/dist/types/src/components/ui/tabs/TabsList.vue.d.ts +3 -3
  34. package/dist/types/src/components/ui/tabs/TabsTrigger.vue.d.ts +4 -4
  35. package/dist/types/src/composables/useOpenapi.d.ts +2 -2
  36. package/dist/types/src/composables/useShiki.d.ts +1 -0
  37. package/dist/types/src/composables/useTheme.d.ts +2 -0
  38. package/dist/types/src/lib/parser/parseOpenapi.d.ts +4 -4
  39. package/dist/vitepress-openapi.client.cjs.js +135 -151
  40. package/dist/vitepress-openapi.client.es.js +17591 -18299
  41. package/dist/vitepress-openapi.css +1 -1
  42. package/dist/vitepress-openapi.node.cjs.js +1 -1
  43. package/dist/vitepress-openapi.node.es.js +1 -1
  44. package/package.json +7 -5
  45. package/src/components/Common/Highlight/OAShiki.vue +1 -1
  46. package/src/components/Context/OAContextAsync.vue +2 -3
  47. package/src/components/Context/OAContextProvider.vue +1 -1
  48. package/src/components/Feature/OAInfo.vue +1 -1
  49. package/src/components/Feature/OAIntroduction.vue +1 -1
  50. package/src/components/Feature/OAOperation.vue +13 -3
  51. package/src/components/Feature/OAOperationContent.vue +0 -4
  52. package/src/components/Feature/OAServers.vue +1 -1
  53. package/src/components/Feature/OASpec.vue +12 -3
  54. package/src/components/Feature/OASpecContent.vue +0 -5
  55. package/src/components/Playground/OAPlaygroundParameterInput.vue +2 -2
  56. package/src/components/Playground/OAPlaygroundParameters.vue +4 -4
  57. package/src/components/Response/OAResponses.vue +2 -2
  58. package/src/components/Sample/OACodeSamples.vue +4 -1
  59. package/src/components/index.ts +0 -4
  60. package/src/components/ui/button/Button.vue +2 -2
  61. package/src/components/ui/checkbox/Checkbox.vue +2 -2
  62. package/src/components/ui/collapsible/Collapsible.vue +2 -2
  63. package/src/components/ui/collapsible/CollapsibleContent.vue +2 -2
  64. package/src/components/ui/collapsible/CollapsibleTrigger.vue +2 -2
  65. package/src/components/ui/label/Label.vue +2 -2
  66. package/src/components/ui/select/Select.vue +2 -2
  67. package/src/components/ui/select/SelectContent.vue +3 -3
  68. package/src/components/ui/select/SelectGroup.vue +2 -2
  69. package/src/components/ui/select/SelectItem.vue +2 -2
  70. package/src/components/ui/select/SelectItemText.vue +2 -2
  71. package/src/components/ui/select/SelectLabel.vue +2 -2
  72. package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
  73. package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
  74. package/src/components/ui/select/SelectSeparator.vue +2 -2
  75. package/src/components/ui/select/SelectTrigger.vue +2 -2
  76. package/src/components/ui/select/SelectValue.vue +2 -2
  77. package/src/components/ui/select-with-custom-option/SelectWithCustomOption.vue +1 -1
  78. package/src/components/ui/tabs/Tabs.vue +2 -2
  79. package/src/components/ui/tabs/TabsContent.vue +2 -2
  80. package/src/components/ui/tabs/TabsList.vue +2 -2
  81. package/src/components/ui/tabs/TabsTrigger.vue +2 -2
  82. package/src/composables/useOpenapi.ts +3 -3
  83. package/src/composables/useShiki.ts +6 -2
  84. package/src/composables/useTheme.ts +9 -1
  85. package/src/lib/parser/parseOpenapi.ts +43 -19
  86. package/dist/OpenApi-B8nR467A.cjs +0 -95
  87. package/dist/OpenApi-snG2qo-c.js +0 -4847
  88. package/dist/types/src/components/Feature/OARemoteOperation.vue.d.ts +0 -32
  89. package/dist/types/src/components/Feature/OARemoteSpec.vue.d.ts +0 -24
  90. package/src/components/Feature/OARemoteOperation.vue +0 -41
  91. package/src/components/Feature/OARemoteSpec.vue +0 -36
@@ -43,7 +43,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
43
43
  }>;
44
44
  declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
45
45
  spec: {
46
- type: ObjectConstructor;
46
+ type: (ObjectConstructor | StringConstructor)[];
47
47
  required: false;
48
48
  };
49
49
  specUrl: {
@@ -57,7 +57,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
57
57
  "update:spec": (...args: any[]) => void;
58
58
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  spec: {
60
- type: ObjectConstructor;
60
+ type: (ObjectConstructor | StringConstructor)[];
61
61
  required: false;
62
62
  };
63
63
  specUrl: {
@@ -69,7 +69,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
69
69
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
70
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
71
71
  spec: {
72
- type: ObjectConstructor;
72
+ type: (ObjectConstructor | StringConstructor)[];
73
73
  required: false;
74
74
  };
75
75
  specUrl: {
@@ -80,7 +80,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
80
  "update:spec": (...args: any[]) => void;
81
81
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
82
82
  spec: {
83
- type: ObjectConstructor;
83
+ type: (ObjectConstructor | StringConstructor)[];
84
84
  required: false;
85
85
  };
86
86
  specUrl: {
@@ -5,10 +5,10 @@ type __VLS_WithSlots<T, S> = T & (new () => {
5
5
  });
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  $emit: (event: "update:spec", ...args: any[]) => void;
8
- spec: Record<string, any>;
8
+ spec: string | Record<string, any>;
9
9
  specUrl: string;
10
10
  $props: {
11
- readonly spec?: Record<string, any> | undefined;
11
+ readonly spec?: string | Record<string, any> | undefined;
12
12
  readonly specUrl?: string | undefined;
13
13
  };
14
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- spec?: Record<string, any> | undefined;
2
+ spec?: string | Record<string, any> | undefined;
3
3
  $props: {
4
- readonly spec?: Record<string, any> | undefined;
4
+ readonly spec?: string | Record<string, any> | undefined;
5
5
  };
6
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- spec?: Record<string, any> | undefined;
2
+ spec?: string | Record<string, any> | undefined;
3
3
  $props: {
4
- readonly spec?: Record<string, any> | undefined;
4
+ readonly spec?: string | Record<string, any> | undefined;
5
5
  };
6
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
7
  export default _default;
@@ -6,9 +6,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
6
6
  required: true;
7
7
  };
8
8
  spec: {
9
- type: ObjectConstructor;
9
+ type: (ObjectConstructor | StringConstructor)[];
10
10
  required: false;
11
11
  };
12
+ specUrl: {
13
+ type: StringConstructor;
14
+ required: false;
15
+ default: null;
16
+ };
12
17
  prefixHeadings: {
13
18
  type: BooleanConstructor;
14
19
  default: boolean;
@@ -27,14 +32,21 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
27
32
  hideDefaultFooter?: boolean;
28
33
  }) => boolean;
29
34
  };
30
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ "update:spec": (...args: any[]) => void;
37
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
38
  operationId: {
32
39
  type: StringConstructor;
33
40
  required: true;
34
41
  };
35
42
  spec: {
36
- type: ObjectConstructor;
43
+ type: (ObjectConstructor | StringConstructor)[];
44
+ required: false;
45
+ };
46
+ specUrl: {
47
+ type: StringConstructor;
37
48
  required: false;
49
+ default: null;
38
50
  };
39
51
  prefixHeadings: {
40
52
  type: BooleanConstructor;
@@ -54,10 +66,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
54
66
  hideDefaultFooter?: boolean;
55
67
  }) => boolean;
56
68
  };
57
- }>> & Readonly<{}>, {
69
+ }>> & Readonly<{
70
+ "onUpdate:spec"?: ((...args: any[]) => any) | undefined;
71
+ }>, {
58
72
  prefixHeadings: boolean;
59
73
  hideDefaultFooter: boolean;
60
74
  hideBranding: boolean;
75
+ specUrl: string;
61
76
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
62
77
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
63
78
  export default _default;
@@ -5,10 +5,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
5
5
  type: StringConstructor;
6
6
  required: true;
7
7
  };
8
- spec: {
9
- type: ObjectConstructor;
10
- required: false;
11
- };
12
8
  openapi: {
13
9
  type: ObjectConstructor;
14
10
  required: true;
@@ -36,10 +32,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
36
32
  type: StringConstructor;
37
33
  required: true;
38
34
  };
39
- spec: {
40
- type: ObjectConstructor;
41
- required: false;
42
- };
43
35
  openapi: {
44
36
  type: ObjectConstructor;
45
37
  required: true;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- spec?: Record<string, any> | undefined;
2
+ spec?: string | Record<string, any> | undefined;
3
3
  $props: {
4
- readonly spec?: Record<string, any> | undefined;
4
+ readonly spec?: string | Record<string, any> | undefined;
5
5
  };
6
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
7
  export default _default;
@@ -2,7 +2,12 @@ import type { OperationSlot } from '../../types';
2
2
  type __VLS_Slots = Record<string, OperationSlot>;
3
3
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  spec: {
5
- type: ObjectConstructor;
5
+ type: (ObjectConstructor | StringConstructor)[];
6
+ required: false;
7
+ default: null;
8
+ };
9
+ specUrl: {
10
+ type: StringConstructor;
6
11
  required: false;
7
12
  default: null;
8
13
  };
@@ -40,9 +45,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
40
45
  type: BooleanConstructor;
41
46
  default: undefined;
42
47
  };
43
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
+ "update:spec": (...args: any[]) => void;
50
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
51
  spec: {
45
- type: ObjectConstructor;
52
+ type: (ObjectConstructor | StringConstructor)[];
53
+ required: false;
54
+ default: null;
55
+ };
56
+ specUrl: {
57
+ type: StringConstructor;
46
58
  required: false;
47
59
  default: null;
48
60
  };
@@ -80,12 +92,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
92
  type: BooleanConstructor;
81
93
  default: undefined;
82
94
  };
83
- }>> & Readonly<{}>, {
95
+ }>> & Readonly<{
96
+ "onUpdate:spec"?: ((...args: any[]) => any) | undefined;
97
+ }>, {
84
98
  tags: unknown[];
85
- spec: Record<string, any>;
99
+ spec: string | Record<string, any>;
86
100
  groupByTags: boolean;
87
101
  hideDefaultFooter: boolean;
88
102
  hideBranding: boolean;
103
+ specUrl: string;
89
104
  hidePathsSummary: boolean;
90
105
  hideInfo: boolean;
91
106
  hideServers: boolean;
@@ -1,11 +1,6 @@
1
1
  import type { OperationSlot } from '../../types';
2
2
  type __VLS_Slots = Record<string, OperationSlot>;
3
3
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- spec: {
5
- type: ObjectConstructor;
6
- required: false;
7
- default: null;
8
- };
9
4
  hideInfo: {
10
5
  type: BooleanConstructor;
11
6
  default: boolean;
@@ -45,11 +40,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
45
40
  required: true;
46
41
  };
47
42
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
- spec: {
49
- type: ObjectConstructor;
50
- required: false;
51
- default: null;
52
- };
53
43
  hideInfo: {
54
44
  type: BooleanConstructor;
55
45
  default: boolean;
@@ -90,7 +80,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
90
80
  };
91
81
  }>> & Readonly<{}>, {
92
82
  tags: unknown[];
93
- spec: Record<string, any>;
94
83
  groupByTags: boolean;
95
84
  hideDefaultFooter: boolean;
96
85
  hideBranding: boolean;
@@ -2,9 +2,7 @@ import OAInfo from './Feature/OAInfo.vue';
2
2
  import OAIntroduction from './Feature/OAIntroduction.vue';
3
3
  import OALocaleSelect from './Feature/OALocaleSelect.vue';
4
4
  import OAOperation from './Feature/OAOperation.vue';
5
- import OARemoteOperation from './Feature/OARemoteOperation.vue';
6
- import OARemoteSpec from './Feature/OARemoteSpec.vue';
7
5
  import OAServers from './Feature/OAServers.vue';
8
6
  import OASpec from './Feature/OASpec.vue';
9
7
  import OASpecSkeleton from './Feature/OASpecSkeleton.vue';
10
- export { OAInfo, OAIntroduction, OALocaleSelect, OAOperation, OARemoteOperation, OARemoteSpec, OAServers, OASpec, OASpecSkeleton, };
8
+ export { OAInfo, OAIntroduction, OALocaleSelect, OAOperation, OAServers, OASpec, OASpecSkeleton, };
@@ -1,7 +1,7 @@
1
- import type { PrimitiveProps } from 'radix-vue';
1
+ import type { PrimitiveProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import type { ButtonVariants } from './index';
4
- import { Primitive } from 'radix-vue';
4
+ import { Primitive } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  import { buttonVariants } from './index';
7
7
  interface Props extends PrimitiveProps {
@@ -19,10 +19,10 @@ declare const __VLS_self: import("vue").DefineComponent<Props, {
19
19
  cn: typeof cn;
20
20
  buttonVariants: typeof buttonVariants;
21
21
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
22
- as: import("radix-vue").AsTag | import("vue").Component;
22
+ as: import("reka-ui").AsTag | import("vue").Component;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
25
- as: import("radix-vue").AsTag | import("vue").Component;
25
+ as: import("reka-ui").AsTag | import("vue").Component;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
28
  export default _default;
@@ -2,6 +2,6 @@ import type { VariantProps } from 'class-variance-authority';
2
2
  export { default as Button } from './Button.vue';
3
3
  export declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "primary" | "ghost" | null | undefined;
5
- size?: "default" | "xs" | "sm" | "lg" | "icon" | null | undefined;
5
+ size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -1,21 +1,21 @@
1
- import type { CheckboxRootProps } from 'radix-vue';
1
+ import type { CheckboxRootProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import { Check } from 'lucide-vue-next';
4
- import { CheckboxIndicator, CheckboxRoot } from 'radix-vue';
4
+ import { CheckboxIndicator, CheckboxRoot } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = CheckboxRootProps & {
7
7
  class?: HTMLAttributes['class'];
8
8
  };
9
9
  declare const forwarded: import("vue").ComputedRef<{
10
- defaultChecked: boolean;
11
- checked: boolean | "indeterminate";
10
+ defaultValue: boolean | "indeterminate";
11
+ modelValue: boolean | "indeterminate" | null;
12
12
  disabled: boolean;
13
- required: boolean;
14
- name: string;
15
- value: string;
13
+ value: import("reka-ui").AcceptableValue;
16
14
  id: string;
17
15
  asChild: boolean;
18
- as: import("radix-vue").AsTag | import("vue").Component;
16
+ as: import("reka-ui").AsTag | import("vue").Component;
17
+ name: string;
18
+ required: boolean;
19
19
  } & Record<string, any>>;
20
20
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
21
21
  declare var __VLS_10: {};
@@ -29,14 +29,14 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
29
29
  cn: typeof cn;
30
30
  forwarded: typeof forwarded;
31
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
- "update:checked": (value: boolean) => any;
32
+ "update:modelValue": (value: boolean | "indeterminate") => any;
33
33
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
35
35
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
36
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
- "update:checked": (value: boolean) => any;
37
+ "update:modelValue": (value: boolean | "indeterminate") => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
39
+ "onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
40
40
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
41
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
42
42
  export default _default;
@@ -1,6 +1,6 @@
1
- import type { CollapsibleRootProps } from 'radix-vue';
1
+ import type { CollapsibleRootProps } from 'reka-ui';
2
2
  import type { ComputedRef } from 'vue';
3
- import { CollapsibleRoot } from 'radix-vue';
3
+ import { CollapsibleRoot } from 'reka-ui';
4
4
  declare const forwarded: ComputedRef<CollapsibleRootProps>;
5
5
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
6
  declare var __VLS_6: {
@@ -1,5 +1,5 @@
1
- import type { CollapsibleContentProps } from 'radix-vue';
2
- import { CollapsibleContent } from 'radix-vue';
1
+ import type { CollapsibleContentProps } from 'reka-ui';
2
+ import { CollapsibleContent } from 'reka-ui';
3
3
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
4
  declare var __VLS_6: {};
5
5
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -1,5 +1,5 @@
1
- import type { CollapsibleTriggerProps } from 'radix-vue';
2
- import { CollapsibleTrigger } from 'radix-vue';
1
+ import type { CollapsibleTriggerProps } from 'reka-ui';
2
+ import { CollapsibleTrigger } from 'reka-ui';
3
3
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
4
  declare var __VLS_6: {};
5
5
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -1,6 +1,6 @@
1
- import type { LabelProps } from 'radix-vue';
1
+ import type { LabelProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { Label } from 'radix-vue';
3
+ import { Label } from 'reka-ui';
4
4
  import { cn } from '../../../lib/utils';
5
5
  type __VLS_Props = LabelProps & {
6
6
  class?: HTMLAttributes['class'];
@@ -8,7 +8,7 @@ type __VLS_Props = LabelProps & {
8
8
  declare const delegatedProps: import("vue").ComputedRef<{
9
9
  for: string;
10
10
  asChild: boolean;
11
- as: import("radix-vue").AsTag | import("vue").Component;
11
+ as: import("reka-ui").AsTag | import("vue").Component;
12
12
  }>;
13
13
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
14
  declare var __VLS_6: {};
@@ -1,27 +1,28 @@
1
- import type { SelectRootProps } from 'radix-vue';
1
+ import type { SelectRootProps } from 'reka-ui';
2
2
  import type { ComputedRef } from 'vue';
3
- import { SelectRoot } from 'radix-vue';
3
+ import { SelectRoot } from 'reka-ui';
4
+ type __VLS_Props = SelectRootProps;
4
5
  declare const forwarded: ComputedRef<SelectRootProps>;
5
6
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
7
  declare var __VLS_6: {};
7
8
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
9
  default?: (props: typeof __VLS_6) => any;
9
10
  }>;
10
- declare const __VLS_self: import("vue").DefineComponent<SelectRootProps, {
11
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
11
12
  SelectRoot: typeof SelectRoot;
12
13
  forwarded: typeof forwarded;
13
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "update:modelValue": (value: string) => any;
15
+ "update:modelValue": (value: import("reka-ui").AcceptableValue) => any;
15
16
  "update:open": (value: boolean) => any;
16
- }, string, import("vue").PublicProps, Readonly<SelectRootProps> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: import("reka-ui").AcceptableValue) => any) | undefined;
18
19
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
19
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
- declare const __VLS_component: import("vue").DefineComponent<SelectRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- "update:modelValue": (value: string) => any;
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (value: import("reka-ui").AcceptableValue) => any;
22
23
  "update:open": (value: boolean) => any;
23
- }, string, import("vue").PublicProps, Readonly<SelectRootProps> & Readonly<{
24
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: import("reka-ui").AcceptableValue) => any) | undefined;
25
26
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
26
27
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
28
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,6 +1,6 @@
1
- import type { SelectContentProps } from 'radix-vue';
1
+ import type { SelectContentProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { SelectContent, SelectPortal, SelectViewport } from 'radix-vue';
3
+ import { SelectContent, SelectPortal, SelectViewport } from 'reka-ui';
4
4
  import { SelectScrollDownButton, SelectScrollUpButton } from '.';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = SelectContentProps & {
@@ -8,20 +8,23 @@ type __VLS_Props = SelectContentProps & {
8
8
  };
9
9
  declare const forwarded: import("vue").ComputedRef<{
10
10
  forceMount: boolean;
11
- side: import("node_modules/radix-vue/dist/Popper").Side;
11
+ side: "top" | "right" | "bottom" | "left";
12
12
  sideOffset: number;
13
- align: import("node_modules/radix-vue/dist/Popper").Align;
13
+ align: "center" | "end" | "start";
14
14
  alignOffset: number;
15
15
  avoidCollisions: boolean;
16
16
  collisionBoundary: Element | null | Array<Element | null>;
17
- collisionPadding: number | Partial<Record<import("node_modules/radix-vue/dist/Popper").Side, number>>;
17
+ collisionPadding: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
18
18
  arrowPadding: number;
19
19
  sticky: "partial" | "always";
20
20
  hideWhenDetached: boolean;
21
+ positionStrategy: "absolute" | "fixed";
21
22
  updatePositionStrategy: "optimized" | "always";
23
+ disableUpdateOnLayoutShift: boolean;
22
24
  prioritizePosition: boolean;
25
+ reference: import("reka-ui").ReferenceElement;
23
26
  asChild: boolean;
24
- as: import("radix-vue").AsTag | import("vue").Component;
27
+ as: import("reka-ui").AsTag | import("vue").Component;
25
28
  position: "item-aligned" | "popper";
26
29
  bodyLock: boolean;
27
30
  } & Record<string, any>>;
@@ -41,11 +44,15 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
41
44
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
45
  closeAutoFocus: (event: Event) => any;
43
46
  escapeKeyDown: (event: KeyboardEvent) => any;
44
- pointerDownOutside: (event: import("node_modules/radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any;
47
+ pointerDownOutside: (event: CustomEvent<{
48
+ originalEvent: PointerEvent;
49
+ }>) => any;
45
50
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
46
51
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
47
52
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
48
- onPointerDownOutside?: ((event: import("node_modules/radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined;
53
+ onPointerDownOutside?: ((event: CustomEvent<{
54
+ originalEvent: PointerEvent;
55
+ }>) => any) | undefined;
49
56
  }>, {
50
57
  position: "item-aligned" | "popper";
51
58
  bodyLock: boolean;
@@ -53,11 +60,15 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
53
60
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
61
  closeAutoFocus: (event: Event) => any;
55
62
  escapeKeyDown: (event: KeyboardEvent) => any;
56
- pointerDownOutside: (event: import("node_modules/radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any;
63
+ pointerDownOutside: (event: CustomEvent<{
64
+ originalEvent: PointerEvent;
65
+ }>) => any;
57
66
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
58
67
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
59
68
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
60
- onPointerDownOutside?: ((event: import("node_modules/radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined;
69
+ onPointerDownOutside?: ((event: CustomEvent<{
70
+ originalEvent: PointerEvent;
71
+ }>) => any) | undefined;
61
72
  }>, {
62
73
  position: "item-aligned" | "popper";
63
74
  bodyLock: boolean;
@@ -1,13 +1,13 @@
1
- import type { SelectGroupProps } from 'radix-vue';
1
+ import type { SelectGroupProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { SelectGroup } from 'radix-vue';
3
+ import { SelectGroup } from 'reka-ui';
4
4
  import { cn } from '../../../lib/utils';
5
5
  type __VLS_Props = SelectGroupProps & {
6
6
  class?: HTMLAttributes['class'];
7
7
  };
8
8
  declare const delegatedProps: import("vue").ComputedRef<{
9
9
  asChild: boolean;
10
- as: import("radix-vue").AsTag | import("vue").Component;
10
+ as: import("reka-ui").AsTag | import("vue").Component;
11
11
  }>;
12
12
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
13
  declare var __VLS_6: {};
@@ -1,17 +1,17 @@
1
- import type { SelectItemProps } from 'radix-vue';
1
+ import type { SelectItemProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import { Check } from 'lucide-vue-next';
4
- import { SelectItem, SelectItemIndicator, SelectItemText } from 'radix-vue';
4
+ import { SelectItem, SelectItemIndicator, SelectItemText } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = SelectItemProps & {
7
7
  class?: HTMLAttributes['class'];
8
8
  };
9
9
  declare const forwardedProps: import("vue").ComputedRef<{
10
- value: string;
10
+ value: import("reka-ui").AcceptableValue;
11
11
  disabled: boolean;
12
12
  textValue: string;
13
13
  asChild: boolean;
14
- as: import("radix-vue").AsTag | import("vue").Component;
14
+ as: import("reka-ui").AsTag | import("vue").Component;
15
15
  }>;
16
16
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
17
17
  declare var __VLS_18: {};
@@ -1,5 +1,5 @@
1
- import type { SelectItemTextProps } from 'radix-vue';
2
- import { SelectItemText } from 'radix-vue';
1
+ import type { SelectItemTextProps } from 'reka-ui';
2
+ import { SelectItemText } from 'reka-ui';
3
3
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
4
  declare var __VLS_6: {};
5
5
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -1,6 +1,6 @@
1
- import type { SelectLabelProps } from 'radix-vue';
1
+ import type { SelectLabelProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { SelectLabel } from 'radix-vue';
3
+ import { SelectLabel } from 'reka-ui';
4
4
  import { cn } from '../../../lib/utils';
5
5
  type __VLS_Props = SelectLabelProps & {
6
6
  class?: HTMLAttributes['class'];
@@ -1,14 +1,14 @@
1
- import type { SelectScrollDownButtonProps } from 'radix-vue';
1
+ import type { SelectScrollDownButtonProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import { ChevronDown } from 'lucide-vue-next';
4
- import { SelectScrollDownButton } from 'radix-vue';
4
+ import { SelectScrollDownButton } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = SelectScrollDownButtonProps & {
7
7
  class?: HTMLAttributes['class'];
8
8
  };
9
9
  declare const forwardedProps: import("vue").ComputedRef<{
10
10
  asChild: boolean;
11
- as: import("radix-vue").AsTag | import("vue").Component;
11
+ as: import("reka-ui").AsTag | import("vue").Component;
12
12
  }>;
13
13
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
14
  declare var __VLS_6: {};
@@ -1,14 +1,14 @@
1
- import type { SelectScrollUpButtonProps } from 'radix-vue';
1
+ import type { SelectScrollUpButtonProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import { ChevronUp } from 'lucide-vue-next';
4
- import { SelectScrollUpButton } from 'radix-vue';
4
+ import { SelectScrollUpButton } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = SelectScrollUpButtonProps & {
7
7
  class?: HTMLAttributes['class'];
8
8
  };
9
9
  declare const forwardedProps: import("vue").ComputedRef<{
10
10
  asChild: boolean;
11
- as: import("radix-vue").AsTag | import("vue").Component;
11
+ as: import("reka-ui").AsTag | import("vue").Component;
12
12
  }>;
13
13
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
14
  declare var __VLS_6: {};
@@ -1,4 +1,4 @@
1
- import type { SelectSeparatorProps } from 'radix-vue';
1
+ import type { SelectSeparatorProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = SelectSeparatorProps & {
4
4
  class?: HTMLAttributes['class'];
@@ -1,15 +1,16 @@
1
- import type { SelectTriggerProps } from 'radix-vue';
1
+ import type { SelectTriggerProps } from 'reka-ui';
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import { ChevronDown } from 'lucide-vue-next';
4
- import { SelectIcon, SelectTrigger } from 'radix-vue';
4
+ import { SelectIcon, SelectTrigger } from 'reka-ui';
5
5
  import { cn } from '../../../lib/utils';
6
6
  type __VLS_Props = SelectTriggerProps & {
7
7
  class?: HTMLAttributes['class'];
8
8
  };
9
9
  declare const forwardedProps: import("vue").ComputedRef<{
10
10
  disabled: boolean;
11
+ reference: import("reka-ui").ReferenceElement;
11
12
  asChild: boolean;
12
- as: import("radix-vue").AsTag | import("vue").Component;
13
+ as: import("reka-ui").AsTag | import("vue").Component;
13
14
  }>;
14
15
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
16
  declare var __VLS_6: {};