@scalar/api-client 2.0.64 → 2.1.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 +51 -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 +64 -62
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +77 -69
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +121 -0
- package/dist/components/AddressBar/AddressBarServer.vue2.js +4 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +22 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.js +57 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue2.js +4 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -6
- 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 +87 -82
- package/dist/components/CodeInput/codeVariableWidget.d.ts +4 -4
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +70 -63
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +33 -0
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandActionForm.vue.js +41 -0
- package/dist/components/CommandPalette/CommandActionForm.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +20 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.js +42 -0
- package/dist/components/CommandPalette/CommandActionInput.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +33 -56
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +88 -109
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -73
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +21 -2
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +122 -133
- package/dist/components/CommandPalette/{CommandPaletteFolder.vue.d.ts → CommandPaletteServer.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +92 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +7 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +87 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +33 -49
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +3 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +107 -101
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +2 -2
- package/dist/components/DataTable/DataTable.vue.js +1 -1
- 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 +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +13 -13
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -40
- package/dist/components/DataTable/index.js +12 -12
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +7 -7
- package/dist/components/Form/Form.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +30 -30
- package/dist/components/HttpMethod/helpers.d.ts +4 -0
- package/dist/components/HttpMethod/helpers.d.ts.map +1 -0
- package/dist/components/HttpMethod/helpers.js +5 -0
- package/dist/components/HttpMethod/index.d.ts +1 -0
- package/dist/components/HttpMethod/index.d.ts.map +1 -1
- package/dist/components/HttpMethod/index.js +4 -2
- package/dist/components/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/components/Search/SearchModal.vue.js +2 -2
- package/dist/components/Search/SearchModal.vue2.js +29 -27
- package/dist/components/Search/useSearch.js +35 -35
- package/dist/components/SideNav/SideNavLink.vue.js +6 -6
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +14 -17
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts +22 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +1 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.js +29 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +4 -0
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +38 -35
- package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +37 -34
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +11 -11
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +3 -3
- package/dist/components/SubpageHeader.vue2.js +3 -3
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +23 -23
- 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 +21 -21
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +5 -5
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +4 -4
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +39 -53
- package/dist/layouts/App/create-api-client-app.d.ts +2058 -1941
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +12 -12
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +6 -6
- package/dist/layouts/Modal/create-api-client-modal.d.ts +4590 -4356
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +18 -23
- package/dist/libs/create-client.d.ts +2086 -1972
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +82 -73
- package/dist/libs/environment-parser.d.ts +9 -0
- package/dist/libs/environment-parser.d.ts.map +1 -0
- package/dist/libs/environment-parser.js +17 -0
- package/dist/libs/errors.d.ts +21 -0
- package/dist/libs/errors.d.ts.map +1 -0
- package/dist/libs/errors.js +14 -0
- package/dist/libs/event-busses/command-palette-bus.d.ts +1 -1
- package/dist/libs/event-busses/command-palette-bus.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.d.ts +4 -4
- package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.js +17 -19
- package/dist/libs/index.d.ts +5 -2
- package/dist/libs/index.d.ts.map +1 -1
- package/dist/libs/index.js +31 -24
- package/dist/libs/local-storage.d.ts +3 -3
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +24 -12
- package/dist/libs/normalize-headers.d.ts +14 -0
- package/dist/libs/normalize-headers.d.ts.map +1 -0
- package/dist/libs/normalize-headers.js +32 -0
- package/dist/libs/send-request.d.ts +28 -0
- package/dist/libs/send-request.d.ts.map +1 -0
- package/dist/libs/send-request.js +186 -0
- package/dist/libs/string-template.d.ts +19 -0
- package/dist/libs/string-template.d.ts.map +1 -0
- package/dist/libs/string-template.js +30 -0
- package/dist/router.d.ts +5 -0
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +36 -27
- package/dist/store/collections.d.ts +705 -0
- package/dist/store/collections.d.ts.map +1 -0
- package/dist/store/collections.js +63 -0
- package/dist/store/cookies.d.ts +135 -0
- package/dist/store/cookies.d.ts.map +1 -0
- package/dist/store/cookies.js +29 -0
- package/dist/store/environment.d.ts +80 -0
- package/dist/store/environment.d.ts.map +1 -0
- package/dist/store/environment.js +39 -0
- package/dist/store/import-spec.d.ts +8 -0
- package/dist/store/import-spec.d.ts.map +1 -0
- package/dist/store/import-spec.js +45 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/request-example.d.ts +1111 -0
- package/dist/store/request-example.d.ts.map +1 -0
- package/dist/store/request-example.js +47 -0
- package/dist/store/requests.d.ts +371 -0
- package/dist/store/requests.d.ts.map +1 -0
- package/dist/store/requests.js +107 -0
- package/dist/store/router-params.d.ts +15 -0
- package/dist/store/router-params.d.ts.map +1 -0
- package/dist/store/router-params.js +21 -0
- package/dist/store/security-schemes.d.ts +616 -0
- package/dist/store/security-schemes.d.ts.map +1 -0
- package/dist/store/security-schemes.js +68 -0
- package/dist/store/servers.d.ts +99 -0
- package/dist/store/servers.d.ts.map +1 -0
- package/dist/store/servers.js +46 -0
- package/dist/store/store-context.d.ts +29 -0
- package/dist/store/store-context.d.ts.map +1 -0
- package/dist/store/store.d.ts +7504 -0
- package/dist/store/store.d.ts.map +1 -0
- package/dist/store/store.js +200 -0
- package/dist/store/tags.d.ts +169 -0
- package/dist/store/tags.d.ts.map +1 -0
- package/dist/store/tags.js +57 -0
- package/dist/store/workspace.d.ts +93 -7150
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +49 -543
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +2 -2
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +10 -10
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +21 -23
- package/dist/views/Environment/Environment.vue2.js +27 -28
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +11 -5
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +79 -59
- 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 +87 -318
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +36 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +59 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue2.js +4 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue.d.ts +3 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +216 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.js +3 -3
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +7 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +183 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +30 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +3 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +140 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +167 -186
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +49 -49
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +26 -22
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +103 -102
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +5 -5
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts +30 -0
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSidebar.vue.js +7 -0
- package/dist/views/Request/RequestSidebar.vue2.js +179 -0
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +6 -7
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +283 -254
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +9 -7
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +24 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSubpageHeader.vue.js +7 -0
- package/dist/views/Request/RequestSubpageHeader.vue2.js +48 -0
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +17 -16
- 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 +37 -30
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +69 -90
- package/dist/views/Request/components/index.d.ts +0 -1
- package/dist/views/Request/components/index.d.ts.map +1 -1
- package/dist/views/Request/components/index.js +2 -4
- package/dist/views/Request/consts/new-auth-options.d.ts +11 -1
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/consts/new-auth-options.js +17 -7
- package/dist/views/Request/handle-drag.d.ts +8 -0
- package/dist/views/Request/handle-drag.d.ts.map +1 -0
- package/dist/views/Request/handle-drag.js +56 -0
- package/dist/views/Request/libs/auth.d.ts +35 -0
- package/dist/views/Request/libs/auth.d.ts.map +1 -0
- package/dist/views/Request/libs/auth.js +14 -0
- package/dist/views/Request/libs/index.d.ts +1 -0
- package/dist/views/Request/libs/index.d.ts.map +1 -1
- package/dist/views/Request/libs/index.js +7 -3
- package/dist/views/Request/libs/oauth2.d.ts +12 -3
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +42 -27
- package/dist/views/Servers/ServerForm.vue.js +22 -22
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +17 -14
- package/package.json +9 -9
- package/dist/components/CodeInput/codeDropdownWidget.d.ts +0 -32
- package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +0 -1
- package/dist/components/CodeInput/codeDropdownWidget.js +0 -121
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +0 -106
- package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +0 -4
- package/dist/errors.d.ts +0 -5
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -7
- package/dist/libs/normalizeHeaders.d.ts +0 -11
- package/dist/libs/normalizeHeaders.d.ts.map +0 -1
- package/dist/libs/normalizeHeaders.js +0 -25
- package/dist/libs/pathParams.d.ts +0 -10
- package/dist/libs/pathParams.d.ts.map +0 -1
- package/dist/libs/pathParams.js +0 -36
- package/dist/libs/sendRequest.d.ts +0 -14
- package/dist/libs/sendRequest.d.ts.map +0 -1
- package/dist/libs/sendRequest.js +0 -163
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth.vue2.js +0 -351
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +0 -1
- package/dist/views/Request/components/OAuth2.vue.js +0 -208
- package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +0 -1
- /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue2.js +0 -0
- /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue2.js +0 -0
- /package/dist/views/Request/RequestSection/{RequestAuth.vue.d.ts → RequestAuth/RequestAuth.vue.d.ts} +0 -0
|
@@ -11,9 +11,23 @@ export declare const PaletteComponents: {
|
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
12
12
|
onClose?: (() => any) | undefined;
|
|
13
13
|
}, {}, {}>;
|
|
14
|
-
readonly 'Create Request': import("vue").DefineComponent<{
|
|
14
|
+
readonly 'Create Request': import("vue").DefineComponent<{
|
|
15
|
+
metaData: {
|
|
16
|
+
type: import("vue").PropType<{
|
|
17
|
+
itemUid: string;
|
|
18
|
+
parentUid: string;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
22
|
close: () => void;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
metaData: {
|
|
25
|
+
type: import("vue").PropType<{
|
|
26
|
+
itemUid: string;
|
|
27
|
+
parentUid: string;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
}>> & {
|
|
17
31
|
onClose?: (() => any) | undefined;
|
|
18
32
|
}, {}, {}>;
|
|
19
33
|
readonly 'Create Workspace': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -21,7 +35,12 @@ export declare const PaletteComponents: {
|
|
|
21
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
22
36
|
onClose?: (() => any) | undefined;
|
|
23
37
|
}, {}, {}>;
|
|
24
|
-
readonly 'Add
|
|
38
|
+
readonly 'Add Tag': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
close: () => void;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
41
|
+
onClose?: (() => any) | undefined;
|
|
42
|
+
}, {}, {}>;
|
|
43
|
+
readonly 'Add Server': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
44
|
close: () => void;
|
|
26
45
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
27
46
|
onClose?: (() => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAiXA;;;;GAIG;;AACH,wBAkZI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CACxD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import o from "./TheCommandPalette.vue2.js";
|
|
2
|
-
import { PaletteComponents as
|
|
2
|
+
import { PaletteComponents as f } from "./TheCommandPalette.vue2.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cc61a404"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
f as PaletteComponents,
|
|
8
8
|
r as default
|
|
9
9
|
};
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import ee from "./CommandPaletteExample.vue.js";
|
|
7
|
-
import oe from "./CommandPaletteFolder.vue.js";
|
|
1
|
+
import { defineComponent as q, ref as i, computed as K, onMounted as F, onBeforeUnmount as H, openBlock as a, createElementBlock as l, Fragment as u, withDirectives as C, createElementVNode as r, vShow as b, unref as p, createVNode as x, withKeys as w, withModifiers as y, vModelText as U, renderList as M, toDisplayString as P, normalizeClass as G, createTextVNode as Q, createCommentVNode as j, createBlock as J, resolveDynamicComponent as O, nextTick as X } from "vue";
|
|
2
|
+
import { useModal as Y, ScalarIcon as g } from "@scalar/components";
|
|
3
|
+
import { useRouter as Z } from "vue-router";
|
|
4
|
+
import ee from "./CommandPaletteCollection.vue.js";
|
|
5
|
+
import oe from "./CommandPaletteExample.vue.js";
|
|
8
6
|
import te from "./CommandPaletteImport.vue.js";
|
|
9
7
|
import ne from "./CommandPaletteRequest.vue.js";
|
|
10
|
-
import ae from "./
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
8
|
+
import ae from "./CommandPaletteServer.vue.js";
|
|
9
|
+
import le from "./CommandPaletteTag.vue.js";
|
|
10
|
+
import se from "./CommandPaletteWorkspace.vue.js";
|
|
11
|
+
import { commandPaletteBus as T } from "../../libs/event-busses/command-palette-bus.js";
|
|
12
|
+
import { useWorkspace as re } from "../../store/store.js";
|
|
13
|
+
import { hotKeyBus as V } from "../../libs/event-busses/hot-keys-bus.js";
|
|
14
|
+
const me = { class: "commandmenu" }, ce = { class: "bg-b-2 flex items-center rounded mb-2 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, ie = { for: "commandmenu" }, ue = ["onKeydown"], de = ["onClick"], pe = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "text-c-3 text-center text-sm p-2 pt-3"
|
|
16
|
-
},
|
|
17
|
+
}, fe = {
|
|
17
18
|
name: "TheCommandPalette"
|
|
18
|
-
},
|
|
19
|
+
}, ve = {
|
|
19
20
|
"Import Collection": te,
|
|
20
21
|
"Create Request": ne,
|
|
21
|
-
"Create Workspace":
|
|
22
|
-
"Add
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
"Create Workspace": se,
|
|
23
|
+
"Add Tag": le,
|
|
24
|
+
"Add Server": ae,
|
|
25
|
+
"Create Collection": ee,
|
|
26
|
+
"Add Example": oe
|
|
27
|
+
}, Le = /* @__PURE__ */ q({
|
|
28
|
+
...fe,
|
|
29
|
+
setup(Ce) {
|
|
30
|
+
const S = [
|
|
29
31
|
{
|
|
30
32
|
label: "Add to Request Sidebar",
|
|
31
33
|
commands: [
|
|
@@ -38,7 +40,7 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
|
|
|
38
40
|
icon: "Import"
|
|
39
41
|
},
|
|
40
42
|
{
|
|
41
|
-
name: "Add
|
|
43
|
+
name: "Add Tag",
|
|
42
44
|
icon: "Folder"
|
|
43
45
|
},
|
|
44
46
|
{
|
|
@@ -48,6 +50,10 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
|
|
|
48
50
|
{
|
|
49
51
|
name: "Add Example",
|
|
50
52
|
icon: "Example"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "Add Server",
|
|
56
|
+
icon: "Server"
|
|
51
57
|
}
|
|
52
58
|
]
|
|
53
59
|
},
|
|
@@ -58,11 +64,6 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
|
|
|
58
64
|
name: "Create Workspace",
|
|
59
65
|
icon: "Workspace"
|
|
60
66
|
},
|
|
61
|
-
// {
|
|
62
|
-
// name: 'Add Server',
|
|
63
|
-
// icon: 'Server',
|
|
64
|
-
// path: '/servers',
|
|
65
|
-
// },
|
|
66
67
|
{
|
|
67
68
|
name: "Add Environment",
|
|
68
69
|
icon: "Brackets",
|
|
@@ -75,138 +76,143 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
|
|
|
75
76
|
}
|
|
76
77
|
]
|
|
77
78
|
}
|
|
78
|
-
],
|
|
79
|
-
() =>
|
|
80
|
-
const
|
|
81
|
-
(
|
|
79
|
+
], m = Y(), { push: W } = Z(), { activeWorkspace: z } = re(), $ = i(), c = i(""), s = i(null), d = i(-1), A = i([]), h = K(
|
|
80
|
+
() => S.reduce((t, o) => {
|
|
81
|
+
const e = o.commands.filter(
|
|
82
|
+
(n) => n.name.toLowerCase().includes(c.value.toLowerCase())
|
|
82
83
|
);
|
|
83
|
-
return [...
|
|
84
|
+
return [...t, ...e];
|
|
84
85
|
}, [])
|
|
85
|
-
),
|
|
86
|
-
|
|
87
|
-
},
|
|
88
|
-
"path" in
|
|
89
|
-
},
|
|
90
|
-
commandName:
|
|
91
|
-
metaData:
|
|
86
|
+
), f = () => {
|
|
87
|
+
m.hide(), c.value = "", s.value = null, d.value = -1;
|
|
88
|
+
}, R = (t) => {
|
|
89
|
+
"path" in t ? (W(`/workspace/${z.value.uid}${t.path}`), f()) : s.value = t.name;
|
|
90
|
+
}, D = i(), L = ({
|
|
91
|
+
commandName: t,
|
|
92
|
+
metaData: o
|
|
92
93
|
} = {}) => {
|
|
93
|
-
|
|
94
|
-
var
|
|
95
|
-
return (
|
|
94
|
+
s.value = t ?? null, $.value = o, m.show(), X(() => {
|
|
95
|
+
var e;
|
|
96
|
+
return (e = D.value) == null ? void 0 : e.focus();
|
|
96
97
|
});
|
|
97
|
-
},
|
|
98
|
+
}, B = (t, o) => {
|
|
98
99
|
var v;
|
|
99
|
-
if (!
|
|
100
|
-
|
|
101
|
-
const
|
|
102
|
-
d.value = (d.value +
|
|
100
|
+
if (!m.open) return;
|
|
101
|
+
o.preventDefault();
|
|
102
|
+
const e = t === "up" ? -1 : 1, n = h.value.length;
|
|
103
|
+
d.value = (d.value + e + n) % n, (v = A.value[d.value]) == null || v.scrollIntoView({
|
|
103
104
|
behavior: "smooth",
|
|
104
105
|
block: "center"
|
|
105
106
|
});
|
|
106
|
-
}, k =
|
|
107
|
-
() =>
|
|
108
|
-
),
|
|
109
|
-
k.value
|
|
110
|
-
},
|
|
111
|
-
|
|
107
|
+
}, k = K(
|
|
108
|
+
() => h.value[d.value]
|
|
109
|
+
), N = (t) => {
|
|
110
|
+
!k.value || s.value || (t.preventDefault(), t.stopPropagation(), R(k.value));
|
|
111
|
+
}, E = (t) => {
|
|
112
|
+
m.open && t.closeModal && f();
|
|
112
113
|
};
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
}),
|
|
116
|
-
|
|
117
|
-
}), (
|
|
118
|
-
|
|
114
|
+
return F(() => {
|
|
115
|
+
T.on(L), V.on(E);
|
|
116
|
+
}), H(() => {
|
|
117
|
+
T.off(L), V.off(E);
|
|
118
|
+
}), (t, o) => (a(), l(u, null, [
|
|
119
|
+
C(r("div", {
|
|
119
120
|
class: "commandmenu-clickout",
|
|
120
|
-
onClick:
|
|
121
|
+
onClick: o[0] || (o[0] = (e) => f())
|
|
121
122
|
}, null, 512), [
|
|
122
|
-
[b,
|
|
123
|
+
[b, p(m).open]
|
|
123
124
|
]),
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1
|
|
125
|
+
C(r("div", me, [
|
|
126
|
+
s.value ? (a(), l(u, { key: 1 }, [
|
|
127
|
+
r("button", {
|
|
128
|
+
class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.5 z-10",
|
|
128
129
|
type: "button",
|
|
129
|
-
onClick:
|
|
130
|
+
onClick: o[4] || (o[4] = (e) => s.value = null)
|
|
130
131
|
}, [
|
|
131
|
-
x(
|
|
132
|
+
x(p(g), {
|
|
132
133
|
icon: "ChevronLeft",
|
|
133
134
|
size: "md",
|
|
134
135
|
thickness: "1.5"
|
|
135
136
|
})
|
|
136
137
|
]),
|
|
137
|
-
(a(),
|
|
138
|
-
metaData:
|
|
139
|
-
onClose:
|
|
138
|
+
(a(), J(O(ve[s.value]), {
|
|
139
|
+
metaData: $.value,
|
|
140
|
+
onClose: f
|
|
140
141
|
}, null, 40, ["metaData"]))
|
|
141
142
|
], 64)) : (a(), l(u, { key: 0 }, [
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
x(
|
|
143
|
+
r("div", ce, [
|
|
144
|
+
r("label", ie, [
|
|
145
|
+
x(p(g), {
|
|
145
146
|
class: "text-c-1 mr-2.5",
|
|
146
147
|
icon: "Search",
|
|
147
148
|
size: "sm",
|
|
148
149
|
thickness: "1.5"
|
|
149
150
|
})
|
|
150
151
|
]),
|
|
151
|
-
|
|
152
|
+
C(r("input", {
|
|
152
153
|
id: "commandmenu",
|
|
153
154
|
ref_key: "commandInputRef",
|
|
154
|
-
ref:
|
|
155
|
-
"onUpdate:modelValue":
|
|
155
|
+
ref: D,
|
|
156
|
+
"onUpdate:modelValue": o[1] || (o[1] = (e) => c.value = e),
|
|
156
157
|
autocomplete: "off",
|
|
157
158
|
autofocus: "",
|
|
158
159
|
class: "w-full rounded bg-none border-none py-1.5 text-sm focus:outline-none",
|
|
159
160
|
placeholder: "Search commands...",
|
|
160
|
-
type: "text"
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
type: "text",
|
|
162
|
+
onKeydown: [
|
|
163
|
+
o[2] || (o[2] = w(y((e) => B("down", e), ["stop"]), ["down"])),
|
|
164
|
+
w(y(N, ["stop"]), ["enter"]),
|
|
165
|
+
o[3] || (o[3] = w(y((e) => B("up", e), ["stop"]), ["up"]))
|
|
166
|
+
]
|
|
167
|
+
}, null, 40, ue), [
|
|
168
|
+
[U, c.value]
|
|
163
169
|
])
|
|
164
170
|
]),
|
|
165
|
-
(a(), l(u, null,
|
|
166
|
-
key:
|
|
171
|
+
(a(), l(u, null, M(S, (e) => (a(), l(u, {
|
|
172
|
+
key: e.label
|
|
167
173
|
}, [
|
|
168
|
-
|
|
174
|
+
C(r("div", { class: "text-c-3 font-medium text-xs mt-2" }, P(e.label), 513), [
|
|
169
175
|
[
|
|
170
176
|
b,
|
|
171
|
-
|
|
172
|
-
(
|
|
177
|
+
e.commands.filter(
|
|
178
|
+
(n) => n.name.toLowerCase().includes(c.value.toLowerCase())
|
|
173
179
|
).length > 0
|
|
174
180
|
]
|
|
175
181
|
]),
|
|
176
|
-
(a(!0), l(u, null,
|
|
177
|
-
(
|
|
178
|
-
), (
|
|
179
|
-
var
|
|
182
|
+
(a(!0), l(u, null, M(e.commands.filter(
|
|
183
|
+
(n) => n.name.toLowerCase().includes(c.value.toLowerCase())
|
|
184
|
+
), (n, v) => {
|
|
185
|
+
var I;
|
|
180
186
|
return a(), l("div", {
|
|
181
|
-
key:
|
|
187
|
+
key: n.name,
|
|
182
188
|
ref_for: !0,
|
|
183
189
|
ref: (_) => {
|
|
184
|
-
_ && (
|
|
190
|
+
_ && (A.value[v] = _);
|
|
185
191
|
},
|
|
186
|
-
class:
|
|
187
|
-
"bg-b-2":
|
|
192
|
+
class: G(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
|
|
193
|
+
"bg-b-2": n.name === ((I = k.value) == null ? void 0 : I.name)
|
|
188
194
|
}]),
|
|
189
|
-
onClick: (_) =>
|
|
195
|
+
onClick: (_) => R(n)
|
|
190
196
|
}, [
|
|
191
|
-
x(
|
|
197
|
+
x(p(g), {
|
|
192
198
|
class: "text-c-1 mr-2.5",
|
|
193
|
-
icon:
|
|
199
|
+
icon: n.icon,
|
|
194
200
|
size: "md",
|
|
195
201
|
thickness: "1.5"
|
|
196
202
|
}, null, 8, ["icon"]),
|
|
197
|
-
|
|
198
|
-
], 10,
|
|
203
|
+
Q(" " + P(n.name), 1)
|
|
204
|
+
], 10, de);
|
|
199
205
|
}), 128))
|
|
200
206
|
], 64))), 64)),
|
|
201
|
-
|
|
207
|
+
h.value.length ? j("", !0) : (a(), l("div", pe, " No commands found "))
|
|
202
208
|
], 64))
|
|
203
209
|
], 512), [
|
|
204
|
-
[b,
|
|
210
|
+
[b, p(m).open]
|
|
205
211
|
])
|
|
206
212
|
], 64));
|
|
207
213
|
}
|
|
208
214
|
});
|
|
209
215
|
export {
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
ve as PaletteComponents,
|
|
217
|
+
Le as default
|
|
212
218
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;
|
|
1
|
+
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA6FvB,wBAOG;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ContextBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-200b65e3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as n, createElementBlock as o, createElementVNode as s, Fragment as c, renderList as r, normalizeClass as a, toDisplayString as l } from "vue";
|
|
2
|
-
const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, d = { class: "request-section-content request-section-content-filter bg-b-1 border-1/2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[
|
|
2
|
+
const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, d = { class: "request-section-content request-section-content-filter bg-b-1 border-1/2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[1.5px] text-xs gap-[1.5px] pointer-events-auto" }, u = ["isActive", "onClick"], _ = /* @__PURE__ */ i({
|
|
3
3
|
__name: "ContextBar",
|
|
4
4
|
props: {
|
|
5
5
|
sections: {},
|
|
@@ -11,7 +11,7 @@ const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-event
|
|
|
11
11
|
s("div", d, [
|
|
12
12
|
(n(!0), o(c, null, r(t.sections, (e) => (n(), o("button", {
|
|
13
13
|
key: e,
|
|
14
|
-
class: a(["hover:bg-b-2 w-full rounded
|
|
14
|
+
class: a(["hover:bg-b-2 w-full rounded p-1 text-center font-medium", [
|
|
15
15
|
t.activeSection === e ? "bg-b-2 text-c-1 pointer-events-none" : ""
|
|
16
16
|
]]),
|
|
17
17
|
isActive: t.activeSection === e,
|
|
@@ -10,7 +10,7 @@ const i = {
|
|
|
10
10
|
},
|
|
11
11
|
setup(p) {
|
|
12
12
|
return (o, u) => (e(), l("div", {
|
|
13
|
-
class: s(["border-1/2 rounded
|
|
13
|
+
class: s(["border-1/2 rounded bg-b-1 md:mx-1", o.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible"])
|
|
14
14
|
}, [
|
|
15
15
|
n("table", {
|
|
16
16
|
class: s(["grid auto-rows-auto min-h-8 mb-0", { "min-w-full w-max": o.scroll }]),
|
|
@@ -44,9 +44,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
44
44
|
readOnly: boolean;
|
|
45
45
|
}>>> & {
|
|
46
46
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
47
|
-
onSelectVariable?: ((value: string) => any) | undefined;
|
|
48
47
|
onInputFocus?: (() => any) | undefined;
|
|
49
48
|
onInputBlur?: (() => any) | undefined;
|
|
49
|
+
onSelectVariable?: ((value: string) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
required: boolean;
|
|
52
52
|
readOnly: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAwNA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAwNA,iBAAS,cAAc;qBAkKM,GAAG;qBACF,GAAG;kBACN,GAAG;EAuB7B;AACD,QAAA,MAAM,eAAe;SAlQZ,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;;SAXP,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;;cAPD,OAAO;cAIP,OAAO;2BADM,OAAO;MAkQjC,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,7 +1,7 @@
|
|
|
1
1
|
import t from "./DataTableInput.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b93b9304"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as d, computed as k, openBlock as
|
|
1
|
+
import { defineComponent as h, ref as d, computed as k, openBlock as a, createBlock as i, normalizeClass as b, withCtx as B, createElementBlock as r, renderSlot as p, createCommentVNode as s, createElementVNode as m, Fragment as C, mergeProps as $, unref as x } from "vue";
|
|
2
2
|
import { ScalarIconButton as q } from "@scalar/components";
|
|
3
3
|
import A from "./DataTableCell.vue.js";
|
|
4
4
|
import E from "./DataTableInputSelect.vue.js";
|
|
@@ -28,33 +28,33 @@ const F = {
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
|
|
30
30
|
setup(c, { emit: f }) {
|
|
31
|
-
const
|
|
31
|
+
const o = c, n = f, l = d(!0), y = d(""), v = d(!1), w = () => {
|
|
32
32
|
v.value || n("inputBlur");
|
|
33
33
|
}, V = k(
|
|
34
|
-
() =>
|
|
34
|
+
() => o.type === "password" ? l.value ? "password" : "text" : o.type ?? "text"
|
|
35
35
|
), g = (e) => {
|
|
36
36
|
const t = e.target;
|
|
37
37
|
y.value = t.value, n("update:modelValue", t.value);
|
|
38
38
|
};
|
|
39
|
-
return (e, t) => (
|
|
39
|
+
return (e, t) => (a(), i(A, {
|
|
40
40
|
class: b(["relative row", e.containerClass])
|
|
41
41
|
}, {
|
|
42
42
|
default: B(() => [
|
|
43
|
-
e.$slots.default ? (
|
|
43
|
+
e.$slots.default ? (a(), r("div", F, [
|
|
44
44
|
p(e.$slots, "default", {}, void 0, !0)
|
|
45
45
|
])) : s("", !0),
|
|
46
46
|
m("div", I, [
|
|
47
|
-
|
|
47
|
+
o.enum && o.enum.length ? (a(), i(E, {
|
|
48
48
|
key: 0,
|
|
49
49
|
canAddCustomValue: e.canAddCustomEnumValue,
|
|
50
|
-
modelValue:
|
|
51
|
-
value:
|
|
50
|
+
modelValue: o.modelValue,
|
|
51
|
+
value: o.enum,
|
|
52
52
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => n("update:modelValue", u))
|
|
53
|
-
}, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (
|
|
53
|
+
}, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (a(), r(C, { key: 1 }, [
|
|
54
54
|
m("input", $(e.$attrs, {
|
|
55
55
|
id: e.id,
|
|
56
56
|
autocomplete: "off",
|
|
57
|
-
class: "border-none text-c-1 min-w-0 w-full peer px-2 py-1.5 outline-none",
|
|
57
|
+
class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.5 outline-none",
|
|
58
58
|
"data-1p-ignore": "",
|
|
59
59
|
max: e.max,
|
|
60
60
|
min: e.min,
|
|
@@ -67,14 +67,14 @@ const F = {
|
|
|
67
67
|
onFocus: t[1] || (t[1] = (u) => n("inputFocus")),
|
|
68
68
|
onInput: g
|
|
69
69
|
}), null, 16, O),
|
|
70
|
-
e.required ? (
|
|
70
|
+
e.required ? (a(), r("div", S, " Required ")) : s("", !0)
|
|
71
71
|
], 64))
|
|
72
72
|
]),
|
|
73
|
-
e.$slots.warning ? (
|
|
73
|
+
e.$slots.warning ? (a(), r("div", P, [
|
|
74
74
|
p(e.$slots, "warning", {}, void 0, !0)
|
|
75
75
|
])) : s("", !0),
|
|
76
76
|
p(e.$slots, "icon", {}, void 0, !0),
|
|
77
|
-
e.type === "password" ? (
|
|
77
|
+
e.type === "password" ? (a(), i(x(q), {
|
|
78
78
|
key: 2,
|
|
79
79
|
class: "-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
|
|
80
80
|
icon: l.value ? "Show" : "Hide",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":";gBA8IgB,MAAM,GAAG,MAAM;YACnB,MAAM,EAAE;wBACI,OAAO;;;;;;gBAFf,MAAM,GAAG,MAAM;YACnB,MAAM,EAAE;wBACI,OAAO;;;;;;uBAAP,OAAO;;AA+T/B,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"}
|