@eclipse-lyra/extension-sqleditor 0.7.29 → 0.7.31
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sql-api.d.ts +36 -0
- package/dist/sql-api.d.ts.map +1 -1
- package/dist/sql-editor.d.ts +5 -0
- package/dist/sql-editor.d.ts.map +1 -1
- package/dist/sql-extension-manager.d.ts +38 -0
- package/dist/sql-extension-manager.d.ts.map +1 -0
- package/dist/sqleditor-extension-DWGG2adG.js +937 -0
- package/dist/sqleditor-extension-DWGG2adG.js.map +1 -0
- package/package.json +1 -1
- package/dist/sqleditor-extension-BgrK4zpJ.js +0 -439
- package/dist/sqleditor-extension-BgrK4zpJ.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ extensionRegistry.registerExtension({
|
|
|
5
5
|
id: pkg.name,
|
|
6
6
|
name: "SQL Editor",
|
|
7
7
|
description: "Generic SQL editor with pluggable backends",
|
|
8
|
-
loader: () => import("./sqleditor-extension-
|
|
8
|
+
loader: () => import("./sqleditor-extension-DWGG2adG.js"),
|
|
9
9
|
icon: "database"
|
|
10
10
|
});
|
|
11
11
|
export {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/sql-api.ts","../src/index.ts"],"sourcesContent":["export const TARGET_SQL_ADAPTERS = 'system.sqladapters';\n\nexport interface SqlConnectionInfo {\n id: string | null;\n label: string;\n isDefault?: boolean;\n}\n\nexport interface SqlDatabaseExtensionInfo {\n id: string;\n label: string;\n description?: string;\n installed?: boolean;\n}\n\nexport interface SqlAdapterAction {\n id: string;\n label: string;\n icon?: string;\n run(): Promise<void>;\n}\n\nexport interface SqlDatabase {\n readonly engineId: string;\n readonly currentConnectionId: string | null;\n\n listConnections(): Promise<SqlConnectionInfo[]>;\n selectConnection(id: string | null): Promise<void>;\n runQuery(sql: string): Promise<{ columns: string[]; rows: unknown[][] }>;\n\n createConnection?(): Promise<SqlConnectionInfo | null>;\n deleteConnection?(id: string): Promise<void>;\n\n extraActions?: SqlAdapterAction[];\n\n listDbExtensions?(): Promise<SqlDatabaseExtensionInfo[]>;\n enableDbExtension?(id: string): Promise<void>;\n disableDbExtension?(id: string): Promise<void>;\n\n close(): Promise<void> | void;\n}\n\nexport interface SqlAdapterContribution {\n id: string;\n label: string;\n icon?: string;\n loader: () => Promise<SqlDatabase>;\n}\n\n","import { extensionRegistry } from '@eclipse-lyra/core';\nimport pkg from '../package.json';\nexport type {\n SqlConnectionInfo,\n SqlDatabaseExtensionInfo,\n SqlAdapterAction,\n SqlDatabase,\n SqlAdapterContribution,\n} from './sql-api';\nexport { TARGET_SQL_ADAPTERS } from './sql-api';\n\nextensionRegistry.registerExtension({\n id: pkg.name,\n name: 'SQL Editor',\n description: 'Generic SQL editor with pluggable backends',\n loader: () => import('./sqleditor-extension'),\n icon: 'database',\n});\n\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;ACWnC,kBAAkB,kBAAkB;AAAA,EAClC,IAAI,IAAI;AAAA,EACR,MAAM;AAAA,EACN,aAAa;AAAA,EACb,QAAQ,MAAM,OAAO,mCAAuB;AAAA,EAC5C,MAAM;AACR,CAAC;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/sql-api.ts","../src/index.ts"],"sourcesContent":["export const TARGET_SQL_ADAPTERS = 'system.sqladapters';\n\nexport interface SqlConnectionInfo {\n id: string | null;\n label: string;\n isDefault?: boolean;\n}\n\n/**\n * Describes a single database extension that can be managed through the SQL editor.\n *\n * Implementations should return the same identifiers from {@link SqlDatabase.listDbExtensions}\n * and accept them in {@link SqlDatabase.enableDbExtension} / {@link SqlDatabase.disableDbExtension}.\n */\nexport interface SqlDatabaseExtensionInfo {\n id: string;\n label: string;\n description?: string;\n /**\n * Indicates whether the extension is currently installed or enabled for the active database\n * connection. Omit or leave false when the adapter cannot determine the installed state.\n */\n installed?: boolean;\n}\n\n/**\n * Additional adapter-specific actions that can be surfaced by the SQL editor UI.\n *\n * These are optional and are not used by the generic extension manager, which relies instead\n * on the extension-related methods on {@link SqlDatabase}.\n */\nexport interface SqlAdapterAction {\n id: string;\n label: string;\n icon?: string;\n run(): Promise<void>;\n}\n\n/**\n * Abstraction for a concrete SQL engine that can be used from the SQL editor.\n *\n * All engines must implement connection management and query execution. Extension management\n * is optional but, when provided, follows the contract documented on the corresponding methods.\n */\nexport interface SqlDatabase {\n readonly engineId: string;\n readonly currentConnectionId: string | null;\n\n listConnections(): Promise<SqlConnectionInfo[]>;\n selectConnection(id: string | null): Promise<void>;\n runQuery(sql: string): Promise<{ columns: string[]; rows: unknown[][] }>;\n\n createConnection?(): Promise<SqlConnectionInfo | null>;\n deleteConnection?(id: string): Promise<void>;\n\n extraActions?: SqlAdapterAction[];\n\n /**\n * Return the list of extensions known to this engine for the currently selected connection.\n *\n * The list should be stable for the active connection and use {@link SqlDatabaseExtensionInfo.installed}\n * to mark which extensions are currently installed or enabled when that information is available.\n */\n listDbExtensions?(): Promise<SqlDatabaseExtensionInfo[]>;\n /**\n * Ensure that the extension identified by {@link SqlDatabaseExtensionInfo.id} is installed\n * and enabled for the current connection. It is safe for implementations to be idempotent.\n */\n enableDbExtension?(id: string): Promise<void>;\n /**\n * Disable or uninstall the given extension for the current connection, if the engine supports it.\n * Adapters that cannot disable extensions should omit this method entirely.\n */\n disableDbExtension?(id: string): Promise<void>;\n\n close(): Promise<void> | void;\n}\n\nexport interface SqlAdapterContribution {\n id: string;\n label: string;\n icon?: string;\n loader: () => Promise<SqlDatabase>;\n}\n\n","import { extensionRegistry } from '@eclipse-lyra/core';\nimport pkg from '../package.json';\nexport type {\n SqlConnectionInfo,\n SqlDatabaseExtensionInfo,\n SqlAdapterAction,\n SqlDatabase,\n SqlAdapterContribution,\n} from './sql-api';\nexport { TARGET_SQL_ADAPTERS } from './sql-api';\n\nextensionRegistry.registerExtension({\n id: pkg.name,\n name: 'SQL Editor',\n description: 'Generic SQL editor with pluggable backends',\n loader: () => import('./sqleditor-extension'),\n icon: 'database',\n});\n\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAsB;ACWnC,kBAAkB,kBAAkB;AAAA,EAClC,IAAI,IAAI;AAAA,EACR,MAAM;AAAA,EACN,aAAa;AAAA,EACb,QAAQ,MAAM,OAAO,mCAAuB;AAAA,EAC5C,MAAM;AACR,CAAC;"}
|
package/dist/sql-api.d.ts
CHANGED
|
@@ -4,18 +4,40 @@ export interface SqlConnectionInfo {
|
|
|
4
4
|
label: string;
|
|
5
5
|
isDefault?: boolean;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* Describes a single database extension that can be managed through the SQL editor.
|
|
9
|
+
*
|
|
10
|
+
* Implementations should return the same identifiers from {@link SqlDatabase.listDbExtensions}
|
|
11
|
+
* and accept them in {@link SqlDatabase.enableDbExtension} / {@link SqlDatabase.disableDbExtension}.
|
|
12
|
+
*/
|
|
7
13
|
export interface SqlDatabaseExtensionInfo {
|
|
8
14
|
id: string;
|
|
9
15
|
label: string;
|
|
10
16
|
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the extension is currently installed or enabled for the active database
|
|
19
|
+
* connection. Omit or leave false when the adapter cannot determine the installed state.
|
|
20
|
+
*/
|
|
11
21
|
installed?: boolean;
|
|
12
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Additional adapter-specific actions that can be surfaced by the SQL editor UI.
|
|
25
|
+
*
|
|
26
|
+
* These are optional and are not used by the generic extension manager, which relies instead
|
|
27
|
+
* on the extension-related methods on {@link SqlDatabase}.
|
|
28
|
+
*/
|
|
13
29
|
export interface SqlAdapterAction {
|
|
14
30
|
id: string;
|
|
15
31
|
label: string;
|
|
16
32
|
icon?: string;
|
|
17
33
|
run(): Promise<void>;
|
|
18
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Abstraction for a concrete SQL engine that can be used from the SQL editor.
|
|
37
|
+
*
|
|
38
|
+
* All engines must implement connection management and query execution. Extension management
|
|
39
|
+
* is optional but, when provided, follows the contract documented on the corresponding methods.
|
|
40
|
+
*/
|
|
19
41
|
export interface SqlDatabase {
|
|
20
42
|
readonly engineId: string;
|
|
21
43
|
readonly currentConnectionId: string | null;
|
|
@@ -28,8 +50,22 @@ export interface SqlDatabase {
|
|
|
28
50
|
createConnection?(): Promise<SqlConnectionInfo | null>;
|
|
29
51
|
deleteConnection?(id: string): Promise<void>;
|
|
30
52
|
extraActions?: SqlAdapterAction[];
|
|
53
|
+
/**
|
|
54
|
+
* Return the list of extensions known to this engine for the currently selected connection.
|
|
55
|
+
*
|
|
56
|
+
* The list should be stable for the active connection and use {@link SqlDatabaseExtensionInfo.installed}
|
|
57
|
+
* to mark which extensions are currently installed or enabled when that information is available.
|
|
58
|
+
*/
|
|
31
59
|
listDbExtensions?(): Promise<SqlDatabaseExtensionInfo[]>;
|
|
60
|
+
/**
|
|
61
|
+
* Ensure that the extension identified by {@link SqlDatabaseExtensionInfo.id} is installed
|
|
62
|
+
* and enabled for the current connection. It is safe for implementations to be idempotent.
|
|
63
|
+
*/
|
|
32
64
|
enableDbExtension?(id: string): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Disable or uninstall the given extension for the current connection, if the engine supports it.
|
|
67
|
+
* Adapters that cannot disable extensions should omit this method entirely.
|
|
68
|
+
*/
|
|
33
69
|
disableDbExtension?(id: string): Promise<void>;
|
|
34
70
|
close(): Promise<void> | void;
|
|
35
71
|
}
|
package/dist/sql-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-api.d.ts","sourceRoot":"","sources":["../src/sql-api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,uBAAuB,CAAC;AAExD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,O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AC;QAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC,CAAC;IAEzE,gBAAgB,CAAC,IAAI,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACvD,gBAAgB,CAAC,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAElC;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAAC;IACzD;;;OAGG;IACH,iBAAiB,CAAC,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C;;;OAGG;IACH,kBAAkB,CAAC,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC;CACpC"}
|
package/dist/sql-editor.d.ts
CHANGED
|
@@ -18,6 +18,9 @@ export declare class LyraSqlEditor extends LyraPart implements EditorContentProv
|
|
|
18
18
|
private refreshConnections;
|
|
19
19
|
private onEngineChange;
|
|
20
20
|
private onConnectionChange;
|
|
21
|
+
private onEngineDropdownSelect;
|
|
22
|
+
private onConnectionDropdownSelect;
|
|
23
|
+
private deleteConnectionById;
|
|
21
24
|
private _onContentChange;
|
|
22
25
|
save(): void;
|
|
23
26
|
protected doClose(): Promise<void>;
|
|
@@ -34,6 +37,8 @@ export declare class LyraSqlEditor extends LyraPart implements EditorContentProv
|
|
|
34
37
|
private clearRunningState;
|
|
35
38
|
private createConnection;
|
|
36
39
|
private deleteConnection;
|
|
40
|
+
private getCurrentConnectionLabel;
|
|
41
|
+
private openExtensionManager;
|
|
37
42
|
protected renderToolbar(): import('lit-html').TemplateResult<1>;
|
|
38
43
|
render(): import('lit-html').TemplateResult<1>;
|
|
39
44
|
static styles: import('lit').CSSResult;
|
package/dist/sql-editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-editor.d.ts","sourceRoot":"","sources":["../src/sql-editor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,KAAK,qBAAqB,EAA0I,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"sql-editor.d.ts","sourceRoot":"","sources":["../src/sql-editor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,KAAK,qBAAqB,EAA0I,MAAM,oBAAoB,CAAC;AAmBpO,qBACa,aAAc,SAAQ,QAAS,YAAW,qBAAqB;IAEnE,KAAK,CAAC,EAAE,WAAW,CAAC;IAGpB,QAAQ,UAAS;IAGxB,OAAO,CAAC,cAAc,CAAiC;IAGvD,OAAO,CAAC,UAAU,CAAiC;IAGnD,OAAO,CAAC,OAAO,CAAS;IAGxB,OAAO,CAAC,iBAAiB,CAAgC;IAGzD,OAAO,CAAC,gBAAgB,CAAuB;IAG/C,OAAO,CAAC,oBAAoB,CAA2B;IAGvD,OAAO,CAAC,oBAAoB,CAAuB;IAEnD,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,SAAS,CAAkC;IACnD,OAAO,CAAC,6BAA6B,CAAC,CAAS;cAE/B,QAAQ;YAeV,eAAe;YAqBf,iBAAiB;YAmBjB,kBAAkB;YAmClB,cAAc;YAUd,kBAAkB;YAelB,sBAAsB;YAWtB,0BAA0B;YAgB1B,oBAAoB;IAsBlC,OAAO,CAAC,gBAAgB,CAEtB;IAEF,IAAI,IAAI,IAAI;cAMI,OAAO;IAYhB,WAAW,IAAI,MAAM,GAAG,IAAI;IAI5B,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIjC,UAAU,IAAI,MAAM,GAAG,IAAI;IAI3B,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7B,UAAU,CAAC,KAAK,GAAE,MAAU,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAI7E,WAAW,IAAI,MAAM,GAAG,IAAI;YAIrB,QAAQ;IAwDtB,OAAO,CAAC,iBAAiB;YAOX,gBAAgB;YAehB,gBAAgB;IAqB9B,OAAO,CAAC,yBAAyB;YAQnB,oBAAoB;IAqBlC,SAAS,CAAC,aAAa;IAqIvB,MAAM;IAmBN,MAAM,CAAC,MAAM,0BA+BX;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { SqlDatabase } from '@eclipse-lyra/extension-sqleditor';
|
|
3
|
+
export interface SqlExtensionManagerOptions {
|
|
4
|
+
db: SqlDatabase | null;
|
|
5
|
+
databaseLabel: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class LyraSqlExtensionManager extends LitElement {
|
|
8
|
+
open: boolean;
|
|
9
|
+
db: SqlDatabase | null;
|
|
10
|
+
databaseLabel: string;
|
|
11
|
+
private extensions;
|
|
12
|
+
private loading;
|
|
13
|
+
private updatingId;
|
|
14
|
+
private error;
|
|
15
|
+
private filterText;
|
|
16
|
+
configure(options: SqlExtensionManagerOptions): void;
|
|
17
|
+
show(): void;
|
|
18
|
+
hide(): void;
|
|
19
|
+
private refreshExtensions;
|
|
20
|
+
private enableExtension;
|
|
21
|
+
private disableExtension;
|
|
22
|
+
private renderExtensionRow;
|
|
23
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
24
|
+
static styles: import('lit').CSSResult;
|
|
25
|
+
}
|
|
26
|
+
declare class SqlExtensionManagerService {
|
|
27
|
+
private managerInstance;
|
|
28
|
+
showExtensionManager(options: SqlExtensionManagerOptions): LyraSqlExtensionManager | null;
|
|
29
|
+
getManager(): LyraSqlExtensionManager | null;
|
|
30
|
+
}
|
|
31
|
+
export declare const sqlExtensionManagerService: SqlExtensionManagerService;
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'lyra-sql-extension-manager': LyraSqlExtensionManager;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=sql-extension-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sql-extension-manager.d.ts","sourceRoot":"","sources":["../src/sql-extension-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,WAAW,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBACa,uBAAwB,SAAQ,UAAU;IAErD,IAAI,UAAS;IAGb,EAAE,EAAE,WAAW,GAAG,IAAI,CAAQ;IAG9B,aAAa,SAAM;IAGnB,OAAO,CAAC,UAAU,CAAkC;IAGpD,OAAO,CAAC,OAAO,CAAS;IAGxB,OAAO,CAAC,UAAU,CAAuB;IAGzC,OAAO,CAAC,KAAK,CAAuB;IAGpC,OAAO,CAAC,UAAU,CAAM;IAEjB,SAAS,CAAC,OAAO,EAAE,0BAA0B,GAAG,IAAI;IAQpD,IAAI,IAAI,IAAI;IAKZ,IAAI,IAAI,IAAI;YAIL,iBAAiB;YAsBjB,eAAe;YAmBf,gBAAgB;IAmB9B,OAAO,CAAC,kBAAkB;IAqD1B,MAAM;IAgGN,MAAM,CAAC,MAAM,0BAsGX;CACH;AAED,cAAM,0BAA0B;IAC9B,OAAO,CAAC,eAAe,CAAwC;IAExD,oBAAoB,CACzB,OAAO,EAAE,0BAA0B,GAClC,uBAAuB,GAAG,IAAI;IAgB1B,UAAU,IAAI,uBAAuB,GAAG,IAAI;CAGpD;AAED,eAAO,MAAM,0BAA0B,4BAAmC,CAAC;AAG3E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,uBAAuB,CAAC;KACvD;CACF"}
|