@elixir-cloud/trs-filer 2.0.0-alpha.1 → 2.0.0-alpha.2
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/chunks/{chunk.5A4EA5NE.js → chunk.FZDL764O.js} +1 -15
- package/dist/chunks/{chunk.ULOGEPYW.js → chunk.II7PIADM.js} +2 -3
- package/dist/chunks/{chunk.C5TPOPDW.js → chunk.ZZTQWNKT.js} +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/tool-create/index.js +2 -2
- package/dist/components/tool-create/tool-create.d.ts +1 -2
- package/dist/components/tool-create/tool-create.js +1 -1
- package/dist/custom-elements.json +3 -12
- package/dist/events/ecc-tool-create-success.d.ts +5 -1
- package/dist/events/index.d.ts +1 -2
- package/dist/index.js +2 -2
- package/dist/react/ecc-client-elixir-trs-tool-create/index.d.ts +1 -5
- package/dist/react/ecc-client-elixir-trs-tool-create/index.js +2 -2
- package/dist/react/index.js +2 -2
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +4 -12
- package/package.json +1 -1
- package/dist/events/ecc-tool-created.d.ts +0 -6
|
@@ -622,13 +622,6 @@ var ECCClientElixirTrsToolCreate = class extends LitElement {
|
|
|
622
622
|
});
|
|
623
623
|
await Promise.all(filePromises);
|
|
624
624
|
this.versions = updatedVersions;
|
|
625
|
-
this.dispatchEvent(
|
|
626
|
-
new CustomEvent("ecc-tool-create-success", {
|
|
627
|
-
detail: { message: `Successfully extracted ${extractedCount} files from ZIP archive` },
|
|
628
|
-
bubbles: true,
|
|
629
|
-
composed: true
|
|
630
|
-
})
|
|
631
|
-
);
|
|
632
625
|
input.value = "";
|
|
633
626
|
} catch (error) {
|
|
634
627
|
console.error("ZIP extraction error details:", error);
|
|
@@ -854,14 +847,7 @@ var ECCClientElixirTrsToolCreate = class extends LitElement {
|
|
|
854
847
|
const successMessage = `Tool created successfully with ID: ${toolId}`;
|
|
855
848
|
this.dispatchEvent(
|
|
856
849
|
new CustomEvent("ecc-tool-create-success", {
|
|
857
|
-
detail: { message: successMessage },
|
|
858
|
-
bubbles: true,
|
|
859
|
-
composed: true
|
|
860
|
-
})
|
|
861
|
-
);
|
|
862
|
-
this.dispatchEvent(
|
|
863
|
-
new CustomEvent("ecc-tool-created", {
|
|
864
|
-
detail: { toolId, toolData },
|
|
850
|
+
detail: { toolId, toolData, message: successMessage },
|
|
865
851
|
bubbles: true,
|
|
866
852
|
composed: true
|
|
867
853
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ECCClientElixirTrsToolCreate } from './chunk.
|
|
1
|
+
import { ECCClientElixirTrsToolCreate } from './chunk.FZDL764O.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { createComponent } from '@lit/react';
|
|
4
4
|
|
|
@@ -13,8 +13,7 @@ var reactWrapper = createComponent({
|
|
|
13
13
|
events: {
|
|
14
14
|
onEccToolCreateValidationError: "ecc-tool-create-validation-error",
|
|
15
15
|
onEccToolCreateError: "ecc-tool-create-error",
|
|
16
|
-
onEccToolCreateSuccess: "ecc-tool-create-success"
|
|
17
|
-
onEccToolCreated: "ecc-tool-created"
|
|
16
|
+
onEccToolCreateSuccess: "ecc-tool-create-success"
|
|
18
17
|
},
|
|
19
18
|
displayName: "EccClientElixirTrsToolCreate"
|
|
20
19
|
});
|
package/dist/components/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { tool_create_default as default } from '../../chunks/chunk.
|
|
2
|
-
export { ECCClientElixirTrsToolCreate } from '../../chunks/chunk.
|
|
1
|
+
export { tool_create_default as default } from '../../chunks/chunk.ZZTQWNKT.js';
|
|
2
|
+
export { ECCClientElixirTrsToolCreate } from '../../chunks/chunk.FZDL764O.js';
|
|
3
3
|
import '../../chunks/chunk.Q5GOJN3Z.js';
|
|
@@ -19,9 +19,8 @@ import "@elixir-cloud/design/components/collapsible/index.js";
|
|
|
19
19
|
* @property {string} baseUrl - Base URL of the TRS instance/gateway
|
|
20
20
|
* @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
|
|
21
21
|
*
|
|
22
|
-
* @fires ecc-tool-
|
|
22
|
+
* @fires ecc-tool-create-success - Fired when a tool is successfully created (includes toolId, toolData, and success message)
|
|
23
23
|
* @fires ecc-tool-create-error - Fired when tool creation fails
|
|
24
|
-
* @fires ecc-tool-create-success - Fired when a tool is successfully created (includes success message)
|
|
25
24
|
* @fires ecc-tool-create-validation-error - Fired when there are validation errors during tool creation
|
|
26
25
|
*/
|
|
27
26
|
export declare class ECCClientElixirTrsToolCreate extends LitElement {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ECCClientElixirTrsToolCreate, tool_create_default as default } from '../../chunks/chunk.
|
|
1
|
+
export { ECCClientElixirTrsToolCreate, tool_create_default as default } from '../../chunks/chunk.FZDL764O.js';
|
|
2
2
|
import '../../chunks/chunk.Q5GOJN3Z.js';
|
|
@@ -758,18 +758,9 @@
|
|
|
758
758
|
"type": {
|
|
759
759
|
"text": "CustomEvent"
|
|
760
760
|
},
|
|
761
|
-
"description": "Fired when a tool is successfully created (includes success message)",
|
|
761
|
+
"description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)",
|
|
762
762
|
"reactName": "onEccToolCreateSuccess",
|
|
763
763
|
"eventName": "EccToolCreateSuccessEvent"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"name": "ecc-tool-created",
|
|
767
|
-
"type": {
|
|
768
|
-
"text": "CustomEvent"
|
|
769
|
-
},
|
|
770
|
-
"description": "Fired when a tool is successfully created",
|
|
771
|
-
"reactName": "onEccToolCreated",
|
|
772
|
-
"eventName": "EccToolCreatedEvent"
|
|
773
764
|
}
|
|
774
765
|
],
|
|
775
766
|
"superclass": {
|
|
@@ -777,7 +768,7 @@
|
|
|
777
768
|
"package": "lit"
|
|
778
769
|
},
|
|
779
770
|
"summary": "Component for creating new tools in TRS-Filer",
|
|
780
|
-
"jsDoc": "/**\n * @summary Component for creating new tools in TRS-Filer\n * @since 2.0.0\n *\n * @property {string} baseUrl - Base URL of the TRS instance/gateway\n * @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)\n *\n * @fires ecc-tool-
|
|
771
|
+
"jsDoc": "/**\n * @summary Component for creating new tools in TRS-Filer\n * @since 2.0.0\n *\n * @property {string} baseUrl - Base URL of the TRS instance/gateway\n * @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)\n *\n * @fires ecc-tool-create-success - Fired when a tool is successfully created (includes toolId, toolData, and success message)\n * @fires ecc-tool-create-error - Fired when tool creation fails\n * @fires ecc-tool-create-validation-error - Fired when there are validation errors during tool creation\n */",
|
|
781
772
|
"tagName": "ecc-client-elixir-trs-tool-create",
|
|
782
773
|
"customElement": true
|
|
783
774
|
}
|
|
@@ -826,7 +817,7 @@
|
|
|
826
817
|
"package": {
|
|
827
818
|
"name": "@elixir-cloud/trs-filer",
|
|
828
819
|
"description": "Web Component for interacting with Elixir TRS Filer",
|
|
829
|
-
"version": "2.0.0-alpha.
|
|
820
|
+
"version": "2.0.0-alpha.2",
|
|
830
821
|
"license": "Apache-2.0"
|
|
831
822
|
}
|
|
832
823
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export type EccToolCreateSuccessEvent = CustomEvent<
|
|
1
|
+
export type EccToolCreateSuccessEvent = CustomEvent<{
|
|
2
|
+
toolId: string;
|
|
3
|
+
toolData: Record<string, any>;
|
|
4
|
+
message: string;
|
|
5
|
+
}>;
|
|
2
6
|
declare global {
|
|
3
7
|
interface GlobalEventHandlersEventMap {
|
|
4
8
|
"ecc-tool-create-success": EccToolCreateSuccessEvent;
|
package/dist/events/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { EccToolsChangeEvent } from "./ecc-tools-change.js";
|
|
2
2
|
export type { EccToolsClickEvent } from "./ecc-tools-click.js";
|
|
3
|
-
export type { EccToolCreatedEvent } from "./ecc-tool-created.js";
|
|
4
|
-
export type { EccToolCreateErrorEvent } from "./ecc-tool-create-error.js";
|
|
5
3
|
export type { EccToolCreateSuccessEvent } from "./ecc-tool-create-success.js";
|
|
4
|
+
export type { EccToolCreateErrorEvent } from "./ecc-tool-create-error.js";
|
|
6
5
|
export type { EccToolCreateValidationErrorEvent } from "./ecc-tool-create-validation-error.js";
|
package/dist/index.js
CHANGED
|
@@ -3,11 +3,9 @@ import type { EventName } from "@lit/react";
|
|
|
3
3
|
import type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
|
|
4
4
|
import type { EccToolCreateErrorEvent } from "../../events/index.js";
|
|
5
5
|
import type { EccToolCreateSuccessEvent } from "../../events/index.js";
|
|
6
|
-
import type { EccToolCreatedEvent } from "../../events/index.js";
|
|
7
6
|
export type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
|
|
8
7
|
export type { EccToolCreateErrorEvent } from "../../events/index.js";
|
|
9
8
|
export type { EccToolCreateSuccessEvent } from "../../events/index.js";
|
|
10
|
-
export type { EccToolCreatedEvent } from "../../events/index.js";
|
|
11
9
|
/**
|
|
12
10
|
* @summary Component for creating new tools in TRS-Filer
|
|
13
11
|
* @since 2.0.0
|
|
@@ -15,15 +13,13 @@ export type { EccToolCreatedEvent } from "../../events/index.js";
|
|
|
15
13
|
* @property {string} baseUrl - Base URL of the TRS instance/gateway
|
|
16
14
|
* @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
|
|
17
15
|
*
|
|
18
|
-
* @fires ecc-tool-
|
|
16
|
+
* @fires ecc-tool-create-success - Fired when a tool is successfully created (includes toolId, toolData, and success message)
|
|
19
17
|
* @fires ecc-tool-create-error - Fired when tool creation fails
|
|
20
|
-
* @fires ecc-tool-create-success - Fired when a tool is successfully created (includes success message)
|
|
21
18
|
* @fires ecc-tool-create-validation-error - Fired when there are validation errors during tool creation
|
|
22
19
|
*/
|
|
23
20
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
|
24
21
|
onEccToolCreateValidationError: EventName<EccToolCreateValidationErrorEvent>;
|
|
25
22
|
onEccToolCreateError: EventName<EccToolCreateErrorEvent>;
|
|
26
23
|
onEccToolCreateSuccess: EventName<EccToolCreateSuccessEvent>;
|
|
27
|
-
onEccToolCreated: EventName<EccToolCreatedEvent>;
|
|
28
24
|
}>;
|
|
29
25
|
export default reactWrapper;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.
|
|
2
|
-
import '../../chunks/chunk.
|
|
1
|
+
export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.II7PIADM.js';
|
|
2
|
+
import '../../chunks/chunk.FZDL764O.js';
|
|
3
3
|
import '../../chunks/chunk.Q5GOJN3Z.js';
|
package/dist/react/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.
|
|
2
|
-
import '../chunks/chunk.
|
|
1
|
+
export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.II7PIADM.js';
|
|
2
|
+
import '../chunks/chunk.FZDL764O.js';
|
|
3
3
|
import '../chunks/chunk.Q5GOJN3Z.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tags": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ecc-client-elixir-trs-tool-create",
|
|
7
|
-
"description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes success message)
|
|
7
|
+
"description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes toolId, toolData, and success message)",
|
|
8
8
|
"attributes": [],
|
|
9
9
|
"references": [
|
|
10
10
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@elixir-cloud/trs-filer",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "ecc-client-elixir-trs-tool-create",
|
|
11
|
-
"description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes success message)
|
|
11
|
+
"description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes toolId, toolData, and success message)",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [],
|
|
14
14
|
"events": [
|
|
@@ -22,11 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "ecc-tool-create-success",
|
|
25
|
-
"description": "Fired when a tool is successfully created (includes success message)"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "ecc-tool-created",
|
|
29
|
-
"description": "Fired when a tool is successfully created"
|
|
25
|
+
"description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
|
|
30
26
|
}
|
|
31
27
|
],
|
|
32
28
|
"js": {
|
|
@@ -114,11 +110,7 @@
|
|
|
114
110
|
},
|
|
115
111
|
{
|
|
116
112
|
"name": "ecc-tool-create-success",
|
|
117
|
-
"description": "Fired when a tool is successfully created (includes success message)"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"name": "ecc-tool-created",
|
|
121
|
-
"description": "Fired when a tool is successfully created"
|
|
113
|
+
"description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
|
|
122
114
|
}
|
|
123
115
|
]
|
|
124
116
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@elixir-cloud/trs-filer",
|
|
3
3
|
"description": "Web Component for interacting with Elixir TRS Filer",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "2.0.0-alpha.
|
|
5
|
+
"version": "2.0.0-alpha.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.mjs",
|