@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.
- package/dist/chunks/chunk.3S22ENXV.js +252 -0
- package/dist/chunks/{chunk.JMC4ZIIA.js → chunk.DJ2LLCQL.js} +6 -5
- package/dist/chunks/{chunk.X4SIVSZN.js → chunk.DTNNXROY.js} +1 -1
- package/dist/chunks/{chunk.4N7ZYKCA.js → chunk.JW7KBVNO.js} +694 -659
- package/dist/chunks/chunk.S3NI7NKU.js +30 -0
- package/dist/chunks/chunk.TEZHVCRK.js +1 -0
- package/dist/chunks/{chunk.Q5GOJN3Z.js → chunk.WG3VQJ2S.js} +172 -30
- 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 +66 -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 +289 -58
- package/dist/events/ecc-tool-create-failed.d.ts +6 -0
- package/dist/events/ecc-tool-create-input-changed.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 +6 -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 +48 -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 +154 -73
- 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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __spreadValues = (a, b) => {
|
|
10
|
+
for (var prop in b || (b = {}))
|
|
11
|
+
if (__hasOwnProp.call(b, prop))
|
|
12
|
+
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
if (__getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
+
if (__propIsEnum.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
}
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
22
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
23
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24
|
+
if (decorator = decorators[i])
|
|
25
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26
|
+
if (kind && result) __defProp(target, key, result);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { __decorateClass, __spreadProps, __spreadValues };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var __defProps = Object.defineProperties;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
24
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
25
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26
|
-
if (decorator = decorators[i])
|
|
27
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
28
|
-
if (kind && result)
|
|
29
|
-
__defProp(target, key, result);
|
|
30
|
-
return result;
|
|
31
|
-
};
|
|
3
|
+
// src/components/tool-create/tw-styles.ts
|
|
32
4
|
var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
|
|
33
5
|
@layer properties;
|
|
34
6
|
@layer theme, base, components, utilities;
|
|
@@ -420,6 +392,9 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
420
392
|
.pt-4 {
|
|
421
393
|
padding-top: calc(var(--spacing) * 4);
|
|
422
394
|
}
|
|
395
|
+
.pr-4 {
|
|
396
|
+
padding-right: calc(var(--spacing) * 4);
|
|
397
|
+
}
|
|
423
398
|
.text-center {
|
|
424
399
|
text-align: center;
|
|
425
400
|
}
|
|
@@ -468,6 +443,9 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
468
443
|
outline-style: var(--tw-outline-style);
|
|
469
444
|
outline-width: 1px;
|
|
470
445
|
}
|
|
446
|
+
.filter {
|
|
447
|
+
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
448
|
+
}
|
|
471
449
|
.transition-colors {
|
|
472
450
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
473
451
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -539,6 +517,11 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
539
517
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
540
518
|
}
|
|
541
519
|
}
|
|
520
|
+
.md\\:flex-row {
|
|
521
|
+
@media (width >= 48rem) {
|
|
522
|
+
flex-direction: row;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
542
525
|
.md\\:border-l {
|
|
543
526
|
@media (width >= 48rem) {
|
|
544
527
|
border-left-style: var(--tw-border-style);
|
|
@@ -712,6 +695,80 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
712
695
|
}
|
|
713
696
|
}
|
|
714
697
|
}
|
|
698
|
+
@property --tw-animation-delay {
|
|
699
|
+
syntax: "*";
|
|
700
|
+
inherits: false;
|
|
701
|
+
initial-value: 0s;
|
|
702
|
+
}
|
|
703
|
+
@property --tw-animation-direction {
|
|
704
|
+
syntax: "*";
|
|
705
|
+
inherits: false;
|
|
706
|
+
initial-value: normal;
|
|
707
|
+
}
|
|
708
|
+
@property --tw-animation-duration {
|
|
709
|
+
syntax: "*";
|
|
710
|
+
inherits: false;
|
|
711
|
+
}
|
|
712
|
+
@property --tw-animation-fill-mode {
|
|
713
|
+
syntax: "*";
|
|
714
|
+
inherits: false;
|
|
715
|
+
initial-value: none;
|
|
716
|
+
}
|
|
717
|
+
@property --tw-animation-iteration-count {
|
|
718
|
+
syntax: "*";
|
|
719
|
+
inherits: false;
|
|
720
|
+
initial-value: 1;
|
|
721
|
+
}
|
|
722
|
+
@property --tw-enter-opacity {
|
|
723
|
+
syntax: "*";
|
|
724
|
+
inherits: false;
|
|
725
|
+
initial-value: 1;
|
|
726
|
+
}
|
|
727
|
+
@property --tw-enter-rotate {
|
|
728
|
+
syntax: "*";
|
|
729
|
+
inherits: false;
|
|
730
|
+
initial-value: 0;
|
|
731
|
+
}
|
|
732
|
+
@property --tw-enter-scale {
|
|
733
|
+
syntax: "*";
|
|
734
|
+
inherits: false;
|
|
735
|
+
initial-value: 1;
|
|
736
|
+
}
|
|
737
|
+
@property --tw-enter-translate-x {
|
|
738
|
+
syntax: "*";
|
|
739
|
+
inherits: false;
|
|
740
|
+
initial-value: 0;
|
|
741
|
+
}
|
|
742
|
+
@property --tw-enter-translate-y {
|
|
743
|
+
syntax: "*";
|
|
744
|
+
inherits: false;
|
|
745
|
+
initial-value: 0;
|
|
746
|
+
}
|
|
747
|
+
@property --tw-exit-opacity {
|
|
748
|
+
syntax: "*";
|
|
749
|
+
inherits: false;
|
|
750
|
+
initial-value: 1;
|
|
751
|
+
}
|
|
752
|
+
@property --tw-exit-rotate {
|
|
753
|
+
syntax: "*";
|
|
754
|
+
inherits: false;
|
|
755
|
+
initial-value: 0;
|
|
756
|
+
}
|
|
757
|
+
@property --tw-exit-scale {
|
|
758
|
+
syntax: "*";
|
|
759
|
+
inherits: false;
|
|
760
|
+
initial-value: 1;
|
|
761
|
+
}
|
|
762
|
+
@property --tw-exit-translate-x {
|
|
763
|
+
syntax: "*";
|
|
764
|
+
inherits: false;
|
|
765
|
+
initial-value: 0;
|
|
766
|
+
}
|
|
767
|
+
@property --tw-exit-translate-y {
|
|
768
|
+
syntax: "*";
|
|
769
|
+
inherits: false;
|
|
770
|
+
initial-value: 0;
|
|
771
|
+
}
|
|
715
772
|
@layer base {
|
|
716
773
|
* {
|
|
717
774
|
border-color: var(--border);
|
|
@@ -725,6 +782,10 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
725
782
|
color: var(--foreground);
|
|
726
783
|
}
|
|
727
784
|
}
|
|
785
|
+
:host {
|
|
786
|
+
font-family: inherit;
|
|
787
|
+
line-height: inherit;
|
|
788
|
+
}
|
|
728
789
|
@property --tw-space-y-reverse {
|
|
729
790
|
syntax: "*";
|
|
730
791
|
inherits: false;
|
|
@@ -749,6 +810,59 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
749
810
|
inherits: false;
|
|
750
811
|
initial-value: solid;
|
|
751
812
|
}
|
|
813
|
+
@property --tw-blur {
|
|
814
|
+
syntax: "*";
|
|
815
|
+
inherits: false;
|
|
816
|
+
}
|
|
817
|
+
@property --tw-brightness {
|
|
818
|
+
syntax: "*";
|
|
819
|
+
inherits: false;
|
|
820
|
+
}
|
|
821
|
+
@property --tw-contrast {
|
|
822
|
+
syntax: "*";
|
|
823
|
+
inherits: false;
|
|
824
|
+
}
|
|
825
|
+
@property --tw-grayscale {
|
|
826
|
+
syntax: "*";
|
|
827
|
+
inherits: false;
|
|
828
|
+
}
|
|
829
|
+
@property --tw-hue-rotate {
|
|
830
|
+
syntax: "*";
|
|
831
|
+
inherits: false;
|
|
832
|
+
}
|
|
833
|
+
@property --tw-invert {
|
|
834
|
+
syntax: "*";
|
|
835
|
+
inherits: false;
|
|
836
|
+
}
|
|
837
|
+
@property --tw-opacity {
|
|
838
|
+
syntax: "*";
|
|
839
|
+
inherits: false;
|
|
840
|
+
}
|
|
841
|
+
@property --tw-saturate {
|
|
842
|
+
syntax: "*";
|
|
843
|
+
inherits: false;
|
|
844
|
+
}
|
|
845
|
+
@property --tw-sepia {
|
|
846
|
+
syntax: "*";
|
|
847
|
+
inherits: false;
|
|
848
|
+
}
|
|
849
|
+
@property --tw-drop-shadow {
|
|
850
|
+
syntax: "*";
|
|
851
|
+
inherits: false;
|
|
852
|
+
}
|
|
853
|
+
@property --tw-drop-shadow-color {
|
|
854
|
+
syntax: "*";
|
|
855
|
+
inherits: false;
|
|
856
|
+
}
|
|
857
|
+
@property --tw-drop-shadow-alpha {
|
|
858
|
+
syntax: "<percentage>";
|
|
859
|
+
inherits: false;
|
|
860
|
+
initial-value: 100%;
|
|
861
|
+
}
|
|
862
|
+
@property --tw-drop-shadow-size {
|
|
863
|
+
syntax: "*";
|
|
864
|
+
inherits: false;
|
|
865
|
+
}
|
|
752
866
|
@property --tw-duration {
|
|
753
867
|
syntax: "*";
|
|
754
868
|
inherits: false;
|
|
@@ -826,6 +940,19 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
826
940
|
--tw-border-style: solid;
|
|
827
941
|
--tw-font-weight: initial;
|
|
828
942
|
--tw-outline-style: solid;
|
|
943
|
+
--tw-blur: initial;
|
|
944
|
+
--tw-brightness: initial;
|
|
945
|
+
--tw-contrast: initial;
|
|
946
|
+
--tw-grayscale: initial;
|
|
947
|
+
--tw-hue-rotate: initial;
|
|
948
|
+
--tw-invert: initial;
|
|
949
|
+
--tw-opacity: initial;
|
|
950
|
+
--tw-saturate: initial;
|
|
951
|
+
--tw-sepia: initial;
|
|
952
|
+
--tw-drop-shadow: initial;
|
|
953
|
+
--tw-drop-shadow-color: initial;
|
|
954
|
+
--tw-drop-shadow-alpha: 100%;
|
|
955
|
+
--tw-drop-shadow-size: initial;
|
|
829
956
|
--tw-duration: initial;
|
|
830
957
|
--tw-shadow: 0 0 #0000;
|
|
831
958
|
--tw-shadow-color: initial;
|
|
@@ -841,9 +968,24 @@ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwi
|
|
|
841
968
|
--tw-ring-offset-width: 0px;
|
|
842
969
|
--tw-ring-offset-color: #fff;
|
|
843
970
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
971
|
+
--tw-animation-delay: 0s;
|
|
972
|
+
--tw-animation-direction: normal;
|
|
973
|
+
--tw-animation-duration: initial;
|
|
974
|
+
--tw-animation-fill-mode: none;
|
|
975
|
+
--tw-animation-iteration-count: 1;
|
|
976
|
+
--tw-enter-opacity: 1;
|
|
977
|
+
--tw-enter-rotate: 0;
|
|
978
|
+
--tw-enter-scale: 1;
|
|
979
|
+
--tw-enter-translate-x: 0;
|
|
980
|
+
--tw-enter-translate-y: 0;
|
|
981
|
+
--tw-exit-opacity: 1;
|
|
982
|
+
--tw-exit-rotate: 0;
|
|
983
|
+
--tw-exit-scale: 1;
|
|
984
|
+
--tw-exit-translate-x: 0;
|
|
985
|
+
--tw-exit-translate-y: 0;
|
|
844
986
|
}
|
|
845
987
|
}
|
|
846
988
|
}
|
|
847
989
|
`;
|
|
848
990
|
|
|
849
|
-
export { ComponentStyles
|
|
991
|
+
export { ComponentStyles };
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import '../chunks/chunk.3WU6NPWM.js';
|
|
2
|
-
import '../chunks/chunk.
|
|
3
|
-
import '../chunks/chunk.
|
|
4
|
-
import '../chunks/chunk.
|
|
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';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { tool_create_default as default } from '../../chunks/chunk.
|
|
2
|
-
export { ECCClientElixirTrsToolCreate } from '../../chunks/chunk.
|
|
3
|
-
import '../../chunks/chunk.
|
|
1
|
+
export { tool_create_default as default } from '../../chunks/chunk.DTNNXROY.js';
|
|
2
|
+
export { ECCClientElixirTrsToolCreate } from '../../chunks/chunk.JW7KBVNO.js';
|
|
3
|
+
import '../../chunks/chunk.WG3VQJ2S.js';
|
|
4
|
+
import '../../chunks/chunk.3S22ENXV.js';
|
|
5
|
+
import '../../chunks/chunk.S3NI7NKU.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import { TrsFilerProvider } from "../../providers/index.js";
|
|
2
|
+
import { TrsFilerProvider, DescriptorType, ImageType } from "../../providers/index.js";
|
|
3
3
|
import "@elixir-cloud/design/components/button/index.js";
|
|
4
4
|
import "@elixir-cloud/design/components/input/index.js";
|
|
5
5
|
import "@elixir-cloud/design/components/select/index.js";
|
|
@@ -12,6 +12,8 @@ import "@elixir-cloud/design/components/tabs/index.js";
|
|
|
12
12
|
import "@elixir-cloud/design/components/separator/index.js";
|
|
13
13
|
import "@elixir-cloud/design/components/checkbox/index.js";
|
|
14
14
|
import "@elixir-cloud/design/components/collapsible/index.js";
|
|
15
|
+
type FileType = "TEST_FILE" | "PRIMARY_DESCRIPTOR" | "SECONDARY_DESCRIPTOR" | "CONTAINERFILE" | "OTHER";
|
|
16
|
+
type UIFileType = "TEST_FILE" | "PRIMARY_DESCRIPTOR" | "SECONDARY_DESCRIPTOR" | "Docker" | "Singularity" | "Conda" | "OTHER";
|
|
15
17
|
/**
|
|
16
18
|
* @summary Component for creating new tools in TRS-Filer
|
|
17
19
|
* @since 2.0.0
|
|
@@ -19,14 +21,63 @@ import "@elixir-cloud/design/components/collapsible/index.js";
|
|
|
19
21
|
* @property {string} baseUrl - Base URL of the TRS instance/gateway
|
|
20
22
|
* @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
|
|
21
23
|
*
|
|
22
|
-
*
|
|
23
|
-
* @
|
|
24
|
-
* @
|
|
24
|
+
* // Default value properties for basic fields
|
|
25
|
+
* @property {string} defaultName - Default value for tool name
|
|
26
|
+
* @property {string} defaultOrganization - Default value for organization
|
|
27
|
+
* @property {string} defaultDescription - Default value for description
|
|
28
|
+
* @property {string} defaultToolClassId - Default value for tool class ID
|
|
29
|
+
* @property {string} defaultAliases - Default value for aliases (comma-separated)
|
|
30
|
+
* @property {string} defaultCheckerUrl - Default value for checker URL
|
|
31
|
+
* @property {string} defaultCustomToolId - Default value for custom tool ID
|
|
32
|
+
*
|
|
33
|
+
* // Default value properties for version fields
|
|
34
|
+
* @property {string} defaultVersionName - Default value for version name
|
|
35
|
+
* @property {string} defaultVersionAuthor - Default value for version author (comma-separated)
|
|
36
|
+
* @property {boolean} defaultIsProduction - Default value for production status
|
|
37
|
+
* @property {boolean} defaultSigned - Default value for signed status
|
|
38
|
+
* @property {boolean} defaultVerified - Default value for verified status
|
|
39
|
+
* @property {string} defaultVerifiedSource - Default value for verified source (comma-separated)
|
|
40
|
+
* @property {string} defaultIncludedApps - Default value for included apps (comma-separated)
|
|
41
|
+
* @property {string} defaultCustomVersionId - Default value for custom version ID
|
|
42
|
+
* @property {DescriptorType[]} supportedDescriptorTypes - Array of supported descriptor types to filter available workflow languages
|
|
43
|
+
*
|
|
44
|
+
* @fires ecc-tool-created - Fired when a tool is successfully created (includes toolId, toolData, and success message)
|
|
45
|
+
* @fires ecc-tool-create-failed - Fired when tool creation fails
|
|
46
|
+
* @fires ecc-tool-create-validation-failed - Fired when there are validation errors during tool creation
|
|
47
|
+
* @fires ecc-tool-create-input-changed - Fired when an input field is changed
|
|
48
|
+
*
|
|
49
|
+
* @slot tool-name - Custom content for tool name field (default field used if empty)
|
|
50
|
+
* @slot organization - Custom content for organization field (default field used if empty)
|
|
51
|
+
* @slot description - Custom content for description field (default field used if empty)
|
|
52
|
+
* @slot tool-class - Custom content for tool class field (default field used if empty)
|
|
53
|
+
* @slot custom-tool-id - Custom content for custom tool ID field (default field used if empty)
|
|
54
|
+
* @slot aliases - Custom content for aliases field (default field used if empty)
|
|
55
|
+
* @slot checker-url - Custom content for checker URL field (default field used if empty)
|
|
56
|
+
* @slot version-name - Custom content for version name field (default field used if empty)
|
|
57
|
+
* @slot version-author - Custom content for version author field (default field used if empty)
|
|
58
|
+
* @slot version-advanced-options - Custom content for advanced version options section (default advanced version options used if empty)
|
|
59
|
+
* @slot advanced-fields - Custom content for entire advanced fields section (default advanced fields used if empty)
|
|
25
60
|
*/
|
|
26
61
|
export declare class ECCClientElixirTrsToolCreate extends LitElement {
|
|
27
62
|
static styles: import("lit").CSSResult[];
|
|
28
63
|
baseUrl: string;
|
|
29
64
|
provider?: TrsFilerProvider;
|
|
65
|
+
defaultName: string;
|
|
66
|
+
defaultOrganization: string;
|
|
67
|
+
defaultDescription: string;
|
|
68
|
+
defaultToolClassId: string;
|
|
69
|
+
defaultAliases: string;
|
|
70
|
+
defaultCheckerUrl: string;
|
|
71
|
+
defaultCustomToolId: string;
|
|
72
|
+
defaultVersionName: string;
|
|
73
|
+
defaultVersionAuthor: string;
|
|
74
|
+
defaultIsProduction: boolean;
|
|
75
|
+
defaultSigned: boolean;
|
|
76
|
+
defaultVerified: boolean;
|
|
77
|
+
defaultVerifiedSource: string;
|
|
78
|
+
defaultIncludedApps: string;
|
|
79
|
+
defaultCustomVersionId: string;
|
|
80
|
+
supportedDescriptorTypes: DescriptorType[];
|
|
30
81
|
private toolClasses;
|
|
31
82
|
private loading;
|
|
32
83
|
private error;
|
|
@@ -37,6 +88,7 @@ export declare class ECCClientElixirTrsToolCreate extends LitElement {
|
|
|
37
88
|
private activeFileIndex;
|
|
38
89
|
private activeDescriptorType;
|
|
39
90
|
protected firstUpdated(): Promise<void>;
|
|
91
|
+
private initializeFormWithDefaults;
|
|
40
92
|
protected updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
41
93
|
private loadToolClasses;
|
|
42
94
|
private handleInputChange;
|
|
@@ -49,12 +101,11 @@ export declare class ECCClientElixirTrsToolCreate extends LitElement {
|
|
|
49
101
|
private handleFileUpload;
|
|
50
102
|
private handleBulkFileUpload;
|
|
51
103
|
private handleZipFileUpload;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
private getFileExtension;
|
|
104
|
+
static extractFileFromZip(zipEntry: any, relativePath: string): Promise<any | null>;
|
|
105
|
+
static isTextFile(filename: string): boolean;
|
|
106
|
+
static getDefaultFileType(filename: string): FileType;
|
|
107
|
+
static getContainerImageType(filename: string): ImageType;
|
|
108
|
+
static getFileExtension(filename: string): string;
|
|
58
109
|
private handleFileFieldChange;
|
|
59
110
|
private addImageToVersion;
|
|
60
111
|
private removeImageFromVersion;
|
|
@@ -66,9 +117,12 @@ export declare class ECCClientElixirTrsToolCreate extends LitElement {
|
|
|
66
117
|
private renderVersionContent;
|
|
67
118
|
private renderFilesLayout;
|
|
68
119
|
private renderFileContentArea;
|
|
69
|
-
|
|
70
|
-
private getVersionTags;
|
|
120
|
+
static getVersionTags(version: any): string[];
|
|
71
121
|
private handleVersionTagsChange;
|
|
122
|
+
static getUIFileType(filename: string, fileType: FileType): UIFileType;
|
|
123
|
+
static convertUIFileTypeToFileType(uiFileType: UIFileType): FileType;
|
|
124
|
+
static convertUIFileTypeToImageType(uiFileType: UIFileType): ImageType | undefined;
|
|
72
125
|
render(): import("lit-html").TemplateResult<1>;
|
|
126
|
+
private renderDescriptorTypeOptions;
|
|
73
127
|
}
|
|
74
128
|
export default ECCClientElixirTrsToolCreate;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export { ECCClientElixirTrsToolCreate, tool_create_default as default } from '../../chunks/chunk.
|
|
2
|
-
import '../../chunks/chunk.
|
|
1
|
+
export { ECCClientElixirTrsToolCreate, tool_create_default as default } from '../../chunks/chunk.JW7KBVNO.js';
|
|
2
|
+
import '../../chunks/chunk.WG3VQJ2S.js';
|
|
3
|
+
import '../../chunks/chunk.3S22ENXV.js';
|
|
4
|
+
import '../../chunks/chunk.S3NI7NKU.js';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ComponentStyles } from '../../chunks/chunk.
|
|
1
|
+
export { ComponentStyles } from '../../chunks/chunk.WG3VQJ2S.js';
|
|
2
|
+
import '../../chunks/chunk.S3NI7NKU.js';
|