@k8slens/extensions 5.3.1-git.f8fa33ec8c.0 → 5.3.1-git.fa3708c879.0
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/dist/src/common/catalog/catalog-entity.d.ts +51 -0
- package/dist/src/common/catalog-entities/kubernetes-cluster.d.ts +1 -2
- package/dist/src/common/ipc/extension-loader.ipc.d.ts +21 -0
- package/dist/src/common/ipc/index.d.ts +1 -0
- package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +29 -28
- package/dist/src/common/vars.d.ts +1 -0
- package/dist/src/extensions/extension-api.js +918 -904
- package/dist/src/extensions/extension-loader/extension-loader.d.ts +8 -2
- package/dist/src/extensions/extension-loader/extension-loader.injectable.d.ts +2 -22
- package/dist/src/extensions/extensions.injectable.d.ts +2 -27
- package/dist/src/extensions/lens-main-extension.d.ts +2 -0
- package/dist/src/extensions/lens-renderer-extension.d.ts +6 -3
- package/dist/src/extensions/main-extensions.injectable.d.ts +5 -0
- package/dist/src/extensions/registries/base-registry.d.ts +1 -1
- package/dist/src/extensions/registries/index.d.ts +0 -3
- package/dist/src/extensions/renderer-extensions.injectable.d.ts +5 -0
- package/dist/src/main/menu/electron-menu-items.injectable.d.ts +2 -27
- package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.d.ts +2 -1
- package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.injectable.d.ts +2 -23
- package/dist/src/main/tray/tray-menu-items.injectable.d.ts +3 -0
- package/dist/src/main/tray/tray-menu-items.test.d.ts +1 -0
- package/dist/src/main/{tray.d.ts → tray/tray.d.ts} +4 -2
- package/dist/src/renderer/api/__tests__/catalog-entity-registry.test.d.ts +1 -1
- package/dist/src/renderer/api/catalog-entity-registry.d.ts +4 -0
- package/dist/src/renderer/api/catalog-entity.d.ts +1 -5
- package/dist/src/renderer/components/+catalog/catalog-entity-details.d.ts +3 -3
- package/dist/src/renderer/components/+catalog/catalog-entity-drawer-menu.d.ts +1 -2
- package/dist/src/renderer/components/+catalog/catalog-entity.store.d.ts +4 -4
- package/dist/src/renderer/components/+catalog/catalog.d.ts +5 -6
- package/dist/src/{extensions/registries/welcome-menu-registry.d.ts → renderer/components/+catalog/helpers.d.ts} +6 -8
- package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.injectable.d.ts +2 -25
- package/dist/src/renderer/components/+extensions/attempt-install/unpack-extension/unpack-extension.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/attempt-install/unpack-extension/unpack-extension.injectable.d.ts +2 -25
- package/dist/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.d.ts +2 -23
- package/dist/src/renderer/components/+extensions/attempt-installs/attempt-installs.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/attempt-installs/attempt-installs.injectable.d.ts +2 -23
- package/dist/src/renderer/components/+extensions/confirm-uninstall-extension/confirm-uninstall-extension.d.ts +3 -2
- package/dist/src/renderer/components/+extensions/confirm-uninstall-extension/confirm-uninstall-extension.injectable.d.ts +2 -24
- package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.injectable.d.ts +2 -24
- package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.injectable.d.ts +2 -24
- package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.injectable.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/install-from-input/install-from-input.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/install-from-input/install-from-input.injectable.d.ts +2 -23
- package/dist/src/renderer/components/+extensions/install-from-select-file-dialog/install-from-select-file-dialog.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/install-from-select-file-dialog/install-from-select-file-dialog.injectable.d.ts +2 -23
- package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.injectable.d.ts +2 -23
- package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.d.ts +2 -1
- package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.injectable.d.ts +2 -24
- package/dist/src/renderer/components/+extensions/user-extensions/user-extensions.injectable.d.ts +2 -27
- package/dist/src/renderer/components/+welcome/welcome-banner-items/welcome-banner-items.injectable.d.ts +3 -0
- package/dist/src/renderer/components/+welcome/welcome-menu-items/get-welcome-menu-items.d.ts +27 -0
- package/dist/src/renderer/components/+welcome/welcome-menu-items/welcome-menu-items.injectable.d.ts +3 -0
- package/dist/src/renderer/components/+welcome/welcome.d.ts +1 -3
- package/dist/src/renderer/components/checkbox/checkbox.d.ts +0 -1
- package/dist/src/renderer/components/dock/terminal.d.ts +1 -1
- package/dist/src/renderer/components/kube-object-menu/dependencies/api-manager.injectable.d.ts +2 -23
- package/dist/src/renderer/components/kube-object-menu/dependencies/cluster-name.injectable.d.ts +2 -6
- package/dist/src/renderer/components/kube-object-menu/dependencies/cluster.injectable.d.ts +2 -3
- package/dist/src/renderer/components/kube-object-menu/dependencies/edit-resource-tab.injectable.d.ts +2 -2
- package/dist/src/renderer/components/kube-object-menu/dependencies/hide-details.injectable.d.ts +2 -2
- package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/get-kube-object-menu-items.d.ts +2 -5
- package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/kube-object-menu-items.injectable.d.ts +8 -23
- package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/kube-object-menu-registry.injectable.d.ts +2 -2
- package/dist/src/renderer/components/layout/close-button.d.ts +25 -0
- package/dist/src/renderer/components/layout/top-bar/top-bar-items/top-bar-items.injectable.d.ts +3 -0
- package/dist/src/renderer/components/layout/{__tests__/topbar-win-linux.test.d.ts → top-bar/top-bar-win-linux.test.d.ts} +0 -0
- package/dist/src/renderer/components/layout/{topbar.d.ts → top-bar/top-bar.d.ts} +1 -4
- package/dist/src/renderer/components/layout/{__tests__/topbar.test.d.ts → top-bar/top-bar.test.d.ts} +0 -0
- package/dist/src/renderer/components/menu/menu-actions.d.ts +1 -1
- package/dist/src/renderer/components/monaco-editor/monaco-editor.d.ts +1 -1
- package/dist/src/renderer/{initializers/welcome-menu-registry.d.ts → components/switch/__tests__/switch.test.d.ts} +1 -1
- package/dist/src/renderer/components/switch/form-switcher.d.ts +3 -0
- package/dist/src/renderer/components/switch/index.d.ts +1 -0
- package/dist/src/{extensions/registries/topbar-registry.d.ts → renderer/components/switch/switch.d.ts} +4 -9
- package/dist/src/renderer/components/switch/switcher.d.ts +4 -1
- package/dist/src/renderer/initializers/index.d.ts +0 -1
- package/dist/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.d.ts +2 -1
- package/dist/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.d.ts +2 -23
- package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.d.ts +2 -1
- package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.injectable.d.ts +2 -23
- package/dist/src/renderer/theme.store.d.ts +0 -1
- package/package.json +1 -1
- package/dist/src/extensions/registries/welcome-banner-registry.d.ts +0 -38
package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.injectable.d.ts
CHANGED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import type { LensExtensionId } from "../../../../extensions/lens-extension";
|
|
23
|
-
import { Dependencies } from "./disable-extension";
|
|
24
|
-
declare const disableExtensionInjectable: Injectable<(id: LensExtensionId) => void, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const disableExtensionInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<(id: string) => void, unknown>, (id: string) => void, unknown>;
|
|
25
3
|
export default disableExtensionInjectable;
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import type { LensExtensionId } from "../../../../extensions/lens-extension";
|
|
22
22
|
import type { ExtensionLoader } from "../../../../extensions/extension-loader";
|
|
23
|
-
|
|
23
|
+
interface Dependencies {
|
|
24
24
|
extensionLoader: ExtensionLoader;
|
|
25
25
|
}
|
|
26
26
|
export declare const enableExtension: ({ extensionLoader }: Dependencies) => (id: LensExtensionId) => void;
|
|
27
|
+
export {};
|
package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.injectable.d.ts
CHANGED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import type { LensExtensionId } from "../../../../extensions/lens-extension";
|
|
23
|
-
import { Dependencies } from "./enable-extension";
|
|
24
|
-
declare const enableExtensionInjectable: Injectable<(id: LensExtensionId) => void, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const enableExtensionInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<(id: string) => void, unknown>, (id: string) => void, unknown>;
|
|
25
3
|
export default enableExtensionInjectable;
|
package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.d.ts
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
21
|
import { ExtensionRegistry } from "../../../../common/user-store/preferences-helpers";
|
|
22
|
-
|
|
22
|
+
interface Dependencies {
|
|
23
23
|
getRegistryUrlPreference: () => ExtensionRegistry;
|
|
24
24
|
}
|
|
25
25
|
export declare const getBaseRegistryUrl: ({ getRegistryUrlPreference }: Dependencies) => () => Promise<string>;
|
|
26
|
+
export {};
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
declare const getBaseRegistryUrlInjectable: Injectable<() => Promise<string>, Dependencies>;
|
|
21
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
22
|
+
declare const getBaseRegistryUrlInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<() => Promise<string>, unknown>, () => Promise<string>, unknown>;
|
|
24
23
|
export default getBaseRegistryUrlInjectable;
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
import { ExtendableDisposer } from "../../../../common/utils";
|
|
22
22
|
import type { InstallRequest } from "../attempt-install/install-request";
|
|
23
23
|
import type { ExtensionInfo } from "../attempt-install-by-info/attempt-install-by-info";
|
|
24
|
-
|
|
24
|
+
interface Dependencies {
|
|
25
25
|
attemptInstall: (request: InstallRequest, disposer?: ExtendableDisposer) => Promise<void>;
|
|
26
26
|
attemptInstallByInfo: (extensionInfo: ExtensionInfo) => Promise<void>;
|
|
27
27
|
}
|
|
28
28
|
export declare const installFromInput: ({ attemptInstall, attemptInstallByInfo }: Dependencies) => (input: string) => Promise<void>;
|
|
29
|
+
export {};
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import type { Dependencies } from "./install-from-input";
|
|
23
|
-
declare const installFromInputInjectable: Injectable<(input: string) => Promise<void>, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const installFromInputInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<(input: string) => Promise<void>, unknown>, (input: string) => Promise<void>, unknown>;
|
|
24
3
|
export default installFromInputInjectable;
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import { Dependencies } from "./install-from-select-file-dialog";
|
|
23
|
-
declare const installFromSelectFileDialogInjectable: Injectable<() => Promise<void>, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const installFromSelectFileDialogInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<() => Promise<void>, unknown>, () => Promise<void>, unknown>;
|
|
24
3
|
export default installFromSelectFileDialogInjectable;
|
package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.injectable.d.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import { Dependencies } from "./install-on-drop";
|
|
23
|
-
declare const installOnDropInjectable: Injectable<(files: File[]) => Promise<void>, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const installOnDropInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<(files: File[]) => Promise<void>, unknown>, (files: File[]) => Promise<void>, unknown>;
|
|
24
3
|
export default installOnDropInjectable;
|
package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.d.ts
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import type { ExtensionLoader } from "../../../../extensions/extension-loader";
|
|
22
22
|
import { LensExtensionId } from "../../../../extensions/lens-extension";
|
|
23
|
-
|
|
23
|
+
interface Dependencies {
|
|
24
24
|
extensionLoader: ExtensionLoader;
|
|
25
25
|
}
|
|
26
26
|
export declare const uninstallExtension: ({ extensionLoader }: Dependencies) => (extensionId: LensExtensionId) => Promise<boolean>;
|
|
27
|
+
export {};
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import type { LensExtensionId } from "../../../../extensions/lens-extension";
|
|
23
|
-
import { Dependencies } from "./uninstall-extension";
|
|
24
|
-
declare const uninstallExtensionInjectable: Injectable<(extensionId: LensExtensionId) => Promise<boolean>, Dependencies>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const uninstallExtensionInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<(extensionId: string) => Promise<boolean>, unknown>, (extensionId: string) => Promise<boolean>, unknown>;
|
|
25
3
|
export default uninstallExtensionInjectable;
|
package/dist/src/renderer/components/+extensions/user-extensions/user-extensions.injectable.d.ts
CHANGED
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import { IComputedValue } from "mobx";
|
|
23
|
-
import type { InstalledExtension } from "../../../../extensions/extension-discovery";
|
|
24
|
-
import type { ExtensionLoader } from "../../../../extensions/extension-loader";
|
|
25
|
-
declare const userExtensionsInjectable: Injectable<IComputedValue<InstalledExtension[]>, {
|
|
26
|
-
extensionLoader: ExtensionLoader;
|
|
27
|
-
}>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const userExtensionsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("mobx").IComputedValue<import("../../../../extensions/extension-discovery").InstalledExtension[]>, unknown>, import("mobx").IComputedValue<import("../../../../extensions/extension-discovery").InstalledExtension[]>, unknown>;
|
|
28
3
|
export default userExtensionsInjectable;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const welcomeBannerItemsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("mobx").IComputedValue<import("./welcome-banner-registration").WelcomeBannerRegistration[]>, unknown>, import("mobx").IComputedValue<import("./welcome-banner-registration").WelcomeBannerRegistration[]>, unknown>;
|
|
3
|
+
export default welcomeBannerItemsInjectable;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2021 OpenLens Authors
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
+
* the Software without restriction, including without limitation the rights to
|
|
7
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
+
* subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
* copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
*/
|
|
21
|
+
import { IComputedValue } from "mobx";
|
|
22
|
+
import type { LensRendererExtension } from "../../../../extensions/lens-renderer-extension";
|
|
23
|
+
interface Dependencies {
|
|
24
|
+
extensions: IComputedValue<LensRendererExtension[]>;
|
|
25
|
+
}
|
|
26
|
+
export declare const getWelcomeMenuItems: ({ extensions }: Dependencies) => IComputedValue<import("./welcome-menu-registration").WelcomeMenuRegistration[]>;
|
|
27
|
+
export {};
|
package/dist/src/renderer/components/+welcome/welcome-menu-items/welcome-menu-items.injectable.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const welcomeMenuItemsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("mobx").IComputedValue<import("./welcome-menu-registration").WelcomeMenuRegistration[]>, unknown>, import("mobx").IComputedValue<import("./welcome-menu-registration").WelcomeMenuRegistration[]>, unknown>;
|
|
3
|
+
export default welcomeMenuItemsInjectable;
|
|
@@ -24,7 +24,7 @@ import { TerminalApi } from "../../api/terminal-api";
|
|
|
24
24
|
export declare class Terminal {
|
|
25
25
|
tabId: TabId;
|
|
26
26
|
protected api: TerminalApi;
|
|
27
|
-
static
|
|
27
|
+
static get spawningPool(): HTMLElement;
|
|
28
28
|
static preloadFonts(): Promise<void>;
|
|
29
29
|
private xterm;
|
|
30
30
|
private readonly fitAddon;
|
package/dist/src/renderer/components/kube-object-menu/dependencies/api-manager.injectable.d.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
* the Software without restriction, including without limitation the rights to
|
|
7
|
-
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import type { ApiManager } from "../../../../common/k8s-api/api-manager";
|
|
22
|
-
import type { Injectable } from "@ogre-tools/injectable";
|
|
23
|
-
declare const apiManagerInjectable: Injectable<ApiManager>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const apiManagerInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("../../../../common/k8s-api/api-manager").ApiManager, unknown>, import("../../../../common/k8s-api/api-manager").ApiManager, unknown>;
|
|
24
3
|
export default apiManagerInjectable;
|
package/dist/src/renderer/components/kube-object-menu/dependencies/cluster-name.injectable.d.ts
CHANGED
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
interface Dependencies {
|
|
24
|
-
cluster: Cluster;
|
|
25
|
-
}
|
|
26
|
-
declare const clusterNameInjectable: Injectable<string | undefined, Dependencies>;
|
|
21
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
22
|
+
declare const clusterNameInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<string, unknown>, string, unknown>;
|
|
27
23
|
export default clusterNameInjectable;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const clusterInjectable: Injectable<Cluster | null>;
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const clusterInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("../../../../main/cluster").Cluster, unknown>, import("../../../../main/cluster").Cluster, unknown>;
|
|
4
3
|
export default clusterInjectable;
|
package/dist/src/renderer/components/kube-object-menu/dependencies/edit-resource-tab.injectable.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2021 OpenLens Authors
|
|
3
4
|
*
|
|
@@ -19,6 +20,5 @@
|
|
|
19
20
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
21
|
*/
|
|
21
22
|
import { editResourceTab } from "../../dock/edit-resource.store";
|
|
22
|
-
|
|
23
|
-
declare const editResourceTabInjectable: Injectable<typeof editResourceTab>;
|
|
23
|
+
declare const editResourceTabInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<typeof editResourceTab, unknown>, typeof editResourceTab, unknown>;
|
|
24
24
|
export default editResourceTabInjectable;
|
package/dist/src/renderer/components/kube-object-menu/dependencies/hide-details.injectable.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2021 OpenLens Authors
|
|
3
4
|
*
|
|
@@ -19,6 +20,5 @@
|
|
|
19
20
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
21
|
*/
|
|
21
22
|
import { hideDetails } from "../../kube-detail-params";
|
|
22
|
-
|
|
23
|
-
export declare const hideDetailsInjectable: Injectable<typeof hideDetails>;
|
|
23
|
+
declare const hideDetailsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<typeof hideDetails, unknown>, typeof hideDetails, unknown>;
|
|
24
24
|
export default hideDetailsInjectable;
|
|
@@ -20,10 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import type { KubeObjectMenuRegistry } from "../../../../../extensions/registries";
|
|
22
22
|
import type { KubeObject } from "../../../../../common/k8s-api/kube-object";
|
|
23
|
-
export
|
|
23
|
+
export declare const getKubeObjectMenuItems: ({ kubeObjectMenuRegistry, kubeObject, }: {
|
|
24
24
|
kubeObjectMenuRegistry: KubeObjectMenuRegistry;
|
|
25
|
-
}
|
|
26
|
-
export interface InstantiationParameter {
|
|
27
25
|
kubeObject: KubeObject;
|
|
28
|
-
}
|
|
29
|
-
export declare const getKubeObjectMenuItems: ({ kubeObjectMenuRegistry }: Dependencies, { kubeObject }: InstantiationParameter) => import("react").ComponentType<any>[];
|
|
26
|
+
}) => import("react").ComponentType<any>[];
|
|
@@ -1,24 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
* copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
*/
|
|
21
|
-
import { Injectable } from "@ogre-tools/injectable";
|
|
22
|
-
import { InstantiationParameter, Dependencies, getKubeObjectMenuItems } from "./get-kube-object-menu-items";
|
|
23
|
-
declare const kubeObjectMenuItemsInjectable: Injectable<ReturnType<typeof getKubeObjectMenuItems>, Dependencies, InstantiationParameter>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
3
|
+
import type { KubeObject } from "../../../../../common/k8s-api/kube-object";
|
|
4
|
+
declare const kubeObjectMenuItemsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("react").ComponentType<any>[], {
|
|
5
|
+
kubeObject: KubeObject;
|
|
6
|
+
}>, import("react").ComponentType<any>[], {
|
|
7
|
+
kubeObject: KubeObject;
|
|
8
|
+
}>;
|
|
24
9
|
export default kubeObjectMenuItemsInjectable;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2021 OpenLens Authors
|
|
3
4
|
*
|
|
@@ -19,6 +20,5 @@
|
|
|
19
20
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
21
|
*/
|
|
21
22
|
import { KubeObjectMenuRegistry } from "../../../../../extensions/registries";
|
|
22
|
-
|
|
23
|
-
declare const kubeObjectMenuRegistryInjectable: Injectable<KubeObjectMenuRegistry>;
|
|
23
|
+
declare const kubeObjectMenuRegistryInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<KubeObjectMenuRegistry, unknown>, KubeObjectMenuRegistry, unknown>;
|
|
24
24
|
export default kubeObjectMenuRegistryInjectable;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2021 OpenLens Authors
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
6
|
+
* the Software without restriction, including without limitation the rights to
|
|
7
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
+
* subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
* copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
*/
|
|
21
|
+
import { HTMLAttributes } from "react";
|
|
22
|
+
interface Props extends HTMLAttributes<HTMLDivElement> {
|
|
23
|
+
}
|
|
24
|
+
export declare function CloseButton(props: Props): JSX.Element;
|
|
25
|
+
export {};
|
package/dist/src/renderer/components/layout/top-bar/top-bar-items/top-bar-items.injectable.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
2
|
+
declare const topBarItemsInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<import("mobx").IComputedValue<import("../top-bar-registration").TopBarRegistration[]>, unknown>, import("mobx").IComputedValue<import("../top-bar-registration").TopBarRegistration[]>, unknown>;
|
|
3
|
+
export default topBarItemsInjectable;
|
|
File without changes
|
|
@@ -19,7 +19,4 @@
|
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
21
|
import React from "react";
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export declare const TopBar: ({ children, ...rest }: Props) => JSX.Element;
|
|
25
|
-
export {};
|
|
22
|
+
export declare const TopBar: React.FC<{}>;
|
package/dist/src/renderer/components/layout/{__tests__/topbar.test.d.ts → top-bar/top-bar.test.d.ts}
RENAMED
|
File without changes
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import "./menu-actions.scss";
|
|
22
22
|
import React from "react";
|
|
23
23
|
import { IconProps } from "../icon";
|
|
24
|
-
import { MenuProps } from "
|
|
24
|
+
import { MenuProps } from "./menu";
|
|
25
25
|
export interface MenuActionsProps extends Partial<MenuProps> {
|
|
26
26
|
className?: string;
|
|
27
27
|
toolbar?: boolean;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
/// <reference types="lodash" />
|
|
22
22
|
import React from "react";
|
|
23
23
|
import { editor, Uri } from "monaco-editor";
|
|
24
|
-
import { MonacoTheme } from "./
|
|
24
|
+
import type { MonacoTheme } from "./monaco-themes";
|
|
25
25
|
export declare type MonacoEditorId = string;
|
|
26
26
|
export interface MonacoEditorProps {
|
|
27
27
|
id?: MonacoEditorId;
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
@@ -19,4 +19,7 @@
|
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
21
|
import { FormControlLabelProps } from "@material-ui/core/FormControlLabel";
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use <Switch/> instead from "../switch.tsx".
|
|
24
|
+
*/
|
|
22
25
|
export declare function FormSwitch(props: FormControlLabelProps): JSX.Element;
|
|
@@ -18,14 +18,9 @@
|
|
|
18
18
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
20
|
*/
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Item: React.ComponentType;
|
|
25
|
-
}
|
|
26
|
-
export interface TopBarRegistration {
|
|
27
|
-
components: TopBarComponents;
|
|
28
|
-
}
|
|
29
|
-
export declare class TopBarRegistry extends BaseRegistry<TopBarRegistration> {
|
|
21
|
+
import { ChangeEvent, HTMLProps } from "react";
|
|
22
|
+
interface Props extends Omit<HTMLProps<HTMLInputElement>, "onChange"> {
|
|
23
|
+
onChange?: (checked: boolean, event: ChangeEvent<HTMLInputElement>) => void;
|
|
30
24
|
}
|
|
25
|
+
export declare function Switch({ children, disabled, onChange, ...props }: Props): JSX.Element;
|
|
31
26
|
export {};
|