@scalar/api-client 2.0.22 → 2.0.25
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 +48 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +80 -84
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +11 -10
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +3 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +42 -37
- package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
- package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeVariableWidget.js +124 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.js +4 -0
- package/dist/components/ContextBar.vue.js +4 -4
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +7 -6
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +3 -2
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +36 -49
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -14
- package/dist/components/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/components/Search/SearchButton.vue.js +7 -6
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +26 -23
- package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +18 -16
- package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +14 -12
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +31 -29
- package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +18 -18
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
- package/dist/constants.d.ts +13 -7
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -16
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
- package/dist/layouts/App/ApiClientApp.vue.js +72 -0
- package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
- package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
- package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
- package/dist/layouts/App/index.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/api-client-modal.js +7 -7
- package/dist/layouts/Modal/index.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.d.ts +14 -0
- package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.js +5 -0
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +19 -19
- package/dist/router.d.ts +18 -6
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +107 -71
- package/dist/store/topNav.d.ts +94 -82
- package/dist/store/topNav.d.ts.map +1 -1
- package/dist/store/topNav.js +21 -20
- package/dist/store/workspace.d.ts +312 -82
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +299 -224
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +9 -12
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +22 -25
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +125 -108
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +5 -4
- package/dist/views/Request/RequestSection/RequestSection.vue.js +3 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +22 -21
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
- 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 +84 -79
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +58 -38
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -2
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/components/OAuth2.vue.js +2 -0
- package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
- package/dist/views/Request/components/index.d.ts +1 -0
- package/dist/views/Request/components/index.d.ts.map +1 -1
- package/dist/views/Request/components/index.js +4 -2
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +12 -15
- package/package.json +19 -15
- package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
- package/dist/App/ApiClientApp.vue.js +0 -56
- package/dist/App/createApiClientApp.d.ts.map +0 -1
- package/dist/App/index.d.ts.map +0 -1
- package/dist/App.vue.d.ts.map +0 -1
- package/dist/App.vue.js +0 -77
- package/dist/App.vue3.js +0 -5
- package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
- package/dist/Modal/api-client-modal.d.ts.map +0 -1
- package/dist/Modal/index.d.ts.map +0 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +0 -106
- package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -184
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- package/dist/views/Collection/Collection.vue.js +0 -4
- package/dist/views/Collection/Collection.vue2.js +0 -136
- package/dist/views/Components/Schemas/Schemas.vue.js +0 -4
- package/dist/views/Components/Schemas/Schemas.vue2.js +0 -20
- /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
- /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
- /package/dist/{App → layouts/App}/index.d.ts +0 -0
- /package/dist/{App → layouts/App}/index.js +0 -0
- /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
- /package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +0 -0
- /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
- /package/dist/{Modal → layouts/Modal}/index.js +0 -0
|
@@ -33,8 +33,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
33
33
|
onInputFocus?: (() => any) | undefined;
|
|
34
34
|
onInputBlur?: (() => any) | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
readOnly: boolean;
|
|
37
36
|
required: boolean;
|
|
37
|
+
readOnly: boolean;
|
|
38
38
|
}, {}>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
40
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAFP,OAAO;cAEP,OAAO;MA2IpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WAwcS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;AAmxBlB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -215,9 +215,9 @@ const ae = {
|
|
|
215
215
|
return [
|
|
216
216
|
y("span", null, k((o = g.value) == null ? void 0 : o.label), 1),
|
|
217
217
|
d(i(q), {
|
|
218
|
-
class: "stroke-[1]",
|
|
219
218
|
icon: "ChevronDown",
|
|
220
|
-
size: "xs"
|
|
219
|
+
size: "xs",
|
|
220
|
+
thickness: "2.5"
|
|
221
221
|
})
|
|
222
222
|
];
|
|
223
223
|
}),
|
|
@@ -260,9 +260,10 @@ const ae = {
|
|
|
260
260
|
default: u(() => [
|
|
261
261
|
de,
|
|
262
262
|
d(i(q), {
|
|
263
|
-
class: "ml-1
|
|
263
|
+
class: "ml-1",
|
|
264
264
|
icon: "UploadSimple",
|
|
265
|
-
size: "xs"
|
|
265
|
+
size: "xs",
|
|
266
|
+
thickness: "2.5"
|
|
266
267
|
})
|
|
267
268
|
]),
|
|
268
269
|
_: 1
|
|
@@ -31,9 +31,10 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
|
|
|
31
31
|
var s;
|
|
32
32
|
return [
|
|
33
33
|
l(n(O), {
|
|
34
|
-
class: "text-c-3 mr-2
|
|
34
|
+
class: "text-c-3 mr-2",
|
|
35
35
|
icon: "ExternalLink",
|
|
36
|
-
size: "sm"
|
|
36
|
+
size: "sm",
|
|
37
|
+
thickness: "2.5"
|
|
37
38
|
}),
|
|
38
39
|
r("div", P, [
|
|
39
40
|
q(" Request "),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;YAQ5E,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;YAHlB,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;qBADR,OAAO;sBACN,OAAO;;AA8b9B,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./RequestTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92212893"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as F, openBlock as u, createBlock as
|
|
1
|
+
import { defineComponent as F, openBlock as u, createBlock as r, unref as m, withCtx as d, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
|
|
2
2
|
import k from "../../../components/CodeInput/CodeInput.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import N from "../../../components/DataTable/DataTable.vue.js";
|
|
4
4
|
import f from "../../../components/DataTable/DataTableCell.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
|
|
6
6
|
import D from "../../../components/DataTable/DataTableRow.vue.js";
|
|
7
7
|
import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
|
|
8
8
|
import A from "./RequestTableTooltip.vue.js";
|
|
9
|
-
const M = (s) => (E("data-v-
|
|
9
|
+
const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
|
|
10
10
|
__name: "RequestTable",
|
|
11
11
|
props: {
|
|
12
12
|
items: {},
|
|
@@ -29,20 +29,20 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
29
29
|
}
|
|
30
30
|
return !1;
|
|
31
31
|
}), R = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default;
|
|
32
|
-
return (e, n) => (u(),
|
|
32
|
+
return (e, n) => (u(), r(N, {
|
|
33
33
|
class: "flex-1",
|
|
34
34
|
columns: m(B)
|
|
35
35
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
(u(!0), y(w, null, I(e.items, (l, a) => (u(),
|
|
38
|
-
default:
|
|
39
|
-
e.isEnabledHidden ? c("", !0) : (u(),
|
|
36
|
+
default: d(() => [
|
|
37
|
+
(u(!0), y(w, null, I(e.items, (l, a) => (u(), r(D, { key: a }, {
|
|
38
|
+
default: d(() => [
|
|
39
|
+
e.isEnabledHidden ? c("", !0) : (u(), r(q, {
|
|
40
40
|
key: 0,
|
|
41
|
-
modelValue:
|
|
41
|
+
modelValue: l.enabled,
|
|
42
42
|
"onUpdate:modelValue": (o) => t("toggleRow", a, o)
|
|
43
43
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])),
|
|
44
44
|
i(f, null, {
|
|
45
|
-
default:
|
|
45
|
+
default: d(() => [
|
|
46
46
|
i(k, {
|
|
47
47
|
disableCloseBrackets: "",
|
|
48
48
|
disableEnter: "",
|
|
@@ -60,7 +60,7 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
60
60
|
_: 2
|
|
61
61
|
}, 1024),
|
|
62
62
|
i(f, null, {
|
|
63
|
-
default:
|
|
63
|
+
default: d(() => [
|
|
64
64
|
i(k, {
|
|
65
65
|
disableCloseBrackets: "",
|
|
66
66
|
disableEnter: "",
|
|
@@ -78,8 +78,8 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
78
78
|
onSelectVariable: (o) => b(a, "value", o),
|
|
79
79
|
"onUpdate:modelValue": (o) => t("updateRow", a, "value", o)
|
|
80
80
|
}, C({
|
|
81
|
-
icon:
|
|
82
|
-
$(l) ? (u(),
|
|
81
|
+
icon: d(() => [
|
|
82
|
+
$(l) ? (u(), r(A, {
|
|
83
83
|
key: 0,
|
|
84
84
|
item: { ...l, default: R(l) }
|
|
85
85
|
}, null, 8, ["item"])) : c("", !0)
|
|
@@ -88,7 +88,7 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
88
88
|
}, [
|
|
89
89
|
v(l).value ? {
|
|
90
90
|
name: "warning",
|
|
91
|
-
fn:
|
|
91
|
+
fn: d(() => [
|
|
92
92
|
U(V(v(l).value), 1)
|
|
93
93
|
]),
|
|
94
94
|
key: "0"
|
|
@@ -97,11 +97,11 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
97
97
|
]),
|
|
98
98
|
_: 2
|
|
99
99
|
}, 1024),
|
|
100
|
-
e.showUploadButton ? (u(),
|
|
100
|
+
e.showUploadButton ? (u(), r(f, {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
104
|
+
default: d(() => {
|
|
105
105
|
var o;
|
|
106
106
|
return [
|
|
107
107
|
l.file ? (u(), y(w, { key: 0 }, [
|
|
@@ -113,19 +113,20 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
113
113
|
type: "button",
|
|
114
114
|
onClick: (S) => t("removeFile", a)
|
|
115
115
|
}, " Delete ", 8, j)
|
|
116
|
-
], 64)) : (u(),
|
|
116
|
+
], 64)) : (u(), r(m(H), {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
|
|
119
119
|
size: "sm",
|
|
120
120
|
variant: "outlined",
|
|
121
121
|
onClick: (S) => _(a)
|
|
122
122
|
}, {
|
|
123
|
-
default:
|
|
123
|
+
default: d(() => [
|
|
124
124
|
K,
|
|
125
125
|
i(m(z), {
|
|
126
|
-
class: "ml-1
|
|
126
|
+
class: "ml-1",
|
|
127
127
|
icon: "UploadSimple",
|
|
128
|
-
size: "xs"
|
|
128
|
+
size: "xs",
|
|
129
|
+
thickness: "2.5"
|
|
129
130
|
})
|
|
130
131
|
]),
|
|
131
132
|
_: 2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -6,10 +6,10 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
6
6
|
}, g = {
|
|
7
7
|
key: 2,
|
|
8
8
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
9
|
-
},
|
|
9
|
+
}, k = {
|
|
10
10
|
key: 3,
|
|
11
11
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
12
|
-
},
|
|
12
|
+
}, x = {
|
|
13
13
|
key: 4,
|
|
14
14
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
15
15
|
}, _ = {
|
|
@@ -33,7 +33,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
33
33
|
l(i(f), {
|
|
34
34
|
class: "ml-1 text-c-3 group-hover/info:text-c-1",
|
|
35
35
|
icon: "Info",
|
|
36
|
-
size: "sm"
|
|
36
|
+
size: "sm",
|
|
37
|
+
thickness: "1.5"
|
|
37
38
|
})
|
|
38
39
|
]),
|
|
39
40
|
content: r(() => [
|
|
@@ -42,8 +43,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
42
43
|
e.item.type ? (t(), o("span", h, s(e.item.type), 1)) : n("", !0),
|
|
43
44
|
e.item.format ? (t(), o("span", b, s(e.item.format), 1)) : n("", !0),
|
|
44
45
|
e.item.minimum ? (t(), o("span", g, "min: " + s(e.item.minimum), 1)) : n("", !0),
|
|
45
|
-
e.item.maximum ? (t(), o("span",
|
|
46
|
-
e.item.default ? (t(), o("span",
|
|
46
|
+
e.item.maximum ? (t(), o("span", k, "max: " + s(e.item.maximum), 1)) : n("", !0),
|
|
47
|
+
e.item.default ? (t(), o("span", x, "default: " + s(e.item.default), 1)) : n("", !0)
|
|
47
48
|
]),
|
|
48
49
|
e.item.description ? (t(), o("span", _, s(e.item.description), 1)) : n("", !0)
|
|
49
50
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA0PA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AACzE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;AAwHlD,iBAAS,cAAc;gBArFT,IAAI;;gBAAJ,IAAI;EA8WjB;AACD,QAAA,MAAM,eAAe;IAzYjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;;;;;;;IAdpD;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;;;;;;;iBATtC,OAAO;iBAMP,OAAO;MAqYvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18928cac"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import Q from "
|
|
8
|
-
import
|
|
9
|
-
|
|
1
|
+
import { defineComponent as N, useCssVars as j, computed as o, resolveComponent as F, openBlock as a, createElementBlock as d, normalizeClass as u, unref as i, createVNode as m, withCtx as D, createBlock as p, createElementVNode as n, toDisplayString as y, createCommentVNode as f, createTextVNode as k, renderSlot as L, withDirectives as P, Fragment as T, renderList as W, vShow as A } from "vue";
|
|
2
|
+
import { activeRouterParams as _, PathId as G } from "../../router.js";
|
|
3
|
+
import { useWorkspace as H } from "../../store/workspace.js";
|
|
4
|
+
import { ScalarIcon as J } from "@scalar/components";
|
|
5
|
+
import { Draggable as K } from "@scalar/draggable";
|
|
6
|
+
import { RouterLink as M } from "vue-router";
|
|
7
|
+
import Q from "./RequestSidebarItemMenu.vue.js";
|
|
8
|
+
import X from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
9
|
+
import { useSidebar as Y } from "../../hooks/useSidebar.js";
|
|
10
|
+
const Z = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }, ee = { class: "relative" }, te = { class: "flex" }, ie = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, se = { class: "z-10 font-medium" }, re = { key: 2 }, q = "hover:bg-sidebar-active-b indent-padding-left", be = /* @__PURE__ */ N({
|
|
10
11
|
__name: "RequestSidebarItem",
|
|
11
12
|
props: {
|
|
12
13
|
isDraggable: { type: Boolean, default: !1 },
|
|
@@ -15,30 +16,37 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
|
|
|
15
16
|
item: {}
|
|
16
17
|
},
|
|
17
18
|
emits: ["onDragEnd"],
|
|
18
|
-
setup(
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
19
|
+
setup($) {
|
|
20
|
+
j((e) => ({
|
|
21
|
+
"28f0b1bd": S.value,
|
|
22
|
+
"9782e23e": R.value
|
|
22
23
|
}));
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
const t = $, {
|
|
25
|
+
activeRequest: b,
|
|
26
|
+
activeWorkspace: c,
|
|
27
|
+
folders: w,
|
|
28
|
+
isReadOnly: l,
|
|
29
|
+
requests: g,
|
|
30
|
+
requestExamples: x
|
|
31
|
+
} = H(), { collapsedSidebarFolders: h, toggleSidebarFolder: C } = Y(), v = o(() => "childUids" in t.item), S = o(() => t.parentUids.length ? l.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "12px"), R = o(() => t.parentUids.length ? l.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "0px"), U = (e) => {
|
|
32
|
+
var s;
|
|
33
|
+
return "spec" in e ? (s = e.spec.info) == null ? void 0 : s.title : "summary" in e ? e.summary || e.path : "name" in e ? e.name : "";
|
|
34
|
+
}, E = o(() => ("requestUid" in t.item ? g[t.item.requestUid] : t.item).method), I = o(
|
|
29
35
|
() => {
|
|
30
36
|
var e;
|
|
31
|
-
return h[
|
|
37
|
+
return h[t.item.uid] || ((e = b.value) == null ? void 0 : e.uid) === t.item.uid && t.item.childUids.length > 1;
|
|
32
38
|
}
|
|
39
|
+
), z = () => "requestUid" in t.item ? `/workspace/${c.value.uid}/request/${t.item.requestUid}/examples/${t.item.uid}` : `/workspace/${c.value.uid}/request/${t.item.uid}`, B = o(
|
|
40
|
+
() => _.value[G.Request] === "default" && b.value.uid === t.item.uid
|
|
33
41
|
);
|
|
34
|
-
return (e,
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
-
class:
|
|
38
|
-
|
|
42
|
+
return (e, s) => {
|
|
43
|
+
const O = F("RequestSidebarItem", !0);
|
|
44
|
+
return a(), d("div", {
|
|
45
|
+
class: u(["relative flex flex-row", [
|
|
46
|
+
i(l) && e.parentUids.length > 1 || !i(l) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0 indent-border-line-offset" : ""
|
|
39
47
|
]])
|
|
40
48
|
}, [
|
|
41
|
-
m(
|
|
49
|
+
m(i(K), {
|
|
42
50
|
id: e.item.uid,
|
|
43
51
|
ceiling: v.value ? 0.8 : 0.5,
|
|
44
52
|
class: "flex flex-1 flex-col gap-[.5px] text-sm",
|
|
@@ -46,79 +54,76 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
|
|
|
46
54
|
isDraggable: e.parentUids.length > 0 && e.isDraggable,
|
|
47
55
|
isDroppable: e.isDroppable,
|
|
48
56
|
parentIds: e.parentUids,
|
|
49
|
-
onOnDragEnd:
|
|
57
|
+
onOnDragEnd: s[2] || (s[2] = (...r) => e.$emit("onDragEnd", ...r))
|
|
50
58
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
"summary" in e.item || "requestUid" in e.item ? (
|
|
59
|
+
default: D(() => [
|
|
60
|
+
"summary" in e.item || "requestUid" in e.item ? (a(), p(i(M), {
|
|
53
61
|
key: 0,
|
|
54
|
-
|
|
55
|
-
to:
|
|
62
|
+
class: "no-underline",
|
|
63
|
+
to: z()
|
|
56
64
|
}, {
|
|
57
|
-
default:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
class: "font-bold",
|
|
78
|
-
method: I.value
|
|
79
|
-
}, null, 8, ["method"])
|
|
80
|
-
])
|
|
65
|
+
default: D(({ isExactActive: r }) => [
|
|
66
|
+
n("div", {
|
|
67
|
+
class: u(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover", [
|
|
68
|
+
q,
|
|
69
|
+
r || B.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
|
|
70
|
+
]]),
|
|
71
|
+
tabindex: "0"
|
|
72
|
+
}, [
|
|
73
|
+
n("span", Z, y(U(e.item)), 1),
|
|
74
|
+
n("div", ee, [
|
|
75
|
+
i(l) ? f("", !0) : (a(), p(Q, {
|
|
76
|
+
key: 0,
|
|
77
|
+
item: e.item
|
|
78
|
+
}, null, 8, ["item"])),
|
|
79
|
+
n("span", te, [
|
|
80
|
+
k(" "),
|
|
81
|
+
m(i(X), {
|
|
82
|
+
class: "font-bold",
|
|
83
|
+
method: E.value
|
|
84
|
+
}, null, 8, ["method"])
|
|
81
85
|
])
|
|
82
|
-
]
|
|
83
|
-
]
|
|
84
|
-
|
|
86
|
+
])
|
|
87
|
+
], 2)
|
|
88
|
+
]),
|
|
85
89
|
_: 1
|
|
86
|
-
}, 8, ["to"])) : !
|
|
90
|
+
}, 8, ["to"])) : !i(l) || e.parentUids.length ? (a(), d("button", {
|
|
87
91
|
key: 1,
|
|
88
|
-
class:
|
|
92
|
+
class: u(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", q]),
|
|
89
93
|
type: "button",
|
|
90
|
-
onClick:
|
|
94
|
+
onClick: s[0] || (s[0] = (r) => i(C)(e.item.uid))
|
|
91
95
|
}, [
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
class:
|
|
96
|
-
"rotate-90":
|
|
96
|
+
n("span", ie, [
|
|
97
|
+
L(e.$slots, "leftIcon", {}, () => [
|
|
98
|
+
n("div", {
|
|
99
|
+
class: u({
|
|
100
|
+
"rotate-90": i(h)[e.item.uid]
|
|
97
101
|
})
|
|
98
102
|
}, [
|
|
99
|
-
m(
|
|
103
|
+
m(i(J), {
|
|
100
104
|
class: "text-c-3 text-sm",
|
|
101
105
|
icon: "ChevronRight",
|
|
102
|
-
size: "sm"
|
|
106
|
+
size: "sm",
|
|
107
|
+
thickness: "2.5"
|
|
103
108
|
})
|
|
104
109
|
], 2)
|
|
105
110
|
], !0),
|
|
106
|
-
|
|
111
|
+
k(" ")
|
|
107
112
|
]),
|
|
108
|
-
|
|
109
|
-
])) :
|
|
110
|
-
"childUids" in e.item ?
|
|
111
|
-
(
|
|
112
|
-
key:
|
|
113
|
+
n("span", se, y(U(e.item)), 1)
|
|
114
|
+
])) : f("", !0),
|
|
115
|
+
"childUids" in e.item ? P((a(), d("div", re, [
|
|
116
|
+
(a(!0), d(T, null, W("summary" in e.item ? e.item.childUids.slice(1) : e.item.childUids, (r) => (a(), p(O, {
|
|
117
|
+
key: r,
|
|
113
118
|
isDraggable: e.isDraggable,
|
|
114
119
|
isDroppable: e.isDroppable,
|
|
115
|
-
item:
|
|
120
|
+
item: i(w)[r] || i(g)[r] || i(x)[r],
|
|
116
121
|
parentUids: [...e.parentUids, e.item.uid],
|
|
117
|
-
onOnDragEnd:
|
|
122
|
+
onOnDragEnd: s[1] || (s[1] = (...V) => e.$emit("onDragEnd", ...V))
|
|
118
123
|
}, null, 8, ["isDraggable", "isDroppable", "item", "parentUids"]))), 128))
|
|
119
124
|
], 512)), [
|
|
120
|
-
[
|
|
121
|
-
]) :
|
|
125
|
+
[A, I.value]
|
|
126
|
+
]) : f("", !0)
|
|
122
127
|
]),
|
|
123
128
|
_: 3
|
|
124
129
|
}, 8, ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"])
|
|
@@ -127,5 +132,5 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
|
|
|
127
132
|
}
|
|
128
133
|
});
|
|
129
134
|
export {
|
|
130
|
-
|
|
135
|
+
be as default
|
|
131
136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;;UAO1C,OAAO,GAAG,cAAc;;UAAxB,OAAO,GAAG,cAAc;;AA8VhC,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|