@elixir-cloud/trs-filer 2.0.0-alpha.4 → 2.0.0-alpha.41

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.
Files changed (35) hide show
  1. package/dist/chunks/chunk.3S22ENXV.js +252 -0
  2. package/dist/chunks/{chunk.JMC4ZIIA.js → chunk.DJ2LLCQL.js} +6 -5
  3. package/dist/chunks/{chunk.X4SIVSZN.js → chunk.DTNNXROY.js} +1 -1
  4. package/dist/chunks/{chunk.4N7ZYKCA.js → chunk.JW7KBVNO.js} +694 -659
  5. package/dist/chunks/chunk.S3NI7NKU.js +30 -0
  6. package/dist/chunks/chunk.TEZHVCRK.js +1 -0
  7. package/dist/chunks/{chunk.Q5GOJN3Z.js → chunk.WG3VQJ2S.js} +172 -30
  8. package/dist/components/index.js +5 -3
  9. package/dist/components/tool-create/index.js +5 -3
  10. package/dist/components/tool-create/tool-create.d.ts +66 -12
  11. package/dist/components/tool-create/tool-create.js +4 -2
  12. package/dist/components/tool-create/tw-styles.js +2 -1
  13. package/dist/custom-elements.json +289 -58
  14. package/dist/events/ecc-tool-create-failed.d.ts +6 -0
  15. package/dist/events/ecc-tool-create-input-changed.d.ts +6 -0
  16. package/dist/events/ecc-tool-create-validation-failed.d.ts +6 -0
  17. package/dist/events/{ecc-tool-create-success.d.ts → ecc-tool-created.d.ts} +2 -2
  18. package/dist/events/ecc-tools-changed.d.ts +6 -0
  19. package/dist/events/ecc-tools-selected.d.ts +6 -0
  20. package/dist/events/index.d.ts +6 -5
  21. package/dist/index.js +5 -3
  22. package/dist/providers/index.js +3 -0
  23. package/dist/providers/rest-trs-filer-provider.js +2 -0
  24. package/dist/providers/trs-filer-provider.d.ts +3 -3
  25. package/dist/providers/trs-filer-provider.js +1 -0
  26. package/dist/react/ecc-client-elixir-trs-tool-create/index.d.ts +48 -12
  27. package/dist/react/ecc-client-elixir-trs-tool-create/index.js +5 -3
  28. package/dist/react/index.js +5 -3
  29. package/dist/vscode.html-custom-data.json +1 -1
  30. package/dist/web-types.json +154 -73
  31. package/package.json +4 -4
  32. package/dist/events/ecc-tool-create-error.d.ts +0 -6
  33. package/dist/events/ecc-tool-create-validation-error.d.ts +0 -6
  34. package/dist/events/ecc-tools-change.d.ts +0 -6
  35. package/dist/events/ecc-tools-click.d.ts +0 -6
@@ -0,0 +1,6 @@
1
+ export type EccToolsSelectedEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tools-selected": EccToolsSelectedEvent;
5
+ }
6
+ }
@@ -1,5 +1,6 @@
1
- export type { EccToolsChangeEvent } from "./ecc-tools-change.js";
2
- export type { EccToolsClickEvent } from "./ecc-tools-click.js";
3
- export type { EccToolCreateSuccessEvent } from "./ecc-tool-create-success.js";
4
- export type { EccToolCreateErrorEvent } from "./ecc-tool-create-error.js";
5
- export type { EccToolCreateValidationErrorEvent } from "./ecc-tool-create-validation-error.js";
1
+ export type { EccToolCreatedEvent } from "./ecc-tool-created.js";
2
+ export type { EccToolCreateFailedEvent } from "./ecc-tool-create-failed.js";
3
+ export type { EccToolCreateValidationFailedEvent } from "./ecc-tool-create-validation-failed.js";
4
+ export type { EccToolsChangedEvent } from "./ecc-tools-changed.js";
5
+ export type { EccToolsSelectedEvent } from "./ecc-tools-selected.js";
6
+ export type { EccToolCreateInputChangedEvent } from "./ecc-tool-create-input-changed.js";
package/dist/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import './chunks/chunk.3WU6NPWM.js';
2
- import './chunks/chunk.X4SIVSZN.js';
3
- import './chunks/chunk.4N7ZYKCA.js';
4
- import './chunks/chunk.Q5GOJN3Z.js';
2
+ import './chunks/chunk.DTNNXROY.js';
3
+ import './chunks/chunk.JW7KBVNO.js';
4
+ import './chunks/chunk.WG3VQJ2S.js';
5
+ import './chunks/chunk.3S22ENXV.js';
6
+ import './chunks/chunk.S3NI7NKU.js';
@@ -0,0 +1,3 @@
1
+ import '../chunks/chunk.TEZHVCRK.js';
2
+ export { RestTrsFilerProvider } from '../chunks/chunk.3S22ENXV.js';
3
+ import '../chunks/chunk.S3NI7NKU.js';
@@ -0,0 +1,2 @@
1
+ export { RestTrsFilerProvider } from '../chunks/chunk.3S22ENXV.js';
2
+ import '../chunks/chunk.S3NI7NKU.js';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Types for the GA4GH TRS API based on OpenAPI specification v2.0.1
3
3
  */
4
- import { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error } from "@elixir-cloud/trs/providers";
4
+ import type { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error } from "@elixir-cloud/trs/providers";
5
5
  /**
6
6
  * TRS-Filer specific types that extend the base GA4GH TRS types
7
7
  */
@@ -35,12 +35,12 @@ export interface FileWrapperRegister {
35
35
  url?: string;
36
36
  checksum?: ChecksumRegister[];
37
37
  }
38
+ export type TypeRegister = DescriptorType | ImageType;
38
39
  export interface FilesRegister {
39
40
  tool_file: ToolFileRegister;
40
41
  file_wrapper: FileWrapperRegister;
41
42
  type: TypeRegister;
42
43
  }
43
- export type TypeRegister = DescriptorType | ImageType;
44
44
  export interface ToolVersionRegister {
45
45
  author?: string[];
46
46
  descriptor_type?: DescriptorType[];
@@ -133,4 +133,4 @@ export interface TrsFilerProvider extends TrsProvider {
133
133
  getServiceInfo?(): Promise<Service>;
134
134
  createOrUpdateServiceInfo?(service: ServiceRegister): Promise<void>;
135
135
  }
136
- export { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error };
136
+ export { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error, };
@@ -0,0 +1 @@
1
+ import '../chunks/chunk.TEZHVCRK.js';
@@ -1,11 +1,13 @@
1
1
  import { ECCClientElixirTrsToolCreate as Component } from "../../components/tool-create/tool-create.js";
2
2
  import type { EventName } from "@lit/react";
3
- import type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
4
- import type { EccToolCreateErrorEvent } from "../../events/index.js";
5
- import type { EccToolCreateSuccessEvent } from "../../events/index.js";
6
- export type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
7
- export type { EccToolCreateErrorEvent } from "../../events/index.js";
8
- export type { EccToolCreateSuccessEvent } from "../../events/index.js";
3
+ import type { EccToolCreateValidationFailedEvent } from "../../events/index.js";
4
+ import type { EccToolCreateFailedEvent } from "../../events/index.js";
5
+ import type { EccToolCreatedEvent } from "../../events/index.js";
6
+ import type { EccToolCreateInputChangedEvent } from "../../events/index.js";
7
+ export type { EccToolCreateValidationFailedEvent } from "../../events/index.js";
8
+ export type { EccToolCreateFailedEvent } from "../../events/index.js";
9
+ export type { EccToolCreatedEvent } from "../../events/index.js";
10
+ export type { EccToolCreateInputChangedEvent } from "../../events/index.js";
9
11
  /**
10
12
  * @summary Component for creating new tools in TRS-Filer
11
13
  * @since 2.0.0
@@ -13,13 +15,47 @@ export type { EccToolCreateSuccessEvent } from "../../events/index.js";
13
15
  * @property {string} baseUrl - Base URL of the TRS instance/gateway
14
16
  * @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
15
17
  *
16
- * @fires ecc-tool-create-success - Fired when a tool is successfully created (includes toolId, toolData, and success message)
17
- * @fires ecc-tool-create-error - Fired when tool creation fails
18
- * @fires ecc-tool-create-validation-error - Fired when there are validation errors during tool creation
18
+ * // Default value properties for basic fields
19
+ * @property {string} defaultName - Default value for tool name
20
+ * @property {string} defaultOrganization - Default value for organization
21
+ * @property {string} defaultDescription - Default value for description
22
+ * @property {string} defaultToolClassId - Default value for tool class ID
23
+ * @property {string} defaultAliases - Default value for aliases (comma-separated)
24
+ * @property {string} defaultCheckerUrl - Default value for checker URL
25
+ * @property {string} defaultCustomToolId - Default value for custom tool ID
26
+ *
27
+ * // Default value properties for version fields
28
+ * @property {string} defaultVersionName - Default value for version name
29
+ * @property {string} defaultVersionAuthor - Default value for version author (comma-separated)
30
+ * @property {boolean} defaultIsProduction - Default value for production status
31
+ * @property {boolean} defaultSigned - Default value for signed status
32
+ * @property {boolean} defaultVerified - Default value for verified status
33
+ * @property {string} defaultVerifiedSource - Default value for verified source (comma-separated)
34
+ * @property {string} defaultIncludedApps - Default value for included apps (comma-separated)
35
+ * @property {string} defaultCustomVersionId - Default value for custom version ID
36
+ * @property {DescriptorType[]} supportedDescriptorTypes - Array of supported descriptor types to filter available workflow languages
37
+ *
38
+ * @fires ecc-tool-created - Fired when a tool is successfully created (includes toolId, toolData, and success message)
39
+ * @fires ecc-tool-create-failed - Fired when tool creation fails
40
+ * @fires ecc-tool-create-validation-failed - Fired when there are validation errors during tool creation
41
+ * @fires ecc-tool-create-input-changed - Fired when an input field is changed
42
+ *
43
+ * @slot tool-name - Custom content for tool name field (default field used if empty)
44
+ * @slot organization - Custom content for organization field (default field used if empty)
45
+ * @slot description - Custom content for description field (default field used if empty)
46
+ * @slot tool-class - Custom content for tool class field (default field used if empty)
47
+ * @slot custom-tool-id - Custom content for custom tool ID field (default field used if empty)
48
+ * @slot aliases - Custom content for aliases field (default field used if empty)
49
+ * @slot checker-url - Custom content for checker URL field (default field used if empty)
50
+ * @slot version-name - Custom content for version name field (default field used if empty)
51
+ * @slot version-author - Custom content for version author field (default field used if empty)
52
+ * @slot version-advanced-options - Custom content for advanced version options section (default advanced version options used if empty)
53
+ * @slot advanced-fields - Custom content for entire advanced fields section (default advanced fields used if empty)
19
54
  */
20
55
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
21
- onEccToolCreateValidationError: EventName<EccToolCreateValidationErrorEvent>;
22
- onEccToolCreateError: EventName<EccToolCreateErrorEvent>;
23
- onEccToolCreateSuccess: EventName<EccToolCreateSuccessEvent>;
56
+ onEccToolCreateValidationFailed: EventName<EccToolCreateValidationFailedEvent>;
57
+ onEccToolCreateFailed: EventName<EccToolCreateFailedEvent>;
58
+ onEccToolCreated: EventName<EccToolCreatedEvent>;
59
+ onEccToolCreateInputChanged: EventName<EccToolCreateInputChangedEvent>;
24
60
  }>;
25
61
  export default reactWrapper;
@@ -1,3 +1,5 @@
1
- export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.JMC4ZIIA.js';
2
- import '../../chunks/chunk.4N7ZYKCA.js';
3
- import '../../chunks/chunk.Q5GOJN3Z.js';
1
+ export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.DJ2LLCQL.js';
2
+ import '../../chunks/chunk.JW7KBVNO.js';
3
+ import '../../chunks/chunk.WG3VQJ2S.js';
4
+ import '../../chunks/chunk.3S22ENXV.js';
5
+ import '../../chunks/chunk.S3NI7NKU.js';
@@ -1,3 +1,5 @@
1
- export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.JMC4ZIIA.js';
2
- import '../chunks/chunk.4N7ZYKCA.js';
3
- import '../chunks/chunk.Q5GOJN3Z.js';
1
+ export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.DJ2LLCQL.js';
2
+ import '../chunks/chunk.JW7KBVNO.js';
3
+ import '../chunks/chunk.WG3VQJ2S.js';
4
+ import '../chunks/chunk.3S22ENXV.js';
5
+ import '../chunks/chunk.S3NI7NKU.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 toolId, toolData, and success message)",
7
+ "description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-failed** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-failed** - Fired when tool creation fails\n- **ecc-tool-created** - Fired when a tool is successfully created (includes toolId, toolData, and success message)\n- **ecc-tool-create-input-changed** - Fired when an input field is changed\n\n### **Slots:**\n - **tool-name** - Custom content for tool name field (default field used if empty)\n- **organization** - Custom content for organization field (default field used if empty)\n- **description** - Custom content for description field (default field used if empty)\n- **tool-class** - Custom content for tool class field (default field used if empty)\n- **custom-tool-id** - Custom content for custom tool ID field (default field used if empty)\n- **aliases** - Custom content for aliases field (default field used if empty)\n- **checker-url** - Custom content for checker URL field (default field used if empty)\n- **version-name** - Custom content for version name field (default field used if empty)\n- **version-author** - Custom content for version author field (default field used if empty)\n- **version-advanced-options** - Custom content for advanced version options section (default advanced version options used if empty)\n- **advanced-fields** - Custom content for entire advanced fields section (default advanced fields used if empty)",
8
8
  "attributes": [],
9
9
  "references": [
10
10
  {
@@ -1,28 +1,82 @@
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",
4
+ "version": "2.0.0-alpha.41",
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 toolId, toolData, and success message)",
11
+ "description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-failed** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-failed** - Fired when tool creation fails\n- **ecc-tool-created** - Fired when a tool is successfully created (includes toolId, toolData, and success message)\n- **ecc-tool-create-input-changed** - Fired when an input field is changed\n\n### **Slots:**\n - **tool-name** - Custom content for tool name field (default field used if empty)\n- **organization** - Custom content for organization field (default field used if empty)\n- **description** - Custom content for description field (default field used if empty)\n- **tool-class** - Custom content for tool class field (default field used if empty)\n- **custom-tool-id** - Custom content for custom tool ID field (default field used if empty)\n- **aliases** - Custom content for aliases field (default field used if empty)\n- **checker-url** - Custom content for checker URL field (default field used if empty)\n- **version-name** - Custom content for version name field (default field used if empty)\n- **version-author** - Custom content for version author field (default field used if empty)\n- **version-advanced-options** - Custom content for advanced version options section (default advanced version options used if empty)\n- **advanced-fields** - Custom content for entire advanced fields section (default advanced fields used if empty)",
12
12
  "doc-url": "",
13
13
  "attributes": [],
14
+ "slots": [
15
+ {
16
+ "name": "tool-name",
17
+ "description": "Custom content for tool name field (default field used if empty)"
18
+ },
19
+ {
20
+ "name": "organization",
21
+ "description": "Custom content for organization field (default field used if empty)"
22
+ },
23
+ {
24
+ "name": "description",
25
+ "description": "Custom content for description field (default field used if empty)"
26
+ },
27
+ {
28
+ "name": "tool-class",
29
+ "description": "Custom content for tool class field (default field used if empty)"
30
+ },
31
+ {
32
+ "name": "custom-tool-id",
33
+ "description": "Custom content for custom tool ID field (default field used if empty)"
34
+ },
35
+ {
36
+ "name": "aliases",
37
+ "description": "Custom content for aliases field (default field used if empty)"
38
+ },
39
+ {
40
+ "name": "checker-url",
41
+ "description": "Custom content for checker URL field (default field used if empty)"
42
+ },
43
+ {
44
+ "name": "version-name",
45
+ "description": "Custom content for version name field (default field used if empty)"
46
+ },
47
+ {
48
+ "name": "version-author",
49
+ "description": "Custom content for version author field (default field used if empty)"
50
+ },
51
+ {
52
+ "name": "version-advanced-options",
53
+ "description": "Custom content for advanced version options section (default advanced version options used if empty)"
54
+ },
55
+ {
56
+ "name": "advanced-fields",
57
+ "description": "Custom content for entire advanced fields section (default advanced fields used if empty)"
58
+ }
59
+ ],
14
60
  "events": [
15
61
  {
16
- "name": "ecc-tool-create-validation-error",
62
+ "name": "ecc-tool-create-validation-failed",
63
+ "type": "CustomEvent",
17
64
  "description": "Fired when there are validation errors during tool creation"
18
65
  },
19
66
  {
20
- "name": "ecc-tool-create-error",
67
+ "name": "ecc-tool-create-failed",
68
+ "type": "CustomEvent",
21
69
  "description": "Fired when tool creation fails"
22
70
  },
23
71
  {
24
- "name": "ecc-tool-create-success",
72
+ "name": "ecc-tool-created",
73
+ "type": "CustomEvent",
25
74
  "description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
75
+ },
76
+ {
77
+ "name": "ecc-tool-create-input-changed",
78
+ "type": "CustomEvent",
79
+ "description": "Fired when an input field is changed"
26
80
  }
27
81
  ],
28
82
  "js": {
@@ -30,87 +84,114 @@
30
84
  {
31
85
  "name": "baseUrl",
32
86
  "description": "Base URL of the TRS instance/gateway",
33
- "value": { "type": "string" }
87
+ "type": "string"
34
88
  },
35
89
  {
36
90
  "name": "provider",
37
- "description": "Custom data provider (optional, overrides baseUrl)",
38
- "value": { "type": "TrsProvider" }
39
- },
40
- { "name": "toolClasses", "value": { "type": "ToolClass[]" } },
41
- { "name": "loading", "value": { "type": "boolean" } },
42
- { "name": "error", "value": { "type": "string | null" } },
43
- { "name": "success", "value": { "type": "string | null" } },
44
- {
45
- "name": "formData",
46
- "value": {
47
- "type": "{\n name: string;\n organization: string;\n description: string;\n toolClassId: string;\n aliases: string[];\n checkerUrl: string;\n hasChecker: boolean;\n customToolId: string;\n useCustomId: boolean;\n }"
48
- }
49
- },
50
- {
51
- "name": "versions",
52
- "value": {
53
- "type": "{\n name: string;\n author: string[];\n descriptorTypes: DescriptorType[];\n isProduction: boolean;\n signed: boolean;\n verified: boolean;\n verifiedSource: string[];\n includedApps: string[];\n files: {\n path: string;\n fileType: FileType;\n content?: string;\n file?: File;\n checksumType: string;\n checksumValue: string;\n descriptorType?: DescriptorType;\n }[];\n images: ImageDataRegister[];\n customVersionId: string;\n useCustomVersionId: boolean;\n }[]"
54
- }
55
- },
56
- {
57
- "name": "_provider",
58
- "value": { "type": "TrsFilerProvider | null" }
59
- },
60
- {
61
- "name": "activeFileIndex",
62
- "value": { "type": "{ [versionIndex: number]: number }" }
63
- },
64
- {
65
- "name": "activeDescriptorType",
66
- "value": {
67
- "type": "{\n [versionIndex: number]: DescriptorType | \"ALL\";\n }"
68
- }
69
- },
70
- { "name": "loadToolClasses", "value": {} },
71
- { "name": "handleInputChange", "value": {} },
72
- { "name": "handleArrayInputChange", "value": {} },
73
- { "name": "handleVersionChange", "value": {} },
74
- { "name": "addVersion", "value": {} },
75
- { "name": "removeVersion", "value": {} },
76
- { "name": "addFileToVersion", "value": {} },
77
- { "name": "removeFileFromVersion", "value": {} },
78
- { "name": "handleFileUpload", "value": {} },
79
- { "name": "handleBulkFileUpload", "value": {} },
80
- { "name": "handleZipFileUpload", "value": {} },
81
- { "name": "extractFileFromZip", "value": {} },
82
- { "name": "isTextFile", "value": {} },
83
- { "name": "getDefaultFileType", "value": {} },
84
- { "name": "getDefaultDescriptorType", "value": {} },
85
- { "name": "getContainerImageType", "value": {} },
86
- { "name": "getFileExtension", "value": {} },
87
- { "name": "handleFileFieldChange", "value": {} },
88
- { "name": "addImageToVersion", "value": {} },
89
- { "name": "removeImageFromVersion", "value": {} },
90
- { "name": "handleSubmit", "value": {} },
91
- { "name": "resetForm", "value": {} },
92
- { "name": "renderBasicFields", "value": {} },
93
- { "name": "renderAdvancedFields", "value": {} },
94
- { "name": "renderVersions", "value": {} },
95
- { "name": "renderVersionContent", "value": {} },
96
- { "name": "renderFilesLayout", "value": {} },
97
- { "name": "renderFileContentArea", "value": {} },
98
- { "name": "renderFileInput", "value": {} },
99
- { "name": "getVersionTags", "value": {} },
100
- { "name": "handleVersionTagsChange", "value": {} }
91
+ "description": "Custom data provider (optional, overrides baseUrl) // Default value properties for basic fields",
92
+ "type": "TrsProvider"
93
+ },
94
+ {
95
+ "name": "defaultName",
96
+ "description": "Default value for tool name",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "defaultOrganization",
101
+ "description": "Default value for organization",
102
+ "type": "string"
103
+ },
104
+ {
105
+ "name": "defaultDescription",
106
+ "description": "Default value for description",
107
+ "type": "string"
108
+ },
109
+ {
110
+ "name": "defaultToolClassId",
111
+ "description": "Default value for tool class ID",
112
+ "type": "string"
113
+ },
114
+ {
115
+ "name": "defaultAliases",
116
+ "description": "Default value for aliases (comma-separated)",
117
+ "type": "string"
118
+ },
119
+ {
120
+ "name": "defaultCheckerUrl",
121
+ "description": "Default value for checker URL",
122
+ "type": "string"
123
+ },
124
+ {
125
+ "name": "defaultCustomToolId",
126
+ "description": "Default value for custom tool ID // Default value properties for version fields",
127
+ "type": "string"
128
+ },
129
+ {
130
+ "name": "defaultVersionName",
131
+ "description": "Default value for version name",
132
+ "type": "string"
133
+ },
134
+ {
135
+ "name": "defaultVersionAuthor",
136
+ "description": "Default value for version author (comma-separated)",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "name": "defaultIsProduction",
141
+ "description": "Default value for production status",
142
+ "type": "boolean"
143
+ },
144
+ {
145
+ "name": "defaultSigned",
146
+ "description": "Default value for signed status",
147
+ "type": "boolean"
148
+ },
149
+ {
150
+ "name": "defaultVerified",
151
+ "description": "Default value for verified status",
152
+ "type": "boolean"
153
+ },
154
+ {
155
+ "name": "defaultVerifiedSource",
156
+ "description": "Default value for verified source (comma-separated)",
157
+ "type": "string"
158
+ },
159
+ {
160
+ "name": "defaultIncludedApps",
161
+ "description": "Default value for included apps (comma-separated)",
162
+ "type": "string"
163
+ },
164
+ {
165
+ "name": "defaultCustomVersionId",
166
+ "description": "Default value for custom version ID",
167
+ "type": "string"
168
+ },
169
+ {
170
+ "name": "supportedDescriptorTypes",
171
+ "description": "Array of supported descriptor types to filter available workflow languages",
172
+ "type": "DescriptorType[]"
173
+ }
101
174
  ],
102
175
  "events": [
103
176
  {
104
- "name": "ecc-tool-create-validation-error",
177
+ "name": "ecc-tool-create-validation-failed",
178
+ "type": "CustomEvent",
105
179
  "description": "Fired when there are validation errors during tool creation"
106
180
  },
107
181
  {
108
- "name": "ecc-tool-create-error",
182
+ "name": "ecc-tool-create-failed",
183
+ "type": "CustomEvent",
109
184
  "description": "Fired when tool creation fails"
110
185
  },
111
186
  {
112
- "name": "ecc-tool-create-success",
187
+ "name": "ecc-tool-created",
188
+ "type": "CustomEvent",
113
189
  "description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
190
+ },
191
+ {
192
+ "name": "ecc-tool-create-input-changed",
193
+ "type": "CustomEvent",
194
+ "description": "Fired when an input field is changed"
114
195
  }
115
196
  ]
116
197
  }
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.4",
5
+ "version": "2.0.0-alpha.41",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.mjs",
@@ -45,8 +45,8 @@
45
45
  "prepublish": "npm run build"
46
46
  },
47
47
  "dependencies": {
48
- "@elixir-cloud/design": "2.0.0-alpha.6",
49
- "@elixir-cloud/trs": "2.0.0-alpha.11",
48
+ "@elixir-cloud/design": "2.0.0-alpha.41",
49
+ "@elixir-cloud/trs": "2.0.0-alpha.41",
50
50
  "@lit/react": "^1.0.2",
51
51
  "@progress/jszip-esm": "^1.0.4",
52
52
  "lit": "^2.8.0"
@@ -56,7 +56,7 @@
56
56
  "@elixir-cloud/eslint-config": "*",
57
57
  "@open-wc/eslint-config": "^9.2.1",
58
58
  "@open-wc/testing": "^3.1.6",
59
- "@tailwindcss/cli": "^4.1.4",
59
+ "@tailwindcss/cli": "4.1.4",
60
60
  "@types/jszip": "^3.4.0",
61
61
  "@typescript-eslint/eslint-plugin": "^5.48.0",
62
62
  "@typescript-eslint/parser": "^5.48.0",
@@ -1,6 +0,0 @@
1
- export type EccToolCreateErrorEvent = CustomEvent<Record<string, any>>;
2
- declare global {
3
- interface GlobalEventHandlersEventMap {
4
- "ecc-tool-create-error": EccToolCreateErrorEvent;
5
- }
6
- }
@@ -1,6 +0,0 @@
1
- export type EccToolCreateValidationErrorEvent = CustomEvent<Record<string, any>>;
2
- declare global {
3
- interface GlobalEventHandlersEventMap {
4
- "ecc-tool-create-validation-error": EccToolCreateValidationErrorEvent;
5
- }
6
- }
@@ -1,6 +0,0 @@
1
- export type EccToolsChangeEvent = CustomEvent<Record<string, any>>;
2
- declare global {
3
- interface GlobalEventHandlersEventMap {
4
- "ecc-tools-change": EccToolsChangeEvent;
5
- }
6
- }
@@ -1,6 +0,0 @@
1
- export type EccToolsClickEvent = CustomEvent<Record<string, any>>;
2
- declare global {
3
- interface GlobalEventHandlersEventMap {
4
- "ecc-tools-click": EccToolsClickEvent;
5
- }
6
- }