@k8slens/extensions 5.3.0-git.fe4a56ba59.0 → 5.3.1-git.4f33dfdfd5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/common/__tests__/base-store.test.d.ts +21 -0
- package/dist/src/common/base-store.d.ts +3 -2
- package/dist/src/common/cluster-store.d.ts +1 -0
- package/dist/src/common/hotbar-store.d.ts +1 -0
- package/dist/src/common/k8s-api/api-manager.d.ts +1 -1
- package/dist/src/common/user-store/user-store.d.ts +1 -0
- package/dist/src/common/utils/paths.d.ts +1 -0
- package/dist/src/common/weblink-store.d.ts +1 -0
- package/dist/src/extensions/extension-api.js +23 -23
- package/dist/src/extensions/extension-store.d.ts +1 -0
- package/dist/src/extensions/extensions-store.d.ts +1 -0
- package/dist/src/extensions/registries/workloads-overview-detail-registry.d.ts +6 -3
- package/dist/src/main/context-handler.d.ts +8 -4
- package/dist/src/main/extension-filesystem.d.ts +1 -0
- package/dist/src/main/prometheus/helm.d.ts +1 -1
- package/dist/src/main/prometheus/lens.d.ts +1 -1
- package/dist/src/main/prometheus/operator.d.ts +1 -1
- package/dist/src/main/prometheus/provider-registry.d.ts +2 -1
- package/dist/src/main/prometheus/stacklight.d.ts +1 -1
- package/dist/src/main/shell-session/shell-session.d.ts +2 -1
- package/dist/src/renderer/bootstrap.d.ts +1 -1
- package/dist/src/renderer/{components/app.d.ts → cluster-frame.d.ts} +6 -4
- package/dist/src/renderer/components/+workloads-overview/overview.d.ts +3 -0
- package/dist/src/renderer/components/animate/animate.d.ts +3 -2
- package/dist/src/renderer/components/cluster-manager/cluster-status.d.ts +3 -2
- package/dist/src/renderer/components/cluster-manager/lens-views.d.ts +2 -4
- package/dist/src/renderer/components/cluster-settings/components/__tests__/cluster-local-terminal-settings.test.d.ts +21 -0
- package/dist/src/renderer/components/cluster-settings/components/{cluster-home-dir-setting.d.ts → cluster-local-terminal-settings.d.ts} +1 -12
- package/dist/src/renderer/components/cluster-settings/components/index.d.ts +1 -1
- package/dist/src/renderer/components/notifications/notifications.d.ts +3 -3
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/initializers/kube-object-detail-registry.d.ts +1 -1
- package/dist/src/renderer/{lens-app.d.ts → root-frame.d.ts} +3 -1
- package/package.json +1 -1
@@ -21,6 +21,7 @@
|
|
21
21
|
import { BaseStore } from "../common/base-store";
|
22
22
|
import type { LensExtension } from "./lens-extension";
|
23
23
|
export declare abstract class ExtensionStore<T> extends BaseStore<T> {
|
24
|
+
readonly displayName = "ExtensionStore<T>";
|
24
25
|
protected extension: LensExtension;
|
25
26
|
loadExtension(extension: LensExtension): void;
|
26
27
|
load(): void;
|
@@ -28,6 +28,7 @@ export interface LensExtensionState {
|
|
28
28
|
name: string;
|
29
29
|
}
|
30
30
|
export declare class ExtensionsStore extends BaseStore<LensExtensionsStoreModel> {
|
31
|
+
readonly displayName = "ExtensionsStore";
|
31
32
|
constructor();
|
32
33
|
get enabledExtensions(): string[];
|
33
34
|
protected state: import("mobx").ObservableMap<string, LensExtensionState>;
|
@@ -21,12 +21,15 @@
|
|
21
21
|
import type React from "react";
|
22
22
|
import { BaseRegistry } from "./base-registry";
|
23
23
|
export interface WorkloadsOverviewDetailComponents {
|
24
|
-
Details: React.ComponentType<
|
24
|
+
Details: React.ComponentType<{}>;
|
25
25
|
}
|
26
26
|
export interface WorkloadsOverviewDetailRegistration {
|
27
27
|
components: WorkloadsOverviewDetailComponents;
|
28
28
|
priority?: number;
|
29
29
|
}
|
30
|
-
|
31
|
-
|
30
|
+
declare type RegisteredWorkloadsOverviewDetail = Required<WorkloadsOverviewDetailRegistration>;
|
31
|
+
export declare class WorkloadsOverviewDetailRegistry extends BaseRegistry<WorkloadsOverviewDetailRegistration, RegisteredWorkloadsOverviewDetail> {
|
32
|
+
getItems(): Required<WorkloadsOverviewDetailRegistration>[];
|
33
|
+
protected getRegisteredItem(item: WorkloadsOverviewDetailRegistration): RegisteredWorkloadsOverviewDetail;
|
32
34
|
}
|
35
|
+
export {};
|
@@ -25,6 +25,10 @@ import type { Cluster } from "./cluster";
|
|
25
25
|
import type httpProxy from "http-proxy";
|
26
26
|
import { UrlWithStringQuery } from "url";
|
27
27
|
import { KubeAuthProxy } from "./kube-auth-proxy";
|
28
|
+
export interface PrometheusDetails {
|
29
|
+
prometheusPath: string;
|
30
|
+
provider: PrometheusProvider;
|
31
|
+
}
|
28
32
|
export declare class ContextHandler {
|
29
33
|
protected cluster: Cluster;
|
30
34
|
clusterUrl: UrlWithStringQuery;
|
@@ -34,11 +38,11 @@ export declare class ContextHandler {
|
|
34
38
|
protected prometheusPath: string | null;
|
35
39
|
constructor(cluster: Cluster);
|
36
40
|
setupPrometheus(preferences?: ClusterPrometheusPreferences): void;
|
37
|
-
|
38
|
-
|
41
|
+
getPrometheusDetails(): Promise<PrometheusDetails>;
|
42
|
+
protected ensurePrometheusPath({ service, namespace, port }: PrometheusService): string;
|
43
|
+
protected ensurePrometheusProvider(service: PrometheusService): PrometheusProvider;
|
39
44
|
protected listPotentialProviders(): PrometheusProvider[];
|
40
|
-
getPrometheusService(): Promise<PrometheusService
|
41
|
-
getPrometheusPath(): Promise<string>;
|
45
|
+
protected getPrometheusService(): Promise<PrometheusService>;
|
42
46
|
resolveAuthProxyUrl(): Promise<string>;
|
43
47
|
getApiTarget(isLongRunningRequest?: boolean): Promise<httpProxy.ServerOptions>;
|
44
48
|
protected newApiTarget(timeout: number): Promise<httpProxy.ServerOptions>;
|
@@ -23,6 +23,7 @@ interface FSProvisionModel {
|
|
23
23
|
extensions: Record<string, string>;
|
24
24
|
}
|
25
25
|
export declare class FilesystemProvisionerStore extends BaseStore<FSProvisionModel> {
|
26
|
+
readonly displayName = "FilesystemProvisionerStore";
|
26
27
|
registeredExtensions: import("mobx").ObservableMap<string, string>;
|
27
28
|
constructor();
|
28
29
|
/**
|
@@ -26,5 +26,5 @@ export declare class PrometheusHelm extends PrometheusLens {
|
|
26
26
|
readonly name: string;
|
27
27
|
readonly rateAccuracy: string;
|
28
28
|
readonly isConfigurable: boolean;
|
29
|
-
getPrometheusService(client: CoreV1Api): Promise<PrometheusService
|
29
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
30
30
|
}
|
@@ -25,6 +25,6 @@ export declare class PrometheusLens extends PrometheusProvider {
|
|
25
25
|
readonly name: string;
|
26
26
|
readonly rateAccuracy: string;
|
27
27
|
readonly isConfigurable: boolean;
|
28
|
-
getPrometheusService(client: CoreV1Api): Promise<PrometheusService
|
28
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
29
29
|
getQuery(opts: Record<string, string>, queryName: string): string;
|
30
30
|
}
|
@@ -25,6 +25,6 @@ export declare class PrometheusOperator extends PrometheusProvider {
|
|
25
25
|
readonly id: string;
|
26
26
|
readonly name: string;
|
27
27
|
readonly isConfigurable: boolean;
|
28
|
-
getPrometheusService(client: CoreV1Api): Promise<PrometheusService
|
28
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
29
29
|
getQuery(opts: Record<string, string>, queryName: string): string;
|
30
30
|
}
|
@@ -34,7 +34,8 @@ export declare abstract class PrometheusProvider {
|
|
34
34
|
abstract getQuery(opts: Record<string, string>, queryName: string): string;
|
35
35
|
abstract getPrometheusService(client: CoreV1Api): Promise<PrometheusService | undefined>;
|
36
36
|
protected bytesSent(ingress: string, namespace: string, statuses: string): string;
|
37
|
-
protected
|
37
|
+
protected getFirstNamespacedService(client: CoreV1Api, ...selectors: string[]): Promise<PrometheusService>;
|
38
|
+
protected getNamespacedService(client: CoreV1Api, name: string, namespace: string): Promise<PrometheusService>;
|
38
39
|
}
|
39
40
|
export declare class PrometheusProviderRegistry extends Singleton {
|
40
41
|
providers: Map<string, PrometheusProvider>;
|
@@ -25,6 +25,6 @@ export declare class PrometheusStacklight extends PrometheusProvider {
|
|
25
25
|
readonly name: string;
|
26
26
|
readonly rateAccuracy: string;
|
27
27
|
readonly isConfigurable: boolean;
|
28
|
-
getPrometheusService(client: CoreV1Api): Promise<PrometheusService
|
28
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
29
29
|
getQuery(opts: Record<string, string>, queryName: string): string;
|
30
30
|
}
|
@@ -125,7 +125,8 @@ export declare abstract class ShellSession {
|
|
125
125
|
};
|
126
126
|
constructor(websocket: WebSocket, cluster: Cluster, terminalId: string);
|
127
127
|
protected send(message: TerminalMessage): void;
|
128
|
-
protected
|
128
|
+
protected getCwd(env: Record<string, string>): Promise<string>;
|
129
|
+
protected openShellProcess(shell: string, args: string[], env: Record<string, string>): Promise<void>;
|
129
130
|
protected getPathEntries(): string[];
|
130
131
|
protected getCachedShellEnv(): Promise<Record<string, string>>;
|
131
132
|
protected getShellEnv(): Promise<Record<string, any>>;
|
@@ -27,7 +27,7 @@ import * as ReactRouterDom from "react-router-dom";
|
|
27
27
|
import * as LensExtensionsCommonApi from "../extensions/common-api";
|
28
28
|
import * as LensExtensionsRendererApi from "../extensions/renderer-api";
|
29
29
|
declare type AppComponent = React.ComponentType & {
|
30
|
-
init
|
30
|
+
init(rootElem: HTMLElement): Promise<void>;
|
31
31
|
};
|
32
32
|
export declare function bootstrap(comp: () => Promise<AppComponent>): Promise<void>;
|
33
33
|
/**
|
@@ -19,11 +19,13 @@
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
20
|
*/
|
21
21
|
import React from "react";
|
22
|
-
import { ClusterPageMenuRegistration } from "
|
23
|
-
import { TabLayoutRoute } from "./layout/tab-layout";
|
24
|
-
import type { ClusterId } from "
|
25
|
-
export declare class
|
22
|
+
import { ClusterPageMenuRegistration } from "../extensions/registries";
|
23
|
+
import { TabLayoutRoute } from "./components/layout/tab-layout";
|
24
|
+
import type { ClusterId } from "../common/cluster-types";
|
25
|
+
export declare class ClusterFrame extends React.Component {
|
26
26
|
static clusterId: ClusterId;
|
27
|
+
static readonly logPrefix = "[CLUSTER-FRAME]:";
|
28
|
+
static displayName: string;
|
27
29
|
constructor(props: {});
|
28
30
|
static init(rootElem: HTMLElement): Promise<void>;
|
29
31
|
componentDidMount(): void;
|
@@ -25,7 +25,10 @@ import type { WorkloadsOverviewRouteParams } from "../../../common/routes";
|
|
25
25
|
interface Props extends RouteComponentProps<WorkloadsOverviewRouteParams> {
|
26
26
|
}
|
27
27
|
export declare class WorkloadsOverview extends React.Component<Props> {
|
28
|
+
loadErrors: string[];
|
29
|
+
constructor(props: Props);
|
28
30
|
componentDidMount(): void;
|
31
|
+
renderLoadErrors(): JSX.Element;
|
29
32
|
render(): JSX.Element;
|
30
33
|
}
|
31
34
|
export {};
|
@@ -26,9 +26,10 @@ export interface AnimateProps {
|
|
26
26
|
enter?: boolean;
|
27
27
|
onEnter?: () => void;
|
28
28
|
onLeave?: () => void;
|
29
|
+
enterDuration?: number;
|
30
|
+
leaveDuration?: number;
|
29
31
|
}
|
30
32
|
export declare class Animate extends React.Component<AnimateProps> {
|
31
|
-
static VISIBILITY_DELAY_MS: number;
|
32
33
|
static defaultProps: AnimateProps;
|
33
34
|
isVisible: boolean;
|
34
35
|
statusClassName: {
|
@@ -40,7 +41,7 @@ export declare class Animate extends React.Component<AnimateProps> {
|
|
40
41
|
componentDidMount(): void;
|
41
42
|
enter(): void;
|
42
43
|
leave(): void;
|
44
|
+
resetAfterLeaveDuration(): void;
|
43
45
|
reset(): void;
|
44
|
-
onTransitionEnd(evt: React.TransitionEvent): void;
|
45
46
|
render(): React.ReactElement<React.HTMLAttributes<any>, string | React.JSXElementConstructor<any>>;
|
46
47
|
}
|
@@ -21,16 +21,17 @@
|
|
21
21
|
import React from "react";
|
22
22
|
import type { Cluster } from "../../../main/cluster";
|
23
23
|
import { IClassName } from "../../utils";
|
24
|
-
import type {
|
24
|
+
import type { KubeAuthUpdate } from "../../../common/cluster-types";
|
25
25
|
interface Props {
|
26
26
|
className?: IClassName;
|
27
|
-
|
27
|
+
cluster: Cluster;
|
28
28
|
}
|
29
29
|
export declare class ClusterStatus extends React.Component<Props> {
|
30
30
|
authOutput: KubeAuthUpdate[];
|
31
31
|
isReconnecting: boolean;
|
32
32
|
constructor(props: Props);
|
33
33
|
get cluster(): Cluster;
|
34
|
+
get entity(): import("../../api/catalog-entity").CatalogEntity<import("../../../common/catalog").CatalogEntityMetadata, import("../../../common/catalog").CatalogEntityStatus, import("../../../common/catalog").CatalogEntitySpec>;
|
34
35
|
get hasErrors(): boolean;
|
35
36
|
componentDidMount(): void;
|
36
37
|
reconnect: () => Promise<void>;
|
@@ -26,12 +26,10 @@ export interface LensView {
|
|
26
26
|
}
|
27
27
|
export declare class ClusterFrameHandler extends Singleton {
|
28
28
|
private views;
|
29
|
-
private visibleCluster;
|
30
29
|
constructor();
|
31
30
|
hasLoadedView(clusterId: string): boolean;
|
32
31
|
initView(clusterId: ClusterId): void;
|
33
|
-
setVisibleCluster(clusterId: ClusterId): void;
|
34
|
-
clearVisibleCluster(): void;
|
35
32
|
private prevVisibleClusterChange?;
|
36
|
-
|
33
|
+
setVisibleCluster(clusterId: ClusterId | null): void;
|
34
|
+
clearVisibleCluster(): void;
|
37
35
|
}
|
@@ -0,0 +1,21 @@
|
|
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
|
+
export {};
|
@@ -18,20 +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 React from "react";
|
22
21
|
import type { Cluster } from "../../../../main/cluster";
|
23
22
|
interface Props {
|
24
23
|
cluster: Cluster;
|
25
24
|
}
|
26
|
-
export declare
|
27
|
-
directory: string;
|
28
|
-
defaultNamespace: string;
|
29
|
-
constructor(props: Props);
|
30
|
-
componentDidMount(): Promise<void>;
|
31
|
-
saveCWD: () => void;
|
32
|
-
onChangeTerminalCWD: (value: string) => void;
|
33
|
-
saveDefaultNamespace: () => void;
|
34
|
-
onChangeDefaultNamespace: (value: string) => void;
|
35
|
-
render(): JSX.Element;
|
36
|
-
}
|
25
|
+
export declare const ClusterLocalTerminalSetting: ({ cluster }: Props) => JSX.Element;
|
37
26
|
export {};
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
20
|
*/
|
21
21
|
export * from "./cluster-accessible-namespaces";
|
22
|
-
export * from "./cluster-
|
22
|
+
export * from "./cluster-local-terminal-settings";
|
23
23
|
export * from "./cluster-kubeconfig";
|
24
24
|
export * from "./cluster-metrics-setting";
|
25
25
|
export * from "./cluster-name-setting";
|
@@ -23,9 +23,9 @@ import React from "react";
|
|
23
23
|
import { Notification, NotificationMessage } from "./notifications.store";
|
24
24
|
export declare class Notifications extends React.Component {
|
25
25
|
elem: HTMLElement;
|
26
|
-
static ok(message: NotificationMessage): void;
|
27
|
-
static error(message: NotificationMessage, customOpts?: Partial<Notification>): void;
|
28
|
-
static shortInfo(message: NotificationMessage, customOpts?: Partial<Notification>): void;
|
26
|
+
static ok(message: NotificationMessage): () => void;
|
27
|
+
static error(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
|
28
|
+
static shortInfo(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
|
29
29
|
static info(message: NotificationMessage, customOpts?: Partial<Notification>): () => void;
|
30
30
|
componentDidMount(): void;
|
31
31
|
scrollToLastNotification(): void;
|
@@ -26,5 +26,5 @@ interface Styles extends Partial<Record<SwitchClassKey, string>> {
|
|
26
26
|
interface Props extends SwitchProps {
|
27
27
|
classes: Styles;
|
28
28
|
}
|
29
|
-
export declare const Switcher: React.ComponentType<Pick<Props, "name" | "key" | "id" | "value" | "type" | "size" | "resource" | "style" | "dir" | "form" | "slot" | "title" | "color" | "className" | "prefix" | "defaultValue" | "hidden" | "ref" | "disabled" | "onDrag" | "onDoubleClick" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "role" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoFocus" | "icon" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "inputProps" | "action" | "
|
29
|
+
export declare const Switcher: React.ComponentType<Pick<Props, "name" | "key" | "id" | "value" | "type" | "size" | "resource" | "style" | "dir" | "form" | "slot" | "title" | "color" | "className" | "prefix" | "defaultValue" | "hidden" | "ref" | "disabled" | "onDrag" | "onDoubleClick" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "role" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoFocus" | "icon" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "inputProps" | "action" | "checkedIcon" | "innerRef" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "inputRef"> & import("@material-ui/core/styles").StyledComponentProps<"track" | "checked" | "root" | "switchBase" | "thumb" | "focusVisible">>;
|
30
30
|
export {};
|
@@ -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
|
-
export declare function
|
21
|
+
export declare function initKubeObjectDetailRegistry(): void;
|
@@ -19,7 +19,9 @@
|
|
19
19
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
20
|
*/
|
21
21
|
import React from "react";
|
22
|
-
export declare class
|
22
|
+
export declare class RootFrame extends React.Component {
|
23
|
+
static readonly logPrefix = "[ROOT-FRAME]:";
|
24
|
+
static displayName: string;
|
23
25
|
static init(rootElem: HTMLElement): Promise<void>;
|
24
26
|
constructor(props: {});
|
25
27
|
componentDidMount(): void;
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@k8slens/extensions",
|
3
3
|
"productName": "OpenLens extensions",
|
4
4
|
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
|
5
|
-
"version": "5.3.
|
5
|
+
"version": "5.3.1-git.4f33dfdfd5.0",
|
6
6
|
"copyright": "© 2021 OpenLens Authors",
|
7
7
|
"license": "MIT",
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|