@jbrowse/plugin-config 2.3.4 → 2.4.0

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 (57) hide show
  1. package/dist/ConfigurationEditorWidget/components/BooleanEditor.d.ts +10 -0
  2. package/dist/ConfigurationEditorWidget/components/BooleanEditor.js +14 -0
  3. package/dist/ConfigurationEditorWidget/components/BooleanEditor.js.map +1 -0
  4. package/dist/ConfigurationEditorWidget/components/ConfigurationEditor.js +25 -22
  5. package/dist/ConfigurationEditorWidget/components/ConfigurationEditor.js.map +1 -1
  6. package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.d.ts +5 -0
  7. package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.js +19 -0
  8. package/dist/ConfigurationEditorWidget/components/ConfigurationTextField.js.map +1 -0
  9. package/dist/ConfigurationEditorWidget/components/NumberEditor.d.ts +11 -0
  10. package/dist/ConfigurationEditorWidget/components/NumberEditor.js +46 -0
  11. package/dist/ConfigurationEditorWidget/components/NumberEditor.js.map +1 -0
  12. package/dist/ConfigurationEditorWidget/components/NumberMapEditor.d.ts +11 -0
  13. package/dist/ConfigurationEditorWidget/components/NumberMapEditor.js +66 -0
  14. package/dist/ConfigurationEditorWidget/components/NumberMapEditor.js.map +1 -0
  15. package/dist/ConfigurationEditorWidget/components/SlotEditor.js +15 -97
  16. package/dist/ConfigurationEditorWidget/components/SlotEditor.js.map +1 -1
  17. package/dist/ConfigurationEditorWidget/components/StringArrayEditor.js +1 -1
  18. package/dist/ConfigurationEditorWidget/components/StringArrayEditor.js.map +1 -1
  19. package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.d.ts +14 -0
  20. package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.js +71 -0
  21. package/dist/ConfigurationEditorWidget/components/StringArrayMapEditor.js.map +1 -0
  22. package/dist/RefNameAliasAdapter/RefNameAliasAdapter.js +3 -4
  23. package/dist/RefNameAliasAdapter/RefNameAliasAdapter.js.map +1 -1
  24. package/esm/ConfigurationEditorWidget/components/BooleanEditor.d.ts +10 -0
  25. package/esm/ConfigurationEditorWidget/components/BooleanEditor.js +9 -0
  26. package/esm/ConfigurationEditorWidget/components/BooleanEditor.js.map +1 -0
  27. package/esm/ConfigurationEditorWidget/components/ConfigurationEditor.js +25 -22
  28. package/esm/ConfigurationEditorWidget/components/ConfigurationEditor.js.map +1 -1
  29. package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.d.ts +5 -0
  30. package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.js +13 -0
  31. package/esm/ConfigurationEditorWidget/components/ConfigurationTextField.js.map +1 -0
  32. package/esm/ConfigurationEditorWidget/components/NumberEditor.d.ts +11 -0
  33. package/esm/ConfigurationEditorWidget/components/NumberEditor.js +18 -0
  34. package/esm/ConfigurationEditorWidget/components/NumberEditor.js.map +1 -0
  35. package/esm/ConfigurationEditorWidget/components/NumberMapEditor.d.ts +11 -0
  36. package/esm/ConfigurationEditorWidget/components/NumberMapEditor.js +38 -0
  37. package/esm/ConfigurationEditorWidget/components/NumberMapEditor.js.map +1 -0
  38. package/esm/ConfigurationEditorWidget/components/SlotEditor.js +13 -95
  39. package/esm/ConfigurationEditorWidget/components/SlotEditor.js.map +1 -1
  40. package/esm/ConfigurationEditorWidget/components/StringArrayEditor.js +1 -1
  41. package/esm/ConfigurationEditorWidget/components/StringArrayEditor.js.map +1 -1
  42. package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.d.ts +14 -0
  43. package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.js +43 -0
  44. package/esm/ConfigurationEditorWidget/components/StringArrayMapEditor.js.map +1 -0
  45. package/esm/RefNameAliasAdapter/RefNameAliasAdapter.js +3 -4
  46. package/esm/RefNameAliasAdapter/RefNameAliasAdapter.js.map +1 -1
  47. package/package.json +2 -2
  48. package/src/ConfigurationEditorWidget/components/BooleanEditor.tsx +35 -0
  49. package/src/ConfigurationEditorWidget/components/ConfigurationEditor.tsx +116 -123
  50. package/src/ConfigurationEditorWidget/components/ConfigurationTextField.tsx +22 -0
  51. package/src/ConfigurationEditorWidget/components/NumberEditor.tsx +34 -0
  52. package/src/ConfigurationEditorWidget/components/NumberMapEditor.tsx +94 -0
  53. package/src/ConfigurationEditorWidget/components/SlotEditor.tsx +57 -304
  54. package/src/ConfigurationEditorWidget/components/StringArrayEditor.tsx +1 -4
  55. package/src/ConfigurationEditorWidget/components/StringArrayMapEditor.tsx +104 -0
  56. package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap +113 -58
  57. package/src/RefNameAliasAdapter/RefNameAliasAdapter.ts +3 -4
@@ -244,7 +244,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
244
244
  class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
245
245
  >
246
246
  <button
247
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
247
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
248
248
  tabindex="0"
249
249
  type="button"
250
250
  >
@@ -301,7 +301,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
301
301
  class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
302
302
  >
303
303
  <button
304
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
304
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
305
305
  tabindex="0"
306
306
  type="button"
307
307
  >
@@ -390,7 +390,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
390
390
  class="MuiCardHeader-action css-sgoict-MuiCardHeader-action"
391
391
  >
392
392
  <button
393
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
393
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
394
394
  tabindex="0"
395
395
  type="button"
396
396
  >
@@ -442,7 +442,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
442
442
  class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
443
443
  >
444
444
  <button
445
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
445
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
446
446
  tabindex="0"
447
447
  type="button"
448
448
  >
@@ -499,7 +499,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
499
499
  class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
500
500
  >
501
501
  <button
502
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
502
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
503
503
  tabindex="0"
504
504
  type="button"
505
505
  >
@@ -582,7 +582,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
582
582
  class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
583
583
  >
584
584
  <button
585
- class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
585
+ class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
586
586
  disabled=""
587
587
  tabindex="-1"
588
588
  type="button"
@@ -1025,6 +1025,61 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1025
1025
  class="css-8lz2mt-slotModeSwitch"
1026
1026
  />
1027
1027
  </div>
1028
+ <div
1029
+ class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
1030
+ >
1031
+ <div
1032
+ class="css-1962tgi-paperContent"
1033
+ >
1034
+ <div
1035
+ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
1036
+ >
1037
+ <label
1038
+ class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1039
+ data-shrink="true"
1040
+ for="mui-14"
1041
+ id="mui-14-label"
1042
+ >
1043
+ height
1044
+ </label>
1045
+ <div
1046
+ class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1047
+ >
1048
+ <input
1049
+ aria-describedby="mui-14-helper-text"
1050
+ aria-invalid="false"
1051
+ class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1052
+ id="mui-14"
1053
+ type="number"
1054
+ value="100"
1055
+ />
1056
+ <fieldset
1057
+ aria-hidden="true"
1058
+ class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
1059
+ >
1060
+ <legend
1061
+ class="css-14lo706"
1062
+ >
1063
+ <span>
1064
+ height
1065
+ </span>
1066
+ </legend>
1067
+ </fieldset>
1068
+ </div>
1069
+ <div
1070
+ class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1071
+ id="mui-14-helper-text"
1072
+ >
1073
+ <span>
1074
+ default height for the track
1075
+ </span>
1076
+ </div>
1077
+ </div>
1078
+ </div>
1079
+ <div
1080
+ class="css-8lz2mt-slotModeSwitch"
1081
+ />
1082
+ </div>
1028
1083
  <div
1029
1084
  class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 css-1w5ulfy-MuiPaper-root-paper"
1030
1085
  >
@@ -1043,7 +1098,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1043
1098
  <textarea
1044
1099
  aria-invalid="false"
1045
1100
  class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-os06jd-MuiInputBase-input-MuiOutlinedInput-input-textAreaFont"
1046
- id="mui-14"
1101
+ id="mui-15"
1047
1102
  style="height: 0px; overflow: hidden;"
1048
1103
  >
1049
1104
  get(feature,'name')
@@ -1101,7 +1156,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1101
1156
  class="css-8lz2mt-slotModeSwitch"
1102
1157
  >
1103
1158
  <button
1104
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
1159
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
1105
1160
  tabindex="0"
1106
1161
  title="convert to regular value"
1107
1162
  type="button"
@@ -1185,8 +1240,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1185
1240
  <label
1186
1241
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1187
1242
  data-shrink="true"
1188
- for="mui-16"
1189
- id="mui-16-label"
1243
+ for="mui-17"
1244
+ id="mui-17-label"
1190
1245
  >
1191
1246
  Type
1192
1247
  </label>
@@ -1194,12 +1249,12 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1194
1249
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1195
1250
  >
1196
1251
  <div
1197
- aria-describedby="mui-16-helper-text"
1252
+ aria-describedby="mui-17-helper-text"
1198
1253
  aria-expanded="false"
1199
1254
  aria-haspopup="listbox"
1200
- aria-labelledby="mui-16-label mui-16"
1255
+ aria-labelledby="mui-17-label mui-17"
1201
1256
  class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
1202
- id="mui-16"
1257
+ id="mui-17"
1203
1258
  role="button"
1204
1259
  tabindex="0"
1205
1260
  >
@@ -1237,7 +1292,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1237
1292
  </div>
1238
1293
  <p
1239
1294
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1240
- id="mui-16-helper-text"
1295
+ id="mui-17-helper-text"
1241
1296
  >
1242
1297
  Type of renderer to use
1243
1298
  </p>
@@ -1262,8 +1317,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1262
1317
  <label
1263
1318
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1264
1319
  data-shrink="true"
1265
- for="mui-17"
1266
- id="mui-17-label"
1320
+ for="mui-18"
1321
+ id="mui-18-label"
1267
1322
  >
1268
1323
  color
1269
1324
  </label>
@@ -1271,10 +1326,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1271
1326
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1272
1327
  >
1273
1328
  <input
1274
- aria-describedby="mui-17-helper-text"
1329
+ aria-describedby="mui-18-helper-text"
1275
1330
  aria-invalid="false"
1276
1331
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1277
- id="mui-17"
1332
+ id="mui-18"
1278
1333
  type="text"
1279
1334
  value="#f0f"
1280
1335
  />
@@ -1293,7 +1348,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1293
1348
  </div>
1294
1349
  <p
1295
1350
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1296
- id="mui-17-helper-text"
1351
+ id="mui-18-helper-text"
1297
1352
  >
1298
1353
  the color of each feature in a pileup alignment
1299
1354
  </p>
@@ -1316,7 +1371,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1316
1371
  class="css-8lz2mt-slotModeSwitch"
1317
1372
  >
1318
1373
  <button
1319
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
1374
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
1320
1375
  tabindex="0"
1321
1376
  title="convert to callback"
1322
1377
  type="button"
@@ -1350,8 +1405,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1350
1405
  <label
1351
1406
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1352
1407
  data-shrink="true"
1353
- for="mui-18"
1354
- id="mui-18-label"
1408
+ for="mui-19"
1409
+ id="mui-19-label"
1355
1410
  >
1356
1411
  orientationType
1357
1412
  </label>
@@ -1359,12 +1414,12 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1359
1414
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1360
1415
  >
1361
1416
  <div
1362
- aria-describedby="mui-18-helper-text"
1417
+ aria-describedby="mui-19-helper-text"
1363
1418
  aria-expanded="false"
1364
1419
  aria-haspopup="listbox"
1365
- aria-labelledby="mui-18-label mui-18"
1420
+ aria-labelledby="mui-19-label mui-19"
1366
1421
  class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
1367
- id="mui-18"
1422
+ id="mui-19"
1368
1423
  role="button"
1369
1424
  tabindex="0"
1370
1425
  >
@@ -1402,7 +1457,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1402
1457
  </div>
1403
1458
  <div
1404
1459
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1405
- id="mui-18-helper-text"
1460
+ id="mui-19-helper-text"
1406
1461
  >
1407
1462
  <span>
1408
1463
  read sequencer orientation. fr is normal "reads pointing at each other ---&gt; &lt;--- while some other sequencers can use other options
@@ -1426,8 +1481,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1426
1481
  <label
1427
1482
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1428
1483
  data-shrink="true"
1429
- for="mui-19"
1430
- id="mui-19-label"
1484
+ for="mui-20"
1485
+ id="mui-20-label"
1431
1486
  >
1432
1487
  displayMode
1433
1488
  </label>
@@ -1435,12 +1490,12 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1435
1490
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1436
1491
  >
1437
1492
  <div
1438
- aria-describedby="mui-19-helper-text"
1493
+ aria-describedby="mui-20-helper-text"
1439
1494
  aria-expanded="false"
1440
1495
  aria-haspopup="listbox"
1441
- aria-labelledby="mui-19-label mui-19"
1496
+ aria-labelledby="mui-20-label mui-20"
1442
1497
  class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
1443
- id="mui-19"
1498
+ id="mui-20"
1444
1499
  role="button"
1445
1500
  tabindex="0"
1446
1501
  >
@@ -1478,7 +1533,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1478
1533
  </div>
1479
1534
  <div
1480
1535
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1481
- id="mui-19-helper-text"
1536
+ id="mui-20-helper-text"
1482
1537
  >
1483
1538
  <span>
1484
1539
  Alternative display modes
@@ -1502,8 +1557,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1502
1557
  <label
1503
1558
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1504
1559
  data-shrink="true"
1505
- for="mui-20"
1506
- id="mui-20-label"
1560
+ for="mui-21"
1561
+ id="mui-21-label"
1507
1562
  >
1508
1563
  minSubfeatureWidth
1509
1564
  </label>
@@ -1511,10 +1566,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1511
1566
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1512
1567
  >
1513
1568
  <input
1514
- aria-describedby="mui-20-helper-text"
1569
+ aria-describedby="mui-21-helper-text"
1515
1570
  aria-invalid="false"
1516
1571
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1517
- id="mui-20"
1572
+ id="mui-21"
1518
1573
  type="number"
1519
1574
  value="0.7"
1520
1575
  />
@@ -1533,7 +1588,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1533
1588
  </div>
1534
1589
  <div
1535
1590
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1536
- id="mui-20-helper-text"
1591
+ id="mui-21-helper-text"
1537
1592
  >
1538
1593
  <span>
1539
1594
  the minimum width in px for a pileup mismatch feature. use for increasing/decreasing mismatch marker widths when zoomed out, e.g. 0 or 1
@@ -1557,8 +1612,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1557
1612
  <label
1558
1613
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1559
1614
  data-shrink="true"
1560
- for="mui-21"
1561
- id="mui-21-label"
1615
+ for="mui-22"
1616
+ id="mui-22-label"
1562
1617
  >
1563
1618
  maxHeight
1564
1619
  </label>
@@ -1566,10 +1621,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1566
1621
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1567
1622
  >
1568
1623
  <input
1569
- aria-describedby="mui-21-helper-text"
1624
+ aria-describedby="mui-22-helper-text"
1570
1625
  aria-invalid="false"
1571
1626
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1572
- id="mui-21"
1627
+ id="mui-22"
1573
1628
  type="number"
1574
1629
  value="1200"
1575
1630
  />
@@ -1588,7 +1643,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1588
1643
  </div>
1589
1644
  <div
1590
1645
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1591
- id="mui-21-helper-text"
1646
+ id="mui-22-helper-text"
1592
1647
  >
1593
1648
  <span>
1594
1649
  the maximum height to be used in a pileup rendering
@@ -1612,8 +1667,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1612
1667
  <label
1613
1668
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1614
1669
  data-shrink="true"
1615
- for="mui-22"
1616
- id="mui-22-label"
1670
+ for="mui-23"
1671
+ id="mui-23-label"
1617
1672
  >
1618
1673
  maxClippingSize
1619
1674
  </label>
@@ -1621,10 +1676,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1621
1676
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1622
1677
  >
1623
1678
  <input
1624
- aria-describedby="mui-22-helper-text"
1679
+ aria-describedby="mui-23-helper-text"
1625
1680
  aria-invalid="false"
1626
1681
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1627
- id="mui-22"
1682
+ id="mui-23"
1628
1683
  type="number"
1629
1684
  value="10000"
1630
1685
  />
@@ -1643,7 +1698,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1643
1698
  </div>
1644
1699
  <div
1645
1700
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1646
- id="mui-22-helper-text"
1701
+ id="mui-23-helper-text"
1647
1702
  >
1648
1703
  <span>
1649
1704
  the max clip size to be used in a pileup rendering
@@ -1667,8 +1722,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1667
1722
  <label
1668
1723
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1669
1724
  data-shrink="true"
1670
- for="mui-23"
1671
- id="mui-23-label"
1725
+ for="mui-24"
1726
+ id="mui-24-label"
1672
1727
  >
1673
1728
  height
1674
1729
  </label>
@@ -1676,10 +1731,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1676
1731
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1677
1732
  >
1678
1733
  <input
1679
- aria-describedby="mui-23-helper-text"
1734
+ aria-describedby="mui-24-helper-text"
1680
1735
  aria-invalid="false"
1681
1736
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1682
- id="mui-23"
1737
+ id="mui-24"
1683
1738
  type="number"
1684
1739
  value="7"
1685
1740
  />
@@ -1698,7 +1753,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1698
1753
  </div>
1699
1754
  <div
1700
1755
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1701
- id="mui-23-helper-text"
1756
+ id="mui-24-helper-text"
1702
1757
  >
1703
1758
  <span>
1704
1759
  the height of each feature in a pileup alignment
@@ -1710,7 +1765,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1710
1765
  class="css-8lz2mt-slotModeSwitch"
1711
1766
  >
1712
1767
  <button
1713
- class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-sizeMedium css-1gws2xf-MuiButtonBase-root-MuiIconButton-root"
1768
+ class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
1714
1769
  tabindex="0"
1715
1770
  title="convert to callback"
1716
1771
  type="button"
@@ -1796,8 +1851,8 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1796
1851
  <label
1797
1852
  class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined css-1sumxir-MuiFormLabel-root-MuiInputLabel-root"
1798
1853
  data-shrink="true"
1799
- for="mui-24"
1800
- id="mui-24-label"
1854
+ for="mui-25"
1855
+ id="mui-25-label"
1801
1856
  >
1802
1857
  largeInsertionIndicatorScale
1803
1858
  </label>
@@ -1805,10 +1860,10 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1805
1860
  class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
1806
1861
  >
1807
1862
  <input
1808
- aria-describedby="mui-24-helper-text"
1863
+ aria-describedby="mui-25-helper-text"
1809
1864
  aria-invalid="false"
1810
1865
  class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
1811
- id="mui-24"
1866
+ id="mui-25"
1812
1867
  type="number"
1813
1868
  value="10"
1814
1869
  />
@@ -1827,7 +1882,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
1827
1882
  </div>
1828
1883
  <div
1829
1884
  class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-contained MuiFormHelperText-filled css-1wc848c-MuiFormHelperText-root"
1830
- id="mui-24-helper-text"
1885
+ id="mui-25-helper-text"
1831
1886
  >
1832
1887
  <span>
1833
1888
  scale at which to draw the large insertion indicators (bp/pixel)
@@ -3,19 +3,18 @@ import {
3
3
  BaseAdapter,
4
4
  } from '@jbrowse/core/data_adapters/BaseAdapter'
5
5
  import { openLocation } from '@jbrowse/core/util/io'
6
- import { readConfObject } from '@jbrowse/core/configuration'
7
6
 
8
7
  export default class RefNameAliasAdapter
9
8
  extends BaseAdapter
10
9
  implements BaseRefNameAliasAdapter
11
10
  {
12
11
  async getRefNameAliases() {
13
- const loc = readConfObject(this.config, 'location')
12
+ const loc = this.getConf('location')
14
13
  if (loc.uri === '' || loc.uri === '/path/to/my/aliases.txt') {
15
14
  return []
16
15
  }
17
- const results = await openLocation(loc).readFile('utf8')
18
- const refColumn = readConfObject(this.config, 'refNameColumn')
16
+ const results = await openLocation(loc, this.pluginManager).readFile('utf8')
17
+ const refColumn = this.getConf('refNameColumn')
19
18
  return results
20
19
  .trim()
21
20
  .split(/\n|\r\n|\r/)