jbrowse-plugin-protein3d 0.0.4 → 0.0.5

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 (26) hide show
  1. package/dist/AddHighlightModel/HighlightComponents.d.ts +1 -2
  2. package/dist/AddHighlightModel/HighlightComponents.js.map +1 -1
  3. package/dist/LaunchProteinView/components/AlphaFoldDBSearch.js +7 -8
  4. package/dist/LaunchProteinView/components/AlphaFoldDBSearch.js.map +1 -1
  5. package/dist/LaunchProteinView/components/LaunchProteinViewDialog.js +8 -4
  6. package/dist/LaunchProteinView/components/LaunchProteinViewDialog.js.map +1 -1
  7. package/dist/LaunchProteinView/components/ManualUniProtIDEntry.d.ts +8 -0
  8. package/dist/LaunchProteinView/components/ManualUniProtIDEntry.js +225 -0
  9. package/dist/LaunchProteinView/components/ManualUniProtIDEntry.js.map +1 -0
  10. package/dist/LaunchProteinView/components/UserProvidedStructure.js +1 -1
  11. package/dist/LaunchProteinView/components/UserProvidedStructure.js.map +1 -1
  12. package/dist/ProteinView/components/ProteinView.js +1 -1
  13. package/dist/ProteinView/components/ProteinView.js.map +1 -1
  14. package/dist/ProteinView/model.d.ts +26 -30
  15. package/dist/ProteinView/model.js +1 -0
  16. package/dist/ProteinView/model.js.map +1 -1
  17. package/dist/jbrowse-plugin-protein3d.umd.production.min.js +1181 -318
  18. package/dist/jbrowse-plugin-protein3d.umd.production.min.js.map +4 -4
  19. package/package.json +6 -6
  20. package/src/AddHighlightModel/HighlightComponents.tsx +1 -3
  21. package/src/LaunchProteinView/components/AlphaFoldDBSearch.tsx +8 -9
  22. package/src/LaunchProteinView/components/LaunchProteinViewDialog.tsx +12 -3
  23. package/src/LaunchProteinView/components/ManualUniProtIDEntry.tsx +332 -0
  24. package/src/LaunchProteinView/components/UserProvidedStructure.tsx +1 -1
  25. package/src/ProteinView/components/ProteinView.tsx +1 -1
  26. package/src/ProteinView/model.ts +1 -0
@@ -57,7 +57,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
57
57
  showCytobandsSetting: boolean;
58
58
  trackLabels: string;
59
59
  showGridlines: boolean;
60
- highlight: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>>;
60
+ highlight: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType>>, [undefined]>>;
61
61
  colorByCDS: boolean;
62
62
  showTrackOutlines: boolean;
63
63
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
@@ -73,7 +73,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
73
73
  minimumBlockWidth: number;
74
74
  draggingTrackId: undefined | string;
75
75
  volatileError: unknown;
76
- afterDisplayedRegionsSetCallbacks: Function[];
76
+ afterDisplayedRegionsSetCallbacks: (() => void)[];
77
77
  scaleFactor: number;
78
78
  trackRefs: Record<string, HTMLDivElement>;
79
79
  coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
@@ -86,9 +86,9 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
86
86
  readonly interRegionPaddingWidth: number;
87
87
  readonly assemblyNames: string[];
88
88
  } & {
89
- scaleBarDisplayPrefix(): string;
90
- MiniControlsComponent(): import("react").FC<any>;
91
- HeaderComponent(): import("react").FC<any>;
89
+ scaleBarDisplayPrefix(): string | undefined;
90
+ MiniControlsComponent(): React.FC<any>;
91
+ HeaderComponent(): React.FC<any>;
92
92
  readonly assemblyErrors: string;
93
93
  readonly assembliesInitialized: boolean;
94
94
  readonly initialized: boolean;
@@ -101,7 +101,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
101
101
  readonly totalBp: number;
102
102
  readonly maxBpPerPx: number;
103
103
  readonly minBpPerPx: number;
104
- readonly error: {};
104
+ readonly error: unknown;
105
105
  readonly maxOffset: number;
106
106
  readonly minOffset: number;
107
107
  readonly displayedRegionsTotalPx: number;
@@ -125,9 +125,9 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
125
125
  setHideHeaderOverview(b: boolean): void;
126
126
  setHideNoTracksActive(b: boolean): void;
127
127
  setShowGridlines(b: boolean): void;
128
- addToHighlights(highlight: Required<import("@jbrowse/core/util").ParsedLocString>): void;
129
- setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString>[] | undefined): void;
130
- removeHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString>): void;
128
+ addToHighlights(highlight: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType): void;
129
+ setHighlight(highlight?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType[]): void;
130
+ removeHighlight(highlight: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType): void;
131
131
  scrollTo(offsetPx: number): number;
132
132
  zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
133
133
  setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").BpOffset, right?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").BpOffset): void;
@@ -142,7 +142,6 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
142
142
  moveTrackToTop(id: string): void;
143
143
  moveTrackToBottom(id: string): void;
144
144
  moveTrack(movingId: string, targetId: string): void;
145
- closeView(): void;
146
145
  toggleTrack(trackId: string): boolean;
147
146
  setTrackLabels(setting: "overlapping" | "offset" | "hidden"): void;
148
147
  setShowCenterLine(b: boolean): void;
@@ -162,7 +161,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
162
161
  variant?: string;
163
162
  isLeftEndOfDisplayedRegion?: boolean;
164
163
  }[];
165
- afterDisplayedRegionsSet(cb: Function): void;
164
+ afterDisplayedRegionsSet(cb: () => void): void;
166
165
  horizontalScroll(distance: number): number;
167
166
  center(): void;
168
167
  showAllRegions(): void;
@@ -241,15 +240,13 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
241
240
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
242
241
  minimized: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
243
242
  } & {
244
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree" /**
245
- * #action
246
- */).ISimpleType<string>, [undefined]>;
243
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
247
244
  type: import("mobx-state-tree").IType<string | undefined, string, string>;
248
245
  offsetPx: import("mobx-state-tree").IType<number | undefined, number, number>;
249
- bpPerPx: import("mobx-state-tree" /**
246
+ bpPerPx: import("mobx-state-tree").IType<number | undefined, number, number>;
247
+ displayedRegions: import("mobx-state-tree" /**
250
248
  * #action
251
- */).IType<number | undefined, number, number>;
252
- displayedRegions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<import("@jbrowse/core/util").Region[], import("@jbrowse/core/util").Region[], import("@jbrowse/core/util").Region[]>, [undefined]>;
249
+ */).IOptionalIType<import("mobx-state-tree").IType<import("@jbrowse/core/util").Region[], import("@jbrowse/core/util").Region[], import("@jbrowse/core/util").Region[]>, [undefined]>;
253
250
  tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
254
251
  hideHeader: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
255
252
  hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
@@ -259,7 +256,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
259
256
  showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
260
257
  trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
261
258
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
262
- highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
259
+ highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType>>, [undefined]>;
263
260
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
264
261
  showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
265
262
  }, {
@@ -275,7 +272,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
275
272
  minimumBlockWidth: number;
276
273
  draggingTrackId: undefined | string;
277
274
  volatileError: unknown;
278
- afterDisplayedRegionsSetCallbacks: Function[];
275
+ afterDisplayedRegionsSetCallbacks: (() => void)[];
279
276
  scaleFactor: number;
280
277
  trackRefs: Record<string, HTMLDivElement>;
281
278
  coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
@@ -288,9 +285,9 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
288
285
  readonly interRegionPaddingWidth: number;
289
286
  readonly assemblyNames: string[];
290
287
  } & {
291
- scaleBarDisplayPrefix(): string;
292
- MiniControlsComponent(): import("react").FC<any>;
293
- HeaderComponent(): import("react").FC<any>;
288
+ scaleBarDisplayPrefix(): string | undefined;
289
+ MiniControlsComponent(): React.FC<any>;
290
+ HeaderComponent(): React.FC<any>;
294
291
  readonly assemblyErrors: string;
295
292
  readonly assembliesInitialized: boolean;
296
293
  readonly initialized: boolean;
@@ -303,7 +300,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
303
300
  readonly totalBp: number;
304
301
  readonly maxBpPerPx: number;
305
302
  readonly minBpPerPx: number;
306
- readonly error: {};
303
+ readonly error: unknown;
307
304
  readonly maxOffset: number;
308
305
  readonly minOffset: number;
309
306
  readonly displayedRegionsTotalPx: number;
@@ -327,9 +324,9 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
327
324
  setHideHeaderOverview(b: boolean): void;
328
325
  setHideNoTracksActive(b: boolean): void;
329
326
  setShowGridlines(b: boolean): void;
330
- addToHighlights(highlight: Required<import("@jbrowse/core/util").ParsedLocString>): void;
331
- setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString>[] | undefined): void;
332
- removeHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString>): void;
327
+ addToHighlights(highlight: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType): void;
328
+ setHighlight(highlight?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType[]): void;
329
+ removeHighlight(highlight: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType): void;
333
330
  scrollTo(offsetPx: number): number;
334
331
  zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
335
332
  setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").BpOffset, right?: import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").BpOffset): void;
@@ -344,7 +341,6 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
344
341
  moveTrackToTop(id: string): void;
345
342
  moveTrackToBottom(id: string): void;
346
343
  moveTrack(movingId: string, targetId: string): void;
347
- closeView(): void;
348
344
  toggleTrack(trackId: string): boolean;
349
345
  setTrackLabels(setting: "overlapping" | "offset" | "hidden"): void;
350
346
  setShowCenterLine(b: boolean): void;
@@ -364,7 +360,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
364
360
  variant?: string;
365
361
  isLeftEndOfDisplayedRegion?: boolean;
366
362
  }[];
367
- afterDisplayedRegionsSet(cb: Function): void;
363
+ afterDisplayedRegionsSet(cb: () => void): void;
368
364
  horizontalScroll(distance: number): number;
369
365
  center(): void;
370
366
  showAllRegions(): void;
@@ -457,7 +453,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
457
453
  showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
458
454
  trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
459
455
  showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
460
- highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>, [undefined]>;
456
+ highlight: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType, import("@jbrowse/plugin-linear-genome-view/dist/LinearGenomeView").HighlightType>>, [undefined]>;
461
457
  colorByCDS: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
462
458
  showTrackOutlines: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
463
459
  }>>, import("mobx-state-tree")._NotCustomized>>) | undefined;
@@ -531,7 +527,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
531
527
  /**
532
528
  * #action
533
529
  */
534
- setHeight(n: number): void;
530
+ setHeight(n: number): number;
535
531
  /**
536
532
  * #action
537
533
  */
@@ -67,6 +67,7 @@ function stateModelFactory() {
67
67
  */
68
68
  setHeight(n) {
69
69
  self.height = n;
70
+ return n;
70
71
  },
71
72
  /**
72
73
  * #action
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/ProteinView/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAY,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAI9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AAEjD;;;;GAIG;AACH,SAAS,iBAAiB;IACxB,OAAO,KAAK;SACT,OAAO,CACN,aAAa,EACb,aAAa,EACb,KAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,EAAE,EAAE,SAAS;QACb;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;QAClC;;WAEG;Q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