@elixir-cloud/trs-filer 2.0.0-alpha.2 → 2.0.0-alpha.29
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.3S22ENXV.js +252 -0
- package/dist/chunks/{chunk.II7PIADM.js → chunk.5M5UHQTG.js} +5 -5
- package/dist/chunks/{chunk.Q5GOJN3Z.js → chunk.D4A7TFU2.js} +95 -30
- package/dist/chunks/{chunk.FZDL764O.js → chunk.PNFA44FN.js} +300 -432
- package/dist/chunks/chunk.S3NI7NKU.js +30 -0
- package/dist/chunks/chunk.TEZHVCRK.js +1 -0
- package/dist/chunks/{chunk.ZZTQWNKT.js → chunk.V6CU7C3N.js} +1 -1
- package/dist/components/index.js +5 -3
- package/dist/components/tool-create/index.js +5 -3
- package/dist/components/tool-create/tool-create.d.ts +15 -12
- package/dist/components/tool-create/tool-create.js +4 -2
- package/dist/components/tool-create/tw-styles.js +2 -1
- package/dist/custom-elements.json +74 -57
- package/dist/events/ecc-tool-create-failed.d.ts +6 -0
- package/dist/events/ecc-tool-create-validation-failed.d.ts +6 -0
- package/dist/events/{ecc-tool-create-success.d.ts → ecc-tool-created.d.ts} +2 -2
- package/dist/events/ecc-tools-changed.d.ts +6 -0
- package/dist/events/ecc-tools-selected.d.ts +6 -0
- package/dist/events/index.d.ts +5 -5
- package/dist/index.js +5 -3
- package/dist/providers/index.js +3 -0
- package/dist/providers/rest-trs-filer-provider.js +2 -0
- package/dist/providers/trs-filer-provider.d.ts +3 -3
- package/dist/providers/trs-filer-provider.js +1 -0
- package/dist/react/ecc-client-elixir-trs-tool-create/index.d.ts +12 -12
- package/dist/react/ecc-client-elixir-trs-tool-create/index.js +5 -3
- package/dist/react/index.js +5 -3
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +17 -72
- package/package.json +4 -4
- package/dist/events/ecc-tool-create-error.d.ts +0 -6
- package/dist/events/ecc-tool-create-validation-error.d.ts +0 -6
- package/dist/events/ecc-tools-change.d.ts +0 -6
- package/dist/events/ecc-tools-click.d.ts +0 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ECCClientElixirTrsToolCreate as Component } from "../../components/tool-create/tool-create.js";
|
|
2
2
|
import type { EventName } from "@lit/react";
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
8
|
-
export type {
|
|
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
|
+
export type { EccToolCreateValidationFailedEvent } from "../../events/index.js";
|
|
7
|
+
export type { EccToolCreateFailedEvent } from "../../events/index.js";
|
|
8
|
+
export type { EccToolCreatedEvent } from "../../events/index.js";
|
|
9
9
|
/**
|
|
10
10
|
* @summary Component for creating new tools in TRS-Filer
|
|
11
11
|
* @since 2.0.0
|
|
@@ -13,13 +13,13 @@ export type { EccToolCreateSuccessEvent } from "../../events/index.js";
|
|
|
13
13
|
* @property {string} baseUrl - Base URL of the TRS instance/gateway
|
|
14
14
|
* @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
|
|
15
15
|
*
|
|
16
|
-
* @fires ecc-tool-
|
|
17
|
-
* @fires ecc-tool-create-
|
|
18
|
-
* @fires ecc-tool-create-validation-
|
|
16
|
+
* @fires ecc-tool-created - Fired when a tool is successfully created (includes toolId, toolData, and success message)
|
|
17
|
+
* @fires ecc-tool-create-failed - Fired when tool creation fails
|
|
18
|
+
* @fires ecc-tool-create-validation-failed - Fired when there are validation errors during tool creation
|
|
19
19
|
*/
|
|
20
20
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
onEccToolCreateValidationFailed: EventName<EccToolCreateValidationFailedEvent>;
|
|
22
|
+
onEccToolCreateFailed: EventName<EccToolCreateFailedEvent>;
|
|
23
|
+
onEccToolCreated: EventName<EccToolCreatedEvent>;
|
|
24
24
|
}>;
|
|
25
25
|
export default reactWrapper;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.
|
|
2
|
-
import '../../chunks/chunk.
|
|
3
|
-
import '../../chunks/chunk.
|
|
1
|
+
export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.5M5UHQTG.js';
|
|
2
|
+
import '../../chunks/chunk.PNFA44FN.js';
|
|
3
|
+
import '../../chunks/chunk.D4A7TFU2.js';
|
|
4
|
+
import '../../chunks/chunk.3S22ENXV.js';
|
|
5
|
+
import '../../chunks/chunk.S3NI7NKU.js';
|
package/dist/react/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.
|
|
2
|
-
import '../chunks/chunk.
|
|
3
|
-
import '../chunks/chunk.
|
|
1
|
+
export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.5M5UHQTG.js';
|
|
2
|
+
import '../chunks/chunk.PNFA44FN.js';
|
|
3
|
+
import '../chunks/chunk.D4A7TFU2.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-
|
|
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)",
|
|
8
8
|
"attributes": [],
|
|
9
9
|
"references": [
|
|
10
10
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
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.29",
|
|
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-
|
|
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)",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [],
|
|
14
14
|
"events": [
|
|
15
15
|
{
|
|
16
|
-
"name": "ecc-tool-create-validation-
|
|
16
|
+
"name": "ecc-tool-create-validation-failed",
|
|
17
|
+
"type": "CustomEvent",
|
|
17
18
|
"description": "Fired when there are validation errors during tool creation"
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
|
-
"name": "ecc-tool-create-
|
|
21
|
+
"name": "ecc-tool-create-failed",
|
|
22
|
+
"type": "CustomEvent",
|
|
21
23
|
"description": "Fired when tool creation fails"
|
|
22
24
|
},
|
|
23
25
|
{
|
|
24
|
-
"name": "ecc-tool-
|
|
26
|
+
"name": "ecc-tool-created",
|
|
27
|
+
"type": "CustomEvent",
|
|
25
28
|
"description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
|
|
26
29
|
}
|
|
27
30
|
],
|
|
@@ -30,86 +33,28 @@
|
|
|
30
33
|
{
|
|
31
34
|
"name": "baseUrl",
|
|
32
35
|
"description": "Base URL of the TRS instance/gateway",
|
|
33
|
-
"
|
|
36
|
+
"type": "string"
|
|
34
37
|
},
|
|
35
38
|
{
|
|
36
39
|
"name": "provider",
|
|
37
40
|
"description": "Custom data provider (optional, overrides baseUrl)",
|
|
38
|
-
"
|
|
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": {} }
|
|
41
|
+
"type": "TrsProvider"
|
|
42
|
+
}
|
|
101
43
|
],
|
|
102
44
|
"events": [
|
|
103
45
|
{
|
|
104
|
-
"name": "ecc-tool-create-validation-
|
|
46
|
+
"name": "ecc-tool-create-validation-failed",
|
|
47
|
+
"type": "CustomEvent",
|
|
105
48
|
"description": "Fired when there are validation errors during tool creation"
|
|
106
49
|
},
|
|
107
50
|
{
|
|
108
|
-
"name": "ecc-tool-create-
|
|
51
|
+
"name": "ecc-tool-create-failed",
|
|
52
|
+
"type": "CustomEvent",
|
|
109
53
|
"description": "Fired when tool creation fails"
|
|
110
54
|
},
|
|
111
55
|
{
|
|
112
|
-
"name": "ecc-tool-
|
|
56
|
+
"name": "ecc-tool-created",
|
|
57
|
+
"type": "CustomEvent",
|
|
113
58
|
"description": "Fired when a tool is successfully created (includes toolId, toolData, and success message)"
|
|
114
59
|
}
|
|
115
60
|
]
|
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.29",
|
|
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.
|
|
49
|
-
"@elixir-cloud/trs": "2.0.0-alpha.
|
|
48
|
+
"@elixir-cloud/design": "2.0.0-alpha.29",
|
|
49
|
+
"@elixir-cloud/trs": "2.0.0-alpha.29",
|
|
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": "
|
|
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",
|