@molgenis/vip-report-template 2.7.2 → 3.0.0-beta2

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 (591) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.js +16 -22
  3. package/.gitattributes +1 -0
  4. package/.husky/pre-commit +4 -0
  5. package/.prettierignore +4 -0
  6. package/.prettierrc.json +3 -0
  7. package/.travis.yml +14 -11
  8. package/README.md +7 -29
  9. package/index.html +12 -0
  10. package/package.json +42 -55
  11. package/src/Api.ts +12 -0
  12. package/src/App.tsx +101 -0
  13. package/src/__tests__/decisionTreeUtils.test.ts +75 -0
  14. package/src/__tests__/field.test.ts +107 -0
  15. package/src/__tests__/query.test.ts +156 -0
  16. package/src/__tests__/sortUtils.test.ts +83 -0
  17. package/src/__tests__/utils.test.ts +24 -0
  18. package/src/__tests__/viewUtils.test.ts +125 -0
  19. package/src/assets/sass/main.scss +113 -0
  20. package/src/components/Abbr.tsx +20 -0
  21. package/src/components/Anchor.tsx +12 -0
  22. package/src/components/Breadcrumb.tsx +33 -0
  23. package/src/components/Checkbox.tsx +32 -0
  24. package/src/components/ConsequenceTable.tsx +38 -0
  25. package/src/components/DatasetDropdown.tsx +48 -0
  26. package/src/components/Error.tsx +9 -0
  27. package/src/components/FieldHeader.tsx +26 -0
  28. package/src/components/GenomeBrowser.tsx +114 -0
  29. package/src/components/InfoCollapsablePane.tsx +68 -0
  30. package/src/components/Loader.tsx +5 -0
  31. package/src/components/SampleTable.tsx +118 -0
  32. package/src/components/SearchBox.tsx +44 -0
  33. package/src/components/Sort.tsx +58 -0
  34. package/src/components/VariantInfoNestedTable.tsx +117 -0
  35. package/src/components/VariantInfoTable.tsx +30 -0
  36. package/src/components/VariantSampleTable.tsx +56 -0
  37. package/src/components/VariantTable.tsx +71 -0
  38. package/src/components/VariantsSampleTable.tsx +87 -0
  39. package/src/components/VariantsTable.tsx +135 -0
  40. package/src/components/VcfHeaderRow.tsx +15 -0
  41. package/src/components/filter/Filter.tsx +37 -0
  42. package/src/components/filter/FilterCategorical.tsx +66 -0
  43. package/src/components/filter/FilterIntegerDp.tsx +24 -0
  44. package/src/components/filter/FilterIntegerVid.tsx +28 -0
  45. package/src/components/filter/FilterIntegerVim.tsx +24 -0
  46. package/src/components/filter/Filters.tsx +30 -0
  47. package/src/components/filter/InfoFilter.tsx +36 -0
  48. package/src/components/filter/InfoFilters.tsx +32 -0
  49. package/src/components/filter/SampleFilters.tsx +44 -0
  50. package/src/components/filter/SamplesFilters.tsx +31 -0
  51. package/src/components/record/Allele.tsx +38 -0
  52. package/src/components/record/AlleleBreakend.tsx +5 -0
  53. package/src/components/record/AlleleMissing.tsx +5 -0
  54. package/src/components/record/AlleleNucs.tsx +49 -0
  55. package/src/components/record/AlleleSymbolic.tsx +5 -0
  56. package/src/components/record/Alt.tsx +17 -0
  57. package/src/components/record/Chrom.tsx +5 -0
  58. package/src/components/record/Filter.tsx +9 -0
  59. package/src/components/record/Format.tsx +31 -0
  60. package/src/components/record/Id.tsx +9 -0
  61. package/src/components/record/Info.tsx +53 -0
  62. package/src/components/record/Pager.tsx +64 -0
  63. package/src/components/record/Pos.tsx +5 -0
  64. package/src/components/record/Qual.tsx +5 -0
  65. package/src/components/record/RecordDownload.tsx +36 -0
  66. package/src/components/record/Ref.tsx +6 -0
  67. package/src/components/record/field/Field.tsx +20 -0
  68. package/src/components/record/field/FieldMultipleValue.tsx +22 -0
  69. package/src/components/record/field/FieldSingleValue.tsx +35 -0
  70. package/src/components/record/field/FieldValueCharacter.tsx +11 -0
  71. package/src/components/record/field/FieldValueFlag.tsx +11 -0
  72. package/src/components/record/field/FieldValueFloat.tsx +17 -0
  73. package/src/components/record/field/FieldValueInteger.tsx +11 -0
  74. package/src/components/record/field/FieldValueString.tsx +14 -0
  75. package/src/components/record/format/GenotypeField.tsx +63 -0
  76. package/src/components/record/info/ClinVar.tsx +37 -0
  77. package/src/components/record/info/Consequence.tsx +19 -0
  78. package/src/components/record/info/Gene.tsx +11 -0
  79. package/src/components/record/info/GnomAD.tsx +29 -0
  80. package/src/components/record/info/Hgvs.tsx +18 -0
  81. package/src/components/record/info/HpoTerm.tsx +12 -0
  82. package/src/components/record/info/PubMed.tsx +19 -0
  83. package/src/components/tree/DecisionTreeBoolMultiQuery.tsx +21 -0
  84. package/src/components/tree/DecisionTreeBoolQuery.tsx +22 -0
  85. package/src/components/tree/DecisionTreeNode.tsx +64 -0
  86. package/src/components/tree/DecisionTreeNodeBool.tsx +35 -0
  87. package/src/components/tree/DecisionTreeNodeBoolMulti.tsx +32 -0
  88. package/src/components/tree/DecisionTreeNodeCategorical.tsx +32 -0
  89. package/src/components/tree/DecisionTreeNodeExists.tsx +25 -0
  90. package/src/components/tree/DecisionTreeNodeLeaf.tsx +6 -0
  91. package/src/components/tree/DecisionTreeOutcomeNode.tsx +11 -0
  92. package/src/components/tree/DecisionTreePath.tsx +27 -0
  93. package/src/igv.d.ts +4 -1
  94. package/src/index.tsx +40 -0
  95. package/src/mocks/GRCh37/alignment.bam.blob +0 -0
  96. package/src/mocks/GRCh37/decisionTree.json +354 -0
  97. package/src/mocks/GRCh37/fasta/1-10042288-10042788.fasta.gz.blob +0 -0
  98. package/src/mocks/GRCh37/fasta/1-152520538-152521038.fasta.gz.blob +0 -0
  99. package/src/mocks/GRCh37/fasta/1-16375333-16375833.fasta.gz.blob +0 -0
  100. package/src/mocks/GRCh37/fasta/1-16376162-16376662.fasta.gz.blob +0 -0
  101. package/src/mocks/GRCh37/fasta/1-17348965-17349469.fasta.gz.blob +0 -0
  102. package/src/mocks/GRCh37/fasta/1-17348969-17349469.fasta.gz.blob +0 -0
  103. package/src/mocks/GRCh37/fasta/1-17354844-17355344.fasta.gz.blob +0 -0
  104. package/src/mocks/GRCh37/fasta/10-126091249-126091749.fasta.gz.blob +0 -0
  105. package/src/mocks/GRCh37/fasta/11-134013975-134014475.fasta.gz.blob +0 -0
  106. package/src/mocks/GRCh37/fasta/13-77569878-77570378.fasta.gz.blob +0 -0
  107. package/src/mocks/GRCh37/fasta/14-105167610-105168110.fasta.gz.blob +0 -0
  108. package/src/mocks/GRCh37/fasta/14-89307588-89308088.fasta.gz.blob +0 -0
  109. package/src/mocks/GRCh37/fasta/14-89309945-89310445.fasta.gz.blob +0 -0
  110. package/src/mocks/GRCh37/fasta/14-89336157-89336657.fasta.gz.blob +0 -0
  111. package/src/mocks/GRCh37/fasta/17-29555814-29556314.fasta.gz.blob +0 -0
  112. package/src/mocks/GRCh37/fasta/17-29585172-29585672.fasta.gz.blob +0 -0
  113. package/src/mocks/GRCh37/fasta/17-29663629-29664129.fasta.gz.blob +0 -0
  114. package/src/mocks/GRCh37/fasta/17-29675976-29676476.fasta.gz.blob +0 -0
  115. package/src/mocks/GRCh37/fasta/17-29683733-29684233.fasta.gz.blob +0 -0
  116. package/src/mocks/GRCh37/fasta/19-11215896-11216396.fasta.gz.blob +0 -0
  117. package/src/mocks/GRCh37/fasta/19-11223801-11224301.fasta.gz.blob +0 -0
  118. package/src/mocks/GRCh37/fasta/19-17449149-17449649.fasta.gz.blob +0 -0
  119. package/src/mocks/GRCh37/fasta/19-17451747-17452247.fasta.gz.blob +0 -0
  120. package/src/mocks/GRCh37/fasta/2-47635417-47635917.fasta.gz.blob +0 -0
  121. package/src/mocks/GRCh37/fasta/20-62326742-62327242.fasta.gz.blob +0 -0
  122. package/src/mocks/GRCh37/fasta/22-50627343-50627843.fasta.gz.blob +0 -0
  123. package/src/mocks/GRCh37/fasta/22-50721296-50721796.fasta.gz.blob +0 -0
  124. package/src/mocks/GRCh37/fasta/4-106320044-106320544.fasta.gz.blob +0 -0
  125. package/src/mocks/GRCh37/fasta/7-42017061-42017561.fasta.gz.blob +0 -0
  126. package/src/mocks/GRCh37/fasta/7-42064707-42065207.fasta.gz.blob +0 -0
  127. package/src/mocks/GRCh37/fasta/8-145140250-145140750.fasta.gz.blob +0 -0
  128. package/src/mocks/GRCh37/fasta/8-61764893-61765393.fasta.gz.blob +0 -0
  129. package/src/mocks/GRCh37/fasta/9-107546383-107546883.fasta.gz.blob +0 -0
  130. package/src/mocks/GRCh37/fasta/9-107584614-107585114.fasta.gz.blob +0 -0
  131. package/src/mocks/GRCh37/fasta/MT-15076-15576.fasta.gz.blob +0 -0
  132. package/src/mocks/GRCh37/fasta/X-48932771-48933271.fasta.gz.blob +0 -0
  133. package/src/mocks/GRCh37/fasta/Y-2655391-2655891.fasta.gz.blob +0 -0
  134. package/src/mocks/GRCh37/genes.txt.gz.blob +0 -0
  135. package/src/mocks/GRCh37/static.ts +192 -0
  136. package/src/mocks/GRCh37/vcf/family.vcf.blob +104 -0
  137. package/src/mocks/GRCh37/vcf/no_vep.vcf.blob +61 -0
  138. package/src/mocks/GRCh37/vcf/samples_0.vcf.blob +93 -0
  139. package/src/mocks/GRCh37/vcf/samples_1.vcf.blob +93 -0
  140. package/src/mocks/GRCh37/vcf/samples_100.vcf.blob +93 -0
  141. package/src/mocks/GRCh38/alignment.bam.blob +0 -0
  142. package/src/mocks/GRCh38/decisionTree.json +369 -0
  143. package/src/mocks/GRCh38/fasta/chr1-152548062-152548562.fasta.gz.blob +0 -0
  144. package/src/mocks/GRCh38/fasta/chr1-16049667-16050167.fasta.gz.blob +0 -0
  145. package/src/mocks/GRCh38/fasta/chr1-17022474-17022974.fasta.gz.blob +0 -0
  146. package/src/mocks/GRCh38/fasta/chr1-9982230-9982730.fasta.gz.blob +0 -0
  147. package/src/mocks/GRCh38/fasta/chr10-124402680-124403180.fasta.gz.blob +0 -0
  148. package/src/mocks/GRCh38/fasta/chr11-134144080-134144580.fasta.gz.blob +0 -0
  149. package/src/mocks/GRCh38/fasta/chr13-76995743-76996243.fasta.gz.blob +0 -0
  150. package/src/mocks/GRCh38/fasta/chr14-104701273-104701773.fasta.gz.blob +0 -0
  151. package/src/mocks/GRCh38/fasta/chr14-88869813-88870313.fasta.gz.blob +0 -0
  152. package/src/mocks/GRCh38/fasta/chr17-31228796-31229296.fasta.gz.blob +0 -0
  153. package/src/mocks/GRCh38/fasta/chr17-31336611-31337111.fasta.gz.blob +0 -0
  154. package/src/mocks/GRCh38/fasta/chr19-11105220-11105720.fasta.gz.blob +0 -0
  155. package/src/mocks/GRCh38/fasta/chr19-17340938-17341438.fasta.gz.blob +0 -0
  156. package/src/mocks/GRCh38/fasta/chr2-47408278-47408778.fasta.gz.blob +0 -0
  157. package/src/mocks/GRCh38/fasta/chr20-63695389-63695889.fasta.gz.blob +0 -0
  158. package/src/mocks/GRCh38/fasta/chr22-50188914-50189414.fasta.gz.blob +0 -0
  159. package/src/mocks/GRCh38/fasta/chr22-50282867-50283367.fasta.gz.blob +0 -0
  160. package/src/mocks/GRCh38/fasta/chr4-105398887-105399387.fasta.gz.blob +0 -0
  161. package/src/mocks/GRCh38/fasta/chr7-41977462-41977962.fasta.gz.blob +0 -0
  162. package/src/mocks/GRCh38/fasta/chr7-42025108-42025608.fasta.gz.blob +0 -0
  163. package/src/mocks/GRCh38/fasta/chr8-144085347-144085847.fasta.gz.blob +0 -0
  164. package/src/mocks/GRCh38/fasta/chr8-60852334-60852834.fasta.gz.blob +0 -0
  165. package/src/mocks/GRCh38/fasta/chr9-104784102-104784602.fasta.gz.blob +0 -0
  166. package/src/mocks/GRCh38/fasta/chrM-15075-15575.fasta.gz.blob +0 -0
  167. package/src/mocks/GRCh38/fasta/chrX-49075112-49075612.fasta.gz.blob +0 -0
  168. package/src/mocks/GRCh38/fasta/chrY-2787350-2787850.fasta.gz.blob +0 -0
  169. package/src/mocks/GRCh38/genes.txt.gz.blob +0 -0
  170. package/src/mocks/GRCh38/static.ts +170 -0
  171. package/src/mocks/GRCh38/vcf/family.vcf.blob +270 -0
  172. package/src/mocks/GRCh38/vcf/no_vep.vcf.blob +238 -0
  173. package/src/mocks/GRCh38/vcf/samples_0.vcf.blob +265 -0
  174. package/src/mocks/GRCh38/vcf/samples_1.vcf.blob +266 -0
  175. package/src/mocks/GRCh38/vcf/samples_100.vcf.blob +266 -0
  176. package/src/mocks/MockApiClient.ts +375 -0
  177. package/src/mocks/static.ts +1636 -0
  178. package/src/mocks/utils.ts +16 -0
  179. package/src/store/index.tsx +169 -0
  180. package/src/utils/ApiUtils.ts +253 -0
  181. package/src/utils/decisionTreeUtils.ts +14 -0
  182. package/src/utils/field.ts +49 -0
  183. package/src/utils/query.ts +130 -0
  184. package/src/utils/sample.ts +5 -0
  185. package/src/utils/sortUtils.ts +65 -0
  186. package/src/utils/utils.ts +3 -0
  187. package/src/utils/viewUtils.ts +38 -0
  188. package/src/views/Home.tsx +121 -0
  189. package/src/views/Sample.tsx +26 -0
  190. package/src/views/SampleVariant.tsx +115 -0
  191. package/src/views/SampleVariantConsequence.tsx +105 -0
  192. package/src/views/SampleVariants.tsx +248 -0
  193. package/src/views/Samples.tsx +57 -0
  194. package/src/views/Variant.tsx +63 -0
  195. package/src/views/VariantConsequence.tsx +69 -0
  196. package/src/views/Variants.tsx +123 -0
  197. package/src/views/data/SampleData.tsx +11 -0
  198. package/src/views/data/SampleVariantConsequenceData.tsx +12 -0
  199. package/src/views/data/SampleVariantData.tsx +13 -0
  200. package/src/views/data/VariantConsequenceData.tsx +9 -0
  201. package/src/views/data/VariantData.tsx +12 -0
  202. package/tsconfig.json +9 -39
  203. package/vite.config.ts +18 -0
  204. package/.browserslistrc +0 -3
  205. package/.env +0 -2
  206. package/.prettierrc +0 -5
  207. package/.scannerwork/.sonar_lock +0 -0
  208. package/.scannerwork/css-bundle/stylelintconfig.json +0 -1
  209. package/.scannerwork/report-task.txt +0 -8
  210. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_App_vue_1_1_P1_ENTRY.ucfg +0 -0
  211. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Alerts_vue_1_1_P1_ENTRY.ucfg +0 -0
  212. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Allele_vue_1_1_P1_ENTRY.ucfg +0 -0
  213. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Anchor_vue_1_1_P1_ENTRY.ucfg +0 -0
  214. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_AnnotationsNav_vue_1_1_P1_ENTRY.ucfg +0 -0
  215. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Gene_vue_1_1_P1_ENTRY.ucfg +0 -0
  216. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_GenomeBrowser_vue_1_1_P1_ENTRY.ucfg +0 -0
  217. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Genotype_vue_1_1_P1_ENTRY.ucfg +0 -0
  218. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_Identifiers_vue_1_1_P1_ENTRY.ucfg +0 -0
  219. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_InfoButton_vue_1_1_P1_ENTRY.ucfg +0 -0
  220. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_NavigationBar_vue_1_1_P1_ENTRY.ucfg +0 -0
  221. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_PubMedAnchor_vue_1_1_P1_ENTRY.ucfg +0 -0
  222. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordCommonDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  223. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  224. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoDetailsItemMultiline_vue_1_1_P1_ENTRY.ucfg +0 -0
  225. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoDetailsItemValue_vue_1_1_P1_ENTRY.ucfg +0 -0
  226. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoDetailsItem_vue_1_1_P1_ENTRY.ucfg +0 -0
  227. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  228. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoNestedDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  229. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordInfoUnnestedDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  230. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordSampleDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  231. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordTableControls_vue_1_1_P1_ENTRY.ucfg +0 -0
  232. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_RecordTable_vue_1_1_P1_ENTRY.ucfg +0 -0
  233. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SampleDetails_vue_1_1_P1_ENTRY.ucfg +0 -0
  234. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SampleInfo_vue_1_1_P1_ENTRY.ucfg +0 -0
  235. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SampleNavigation_vue_1_1_P1_ENTRY.ucfg +0 -0
  236. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SamplePedigree_vue_1_1_P1_ENTRY.ucfg +0 -0
  237. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SamplePheno_vue_1_1_P1_ENTRY.ucfg +0 -0
  238. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_SampleReport_vue_1_1_P1_ENTRY.ucfg +0 -0
  239. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_TreeVisualisation_vue_1_1_P1_ENTRY.ucfg +0 -0
  240. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_annotation_AnnotationControl_vue_1_1_P1_ENTRY.ucfg +0 -0
  241. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_annotation_ClassificationAnnotation_vue_1_1_P1_ENTRY.ucfg +0 -0
  242. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_annotation_GeneMatchAnnotation_vue_1_1_P1_ENTRY.ucfg +0 -0
  243. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_components_annotation_NotesAnnotation_vue_1_1_P1_ENTRY.ucfg +0 -0
  244. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_globals_filters_ts_1_1_P1_ENTRY.ucfg +0 -0
  245. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_globals_utils_ts_1_1_P1_ENTRY.ucfg +0 -0
  246. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_store_actions_ts_1_1_P1_ENTRY.ucfg +0 -0
  247. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_store_getters_ts_1_1_P1_ENTRY.ucfg +0 -0
  248. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_store_mutations_ts_1_1_P1_ENTRY.ucfg +0 -0
  249. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_store_state_ts_1_1_P1_ENTRY.ucfg +0 -0
  250. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_Alert_ts_1_1_P1_ENTRY.ucfg +0 -0
  251. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_Annotations_ts_1_1_P1_ENTRY.ucfg +0 -0
  252. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_Consequence_ts_1_1_P1_ENTRY.ucfg +0 -0
  253. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_Gene_ts_1_1_P1_ENTRY.ucfg +0 -0
  254. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_GenomeBrowserDb_ts_1_1_P1_ENTRY.ucfg +0 -0
  255. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_State_ts_1_1_P1_ENTRY.ucfg +0 -0
  256. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_types_Variant_ts_1_1_P1_ENTRY.ucfg +0 -0
  257. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_utils_treeBuilder_ts_1_1_P1_ENTRY.ucfg +0 -0
  258. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_utils_treeDrawer_ts_1_1_P1_ENTRY.ucfg +0 -0
  259. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_views_About_vue_1_1_P1_ENTRY.ucfg +0 -0
  260. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_views_DecisionTreeViewer_vue_1_1_P1_ENTRY.ucfg +0 -0
  261. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_views_Samples_vue_1_1_P1_ENTRY.ucfg +0 -0
  262. package/.scannerwork/ucfg2/js/_home_travis_build_molgenis_vip_report_template_src_views_VcfViewer_vue_1_1_P1_ENTRY.ucfg +0 -0
  263. package/.scannerwork/ucfg2/js/src_App_vue_27_16_FE_145_0.ucfg +0 -0
  264. package/.scannerwork/ucfg2/js/src_components_Allele_vue_26_9_FE_40_0.ucfg +0 -0
  265. package/.scannerwork/ucfg2/js/src_components_Allele_vue_38_18_FE_41_bas.ucfg +0 -0
  266. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_29_19_FE_90_0.ucfg +0 -0
  267. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_32_20_FE_91_0.ucfg +0 -0
  268. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_36_24_A_63_0.ucfg +0 -0
  269. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_44_25_A_64_eve.ucfg +0 -0
  270. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_55_20_FE_92_0.ucfg +0 -0
  271. package/.scannerwork/ucfg2/js/src_components_AnnotationsNav_vue_61_20_FE_93_0.ucfg +0 -0
  272. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_138_19_FE_28_new.ucfg +0 -0
  273. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_19_7_FE_22_0.ucfg +0 -0
  274. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_26_21_FE_23_0.ucfg +0 -0
  275. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_29_30_FE_24_con.ucfg +0 -0
  276. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_32_30_FE_25_rec.ucfg +0 -0
  277. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_47_30_FE_26_0.ucfg +0 -0
  278. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_52_30_FE_27_rec.ucfg +0 -0
  279. package/.scannerwork/ucfg2/js/src_components_GenomeBrowser_vue_73_26_A_24_sam.ucfg +0 -0
  280. package/.scannerwork/ucfg2/js/src_components_Genotype_vue_39_17_FE_86_0.ucfg +0 -0
  281. package/.scannerwork/ucfg2/js/src_components_Genotype_vue_46_21_FE_87_0.ucfg +0 -0
  282. package/.scannerwork/ucfg2/js/src_components_Genotype_vue_49_48_A_31_a_b.ucfg +0 -0
  283. package/.scannerwork/ucfg2/js/src_components_RecordCommonDetails_vue_80_11_FE_119_0.ucfg +0 -0
  284. package/.scannerwork/ucfg2/js/src_components_RecordCommonDetails_vue_86_10_FE_120_0.ucfg +0 -0
  285. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetailsItemValue_vue_114_23_FE_34_0.ucfg +0 -0
  286. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetailsItemValue_vue_123_13_FE_35_val.ucfg +0 -0
  287. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetailsItemValue_vue_151_16_FE_36_val.ucfg +0 -0
  288. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetailsItemValue_vue_94_19_FE_32_0.ucfg +0 -0
  289. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetailsItemValue_vue_99_22_FE_33_0.ucfg +0 -0
  290. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_32_23_FE_99_0.ucfg +0 -0
  291. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_33_68_A_66_inf.ucfg +0 -0
  292. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_37_21_FE_100_0.ucfg +0 -0
  293. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_38_66_A_67_inf.ucfg +0 -0
  294. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_44_17_FE_101_thi_tha.ucfg +0 -0
  295. package/.scannerwork/ucfg2/js/src_components_RecordInfoDetails_vue_47_18_FE_102_met.ucfg +0 -0
  296. package/.scannerwork/ucfg2/js/src_components_RecordInfoNestedDetails_vue_36_11_FE_29_0.ucfg +0 -0
  297. package/.scannerwork/ucfg2/js/src_components_RecordInfoNestedDetails_vue_52_10_FE_30_0.ucfg +0 -0
  298. package/.scannerwork/ucfg2/js/src_components_RecordInfoNestedDetails_vue_57_12_FE_31_ind.ucfg +0 -0
  299. package/.scannerwork/ucfg2/js/src_components_RecordInfoUnnestedDetails_vue_39_11_FE_46_0.ucfg +0 -0
  300. package/.scannerwork/ucfg2/js/src_components_RecordInfoUnnestedDetails_vue_46_10_FE_47_0.ucfg +0 -0
  301. package/.scannerwork/ucfg2/js/src_components_RecordInfoUnnestedDetails_vue_59_18_FE_48_thi_tha.ucfg +0 -0
  302. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_257_9_FE_1_0.ucfg +0 -0
  303. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_298_19_FE_2_0.ucfg +0 -0
  304. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_301_11_FE_3_0.ucfg +0 -0
  305. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_346_13_FE_4_ctx.ucfg +0 -0
  306. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_354_44_A_9_0.ucfg +0 -0
  307. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_361_9_FE_5_rec_ind_but.ucfg +0 -0
  308. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_366_19_FE_6_0.ucfg +0 -0
  309. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_370_16_FE_7_0.ucfg +0 -0
  310. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_403_22_FE_8_0.ucfg +0 -0
  311. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_410_33_FE_9_0.ucfg +0 -0
  312. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_437_28_FE_10_0.ucfg +0 -0
  313. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_444_31_FE_11_0.ucfg +0 -0
  314. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_451_24_FE_12_0.ucfg +0 -0
  315. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_454_32_FE_13_0.ucfg +0 -0
  316. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_456_18_A_10_phe.ucfg +0 -0
  317. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_457_14_A_11_phe.ucfg +0 -0
  318. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_464_15_FE_14_ctx.ucfg +0 -0
  319. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_472_19_A_12_a_b.ucfg +0 -0
  320. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_481_19_A_13_a_b.ucfg +0 -0
  321. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_505_19_FE_15_rec.ucfg +0 -0
  322. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_511_41_A_14_con.ucfg +0 -0
  323. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_520_41_A_15_con.ucfg +0 -0
  324. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_532_43_A_16_con.ucfg +0 -0
  325. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_537_41_A_17_con.ucfg +0 -0
  326. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_541_41_A_18_con.ucfg +0 -0
  327. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_545_41_A_19_con.ucfg +0 -0
  328. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_556_41_A_20_con.ucfg +0 -0
  329. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_560_41_A_21_con.ucfg +0 -0
  330. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_564_41_A_22_con.ucfg +0 -0
  331. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_568_41_A_23_con.ucfg +0 -0
  332. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_580_11_FE_16_0.ucfg +0 -0
  333. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_584_33_FE_17_0.ucfg +0 -0
  334. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_587_44_FE_18_0.ucfg +0 -0
  335. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_591_46_FE_19_0.ucfg +0 -0
  336. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_595_41_FE_20_0.ucfg +0 -0
  337. package/.scannerwork/ucfg2/js/src_components_RecordTable_vue_599_40_FE_21_0.ucfg +0 -0
  338. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_23_19_FE_49_0.ucfg +0 -0
  339. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_24_34_A_26_sam.ucfg +0 -0
  340. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_31_10_FE_50_sam.ucfg +0 -0
  341. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_34_13_FE_51_sam.ucfg +0 -0
  342. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_37_13_FE_52_sam.ucfg +0 -0
  343. package/.scannerwork/ucfg2/js/src_components_SampleNavigation_vue_40_15_FE_53_sam.ucfg +0 -0
  344. package/.scannerwork/ucfg2/js/src_components_SamplePedigree_vue_30_19_FE_103_0.ucfg +0 -0
  345. package/.scannerwork/ucfg2/js/src_components_SamplePedigree_vue_34_19_FE_104_0.ucfg +0 -0
  346. package/.scannerwork/ucfg2/js/src_components_SamplePheno_vue_44_15_FE_0_0.ucfg +0 -0
  347. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_101_10_FE_58_cli.ucfg +0 -0
  348. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_104_10_FE_59_0.ucfg +0 -0
  349. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_109_10_FE_60_cli.ucfg +0 -0
  350. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_112_10_FE_61_0.ucfg +0 -0
  351. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_116_13_FE_62_0.ucfg +0 -0
  352. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_120_9_FE_63_0.ucfg +0 -0
  353. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_124_14_FE_64_0.ucfg +0 -0
  354. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_127_13_FE_65_0.ucfg +0 -0
  355. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_130_10_FE_66_0.ucfg +0 -0
  356. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_133_10_FE_67_0.ucfg +0 -0
  357. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_138_10_FE_68_0.ucfg +0 -0
  358. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_141_10_FE_69_0.ucfg +0 -0
  359. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_144_15_FE_70_0.ucfg +0 -0
  360. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_149_14_FE_71_0.ucfg +0 -0
  361. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_153_14_FE_72_0.ucfg +0 -0
  362. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_162_14_FE_73_0.ucfg +0 -0
  363. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_167_11_FE_74_0.ucfg +0 -0
  364. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_170_11_FE_75_pro.ucfg +0 -0
  365. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_176_16_FE_76_nod_g.ucfg +0 -0
  366. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_177_21_A_27_nod.ucfg +0 -0
  367. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_181_16_FE_77_edg_g.ucfg +0 -0
  368. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_182_21_A_28_edg.ucfg +0 -0
  369. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_186_18_FE_78_nod_edg.ucfg +0 -0
  370. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_199_14_FE_79_g.ucfg +0 -0
  371. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_209_15_FE_80_svg_min_max.ucfg +0 -0
  372. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_216_21_A_29_eve.ucfg +0 -0
  373. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_225_11_FE_81_nod_edg.ucfg +0 -0
  374. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_232_12_FE_82_0.ucfg +0 -0
  375. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_69_10_FE_54_0.ucfg +0 -0
  376. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_72_10_FE_55_0.ucfg +0 -0
  377. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_75_12_FE_56_0.ucfg +0 -0
  378. package/.scannerwork/ucfg2/js/src_components_TreeVisualisation_vue_78_7_FE_57_0.ucfg +0 -0
  379. package/.scannerwork/ucfg2/js/src_components_annotation_AnnotationControl_vue_20_18_FE_88_val.ucfg +0 -0
  380. package/.scannerwork/ucfg2/js/src_components_annotation_AnnotationControl_vue_27_13_FE_89_val.ucfg +0 -0
  381. package/.scannerwork/ucfg2/js/src_components_annotation_ClassificationAnnotation_vue_12_7_FE_142_0.ucfg +0 -0
  382. package/.scannerwork/ucfg2/js/src_components_annotation_ClassificationAnnotation_vue_27_13_FE_143_0.ucfg +0 -0
  383. package/.scannerwork/ucfg2/js/src_components_annotation_ClassificationAnnotation_vue_32_10_FE_144_val.ucfg +0 -0
  384. package/.scannerwork/ucfg2/js/src_components_annotation_GeneMatchAnnotation_vue_12_7_FE_94_0.ucfg +0 -0
  385. package/.scannerwork/ucfg2/js/src_components_annotation_GeneMatchAnnotation_vue_23_13_FE_95_0.ucfg +0 -0
  386. package/.scannerwork/ucfg2/js/src_components_annotation_GeneMatchAnnotation_vue_28_10_FE_96_val.ucfg +0 -0
  387. package/.scannerwork/ucfg2/js/src_components_annotation_NotesAnnotation_vue_22_7_FE_42_0.ucfg +0 -0
  388. package/.scannerwork/ucfg2/js/src_components_annotation_NotesAnnotation_vue_29_13_FE_43_0.ucfg +0 -0
  389. package/.scannerwork/ucfg2/js/src_components_annotation_NotesAnnotation_vue_34_10_FE_44_val.ucfg +0 -0
  390. package/.scannerwork/ucfg2/js/src_components_annotation_NotesAnnotation_vue_40_15_FE_45_el.ucfg +0 -0
  391. package/.scannerwork/ucfg2/js/src_globals_filters_ts_12_29_FE_37_x_Ptr.ucfg +0 -0
  392. package/.scannerwork/ucfg2/js/src_globals_filters_ts_17_23_FE_38_thi_tha.ucfg +0 -0
  393. package/.scannerwork/ucfg2/js/src_globals_utils_ts_133_1_FD_2_getInfoConsequences.ucfg +0 -0
  394. package/.scannerwork/ucfg2/js/src_globals_utils_ts_233_1_FD_3_hasVepConsequences.ucfg +0 -0
  395. package/.scannerwork/ucfg2/js/src_globals_utils_ts_238_1_FD_4_getVepConsequences.ucfg +0 -0
  396. package/.scannerwork/ucfg2/js/src_globals_utils_ts_267_1_FD_5_hasSnpEffConsequences.ucfg +0 -0
  397. package/.scannerwork/ucfg2/js/src_globals_utils_ts_272_1_FD_6_getSnpEffConsequences.ucfg +0 -0
  398. package/.scannerwork/ucfg2/js/src_globals_utils_ts_364_1_FD_7_sortConsequences.ucfg +0 -0
  399. package/.scannerwork/ucfg2/js/src_globals_utils_ts_394_8_FD_8_getConsequences.ucfg +0 -0
  400. package/.scannerwork/ucfg2/js/src_globals_utils_ts_406_1_FD_9_getVepPhenotypesIndex.ucfg +0 -0
  401. package/.scannerwork/ucfg2/js/src_globals_utils_ts_422_8_FD_10_getPhenotypesSelector.ucfg +0 -0
  402. package/.scannerwork/ucfg2/js/src_globals_utils_ts_430_1_FD_11_getVepInheritanceModesGeneIndex.ucfg +0 -0
  403. package/.scannerwork/ucfg2/js/src_globals_utils_ts_446_8_FD_12_getInheritanceModesGeneSelector.ucfg +0 -0
  404. package/.scannerwork/ucfg2/js/src_globals_utils_ts_454_8_FD_13_getVariant.ucfg +0 -0
  405. package/.scannerwork/ucfg2/js/src_globals_utils_ts_59_1_FD_0_createConsequence.ucfg +0 -0
  406. package/.scannerwork/ucfg2/js/src_globals_utils_ts_93_1_FD_1_createConsequences.ucfg +0 -0
  407. package/.scannerwork/ucfg2/js/src_store_actions_ts_100_27_FE_135_Ptr_val.ucfg +0 -0
  408. package/.scannerwork/ucfg2/js/src_store_actions_ts_103_26_FE_136_Ptr_val.ucfg +0 -0
  409. package/.scannerwork/ucfg2/js/src_store_actions_ts_106_11_FE_137_0.ucfg +0 -0
  410. package/.scannerwork/ucfg2/js/src_store_actions_ts_110_13_FE_138_Ptr_loc.ucfg +0 -0
  411. package/.scannerwork/ucfg2/js/src_store_actions_ts_113_13_FE_139_0.ucfg +0 -0
  412. package/.scannerwork/ucfg2/js/src_store_actions_ts_117_9_FE_140_Ptr_sam.ucfg +0 -0
  413. package/.scannerwork/ucfg2/js/src_store_actions_ts_120_24_FE_141_0.ucfg +0 -0
  414. package/.scannerwork/ucfg2/js/src_store_actions_ts_129_8_FD_14_setTestApi.ucfg +0 -0
  415. package/.scannerwork/ucfg2/js/src_store_actions_ts_25_21_FE_121_Ptr.ucfg +0 -0
  416. package/.scannerwork/ucfg2/js/src_store_actions_ts_29_24_FE_122_Ptr.ucfg +0 -0
  417. package/.scannerwork/ucfg2/js/src_store_actions_ts_40_20_FE_123_Ptr.ucfg +0 -0
  418. package/.scannerwork/ucfg2/js/src_store_actions_ts_45_21_FE_124_Ptr_sam.ucfg +0 -0
  419. package/.scannerwork/ucfg2/js/src_store_actions_ts_57_24_FE_125_Ptr.ucfg +0 -0
  420. package/.scannerwork/ucfg2/js/src_store_actions_ts_67_20_FE_126_Ptr_par.ucfg +0 -0
  421. package/.scannerwork/ucfg2/js/src_store_actions_ts_71_15_FE_127_Ptr_rec.ucfg +0 -0
  422. package/.scannerwork/ucfg2/js/src_store_actions_ts_74_14_FE_128_Ptr_ale.ucfg +0 -0
  423. package/.scannerwork/ucfg2/js/src_store_actions_ts_77_20_FE_129_Ptr.ucfg +0 -0
  424. package/.scannerwork/ucfg2/js/src_store_actions_ts_80_21_FE_130_Ptr.ucfg +0 -0
  425. package/.scannerwork/ucfg2/js/src_store_actions_ts_83_20_FE_131_Ptr_ann.ucfg +0 -0
  426. package/.scannerwork/ucfg2/js/src_store_actions_ts_86_19_FE_132_Ptr_ann.ucfg +0 -0
  427. package/.scannerwork/ucfg2/js/src_store_actions_ts_94_30_FE_133_Ptr_val.ucfg +0 -0
  428. package/.scannerwork/ucfg2/js/src_store_actions_ts_97_32_FE_134_Ptr_val.ucfg +0 -0
  429. package/.scannerwork/ucfg2/js/src_store_getters_ts_100_5_A_81_sta.ucfg +0 -0
  430. package/.scannerwork/ucfg2/js/src_store_getters_ts_101_5_A_82_rec.ucfg +0 -0
  431. package/.scannerwork/ucfg2/js/src_store_getters_ts_129_24_A_83_sta.ucfg +0 -0
  432. package/.scannerwork/ucfg2/js/src_store_getters_ts_13_23_FE_118_thi_tha.ucfg +0 -0
  433. package/.scannerwork/ucfg2/js/src_store_getters_ts_141_46_A_84_ite.ucfg +0 -0
  434. package/.scannerwork/ucfg2/js/src_store_getters_ts_150_31_A_85_sta.ucfg +0 -0
  435. package/.scannerwork/ucfg2/js/src_store_getters_ts_162_64_A_86_ite.ucfg +0 -0
  436. package/.scannerwork/ucfg2/js/src_store_getters_ts_171_32_A_87_sta.ucfg +0 -0
  437. package/.scannerwork/ucfg2/js/src_store_getters_ts_184_27_A_88_sta.ucfg +0 -0
  438. package/.scannerwork/ucfg2/js/src_store_getters_ts_197_26_A_89_sta.ucfg +0 -0
  439. package/.scannerwork/ucfg2/js/src_store_getters_ts_24_5_A_70_sta.ucfg +0 -0
  440. package/.scannerwork/ucfg2/js/src_store_getters_ts_25_5_A_71_id.ucfg +0 -0
  441. package/.scannerwork/ucfg2/js/src_store_getters_ts_29_39_A_72_sam.ucfg +0 -0
  442. package/.scannerwork/ucfg2/js/src_store_getters_ts_31_19_A_73_sta.ucfg +0 -0
  443. package/.scannerwork/ucfg2/js/src_store_getters_ts_42_37_A_74_sam.ucfg +0 -0
  444. package/.scannerwork/ucfg2/js/src_store_getters_ts_44_19_A_75_sta.ucfg +0 -0
  445. package/.scannerwork/ucfg2/js/src_store_getters_ts_55_37_A_76_sam.ucfg +0 -0
  446. package/.scannerwork/ucfg2/js/src_store_getters_ts_57_20_A_77_sta.ucfg +0 -0
  447. package/.scannerwork/ucfg2/js/src_store_getters_ts_7_12_A_69_sta.ucfg +0 -0
  448. package/.scannerwork/ucfg2/js/src_store_getters_ts_87_14_A_78_sta.ucfg +0 -0
  449. package/.scannerwork/ucfg2/js/src_store_getters_ts_90_20_A_79_sta.ucfg +0 -0
  450. package/.scannerwork/ucfg2/js/src_store_getters_ts_96_24_A_80_sta.ucfg +0 -0
  451. package/.scannerwork/ucfg2/js/src_store_mutations_ts_10_13_FE_106_sta_sam.ucfg +0 -0
  452. package/.scannerwork/ucfg2/js/src_store_mutations_ts_13_20_FE_107_sta_sam.ucfg +0 -0
  453. package/.scannerwork/ucfg2/js/src_store_mutations_ts_17_30_FE_108_sta_phe.ucfg +0 -0
  454. package/.scannerwork/ucfg2/js/src_store_mutations_ts_20_13_FE_109_sta_rec.ucfg +0 -0
  455. package/.scannerwork/ucfg2/js/src_store_mutations_ts_24_20_FE_110_sta_rec.ucfg +0 -0
  456. package/.scannerwork/ucfg2/js/src_store_mutations_ts_27_11_FE_111_sta_ale.ucfg +0 -0
  457. package/.scannerwork/ucfg2/js/src_store_mutations_ts_32_14_FE_112_sta_ale.ucfg +0 -0
  458. package/.scannerwork/ucfg2/js/src_store_mutations_ts_33_40_A_68_anA.ucfg +0 -0
  459. package/.scannerwork/ucfg2/js/src_store_mutations_ts_35_17_FE_113_sta_ann.ucfg +0 -0
  460. package/.scannerwork/ucfg2/js/src_store_mutations_ts_38_30_FE_114_sta_val.ucfg +0 -0
  461. package/.scannerwork/ucfg2/js/src_store_mutations_ts_41_32_FE_115_sta_val.ucfg +0 -0
  462. package/.scannerwork/ucfg2/js/src_store_mutations_ts_44_27_FE_116_sta_val.ucfg +0 -0
  463. package/.scannerwork/ucfg2/js/src_store_mutations_ts_47_26_FE_117_sta_val.ucfg +0 -0
  464. package/.scannerwork/ucfg2/js/src_store_mutations_ts_7_14_FE_105_sta_met.ucfg +0 -0
  465. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_13_30_A_0_inp.ucfg +0 -0
  466. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_14_43_A_1_key.ucfg +0 -0
  467. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_24_29_A_2_lab_typ_que.ucfg +0 -0
  468. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_34_33_A_3_out_nod_key_edg.ucfg +0 -0
  469. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_48_27_A_4_nex_lab_key_edg.ucfg +0 -0
  470. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_62_30_A_5_inp.ucfg +0 -0
  471. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_64_40_A_6_key.ucfg +0 -0
  472. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_75_46_A_7_cat.ucfg +0 -0
  473. package/.scannerwork/ucfg2/js/src_utils_treeBuilder_ts_96_33_A_8_k.ucfg +0 -0
  474. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_103_29_A_47_lab.ucfg +0 -0
  475. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_104_35_A_48_a_b.ucfg +0 -0
  476. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_109_32_A_49_svg_pro.ucfg +0 -0
  477. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_113_24_A_50_thi_nex_thi_nex_xOf_yOf_bar.ucfg +0 -0
  478. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_12_26_A_32_fon.ucfg +0 -0
  479. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_133_24_A_51_lab_fon_typ_fon.ucfg +0 -0
  480. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_153_18_A_52_svg_x1_y1_x2_y2_str.ucfg +0 -0
  481. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_16_41_A_33_fon.ucfg +0 -0
  482. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_171_18_A_53_gEl_x_y_wid_hei_isE.ucfg +0 -0
  483. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_192_18_A_54_gEl_x_y_lab_fon_nod.ucfg +0 -0
  484. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_20_34_A_34_bar.ucfg +0 -0
  485. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_210_25_A_55_svg.ucfg +0 -0
  486. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_226_29_A_56_ele_can_can.ucfg +0 -0
  487. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_234_23_A_57_bar_g_e_fon_val_off_svg.ucfg +0 -0
  488. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_24_28_A_35_edg.ucfg +0 -0
  489. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_254_18_A_58_coo_bar_svg_nex_ind.ucfg +0 -0
  490. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_273_26_A_59_svg_g_fon_gra_gra_hor.ucfg +0 -0
  491. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_282_21_A_60_v.ucfg +0 -0
  492. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_28_30_A_36_svg_gra.ucfg +0 -0
  493. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_301_26_A_61_svg_g_bar_fon_gra_gra_hor.ucfg +0 -0
  494. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_312_21_A_62_e.ucfg +0 -0
  495. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_32_36_A_37_wid_hei.ucfg +0 -0
  496. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_39_26_A_38_y_ind_fon_yOf.ucfg +0 -0
  497. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_43_26_A_39_y_ind_fon_lab.ucfg +0 -0
  498. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_48_17_A_40_y_bar_off.ucfg +0 -0
  499. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_55_17_A_41_x_xOf.ucfg +0 -0
  500. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_59_26_A_42_xPo_tex.ucfg +0 -0
  501. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_63_21_A_43_xPo_wid.ucfg +0 -0
  502. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_71_20_A_44_svg_gra_hor.ucfg +0 -0
  503. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_80_20_A_45_svg_gra.ucfg +0 -0
  504. package/.scannerwork/ucfg2/js/src_utils_treeDrawer_ts_85_22_A_46_inn_fon_fon.ucfg +0 -0
  505. package/.scannerwork/ucfg2/js/src_views_About_vue_14_10_FE_97_0.ucfg +0 -0
  506. package/.scannerwork/ucfg2/js/src_views_DecisionTreeViewer_vue_21_9_A_25_0.ucfg +0 -0
  507. package/.scannerwork/ucfg2/js/src_views_DecisionTreeViewer_vue_24_16_FE_39_0.ucfg +0 -0
  508. package/.scannerwork/ucfg2/js/src_views_Samples_vue_29_10_FE_83_sam.ucfg +0 -0
  509. package/.scannerwork/ucfg2/js/src_views_Samples_vue_33_16_FE_84_0.ucfg +0 -0
  510. package/.scannerwork/ucfg2/js/src_views_Samples_vue_40_40_A_30_sam.ucfg +0 -0
  511. package/.scannerwork/ucfg2/js/src_views_Samples_vue_47_11_FE_85_to_fro.ucfg +0 -0
  512. package/.scannerwork/ucfg2/js/src_views_VcfViewer_vue_16_9_A_65_0.ucfg +0 -0
  513. package/.scannerwork/ucfg2/js/src_views_VcfViewer_vue_22_16_FE_98_0.ucfg +0 -0
  514. package/babel.config.js +0 -3
  515. package/jest.config.js +0 -5
  516. package/public/index.html +0 -19
  517. package/sonar-project.properties +0 -6
  518. package/src/App.vue +0 -149
  519. package/src/components/Alerts.vue +0 -28
  520. package/src/components/Allele.vue +0 -48
  521. package/src/components/Anchor.vue +0 -16
  522. package/src/components/AnnotationsNav.vue +0 -66
  523. package/src/components/Gene.vue +0 -32
  524. package/src/components/GenomeBrowser.vue +0 -143
  525. package/src/components/Genotype.vue +0 -59
  526. package/src/components/Identifiers.vue +0 -32
  527. package/src/components/InfoButton.vue +0 -15
  528. package/src/components/NavigationBar.vue +0 -27
  529. package/src/components/PubMedAnchor.vue +0 -25
  530. package/src/components/RecordCommonDetails.vue +0 -106
  531. package/src/components/RecordDetails.vue +0 -56
  532. package/src/components/RecordInfoDetails.vue +0 -58
  533. package/src/components/RecordInfoDetailsItem.vue +0 -44
  534. package/src/components/RecordInfoDetailsItemMultiline.vue +0 -26
  535. package/src/components/RecordInfoDetailsItemValue.vue +0 -166
  536. package/src/components/RecordInfoNestedDetails.vue +0 -73
  537. package/src/components/RecordInfoUnnestedDetails.vue +0 -66
  538. package/src/components/RecordSampleDetails.vue +0 -32
  539. package/src/components/RecordTable.vue +0 -605
  540. package/src/components/RecordTableControls.vue +0 -55
  541. package/src/components/SampleDetails.vue +0 -91
  542. package/src/components/SampleInfo.vue +0 -36
  543. package/src/components/SampleNavigation.vue +0 -45
  544. package/src/components/SamplePedigree.vue +0 -40
  545. package/src/components/SamplePheno.vue +0 -55
  546. package/src/components/SampleReport.vue +0 -36
  547. package/src/components/TreeVisualisation.vue +0 -240
  548. package/src/components/annotation/AnnotationControl.vue +0 -46
  549. package/src/components/annotation/ClassificationAnnotation.vue +0 -37
  550. package/src/components/annotation/GeneMatchAnnotation.vue +0 -33
  551. package/src/components/annotation/NotesAnnotation.vue +0 -46
  552. package/src/globals/filters.ts +0 -19
  553. package/src/globals/utils.ts +0 -467
  554. package/src/i18n.ts +0 -23
  555. package/src/locales/en.json +0 -82
  556. package/src/main.ts +0 -22
  557. package/src/mocks/apiDataMock.ts +0 -173
  558. package/src/plugins/bootstrap-vue.ts +0 -68
  559. package/src/router/index.ts +0 -48
  560. package/src/shims-tsx.d.ts +0 -13
  561. package/src/shims-vue.d.ts +0 -4
  562. package/src/store/actions.ts +0 -131
  563. package/src/store/getters.ts +0 -207
  564. package/src/store/mutations.ts +0 -50
  565. package/src/store/state.ts +0 -18
  566. package/src/store/store.ts +0 -16
  567. package/src/types/Alert.ts +0 -5
  568. package/src/types/Annotations.ts +0 -14
  569. package/src/types/Consequence.ts +0 -36
  570. package/src/types/DecisionTree.d.ts +0 -79
  571. package/src/types/Gene.ts +0 -4
  572. package/src/types/GenomeBrowserDb.ts +0 -7
  573. package/src/types/State.ts +0 -18
  574. package/src/types/Variant.ts +0 -6
  575. package/src/types/dagreGraphlib.d.ts +0 -596
  576. package/src/types/graphlib.d.ts +0 -1
  577. package/src/types/layout.d.ts +0 -1
  578. package/src/utils/treeBuilder.ts +0 -97
  579. package/src/utils/treeDrawer.ts +0 -359
  580. package/src/views/About.vue +0 -18
  581. package/src/views/DecisionTreeViewer.vue +0 -31
  582. package/src/views/Samples.vue +0 -55
  583. package/src/views/VcfViewer.vue +0 -27
  584. package/tests/unit/globals/filters.spec.ts +0 -25
  585. package/tests/unit/globals/utils.spec.ts +0 -453
  586. package/tests/unit/store/actions.spec.ts +0 -191
  587. package/tests/unit/store/getters.spec.ts +0 -660
  588. package/tests/unit/store/mutations.spec.ts +0 -80
  589. package/tests/unit/utils/treeBuilder.spec.ts +0 -256
  590. package/tests/unit/utils/treeDrawer.spec.ts +0 -104
  591. package/vue.config.js +0 -36
@@ -1,80 +0,0 @@
1
- import initialState from '@/store/state';
2
- import mutations from '@/store/mutations';
3
- import { State } from '@/types/State';
4
- import { mock } from 'ts-mockito';
5
- import { Api, Vcf } from '@molgenis/vip-report-api';
6
- import { Annotations } from '@/types/Annotations';
7
-
8
- test('set metadata', () => {
9
- const testState: State = { ...initialState };
10
- const metadata: Api.Metadata = mock<Api.Metadata>();
11
- mutations.setMetadata(testState, metadata);
12
- expect(testState.metadata).toBe(metadata);
13
- });
14
-
15
- test('set samples', () => {
16
- const testState: State = { ...initialState };
17
- const samples: Api.PagedItems<Api.Sample> = mock<Api.PagedItems<Api.Sample>>();
18
- mutations.setSamples(testState, samples);
19
- expect(testState.samples).toBe(samples);
20
- });
21
-
22
- test('set selected sample', () => {
23
- const testState: State = { ...initialState };
24
- const sample: Api.Sample = mock<Api.Sample>();
25
- mutations.setSelectedSample(testState, sample);
26
- expect(testState.selectedSample).toBe(sample);
27
- expect(testState.selectedRecord).toBe(null);
28
- });
29
-
30
- test('set selected sample phenotypes', () => {
31
- const testState: State = { ...initialState };
32
- const phenotypes: Api.PagedItems<Api.Phenotype> = mock<Api.PagedItems<Api.Phenotype>>();
33
- mutations.setSelectedSamplePhenotypes(testState, phenotypes);
34
- expect(testState.selectedSamplePhenotypes).toBe(phenotypes);
35
- });
36
-
37
- test('set records', () => {
38
- const testState: State = { ...initialState };
39
- const records: Api.PagedItems<Vcf.Record> = mock<Api.PagedItems<Vcf.Record>>();
40
- mutations.setRecords(testState, records);
41
- expect(testState.records).toBe(records);
42
- });
43
-
44
- test('set selected record', () => {
45
- const testState: State = { ...initialState };
46
- const record: Vcf.Record = mock<Vcf.Record>();
47
- mutations.setSelectedRecord(testState, record);
48
- expect(testState.selectedRecord).toBe(record);
49
- });
50
-
51
- test('set annotations', () => {
52
- const testState: State = { ...initialState };
53
- const annotations: Annotations = mock<Annotations>();
54
- mutations.setAnnotations(testState, annotations);
55
- expect(testState.annotations).toBe(annotations);
56
- });
57
-
58
- test('set filter records by phenotype', () => {
59
- const testState: State = { ...initialState };
60
- mutations.setFilterRecordsByPhenotype(testState, false);
61
- expect(testState.filterRecordsByPhenotype).toBe(false);
62
- });
63
-
64
- test('set filter records by inheritance', () => {
65
- const testState: State = { ...initialState };
66
- mutations.setFilterRecordsByInheritance(testState, false);
67
- expect(testState.filterRecordsByInheritance).toBe(false);
68
- });
69
-
70
- test('set filter records by denovo', () => {
71
- const testState: State = { ...initialState };
72
- mutations.setFilterRecordsByDenovo(testState, false);
73
- expect(testState.filterRecordsByDenovo).toBe(false);
74
- });
75
-
76
- test('set filter records by read depth', () => {
77
- const testState: State = { ...initialState };
78
- mutations.setFilterRecordsByDepth(testState, false);
79
- expect(testState.filterRecordsByDepth).toBe(false);
80
- });
@@ -1,256 +0,0 @@
1
- import { createEdge, createSimpleEdge, getNodeLabel, retrieveEdges, retrieveNodes } from '@/utils/treeBuilder';
2
- import { DecisionTree, Exists, TreeEdgesObj, TreeNodes } from '@/types/DecisionTree';
3
-
4
- describe('treeBuilder', () => {
5
- const decisionTree: DecisionTree = {
6
- files: {
7
- panel: {
8
- path: 'path/to/tsv'
9
- }
10
- },
11
- rootNode: 'ROOT',
12
- nodes: {
13
- boolNode: {
14
- type: 'BOOL',
15
- description: 'Bool type node',
16
- query: {
17
- field: 'field',
18
- operator: '==',
19
- value: 'val'
20
- },
21
- outcomeTrue: {
22
- nextNode: 'exit_f'
23
- },
24
- outcomeFalse: {
25
- nextNode: 'existsNode'
26
- },
27
- outcomeMissing: {
28
- nextNode: 'existsNode'
29
- }
30
- },
31
- existsNode: {
32
- type: 'EXISTS',
33
- description: 'check some field exists',
34
- field: 'Some field',
35
- outcomeTrue: {
36
- nextNode: 'categorical_field'
37
- },
38
- outcomeFalse: {
39
- nextNode: 'categorical_field'
40
- }
41
- },
42
- categoricalField: {
43
- type: 'CATEGORICAL',
44
- description: 'check categorical field',
45
- field: 'FIELD_TO_CHECK',
46
- outcomeMap: {
47
- P: {
48
- nextNode: 'exit_t'
49
- },
50
- LP: {
51
- nextNode: 'exit_t'
52
- },
53
- LB: {
54
- nextNode: 'exit_f'
55
- },
56
- B: {
57
- nextNode: 'exit_f'
58
- }
59
- },
60
- outcomeMissing: {
61
- nextNode: 'exit_t'
62
- },
63
- outcomeDefault: {
64
- nextNode: 'exit_t'
65
- }
66
- },
67
- exit_t: {
68
- type: 'LEAF',
69
- class: 'T'
70
- },
71
- exit_f: {
72
- type: 'LEAF',
73
- class: 'F'
74
- }
75
- }
76
- };
77
- it('should return correct node structure', () => {
78
- const nodes: TreeNodes = retrieveNodes(decisionTree);
79
- const expected: TreeNodes = [
80
- {
81
- id: 'boolNode',
82
- label: 'boolNode\n(== val)',
83
- type: 'BOOL'
84
- },
85
- {
86
- id: 'existsNode',
87
- label: 'existsNode\n(exists)',
88
- type: 'EXISTS'
89
- },
90
- {
91
- id: 'categoricalField',
92
- label: 'categoricalField',
93
- type: 'CATEGORICAL'
94
- },
95
- {
96
- id: 'exit_t',
97
- label: 'exit_t',
98
- type: 'LEAF'
99
- },
100
- {
101
- id: 'exit_f',
102
- label: 'exit_f',
103
- type: 'LEAF'
104
- }
105
- ];
106
- expect(nodes).toStrictEqual(expected);
107
- });
108
- it('should return the node label for a query type', () => {
109
- const query = {
110
- field: 'field',
111
- operator: '==',
112
- value: 'value1'
113
- };
114
- const actual = getNodeLabel('label', 'BOOL', query);
115
- const expected = 'label\n(== value1)';
116
- expect(actual).toEqual(expected);
117
- });
118
- it('should return the node label for a exists type', () => {
119
- const actual = getNodeLabel('label', 'EXISTS', undefined);
120
- const expected = 'label\n(exists)';
121
- expect(actual).toEqual(expected);
122
- });
123
- it('should return the node label for a leaf type', () => {
124
- const actual = getNodeLabel('label', 'LEAF', undefined);
125
- const expected = 'label';
126
- expect(actual).toEqual(expected);
127
- });
128
- it('should create a simple edge', () => {
129
- const type: Exists = 'EXISTS';
130
- const node = {
131
- description: 'description',
132
- type: type,
133
- field: 'field',
134
- outcomeTrue: { nextNode: 'trueNode' },
135
- outcomeFalse: { nextNode: 'falseNode' }
136
- };
137
- const edges = {};
138
- const actual = createSimpleEdge('True', node, 'key1', edges);
139
- const expected = { key1_trueNode: { from: 'key1', to: 'trueNode', label: 'True' } };
140
- expect(actual).toStrictEqual(expected);
141
- });
142
- it('should add to a simple edge', () => {
143
- const type: Exists = 'EXISTS';
144
- const node = {
145
- description: 'description',
146
- type: type,
147
- field: 'field',
148
- outcomeTrue: { nextNode: 'trueNode' },
149
- outcomeFalse: { nextNode: 'trueNode' }
150
- };
151
- const edges = { key1_trueNode: { from: 'key1', to: 'trueNode', label: 'True' } };
152
- const actual = createSimpleEdge('False', node, 'key1', edges);
153
- const expected = { key1_trueNode: { from: 'key1', to: 'trueNode', label: 'True\nFalse' } };
154
- expect(actual).toStrictEqual(expected);
155
- });
156
- it('should generate edge', () => {
157
- const nextNode = 'exit';
158
- const label = 'label';
159
- const key = 'current';
160
- const edges: TreeEdgesObj = {};
161
- const outcome = createEdge(nextNode, label, key, edges);
162
- const expected = {
163
- current_exit: {
164
- from: key,
165
- to: nextNode,
166
- label: label
167
- }
168
- };
169
- expect(outcome).toStrictEqual(expected);
170
- });
171
- it('should generate edges', () => {
172
- const outcome = retrieveEdges(decisionTree);
173
- const expected = [
174
- {
175
- from: 'boolNode',
176
- to: 'exit_f',
177
- label: 'True'
178
- },
179
- {
180
- from: 'boolNode',
181
- to: 'existsNode',
182
- label: 'False\nMissing'
183
- },
184
- {
185
- from: 'existsNode',
186
- to: 'categorical_field',
187
- label: 'True\nFalse'
188
- },
189
- {
190
- from: 'categoricalField',
191
- to: 'exit_t',
192
- label: 'P\nLP\nMissing\nDefault'
193
- },
194
- {
195
- from: 'categoricalField',
196
- to: 'exit_f',
197
- label: 'LB\nB'
198
- }
199
- ];
200
- expect(outcome).toStrictEqual(expected);
201
- });
202
- it('should generate edges for CATEGORICAL node without default/missing', () => {
203
- const decisionTree: DecisionTree = {
204
- files: {
205
- panel: {
206
- path: 'path/to/tsv'
207
- }
208
- },
209
- rootNode: 'ROOT',
210
- nodes: {
211
- categoricalField: {
212
- type: 'CATEGORICAL',
213
- description: 'check categorical field',
214
- field: 'FIELD_TO_CHECK',
215
- outcomeMap: {
216
- P: {
217
- nextNode: 'exit_t'
218
- },
219
- LP: {
220
- nextNode: 'exit_t'
221
- },
222
- LB: {
223
- nextNode: 'exit_f'
224
- },
225
- B: {
226
- nextNode: 'exit_f'
227
- }
228
- }
229
- },
230
- exit_t: {
231
- type: 'LEAF',
232
- class: 'T'
233
- },
234
- exit_f: {
235
- type: 'LEAF',
236
- class: 'F'
237
- }
238
- }
239
- };
240
-
241
- const outcome = retrieveEdges(decisionTree);
242
- const expected = [
243
- {
244
- from: 'categoricalField',
245
- to: 'exit_t',
246
- label: 'P\nLP'
247
- },
248
- {
249
- from: 'categoricalField',
250
- to: 'exit_f',
251
- label: 'LB\nB'
252
- }
253
- ];
254
- expect(outcome).toStrictEqual(expected);
255
- });
256
- });
@@ -1,104 +0,0 @@
1
- import treeDrawer from '@/utils/treeDrawer';
2
-
3
- describe('retrieveTreeFromFile', () => {
4
- it('getLineThickness', () => {
5
- const actual = treeDrawer.getLineThickness(10);
6
- expect(actual).toEqual(1);
7
- });
8
- it('getBarHeightFromFontSize', () => {
9
- const actual = treeDrawer.getBarHeightFromFontSize(12);
10
- expect(actual).toEqual(36);
11
- });
12
- it('getFontSizeFromBarHeight', () => {
13
- const actual = treeDrawer.getFontSizeFromBarHeight(12);
14
- expect(actual).toEqual(4);
15
- });
16
- it('getNode', () => {
17
- treeDrawer.getTextWidth = jest.fn().mockReturnValue(42);
18
- const actual = treeDrawer.getNode('node', 10, 'BOOL', 'Arial');
19
- const expected = {
20
- label: 'node',
21
- type: 'BOOL',
22
- width: 52,
23
- height: 30
24
- };
25
- expect(actual).toEqual(expected);
26
- });
27
- it('getMiddleEdgeIndex', () => {
28
- const actual = treeDrawer.getMiddleEdgeIndex([
29
- {
30
- x: 1,
31
- y: 1
32
- },
33
- {
34
- x: 2,
35
- y: 2
36
- },
37
- {
38
- x: 3,
39
- y: 3
40
- }
41
- ]);
42
- expect(actual).toEqual(1);
43
- });
44
- it('getEdgeLabelXPos', () => {
45
- const actual = treeDrawer.getEdgeLabelXPos(84, 42);
46
- expect(actual).toEqual(107);
47
- });
48
- it('getEdgeLabelYPos', () => {
49
- const actual = treeDrawer.getEdgeLabelYPos(42, 1, 10, 10);
50
- expect(actual).toEqual(72);
51
- });
52
- it('getNodeXPos', () => {
53
- const actual = treeDrawer.getNodeXPos(84, 42);
54
- expect(actual).toEqual(63);
55
- });
56
- it('getNodeLabelYPos', () => {
57
- const actual = treeDrawer.getNodeLabelYPos(42, 1, 10, 2);
58
- expect(actual).toEqual(67);
59
- });
60
- it('getXPos', () => {
61
- const actual = treeDrawer.getXPos(42, 42);
62
- expect(actual).toEqual(84);
63
- });
64
- it('getYPos', () => {
65
- const actual = treeDrawer.getYPos(42, 20, 42);
66
- expect(actual).toEqual(94);
67
- });
68
- it('getLongestLabelPart', () => {
69
- const actual = treeDrawer.getLongestLabelPart('this is a long label\nhello!');
70
- expect(actual).toEqual('this is a long label');
71
- });
72
- it('getCoordinates', () => {
73
- const actual = treeDrawer.getCoordinates(42, 42, 42, 42, 42, 42, 20);
74
- expect(actual).toEqual({ x1: 84, x2: 84, y1: 94, y2: 94 });
75
- });
76
- it('getXOffset when vertical svg > graph', () => {
77
- const actual = treeDrawer.getXOffset(20, 10, false);
78
- expect(actual).toEqual(5);
79
- });
80
- it('getXOffset when vertical svg < graph', () => {
81
- const actual = treeDrawer.getXOffset(20, 30, false);
82
- expect(actual).toEqual(100);
83
- });
84
- it('getXOffset when horizontal', () => {
85
- const actual = treeDrawer.getXOffset(20, 10, true);
86
- expect(actual).toEqual(25);
87
- });
88
- it('getYOffset when svg > graph', () => {
89
- const actual = treeDrawer.getYOffset(20, 10);
90
- expect(actual).toEqual(5);
91
- });
92
- it('getYOffset when svg < graph', () => {
93
- const actual = treeDrawer.getYOffset(10, 20);
94
- expect(actual).toEqual(100);
95
- });
96
- it('getGraphScale', () => {
97
- const actual = treeDrawer.getGraphScale(100, 50);
98
- expect(actual).toEqual(1);
99
- });
100
- it('calculateScaleToFit', () => {
101
- const actual = treeDrawer.calculateScaleToFit(0.6, 0.4);
102
- expect(actual).toEqual(0.4);
103
- });
104
- });
package/vue.config.js DELETED
@@ -1,36 +0,0 @@
1
- // vue.config.js
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
4
-
5
- module.exports = {
6
- filenameHashing: false,
7
- productionSourceMap: process.env.NODE_ENV !== 'production',
8
-
9
- configureWebpack: {
10
- plugins: [new HtmlWebpackInlineSourcePlugin()]
11
- },
12
-
13
- chainWebpack: (config) => {
14
- if (process.env.NODE_ENV === 'production') {
15
- config.plugins.delete('preload');
16
- config.plugins.delete('prefetch');
17
-
18
- config.optimization.splitChunks({ chunks: 'all' });
19
-
20
- config.plugin('html').tap((args) => {
21
- args[0].filename = './vip-report-template.html';
22
- args[0].inlineSource = '.(js|css)$';
23
- return args;
24
- });
25
- }
26
- },
27
-
28
- pluginOptions: {
29
- i18n: {
30
- locale: 'en',
31
- fallbackLocale: 'en',
32
- localeDir: 'locales',
33
- enableInSFC: false
34
- }
35
- }
36
- };