@scalar/api-client 2.2.48 → 2.2.50
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 +41 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +15 -3
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +102 -94
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -0
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +54 -58
- package/dist/components/CodeInput/CodeInput.vue.d.ts +9 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +95 -93
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +1 -3
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -22
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +13 -13
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +54 -49
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +9 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +11 -8
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +36 -30
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -15
- package/dist/components/Form/Form.vue.d.ts +3 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +30 -25
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +41 -41
- package/dist/components/ImportCollection/ImportNowButton.vue.js +24 -24
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +13 -13
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +19 -19
- package/dist/layouts/App/create-api-client-app.d.ts +387 -477
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +774 -954
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +387 -477
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +390 -479
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +3 -15
- package/dist/libs/env-helpers.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +7 -7
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +3 -1
- package/dist/libs/hot-keys.d.ts.map +1 -1
- package/dist/libs/hot-keys.js +11 -15
- package/dist/libs/hot-keys.test.d.ts +2 -0
- package/dist/libs/hot-keys.test.d.ts.map +1 -0
- package/dist/libs/index.js +27 -26
- package/dist/libs/send-request/build-request-security.d.ts +1 -1
- package/dist/libs/send-request/build-request-security.js +19 -16
- package/dist/libs/send-request/create-request-operation.test.d.ts +10 -10
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.js +37 -34
- package/dist/store/active-entities.d.ts +58 -67
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +61 -74
- package/dist/store/collections.d.ts +90 -90
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/collections.js +4 -17
- package/dist/store/cookies.d.ts +14 -14
- package/dist/store/environment.d.ts +19 -18
- package/dist/store/environment.d.ts.map +1 -1
- package/dist/store/environment.js +2 -8
- package/dist/store/import-spec.d.ts +16 -106
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/import-spec.js +9 -14
- package/dist/store/request-example.d.ts +25 -25
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/request-example.js +15 -20
- package/dist/store/requests.d.ts +84 -84
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/requests.js +17 -40
- package/dist/store/router-params.d.ts +13 -11
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/router-params.js +5 -5
- package/dist/store/security-schemes.d.ts +58 -58
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +1 -3
- package/dist/store/servers.d.ts +17 -17
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/servers.js +2 -9
- package/dist/store/store.d.ts +387 -477
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +2 -4
- package/dist/store/tags.d.ts +28 -28
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/tags.js +19 -34
- package/dist/store/workspace.d.ts +36 -36
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +1 -5
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +18 -18
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +24 -24
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +140 -132
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -2
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +15 -15
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +160 -141
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +7 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +6 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +99 -95
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +70 -64
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +40 -34
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +32 -26
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +93 -85
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +9 -0
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +214 -244
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +10 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +77 -80
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +89 -96
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +10 -2
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +59 -66
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +11 -0
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +176 -155
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +6 -0
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +97 -100
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +31 -22
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +2 -2
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.js +11 -13
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +50 -48
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +38 -44
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +10 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +77 -69
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +7 -7
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +4 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +41 -39
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +56 -52
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +68 -68
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.d.ts +1 -1
- package/dist/views/Request/handle-drag.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.js +38 -55
- package/dist/views/Request/libs/auth.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +28 -29
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +42 -65
- package/dist/views/Request/libs/request.d.ts +5 -0
- package/dist/views/Request/libs/request.d.ts.map +1 -1
- package/dist/views/Request/libs/request.js +37 -2
- package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.js +10 -34
- package/dist/views/Servers/ServerForm.vue.d.ts +1 -8
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +21 -22
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +73 -81
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +118 -134
- package/package.json +14 -14
|
@@ -9,4 +9,9 @@ import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec';
|
|
|
9
9
|
* - maximum
|
|
10
10
|
*/
|
|
11
11
|
export declare const hasItemProperties: (item: RequestExampleParameter) => boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Checks if the value of a RequestExampleParameter is the expected type or format
|
|
14
|
+
* Returns an alert message if the value is not in the correct type or format, otherwise false
|
|
15
|
+
*/
|
|
16
|
+
export declare const parameterIsInvalid: (item: RequestExampleParameter) => import("vue").ComputedRef<string | false>;
|
|
12
17
|
//# sourceMappingURL=request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAG9E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,SAAU,uBAAuB,YACwC,CAAA;AAEvG;;;GAGG;AACH,eAAO,MAAM,kBAAkB,SAAU,uBAAuB,8CAqD/D,CAAA"}
|
|
@@ -1,4 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed as r } from "vue";
|
|
2
|
+
const m = (e) => !!(e.description || e.type || e.default || e.format || e.minimum || e.maximum), n = (e) => r(() => {
|
|
3
|
+
if (e.value === void 0 || e.value === "") return !1;
|
|
4
|
+
if (e.type) {
|
|
5
|
+
if (e.type === "integer") {
|
|
6
|
+
const a = Number(e.value);
|
|
7
|
+
if (isNaN(a) || !Number.isInteger(a))
|
|
8
|
+
return "Value must be a whole number (e.g., 42)";
|
|
9
|
+
if (e.minimum !== void 0 && a < e.minimum)
|
|
10
|
+
return `Value must be ${e.minimum} or greater`;
|
|
11
|
+
if (e.maximum !== void 0 && a > e.maximum)
|
|
12
|
+
return `Value must be ${e.maximum} or less`;
|
|
13
|
+
}
|
|
14
|
+
if (e.type === "number") {
|
|
15
|
+
const a = Number(e.value);
|
|
16
|
+
if (isNaN(a))
|
|
17
|
+
return "Value must be a number (e.g., 42.5)";
|
|
18
|
+
if (e.minimum !== void 0 && a < e.minimum)
|
|
19
|
+
return `Value must be ${e.minimum} or greater`;
|
|
20
|
+
if (e.maximum !== void 0 && a > e.maximum)
|
|
21
|
+
return `Value must be ${e.maximum} or less`;
|
|
22
|
+
}
|
|
23
|
+
if (e.type === "string" && e.format) {
|
|
24
|
+
if (e.format === "date" && !/^\d{4}-\d{2}-\d{2}$/.test(e.value))
|
|
25
|
+
return "Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)";
|
|
26
|
+
if (e.format === "date-time" && !/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(e.value))
|
|
27
|
+
return "Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)";
|
|
28
|
+
if (e.format === "email" && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.value))
|
|
29
|
+
return "Please enter a valid email address (e.g., user@example.com)";
|
|
30
|
+
if (e.format === "uri" && !/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(e.value))
|
|
31
|
+
return "Please enter a valid URI (e.g., https://example.com)";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return !1;
|
|
35
|
+
});
|
|
2
36
|
export {
|
|
3
|
-
|
|
37
|
+
m as hasItemProperties,
|
|
38
|
+
n as parameterIsInvalid
|
|
4
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch-mode.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/watch-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAelE,OAAO,
|
|
1
|
+
{"version":3,"file":"watch-mode.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/watch-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAelE,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,SAAS,EAAkB,MAAM,6BAA6B,CAAA;AAEvF,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAExD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,EAAE,eAAc,MAAM,EAAE,KAAQ,UAAU,EA+E5F,CAAA;AAED,kEAAkE;AAClE,eAAO,MAAM,YAAY,GAAI,CAAC,OACvB,MAAM,EAAE,aACF,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,aACjB,CAAC,QAAQ,EAAE,CAAC,KAAK,OAAO,KAClC,CAAC,GAAG,IAMN,CAAA;AAUD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAAY,SAAS,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAG,SAAS,GAAG,IA8C5F,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,UACjB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,QAC/B,UAAU,KACf;IACD,0DAA0D;IAC1D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,mGAAmG;IACnG,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACrB,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;CACzC,GAAG,IAwBH,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,SACzB,UAAU,wBACM,mBAAmB,0BACjB,cAAc,KACrC,OA6BF,CAAA;AAqBD;;GAEG;AACH,eAAO,MAAM,iBAAiB,SACtB,UAAU,wBACM,mBAAmB,SAClC,cAAc,KACpB,OAsIF,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,gBAAgB,SACrB,UAAU,wBACM,mBAAmB,+BACZ,cAAc,KAC1C,OAkCF,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,aAAa,SAClB,UAAU,wBACM,mBAAmB,yBAClB,cAAc,KACpC,OAmCF,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,iBAAiB,WAAY,SAAS,OAAO,MAAM,SAAS,MAAM,KAAG,SAAS,GAAG,IAgB7F,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,SAC7B,UAAU,wBACM,mBAAmB,+CACI,cAAc,KAC1D,OAkCF,CAAA"}
|
|
@@ -20,9 +20,7 @@ const G = (e, s = []) => {
|
|
|
20
20
|
continue;
|
|
21
21
|
}
|
|
22
22
|
if (r.type === "REMOVE" && (n == null ? void 0 : n.type) === "CREATE") {
|
|
23
|
-
const [, l, p] = r.path, [, o, h] = n.path, c = ["paths", o].filter(
|
|
24
|
-
(f) => typeof f == "string"
|
|
25
|
-
);
|
|
23
|
+
const [, l, p] = r.path, [, o, h] = n.path, c = ["paths", o].filter((f) => typeof f == "string");
|
|
26
24
|
if (l !== o && t.push({
|
|
27
25
|
type: "CHANGE",
|
|
28
26
|
path: ["paths", "path"],
|
|
@@ -99,32 +97,19 @@ const G = (e, s = []) => {
|
|
|
99
97
|
path: e.path
|
|
100
98
|
});
|
|
101
99
|
if (!a) return !1;
|
|
102
|
-
const u = [
|
|
103
|
-
|
|
104
|
-
];
|
|
105
|
-
e.type === "CREATE" ? u.push(a.value) : e.type === "REMOVE" && u.pop(), t.edit(
|
|
106
|
-
s.value.uid,
|
|
107
|
-
a.pathMinusOne,
|
|
108
|
-
u
|
|
109
|
-
);
|
|
100
|
+
const u = [...N(s.value, a.pathMinusOne)];
|
|
101
|
+
e.type === "CREATE" ? u.push(a.value) : e.type === "REMOVE" && u.pop(), t.edit(s.value.uid, a.pathMinusOne, u);
|
|
110
102
|
} else {
|
|
111
103
|
const a = E(M, e);
|
|
112
104
|
if (!a) return !1;
|
|
113
|
-
t.edit(
|
|
114
|
-
s.value.uid,
|
|
115
|
-
a.path,
|
|
116
|
-
a.value
|
|
117
|
-
);
|
|
105
|
+
t.edit(s.value.uid, a.path, a.value);
|
|
118
106
|
}
|
|
119
107
|
return !0;
|
|
120
108
|
}, D = (e, s) => {
|
|
121
109
|
const { requests: t, requestExamples: a, requestExampleMutators: u } = s, r = t[e];
|
|
122
110
|
r == null || r.examples.forEach((n) => {
|
|
123
111
|
var p;
|
|
124
|
-
const l = H(
|
|
125
|
-
r,
|
|
126
|
-
((p = a[n]) == null ? void 0 : p.name) ?? "Default"
|
|
127
|
-
);
|
|
112
|
+
const l = H(r, ((p = a[n]) == null ? void 0 : p.name) ?? "Default");
|
|
128
113
|
l && u.set({
|
|
129
114
|
...l,
|
|
130
115
|
uid: n
|
|
@@ -169,7 +154,8 @@ const G = (e, s = []) => {
|
|
|
169
154
|
return O ? {
|
|
170
155
|
[O]: m[O]
|
|
171
156
|
} : m;
|
|
172
|
-
}
|
|
157
|
+
}
|
|
158
|
+
return m;
|
|
173
159
|
}));
|
|
174
160
|
const b = R(A, V, !1);
|
|
175
161
|
if (!b) return !1;
|
|
@@ -204,10 +190,7 @@ const G = (e, s = []) => {
|
|
|
204
190
|
a.edit(n, p.path, h);
|
|
205
191
|
} else if (e.type === "REMOVE") {
|
|
206
192
|
if (!s.value.servers[u]) return !1;
|
|
207
|
-
a.delete(
|
|
208
|
-
s.value.servers[u],
|
|
209
|
-
s.value.uid
|
|
210
|
-
);
|
|
193
|
+
a.delete(s.value.servers[u], s.value.uid);
|
|
211
194
|
} else if (e.type === "CREATE") {
|
|
212
195
|
const n = R(e.value, q, !1);
|
|
213
196
|
if (!n) return !1;
|
|
@@ -251,11 +234,7 @@ const G = (e, s = []) => {
|
|
|
251
234
|
(l) => l.nameKey === u
|
|
252
235
|
);
|
|
253
236
|
if (r != null && r.length) {
|
|
254
|
-
const l = w(
|
|
255
|
-
Z,
|
|
256
|
-
"type",
|
|
257
|
-
(n == null ? void 0 : n.type) ?? ""
|
|
258
|
-
);
|
|
237
|
+
const l = w(Z, "type", (n == null ? void 0 : n.type) ?? "");
|
|
259
238
|
if (!l || !n) return !1;
|
|
260
239
|
const p = E(l, { ...e, path: r });
|
|
261
240
|
if (!p) return !1;
|
|
@@ -264,10 +243,7 @@ const G = (e, s = []) => {
|
|
|
264
243
|
} else if (e.type === "REMOVE") {
|
|
265
244
|
if (!n) return !1;
|
|
266
245
|
a.delete(n.uid);
|
|
267
|
-
} else e.type === "CREATE" && a.add(
|
|
268
|
-
Z.parse(e.value),
|
|
269
|
-
s.value.uid
|
|
270
|
-
);
|
|
246
|
+
} else e.type === "CREATE" && a.add(Z.parse(e.value), s.value.uid);
|
|
271
247
|
return !0;
|
|
272
248
|
};
|
|
273
249
|
export {
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
collectionId: string | string[];
|
|
3
|
-
serverUid: string | string[];
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
collectionId: string | string[];
|
|
7
|
-
serverUid: string | string[];
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
9
2
|
export default _default;
|
|
10
3
|
//# sourceMappingURL=ServerForm.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/ServerForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/ServerForm.vue"],"names":[],"mappings":";AAmKA,wBAMG"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useActiveEntities as
|
|
4
|
-
import { useWorkspace as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as p, openBlock as s, createElementBlock as m, createBlock as f, createCommentVNode as _ } from "vue";
|
|
2
|
+
import k from "../../components/Form/Form.vue.js";
|
|
3
|
+
import { useActiveEntities as h } from "../../store/active-entities.js";
|
|
4
|
+
import { useWorkspace as y } from "../../store/store.js";
|
|
5
|
+
const x = { class: "divide-0.5 flex w-full divide-x" }, L = /* @__PURE__ */ d({
|
|
6
6
|
__name: "ServerForm",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
serverUid: { default: "" }
|
|
10
|
-
},
|
|
11
|
-
setup(i) {
|
|
12
|
-
const t = i, { activeWorkspaceCollections: s } = k(), { servers: c, serverMutators: l } = U(), d = [
|
|
7
|
+
setup(S) {
|
|
8
|
+
const { activeRouterParams: t, activeWorkspaceCollections: a } = h(), { collections: c, servers: l, serverMutators: i } = y(), n = [
|
|
13
9
|
{ label: "URL", key: "url", placeholder: "https://void.scalar.com/api" },
|
|
14
10
|
{
|
|
15
11
|
label: "Label",
|
|
@@ -17,24 +13,27 @@ const h = { class: "divide-0.5 divide-x flex w-full" }, B = /* @__PURE__ */ u({
|
|
|
17
13
|
placeholder: "Production"
|
|
18
14
|
}
|
|
19
15
|
], o = p(() => {
|
|
20
|
-
const e =
|
|
21
|
-
|
|
16
|
+
const e = c[t.value.collection];
|
|
17
|
+
if (!e) return;
|
|
18
|
+
const r = typeof t.value.servers == "string" && t.value.servers === "default" ? e.servers[0] : e.servers.find(
|
|
19
|
+
(v) => v === t.value.servers
|
|
22
20
|
);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
if (r)
|
|
22
|
+
return l[r];
|
|
23
|
+
}), u = (e, r) => {
|
|
24
|
+
!a.value || !o.value || i.edit(o.value.uid, e, r);
|
|
26
25
|
};
|
|
27
|
-
return (e, r) => (
|
|
28
|
-
o.value ? (
|
|
26
|
+
return (e, r) => (s(), m("div", x, [
|
|
27
|
+
o.value ? (s(), f(k, {
|
|
29
28
|
key: 0,
|
|
30
29
|
data: o.value,
|
|
31
|
-
onUpdate:
|
|
32
|
-
options:
|
|
30
|
+
onUpdate: u,
|
|
31
|
+
options: n,
|
|
33
32
|
title: "Server"
|
|
34
|
-
}, null, 8, ["data"])) :
|
|
33
|
+
}, null, 8, ["data"])) : _("", !0)
|
|
35
34
|
]));
|
|
36
35
|
}
|
|
37
36
|
});
|
|
38
37
|
export {
|
|
39
|
-
|
|
38
|
+
L as default
|
|
40
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/Servers.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/Servers.vue"],"names":[],"mappings":";AAilBA,wBAMG"}
|
|
@@ -1,97 +1,93 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as P, computed as x, openBlock as i, createBlock as m, withCtx as l, createVNode as a, unref as o, createElementVNode as n, createElementBlock as d, Fragment as k, renderList as _, normalizeClass as g, toDisplayString as W, withModifiers as F, withDirectives as O, createCommentVNode as R, vShow as M, createTextVNode as q } from "vue";
|
|
2
|
+
import { ScalarIcon as p, ScalarButton as y } from "@scalar/components";
|
|
3
|
+
import { LibraryIcon as K } from "@scalar/icons";
|
|
4
|
+
import { useRouter as T } from "vue-router";
|
|
2
5
|
import G from "../../components/EmptyState.vue.js";
|
|
3
6
|
import H from "../../components/Sidebar/SidebarButton.vue.js";
|
|
4
7
|
import J from "../../components/Sidebar/SidebarList.vue.js";
|
|
5
8
|
import Q from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
6
9
|
import X from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
7
10
|
import Y from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
8
|
-
import { PathId as
|
|
11
|
+
import { PathId as f } from "../../routes.js";
|
|
9
12
|
import { useActiveEntities as Z } from "../../store/active-entities.js";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
import ae from "../../components/Sidebar/Sidebar.vue.js";
|
|
16
|
-
import { useSidebar as ie } from "../../hooks/useSidebar.js";
|
|
17
|
-
const le = { class: "flex-1" }, ne = ["onClick"], ce = { class: "flex h-5 items-center justify-center max-w-[14px] pr-px" }, ue = { class: "break-all line-clamp-1 font-medium text-left w-full" }, Ie = /* @__PURE__ */ O({
|
|
13
|
+
import U from "./ServerForm.vue.js";
|
|
14
|
+
import { useWorkspace as ee } from "../../store/store.js";
|
|
15
|
+
import te from "../../components/Sidebar/Sidebar.vue.js";
|
|
16
|
+
import { useSidebar as re } from "../../hooks/useSidebar.js";
|
|
17
|
+
const oe = { class: "flex-1" }, se = ["onClick"], ae = { class: "flex h-5 max-w-[14px] items-center justify-center pr-px" }, ie = { class: "line-clamp-1 w-full break-all text-left font-medium" }, Ce = /* @__PURE__ */ P({
|
|
18
18
|
__name: "Servers",
|
|
19
|
-
setup(
|
|
20
|
-
const { activeWorkspaceCollections:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
function f(r) {
|
|
24
|
-
I.commandPalette.emit({
|
|
19
|
+
setup(le) {
|
|
20
|
+
const { activeWorkspaceCollections: S, activeWorkspace: C, activeRouterParams: w } = Z(), { servers: v, events: z, serverMutators: D } = ee(), { push: A, resolve: L } = T(), { collapsedSidebarFolders: b, toggleSidebarFolder: N } = re(), V = (t) => b[t];
|
|
21
|
+
function u(t) {
|
|
22
|
+
z.commandPalette.emit({
|
|
25
23
|
commandName: "Add Server",
|
|
26
|
-
metaData: { parentUid:
|
|
24
|
+
metaData: { parentUid: t }
|
|
27
25
|
});
|
|
28
26
|
}
|
|
29
|
-
const
|
|
30
|
-
(
|
|
31
|
-
var
|
|
32
|
-
return ((
|
|
27
|
+
const j = x(() => S.value.filter(
|
|
28
|
+
(t) => {
|
|
29
|
+
var s;
|
|
30
|
+
return ((s = t.info) == null ? void 0 : s.title) !== "Drafts";
|
|
33
31
|
}
|
|
34
|
-
)),
|
|
35
|
-
var
|
|
32
|
+
)), E = (t, s, e) => {
|
|
33
|
+
var r;
|
|
36
34
|
const c = {
|
|
37
35
|
name: "servers",
|
|
38
36
|
params: {
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
37
|
+
[f.Workspace]: (r = C.value) == null ? void 0 : r.uid,
|
|
38
|
+
[f.Collection]: e,
|
|
39
|
+
[f.Servers]: s
|
|
42
40
|
}
|
|
43
41
|
};
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const W = m(() => Object.keys(h).length > 0);
|
|
51
|
-
return (r, t) => (i(), u(X, null, {
|
|
42
|
+
t.metaKey ? window.open(L(c).href, "_blank") : A(c);
|
|
43
|
+
}, I = (t) => D.delete(
|
|
44
|
+
t,
|
|
45
|
+
w.value.collection
|
|
46
|
+
), $ = x(() => Object.keys(v).length > 0);
|
|
47
|
+
return (t, s) => (i(), m(X, null, {
|
|
52
48
|
default: l(() => [
|
|
53
|
-
a(
|
|
49
|
+
a(o(te), { title: "Servers" }, {
|
|
54
50
|
content: l(() => [
|
|
55
|
-
n("div",
|
|
51
|
+
n("div", oe, [
|
|
56
52
|
a(J, null, {
|
|
57
53
|
default: l(() => [
|
|
58
|
-
(i(!0),
|
|
54
|
+
(i(!0), d(k, null, _(j.value, (e) => {
|
|
59
55
|
var c;
|
|
60
|
-
return i(),
|
|
56
|
+
return i(), d("li", {
|
|
61
57
|
key: e.uid,
|
|
62
|
-
class: "flex flex-col
|
|
58
|
+
class: "gap-1/2 flex flex-col"
|
|
63
59
|
}, [
|
|
64
60
|
n("button", {
|
|
65
|
-
class: "flex
|
|
61
|
+
class: "hover:bg-b-2 group flex w-full items-center gap-1.5 break-words rounded p-1.5 text-left text-sm font-medium",
|
|
66
62
|
type: "button",
|
|
67
|
-
onClick: (
|
|
63
|
+
onClick: (r) => o(N)(e.uid)
|
|
68
64
|
}, [
|
|
69
|
-
n("span",
|
|
70
|
-
a(
|
|
71
|
-
class: "
|
|
65
|
+
n("span", ae, [
|
|
66
|
+
a(o(K), {
|
|
67
|
+
class: "text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2 group-hover:hidden",
|
|
72
68
|
src: e["x-scalar-icon"] || "interface-content-folder"
|
|
73
69
|
}, null, 8, ["src"]),
|
|
74
70
|
n("div", {
|
|
75
|
-
class:
|
|
76
|
-
"rotate-90":
|
|
71
|
+
class: g({
|
|
72
|
+
"rotate-90": o(b)[e.uid]
|
|
77
73
|
})
|
|
78
74
|
}, [
|
|
79
|
-
a(
|
|
80
|
-
class: "text-c-3 hidden text-sm group-hover:block
|
|
75
|
+
a(o(p), {
|
|
76
|
+
class: "text-c-3 hover:text-c-1 hidden text-sm group-hover:block",
|
|
81
77
|
icon: "ChevronRight",
|
|
82
78
|
size: "md"
|
|
83
79
|
})
|
|
84
80
|
], 2)
|
|
85
81
|
]),
|
|
86
|
-
n("span",
|
|
87
|
-
a(
|
|
88
|
-
class: "
|
|
82
|
+
n("span", ie, W(((c = e.info) == null ? void 0 : c.title) ?? ""), 1),
|
|
83
|
+
a(o(y), {
|
|
84
|
+
class: "hover:bg-b-3 hover:text-c-1 hidden aspect-square h-fit px-0.5 py-0 group-hover:block group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
89
85
|
size: "sm",
|
|
90
86
|
variant: "ghost",
|
|
91
|
-
onClick:
|
|
87
|
+
onClick: F((r) => u(e.uid), ["stop", "prevent"])
|
|
92
88
|
}, {
|
|
93
89
|
default: l(() => [
|
|
94
|
-
a(
|
|
90
|
+
a(o(p), {
|
|
95
91
|
icon: "Add",
|
|
96
92
|
size: "md",
|
|
97
93
|
thickness: "2"
|
|
@@ -99,45 +95,45 @@ const le = { class: "flex-1" }, ne = ["onClick"], ce = { class: "flex h-5 items-
|
|
|
99
95
|
]),
|
|
100
96
|
_: 2
|
|
101
97
|
}, 1032, ["onClick"])
|
|
102
|
-
], 8,
|
|
103
|
-
|
|
104
|
-
class:
|
|
105
|
-
"before:bg-border before:
|
|
98
|
+
], 8, se),
|
|
99
|
+
O(n("div", {
|
|
100
|
+
class: g({
|
|
101
|
+
"before:bg-border before:z-1 gap-1/2 relative mb-[.5px] flex flex-col before:pointer-events-none before:absolute before:left-3 before:top-0 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full": Object.keys(e.servers || {}).length > 0
|
|
106
102
|
})
|
|
107
103
|
}, [
|
|
108
|
-
(i(!0),
|
|
109
|
-
var
|
|
110
|
-
return i(),
|
|
111
|
-
key:
|
|
104
|
+
(i(!0), d(k, null, _(e.servers, (r) => {
|
|
105
|
+
var h;
|
|
106
|
+
return i(), m(Q, {
|
|
107
|
+
key: r,
|
|
112
108
|
class: "[&>a]:pl-[1.625rem]",
|
|
113
109
|
collectionId: e.uid,
|
|
114
110
|
isDeletable: !0,
|
|
115
111
|
type: "servers",
|
|
116
112
|
variable: {
|
|
117
|
-
name: ((
|
|
118
|
-
uid:
|
|
113
|
+
name: ((h = o(v)[r]) == null ? void 0 : h.url) ?? "",
|
|
114
|
+
uid: r
|
|
119
115
|
},
|
|
120
|
-
onClick: (
|
|
121
|
-
onDelete:
|
|
116
|
+
onClick: (B) => E(B, r, e.uid),
|
|
117
|
+
onDelete: I
|
|
122
118
|
}, null, 8, ["collectionId", "variable", "onClick"]);
|
|
123
119
|
}), 128)),
|
|
124
|
-
Object.keys(e.servers || {}).length === 0 ? (i(),
|
|
120
|
+
Object.keys(e.servers || {}).length === 0 ? (i(), m(o(y), {
|
|
125
121
|
key: 0,
|
|
126
|
-
class: "mb-[.5px] flex
|
|
122
|
+
class: "text-c-1 hover:bg-b-2 mb-[.5px] flex h-8 w-full justify-start gap-1.5 py-0 pl-6 text-xs",
|
|
127
123
|
variant: "ghost",
|
|
128
|
-
onClick: (
|
|
124
|
+
onClick: (r) => u(e.uid)
|
|
129
125
|
}, {
|
|
130
126
|
default: l(() => [
|
|
131
|
-
a(
|
|
127
|
+
a(o(p), {
|
|
132
128
|
icon: "Add",
|
|
133
129
|
size: "sm"
|
|
134
130
|
}),
|
|
135
|
-
|
|
131
|
+
s[0] || (s[0] = n("span", null, "Add Server", -1))
|
|
136
132
|
]),
|
|
137
133
|
_: 2
|
|
138
|
-
}, 1032, ["onClick"])) :
|
|
134
|
+
}, 1032, ["onClick"])) : R("", !0)
|
|
139
135
|
], 2), [
|
|
140
|
-
[
|
|
136
|
+
[M, V(e.uid)]
|
|
141
137
|
])
|
|
142
138
|
]);
|
|
143
139
|
}), 128))
|
|
@@ -147,9 +143,9 @@ const le = { class: "flex-1" }, ne = ["onClick"], ce = { class: "flex h-5 items-
|
|
|
147
143
|
])
|
|
148
144
|
]),
|
|
149
145
|
button: l(() => [
|
|
150
|
-
a(H, { click:
|
|
151
|
-
title: l(() =>
|
|
152
|
-
|
|
146
|
+
a(H, { click: u }, {
|
|
147
|
+
title: l(() => s[1] || (s[1] = [
|
|
148
|
+
q(" Add Server ")
|
|
153
149
|
])),
|
|
154
150
|
_: 1
|
|
155
151
|
})
|
|
@@ -158,11 +154,7 @@ const le = { class: "flex-1" }, ne = ["onClick"], ce = { class: "flex h-5 items-
|
|
|
158
154
|
}),
|
|
159
155
|
a(Y, { class: "flex-1" }, {
|
|
160
156
|
default: l(() => [
|
|
161
|
-
|
|
162
|
-
key: 0,
|
|
163
|
-
collectionId: _.value,
|
|
164
|
-
serverUid: j.value
|
|
165
|
-
}, null, 8, ["collectionId", "serverUid"])) : (i(), u(G, { key: 1 }))
|
|
157
|
+
$.value ? (i(), m(U, { key: 0 })) : (i(), m(G, { key: 1 }))
|
|
166
158
|
]),
|
|
167
159
|
_: 1
|
|
168
160
|
})
|
|
@@ -172,5 +164,5 @@ const le = { class: "flex-1" }, ne = ["onClick"], ce = { class: "flex h-5 items-
|
|
|
172
164
|
}
|
|
173
165
|
});
|
|
174
166
|
export {
|
|
175
|
-
|
|
167
|
+
Ce as default
|
|
176
168
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":";AA62BA,wBAMG"}
|