@rcsb/rcsb-saguaro-app 6.2.0 → 6.2.2

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 (123) hide show
  1. package/build/app.js +1 -1
  2. package/build/constants.js +1 -1
  3. package/build/plot.js +1 -1
  4. package/build/plot.js.LICENSE.txt +2 -2
  5. package/build/worker.js +1 -1
  6. package/lib/RcsbAnnotationConfig/RcsbAnnotationConfig.ac.json +25 -1
  7. package/lib/RcsbAnnotationConfig/RcsbAnnotationConfig.js +1 -1
  8. package/lib/RcsbChartWeb/HistogramChartComponent.d.ts +0 -1
  9. package/lib/RcsbCollectTools/AlignmentCollector/AlignmentCollector.js +1 -1
  10. package/lib/RcsbCollectTools/AnnotationCollector/AnnotationCollector.js +1 -1
  11. package/lib/RcsbCollectTools/FeatureTools/FeatureTools.js +2 -2
  12. package/lib/RcsbFvExamples/ExternalDataProvider.js +1 -1
  13. package/lib/RcsbFvExamples/GroupHistogram.js +3 -6
  14. package/lib/RcsbFvUI/Components/FilterItemComponent.d.ts +0 -1
  15. package/lib/RcsbFvUI/Components/PaginationItemComponent.d.ts +0 -1
  16. package/lib/RcsbFvUI/GroupPfvUI.js +1 -1
  17. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.js +1 -1
  18. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.js +1 -1
  19. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +0 -1
  20. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.js +3 -3
  21. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.js +1 -1
  22. package/lib/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.js +2 -2
  23. package/lib/RcsbFvWeb/RcsbFvComponents/ComponentsManager.d.ts +0 -1
  24. package/lib/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.js +1 -1
  25. package/lib/RcsbFvWeb/RcsbFvComponents/RcsbTabs.js +1 -1
  26. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.js +4 -4
  27. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.js +2 -2
  28. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.js +1 -1
  29. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.js +2 -2
  30. package/lib/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.js +3 -3
  31. package/lib/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.js +1 -1
  32. package/lib/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.js +3 -3
  33. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.js +3 -3
  34. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.js +3 -3
  35. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.js +1 -1
  36. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.js +1 -1
  37. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.js +1 -1
  38. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.js +1 -1
  39. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.js +1 -1
  40. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.js +2 -2
  41. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.js +1 -1
  42. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.js +1 -1
  43. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.js +1 -1
  44. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.js +1 -1
  45. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.js +2 -2
  46. package/lib/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.js +1 -1
  47. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.js +2 -2
  48. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.js +2 -2
  49. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.js +2 -2
  50. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.js +2 -2
  51. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.js +1 -1
  52. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.js +1 -1
  53. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.d.ts +0 -1
  54. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.js +2 -2
  55. package/lib/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.js +1 -1
  56. package/lib/RcsbRequest/RcsbRequestContextManager.js +1 -1
  57. package/lib/RcsbSeacrh/FacetTools.d.ts +15 -15
  58. package/lib/RcsbSeacrh/SearchRequestProperty.js +2 -2
  59. package/lib/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.js +3 -3
  60. package/lib/RcsbUtils/TrackGenerators/UnmodeledTrackBuilder.js +4 -4
  61. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConfig.ac.json +25 -1
  62. package/lib/commonjs/RcsbAnnotationConfig/RcsbAnnotationConfig.js +1 -1
  63. package/lib/commonjs/RcsbChartWeb/HistogramChartComponent.d.ts +0 -1
  64. package/lib/commonjs/RcsbCollectTools/AlignmentCollector/AlignmentCollector.js +1 -1
  65. package/lib/commonjs/RcsbCollectTools/AnnotationCollector/AnnotationCollector.js +1 -1
  66. package/lib/commonjs/RcsbCollectTools/FeatureTools/FeatureTools.js +2 -2
  67. package/lib/commonjs/RcsbFvExamples/ExternalDataProvider.js +1 -1
  68. package/lib/commonjs/RcsbFvExamples/GroupHistogram.js +3 -6
  69. package/lib/commonjs/RcsbFvExamples/utils/events.js +2 -3
  70. package/lib/commonjs/RcsbFvUI/Components/FilterItemComponent.d.ts +0 -1
  71. package/lib/commonjs/RcsbFvUI/Components/PaginationItemComponent.d.ts +0 -1
  72. package/lib/commonjs/RcsbFvUI/GroupPfvUI.js +2 -2
  73. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.js +1 -1
  74. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvGroupAlignmentBuilder.js +1 -1
  75. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +0 -1
  76. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.js +3 -3
  77. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvProteinSequenceBuilder.js +1 -1
  78. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder/RcsbFvUniprotBuilder.js +2 -2
  79. package/lib/commonjs/RcsbFvWeb/RcsbFvBuilder.js +22 -23
  80. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/ComponentsManager.d.ts +0 -1
  81. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/LoaderSpinner.js +2 -2
  82. package/lib/commonjs/RcsbFvWeb/RcsbFvComponents/RcsbTabs.js +2 -2
  83. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.js +4 -4
  84. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.js +2 -2
  85. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.js +1 -1
  86. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AnnotationsTrackTitleFactory.js +2 -2
  87. package/lib/commonjs/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/SequenceTrackTitleFactory.js +3 -3
  88. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupPfvTabs.js +1 -1
  89. package/lib/commonjs/RcsbFvWeb/RcsbFvGroup/GroupTabs/GroupPfvApp.js +5 -5
  90. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.js +3 -3
  91. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvChromosome.js +3 -3
  92. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvDataProvider.js +1 -1
  93. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvEntity.js +1 -1
  94. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.js +1 -1
  95. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.js +1 -1
  96. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInstance.js +1 -1
  97. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.js +5 -5
  98. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvPairwiseAlignment.js +1 -1
  99. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvProteinSequence.js +1 -1
  100. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.js +1 -1
  101. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotAlignment.js +1 -1
  102. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotEntity.js +2 -2
  103. package/lib/commonjs/RcsbFvWeb/RcsbFvModule/RcsbFvUniprotInstance.js +1 -1
  104. package/lib/commonjs/RcsbGroupWeb/RcsbGroupBuilder.js +6 -6
  105. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/GroupChartTools.js +2 -2
  106. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbGroupChartComponent.js +3 -3
  107. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupChart/RcsbStatsChartComponent.js +2 -2
  108. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupContent/RcsbGroupContentComponent.js +2 -2
  109. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.js +2 -2
  110. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMembersGrid.js +1 -1
  111. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/RcsbGroupMembersComponent.js +4 -4
  112. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbGroupSeacrhQuery/RcsbGroupSeacrhQueryComponent.d.ts +0 -1
  113. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/RcsbResidueChartComponent.js +2 -2
  114. package/lib/commonjs/RcsbGroupWeb/RcsbGroupView/RcsbResidueChart/ResidueChartTools/ResidueChartTools.js +1 -1
  115. package/lib/commonjs/RcsbRequest/RcsbRequestContextManager.js +1 -1
  116. package/lib/commonjs/RcsbSeacrh/FacetTools.d.ts +15 -15
  117. package/lib/commonjs/RcsbSeacrh/SearchRequestProperty.js +2 -2
  118. package/lib/commonjs/RcsbUtils/TrackGenerators/AlignmentGlobalBindingSite.js +4 -5
  119. package/lib/commonjs/RcsbUtils/TrackGenerators/BurialFraction.js +2 -3
  120. package/lib/commonjs/RcsbUtils/TrackGenerators/BuriedResidues.js +2 -3
  121. package/lib/commonjs/RcsbUtils/TrackGenerators/GroupExternalTrackBuilder.js +1 -2
  122. package/lib/commonjs/RcsbUtils/TrackGenerators/UnmodeledTrackBuilder.js +6 -6
  123. package/package.json +25 -26
@@ -1,6 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildDataProviderFv = exports.buildUniprotAlignmentFv = exports.buildSequenceIdentityAlignmentFv = exports.buildGroupFv = exports.buildChromosome = exports.buildEntityChromosome = exports.buildEntryChromosome = exports.buildFullChromosome = exports.buildPairwiseAlignment = exports.buildPfv = exports.buildUniprotEntityInstanceFv = exports.buildUniprotEntityFv = exports.buildInstanceFv = exports.buildEntityFv = exports.buildUniprotFv = exports.buildAssemblySequenceFv = exports.buildMultipleInstanceSequenceFv = exports.buildInstanceSequenceFv = exports.buildSingleEntitySummaryFv = exports.buildEntitySummaryFv = exports.buildMultipleAlignmentSequenceFv = exports.unmount = void 0;
3
+ exports.unmount = unmount;
4
+ exports.buildMultipleAlignmentSequenceFv = buildMultipleAlignmentSequenceFv;
5
+ exports.buildEntitySummaryFv = buildEntitySummaryFv;
6
+ exports.buildSingleEntitySummaryFv = buildSingleEntitySummaryFv;
7
+ exports.buildInstanceSequenceFv = buildInstanceSequenceFv;
8
+ exports.buildMultipleInstanceSequenceFv = buildMultipleInstanceSequenceFv;
9
+ exports.buildAssemblySequenceFv = buildAssemblySequenceFv;
10
+ exports.buildUniprotFv = buildUniprotFv;
11
+ exports.buildEntityFv = buildEntityFv;
12
+ exports.buildInstanceFv = buildInstanceFv;
13
+ exports.buildUniprotEntityFv = buildUniprotEntityFv;
14
+ exports.buildUniprotEntityInstanceFv = buildUniprotEntityInstanceFv;
15
+ exports.buildPfv = buildPfv;
16
+ exports.buildPairwiseAlignment = buildPairwiseAlignment;
17
+ exports.buildFullChromosome = buildFullChromosome;
18
+ exports.buildEntryChromosome = buildEntryChromosome;
19
+ exports.buildEntityChromosome = buildEntityChromosome;
20
+ exports.buildChromosome = buildChromosome;
21
+ exports.buildGroupFv = buildGroupFv;
22
+ exports.buildSequenceIdentityAlignmentFv = buildSequenceIdentityAlignmentFv;
23
+ exports.buildUniprotAlignmentFv = buildUniprotAlignmentFv;
24
+ exports.buildDataProviderFv = buildDataProviderFv;
4
25
  const RcsbFvCoreBuilder_1 = require("./RcsbFvBuilder/RcsbFvCoreBuilder");
5
26
  const RcsbFvChromosomeBuilder_1 = require("./RcsbFvBuilder/RcsbFvChromosomeBuilder");
6
27
  const RcsbFvPairwiseAligmentBuilder_1 = require("./RcsbFvBuilder/RcsbFvPairwiseAligmentBuilder");
@@ -16,88 +37,66 @@ const RcsbFvDataProviderBuilder_1 = require("./RcsbFvBuilder/RcsbFvDataProviderB
16
37
  function unmount(elementId) {
17
38
  RcsbFvCoreBuilder_1.RcsbFvCoreBuilder.unmount(elementId);
18
39
  }
19
- exports.unmount = unmount;
20
40
  function buildMultipleAlignmentSequenceFv(elementFvId, elementSelectId, upAcc, config = {}, additionalConfig) {
21
41
  return RcsbFvUniprotBuilder_1.RcsbFvUniprotBuilder.buildUniprotMultipleEntitySequenceFv(elementFvId, elementSelectId, upAcc, config, additionalConfig);
22
42
  }
23
- exports.buildMultipleAlignmentSequenceFv = buildMultipleAlignmentSequenceFv;
24
43
  function buildEntitySummaryFv(elementFvId, elementSelectId, entityId) {
25
44
  return RcsbFvEntityBuilder_1.RcsbFvEntityBuilder.buildEntitySummaryFv(elementFvId, elementSelectId, entityId);
26
45
  }
27
- exports.buildEntitySummaryFv = buildEntitySummaryFv;
28
46
  function buildSingleEntitySummaryFv(elementId, entityId) {
29
47
  return RcsbFvEntityBuilder_1.RcsbFvEntityBuilder.buildSingleEntitySummaryFv(elementId, entityId);
30
48
  }
31
- exports.buildSingleEntitySummaryFv = buildSingleEntitySummaryFv;
32
49
  function buildInstanceSequenceFv(elementFvId, elementSelectId, entryId, config = {}, additionalConfig) {
33
50
  return RcsbFvInstanceBuilder_1.RcsbFvInstanceBuilder.buildInstanceSequenceFv(elementFvId, elementSelectId, entryId, config, additionalConfig);
34
51
  }
35
- exports.buildInstanceSequenceFv = buildInstanceSequenceFv;
36
52
  function buildMultipleInstanceSequenceFv(elementFvId, elementEntrySelectId, elementInstanceSelectId, entryIdList, config = {}, additionalConfig) {
37
53
  return RcsbFvInstanceBuilder_1.RcsbFvInstanceBuilder.buildMultipleInstanceSequenceFv(elementFvId, elementEntrySelectId, elementInstanceSelectId, entryIdList, config, additionalConfig);
38
54
  }
39
- exports.buildMultipleInstanceSequenceFv = buildMultipleInstanceSequenceFv;
40
55
  function buildAssemblySequenceFv(elementFvId, elementSelectAssemblyId, elementSelectInstanceId, entryId, onAsseblyChangeCallback, onInstanceChangeCallback) {
41
56
  return RcsbFvAssemblyBuilder_1.RcsbFvAssemblyBuilder.buildAssemblySequenceFv(elementFvId, elementSelectAssemblyId, elementSelectInstanceId, entryId, onAsseblyChangeCallback, onInstanceChangeCallback);
42
57
  }
43
- exports.buildAssemblySequenceFv = buildAssemblySequenceFv;
44
58
  function buildUniprotFv(elementId, upAcc, additionalConfig) {
45
59
  return RcsbFvUniprotBuilder_1.RcsbFvUniprotBuilder.buildUniprotFv(elementId, upAcc, additionalConfig);
46
60
  }
47
- exports.buildUniprotFv = buildUniprotFv;
48
61
  function buildEntityFv(elementId, entityId, additionalConfig) {
49
62
  return RcsbFvEntityBuilder_1.RcsbFvEntityBuilder.buildEntityFv(elementId, entityId, additionalConfig);
50
63
  }
51
- exports.buildEntityFv = buildEntityFv;
52
64
  function buildInstanceFv(elementId, instanceId, additionalConfig) {
53
65
  return RcsbFvInstanceBuilder_1.RcsbFvInstanceBuilder.buildInstanceFv(elementId, instanceId, additionalConfig);
54
66
  }
55
- exports.buildInstanceFv = buildInstanceFv;
56
67
  function buildUniprotEntityFv(elementId, upAcc, entityId, additionalConfig) {
57
68
  return RcsbFvUniprotBuilder_1.RcsbFvUniprotBuilder.buildUniprotEntityFv(elementId, upAcc, entityId, additionalConfig);
58
69
  }
59
- exports.buildUniprotEntityFv = buildUniprotEntityFv;
60
70
  function buildUniprotEntityInstanceFv(elementId, upAcc, entityId, instanceId, additionalConfig) {
61
71
  return RcsbFvUniprotBuilder_1.RcsbFvUniprotBuilder.buildUniprotEntityInstanceFv(elementId, upAcc, entityId, instanceId, additionalConfig);
62
72
  }
63
- exports.buildUniprotEntityInstanceFv = buildUniprotEntityInstanceFv;
64
73
  function buildPfv(elementId, config) {
65
74
  return RcsbFvProteinSequenceBuilder_1.RcsbFvProteinSequenceBuilder.buildPfv(elementId, config);
66
75
  }
67
- exports.buildPfv = buildPfv;
68
76
  function buildPairwiseAlignment(elementId, psa, additionalConfig) {
69
77
  return RcsbFvPairwiseAligmentBuilder_1.RcsbFvPairwiseAligmentBuilder.buildPairwiseAlignment(elementId, psa, additionalConfig);
70
78
  }
71
- exports.buildPairwiseAlignment = buildPairwiseAlignment;
72
79
  function buildFullChromosome(elementFvId, chrId) {
73
80
  return RcsbFvChromosomeBuilder_1.RcsbFvChromosomeBuilder.buildFullChromosome(elementFvId, chrId);
74
81
  }
75
- exports.buildFullChromosome = buildFullChromosome;
76
82
  function buildEntryChromosome(elementFvId, entitySelectId, chromosomeSelectId, entryId) {
77
83
  return RcsbFvChromosomeBuilder_1.RcsbFvChromosomeBuilder.buildEntryChromosome(elementFvId, entitySelectId, chromosomeSelectId, entryId);
78
84
  }
79
- exports.buildEntryChromosome = buildEntryChromosome;
80
85
  function buildEntityChromosome(elementFvId, elementSelectId, entityId) {
81
86
  return RcsbFvChromosomeBuilder_1.RcsbFvChromosomeBuilder.buildEntityChromosome(elementFvId, elementSelectId, entityId);
82
87
  }
83
- exports.buildEntityChromosome = buildEntityChromosome;
84
88
  function buildChromosome(elementFvId, entityId, chrId, elementSelectId) {
85
89
  return RcsbFvChromosomeBuilder_1.RcsbFvChromosomeBuilder.buildChromosome(elementFvId, chrId, elementSelectId);
86
90
  }
87
- exports.buildChromosome = buildChromosome;
88
91
  function buildGroupFv(elementId, groupProvenanceId, groupId, query, additionalConfig) {
89
92
  RcsbFvGroupTabsBuilder_1.RcsbFvGroupTabsBuilder.buildGroupTabs(elementId, groupProvenanceId, groupId, query, additionalConfig);
90
93
  }
91
- exports.buildGroupFv = buildGroupFv;
92
94
  function buildSequenceIdentityAlignmentFv(elementId, groupId, query, additionalConfig) {
93
95
  return RcsbFvGroupAlignmentBuilder_1.RcsbFvGroupAlignmentBuilder.buildGroupAlignmentFv(elementId, DwEnums_1.GroupProvenanceId.ProvenanceSequenceIdentity, groupId, query, additionalConfig);
94
96
  }
95
- exports.buildSequenceIdentityAlignmentFv = buildSequenceIdentityAlignmentFv;
96
97
  function buildUniprotAlignmentFv(elementId, upAcc, query, additionalConfig) {
97
98
  return RcsbFvGroupAlignmentBuilder_1.RcsbFvGroupAlignmentBuilder.buildGroupAlignmentFv(elementId, DwEnums_1.GroupProvenanceId.ProvenanceMatchingUniprotAccession, upAcc, query, additionalConfig);
98
99
  }
99
- exports.buildUniprotAlignmentFv = buildUniprotAlignmentFv;
100
100
  function buildDataProviderFv(elementId, dataProvider, additionalConfig) {
101
101
  return RcsbFvDataProviderBuilder_1.RcsbFvDataProviderBuilder.buildFv(elementId, Object.assign(Object.assign({}, additionalConfig), { dataProvider: Object.assign({}, dataProvider) }));
102
102
  }
103
- exports.buildDataProviderFv = buildDataProviderFv;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GroupedOptionsInterface, SelectOptionInterface, SelectOptionProps } from "./SelectButton";
3
2
  export interface SelectButtonConfigInterface {
4
3
  addTitle?: boolean;
@@ -4,10 +4,10 @@ exports.LoaderSpinner = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_1 = tslib_1.__importDefault(require("react"));
7
- const load_spinner_scss_1 = tslib_1.__importDefault(require("../../scss/load-spinner.scss"));
7
+ const classes = tslib_1.__importStar(require("../../scss/load-spinner.scss"));
8
8
  class LoaderSpinner extends react_1.default.Component {
9
9
  render() {
10
- return ((0, jsx_runtime_1.jsx)("div", { style: { position: "absolute", left: 0, right: 0, marginLeft: "auto", zIndex: Number.MAX_SAFE_INTEGER, marginRight: "auto" }, children: (0, jsx_runtime_1.jsx)("div", { className: load_spinner_scss_1.default.loadSpinnerComponentScope, children: (0, jsx_runtime_1.jsx)("div", { className: "loader" }) }) }));
10
+ return ((0, jsx_runtime_1.jsx)("div", { style: { position: "absolute", left: 0, right: 0, marginLeft: "auto", zIndex: Number.MAX_SAFE_INTEGER, marginRight: "auto" }, children: (0, jsx_runtime_1.jsx)("div", { className: classes.loadSpinnerComponentScope, children: (0, jsx_runtime_1.jsx)("div", { className: "loader" }) }) }));
11
11
  }
12
12
  }
13
13
  exports.LoaderSpinner = LoaderSpinner;
@@ -5,14 +5,14 @@ const tslib_1 = require("tslib");
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_1 = tslib_1.__importDefault(require("react"));
7
7
  const react_bootstrap_1 = require("react-bootstrap");
8
- const bootstrap_fv_display_module_scss_1 = tslib_1.__importDefault(require("../../scss/bootstrap-fv-display.module.scss"));
8
+ const classes = tslib_1.__importStar(require("../../scss/bootstrap-fv-display.module.scss"));
9
9
  const uniqid_1 = tslib_1.__importDefault(require("uniqid"));
10
10
  class RcsbTabs extends react_1.default.Component {
11
11
  constructor(props) {
12
12
  super(props);
13
13
  }
14
14
  render() {
15
- return ((0, jsx_runtime_1.jsx)("div", { className: bootstrap_fv_display_module_scss_1.default.bootstrapFvComponentScope, children: (0, jsx_runtime_1.jsx)(react_bootstrap_1.Tabs, { id: this.props.id, defaultActiveKey: this.props.default, onSelect: (eventKey) => {
15
+ return ((0, jsx_runtime_1.jsx)("div", { className: classes.bootstrapFvComponentScope, children: (0, jsx_runtime_1.jsx)(react_bootstrap_1.Tabs, { id: this.props.id, defaultActiveKey: this.props.default, onSelect: (eventKey) => {
16
16
  this.props.onSelect(eventKey);
17
17
  }, children: this.props.tabList.map((tab, n) => ((0, jsx_runtime_1.jsxs)(react_bootstrap_1.Tab, { eventKey: tab.key, title: tab.title, children: [tab.additionalComponent, (0, jsx_runtime_1.jsx)("div", { id: tab.key + RcsbTabs.UI_SUFFIX, style: { height: 20 } }), (0, jsx_runtime_1.jsx)("div", { id: tab.key })] }, (0, uniqid_1.default)(`${tab.key}_`)))) }) }));
18
18
  }
@@ -8,18 +8,18 @@ class AlignmentBlockFactory {
8
8
  this.trackConfigModifier = trackModifier;
9
9
  }
10
10
  getBlock(alignmentRequestContext, alignmentData) {
11
- var _a;
12
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ var _a;
13
13
  alignmentRequestContext = Object.assign(Object.assign({}, alignmentRequestContext), { querySequence: (_a = alignmentData.query_sequence) !== null && _a !== void 0 ? _a : undefined });
14
14
  if (!alignmentData.target_alignment)
15
15
  return [];
16
16
  return (yield Promise.all(alignmentData.target_alignment.map((alignment, index) => tslib_1.__awaiter(this, void 0, void 0, function* () {
17
- var _b, _c;
18
- if (alignmentRequestContext.filterByTargetContains != null && !((_b = alignment === null || alignment === void 0 ? void 0 : alignment.target_id) === null || _b === void 0 ? void 0 : _b.includes(alignmentRequestContext.filterByTargetContains)))
17
+ var _a, _b;
18
+ if (alignmentRequestContext.filterByTargetContains != null && !((_a = alignment === null || alignment === void 0 ? void 0 : alignment.target_id) === null || _a === void 0 ? void 0 : _a.includes(alignmentRequestContext.filterByTargetContains)))
19
19
  return;
20
20
  if ((alignment === null || alignment === void 0 ? void 0 : alignment.target_sequence) == null)
21
21
  return;
22
- return Object.assign(Object.assign({}, yield this.trackFactory.getTrack(alignmentRequestContext, alignment)), yield ((_c = this.trackConfigModifier) === null || _c === void 0 ? void 0 : _c.call(this, alignmentRequestContext, alignment, alignmentData, index)));
22
+ return Object.assign(Object.assign({}, yield this.trackFactory.getTrack(alignmentRequestContext, alignment)), yield ((_b = this.trackConfigModifier) === null || _b === void 0 ? void 0 : _b.call(this, alignmentRequestContext, alignment, alignmentData, index)));
23
23
  })))).filter((x) => x != undefined);
24
24
  });
25
25
  }
@@ -36,8 +36,8 @@ class AnnotationBlockManager {
36
36
  ].flat();
37
37
  }
38
38
  processAnnotations(requestConfig, data) {
39
- var _a, _b;
40
39
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
40
+ var _a, _b;
41
41
  yield Promise.all(data.map(ann => {
42
42
  var _a, _b;
43
43
  return (_b = (_a = ann.features) === null || _a === void 0 ? void 0 : _a.map((feature) => tslib_1.__awaiter(this, void 0, void 0, function* () {
@@ -49,8 +49,8 @@ class AnnotationBlockManager {
49
49
  });
50
50
  }
51
51
  addFeature(requestConfig, ann, feature) {
52
- var _a, _b, _c, _d, _e;
53
52
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
53
+ var _a, _b, _c, _d, _e;
54
54
  if (feature.type && ((_a = this.rcsbAnnotationConfig.getConfig(feature.type)) === null || _a === void 0 ? void 0 : _a.ignore))
55
55
  return;
56
56
  const type = yield this.rcsbAnnotationConfig.getAnnotationType(requestConfig, ann, feature);
@@ -15,8 +15,8 @@ class SequenceTrackFactory {
15
15
  this.trackTitleFactory = trackTitleFactory !== null && trackTitleFactory !== void 0 ? trackTitleFactory : new SequenceTrackTitleFactory_1.SequenceTrackTitleFactory(entityInstanceTranslator);
16
16
  }
17
17
  getTrack(alignmentQueryContext, querySequence) {
18
- var _a, _b;
19
18
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
19
+ var _a, _b;
20
20
  const queryId = (_a = alignmentQueryContext.queryId) !== null && _a !== void 0 ? _a : alignmentQueryContext.groupId;
21
21
  assertDefined(queryId);
22
22
  return {
@@ -12,8 +12,8 @@ class AnnotationsTrackTitleFactory {
12
12
  });
13
13
  }
14
14
  getTrackTitleFlagColor(trackManager) {
15
- var _a, _b;
16
15
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
16
+ var _a, _b;
17
17
  const provenance = Array.from((_b = (_a = trackManager.getConfig()) === null || _a === void 0 ? void 0 : _a.provenanceList) !== null && _b !== void 0 ? _b : []);
18
18
  if (provenance.length == 1
19
19
  &&
@@ -26,8 +26,8 @@ class AnnotationsTrackTitleFactory {
26
26
  });
27
27
  }
28
28
  getTrackTitlePrefix(trackManager) {
29
- var _a, _b;
30
29
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
30
+ var _a, _b;
31
31
  return (_b = (_a = trackManager.getConfig()) === null || _a === void 0 ? void 0 : _a.prefix) !== null && _b !== void 0 ? _b : "";
32
32
  });
33
33
  }
@@ -15,8 +15,8 @@ class SequenceTrackTitleFactory {
15
15
  this.entityInstanceTranslator = entityInstanceTranslator;
16
16
  }
17
17
  getTrackTitle(alignmentQueryContext) {
18
- var _a, _b, _c;
19
18
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
19
+ var _a, _b, _c;
20
20
  let rowTitle;
21
21
  if (!alignmentQueryContext.excludeFirstRowLink && alignmentQueryContext.from === GqlTypes_1.SequenceReference.Uniprot) {
22
22
  rowTitle = {
@@ -48,14 +48,14 @@ class SequenceTrackTitleFactory {
48
48
  });
49
49
  }
50
50
  getTrackTitlePrefix(alignmentQueryContext) {
51
- var _a;
52
51
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
52
+ var _a;
53
53
  return (alignmentQueryContext.from && !alignmentQueryContext.from.includes("PDB")) ? alignmentQueryContext.from.replace("_", " ") + " " + TagDelimiter_1.TagDelimiter.sequenceTitle : ((_a = alignmentQueryContext.sequencePrefix) !== null && _a !== void 0 ? _a : "");
54
54
  });
55
55
  }
56
56
  getTrackTitleFlagColor(alignmentQueryContext) {
57
- var _a;
58
57
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
+ var _a;
59
59
  const queryId = (_a = alignmentQueryContext.queryId) !== null && _a !== void 0 ? _a : alignmentQueryContext.groupId;
60
60
  assertDefined(queryId), assertDefined(alignmentQueryContext.from);
61
61
  return TrackUtils_1.TrackUtils.getProvenanceConfigFormTarget(queryId, alignmentQueryContext.from).color;
@@ -79,8 +79,8 @@ class GroupPfvTabs extends react_1.default.Component {
79
79
  });
80
80
  }
81
81
  renderPositionalFeatureViewer(tabKey) {
82
- var _a, _b, _c, _d, _e;
83
82
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
83
+ var _a, _b, _c, _d, _e;
84
84
  switch (tabKey) {
85
85
  case ALIGNMENT:
86
86
  this.featureViewers.set(tabKey, yield GroupPfvApp_1.GroupPfvApp.alignment(tabKey.toString(), this.props.groupProvenanceId, this.props.groupId, (_a = this.entityCount) !== null && _a !== void 0 ? _a : 0, Object.assign(Object.assign({ page: { first: 50, after: "0" } }, this.props.additionalConfig), { alignmentFilter: this.filterEntities })));
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getReferenceFromGroupProvenance = exports.GroupPfvApp = void 0;
3
+ exports.GroupPfvApp = void 0;
4
+ exports.getReferenceFromGroupProvenance = getReferenceFromGroupProvenance;
4
5
  const tslib_1 = require("tslib");
5
6
  const DwEnums_1 = require("@rcsb/rcsb-api-tools/build/RcsbDw/Types/DwEnums");
6
7
  const RcsbFvUniprotBuilder_1 = require("../../RcsbFvBuilder/RcsbFvUniprotBuilder");
@@ -15,8 +16,8 @@ const PaginationItemComponent_1 = require("../../../RcsbFvUI/Components/Paginati
15
16
  var GroupPfvApp;
16
17
  (function (GroupPfvApp) {
17
18
  function alignment(elementId, groupProvenanceId, groupId, entityCount, additionalConfig) {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
19
19
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
20
21
  switch (groupProvenanceId) {
21
22
  case DwEnums_1.GroupProvenanceId.ProvenanceMatchingUniprotAccession:
22
23
  return RcsbFvUniprotBuilder_1.RcsbFvUniprotBuilder.buildUniprotMultipleEntitySequenceFv(elementId, elementId + RcsbTabs_1.RcsbTabs.SELECT_SUFFIX, groupId, {}, additionalConfig);
@@ -52,8 +53,8 @@ var GroupPfvApp;
52
53
  }
53
54
  GroupPfvApp.alignment = alignment;
54
55
  function structure(elementId, groupProvenanceId, groupId, nTargets, additionalConfig) {
55
- var _a;
56
56
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
57
+ var _a;
57
58
  additionalConfig = Object.assign(Object.assign({}, additionalConfig), { filters: [...((_a = additionalConfig === null || additionalConfig === void 0 ? void 0 : additionalConfig.filters) !== null && _a !== void 0 ? _a : []), {
58
59
  field: GqlTypes_1.FieldName.Type,
59
60
  values: [GqlTypes_1.Type.HelixP, GqlTypes_1.Type.Sheet, GqlTypes_1.Type.Cath, GqlTypes_1.Type.Scop],
@@ -77,8 +78,8 @@ var GroupPfvApp;
77
78
  }
78
79
  GroupPfvApp.structure = structure;
79
80
  function bindingSites(elementId, groupProvenanceId, groupId, nTargets, additionalConfig) {
80
- var _a;
81
81
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
82
+ var _a;
82
83
  additionalConfig = Object.assign(Object.assign({}, additionalConfig), { filters: [...((_a = additionalConfig === null || additionalConfig === void 0 ? void 0 : additionalConfig.filters) !== null && _a !== void 0 ? _a : []), {
83
84
  field: GqlTypes_1.FieldName.Type,
84
85
  values: [GqlTypes_1.Type.BindingSite],
@@ -132,4 +133,3 @@ function getReferenceFromGroupProvenance(groupProvenanceId) {
132
133
  return GqlTypes_1.GroupReference.MatchingUniprotAccession;
133
134
  }
134
135
  }
135
- exports.getReferenceFromGroupProvenance = getReferenceFromGroupProvenance;
@@ -94,8 +94,8 @@ class RcsbFvAbstractModule {
94
94
  return this.rcsbFvRowUpdatePromise;
95
95
  }
96
96
  buildAlignmentTracks(alignmentRequestContext, alignmentResponse, trackFactories) {
97
- var _a, _b, _c, _d;
98
97
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
98
+ var _a, _b, _c, _d;
99
99
  const sequenceTrackFactory = (_a = trackFactories === null || trackFactories === void 0 ? void 0 : trackFactories.sequenceTrackFactory) !== null && _a !== void 0 ? _a : new SequenceTrackFactory_1.SequenceTrackFactory(this.getPolymerEntityInstanceTranslator());
100
100
  if (alignmentResponse.query_sequence)
101
101
  this.referenceTrack = yield sequenceTrackFactory.getTrack(alignmentRequestContext, alignmentResponse.query_sequence);
@@ -104,8 +104,8 @@ class RcsbFvAbstractModule {
104
104
  });
105
105
  }
106
106
  buildAnnotationsTrack(annotationsRequestContext, annotationsFeatures, annotationConfigMap) {
107
- var _a, _b;
108
107
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
108
+ var _a, _b;
109
109
  const defaultAnnotationConfigMap = annotationConfigMap !== null && annotationConfigMap !== void 0 ? annotationConfigMap : acm;
110
110
  const annotationsBlockFactory = new AnnotationsBlockFactory_1.AnnotationsBlockFactory(new AnnotationBlockManager_1.AnnotationBlockManager(new AnnotationTrackManager_1.AnnotationTrackManagerFactory(), new RcsbAnnotationConfig_1.RcsbAnnotationConfig(defaultAnnotationConfigMap), this.getPolymerEntityInstanceTranslator()), new AnnotationsTrackFactory_1.AnnotationsTrackFactory(), (_b = (_a = this.buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.trackConfigModifier) === null || _b === void 0 ? void 0 : _b.annotations);
111
111
  this.annotationTracks = yield annotationsBlockFactory.getBlock(annotationsRequestContext, annotationsFeatures);
@@ -122,8 +122,8 @@ class RcsbFvAbstractModule {
122
122
  });
123
123
  }
124
124
  buildExternalTracks() {
125
- var _a, _b;
126
125
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
126
+ var _a, _b;
127
127
  const externalTrackBuilder = (_a = this.buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.externalTrackBuilder;
128
128
  const rcsbContext = (_b = this.buildConfig.additionalConfig) === null || _b === void 0 ? void 0 : _b.rcsbContext;
129
129
  if (!externalTrackBuilder)
@@ -142,8 +142,8 @@ class RcsbFvChromosome extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
142
142
  this.collectChromosomeAlignments(chrId, GqlTypes_1.SequenceReference.NcbiProtein);
143
143
  }
144
144
  collectPdbWorkerResults(ar, pdbEntityId, chrId) {
145
- var _c, _d;
146
145
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
146
+ var _c, _d;
147
147
  assertElementListDefined(ar.target_alignment);
148
148
  const exonTracks = this.collectExons(ar.target_alignment, "target", RcsbAnnotationConstants_1.RcsbAnnotationConstants.provenanceColorCode.rcsbPdb, RcsbAnnotationConstants_1.RcsbAnnotationConstants.provenanceColorCode.rcsbPdb, GqlTypes_1.SequenceReference.PdbEntity, chrId);
149
149
  this.pdbEntityTrack = this.mergeExonTracks(exonTracks, GqlTypes_1.SequenceReference.PdbEntity)[0];
@@ -624,8 +624,8 @@ class RcsbFvChromosome extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
624
624
  });
625
625
  }
626
626
  setDisplayView() {
627
- var _c, _d, _e, _f, _g, _h, _j;
628
627
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
628
+ var _c, _d, _e, _f, _g, _h, _j;
629
629
  if (this.entityBegin == 0 && this.entityEnd == 0 && ((_e = (_d = (_c = this.pdbEntityTrack) === null || _c === void 0 ? void 0 : _c.displayConfig) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) > 0) {
630
630
  const d = (_f = this.pdbEntityTrack.displayConfig) === null || _f === void 0 ? void 0 : _f[0].displayData;
631
631
  if (!d)
@@ -662,8 +662,8 @@ class RcsbFvChromosome extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
662
662
  });
663
663
  }
664
664
  plot() {
665
- var _c, _d, _e, _f;
666
665
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
666
+ var _c, _d, _e, _f;
667
667
  console.log("PROCESSING");
668
668
  let tracks = new Array();
669
669
  let ncbiTracks = new Array();
@@ -6,8 +6,8 @@ const RcsbFvAbstractModule_1 = require("./RcsbFvAbstractModule");
6
6
  const PlainAlignmentTrackFactory_1 = require("../RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory");
7
7
  class RcsbFvDataProvider extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
8
8
  protectedBuild() {
9
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
10
9
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
10
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
11
11
  if ((_b = (_a = this.buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.dataProvider) === null || _b === void 0 ? void 0 : _b.alignments) {
12
12
  this.alignmentCollector = this.buildConfig.additionalConfig.dataProvider.alignments.collector;
13
13
  const alignmentResponse = yield this.alignmentCollector.collect(Object.assign({}, (_d = (_c = this.buildConfig.additionalConfig) === null || _c === void 0 ? void 0 : _c.dataProvider) === null || _d === void 0 ? void 0 : _d.alignments.context), (_e = this.buildConfig.additionalConfig) === null || _e === void 0 ? void 0 : _e.alignmentFilter);
@@ -14,8 +14,8 @@ class RcsbFvEntity extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
14
14
  this.unmodeledTrackBuilder = new UnmodeledTrackBuilder_1.UnmodeledTrackBuilder();
15
15
  }
16
16
  protectedBuild() {
17
- var _a, _b, _c, _d, _e, _f, _g;
18
17
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
+ var _a, _b, _c, _d, _e, _f, _g;
19
19
  const buildConfig = this.buildConfig;
20
20
  assertDefined(buildConfig.entityId);
21
21
  const alignmentRequestContext = {
@@ -12,8 +12,8 @@ const Operator_1 = require("../../RcsbUtils/Helpers/Operator");
12
12
  const RcsbRequestContextManager_1 = require("../../RcsbRequest/RcsbRequestContextManager");
13
13
  class RcsbFvGroupAlignment extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
14
14
  protectedBuild() {
15
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
16
15
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
17
17
  const buildConfig = this.buildConfig;
18
18
  assertDefined(buildConfig.groupId), assertDefined(buildConfig.group), assertDefined((_a = buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.page);
19
19
  const alignmentRequestContext = {
@@ -10,8 +10,8 @@ var assertDefined = Assertions_1.Assertions.assertDefined;
10
10
  const annotationConfigMap = acm;
11
11
  class RcsbFvGroupAnnotation extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
12
12
  protectedBuild() {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
14
13
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
15
15
  const buildConfig = this.buildConfig;
16
16
  assertDefined(buildConfig.group), assertDefined(buildConfig.groupId), assertDefined((_a = buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.page);
17
17
  const alignmentRequestContext = {
@@ -11,8 +11,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
11
11
  var assertDefined = Assertions_1.Assertions.assertDefined;
12
12
  class RcsbFvInstance extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
13
13
  protectedBuild() {
14
- var _a, _b, _c, _d;
15
14
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
+ var _a, _b, _c, _d;
16
16
  const buildConfig = this.buildConfig;
17
17
  const instanceId = buildConfig.instanceId;
18
18
  assertDefined(instanceId);
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filter = exports.interfaceAnnotations = exports.RcsbFvInterface = void 0;
3
+ exports.RcsbFvInterface = void 0;
4
+ exports.interfaceAnnotations = interfaceAnnotations;
5
+ exports.filter = filter;
4
6
  const tslib_1 = require("tslib");
5
7
  const GqlTypes_1 = require("@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes");
6
8
  const RcsbFvAbstractModule_1 = require("./RcsbFvAbstractModule");
@@ -17,8 +19,8 @@ const TagDelimiter_1 = require("@rcsb/rcsb-api-tools/build/RcsbUtils/TagDelimite
17
19
  const annotationConfigMap = acm;
18
20
  class RcsbFvInterface extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
19
21
  protectedBuild() {
20
- var _a, _b, _c, _d, _e;
21
22
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
+ var _a, _b, _c, _d, _e;
22
24
  const buildConfig = this.buildConfig;
23
25
  const instanceId = buildConfig.instanceId;
24
26
  assertDefined(instanceId);
@@ -63,8 +65,8 @@ class RcsbFvInterface extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
63
65
  this.alignmentTracks.concat(this.annotationTracks);
64
66
  }
65
67
  typeSuffix(ann, d) {
66
- var _a;
67
68
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
69
+ var _a;
68
70
  if (ann.source === GqlTypes_1.Source.PdbInterface && ((_a = ann.target_identifiers) === null || _a === void 0 ? void 0 : _a.interface_id)) {
69
71
  return ann.target_identifiers.interface_id + "|" + ann.target_identifiers.interface_partner_index;
70
72
  }
@@ -120,10 +122,8 @@ function interfaceAnnotations(annotations) {
120
122
  resolve(out);
121
123
  });
122
124
  }
123
- exports.interfaceAnnotations = interfaceAnnotations;
124
125
  function filter(ann) {
125
126
  return new Promise(resolve => {
126
127
  resolve((0, BurialFraction_1.burialFractionFilter)((0, BuriedResidues_1.buriedResiduesFilter)(ann)));
127
128
  });
128
129
  }
129
- exports.filter = filter;
@@ -8,8 +8,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
8
8
  var assertDefined = Assertions_1.Assertions.assertDefined;
9
9
  class RcsbFvPairwiseAlignment extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
10
10
  protectedBuild() {
11
- var _a;
12
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ var _a;
13
13
  const buildConfig = this.buildConfig;
14
14
  assertDefined(buildConfig.psa);
15
15
  const pab = new PairwiseAlignmentBuilder_1.PairwiseAlignmentBuilder(buildConfig.psa);
@@ -8,8 +8,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
8
8
  var assertDefined = Assertions_1.Assertions.assertDefined;
9
9
  class RcsbFvProteinSequence extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
10
10
  protectedBuild() {
11
- var _a, _b, _c, _d, _e;
12
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ var _a, _b, _c, _d, _e;
13
13
  const buildConfig = this.buildConfig;
14
14
  const queryId = buildConfig.queryId;
15
15
  assertDefined(queryId);
@@ -10,8 +10,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
10
10
  var assertDefined = Assertions_1.Assertions.assertDefined;
11
11
  class RcsbFvUniprot extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
12
12
  protectedBuild() {
13
- var _a, _b, _c, _d;
14
13
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
14
+ var _a, _b, _c, _d;
15
15
  const buildConfig = this.buildConfig;
16
16
  const upAcc = buildConfig.upAcc;
17
17
  assertDefined(upAcc);
@@ -10,8 +10,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
10
10
  var assertDefined = Assertions_1.Assertions.assertDefined;
11
11
  class RcsbFvUniprotAlignment extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
12
12
  protectedBuild() {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
14
13
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
15
15
  const buildConfig = this.buildConfig;
16
16
  assertDefined((_a = buildConfig.additionalConfig) === null || _a === void 0 ? void 0 : _a.page), assertDefined(buildConfig.upAcc);
17
17
  const alignmentRequestContext = {
@@ -14,8 +14,8 @@ class RcsbFvUniprotEntity extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
14
14
  this.unmodeledTrackBuilder = new UnmodeledTrackBuilder_1.UnmodeledTrackBuilder();
15
15
  }
16
16
  protectedBuild() {
17
- var _a, _b, _c;
18
17
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
+ var _a, _b, _c;
19
19
  const buildConfig = this.buildConfig;
20
20
  const upAcc = buildConfig.upAcc;
21
21
  const entityId = buildConfig.entityId;
@@ -65,8 +65,8 @@ class RcsbFvUniprotEntity extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
65
65
  this.rowConfigData = [this.referenceTrack].concat(this.alignmentTracks).concat(this.annotationTracks);
66
66
  }
67
67
  titleSuffix(ann, d) {
68
- var _a;
69
68
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
69
+ var _a;
70
70
  if (this.polymerEntityInstance != null && ann.source === GqlTypes_1.Source.PdbInstance) {
71
71
  const labelAsymId = (_a = ann.target_id) === null || _a === void 0 ? void 0 : _a.split(TagDelimiter_1.TagDelimiter.instance)[1];
72
72
  if (!labelAsymId)
@@ -9,8 +9,8 @@ const Assertions_1 = require("../../RcsbUtils/Helpers/Assertions");
9
9
  var assertDefined = Assertions_1.Assertions.assertDefined;
10
10
  class RcsbFvUniprotInstance extends RcsbFvAbstractModule_1.RcsbFvAbstractModule {
11
11
  protectedBuild() {
12
- var _a, _b, _c;
13
12
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ var _a, _b, _c;
14
14
  const buildConfig = this.buildConfig;
15
15
  const upAcc = buildConfig.upAcc;
16
16
  const entityId = buildConfig.entityId;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.searchQueryContextManager = exports.buildResidueDistribution = exports.buildGroupContent = exports.buildGroupMembers = exports.buildGroup = exports.buildSearchRequest = void 0;
3
+ exports.searchQueryContextManager = void 0;
4
+ exports.buildSearchRequest = buildSearchRequest;
5
+ exports.buildGroup = buildGroup;
6
+ exports.buildGroupMembers = buildGroupMembers;
7
+ exports.buildGroupContent = buildGroupContent;
8
+ exports.buildResidueDistribution = buildResidueDistribution;
4
9
  const tslib_1 = require("tslib");
5
10
  const RcsbGroupDisplay_1 = require("./RcsbGroupView/RcsbGroupDisplay");
6
11
  const EntityGranularitySearchFacetStore_1 = require("../RcsbSeacrh/FacetStore/EntityGranularitySearchFacetStore");
@@ -10,25 +15,20 @@ function buildSearchRequest(elementId, searchQuery, returnType) {
10
15
  yield RcsbGroupDisplay_1.RcsbGroupDisplay.displayRcsbSearchStats(elementId, EntityGranularitySearchFacetStore_1.entityGranularityGroupFacetStore, searchQuery, returnType);
11
16
  });
12
17
  }
13
- exports.buildSearchRequest = buildSearchRequest;
14
18
  function buildGroup(elementId, groupProvenance, groupId, query, facetLayoutGrid, additionalProperties) {
15
19
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
16
20
  yield RcsbGroupDisplay_1.RcsbGroupDisplay.displaySearchAttributes(elementId, groupProvenance, groupId, query, facetLayoutGrid, additionalProperties);
17
21
  });
18
22
  }
19
- exports.buildGroup = buildGroup;
20
23
  function buildGroupMembers(elementId, groupProvenance, groupId, nRows, nColumns, query) {
21
24
  RcsbGroupDisplay_1.RcsbGroupDisplay.displayGroupMembers(elementId, groupProvenance, groupId, nRows, nColumns, query);
22
25
  }
23
- exports.buildGroupMembers = buildGroupMembers;
24
26
  function buildGroupContent(elementId, groupProvenance, groupId, query, textConfig) {
25
27
  RcsbGroupDisplay_1.RcsbGroupDisplay.displayGroupContent(elementId, groupProvenance, groupId, query, textConfig);
26
28
  }
27
- exports.buildGroupContent = buildGroupContent;
28
29
  function buildResidueDistribution(elementId, granularity, rcsbId, facetLayoutGrid, chartDisplayConfig) {
29
30
  RcsbGroupDisplay_1.RcsbGroupDisplay.displayResidueDistribution(elementId, granularity, rcsbId, facetLayoutGrid, chartDisplayConfig);
30
31
  }
31
- exports.buildResidueDistribution = buildResidueDistribution;
32
32
  exports.searchQueryContextManager = {
33
33
  subscribe(f) {
34
34
  return SearchQueryContextManager_1.SearchQueryContextManager.subscribe(f);
@@ -11,8 +11,8 @@ const RcsbRequestContextManager_1 = require("../../../RcsbRequest/RcsbRequestCon
11
11
  var GroupChartMap;
12
12
  (function (GroupChartMap) {
13
13
  function getChartMap(groupProvenanceId, groupId, searchQuery) {
14
- var _a;
15
14
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
+ var _a;
16
16
  const facetStore = SearchQueryTools_1.SearchQueryTools.getFacetStoreFromGroupProvenance(groupProvenanceId);
17
17
  let facets = [];
18
18
  for (const service of facetStore.getServices()) {
@@ -48,8 +48,8 @@ var GroupChartMap;
48
48
  }
49
49
  GroupChartMap.getChartMap = getChartMap;
50
50
  function subtractSearchQuery(chartData, groupProvenanceId, groupId, searchQuery) {
51
- var _a, _b;
52
51
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
52
+ var _a, _b;
53
53
  const facetStore = SearchQueryTools_1.SearchQueryTools.getFacetStoreFromGroupProvenance(groupProvenanceId);
54
54
  let subData;
55
55
  let partialFacets = [];