@jbrowse/plugin-config 2.1.7 → 2.2.1
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/ConfigurationEditorWidget/components/SlotEditor.d.ts +2 -2
- package/dist/FromConfigAdapter/FromConfigAdapter.d.ts +1 -1
- package/dist/FromConfigAdapter/FromConfigAdapter.js.map +1 -1
- package/dist/FromConfigAdapter/FromConfigRegionsAdapter.d.ts +2 -3
- package/dist/FromConfigAdapter/FromConfigRegionsAdapter.js.map +1 -1
- package/dist/FromConfigAdapter/fromConfig.d.ts +2 -0
- package/dist/FromConfigAdapter/fromConfig.js +18 -0
- package/dist/FromConfigAdapter/fromConfig.js.map +1 -0
- package/dist/FromConfigAdapter/fromConfigRegions.d.ts +2 -0
- package/dist/FromConfigAdapter/fromConfigRegions.js +22 -0
- package/dist/FromConfigAdapter/fromConfigRegions.js.map +1 -0
- package/dist/FromConfigAdapter/fromConfigSequence.d.ts +2 -0
- package/dist/FromConfigAdapter/fromConfigSequence.js +18 -0
- package/dist/FromConfigAdapter/fromConfigSequence.js.map +1 -0
- package/dist/FromConfigAdapter/index.d.ts +3 -1
- package/dist/FromConfigAdapter/index.js +6 -4
- package/dist/FromConfigAdapter/index.js.map +1 -1
- package/dist/RefNameAliasAdapter/configSchema.d.ts +2 -2
- package/dist/RefNameAliasAdapter/configSchema.js +16 -1
- package/dist/RefNameAliasAdapter/configSchema.js.map +1 -1
- package/esm/ConfigurationEditorWidget/components/SlotEditor.d.ts +2 -2
- package/esm/FromConfigAdapter/FromConfigAdapter.d.ts +1 -1
- package/esm/FromConfigAdapter/FromConfigAdapter.js +1 -1
- package/esm/FromConfigAdapter/FromConfigAdapter.js.map +1 -1
- package/esm/FromConfigAdapter/FromConfigRegionsAdapter.d.ts +2 -3
- package/esm/FromConfigAdapter/FromConfigRegionsAdapter.js +1 -1
- package/esm/FromConfigAdapter/FromConfigRegionsAdapter.js.map +1 -1
- package/esm/FromConfigAdapter/fromConfig.d.ts +2 -0
- package/esm/FromConfigAdapter/fromConfig.js +16 -0
- package/esm/FromConfigAdapter/fromConfig.js.map +1 -0
- package/esm/FromConfigAdapter/fromConfigRegions.d.ts +2 -0
- package/esm/FromConfigAdapter/fromConfigRegions.js +20 -0
- package/esm/FromConfigAdapter/fromConfigRegions.js.map +1 -0
- package/esm/FromConfigAdapter/fromConfigSequence.d.ts +2 -0
- package/esm/FromConfigAdapter/fromConfigSequence.js +16 -0
- package/esm/FromConfigAdapter/fromConfigSequence.js.map +1 -0
- package/esm/FromConfigAdapter/index.d.ts +3 -1
- package/esm/FromConfigAdapter/index.js +3 -1
- package/esm/FromConfigAdapter/index.js.map +1 -1
- package/esm/RefNameAliasAdapter/configSchema.d.ts +2 -2
- package/esm/RefNameAliasAdapter/configSchema.js +16 -1
- package/esm/RefNameAliasAdapter/configSchema.js.map +1 -1
- package/package.json +2 -2
- package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap +89 -89
- package/src/FromConfigAdapter/FromConfigAdapter.test.ts +1 -1
- package/src/FromConfigAdapter/FromConfigAdapter.ts +4 -2
- package/src/FromConfigAdapter/FromConfigRegionsAdapter.test.ts +1 -1
- package/src/FromConfigAdapter/FromConfigRegionsAdapter.ts +5 -4
- package/src/FromConfigAdapter/FromConfigSequenceAdapter.test.ts +2 -1
- package/src/FromConfigAdapter/fromConfig.ts +22 -0
- package/src/FromConfigAdapter/fromConfigRegions.ts +24 -0
- package/src/FromConfigAdapter/fromConfigSequence.ts +21 -0
- package/src/FromConfigAdapter/index.ts +3 -5
- package/src/RefNameAliasAdapter/configSchema.ts +18 -1
- package/src/__snapshots__/index.test.js.snap +2 -2
- package/dist/FromConfigAdapter/configSchema.d.ts +0 -3
- package/dist/FromConfigAdapter/configSchema.js +0 -35
- package/dist/FromConfigAdapter/configSchema.js.map +0 -1
- package/esm/FromConfigAdapter/configSchema.d.ts +0 -3
- package/esm/FromConfigAdapter/configSchema.js +0 -32
- package/esm/FromConfigAdapter/configSchema.js.map +0 -1
- package/src/FromConfigAdapter/configSchema.ts +0 -46
package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`ConfigurationEditor widget renders all the different types of built-in slots 1`] = `
|
|
4
4
|
<div
|
|
5
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters
|
|
5
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-vuzfd9-MuiPaper-root-MuiAccordion-root-accordion"
|
|
6
6
|
>
|
|
7
7
|
<div
|
|
8
8
|
aria-expanded="true"
|
|
@@ -24,7 +24,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
24
24
|
>
|
|
25
25
|
<svg
|
|
26
26
|
aria-hidden="true"
|
|
27
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium
|
|
27
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-ymsoo8-MuiSvgIcon-root-expandIcon"
|
|
28
28
|
data-testid="ExpandMoreIcon"
|
|
29
29
|
focusable="false"
|
|
30
30
|
viewBox="0 0 24 24"
|
|
@@ -50,14 +50,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
50
50
|
role="region"
|
|
51
51
|
>
|
|
52
52
|
<div
|
|
53
|
-
class="MuiAccordionDetails-root
|
|
53
|
+
class="MuiAccordionDetails-root css-rqrb7m-MuiAccordionDetails-root-expansionPanelDetails"
|
|
54
54
|
data-testid="configEditor"
|
|
55
55
|
>
|
|
56
56
|
<div
|
|
57
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
57
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
58
58
|
>
|
|
59
59
|
<div
|
|
60
|
-
class="
|
|
60
|
+
class="css-1962tgi-paperContent"
|
|
61
61
|
>
|
|
62
62
|
<div
|
|
63
63
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -105,14 +105,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
105
105
|
</div>
|
|
106
106
|
</div>
|
|
107
107
|
<div
|
|
108
|
-
class="
|
|
108
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
109
109
|
/>
|
|
110
110
|
</div>
|
|
111
111
|
<div
|
|
112
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
112
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
113
113
|
>
|
|
114
114
|
<div
|
|
115
|
-
class="
|
|
115
|
+
class="css-1962tgi-paperContent"
|
|
116
116
|
>
|
|
117
117
|
<div
|
|
118
118
|
class="MuiBox-root css-k008qs"
|
|
@@ -207,14 +207,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
207
207
|
</p>
|
|
208
208
|
</div>
|
|
209
209
|
<div
|
|
210
|
-
class="
|
|
210
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
211
211
|
/>
|
|
212
212
|
</div>
|
|
213
213
|
<div
|
|
214
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
214
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
215
215
|
>
|
|
216
216
|
<div
|
|
217
|
-
class="
|
|
217
|
+
class="css-1962tgi-paperContent"
|
|
218
218
|
>
|
|
219
219
|
<label
|
|
220
220
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-animated MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-animated css-9npbnl-MuiFormLabel-root-MuiInputLabel-root"
|
|
@@ -357,14 +357,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
357
357
|
</p>
|
|
358
358
|
</div>
|
|
359
359
|
<div
|
|
360
|
-
class="
|
|
360
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
361
361
|
/>
|
|
362
362
|
</div>
|
|
363
363
|
<div
|
|
364
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
364
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
365
365
|
>
|
|
366
366
|
<div
|
|
367
|
-
class="
|
|
367
|
+
class="css-1962tgi-paperContent"
|
|
368
368
|
>
|
|
369
369
|
<label
|
|
370
370
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-animated MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-animated css-9npbnl-MuiFormLabel-root-MuiInputLabel-root"
|
|
@@ -372,7 +372,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
372
372
|
stringArrayMapTest
|
|
373
373
|
</label>
|
|
374
374
|
<div
|
|
375
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiCard-root
|
|
375
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiCard-root css-i6acwe-MuiPaper-root-MuiCard-root-card"
|
|
376
376
|
>
|
|
377
377
|
<div
|
|
378
378
|
class="MuiCardHeader-root css-185gdzj-MuiCardHeader-root"
|
|
@@ -556,7 +556,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
556
556
|
</div>
|
|
557
557
|
</div>
|
|
558
558
|
<div
|
|
559
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiCard-root
|
|
559
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiCard-root css-i6acwe-MuiPaper-root-MuiCard-root-card"
|
|
560
560
|
>
|
|
561
561
|
<div
|
|
562
562
|
class="MuiCardHeader-root css-185gdzj-MuiCardHeader-root"
|
|
@@ -626,14 +626,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
626
626
|
</p>
|
|
627
627
|
</div>
|
|
628
628
|
<div
|
|
629
|
-
class="
|
|
629
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
630
630
|
/>
|
|
631
631
|
</div>
|
|
632
632
|
<div
|
|
633
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
633
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
634
634
|
>
|
|
635
635
|
<div
|
|
636
|
-
class="
|
|
636
|
+
class="css-1962tgi-paperContent"
|
|
637
637
|
>
|
|
638
638
|
<div
|
|
639
639
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -681,14 +681,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
681
681
|
</div>
|
|
682
682
|
</div>
|
|
683
683
|
<div
|
|
684
|
-
class="
|
|
684
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
685
685
|
/>
|
|
686
686
|
</div>
|
|
687
687
|
<div
|
|
688
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
688
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
689
689
|
>
|
|
690
690
|
<div
|
|
691
|
-
class="
|
|
691
|
+
class="css-1962tgi-paperContent"
|
|
692
692
|
>
|
|
693
693
|
<div
|
|
694
694
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -736,14 +736,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
736
736
|
</div>
|
|
737
737
|
</div>
|
|
738
738
|
<div
|
|
739
|
-
class="
|
|
739
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
740
740
|
/>
|
|
741
741
|
</div>
|
|
742
742
|
<div
|
|
743
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
743
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
744
744
|
>
|
|
745
745
|
<div
|
|
746
|
-
class="
|
|
746
|
+
class="css-1962tgi-paperContent"
|
|
747
747
|
>
|
|
748
748
|
<div
|
|
749
749
|
style="display: flex;"
|
|
@@ -798,14 +798,14 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
798
798
|
</div>
|
|
799
799
|
</div>
|
|
800
800
|
<div
|
|
801
|
-
class="
|
|
801
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
802
802
|
/>
|
|
803
803
|
</div>
|
|
804
804
|
<div
|
|
805
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
805
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
806
806
|
>
|
|
807
807
|
<div
|
|
808
|
-
class="
|
|
808
|
+
class="css-1962tgi-paperContent"
|
|
809
809
|
>
|
|
810
810
|
<div
|
|
811
811
|
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
|
|
@@ -851,7 +851,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
851
851
|
</div>
|
|
852
852
|
</div>
|
|
853
853
|
<div
|
|
854
|
-
class="
|
|
854
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
855
855
|
/>
|
|
856
856
|
</div>
|
|
857
857
|
</div>
|
|
@@ -864,7 +864,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
864
864
|
|
|
865
865
|
exports[`ConfigurationEditor widget renders with defaults of the PileupTrack schema 1`] = `
|
|
866
866
|
<div
|
|
867
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters
|
|
867
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-vuzfd9-MuiPaper-root-MuiAccordion-root-accordion"
|
|
868
868
|
>
|
|
869
869
|
<div
|
|
870
870
|
aria-expanded="true"
|
|
@@ -886,7 +886,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
886
886
|
>
|
|
887
887
|
<svg
|
|
888
888
|
aria-hidden="true"
|
|
889
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium
|
|
889
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-ymsoo8-MuiSvgIcon-root-expandIcon"
|
|
890
890
|
data-testid="ExpandMoreIcon"
|
|
891
891
|
focusable="false"
|
|
892
892
|
viewBox="0 0 24 24"
|
|
@@ -912,14 +912,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
912
912
|
role="region"
|
|
913
913
|
>
|
|
914
914
|
<div
|
|
915
|
-
class="MuiAccordionDetails-root
|
|
915
|
+
class="MuiAccordionDetails-root css-rqrb7m-MuiAccordionDetails-root-expansionPanelDetails"
|
|
916
916
|
data-testid="configEditor"
|
|
917
917
|
>
|
|
918
918
|
<div
|
|
919
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
919
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
920
920
|
>
|
|
921
921
|
<div
|
|
922
|
-
class="
|
|
922
|
+
class="css-1962tgi-paperContent"
|
|
923
923
|
>
|
|
924
924
|
<div
|
|
925
925
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -967,14 +967,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
967
967
|
</div>
|
|
968
968
|
</div>
|
|
969
969
|
<div
|
|
970
|
-
class="
|
|
970
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
971
971
|
/>
|
|
972
972
|
</div>
|
|
973
973
|
<div
|
|
974
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
974
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
975
975
|
>
|
|
976
976
|
<div
|
|
977
|
-
class="
|
|
977
|
+
class="css-1962tgi-paperContent"
|
|
978
978
|
>
|
|
979
979
|
<div
|
|
980
980
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1022,27 +1022,27 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1022
1022
|
</div>
|
|
1023
1023
|
</div>
|
|
1024
1024
|
<div
|
|
1025
|
-
class="
|
|
1025
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1026
1026
|
/>
|
|
1027
1027
|
</div>
|
|
1028
1028
|
<div
|
|
1029
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1029
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1030
1030
|
>
|
|
1031
1031
|
<div
|
|
1032
|
-
class="
|
|
1032
|
+
class="css-1962tgi-paperContent"
|
|
1033
1033
|
>
|
|
1034
1034
|
<div
|
|
1035
|
-
class="
|
|
1035
|
+
class="css-15g9652-callbackContainer"
|
|
1036
1036
|
>
|
|
1037
1037
|
<div
|
|
1038
|
-
class="MuiFormControl-root MuiTextField-root
|
|
1038
|
+
class="MuiFormControl-root MuiTextField-root css-6ob6nl-MuiFormControl-root-MuiTextField-root-callbackEditor"
|
|
1039
1039
|
>
|
|
1040
1040
|
<div
|
|
1041
1041
|
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-multiline css-dpjnhs-MuiInputBase-root-MuiOutlinedInput-root"
|
|
1042
1042
|
>
|
|
1043
1043
|
<textarea
|
|
1044
1044
|
aria-invalid="false"
|
|
1045
|
-
class="MuiInputBase-input MuiOutlinedInput-input
|
|
1045
|
+
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-os06jd-MuiInputBase-input-MuiOutlinedInput-input-textAreaFont"
|
|
1046
1046
|
id="mui-14"
|
|
1047
1047
|
style="height: 0px; overflow: hidden;"
|
|
1048
1048
|
>
|
|
@@ -1050,7 +1050,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1050
1050
|
</textarea>
|
|
1051
1051
|
<textarea
|
|
1052
1052
|
aria-hidden="true"
|
|
1053
|
-
class="MuiInputBase-input MuiOutlinedInput-input
|
|
1053
|
+
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-os06jd-MuiInputBase-input-MuiOutlinedInput-input-textAreaFont"
|
|
1054
1054
|
readonly=""
|
|
1055
1055
|
style="visibility: hidden; position: absolute; overflow: hidden; height: 0px; top: 0px; left: 0px; transform: translateZ(0); padding: 0px; width: 100%;"
|
|
1056
1056
|
tabindex="-1"
|
|
@@ -1098,7 +1098,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1098
1098
|
</div>
|
|
1099
1099
|
</div>
|
|
1100
1100
|
<div
|
|
1101
|
-
class="
|
|
1101
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1102
1102
|
>
|
|
1103
1103
|
<button
|
|
1104
1104
|
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
|
|
@@ -1123,7 +1123,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1123
1123
|
</div>
|
|
1124
1124
|
</div>
|
|
1125
1125
|
<div
|
|
1126
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters
|
|
1126
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-vuzfd9-MuiPaper-root-MuiAccordion-root-accordion"
|
|
1127
1127
|
>
|
|
1128
1128
|
<div
|
|
1129
1129
|
aria-expanded="true"
|
|
@@ -1145,7 +1145,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1145
1145
|
>
|
|
1146
1146
|
<svg
|
|
1147
1147
|
aria-hidden="true"
|
|
1148
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium
|
|
1148
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-ymsoo8-MuiSvgIcon-root-expandIcon"
|
|
1149
1149
|
data-testid="ExpandMoreIcon"
|
|
1150
1150
|
focusable="false"
|
|
1151
1151
|
viewBox="0 0 24 24"
|
|
@@ -1171,13 +1171,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1171
1171
|
role="region"
|
|
1172
1172
|
>
|
|
1173
1173
|
<div
|
|
1174
|
-
class="MuiAccordionDetails-root
|
|
1174
|
+
class="MuiAccordionDetails-root css-rqrb7m-MuiAccordionDetails-root-expansionPanelDetails"
|
|
1175
1175
|
>
|
|
1176
1176
|
<div
|
|
1177
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1177
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1178
1178
|
>
|
|
1179
1179
|
<div
|
|
1180
|
-
class="
|
|
1180
|
+
class="css-1962tgi-paperContent"
|
|
1181
1181
|
>
|
|
1182
1182
|
<div
|
|
1183
1183
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1245,13 +1245,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1245
1245
|
</div>
|
|
1246
1246
|
</div>
|
|
1247
1247
|
<div
|
|
1248
|
-
class="MuiFormGroup-root
|
|
1248
|
+
class="MuiFormGroup-root css-1joae81-MuiFormGroup-root-noOverflow"
|
|
1249
1249
|
>
|
|
1250
1250
|
<div
|
|
1251
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1251
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1252
1252
|
>
|
|
1253
1253
|
<div
|
|
1254
|
-
class="
|
|
1254
|
+
class="css-1962tgi-paperContent"
|
|
1255
1255
|
>
|
|
1256
1256
|
<div
|
|
1257
1257
|
style="display: flex;"
|
|
@@ -1302,10 +1302,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1302
1302
|
style="margin-top: 10px;"
|
|
1303
1303
|
>
|
|
1304
1304
|
<div
|
|
1305
|
-
class="
|
|
1305
|
+
class="css-7h64ut-picker"
|
|
1306
1306
|
>
|
|
1307
1307
|
<div
|
|
1308
|
-
class="
|
|
1308
|
+
class="css-hl2wx9-swatch"
|
|
1309
1309
|
style="background-color: rgb(255, 0, 255);"
|
|
1310
1310
|
/>
|
|
1311
1311
|
</div>
|
|
@@ -1313,7 +1313,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1313
1313
|
</div>
|
|
1314
1314
|
</div>
|
|
1315
1315
|
<div
|
|
1316
|
-
class="
|
|
1316
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1317
1317
|
>
|
|
1318
1318
|
<button
|
|
1319
1319
|
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
|
|
@@ -1339,10 +1339,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1339
1339
|
</div>
|
|
1340
1340
|
</div>
|
|
1341
1341
|
<div
|
|
1342
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1342
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1343
1343
|
>
|
|
1344
1344
|
<div
|
|
1345
|
-
class="
|
|
1345
|
+
class="css-1962tgi-paperContent"
|
|
1346
1346
|
>
|
|
1347
1347
|
<div
|
|
1348
1348
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1411,14 +1411,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1411
1411
|
</div>
|
|
1412
1412
|
</div>
|
|
1413
1413
|
<div
|
|
1414
|
-
class="
|
|
1414
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1415
1415
|
/>
|
|
1416
1416
|
</div>
|
|
1417
1417
|
<div
|
|
1418
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1418
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1419
1419
|
>
|
|
1420
1420
|
<div
|
|
1421
|
-
class="
|
|
1421
|
+
class="css-1962tgi-paperContent"
|
|
1422
1422
|
>
|
|
1423
1423
|
<div
|
|
1424
1424
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1487,14 +1487,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1487
1487
|
</div>
|
|
1488
1488
|
</div>
|
|
1489
1489
|
<div
|
|
1490
|
-
class="
|
|
1490
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1491
1491
|
/>
|
|
1492
1492
|
</div>
|
|
1493
1493
|
<div
|
|
1494
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1494
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1495
1495
|
>
|
|
1496
1496
|
<div
|
|
1497
|
-
class="
|
|
1497
|
+
class="css-1962tgi-paperContent"
|
|
1498
1498
|
>
|
|
1499
1499
|
<div
|
|
1500
1500
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1542,14 +1542,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1542
1542
|
</div>
|
|
1543
1543
|
</div>
|
|
1544
1544
|
<div
|
|
1545
|
-
class="
|
|
1545
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1546
1546
|
/>
|
|
1547
1547
|
</div>
|
|
1548
1548
|
<div
|
|
1549
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1549
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1550
1550
|
>
|
|
1551
1551
|
<div
|
|
1552
|
-
class="
|
|
1552
|
+
class="css-1962tgi-paperContent"
|
|
1553
1553
|
>
|
|
1554
1554
|
<div
|
|
1555
1555
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1597,14 +1597,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1597
1597
|
</div>
|
|
1598
1598
|
</div>
|
|
1599
1599
|
<div
|
|
1600
|
-
class="
|
|
1600
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1601
1601
|
/>
|
|
1602
1602
|
</div>
|
|
1603
1603
|
<div
|
|
1604
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1604
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1605
1605
|
>
|
|
1606
1606
|
<div
|
|
1607
|
-
class="
|
|
1607
|
+
class="css-1962tgi-paperContent"
|
|
1608
1608
|
>
|
|
1609
1609
|
<div
|
|
1610
1610
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1652,14 +1652,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1652
1652
|
</div>
|
|
1653
1653
|
</div>
|
|
1654
1654
|
<div
|
|
1655
|
-
class="
|
|
1655
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1656
1656
|
/>
|
|
1657
1657
|
</div>
|
|
1658
1658
|
<div
|
|
1659
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1659
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1660
1660
|
>
|
|
1661
1661
|
<div
|
|
1662
|
-
class="
|
|
1662
|
+
class="css-1962tgi-paperContent"
|
|
1663
1663
|
>
|
|
1664
1664
|
<div
|
|
1665
1665
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1707,7 +1707,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1707
1707
|
</div>
|
|
1708
1708
|
</div>
|
|
1709
1709
|
<div
|
|
1710
|
-
class="
|
|
1710
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1711
1711
|
>
|
|
1712
1712
|
<button
|
|
1713
1713
|
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
|
|
@@ -1733,10 +1733,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1733
1733
|
</div>
|
|
1734
1734
|
</div>
|
|
1735
1735
|
<div
|
|
1736
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1736
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1737
1737
|
>
|
|
1738
1738
|
<div
|
|
1739
|
-
class="
|
|
1739
|
+
class="css-1962tgi-paperContent"
|
|
1740
1740
|
>
|
|
1741
1741
|
<div
|
|
1742
1742
|
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
|
|
@@ -1781,14 +1781,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1781
1781
|
</div>
|
|
1782
1782
|
</div>
|
|
1783
1783
|
<div
|
|
1784
|
-
class="
|
|
1784
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1785
1785
|
/>
|
|
1786
1786
|
</div>
|
|
1787
1787
|
<div
|
|
1788
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1788
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1789
1789
|
>
|
|
1790
1790
|
<div
|
|
1791
|
-
class="
|
|
1791
|
+
class="css-1962tgi-paperContent"
|
|
1792
1792
|
>
|
|
1793
1793
|
<div
|
|
1794
1794
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -1836,14 +1836,14 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1836
1836
|
</div>
|
|
1837
1837
|
</div>
|
|
1838
1838
|
<div
|
|
1839
|
-
class="
|
|
1839
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1840
1840
|
/>
|
|
1841
1841
|
</div>
|
|
1842
1842
|
<div
|
|
1843
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1843
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1844
1844
|
>
|
|
1845
1845
|
<div
|
|
1846
|
-
class="
|
|
1846
|
+
class="css-1962tgi-paperContent"
|
|
1847
1847
|
>
|
|
1848
1848
|
<div
|
|
1849
1849
|
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
|
|
@@ -1888,7 +1888,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1888
1888
|
</div>
|
|
1889
1889
|
</div>
|
|
1890
1890
|
<div
|
|
1891
|
-
class="
|
|
1891
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
1892
1892
|
/>
|
|
1893
1893
|
</div>
|
|
1894
1894
|
</div>
|
|
@@ -1908,7 +1908,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1908
1908
|
|
|
1909
1909
|
exports[`ConfigurationEditor widget renders with just the required model elements 1`] = `
|
|
1910
1910
|
<div
|
|
1911
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters
|
|
1911
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-vuzfd9-MuiPaper-root-MuiAccordion-root-accordion"
|
|
1912
1912
|
>
|
|
1913
1913
|
<div
|
|
1914
1914
|
aria-expanded="true"
|
|
@@ -1930,7 +1930,7 @@ exports[`ConfigurationEditor widget renders with just the required model element
|
|
|
1930
1930
|
>
|
|
1931
1931
|
<svg
|
|
1932
1932
|
aria-hidden="true"
|
|
1933
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium
|
|
1933
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-ymsoo8-MuiSvgIcon-root-expandIcon"
|
|
1934
1934
|
data-testid="ExpandMoreIcon"
|
|
1935
1935
|
focusable="false"
|
|
1936
1936
|
viewBox="0 0 24 24"
|
|
@@ -1956,14 +1956,14 @@ exports[`ConfigurationEditor widget renders with just the required model element
|
|
|
1956
1956
|
role="region"
|
|
1957
1957
|
>
|
|
1958
1958
|
<div
|
|
1959
|
-
class="MuiAccordionDetails-root
|
|
1959
|
+
class="MuiAccordionDetails-root css-rqrb7m-MuiAccordionDetails-root-expansionPanelDetails"
|
|
1960
1960
|
data-testid="configEditor"
|
|
1961
1961
|
>
|
|
1962
1962
|
<div
|
|
1963
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1
|
|
1963
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
|
|
1964
1964
|
>
|
|
1965
1965
|
<div
|
|
1966
|
-
class="
|
|
1966
|
+
class="css-1962tgi-paperContent"
|
|
1967
1967
|
>
|
|
1968
1968
|
<div
|
|
1969
1969
|
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
@@ -2009,7 +2009,7 @@ exports[`ConfigurationEditor widget renders with just the required model element
|
|
|
2009
2009
|
</div>
|
|
2010
2010
|
</div>
|
|
2011
2011
|
<div
|
|
2012
|
-
class="
|
|
2012
|
+
class="css-8lz2mt-slotModeSwitch"
|
|
2013
2013
|
/>
|
|
2014
2014
|
</div>
|
|
2015
2015
|
</div>
|
|
@@ -5,8 +5,10 @@ import SimpleFeature, {
|
|
|
5
5
|
} from '@jbrowse/core/util/simpleFeature'
|
|
6
6
|
import { ObservableCreate } from '@jbrowse/core/util/rxjs'
|
|
7
7
|
import { NoAssemblyRegion } from '@jbrowse/core/util/types'
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
AnyConfigurationModel,
|
|
10
|
+
readConfObject,
|
|
11
|
+
} from '@jbrowse/core/configuration'
|
|
10
12
|
import PluginManager from '@jbrowse/core/PluginManager'
|
|
11
13
|
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache'
|
|
12
14
|
|
|
@@ -6,9 +6,10 @@ import {
|
|
|
6
6
|
Feature,
|
|
7
7
|
SimpleFeatureSerialized,
|
|
8
8
|
} from '@jbrowse/core/util/simpleFeature'
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
import {
|
|
10
|
+
AnyConfigurationModel,
|
|
11
|
+
readConfObject,
|
|
12
|
+
} from '@jbrowse/core/configuration'
|
|
12
13
|
import FromConfigAdapter from './FromConfigAdapter'
|
|
13
14
|
import PluginManager from '@jbrowse/core/PluginManager'
|
|
14
15
|
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache'
|
|
@@ -25,7 +26,7 @@ export default class FromConfigRegionsAdapter
|
|
|
25
26
|
private features: Map<string, Feature[]>
|
|
26
27
|
|
|
27
28
|
constructor(
|
|
28
|
-
config:
|
|
29
|
+
config: AnyConfigurationModel,
|
|
29
30
|
getSubAdapter?: getSubAdapterType,
|
|
30
31
|
pluginManager?: PluginManager,
|
|
31
32
|
) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { toArray } from 'rxjs/operators'
|
|
2
2
|
import Adapter from './FromConfigSequenceAdapter'
|
|
3
|
-
import
|
|
3
|
+
import sequenceConfigSchema from './fromConfigSequence'
|
|
4
|
+
|
|
4
5
|
test('adapter can fetch sequences when there is just one feature representing whole refseq', async () => {
|
|
5
6
|
const features = [
|
|
6
7
|
{
|