@scalar/api-reference 1.2.2 → 1.2.4

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 (123) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +19 -1
  3. package/dist/browser/standalone.js +403 -151
  4. package/dist/components/Anchor/Anchor.vue.d.ts +14 -11
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/ApiClientModal.vue.d.ts +23 -36
  7. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +11 -9
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceBase.vue.d.ts +12 -11
  11. package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
  12. package/dist/components/ApiReferenceLayout.vue.d.ts +145 -158
  13. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  14. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  15. package/dist/components/Card/CardContent.vue.d.ts +42 -43
  16. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  17. package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
  18. package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
  19. package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
  20. package/dist/components/Content/Authentication/Authentication.vue.d.ts +14 -9
  21. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts +14 -9
  23. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts +15 -12
  25. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Content.vue.d.ts +18 -27
  27. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  28. package/dist/components/Content/EndpointsOverview.vue.d.ts +13 -10
  29. package/dist/components/Content/EndpointsOverview.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Introduction/ClientSelector.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Introduction/Description.vue.d.ts +14 -9
  32. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +13 -10
  34. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Introduction/Introduction.vue.d.ts +19 -34
  36. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Introduction/ServerItem.vue.d.ts +16 -15
  38. package/dist/components/Content/Introduction/ServerItem.vue.d.ts.map +1 -1
  39. package/dist/components/Content/Introduction/ServerList.vue.d.ts +13 -10
  40. package/dist/components/Content/Introduction/ServerList.vue.d.ts.map +1 -1
  41. package/dist/components/Content/Introduction/ServerVariables.vue.d.ts +14 -9
  42. package/dist/components/Content/Introduction/ServerVariables.vue.d.ts.map +1 -1
  43. package/dist/components/Content/MarkdownRenderer.vue.d.ts +14 -9
  44. package/dist/components/Content/MarkdownRenderer.vue.d.ts.map +1 -1
  45. package/dist/components/Content/Models.vue.d.ts +14 -9
  46. package/dist/components/Content/Models.vue.d.ts.map +1 -1
  47. package/dist/components/Content/ReferenceEndpoint/Copy.vue.d.ts +13 -10
  48. package/dist/components/Content/ReferenceEndpoint/Copy.vue.d.ts.map +1 -1
  49. package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts +13 -10
  50. package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts.map +1 -1
  51. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.d.ts +13 -10
  52. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  53. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/Headers.vue.d.ts +13 -10
  54. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/Headers.vue.d.ts.map +1 -1
  55. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.d.ts +13 -10
  56. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.d.ts.map +1 -1
  57. package/dist/components/Content/ReferenceEndpoint/ParameterItem.vue.d.ts +13 -10
  58. package/dist/components/Content/ReferenceEndpoint/ParameterItem.vue.d.ts.map +1 -1
  59. package/dist/components/Content/ReferenceEndpoint/Parameters.vue.d.ts +15 -16
  60. package/dist/components/Content/ReferenceEndpoint/Parameters.vue.d.ts.map +1 -1
  61. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts +15 -18
  62. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts.map +1 -1
  63. package/dist/components/Content/ReferenceEndpoint/RequestBody.vue.d.ts +14 -9
  64. package/dist/components/Content/ReferenceEndpoint/RequestBody.vue.d.ts.map +1 -1
  65. package/dist/components/Content/ReferenceEndpoint/RequestBodyProperties.vue.d.ts +15 -18
  66. package/dist/components/Content/ReferenceEndpoint/RequestBodyProperties.vue.d.ts.map +1 -1
  67. package/dist/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue.d.ts +13 -10
  68. package/dist/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Schema.vue.d.ts +30 -23
  70. package/dist/components/Content/Schema.vue.d.ts.map +1 -1
  71. package/dist/components/Content/SchemaProperty.vue.d.ts +34 -31
  72. package/dist/components/Content/SchemaProperty.vue.d.ts.map +1 -1
  73. package/dist/components/Content/ShowMoreButton.vue.d.ts +13 -10
  74. package/dist/components/Content/ShowMoreButton.vue.d.ts.map +1 -1
  75. package/dist/components/Content/SpecDownload.vue.d.ts +13 -10
  76. package/dist/components/Content/SpecDownload.vue.d.ts.map +1 -1
  77. package/dist/components/Content/Spinner.vue.d.ts.map +1 -1
  78. package/dist/components/DarkModeToggle.vue.d.ts.map +1 -1
  79. package/dist/components/FlowButton.vue.d.ts +24 -41
  80. package/dist/components/FlowButton.vue.d.ts.map +1 -1
  81. package/dist/components/FlowIconButton.vue.d.ts +30 -27
  82. package/dist/components/FlowIconButton.vue.d.ts.map +1 -1
  83. package/dist/components/FlowLoader.vue.d.ts +28 -17
  84. package/dist/components/FlowLoader.vue.d.ts.map +1 -1
  85. package/dist/components/HelpfulLink.vue.d.ts +14 -11
  86. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  87. package/dist/components/Icon/FlowIcon.vue.d.ts +13 -10
  88. package/dist/components/Icon/FlowIcon.vue.d.ts.map +1 -1
  89. package/dist/components/Icon/Icon.vue.d.ts +15 -16
  90. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  91. package/dist/components/IntersectionObserver.vue.d.ts +17 -16
  92. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  93. package/dist/components/LoadingSkeleton.vue.d.ts +26 -11
  94. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  95. package/dist/components/MobileHeader.vue.d.ts +15 -10
  96. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  97. package/dist/components/SearchButton.vue.d.ts +28 -19
  98. package/dist/components/SearchButton.vue.d.ts.map +1 -1
  99. package/dist/components/SearchModal.vue.d.ts +16 -26
  100. package/dist/components/SearchModal.vue.d.ts.map +1 -1
  101. package/dist/components/Section/Section.vue.d.ts +16 -15
  102. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  103. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  104. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  105. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  106. package/dist/components/Section/SectionContent.vue.d.ts +26 -11
  107. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  108. package/dist/components/Section/SectionHeader.vue.d.ts +34 -27
  109. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  110. package/dist/components/Sidebar.vue.d.ts +14 -11
  111. package/dist/components/Sidebar.vue.d.ts.map +1 -1
  112. package/dist/components/SidebarElement.vue.d.ts +37 -46
  113. package/dist/components/SidebarElement.vue.d.ts.map +1 -1
  114. package/dist/components/SidebarGroup.vue.d.ts +14 -11
  115. package/dist/components/SidebarGroup.vue.d.ts.map +1 -1
  116. package/dist/components/SimpleTable/SimpleCell.vue.d.ts +34 -27
  117. package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -1
  118. package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +1 -1
  119. package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -1
  120. package/dist/index.js +3498 -52581
  121. package/dist/types.d.ts +3 -0
  122. package/dist/types.d.ts.map +1 -1
  123. package/package.json +73 -83
@@ -1,17 +1,20 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- id: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- id: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- }>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ id: string;
5
+ }>>>, {}, {}>, {
12
6
  default?(_: {}): any;
13
7
  }>;
14
8
  export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
15
18
  type __VLS_WithTemplateSlots<T, S> = T & {
16
19
  new (): {
17
20
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/Anchor.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAgKA,wBAAwG;AAKxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/Anchor.vue.ts"],"names":[],"mappings":";;;;;;;AAkJA,wBAAwG;AAGxG,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,48 +1,35 @@
1
1
  import { type Spec } from '../types';
2
2
  export { useApiClientStore } from '@scalar/api-client';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- parsedSpec: {
5
- type: import("vue").PropType<Spec>;
6
- required: true;
7
- };
8
- overloadShow: {
9
- type: import("vue").PropType<boolean>;
10
- };
11
- tabMode: {
12
- type: import("vue").PropType<boolean>;
13
- };
14
- activeTab: {
15
- type: import("vue").PropType<string>;
16
- };
17
- proxyUrl: {
18
- type: import("vue").PropType<string>;
19
- };
20
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ parsedSpec: Spec;
5
+ overloadShow?: boolean | undefined;
6
+ tabMode?: boolean | undefined;
7
+ activeTab?: string | undefined;
8
+ proxyUrl?: string | undefined;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
10
  toggleDarkMode: () => void;
22
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
- parsedSpec: {
24
- type: import("vue").PropType<Spec>;
25
- required: true;
26
- };
27
- overloadShow: {
28
- type: import("vue").PropType<boolean>;
29
- };
30
- tabMode: {
31
- type: import("vue").PropType<boolean>;
32
- };
33
- activeTab: {
34
- type: import("vue").PropType<string>;
35
- };
36
- proxyUrl: {
37
- type: import("vue").PropType<string>;
38
- };
39
- }>> & {
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ parsedSpec: Spec;
13
+ overloadShow?: boolean | undefined;
14
+ tabMode?: boolean | undefined;
15
+ activeTab?: string | undefined;
16
+ proxyUrl?: string | undefined;
17
+ }>>> & {
40
18
  onToggleDarkMode?: (() => any) | undefined;
41
19
  }, {}, {}>, {
42
20
  header?(_: {}): any;
43
21
  "active-tab"?(_: {}): any;
44
22
  }>;
45
23
  export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
46
33
  type __VLS_WithTemplateSlots<T, S> = T & {
47
34
  new (): {
48
35
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAiOzB,GAAG;0BACG,GAAG;;AAjOtC,wBA2QI;AAGJ,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;gBA2OxC,IAAI;;;;;;;;gBAAJ,IAAI;;;;;;;;oBA1BW,GAAG;0BACG,GAAG;;AAjNtC,wBAuPI;AACJ,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,11 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- configuration: {
3
- type: import("vue").PropType<import("../types").ReferenceConfiguration>;
4
- };
5
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
- configuration: {
7
- type: import("vue").PropType<import("../types").ReferenceConfiguration>;
8
- };
9
- }>>, {}, {}>;
1
+ import { type ReferenceProps } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceProps>>>, {}, {}>;
10
3
  export default _default;
4
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
+ type __VLS_TypePropsToRuntimeProps<T> = {
6
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
7
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
+ } : {
9
+ type: import('vue').PropType<T[K]>;
10
+ required: true;
11
+ };
12
+ };
11
13
  //# sourceMappingURL=ApiReference.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":";;;;;;;;;AA+KA,wBAQG"}
1
+ {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,UAAU,CAAA;;AA0KtE,wBAMG;AAGH,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,18 +1,10 @@
1
1
  import { type ThemeId } from '@scalar/themes';
2
- import { type ReferenceConfiguration, type ReferenceSlotProps } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- configuration: {
5
- type: import("vue").PropType<ReferenceConfiguration>;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ import { type ReferenceProps, type ReferenceSlotProps } from '../types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
4
  changeTheme: (value: ThemeId) => void;
9
5
  updateContent: (value: string) => void;
10
6
  startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
11
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
- configuration: {
13
- type: import("vue").PropType<ReferenceConfiguration>;
14
- };
15
- }>> & {
7
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceProps>>> & {
16
8
  onChangeTheme?: ((value: ThemeId) => any) | undefined;
17
9
  onUpdateContent?: ((value: string) => any) | undefined;
18
10
  onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
@@ -25,6 +17,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
17
  "sidebar-end": (props: ReferenceSlotProps) => any;
26
18
  }>>;
27
19
  export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
28
29
  type __VLS_WithTemplateSlots<T, S> = T & {
29
30
  new (): {
30
31
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceBase.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceBase.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAO1D,OAAO,EAEL,KAAK,sBAAsB,EAG3B,KAAK,kBAAkB,EAExB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAkQjB,wBAAwG;AAKxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiReferenceBase.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceBase.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAO1D,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAExB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;AA0PjB,wBAAwG;AAGxG,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,166 +1,144 @@
1
1
  import { type ThemeId } from '@scalar/themes';
2
2
  import type { ReferenceConfiguration, ReferenceSlotProps, Spec } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- configuration: {
5
- type: import("vue").PropType<ReferenceConfiguration>;
6
- required: true;
7
- };
8
- parsedSpec: {
9
- type: import("vue").PropType<Spec>;
10
- required: true;
11
- };
12
- rawSpec: {
13
- type: import("vue").PropType<string>;
14
- required: true;
15
- };
16
- swaggerEditorRef: {
17
- type: import("vue").PropType<import("vue").DefineComponent<{
18
- aiWriterMarkdown: {
19
- type: import("vue").PropType<string>;
20
- };
21
- value: {
22
- type: import("vue").PropType<string>;
23
- };
24
- hocuspocusConfiguration: {
25
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
26
- };
27
- theme: {
28
- type: import("vue").PropType<ThemeId>;
29
- };
30
- initialTabState: {
31
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
32
- };
33
- availableTabs: {
34
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
35
- };
36
- proxyUrl: {
37
- type: import("vue").PropType<string>;
38
- };
39
- error: {
40
- type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
41
- };
42
- }, {
43
- handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
44
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
- contentUpdate: (value: string) => void;
46
- import: (value: string) => void;
47
- changeTheme: (value: ThemeId) => void;
48
- startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
49
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
- aiWriterMarkdown: {
51
- type: import("vue").PropType<string>;
52
- };
53
- value: {
54
- type: import("vue").PropType<string>;
55
- };
56
- hocuspocusConfiguration: {
57
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
58
- };
59
- theme: {
60
- type: import("vue").PropType<ThemeId>;
61
- };
62
- initialTabState: {
63
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
64
- };
65
- availableTabs: {
66
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
67
- };
68
- proxyUrl: {
69
- type: import("vue").PropType<string>;
70
- };
71
- error: {
72
- type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
73
- };
74
- }>> & {
75
- onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
76
- onChangeTheme?: ((value: ThemeId) => any) | undefined;
77
- onImport?: ((value: string) => any) | undefined;
78
- onContentUpdate?: ((value: string) => any) | undefined;
79
- }, {}, {}> | null>;
80
- };
81
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ configuration: ReferenceConfiguration;
5
+ parsedSpec: Spec;
6
+ rawSpec: string;
7
+ swaggerEditorRef?: import("vue").DefineComponent<{
8
+ aiWriterMarkdown: {
9
+ type: import("vue").PropType<string>;
10
+ };
11
+ value: {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ hocuspocusConfiguration: {
15
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
16
+ };
17
+ theme: {
18
+ type: import("vue").PropType<ThemeId>;
19
+ };
20
+ initialTabState: {
21
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
22
+ };
23
+ availableTabs: {
24
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
25
+ };
26
+ proxyUrl: {
27
+ type: import("vue").PropType<string>;
28
+ };
29
+ error: {
30
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
31
+ };
32
+ }, {
33
+ handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
34
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ contentUpdate: (value: string) => void;
36
+ import: (value: string) => void;
37
+ changeTheme: (value: ThemeId) => void;
38
+ startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
39
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ aiWriterMarkdown: {
41
+ type: import("vue").PropType<string>;
42
+ };
43
+ value: {
44
+ type: import("vue").PropType<string>;
45
+ };
46
+ hocuspocusConfiguration: {
47
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
48
+ };
49
+ theme: {
50
+ type: import("vue").PropType<ThemeId>;
51
+ };
52
+ initialTabState: {
53
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
54
+ };
55
+ availableTabs: {
56
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
57
+ };
58
+ proxyUrl: {
59
+ type: import("vue").PropType<string>;
60
+ };
61
+ error: {
62
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
63
+ };
64
+ }>> & {
65
+ onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
66
+ onChangeTheme?: ((value: ThemeId) => any) | undefined;
67
+ onImport?: ((value: string) => any) | undefined;
68
+ onContentUpdate?: ((value: string) => any) | undefined;
69
+ }, {}, {}> | null | undefined;
70
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
71
  changeTheme: (value: ThemeId) => void;
83
72
  updateContent: (value: string) => void;
84
73
  toggleDarkMode: () => void;
85
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
86
- configuration: {
87
- type: import("vue").PropType<ReferenceConfiguration>;
88
- required: true;
89
- };
90
- parsedSpec: {
91
- type: import("vue").PropType<Spec>;
92
- required: true;
93
- };
94
- rawSpec: {
95
- type: import("vue").PropType<string>;
96
- required: true;
97
- };
98
- swaggerEditorRef: {
99
- type: import("vue").PropType<import("vue").DefineComponent<{
100
- aiWriterMarkdown: {
101
- type: import("vue").PropType<string>;
102
- };
103
- value: {
104
- type: import("vue").PropType<string>;
105
- };
106
- hocuspocusConfiguration: {
107
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
108
- };
109
- theme: {
110
- type: import("vue").PropType<ThemeId>;
111
- };
112
- initialTabState: {
113
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
114
- };
115
- availableTabs: {
116
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
117
- };
118
- proxyUrl: {
119
- type: import("vue").PropType<string>;
120
- };
121
- error: {
122
- type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
123
- };
124
- }, {
125
- handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
126
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
127
- contentUpdate: (value: string) => void;
128
- import: (value: string) => void;
129
- changeTheme: (value: ThemeId) => void;
130
- startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
131
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
132
- aiWriterMarkdown: {
133
- type: import("vue").PropType<string>;
134
- };
135
- value: {
136
- type: import("vue").PropType<string>;
137
- };
138
- hocuspocusConfiguration: {
139
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
140
- };
141
- theme: {
142
- type: import("vue").PropType<ThemeId>;
143
- };
144
- initialTabState: {
145
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
146
- };
147
- availableTabs: {
148
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
149
- };
150
- proxyUrl: {
151
- type: import("vue").PropType<string>;
152
- };
153
- error: {
154
- type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
155
- };
156
- }>> & {
157
- onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
158
- onChangeTheme?: ((value: ThemeId) => any) | undefined;
159
- onImport?: ((value: string) => any) | undefined;
160
- onContentUpdate?: ((value: string) => any) | undefined;
161
- }, {}, {}> | null>;
162
- };
163
- }>> & {
74
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
75
+ configuration: ReferenceConfiguration;
76
+ parsedSpec: Spec;
77
+ rawSpec: string;
78
+ swaggerEditorRef?: import("vue").DefineComponent<{
79
+ aiWriterMarkdown: {
80
+ type: import("vue").PropType<string>;
81
+ };
82
+ value: {
83
+ type: import("vue").PropType<string>;
84
+ };
85
+ hocuspocusConfiguration: {
86
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
87
+ };
88
+ theme: {
89
+ type: import("vue").PropType<ThemeId>;
90
+ };
91
+ initialTabState: {
92
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
93
+ };
94
+ availableTabs: {
95
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
96
+ };
97
+ proxyUrl: {
98
+ type: import("vue").PropType<string>;
99
+ };
100
+ error: {
101
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
102
+ };
103
+ }, {
104
+ handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
105
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
106
+ contentUpdate: (value: string) => void;
107
+ import: (value: string) => void;
108
+ changeTheme: (value: ThemeId) => void;
109
+ startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
110
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
111
+ aiWriterMarkdown: {
112
+ type: import("vue").PropType<string>;
113
+ };
114
+ value: {
115
+ type: import("vue").PropType<string>;
116
+ };
117
+ hocuspocusConfiguration: {
118
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
119
+ };
120
+ theme: {
121
+ type: import("vue").PropType<ThemeId>;
122
+ };
123
+ initialTabState: {
124
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
125
+ };
126
+ availableTabs: {
127
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs[]>;
128
+ };
129
+ proxyUrl: {
130
+ type: import("vue").PropType<string>;
131
+ };
132
+ error: {
133
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
134
+ };
135
+ }>> & {
136
+ onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
137
+ onChangeTheme?: ((value: ThemeId) => any) | undefined;
138
+ onImport?: ((value: string) => any) | undefined;
139
+ onContentUpdate?: ((value: string) => any) | undefined;
140
+ }, {}, {}> | null | undefined;
141
+ }>>> & {
164
142
  onToggleDarkMode?: (() => any) | undefined;
165
143
  onChangeTheme?: ((value: ThemeId) => any) | undefined;
166
144
  onUpdateContent?: ((value: string) => any) | undefined;
@@ -174,6 +152,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
174
152
  "sidebar-end": (props: ReferenceSlotProps) => any;
175
153
  }>>;
176
154
  export default _default;
155
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
156
+ type __VLS_TypePropsToRuntimeProps<T> = {
157
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
158
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
159
+ } : {
160
+ type: import('vue').PropType<T[K]>;
161
+ required: true;
162
+ };
163
+ };
177
164
  type __VLS_WithTemplateSlots<T, S> = T & {
178
165
  new (): {
179
166
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EACV,sBAAsB,EAEtB,kBAAkB,EAClB,IAAI,EACL,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgdjB,wBAAwG;AAKxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EACV,sBAAsB,EAEtB,kBAAkB,EAClB,IAAI,EACL,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8bjB,wBAAwG;AAGxG,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 +1 @@
1
- {"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue.ts"],"names":[],"mappings":";;;AA+DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue.ts"],"names":[],"mappings":";;;AA6DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,46 +1,28 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- muted: {
3
- type: import("vue").PropType<boolean>;
4
- default: boolean;
5
- };
6
- contrast: {
7
- type: import("vue").PropType<boolean>;
8
- default: boolean;
9
- };
10
- frameless: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
- transparent: {
15
- type: import("vue").PropType<boolean>;
16
- default: boolean;
17
- };
18
- borderless: {
19
- type: import("vue").PropType<boolean>;
20
- default: boolean;
21
- };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
- muted: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
- contrast: {
28
- type: import("vue").PropType<boolean>;
29
- default: boolean;
30
- };
31
- frameless: {
32
- type: import("vue").PropType<boolean>;
33
- default: boolean;
34
- };
35
- transparent: {
36
- type: import("vue").PropType<boolean>;
37
- default: boolean;
38
- };
39
- borderless: {
40
- type: import("vue").PropType<boolean>;
41
- default: boolean;
42
- };
43
- }>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ muted?: boolean | undefined;
3
+ contrast?: boolean | undefined;
4
+ frameless?: boolean | undefined;
5
+ transparent?: boolean | undefined;
6
+ borderless?: boolean | undefined;
7
+ }>, {
8
+ muted: boolean;
9
+ contrast: boolean;
10
+ frameless: boolean;
11
+ transparent: boolean;
12
+ borderless: boolean;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ muted?: boolean | undefined;
15
+ contrast?: boolean | undefined;
16
+ frameless?: boolean | undefined;
17
+ transparent?: boolean | undefined;
18
+ borderless?: boolean | undefined;
19
+ }>, {
20
+ muted: boolean;
21
+ contrast: boolean;
22
+ frameless: boolean;
23
+ transparent: boolean;
24
+ borderless: boolean;
25
+ }>>>, {
44
26
  muted: boolean;
45
27
  contrast: boolean;
46
28
  frameless: boolean;
@@ -50,6 +32,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
50
32
  default?(_: {}): any;
51
33
  }>;
52
34
  export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_Prettify<T> = {
50
+ [K in keyof T]: T[K];
51
+ } & {};
53
52
  type __VLS_WithTemplateSlots<T, S> = T & {
54
53
  new (): {
55
54
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIA,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"CardContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIA,wBAAwG;AAGxG,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}