@scalar/api-client 2.26.2 → 2.27.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 +72 -0
- package/dist/components/Server/ServerSelector.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +6 -6
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.js +29 -25
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/get-example.js +15 -15
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts +10 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +4 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +6 -6
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +62 -69
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +7 -7
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -40
- 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 +37 -41
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +3 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +107 -87
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts +21 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +91 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +4 -0
- 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 +107 -93
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +87 -65
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +36 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +35 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +18 -10
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +5 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +27 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +3 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +1 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +29 -37
- package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +24 -23
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +30 -30
- package/dist/v2/features/app/App.vue.d.ts +5 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +48 -46
- 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 +64 -63
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +11 -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 +12 -10
- package/dist/v2/features/app/helpers/routes.d.ts +2 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/hooks/use-theme.d.ts +42 -0
- package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -0
- package/dist/v2/features/app/hooks/use-theme.js +34 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +27 -26
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +13 -12
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
- package/dist/v2/features/collection/components/Authentication.vue2.js +49 -40
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +26 -13
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue.js +27 -15
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.js +2 -2
- package/dist/v2/features/collection/components/Overview.vue2.js +68 -61
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue.js +93 -88
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +19 -17
- package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +2 -2
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +8 -8
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +15 -15
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +30 -33
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +10 -7
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +183 -149
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +88 -79
- package/dist/v2/features/settings/components/Section.vue.d.ts +2 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/components/Section.vue.js +26 -15
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +4 -3
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.js +6 -7
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +2 -2
- package/dist/v2/hooks/use-global-hot-keys.d.ts +3 -1
- package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -1
- package/dist/v2/hooks/use-global-hot-keys.js +8 -6
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +13 -6
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +18 -17
|
@@ -2,16 +2,16 @@ import { defineComponent as k, ref as x, watch as B, onBeforeUnmount as y, compu
|
|
|
2
2
|
import { ScalarToasts as D } from "@scalar/use-toasts";
|
|
3
3
|
import { mergeSecurity as I } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
|
|
4
4
|
import C from "../../components/modals/ModalClientContainer.vue.js";
|
|
5
|
-
import { initializeModalEvents as
|
|
6
|
-
import
|
|
7
|
-
import { getActiveEnvironment as
|
|
8
|
-
import { useGlobalHotKeys as
|
|
9
|
-
import { useScrollLock as
|
|
10
|
-
import
|
|
5
|
+
import { initializeModalEvents as A } from "./modal-events.js";
|
|
6
|
+
import L from "../operation/Operation.vue.js";
|
|
7
|
+
import { getActiveEnvironment as M } from "../../helpers/get-active-environment.js";
|
|
8
|
+
import { useGlobalHotKeys as T } from "../../hooks/use-global-hot-keys.js";
|
|
9
|
+
import { useScrollLock as $ } from "../../hooks/use-scroll-lock.js";
|
|
10
|
+
import z from "../../components/sidebar/SidebarToggle.vue.js";
|
|
11
11
|
import H from "../../components/sidebar/Sidebar.vue.js";
|
|
12
12
|
const j = {
|
|
13
13
|
key: 0,
|
|
14
|
-
class: "relative flex flex-1"
|
|
14
|
+
class: "relative flex h-full min-h-0 w-full flex-1"
|
|
15
15
|
}, q = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "flex h-full w-full items-center justify-center"
|
|
@@ -35,16 +35,16 @@ const j = {
|
|
|
35
35
|
label: "default",
|
|
36
36
|
id: "default"
|
|
37
37
|
}, o = x(!1);
|
|
38
|
-
|
|
38
|
+
A({
|
|
39
39
|
eventBus: e.eventBus,
|
|
40
40
|
isSidebarOpen: o,
|
|
41
41
|
sidebarState: e.sidebarState,
|
|
42
42
|
modalState: e.modalState,
|
|
43
43
|
store: e.workspaceStore
|
|
44
|
-
}),
|
|
44
|
+
}), T(e.eventBus, "modal", () => !e.modalState.open);
|
|
45
45
|
const c = () => {
|
|
46
46
|
e.eventBus.emit("operation:cancel:request");
|
|
47
|
-
}, S =
|
|
47
|
+
}, S = $(() => typeof window < "u" ? window.document.body : null);
|
|
48
48
|
B(
|
|
49
49
|
() => e.modalState.open,
|
|
50
50
|
(a) => {
|
|
@@ -54,7 +54,7 @@ const j = {
|
|
|
54
54
|
const h = 288, n = u(
|
|
55
55
|
() => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ?? h
|
|
56
56
|
), w = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), r = u(
|
|
57
|
-
() =>
|
|
57
|
+
() => M(e.workspaceStore, e.document.value)
|
|
58
58
|
), b = u(
|
|
59
59
|
() => I(
|
|
60
60
|
e.document.value?.components?.securitySchemes,
|
|
@@ -70,10 +70,10 @@ const j = {
|
|
|
70
70
|
default: W(() => [
|
|
71
71
|
l(d(D)),
|
|
72
72
|
e.document.value && e.path?.value && e.method?.value ? (i(), v("main", j, [
|
|
73
|
-
l(d(
|
|
73
|
+
l(d(z), {
|
|
74
74
|
modelValue: o.value,
|
|
75
75
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => o.value = m),
|
|
76
|
-
class: "absolute top-2 left-3 z-
|
|
76
|
+
class: "absolute top-2 left-3 z-2"
|
|
77
77
|
}, null, 8, ["modelValue"]),
|
|
78
78
|
E(l(d(H), {
|
|
79
79
|
sidebarWidth: n.value,
|
|
@@ -82,7 +82,7 @@ const j = {
|
|
|
82
82
|
w
|
|
83
83
|
],
|
|
84
84
|
activeWorkspace: s,
|
|
85
|
-
class: "
|
|
85
|
+
class: "h-full max-md:absolute! max-md:w-full!",
|
|
86
86
|
documents: [e.document.value],
|
|
87
87
|
eventBus: e.eventBus,
|
|
88
88
|
isDroppable: () => !1,
|
|
@@ -93,7 +93,7 @@ const j = {
|
|
|
93
93
|
}, null, 8, ["sidebarWidth", "documents", "eventBus", "sidebarState", "onSelectItem"]), [
|
|
94
94
|
[U, o.value]
|
|
95
95
|
]),
|
|
96
|
-
l(
|
|
96
|
+
l(L, {
|
|
97
97
|
activeWorkspace: s,
|
|
98
98
|
class: "flex-1",
|
|
99
99
|
document: e.document.value,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AAqNA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAM/D;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEd,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;;IAD/B,6CAA6C;cACnC,UAAU,CAAC,SAAS,CAAC;iGAqR/B,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as f, computed as n, toValue as
|
|
1
|
+
import { defineComponent as f, computed as n, toValue as o, createBlock as k, createElementBlock as g, openBlock as i, unref as l, createElementVNode as x } from "vue";
|
|
2
2
|
import { getResolvedRef as m } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
|
-
import { mapHiddenClientsConfig as
|
|
4
|
-
import { combineParams as
|
|
5
|
-
import { getSelectedServer as
|
|
6
|
-
import { getServers as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
3
|
+
import { mapHiddenClientsConfig as w } from "../modal/helpers/map-hidden-clients-config.js";
|
|
4
|
+
import { combineParams as C } from "./helpers/combine-params.js";
|
|
5
|
+
import { getSelectedServer as B } from "./helpers/get-selected-server.js";
|
|
6
|
+
import { getServers as U } from "../../helpers/get-servers.js";
|
|
7
|
+
import b from "../../blocks/operation-block/OperationBlock.vue.js";
|
|
8
|
+
const N = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "flex h-full w-full items-center justify-center"
|
|
11
|
-
},
|
|
12
|
-
...
|
|
11
|
+
}, E = {}, I = /* @__PURE__ */ f({
|
|
12
|
+
...E,
|
|
13
13
|
__name: "Operation",
|
|
14
14
|
props: {
|
|
15
15
|
documentSlug: {},
|
|
@@ -24,19 +24,20 @@ const E = {
|
|
|
24
24
|
workspaceStore: {},
|
|
25
25
|
activeWorkspace: {},
|
|
26
26
|
plugins: {},
|
|
27
|
+
customThemes: {},
|
|
27
28
|
options: {}
|
|
28
29
|
},
|
|
29
30
|
setup(e) {
|
|
30
|
-
const
|
|
31
|
+
const r = n(() => e.path ? m(e.document?.paths?.[e.path]) : null), c = n(() => {
|
|
31
32
|
if (!e.path || !e.method)
|
|
32
33
|
return null;
|
|
33
34
|
const t = m(e.document?.paths?.[e.path]?.[e.method]);
|
|
34
35
|
if (!t)
|
|
35
36
|
return null;
|
|
36
|
-
if (!
|
|
37
|
+
if (!r.value)
|
|
37
38
|
return t;
|
|
38
|
-
const a =
|
|
39
|
-
|
|
39
|
+
const a = C(
|
|
40
|
+
r.value.parameters,
|
|
40
41
|
t.parameters
|
|
41
42
|
);
|
|
42
43
|
return { ...t, parameters: a };
|
|
@@ -49,19 +50,15 @@ const E = {
|
|
|
49
50
|
...t,
|
|
50
51
|
location: "document"
|
|
51
52
|
}))
|
|
52
|
-
]),
|
|
53
|
-
const t =
|
|
54
|
-
return
|
|
55
|
-
baseServerUrl:
|
|
53
|
+
]), u = n(() => {
|
|
54
|
+
const t = o(e.options)?.servers ?? c.value?.servers ?? r.value?.servers ?? e.document?.servers;
|
|
55
|
+
return U(t, {
|
|
56
|
+
baseServerUrl: o(e.options)?.baseServerURL,
|
|
56
57
|
documentUrl: e.document?.["x-scalar-original-source-url"]
|
|
57
58
|
});
|
|
58
59
|
}), d = n(
|
|
59
|
-
() =>
|
|
60
|
-
)
|
|
61
|
-
k(() => {
|
|
62
|
-
typeof e.document?.["x-scalar-selected-server"] > "u" && o.value?.[0]?.url && e.eventBus.emit("server:update:selected", { url: o.value[0].url });
|
|
63
|
-
});
|
|
64
|
-
const v = n(() => e.document?.["x-scalar-set-operation-security"] ? {
|
|
60
|
+
() => B(e.document, u.value)
|
|
61
|
+
), v = n(() => e.document?.["x-scalar-set-operation-security"] ? {
|
|
65
62
|
type: "operation",
|
|
66
63
|
path: e.path ?? "",
|
|
67
64
|
method: e.method ?? "get"
|
|
@@ -75,9 +72,9 @@ const E = {
|
|
|
75
72
|
})
|
|
76
73
|
)
|
|
77
74
|
)), S = n(
|
|
78
|
-
() =>
|
|
79
|
-
), y = "2.
|
|
80
|
-
return (t, a) => e.path && e.method && e.exampleName &&
|
|
75
|
+
() => w(o(e.options)?.hiddenClients)
|
|
76
|
+
), y = "2.27.1";
|
|
77
|
+
return (t, a) => e.path && e.method && e.exampleName && c.value ? (i(), k(l(b), {
|
|
81
78
|
key: 0,
|
|
82
79
|
activeEnvironment: e.workspaceStore.workspace["x-scalar-active-environment"],
|
|
83
80
|
appVersion: l(y),
|
|
@@ -93,12 +90,12 @@ const E = {
|
|
|
93
90
|
eventBus: e.eventBus,
|
|
94
91
|
exampleKey: e.exampleName,
|
|
95
92
|
globalCookies: s.value,
|
|
96
|
-
hideClientButton:
|
|
93
|
+
hideClientButton: o(e.options)?.hideClientButton ?? !1,
|
|
97
94
|
history: e.workspaceStore.history.getHistory(e.documentSlug, e.path, e.method),
|
|
98
95
|
httpClients: S.value,
|
|
99
96
|
layout: e.layout,
|
|
100
97
|
method: e.method,
|
|
101
|
-
operation:
|
|
98
|
+
operation: c.value,
|
|
102
99
|
operationSelectedSecurity: e.workspaceStore.auth.getAuthSelectedSchemas({
|
|
103
100
|
type: "operation",
|
|
104
101
|
documentName: e.documentSlug,
|
|
@@ -111,14 +108,14 @@ const E = {
|
|
|
111
108
|
securitySchemes: e.securitySchemes,
|
|
112
109
|
selectedClient: e.workspaceStore.workspace["x-scalar-default-client"],
|
|
113
110
|
server: d.value,
|
|
114
|
-
servers:
|
|
111
|
+
servers: u.value,
|
|
115
112
|
setOperationSecurity: e.document?.["x-scalar-set-operation-security"] ?? !1,
|
|
116
|
-
"onUpdate:servers": a[0] || (a[0] = (
|
|
117
|
-
}, null, 8, ["activeEnvironment", "appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "environments", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "history", "httpClients", "layout", "method", "operation", "operationSelectedSecurity", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (i(), g("div",
|
|
118
|
-
|
|
113
|
+
"onUpdate:servers": a[0] || (a[0] = (O) => e.eventBus.emit("ui:navigate", { page: "document", path: "servers" }))
|
|
114
|
+
}, null, 8, ["activeEnvironment", "appVersion", "authMeta", "documentSecurity", "documentSelectedSecurity", "documentUrl", "environment", "environments", "eventBus", "exampleKey", "globalCookies", "hideClientButton", "history", "httpClients", "layout", "method", "operation", "operationSelectedSecurity", "path", "plugins", "proxyUrl", "securitySchemes", "selectedClient", "server", "servers", "setOperationSecurity"])) : (i(), g("div", N, [...a[1] || (a[1] = [
|
|
115
|
+
x("span", { class: "text-c-3" }, "Select an operation to view details", -1)
|
|
119
116
|
])]));
|
|
120
117
|
}
|
|
121
118
|
});
|
|
122
119
|
export {
|
|
123
|
-
|
|
120
|
+
I as default
|
|
124
121
|
};
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type Theme } from '@scalar/themes';
|
|
2
|
+
type ColorMode = 'system' | 'light' | 'dark';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
/** Currently active proxy URL, when set to null means no proxy */
|
|
4
5
|
activeProxyUrl?: string | null;
|
|
6
|
+
/** Custom themes available to the team */
|
|
7
|
+
customThemes?: Theme[];
|
|
5
8
|
/** Currently active theme ID */
|
|
6
|
-
|
|
9
|
+
activeThemeSlug?: string;
|
|
7
10
|
/** Currently active color mode */
|
|
8
|
-
colorMode:
|
|
11
|
+
colorMode: ColorMode;
|
|
9
12
|
};
|
|
10
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
"update:colorMode": (value:
|
|
14
|
+
"update:colorMode": (value: ColorMode) => any;
|
|
12
15
|
"update:proxyUrl": (value: string | null) => any;
|
|
13
|
-
"update:
|
|
16
|
+
"update:themeSlug": (value: string | undefined) => any;
|
|
14
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:colorMode"?: ((value:
|
|
18
|
+
"onUpdate:colorMode"?: ((value: ColorMode) => any) | undefined;
|
|
16
19
|
"onUpdate:proxyUrl"?: ((value: string | null) => any) | undefined;
|
|
17
|
-
"onUpdate:
|
|
20
|
+
"onUpdate:themeSlug"?: ((value: string | undefined) => any) | undefined;
|
|
18
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
22
|
declare const _default: typeof __VLS_export;
|
|
20
23
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/CollectionSettings.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollectionSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/CollectionSettings.vue"],"names":[],"mappings":"AAkTA,OAAO,EAIL,KAAK,KAAK,EAEX,MAAM,gBAAgB,CAAA;AASvB,KAAK,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;AAE5C,KAAK,WAAW,GAAG;IACjB,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,0CAA0C;IAC1C,YAAY,CAAC,EAAE,KAAK,EAAE,CAAA;IACtB,gCAAgC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kCAAkC;IAClC,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAgnBF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|