@scalar/api-client 2.17.8 → 2.18.1
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.
- package/CHANGELOG.md +73 -0
- package/dist/hooks/useClientConfig.js +1 -1
- package/dist/hooks/useLayout.js +1 -1
- package/dist/hooks/useSidebar.js +1 -1
- package/dist/plugins/hooks/usePluginManager.js +1 -1
- package/dist/store/active-entities.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.js +46 -51
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.js +0 -2
- package/dist/v2/blocks/operation-block/helpers/get-environment-variables.d.ts +9 -0
- package/dist/v2/blocks/operation-block/helpers/get-environment-variables.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-environment-variables.js +7 -0
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/get-example.js +12 -10
- package/dist/v2/blocks/operation-block/helpers/get-server-url.d.ts +3 -0
- package/dist/v2/blocks/operation-block/helpers/get-server-url.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-server-url.js +12 -0
- package/dist/v2/blocks/request-block/helpers/get-request-body-example.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +87 -65
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +36 -35
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +17 -17
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +130 -122
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +115 -144
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +2 -2
- package/dist/v2/components/code-input/CodeInput.vue2.js +120 -107
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +3 -3
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.js +2 -2
- package/dist/v2/components/data-table/DataTableInput.vue2.js +27 -27
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +3 -2
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js +42 -39
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -3
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +5 -3
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +25 -30
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +89 -141
- package/dist/v2/features/app/app-events.d.ts +22 -0
- package/dist/v2/features/app/app-events.d.ts.map +1 -0
- package/dist/v2/features/app/app-events.js +136 -0
- package/dist/v2/features/app/app-state.d.ts +135 -0
- package/dist/v2/features/app/app-state.d.ts.map +1 -0
- package/dist/v2/features/app/app-state.js +316 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +6 -3
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
- package/dist/v2/features/app/components/AppSidebar.vue2.js +4 -4
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +4 -2
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +25 -22
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +9 -5
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +62 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +14 -10
- package/dist/v2/features/app/helpers/routes.d.ts +10 -3
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +7 -7
- package/dist/v2/features/collection/components/Form.vue.d.ts +1 -1
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +2 -2
- package/dist/v2/features/modal/Modal.vue2.js +52 -52
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +3 -3
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.d.ts +5 -1
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +38 -26
- package/dist/v2/features/operation/helpers/combine-params.d.ts +4 -0
- package/dist/v2/features/operation/helpers/combine-params.d.ts.map +1 -0
- package/dist/v2/features/operation/helpers/combine-params.js +13 -0
- package/dist/v2/features/operation/index.d.ts +1 -0
- package/dist/v2/features/operation/index.d.ts.map +1 -1
- package/dist/v2/features/operation/index.js +10 -8
- package/dist/v2/helpers/get-tab-details.d.ts +2 -2
- package/dist/v2/helpers/get-tab-details.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +19 -19
- package/dist/v2/features/app/hooks/use-app-sidebar.d.ts +0 -40
- package/dist/v2/features/app/hooks/use-app-sidebar.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-app-sidebar.js +0 -134
- package/dist/v2/features/app/hooks/use-sync-path.d.ts +0 -11
- package/dist/v2/features/app/hooks/use-sync-path.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-sync-path.js +0 -52
- package/dist/v2/features/app/hooks/use-tabs.d.ts +0 -31
- package/dist/v2/features/app/hooks/use-tabs.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-tabs.js +0 -44
- package/dist/v2/features/app/hooks/use-workspace-client-app-events.d.ts +0 -18
- package/dist/v2/features/app/hooks/use-workspace-client-app-events.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-workspace-client-app-events.js +0 -156
- package/dist/v2/features/app/hooks/use-workspace-selector.d.ts +0 -28
- package/dist/v2/features/app/hooks/use-workspace-selector.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-workspace-selector.js +0 -81
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7744](https://github.com/scalar/scalar/pull/7744): fix: pass hideClientButton config into client modal
|
|
8
|
+
- [#7743](https://github.com/scalar/scalar/pull/7743): fix: complex auth
|
|
9
|
+
- [#7740](https://github.com/scalar/scalar/pull/7740): fix: filter out readonly properties from requestBody
|
|
10
|
+
- [#7742](https://github.com/scalar/scalar/pull/7742): feat: export auth component + proxy fix
|
|
11
|
+
|
|
12
|
+
#### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- **@scalar/workspace-store@0.24.7**
|
|
15
|
+
- [#7745](https://github.com/scalar/scalar/pull/7745): fix: add nested array support to references
|
|
16
|
+
|
|
17
|
+
- **@scalar/oas-utils@0.6.17**
|
|
18
|
+
|
|
19
|
+
- **@scalar/sidebar@0.7.10**
|
|
20
|
+
|
|
21
|
+
- **@scalar/components@0.16.20**
|
|
22
|
+
|
|
23
|
+
- **@scalar/postman-to-openapi@0.3.58**
|
|
24
|
+
|
|
25
|
+
- **@scalar/use-codemirror@0.13.14**
|
|
26
|
+
|
|
27
|
+
## 2.18.0
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- [#7585](https://github.com/scalar/scalar/pull/7585): feat: add copy url button on the addressbar
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#7686](https://github.com/scalar/scalar/pull/7686): feat: add array + object functionality to code input
|
|
36
|
+
- [#7713](https://github.com/scalar/scalar/pull/7713): fix: grab deprecated schema.example value
|
|
37
|
+
- [#7723](https://github.com/scalar/scalar/pull/7723): fix: remove use-color-mode hook from modal
|
|
38
|
+
- [#7730](https://github.com/scalar/scalar/pull/7730): fix: ensure path params work on the client
|
|
39
|
+
|
|
40
|
+
#### Updated Dependencies
|
|
41
|
+
|
|
42
|
+
- **@scalar/components@0.16.19**
|
|
43
|
+
- [#7725](https://github.com/scalar/scalar/pull/7725): fix(components): support slot for nested items icon
|
|
44
|
+
- [#7693](https://github.com/scalar/scalar/pull/7693): feat: markdown default line height
|
|
45
|
+
|
|
46
|
+
- **@scalar/helpers@0.2.7**
|
|
47
|
+
- [#7720](https://github.com/scalar/scalar/pull/7720): feat: escape XML in json2xml
|
|
48
|
+
|
|
49
|
+
- **@scalar/json-magic@0.9.0**
|
|
50
|
+
- [#7701](https://github.com/scalar/scalar/pull/7701): Made bundle external document extensions configurable
|
|
51
|
+
|
|
52
|
+
- **@scalar/sidebar@0.7.9**
|
|
53
|
+
- [#7678](https://github.com/scalar/scalar/pull/7678): fix: added deprecated sidebar support
|
|
54
|
+
|
|
55
|
+
- **@scalar/use-hooks@0.3.6**
|
|
56
|
+
- [#7678](https://github.com/scalar/scalar/pull/7678): feat: added object stringification to useClipboard
|
|
57
|
+
|
|
58
|
+
- **@scalar/use-codemirror@0.13.13**
|
|
59
|
+
|
|
60
|
+
- **@scalar/import@0.4.44**
|
|
61
|
+
|
|
62
|
+
- **@scalar/oas-utils@0.6.16**
|
|
63
|
+
|
|
64
|
+
- **@scalar/object-utils@1.2.21**
|
|
65
|
+
|
|
66
|
+
- **@scalar/postman-to-openapi@0.3.57**
|
|
67
|
+
|
|
68
|
+
- **@scalar/types@0.5.7**
|
|
69
|
+
|
|
70
|
+
- **@scalar/workspace-store@0.24.6**
|
|
71
|
+
|
|
72
|
+
- **@scalar/openapi-parser@0.23.13**
|
|
73
|
+
|
|
74
|
+
- **@scalar/snippetz@0.6.4**
|
|
75
|
+
|
|
3
76
|
## 2.17.8
|
|
4
77
|
|
|
5
78
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { apiClientConfigurationSchema as o } from "@scalar/types/api-reference";
|
|
2
2
|
import { inject as i, ref as t } from "vue";
|
|
3
|
-
const e = Symbol(), m = () => i(e, t(o.parse({})));
|
|
3
|
+
const e = /* @__PURE__ */ Symbol(), m = () => i(e, t(o.parse({})));
|
|
4
4
|
export {
|
|
5
5
|
e as CLIENT_CONFIGURATION_SYMBOL,
|
|
6
6
|
m as useClientConfig
|
package/dist/hooks/useLayout.js
CHANGED
package/dist/hooks/useSidebar.js
CHANGED