codecharta-visualization 1.119.0 → 1.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1030) hide show
  1. package/Dockerfile +1 -1
  2. package/README.md +18 -13
  3. package/dist/webpack/index.html +3 -2
  4. package/dist/webpack/{main.0e368e65a1bdf78b.js → main.72a7cff358f302b1.js} +1 -1
  5. package/dist/webpack/main.js +52 -0
  6. package/dist/webpack/package.json +132 -0
  7. package/package.json +10 -15
  8. package/app/app.e2e.ts +0 -15
  9. package/app/app.module.ts +0 -73
  10. package/app/app.scss +0 -40
  11. package/app/codeCharta/assets/codecharta_logo.svg +0 -1
  12. package/app/codeCharta/assets/empty.png +0 -0
  13. package/app/codeCharta/assets/favicon.ico +0 -0
  14. package/app/codeCharta/assets/flatten.png +0 -0
  15. package/app/codeCharta/assets/gameObjectsFile.json +0 -75
  16. package/app/codeCharta/assets/icon.icns +0 -0
  17. package/app/codeCharta/assets/icon.ico +0 -0
  18. package/app/codeCharta/assets/icon.png +0 -0
  19. package/app/codeCharta/assets/logo.png +0 -0
  20. package/app/codeCharta/assets/output.cc.json.gz +0 -0
  21. package/app/codeCharta/assets/sample1.cc.json +0 -97
  22. package/app/codeCharta/assets/sample2.cc.json +0 -46
  23. package/app/codeCharta/assets/sample3.cc.json +0 -40
  24. package/app/codeCharta/assets/sample4.cc.json +0 -45
  25. package/app/codeCharta/assets/scenarios.json +0 -50
  26. package/app/codeCharta/codeCharta.api.model.ts +0 -61
  27. package/app/codeCharta/codeCharta.component.html +0 -19
  28. package/app/codeCharta/codeCharta.component.scss +0 -101
  29. package/app/codeCharta/codeCharta.component.spec.ts +0 -37
  30. package/app/codeCharta/codeCharta.component.ts +0 -27
  31. package/app/codeCharta/codeCharta.model.spec.ts +0 -41
  32. package/app/codeCharta/codeCharta.model.ts +0 -396
  33. package/app/codeCharta/codeCharta.module.ts +0 -24
  34. package/app/codeCharta/e2e/__snapshots__/logo.e2e.ts.snap +0 -202722
  35. package/app/codeCharta/e2e/logo.e2e.ts +0 -27
  36. package/app/codeCharta/e2e/logo.po.ts +0 -17
  37. package/app/codeCharta/e2e/url.e2e.ts +0 -86
  38. package/app/codeCharta/index.d.ts +0 -4
  39. package/app/codeCharta/model/customConfig/customConfig.api.model.ts +0 -37
  40. package/app/codeCharta/model/files/files.helper.spec.ts +0 -191
  41. package/app/codeCharta/model/files/files.helper.ts +0 -39
  42. package/app/codeCharta/model/files/files.ts +0 -13
  43. package/app/codeCharta/resources/fileStorage/.gitkeep +0 -0
  44. package/app/codeCharta/resources/fileStorage/usageData/.gitkeep +0 -0
  45. package/app/codeCharta/resources/fixed-folders/example.json +0 -386
  46. package/app/codeCharta/resources/fixed-folders/fixed-folders-example.ts +0 -354
  47. package/app/codeCharta/resources/sample1_with_api_warning.cc.json +0 -97
  48. package/app/codeCharta/resources/sample1_with_different_edges.cc.json +0 -101
  49. package/app/codeCharta/resources/sample1_with_lower_minor_api.cc.json +0 -97
  50. package/app/codeCharta/services/idToBuilding/idToBuilding.service.ts +0 -19
  51. package/app/codeCharta/services/isAttributeSideBarVisible.service.ts +0 -16
  52. package/app/codeCharta/services/loadFile/fileParser.ts +0 -80
  53. package/app/codeCharta/services/loadFile/fileRoot.ts +0 -8
  54. package/app/codeCharta/services/loadFile/loadFile.service.spec.ts +0 -389
  55. package/app/codeCharta/services/loadFile/loadFile.service.ts +0 -62
  56. package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.spec.ts +0 -108
  57. package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.ts +0 -74
  58. package/app/codeCharta/services/loadInitialFile/urlExtractor.spec.ts +0 -166
  59. package/app/codeCharta/services/loadInitialFile/urlExtractor.ts +0 -82
  60. package/app/codeCharta/services/version/utils/compareVersion.spec.ts +0 -31
  61. package/app/codeCharta/services/version/utils/compareVersion.ts +0 -35
  62. package/app/codeCharta/services/version/version.service.spec.ts +0 -42
  63. package/app/codeCharta/services/version/version.service.ts +0 -28
  64. package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.spec.ts +0 -71
  65. package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.ts +0 -46
  66. package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/resultsInEmptyMap.ts +0 -30
  67. package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.spec.ts +0 -87
  68. package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.ts +0 -38
  69. package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.spec.ts +0 -51
  70. package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.ts +0 -21
  71. package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.html +0 -3
  72. package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.ts +0 -29
  73. package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.html +0 -13
  74. package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.spec.ts +0 -62
  75. package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.ts +0 -39
  76. package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.module.ts +0 -11
  77. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.html +0 -24
  78. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.spec.ts +0 -69
  79. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.ts +0 -34
  80. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.module.ts +0 -13
  81. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.spec.ts +0 -31
  82. package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.ts +0 -26
  83. package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.html +0 -6
  84. package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.spec.ts +0 -55
  85. package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.ts +0 -44
  86. package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.module.ts +0 -11
  87. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.html +0 -22
  88. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.scss +0 -31
  89. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.spec.ts +0 -55
  90. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.ts +0 -27
  91. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.module.ts +0 -11
  92. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.spec.ts +0 -17
  93. package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.ts +0 -32
  94. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.e2e.ts +0 -59
  95. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.po.ts +0 -26
  96. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.spec.ts +0 -98
  97. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.ts +0 -84
  98. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.spec.ts +0 -11
  99. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.ts +0 -8
  100. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.html +0 -17
  101. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.scss +0 -33
  102. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.spec.ts +0 -50
  103. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.ts +0 -20
  104. package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.module.ts +0 -17
  105. package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.spec.ts +0 -44
  106. package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.ts +0 -23
  107. package/app/codeCharta/state/effects/nodeContextMenu/rightClickedCodeMapNode.selector.ts +0 -9
  108. package/app/codeCharta/state/effects/renderCodeMapEffect/actionsRequiringRerender.ts +0 -71
  109. package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.spec.ts +0 -82
  110. package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.ts +0 -57
  111. package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.spec.ts +0 -79
  112. package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.ts +0 -41
  113. package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistribution.spec.ts +0 -11
  114. package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistributionMetric.ts +0 -4
  115. package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.spec.ts +0 -70
  116. package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.ts +0 -55
  117. package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.spec.ts +0 -46
  118. package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.ts +0 -23
  119. package/app/codeCharta/state/effects/setLoadingIndicator/setLoadingIndicator.effect.ts +0 -26
  120. package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.spec.ts +0 -24
  121. package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.ts +0 -14
  122. package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.spec.ts +0 -51
  123. package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.ts +0 -21
  124. package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.spec.ts +0 -49
  125. package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.ts +0 -46
  126. package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/blacklist.merger.spec.ts.snap +0 -39
  127. package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/edges.merger.spec.ts.snap +0 -77
  128. package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/markedPackages.merger.spec.ts.snap +0 -45
  129. package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.spec.ts +0 -70
  130. package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.ts +0 -15
  131. package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.spec.ts +0 -75
  132. package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.ts +0 -25
  133. package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.spec.ts +0 -37
  134. package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.ts +0 -25
  135. package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.spec.ts +0 -92
  136. package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.ts +0 -36
  137. package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.spec.ts +0 -74
  138. package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.ts +0 -25
  139. package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.spec.ts +0 -18
  140. package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.ts +0 -12
  141. package/app/codeCharta/state/effects/updateVisibleTopLabels/updateVisibleTopLabels.effect.ts +0 -24
  142. package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.spec.ts +0 -76
  143. package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.ts +0 -61
  144. package/app/codeCharta/state/selectors/accumulatedData/codeMapNodes.selector.ts +0 -11
  145. package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.spec.ts +0 -15
  146. package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.ts +0 -18
  147. package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.spec.ts +0 -46
  148. package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.ts +0 -95
  149. package/app/codeCharta/state/selectors/accumulatedData/metricData/metricData.selector.ts +0 -12
  150. package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.spec.ts +0 -16
  151. package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.ts +0 -4
  152. package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.spec.ts +0 -63
  153. package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.ts +0 -53
  154. package/app/codeCharta/state/selectors/accumulatedData/metricData/selectedColorMetricData.selector.ts +0 -16
  155. package/app/codeCharta/state/selectors/accumulatedData/metricData/sortByMetricName.ts +0 -7
  156. package/app/codeCharta/state/selectors/accumulatedData/rootUnary.selector.ts +0 -7
  157. package/app/codeCharta/state/selectors/accumulatedData/utils/addEdgeMetricsForLeaves.ts +0 -20
  158. package/app/codeCharta/state/selectors/accumulatedData/utils/getDeltaFile.ts +0 -16
  159. package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.spec.ts +0 -17
  160. package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.ts +0 -16
  161. package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/areAllNecessaryRenderDataAvailable.selector.ts +0 -39
  162. package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.spec.ts +0 -39
  163. package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.ts +0 -17
  164. package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.spec.ts +0 -13
  165. package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.ts +0 -8
  166. package/app/codeCharta/state/selectors/hoveredNode.selector.ts +0 -7
  167. package/app/codeCharta/state/selectors/isDeltaState.selector.ts +0 -5
  168. package/app/codeCharta/state/selectors/primaryMetrics/primaryMetricNames.selector.ts +0 -19
  169. package/app/codeCharta/state/selectors/primaryMetrics/primaryMetrics.selector.ts +0 -50
  170. package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.spec.ts +0 -20
  171. package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.ts +0 -11
  172. package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.spec.ts +0 -82
  173. package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.ts +0 -19
  174. package/app/codeCharta/state/selectors/searchedNodes/searchedNodePaths.selector.ts +0 -4
  175. package/app/codeCharta/state/selectors/searchedNodes/searchedNodes.selector.ts +0 -8
  176. package/app/codeCharta/state/selectors/selectedNode.selector.ts +0 -7
  177. package/app/codeCharta/state/selectors/visibleFileStates.selector.ts +0 -5
  178. package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.actions.ts +0 -3
  179. package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.spec.ts +0 -10
  180. package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.ts +0 -9
  181. package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.selector.ts +0 -4
  182. package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.actions.ts +0 -3
  183. package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.spec.ts +0 -10
  184. package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.ts +0 -6
  185. package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.selector.ts +0 -4
  186. package/app/codeCharta/state/store/appSettings/appSettings.reducer.ts +0 -97
  187. package/app/codeCharta/state/store/appSettings/appSettings.selector.ts +0 -3
  188. package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.actions.ts +0 -4
  189. package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.spec.ts +0 -16
  190. package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.ts +0 -7
  191. package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.selector.ts +0 -4
  192. package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.actions.ts +0 -3
  193. package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.spec.ts +0 -10
  194. package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.ts +0 -6
  195. package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.selector.ts +0 -4
  196. package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.actions.ts +0 -3
  197. package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.spec.ts +0 -10
  198. package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.ts +0 -9
  199. package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.selector.ts +0 -7
  200. package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.actions.ts +0 -3
  201. package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.spec.ts +0 -10
  202. package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.ts +0 -9
  203. package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.selector.ts +0 -7
  204. package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.actions.ts +0 -3
  205. package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.spec.ts +0 -10
  206. package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.ts +0 -6
  207. package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.selector.ts +0 -4
  208. package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.actions.ts +0 -3
  209. package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.spec.ts +0 -10
  210. package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.ts +0 -6
  211. package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.selector.ts +0 -4
  212. package/app/codeCharta/state/store/appSettings/invertArea/invertArea.actions.ts +0 -3
  213. package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.spec.ts +0 -10
  214. package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.ts +0 -6
  215. package/app/codeCharta/state/store/appSettings/invertArea/invertArea.selector.ts +0 -4
  216. package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.actions.ts +0 -3
  217. package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.spec.ts +0 -10
  218. package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.ts +0 -6
  219. package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.selector.ts +0 -4
  220. package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.actions.ts +0 -3
  221. package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.spec.ts +0 -11
  222. package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.ts +0 -8
  223. package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.selector.ts +0 -4
  224. package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.actions.ts +0 -7
  225. package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.spec.ts +0 -25
  226. package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.ts +0 -12
  227. package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.selector.ts +0 -7
  228. package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.actions.ts +0 -3
  229. package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.spec.ts +0 -10
  230. package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.ts +0 -6
  231. package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.selector.ts +0 -4
  232. package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.actions.ts +0 -3
  233. package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.spec.ts +0 -10
  234. package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.ts +0 -6
  235. package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.selector.ts +0 -4
  236. package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.actions.ts +0 -3
  237. package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.spec.ts +0 -10
  238. package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.ts +0 -6
  239. package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.selector.ts +0 -4
  240. package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.actions.ts +0 -3
  241. package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.spec.ts +0 -10
  242. package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.ts +0 -6
  243. package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.selector.ts +0 -4
  244. package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.actions.ts +0 -4
  245. package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.spec.ts +0 -12
  246. package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.ts +0 -7
  247. package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.selector.ts +0 -4
  248. package/app/codeCharta/state/store/appSettings/mapColors/mapColors.actions.ts +0 -6
  249. package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.spec.ts +0 -35
  250. package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.ts +0 -26
  251. package/app/codeCharta/state/store/appSettings/mapColors/mapColors.selector.ts +0 -4
  252. package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.actions.ts +0 -3
  253. package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.spec.ts +0 -10
  254. package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.ts +0 -6
  255. package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.selector.ts +0 -4
  256. package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.actions.ts +0 -3
  257. package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.spec.ts +0 -10
  258. package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.ts +0 -9
  259. package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.selector.ts +0 -7
  260. package/app/codeCharta/state/store/appSettings/scaling/scaling.actions.ts +0 -4
  261. package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.spec.ts +0 -16
  262. package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.ts +0 -7
  263. package/app/codeCharta/state/store/appSettings/scaling/scaling.selector.ts +0 -4
  264. package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.actions.ts +0 -4
  265. package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.spec.ts +0 -11
  266. package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.ts +0 -7
  267. package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.selector.ts +0 -4
  268. package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.actions.ts +0 -3
  269. package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.spec.ts +0 -10
  270. package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.ts +0 -9
  271. package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.selector.ts +0 -4
  272. package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.actions.ts +0 -3
  273. package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.spec.ts +0 -10
  274. package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.ts +0 -9
  275. package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.selector.ts +0 -4
  276. package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.actions.ts +0 -3
  277. package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.spec.ts +0 -10
  278. package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.ts +0 -9
  279. package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.selector.ts +0 -4
  280. package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.actions.ts +0 -4
  281. package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.spec.ts +0 -21
  282. package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.ts +0 -10
  283. package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.selector.ts +0 -4
  284. package/app/codeCharta/state/store/appStatus/appStatus.reducer.ts +0 -16
  285. package/app/codeCharta/state/store/appStatus/appStatus.selector.ts +0 -3
  286. package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.actions.ts +0 -3
  287. package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.spec.ts +0 -8
  288. package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.ts +0 -7
  289. package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.selector.ts +0 -4
  290. package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.actions.ts +0 -7
  291. package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.reducer.ts +0 -9
  292. package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.selector.ts +0 -4
  293. package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.actions.ts +0 -3
  294. package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.spec.ts +0 -9
  295. package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.ts +0 -7
  296. package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.selector.ts +0 -4
  297. package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.actions.ts +0 -3
  298. package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.spec.ts +0 -10
  299. package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.ts +0 -6
  300. package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.selector.ts +0 -4
  301. package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.actions.ts +0 -3
  302. package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.spec.ts +0 -10
  303. package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.ts +0 -6
  304. package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.selector.ts +0 -4
  305. package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.actions.ts +0 -4
  306. package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.spec.ts +0 -11
  307. package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.ts +0 -7
  308. package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.selector.ts +0 -4
  309. package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.spec.ts +0 -7
  310. package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.ts +0 -9
  311. package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.actions.ts +0 -4
  312. package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.spec.ts +0 -10
  313. package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.ts +0 -7
  314. package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.selector.ts +0 -4
  315. package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.spec.ts +0 -60
  316. package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.ts +0 -31
  317. package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.actions.ts +0 -3
  318. package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.spec.ts +0 -10
  319. package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.ts +0 -6
  320. package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.selector.ts +0 -4
  321. package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.reducer.ts +0 -40
  322. package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.selector.ts +0 -3
  323. package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.actions.ts +0 -3
  324. package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.spec.ts +0 -10
  325. package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.ts +0 -6
  326. package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.selector.ts +0 -4
  327. package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/currentFocused.selector.ts +0 -4
  328. package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.actions.ts +0 -6
  329. package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.spec.ts +0 -48
  330. package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.ts +0 -12
  331. package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.selector.ts +0 -4
  332. package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.actions.ts +0 -3
  333. package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.spec.ts +0 -10
  334. package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.ts +0 -6
  335. package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.selector.ts +0 -4
  336. package/app/codeCharta/state/store/dynamicSettings/margin/margin.actions.ts +0 -3
  337. package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.spec.ts +0 -8
  338. package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.ts +0 -6
  339. package/app/codeCharta/state/store/dynamicSettings/margin/margin.selector.ts +0 -4
  340. package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.actions.ts +0 -3
  341. package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.spec.ts +0 -15
  342. package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.ts +0 -11
  343. package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.selector.ts +0 -4
  344. package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.actions.ts +0 -4
  345. package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.spec.ts +0 -11
  346. package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.ts +0 -7
  347. package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOrder.selector.ts +0 -4
  348. package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.action.ts +0 -4
  349. package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.spec.ts +0 -21
  350. package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.ts +0 -10
  351. package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.selector.ts +0 -4
  352. package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.actions.ts +0 -12
  353. package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.spec.ts +0 -39
  354. package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.ts +0 -14
  355. package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.selector.ts +0 -4
  356. package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.actions.ts +0 -11
  357. package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.spec.ts +0 -43
  358. package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.ts +0 -14
  359. package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.selector.ts +0 -4
  360. package/app/codeCharta/state/store/fileSettings/edges/edges.actions.ts +0 -6
  361. package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.spec.ts +0 -29
  362. package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.ts +0 -13
  363. package/app/codeCharta/state/store/fileSettings/edges/edges.selector.ts +0 -4
  364. package/app/codeCharta/state/store/fileSettings/fileSettings.reducer.ts +0 -22
  365. package/app/codeCharta/state/store/fileSettings/fileSettings.selector.ts +0 -3
  366. package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.actions.ts +0 -6
  367. package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.spec.ts +0 -64
  368. package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.ts +0 -29
  369. package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.selector.ts +0 -4
  370. package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.spec.ts +0 -47
  371. package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.ts +0 -27
  372. package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.spec.ts +0 -39
  373. package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.ts +0 -22
  374. package/app/codeCharta/state/store/files/files.actions.ts +0 -28
  375. package/app/codeCharta/state/store/files/files.reducer.spec.ts +0 -152
  376. package/app/codeCharta/state/store/files/files.reducer.ts +0 -111
  377. package/app/codeCharta/state/store/files/files.selector.ts +0 -3
  378. package/app/codeCharta/state/store/state.actions.ts +0 -8
  379. package/app/codeCharta/state/store/state.manager.ts +0 -70
  380. package/app/codeCharta/state/store/state.reducer.spec.ts +0 -59
  381. package/app/codeCharta/state/store/util/setState.reducer.factory.spec.ts +0 -24
  382. package/app/codeCharta/state/store/util/setState.reducer.factory.ts +0 -17
  383. package/app/codeCharta/streetLayoutTodo.md +0 -16
  384. package/app/codeCharta/ui/actionIcon/actionIcon.component.html +0 -1
  385. package/app/codeCharta/ui/actionIcon/actionIcon.component.scss +0 -23
  386. package/app/codeCharta/ui/actionIcon/actionIcon.component.ts +0 -11
  387. package/app/codeCharta/ui/actionIcon/actionIcon.module.ts +0 -10
  388. package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.html +0 -8
  389. package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.scss +0 -164
  390. package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.spec.ts +0 -161
  391. package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.ts +0 -21
  392. package/app/codeCharta/ui/attributeSideBar/attributeSideBar.module.ts +0 -35
  393. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.html +0 -14
  394. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.scss +0 -75
  395. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.spec.ts +0 -28
  396. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.ts +0 -21
  397. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCount.selector.spec.ts +0 -18
  398. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCountSelector.ts +0 -18
  399. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.html +0 -14
  400. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.spec.ts +0 -121
  401. package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.ts +0 -22
  402. package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.html +0 -20
  403. package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.ts +0 -23
  404. package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.html +0 -68
  405. package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.ts +0 -25
  406. package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.html +0 -45
  407. package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.ts +0 -29
  408. package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.spec.ts +0 -28
  409. package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.ts +0 -23
  410. package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.html +0 -4
  411. package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.scss +0 -24
  412. package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.spec.ts +0 -45
  413. package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.ts +0 -38
  414. package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.module.ts +0 -12
  415. package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.html +0 -5
  416. package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.spec.ts +0 -79
  417. package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.ts +0 -26
  418. package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.module.ts +0 -10
  419. package/app/codeCharta/ui/attributeSideBar/util/edge.ts +0 -5
  420. package/app/codeCharta/ui/attributeSideBar/util/metric.ts +0 -4
  421. package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.spec.ts +0 -11
  422. package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.ts +0 -7
  423. package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.spec.ts +0 -16
  424. package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.ts +0 -7
  425. package/app/codeCharta/ui/codeMap/__snapshots__/codeMap.render.service.spec.ts.snap +0 -231
  426. package/app/codeCharta/ui/codeMap/arrow/__snapshots__/codeMap.arrow.service.spec.ts.snap +0 -201
  427. package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.spec.ts +0 -300
  428. package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.ts +0 -267
  429. package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.spec.ts +0 -21
  430. package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.ts +0 -36
  431. package/app/codeCharta/ui/codeMap/arrow/utils/edgeVisibility.selector.ts +0 -17
  432. package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.spec.ts +0 -36
  433. package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.ts +0 -20
  434. package/app/codeCharta/ui/codeMap/codeMap.component.html +0 -4
  435. package/app/codeCharta/ui/codeMap/codeMap.component.scss +0 -22
  436. package/app/codeCharta/ui/codeMap/codeMap.component.spec.ts +0 -63
  437. package/app/codeCharta/ui/codeMap/codeMap.component.ts +0 -46
  438. package/app/codeCharta/ui/codeMap/codeMap.label.service.spec.ts +0 -575
  439. package/app/codeCharta/ui/codeMap/codeMap.label.service.ts +0 -312
  440. package/app/codeCharta/ui/codeMap/codeMap.module.ts +0 -12
  441. package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.spec.ts +0 -838
  442. package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.ts +0 -426
  443. package/app/codeCharta/ui/codeMap/codeMap.po.ts +0 -24
  444. package/app/codeCharta/ui/codeMap/codeMap.render.service.spec.ts +0 -329
  445. package/app/codeCharta/ui/codeMap/codeMap.render.service.ts +0 -163
  446. package/app/codeCharta/ui/codeMap/rendering/__snapshots__/rendering.spec.ts.snap +0 -5
  447. package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.spec.ts +0 -111
  448. package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.ts +0 -116
  449. package/app/codeCharta/ui/codeMap/rendering/codeMapGeometricDescription.ts +0 -76
  450. package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.spec.ts +0 -42
  451. package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.ts +0 -233
  452. package/app/codeCharta/ui/codeMap/rendering/geometryGenerationHelper.ts +0 -291
  453. package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.spec.ts +0 -52
  454. package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.ts +0 -142
  455. package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.spec.ts +0 -170
  456. package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.ts +0 -85
  457. package/app/codeCharta/ui/codeMap/rendering/rendering.spec.ts +0 -11
  458. package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapFragmentShader.glsl +0 -22
  459. package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapVertexShader.glsl +0 -100
  460. package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaFragmentShader.glsl +0 -1067
  461. package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaVertexShader.glsl +0 -6
  462. package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/codeMapShaderStrings.ts +0 -9
  463. package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/fxaaShaderStrings.ts +0 -25
  464. package/app/codeCharta/ui/codeMap/threeViewer/__snapshots__/threeOrbitControls.service.spec.ts.snap +0 -9
  465. package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.spec.ts +0 -176
  466. package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.ts +0 -189
  467. package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.spec.ts +0 -88
  468. package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.ts +0 -22
  469. package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.spec.ts +0 -30
  470. package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.ts +0 -21
  471. package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.spec.ts +0 -114
  472. package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.ts +0 -131
  473. package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.spec.ts +0 -341
  474. package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.ts +0 -135
  475. package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.spec.ts +0 -468
  476. package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.ts +0 -434
  477. package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.spec.ts +0 -197
  478. package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.ts +0 -88
  479. package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.spec.ts +0 -305
  480. package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.ts +0 -115
  481. package/app/codeCharta/ui/colorPicker/colorPicker.component.html +0 -16
  482. package/app/codeCharta/ui/colorPicker/colorPicker.component.spec.ts +0 -77
  483. package/app/codeCharta/ui/colorPicker/colorPicker.component.ts +0 -47
  484. package/app/codeCharta/ui/colorPicker/colorPicker.module.ts +0 -13
  485. package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.html +0 -5
  486. package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.spec.ts +0 -37
  487. package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.ts +0 -31
  488. package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.module.ts +0 -13
  489. package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.spec.ts +0 -42
  490. package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.ts +0 -32
  491. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.spec.ts +0 -34
  492. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.ts +0 -23
  493. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.html +0 -2
  494. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.spec.ts +0 -32
  495. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.ts +0 -15
  496. package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.module.ts +0 -13
  497. package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.spec.ts +0 -37
  498. package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.ts +0 -21
  499. package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetric.spec.ts +0 -142
  500. package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetrics.ts +0 -43
  501. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.html +0 -3
  502. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.spec.ts +0 -48
  503. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.ts +0 -16
  504. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.module.ts +0 -15
  505. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.html +0 -33
  506. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.ts +0 -70
  507. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.spec.ts +0 -77
  508. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomDialog.component.scss +0 -77
  509. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndCollectPurgeableConfigs.ts +0 -32
  510. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.html +0 -11
  511. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.ts +0 -49
  512. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.spec.ts +0 -90
  513. package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/validateLocalStorageSize.ts +0 -16
  514. package/app/codeCharta/ui/customConfigs/customConfigHelper.service.ts +0 -23
  515. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.spec.ts +0 -36
  516. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.ts +0 -15
  517. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.spec.ts +0 -60
  518. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.ts +0 -27
  519. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.html +0 -24
  520. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.scss +0 -52
  521. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.ts +0 -26
  522. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.spec.ts +0 -76
  523. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.spec.ts +0 -36
  524. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.ts +0 -13
  525. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.html +0 -42
  526. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.scss +0 -38
  527. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.spec.ts +0 -148
  528. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.ts +0 -31
  529. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.spec.ts +0 -50
  530. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.ts +0 -24
  531. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.html +0 -41
  532. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.scss +0 -122
  533. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.spec.ts +0 -135
  534. package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.ts +0 -17
  535. package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.spec.ts +0 -151
  536. package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.ts +0 -53
  537. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.html +0 -12
  538. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.scss +0 -31
  539. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.ts +0 -12
  540. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.html +0 -3
  541. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.spec.ts +0 -90
  542. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.ts +0 -33
  543. package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.module.ts +0 -14
  544. package/app/codeCharta/ui/customConfigs/customConfigs.component.html +0 -6
  545. package/app/codeCharta/ui/customConfigs/customConfigs.component.scss +0 -7
  546. package/app/codeCharta/ui/customConfigs/customConfigs.component.spec.ts +0 -41
  547. package/app/codeCharta/ui/customConfigs/customConfigs.component.ts +0 -41
  548. package/app/codeCharta/ui/customConfigs/customConfigs.module.ts +0 -41
  549. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.component.spec.ts +0 -36
  550. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.module.ts +0 -11
  551. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigHelper.ts +0 -24
  552. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.html +0 -7
  553. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.scss +0 -21
  554. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.ts +0 -32
  555. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.spec.ts +0 -70
  556. package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.ts +0 -26
  557. package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.html +0 -3
  558. package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.spec.ts +0 -9
  559. package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.ts +0 -30
  560. package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.module.ts +0 -8
  561. package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.spec.ts +0 -43
  562. package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.ts +0 -20
  563. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.html +0 -18
  564. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.scss +0 -36
  565. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.spec.ts +0 -63
  566. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.ts +0 -63
  567. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.e2e.ts +0 -26
  568. package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.module.ts +0 -10
  569. package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.html +0 -9
  570. package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.scss +0 -17
  571. package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.ts +0 -11
  572. package/app/codeCharta/ui/dialogs/dialogs.ts +0 -4
  573. package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.html +0 -7
  574. package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.po.ts +0 -13
  575. package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.ts +0 -10
  576. package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.html +0 -1
  577. package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.spec.ts +0 -66
  578. package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.ts +0 -30
  579. package/app/codeCharta/ui/export3DMapButton/export3DMapButton.module.ts +0 -11
  580. package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser..module.ts +0 -11
  581. package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.html +0 -7
  582. package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.ts +0 -20
  583. package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.html +0 -40
  584. package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.scss +0 -88
  585. package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.spec.ts +0 -80
  586. package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.ts +0 -59
  587. package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.module.ts +0 -11
  588. package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.spec.ts +0 -212
  589. package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.ts +0 -123
  590. package/app/codeCharta/ui/fileExtensionBar/selectors/metricDistribution.selector.ts +0 -11
  591. package/app/codeCharta/ui/filePanel/filePanel.component.html +0 -3
  592. package/app/codeCharta/ui/filePanel/filePanel.component.scss +0 -73
  593. package/app/codeCharta/ui/filePanel/filePanel.component.spec.ts +0 -34
  594. package/app/codeCharta/ui/filePanel/filePanel.component.ts +0 -16
  595. package/app/codeCharta/ui/filePanel/filePanel.module.ts +0 -25
  596. package/app/codeCharta/ui/filePanel/filePanel.po.ts +0 -17
  597. package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.html +0 -27
  598. package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.scss +0 -6
  599. package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.ts +0 -37
  600. package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.spec.ts +0 -9
  601. package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.ts +0 -8
  602. package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.html +0 -19
  603. package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.scss +0 -42
  604. package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.spec.ts +0 -87
  605. package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.ts +0 -58
  606. package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.html +0 -3
  607. package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.ts +0 -21
  608. package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.html +0 -20
  609. package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.ts +0 -16
  610. package/app/codeCharta/ui/filePanel/fileSelectionMode.service.spec.ts +0 -56
  611. package/app/codeCharta/ui/filePanel/fileSelectionMode.service.ts +0 -55
  612. package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.html +0 -23
  613. package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.scss +0 -41
  614. package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.spec.ts +0 -55
  615. package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.ts +0 -18
  616. package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.module.ts +0 -13
  617. package/app/codeCharta/ui/labelledColorPicker/readableColorForBackground.pipe.ts +0 -9
  618. package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.html +0 -24
  619. package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.ts +0 -19
  620. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.html +0 -11
  621. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.scss +0 -5
  622. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.spec.ts +0 -37
  623. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.ts +0 -41
  624. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.module.ts +0 -12
  625. package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.selector.ts +0 -18
  626. package/app/codeCharta/ui/legendPanel/legendPanel.component.html +0 -38
  627. package/app/codeCharta/ui/legendPanel/legendPanel.component.scss +0 -101
  628. package/app/codeCharta/ui/legendPanel/legendPanel.component.spec.ts +0 -122
  629. package/app/codeCharta/ui/legendPanel/legendPanel.component.ts +0 -30
  630. package/app/codeCharta/ui/legendPanel/legendPanel.e2e.ts +0 -60
  631. package/app/codeCharta/ui/legendPanel/legendPanel.module.ts +0 -16
  632. package/app/codeCharta/ui/legendPanel/legendPanel.po.ts +0 -23
  633. package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.html +0 -3
  634. package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.scss +0 -16
  635. package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.ts +0 -19
  636. package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.module.ts +0 -11
  637. package/app/codeCharta/ui/metricChooser/filterMetricDataBySearchTerm.pipe.ts +0 -10
  638. package/app/codeCharta/ui/metricChooser/metricChooser.component.html +0 -28
  639. package/app/codeCharta/ui/metricChooser/metricChooser.component.scss +0 -78
  640. package/app/codeCharta/ui/metricChooser/metricChooser.component.spec.ts +0 -133
  641. package/app/codeCharta/ui/metricChooser/metricChooser.component.ts +0 -42
  642. package/app/codeCharta/ui/metricChooser/metricChooser.module.ts +0 -14
  643. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeType.selector.spec.ts +0 -27
  644. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeTypeSelector.selector.ts +0 -10
  645. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.spec.ts +0 -15
  646. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.ts +0 -7
  647. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.html +0 -3
  648. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.spec.ts +0 -28
  649. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.ts +0 -26
  650. package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.module.ts +0 -10
  651. package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.html +0 -20
  652. package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.spec.ts +0 -105
  653. package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.ts +0 -23
  654. package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.module.ts +0 -11
  655. package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.spec.ts +0 -17
  656. package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.ts +0 -43
  657. package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.html +0 -4
  658. package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.scss +0 -29
  659. package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.spec.ts +0 -49
  660. package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.ts +0 -29
  661. package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.module.ts +0 -11
  662. package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.html +0 -10
  663. package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.spec.ts +0 -60
  664. package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.ts +0 -20
  665. package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.module.ts +0 -12
  666. package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.html +0 -18
  667. package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.scss +0 -19
  668. package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.spec.ts +0 -46
  669. package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.ts +0 -39
  670. package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.module.ts +0 -13
  671. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.html +0 -4
  672. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.scss +0 -93
  673. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.ts +0 -16
  674. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.module.ts +0 -14
  675. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.html +0 -62
  676. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.spec.ts +0 -87
  677. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.ts +0 -11
  678. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/riskProfileBar.directive.ts +0 -18
  679. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.spec.ts +0 -65
  680. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.ts +0 -98
  681. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/artificialIntelligence.metricThresholds.ts +0 -136
  682. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/getMetricThresholds.ts +0 -5
  683. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.spec.ts +0 -17
  684. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.ts +0 -11
  685. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.spec.ts +0 -67
  686. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.ts +0 -42
  687. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.spec.ts +0 -197
  688. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.ts +0 -118
  689. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.html +0 -69
  690. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.spec.ts +0 -137
  691. package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.ts +0 -53
  692. package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.html +0 -11
  693. package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.spec.ts +0 -80
  694. package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.ts +0 -24
  695. package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.module.ts +0 -12
  696. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.html +0 -68
  697. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.scss +0 -28
  698. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.spec.ts +0 -120
  699. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.ts +0 -57
  700. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.module.ts +0 -14
  701. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.html +0 -10
  702. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.spec.ts +0 -40
  703. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.ts +0 -47
  704. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.module.ts +0 -11
  705. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.html +0 -58
  706. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.scss +0 -53
  707. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.spec.ts +0 -117
  708. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.ts +0 -133
  709. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.module.ts +0 -12
  710. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.html +0 -30
  711. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.scss +0 -9
  712. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.spec.ts +0 -64
  713. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.ts +0 -72
  714. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.spec.ts +0 -160
  715. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.ts +0 -142
  716. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderColors.selector.ts +0 -9
  717. package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderValues.selector.ts +0 -14
  718. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.e2e.ts +0 -40
  719. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.po.ts +0 -34
  720. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.html +0 -20
  721. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.scss +0 -3
  722. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.spec.ts +0 -75
  723. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.ts +0 -25
  724. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.module.ts +0 -12
  725. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.spec.ts +0 -22
  726. package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.ts +0 -21
  727. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.html +0 -3
  728. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.spec.ts +0 -27
  729. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.ts +0 -25
  730. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.html +0 -39
  731. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.spec.ts +0 -46
  732. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.ts +0 -44
  733. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.module.ts +0 -15
  734. package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/selectors/amountOfBuildingsWithSelectedEdgeMetric.selector.ts +0 -9
  735. package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.html +0 -10
  736. package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.spec.ts +0 -62
  737. package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.ts +0 -20
  738. package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.module.ts +0 -12
  739. package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.html +0 -43
  740. package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.spec.ts +0 -60
  741. package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.ts +0 -56
  742. package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.module.ts +0 -13
  743. package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/selectors/isLabelsSliderDisabled.selector.ts +0 -7
  744. package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.html +0 -7
  745. package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.scss +0 -21
  746. package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.spec.ts +0 -39
  747. package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.ts +0 -21
  748. package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.module.ts +0 -10
  749. package/app/codeCharta/ui/ribbonBar/ribbonBar.component.html +0 -127
  750. package/app/codeCharta/ui/ribbonBar/ribbonBar.component.scss +0 -245
  751. package/app/codeCharta/ui/ribbonBar/ribbonBar.component.spec.ts +0 -112
  752. package/app/codeCharta/ui/ribbonBar/ribbonBar.component.ts +0 -65
  753. package/app/codeCharta/ui/ribbonBar/ribbonBar.e2e.ts +0 -71
  754. package/app/codeCharta/ui/ribbonBar/ribbonBar.module.ts +0 -40
  755. package/app/codeCharta/ui/ribbonBar/ribbonBar.po.ts +0 -17
  756. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.html +0 -33
  757. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.scss +0 -23
  758. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.spec.ts +0 -79
  759. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.ts +0 -41
  760. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.module.ts +0 -11
  761. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/customScenarioName.validator.ts +0 -14
  762. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.spec.ts +0 -21
  763. package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.ts +0 -55
  764. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.spec.ts +0 -84
  765. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.ts +0 -61
  766. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.spec.ts +0 -320
  767. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.ts +0 -261
  768. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.html +0 -27
  769. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.scss +0 -66
  770. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.spec.ts +0 -67
  771. package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.ts +0 -21
  772. package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.html +0 -7
  773. package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.scss +0 -4
  774. package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.spec.ts +0 -22
  775. package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.ts +0 -19
  776. package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.module.ts +0 -15
  777. package/app/codeCharta/ui/screenshotButton/screenshotButton.component.html +0 -14
  778. package/app/codeCharta/ui/screenshotButton/screenshotButton.component.spec.ts +0 -46
  779. package/app/codeCharta/ui/screenshotButton/screenshotButton.component.ts +0 -84
  780. package/app/codeCharta/ui/screenshotButton/screenshotButton.module.ts +0 -11
  781. package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.html +0 -38
  782. package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.scss +0 -23
  783. package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.spec.ts +0 -60
  784. package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.ts +0 -22
  785. package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.spec.ts +0 -21
  786. package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.ts +0 -12
  787. package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.spec.ts +0 -14
  788. package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.ts +0 -11
  789. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.html +0 -1
  790. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.scss +0 -88
  791. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.ts +0 -20
  792. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.e2e.ts +0 -46
  793. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.po.ts +0 -32
  794. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.module.ts +0 -27
  795. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.html +0 -6
  796. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.ts +0 -12
  797. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.spec.ts +0 -19
  798. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.ts +0 -17
  799. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.spec.ts +0 -44
  800. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.ts +0 -27
  801. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.html +0 -17
  802. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.spec.ts +0 -62
  803. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.ts +0 -30
  804. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.html +0 -9
  805. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.ts +0 -11
  806. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.html +0 -31
  807. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.spec.ts +0 -156
  808. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.ts +0 -77
  809. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mocks.ts +0 -42
  810. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/mapTreeViewNode.selector.ts +0 -17
  811. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.spec.ts +0 -33
  812. package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.ts +0 -48
  813. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.html +0 -14
  814. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.scss +0 -49
  815. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.spec.ts +0 -40
  816. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.ts +0 -19
  817. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.module.ts +0 -14
  818. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.spec.ts +0 -24
  819. package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.ts +0 -39
  820. package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.spec.ts +0 -66
  821. package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.ts +0 -71
  822. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.html +0 -37
  823. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.scss +0 -56
  824. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.spec.ts +0 -89
  825. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.ts +0 -39
  826. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.module.ts +0 -11
  827. package/app/codeCharta/ui/searchPanel/searchBar/searchBar.po.ts +0 -21
  828. package/app/codeCharta/ui/searchPanel/searchBar/selectors/isExcludePatternDisabled.selector.ts +0 -17
  829. package/app/codeCharta/ui/searchPanel/searchBar/selectors/isFlattenPatternDisabled.selector.ts +0 -17
  830. package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.spec.ts +0 -19
  831. package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.ts +0 -6
  832. package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.spec.ts +0 -19
  833. package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.ts +0 -22
  834. package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.spec.ts +0 -17
  835. package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.ts +0 -27
  836. package/app/codeCharta/ui/searchPanel/searchBar/utils/unifyWildCard.ts +0 -13
  837. package/app/codeCharta/ui/searchPanel/searchPanel.component.html +0 -19
  838. package/app/codeCharta/ui/searchPanel/searchPanel.component.scss +0 -5
  839. package/app/codeCharta/ui/searchPanel/searchPanel.component.spec.ts +0 -101
  840. package/app/codeCharta/ui/searchPanel/searchPanel.component.ts +0 -49
  841. package/app/codeCharta/ui/searchPanel/searchPanel.module.ts +0 -16
  842. package/app/codeCharta/ui/searchPanel/searchPanel.po.ts +0 -23
  843. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/hideBlacklistItemsIndicator.selector.ts +0 -4
  844. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.html +0 -9
  845. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.scss +0 -17
  846. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.spec.ts +0 -22
  847. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.ts +0 -23
  848. package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.po.ts +0 -29
  849. package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.html +0 -7
  850. package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.spec.ts +0 -29
  851. package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.ts +0 -26
  852. package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.html +0 -5
  853. package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.spec.ts +0 -41
  854. package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.ts +0 -25
  855. package/app/codeCharta/ui/slider/slider.component.html +0 -19
  856. package/app/codeCharta/ui/slider/slider.component.scss +0 -49
  857. package/app/codeCharta/ui/slider/slider.component.spec.ts +0 -56
  858. package/app/codeCharta/ui/slider/slider.component.ts +0 -30
  859. package/app/codeCharta/ui/slider/slider.module.ts +0 -11
  860. package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.html +0 -6
  861. package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.spec.ts +0 -91
  862. package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.ts +0 -16
  863. package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.module.ts +0 -13
  864. package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.html +0 -42
  865. package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.scss +0 -58
  866. package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.ts +0 -70
  867. package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.spec.ts +0 -61
  868. package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.ts +0 -37
  869. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.html +0 -3
  870. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.scss +0 -63
  871. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.ts +0 -19
  872. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.module.ts +0 -15
  873. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.html +0 -8
  874. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.spec.ts +0 -36
  875. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.ts +0 -21
  876. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.module.ts +0 -11
  877. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.html +0 -54
  878. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.spec.ts +0 -31
  879. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.ts +0 -54
  880. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.html +0 -18
  881. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.spec.ts +0 -69
  882. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.ts +0 -29
  883. package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.module.ts +0 -12
  884. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.html +0 -12
  885. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.scss +0 -18
  886. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.spec.ts +0 -71
  887. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.ts +0 -16
  888. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.module.ts +0 -10
  889. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.spec.ts +0 -26
  890. package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.ts +0 -11
  891. package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.html +0 -7
  892. package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.scss +0 -4
  893. package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.ts +0 -19
  894. package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.module.ts +0 -11
  895. package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.html +0 -9
  896. package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.scss +0 -7
  897. package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.spec.ts +0 -20
  898. package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.ts +0 -22
  899. package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.module.ts +0 -11
  900. package/app/codeCharta/ui/toolBar/toolBar.component.html +0 -14
  901. package/app/codeCharta/ui/toolBar/toolBar.component.scss +0 -24
  902. package/app/codeCharta/ui/toolBar/toolBar.component.spec.ts +0 -44
  903. package/app/codeCharta/ui/toolBar/toolBar.component.ts +0 -18
  904. package/app/codeCharta/ui/toolBar/toolBar.module.ts +0 -32
  905. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFiles.service.ts +0 -69
  906. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.html +0 -1
  907. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.scss +0 -3
  908. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.spec.ts +0 -19
  909. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.ts +0 -16
  910. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.e2e.ts +0 -99
  911. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.module.ts +0 -10
  912. package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.po.ts +0 -21
  913. package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.html +0 -3
  914. package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.scss +0 -23
  915. package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.spec.ts +0 -24
  916. package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.ts +0 -16
  917. package/app/codeCharta/ui/viewCube/viewCube.component.html +0 -1
  918. package/app/codeCharta/ui/viewCube/viewCube.component.spec.ts +0 -292
  919. package/app/codeCharta/ui/viewCube/viewCube.component.ts +0 -245
  920. package/app/codeCharta/ui/viewCube/viewCube.materials.ts +0 -5
  921. package/app/codeCharta/ui/viewCube/viewCube.meshGenerator.ts +0 -241
  922. package/app/codeCharta/ui/viewCube/viewCube.module.ts +0 -11
  923. package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.spec.ts +0 -306
  924. package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.ts +0 -166
  925. package/app/codeCharta/util/EventEmitter.ts +0 -22
  926. package/app/codeCharta/util/__snapshots__/aggregationGenerator.spec.ts.snap +0 -406
  927. package/app/codeCharta/util/__snapshots__/deltaGenerator.spec.ts.snap +0 -385
  928. package/app/codeCharta/util/__snapshots__/fileHelper.spec.ts.snap +0 -78
  929. package/app/codeCharta/util/aggregationGenerator.spec.ts +0 -120
  930. package/app/codeCharta/util/aggregationGenerator.ts +0 -116
  931. package/app/codeCharta/util/algorithm/streetLayout/boundingBox.ts +0 -25
  932. package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.spec.ts +0 -36
  933. package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.ts +0 -252
  934. package/app/codeCharta/util/algorithm/streetLayout/house.spec.ts +0 -26
  935. package/app/codeCharta/util/algorithm/streetLayout/house.ts +0 -26
  936. package/app/codeCharta/util/algorithm/streetLayout/rectangle.spec.ts +0 -43
  937. package/app/codeCharta/util/algorithm/streetLayout/rectangle.ts +0 -32
  938. package/app/codeCharta/util/algorithm/streetLayout/squarifiedTreeMap.ts +0 -112
  939. package/app/codeCharta/util/algorithm/streetLayout/street.ts +0 -25
  940. package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.spec.ts +0 -24
  941. package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.ts +0 -96
  942. package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.spec.ts +0 -46
  943. package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.ts +0 -97
  944. package/app/codeCharta/util/algorithm/streetLayout/strip/horizontalStrip.ts +0 -62
  945. package/app/codeCharta/util/algorithm/streetLayout/strip/strip.ts +0 -66
  946. package/app/codeCharta/util/algorithm/streetLayout/strip/verticalStrip.ts +0 -62
  947. package/app/codeCharta/util/algorithm/streetLayout/treeMap.ts +0 -22
  948. package/app/codeCharta/util/algorithm/streetLayout/verticalStreet.ts +0 -190
  949. package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapGenerator.spec.ts.snap +0 -2266
  950. package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapHelper.spec.ts.snap +0 -155
  951. package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.spec.ts +0 -196
  952. package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.ts +0 -271
  953. package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.spec.ts +0 -448
  954. package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.ts +0 -256
  955. package/app/codeCharta/util/arrayHelper.spec.ts +0 -43
  956. package/app/codeCharta/util/arrayHelper.ts +0 -31
  957. package/app/codeCharta/util/clone.spec.ts +0 -13
  958. package/app/codeCharta/util/clone.ts +0 -5
  959. package/app/codeCharta/util/codeMapHelper.spec.ts +0 -151
  960. package/app/codeCharta/util/codeMapHelper.ts +0 -131
  961. package/app/codeCharta/util/color/colorConverter.spec.ts +0 -174
  962. package/app/codeCharta/util/color/colorConverter.ts +0 -141
  963. package/app/codeCharta/util/color/getReadableColorForBackground.spec.ts +0 -11
  964. package/app/codeCharta/util/color/getReadableColorForBackground.ts +0 -8
  965. package/app/codeCharta/util/color/gradientCalculator.ts +0 -79
  966. package/app/codeCharta/util/color/hsl.spec.ts +0 -29
  967. package/app/codeCharta/util/color/hsl.ts +0 -25
  968. package/app/codeCharta/util/customConfigBuilder.spec.ts +0 -61
  969. package/app/codeCharta/util/customConfigBuilder.ts +0 -140
  970. package/app/codeCharta/util/customConfigHelper.spec.ts +0 -442
  971. package/app/codeCharta/util/customConfigHelper.ts +0 -210
  972. package/app/codeCharta/util/dataMocks.ts +0 -2341
  973. package/app/codeCharta/util/debounce.spec.ts +0 -16
  974. package/app/codeCharta/util/debounce.ts +0 -10
  975. package/app/codeCharta/util/deltaGenerator.spec.ts +0 -352
  976. package/app/codeCharta/util/deltaGenerator.ts +0 -161
  977. package/app/codeCharta/util/fileDownloader.spec.ts +0 -105
  978. package/app/codeCharta/util/fileDownloader.ts +0 -124
  979. package/app/codeCharta/util/fileHelper.spec.ts +0 -207
  980. package/app/codeCharta/util/fileHelper.ts +0 -95
  981. package/app/codeCharta/util/fileNameHelper.spec.ts +0 -103
  982. package/app/codeCharta/util/fileNameHelper.ts +0 -40
  983. package/app/codeCharta/util/fileValidator.spec.ts +0 -307
  984. package/app/codeCharta/util/fileValidator.ts +0 -222
  985. package/app/codeCharta/util/gameObjectsParser/__snapshots__/gameObjectsImporter.spec.ts.snap +0 -121
  986. package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.spec.ts +0 -11
  987. package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.ts +0 -201
  988. package/app/codeCharta/util/gameObjectsParser/gameObjectsMocks.ts +0 -75
  989. package/app/codeCharta/util/gameObjectsParser/gameObjectsSchema.json +0 -271
  990. package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.spec.ts +0 -18
  991. package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.ts +0 -7
  992. package/app/codeCharta/util/generatedSchema.json +0 -265
  993. package/app/codeCharta/util/globalSettingsHelper.spec.ts +0 -67
  994. package/app/codeCharta/util/globalSettingsHelper.ts +0 -68
  995. package/app/codeCharta/util/loadFilesValidationToErrorDialog.ts +0 -37
  996. package/app/codeCharta/util/metric/metricTitles.ts +0 -19
  997. package/app/codeCharta/util/mockHelper.ts +0 -8
  998. package/app/codeCharta/util/nodeDecorator.spec.ts +0 -466
  999. package/app/codeCharta/util/nodeDecorator.ts +0 -358
  1000. package/app/codeCharta/util/nodePathHelper.ts +0 -30
  1001. package/app/codeCharta/util/parseNumberInput.spec.ts +0 -18
  1002. package/app/codeCharta/util/parseNumberInput.ts +0 -10
  1003. package/app/codeCharta/util/pipes/AttributeDescriptorTooltipPipeModule.ts +0 -8
  1004. package/app/codeCharta/util/pipes/RemoveExtensionPipeModule.ts +0 -8
  1005. package/app/codeCharta/util/pipes/TruncateTextPipeModule.ts +0 -8
  1006. package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.spec.ts +0 -61
  1007. package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.ts +0 -19
  1008. package/app/codeCharta/util/pipes/removeExtension.pipe.spec.ts +0 -15
  1009. package/app/codeCharta/util/pipes/removeExtension.pipe.ts +0 -10
  1010. package/app/codeCharta/util/pipes/truncateText.pipe.ts +0 -8
  1011. package/app/codeCharta/util/pipes/truncateText.spec.ts +0 -19
  1012. package/app/codeCharta/util/settingsHelper.spec.ts +0 -47
  1013. package/app/codeCharta/util/settingsHelper.ts +0 -17
  1014. package/app/codeCharta/util/testUtils/markdown-transformer.js +0 -11
  1015. package/app/codeCharta/util/testUtils/store.utils.ts +0 -6
  1016. package/app/codeCharta/util/testUtils/wait.ts +0 -1
  1017. package/app/codeCharta/util/uploadFiles/createCCFileInput.spec.ts +0 -13
  1018. package/app/codeCharta/util/uploadFiles/createCCFileInput.ts +0 -8
  1019. package/app/codeCharta/util/uploadFiles/loadFilesValidationToErrorDialog.spec.ts +0 -16
  1020. package/app/codeCharta/util/uploadFiles/readFiles.spec.ts +0 -16
  1021. package/app/codeCharta/util/uploadFiles/readFiles.ts +0 -37
  1022. package/app/index.html +0 -12
  1023. package/app/material/_theme.scss +0 -64
  1024. package/app/material/matDialog.scss +0 -3
  1025. package/app/material/matMenu.scss +0 -16
  1026. package/app/material/material.module.ts +0 -49
  1027. package/app/material/material.scss +0 -23
  1028. package/app/mixins.scss +0 -8
  1029. package/app/polyfills.ts +0 -28
  1030. package/app/puppeteer.helper.ts +0 -19
@@ -1,135 +0,0 @@
1
- import { TestBed } from "@angular/core/testing"
2
- import { provideMockStore } from "@ngrx/store/testing"
3
- import { State } from "@ngrx/store"
4
- import { CustomConfigsModule } from "../customConfigs.module"
5
- import { CustomConfigListComponent } from "./customConfigList.component"
6
- import { render, screen } from "@testing-library/angular"
7
- import { CustomConfigHelperService } from "../customConfigHelper.service"
8
- import { of } from "rxjs"
9
- import { CUSTOM_CONFIG_ITEM_GROUPS } from "../../../util/dataMocks"
10
- import { DownloadableConfigs } from "../downloadCustomConfigsButton/getDownloadableCustomConfigs"
11
- import { CustomConfigItemGroup } from "../customConfigs.component"
12
- import { CustomConfigGroups } from "./getCustomConfigItemGroups"
13
- import { ThreeCameraService } from "../../codeMap/threeViewer/threeCamera.service"
14
- import { ThreeSceneService } from "../../codeMap/threeViewer/threeSceneService"
15
- import { ThreeOrbitControlsService } from "../../codeMap/threeViewer/threeOrbitControls.service"
16
- import userEvent from "@testing-library/user-event"
17
- import { expect } from "@jest/globals"
18
- import { MatDialog } from "@angular/material/dialog"
19
- import { defaultState } from "../../../state/store/state.manager"
20
-
21
- const mockedCustomConfigHelperService = {
22
- customConfigItemGroups$: of({
23
- applicableItems: new Map() as Map<string, CustomConfigItemGroup>,
24
- nonApplicableItems: new Map() as Map<string, CustomConfigItemGroup>
25
- } as CustomConfigGroups),
26
- downloadableCustomConfigs$: of(new Map() as DownloadableConfigs)
27
- }
28
-
29
- describe("customConfigListComponent", () => {
30
- let mockedDialog = { open: jest.fn() }
31
-
32
- beforeEach(() => {
33
- mockedDialog = { open: jest.fn() }
34
- TestBed.configureTestingModule({
35
- imports: [CustomConfigsModule],
36
- providers: [
37
- { provide: MatDialog, useValue: mockedDialog },
38
- { provide: CustomConfigHelperService, useValue: mockedCustomConfigHelperService },
39
- { provide: ThreeSceneService, useValue: {} },
40
- { provide: ThreeCameraService, useValue: {} },
41
- { provide: ThreeOrbitControlsService, useValue: {} },
42
- provideMockStore(),
43
- { provide: State, useValue: { getValue: () => defaultState } }
44
- ]
45
- })
46
- })
47
-
48
- it("should show initial text when there are no custom configs", async () => {
49
- await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
50
-
51
- expect(screen.getByText("It is time to add your first Custom View!")).not.toBeNull()
52
- })
53
-
54
- it("should show 'download', 'upload', 'add' and 'non-applicable' custom config button", async () => {
55
- const customConfigItemGroup = {
56
- applicableItems: new Map([["File_B_File_C_STANDARD", CUSTOM_CONFIG_ITEM_GROUPS.get("File_B_File_C_STANDARD")]]),
57
- nonApplicableItems: new Map([["File_D_DELTA", CUSTOM_CONFIG_ITEM_GROUPS.get("File_D_DELTA")]])
58
- }
59
- mockedCustomConfigHelperService.customConfigItemGroups$ = of(customConfigItemGroup)
60
- await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
61
-
62
- expect(screen.getByTitle("Create new Custom View")).not.toBeNull()
63
- expect(screen.getByTitle("Download Custom View related to currently uploaded maps, if any.")).not.toBeNull()
64
- expect(screen.getByTitle("Upload Custom View (.cc.config.json file).")).not.toBeNull()
65
- expect(screen.queryByText("Show non-applicable Custom Views")).not.toBeNull()
66
- })
67
-
68
- it("should show custom config item groups for applicable and non-applicable custom configs", async () => {
69
- const customConfigItemGroup = {
70
- applicableItems: new Map([["File_B_File_C_STANDARD", CUSTOM_CONFIG_ITEM_GROUPS.get("File_B_File_C_STANDARD")]]),
71
- nonApplicableItems: new Map([["File_D_DELTA", CUSTOM_CONFIG_ITEM_GROUPS.get("File_D_DELTA")]])
72
- }
73
- mockedCustomConfigHelperService.customConfigItemGroups$ = of(customConfigItemGroup)
74
- const { container } = await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
75
-
76
- expect(container.querySelector("mat-expansion-panel-header").textContent).toBe(
77
- " Custom View(s) in Standard mode for fileB fileC "
78
- )
79
- expect(container.querySelectorAll("mat-expansion-panel-header").length).toBe(1)
80
-
81
- await userEvent.click(screen.queryByText("Show non-applicable Custom Views"))
82
-
83
- expect(container.querySelectorAll("mat-expansion-panel-header").length).toBe(2)
84
- })
85
-
86
- it("should not show 'non-applicable Custom Views' button when no custom configs are available", async () => {
87
- const customConfigItemGroup = {
88
- applicableItems: new Map([["File_B_File_C_STANDARD", CUSTOM_CONFIG_ITEM_GROUPS.get("File_B_File_C_STANDARD")]]),
89
- nonApplicableItems: new Map()
90
- }
91
- mockedCustomConfigHelperService.customConfigItemGroups$ = of(customConfigItemGroup)
92
-
93
- await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
94
-
95
- expect(screen.queryByText("Show non-applicable Custom Views")).toBeNull()
96
- })
97
-
98
- it("should list all custom configs belonging to a custom config item group by clicking", async () => {
99
- const customConfigItemGroup = {
100
- applicableItems: new Map([["File_B_File_C_STANDARD", CUSTOM_CONFIG_ITEM_GROUPS.get("File_B_File_C_STANDARD")]]),
101
- nonApplicableItems: new Map([["File_D_DELTA", CUSTOM_CONFIG_ITEM_GROUPS.get("File_D_DELTA")]])
102
- }
103
- mockedCustomConfigHelperService.customConfigItemGroups$ = of(customConfigItemGroup)
104
- const { container } = await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
105
-
106
- const customConfigItemGroupElement = container.querySelector("mat-expansion-panel-header")
107
-
108
- await userEvent.click(customConfigItemGroupElement)
109
-
110
- expect(container.querySelectorAll("mat-list-item").length).toBe(2)
111
- expect(screen.getByText("SampleMap View #1")).not.toBeNull()
112
- expect(screen.getByText("a note")).not.toBeNull()
113
- expect(screen.getByText("SampleMap View #2")).not.toBeNull()
114
- expect(screen.getByText("Add Note")).not.toBeNull()
115
- })
116
-
117
- it("should disable button for all custom configs belonging to a non-applicable custom config item group", async () => {
118
- const customConfigItemGroup = {
119
- applicableItems: new Map([["File_B_File_C_STANDARD", CUSTOM_CONFIG_ITEM_GROUPS.get("File_B_File_C_STANDARD")]]),
120
- nonApplicableItems: new Map([["File_D_DELTA", CUSTOM_CONFIG_ITEM_GROUPS.get("File_D_DELTA")]])
121
- }
122
- mockedCustomConfigHelperService.customConfigItemGroups$ = of(customConfigItemGroup)
123
- const { container } = await render(CustomConfigListComponent, { excludeComponentDeclaration: true })
124
-
125
- await userEvent.click(screen.queryByText("Show non-applicable Custom Views"))
126
-
127
- const customConfigItemGroupElement = container.querySelectorAll("mat-expansion-panel-header")[1]
128
-
129
- await userEvent.click(customConfigItemGroupElement)
130
-
131
- expect((screen.getAllByTitle("SampleMap Delta View #1", { exact: false })[1].closest("button") as HTMLButtonElement).disabled).toBe(
132
- true
133
- )
134
- })
135
- })
@@ -1,17 +0,0 @@
1
- import { Component, ViewEncapsulation } from "@angular/core"
2
- import { CustomConfigHelperService } from "../customConfigHelper.service"
3
-
4
- @Component({
5
- templateUrl: "./customConfigList.component.html",
6
- styleUrls: ["./customConfigList.component.scss"],
7
- encapsulation: ViewEncapsulation.None
8
- })
9
- export class CustomConfigListComponent {
10
- isCollapsed = true
11
-
12
- constructor(public customConfigService: CustomConfigHelperService) {}
13
-
14
- toggleNonApplicableCustomConfigsList() {
15
- this.isCollapsed = !this.isCollapsed
16
- }
17
- }
@@ -1,151 +0,0 @@
1
- import { CustomConfig, CustomConfigMapSelectionMode } from "../../../model/customConfig/customConfig.api.model"
2
- import { CustomConfigHelper } from "../../../util/customConfigHelper"
3
- import { getCustomConfigItemGroups } from "./getCustomConfigItemGroups"
4
- import { VisibleFilesBySelectionMode } from "../visibleFilesBySelectionMode.selector"
5
- import { expect } from "@jest/globals"
6
-
7
- describe("getCustomConfigItemGroups", () => {
8
- const customConfigStub1 = {
9
- id: "1-invalid-md5-checksum",
10
- name: "config1",
11
- mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
12
- assignedMaps: new Map([
13
- ["checksumMap1", "map1"],
14
- ["checksumMap2", "map2"]
15
- ]),
16
- stateSettings: {
17
- appSettings: {
18
- mapColors: {
19
- positive: "green",
20
- neutral: "yellow",
21
- negative: "red",
22
- selected: "orange",
23
- negativeDelta: "red",
24
- positiveDelta: "green"
25
- }
26
- },
27
- dynamicSettings: {
28
- areaMetric: "rloc",
29
- heightMetric: "mcc",
30
- colorMetric: "mcc",
31
- edgeMetric: "avgCommits"
32
- }
33
- },
34
- note: "Custom Note 1"
35
- } as CustomConfig
36
-
37
- const customConfigStub2 = {
38
- id: "2-invalid-md5-checksum",
39
- name: "config2",
40
- mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
41
- assignedMaps: new Map([["checksumMap3", "map3"]]),
42
- stateSettings: {
43
- appSettings: {
44
- mapColors: {
45
- positive: "violett",
46
- neutral: "yellow",
47
- negative: "red",
48
- selected: "orange",
49
- negativeDelta: "red",
50
- positiveDelta: "green"
51
- }
52
- },
53
- dynamicSettings: {
54
- areaMetric: "rloc",
55
- heightMetric: "functions",
56
- colorMetric: "mcc",
57
- edgeMetric: "avgCommits"
58
- }
59
- }
60
- } as CustomConfig
61
-
62
- it("should set applicable-flags to true when current assigned map names, checksums and selection mode are matching a custom config", () => {
63
- CustomConfigHelper.loadCustomConfigsFromLocalStorage = jest
64
- .fn()
65
- .mockReturnValue(new Map([["customConfigKey_1", customConfigStub1]]))
66
- const visibleFilesBySelectionMode: VisibleFilesBySelectionMode = {
67
- mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
68
- assignedMaps: new Map([
69
- ["checksumMap1", "map1"],
70
- ["checksumMap2", "map2"]
71
- ])
72
- }
73
-
74
- const actualCustomConfigItemGroups = getCustomConfigItemGroups(visibleFilesBySelectionMode)
75
-
76
- const applicableGroup = actualCustomConfigItemGroups.applicableItems.get("map1_map2_STANDARD")
77
- expect(applicableGroup.customConfigItems[0].name).toBe("config1")
78
- expect(applicableGroup.customConfigItems[0].isApplicable).toBe(true)
79
- expect(applicableGroup.customConfigItems[0].note).toBe("Custom Note 1")
80
- expect(applicableGroup.customConfigItems[0].metrics).toEqual({
81
- heightMetric: "mcc",
82
- areaMetric: "rloc",
83
- colorMetric: "mcc",
84
- edgeMetric: "avgCommits"
85
- })
86
- expect(applicableGroup.customConfigItems[0].mapColors).toEqual({
87
- positive: "green",
88
- neutral: "yellow",
89
- negative: "red",
90
- selected: "orange",
91
- negativeDelta: "red",
92
- positiveDelta: "green"
93
- })
94
- expect(applicableGroup.customConfigItems[0].note).toBe("Custom Note 1")
95
- })
96
-
97
- it("should set applicable-flags to false when current assigned map names, checksums and selection mode are not matching a custom config", () => {
98
- CustomConfigHelper.loadCustomConfigsFromLocalStorage = jest
99
- .fn()
100
- .mockReturnValue(new Map([["customConfigKey_2", customConfigStub2]]))
101
- const visibleFilesBySelectionMode: VisibleFilesBySelectionMode = {
102
- mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
103
- assignedMaps: new Map([
104
- ["checksumMap1", "map1"],
105
- ["checksumMap2", "map2"]
106
- ])
107
- }
108
-
109
- const actualCustomConfigItemGroups = getCustomConfigItemGroups(visibleFilesBySelectionMode)
110
-
111
- const nonApplicableGroup = actualCustomConfigItemGroups.nonApplicableItems.get("map3_STANDARD")
112
- expect(nonApplicableGroup.customConfigItems[0].name).toBe("config2")
113
- expect(nonApplicableGroup.customConfigItems[0].note).toBeUndefined()
114
- expect(nonApplicableGroup.customConfigItems[0].isApplicable).toBe(false)
115
- })
116
-
117
- it("should set applicable-flags to true, if at least one checksum of selected map is present in a custom config", () => {
118
- CustomConfigHelper.loadCustomConfigsFromLocalStorage = jest
119
- .fn()
120
- .mockReturnValue(new Map([["customConfigKey_1", customConfigStub1]]))
121
- const visibleFilesBySelectionMode: VisibleFilesBySelectionMode = {
122
- mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
123
- assignedMaps: new Map([["checksumMap1", "map1"]])
124
- }
125
-
126
- const actualCustomConfigItemGroups = getCustomConfigItemGroups(visibleFilesBySelectionMode)
127
-
128
- const applicableGroup = actualCustomConfigItemGroups.applicableItems.get("map1_map2_STANDARD")
129
- expect(applicableGroup.customConfigItems[0].name).toBe("config1")
130
- expect(applicableGroup.customConfigItems[0].isApplicable).toBe(true)
131
- })
132
-
133
- it("should set applicable-flags to true, if selected CustomConfigMapSelectionMode does not match actual FileSelectionState but selected maps are present in a custom config", () => {
134
- CustomConfigHelper.loadCustomConfigsFromLocalStorage = jest
135
- .fn()
136
- .mockReturnValue(new Map([["customConfigKey_1", customConfigStub1]]))
137
- const visibleFilesBySelectionMode: VisibleFilesBySelectionMode = {
138
- mapSelectionMode: CustomConfigMapSelectionMode.DELTA,
139
- assignedMaps: new Map([
140
- ["checksumMap1", "map1"],
141
- ["checksumMap2", "map2"]
142
- ])
143
- }
144
-
145
- const actualCustomConfigItemGroups = getCustomConfigItemGroups(visibleFilesBySelectionMode)
146
-
147
- const applicableGroup = actualCustomConfigItemGroups.applicableItems.get("map1_map2_STANDARD")
148
- expect(applicableGroup.customConfigItems[0].name).toBe("config1")
149
- expect(applicableGroup.customConfigItems[0].isApplicable).toBe(true)
150
- })
151
- })
@@ -1,53 +0,0 @@
1
- import { CustomConfigItemGroup } from "../customConfigs.component"
2
- import { CustomConfigHelper } from "../../../util/customConfigHelper"
3
- import { VisibleFilesBySelectionMode } from "../visibleFilesBySelectionMode.selector"
4
-
5
- export interface CustomConfigGroups {
6
- applicableItems: Map<string, CustomConfigItemGroup>
7
- nonApplicableItems: Map<string, CustomConfigItemGroup>
8
- }
9
-
10
- export function getCustomConfigItemGroups({ assignedMaps }: VisibleFilesBySelectionMode): CustomConfigGroups {
11
- const customConfigGroups: CustomConfigGroups = {
12
- applicableItems: new Map(),
13
- nonApplicableItems: new Map()
14
- }
15
- const customConfigItemGroups = new Map<string, CustomConfigItemGroup>()
16
-
17
- for (const customConfig of CustomConfigHelper.loadCustomConfigsFromLocalStorage().values()) {
18
- const mapNames = [...customConfig.assignedMaps.values()]
19
- const groupKey = `${mapNames.join("_")}_${customConfig.mapSelectionMode}`
20
- const isCustomConfigItemApplicable = [...customConfig.assignedMaps.keys()].some(configChecksum => assignedMaps.has(configChecksum))
21
-
22
- if (!customConfigItemGroups.has(groupKey)) {
23
- customConfigItemGroups.set(groupKey, {
24
- mapNames: mapNames.join(" "),
25
- mapSelectionMode: customConfig.mapSelectionMode,
26
- hasApplicableItems: isCustomConfigItemApplicable,
27
- customConfigItems: []
28
- })
29
- }
30
-
31
- const { positive, neutral, negative, selected, positiveDelta, negativeDelta } = customConfig.stateSettings.appSettings.mapColors
32
- const { areaMetric, heightMetric, colorMetric, edgeMetric } = customConfig.stateSettings.dynamicSettings
33
-
34
- customConfigItemGroups.get(groupKey).customConfigItems.push({
35
- id: customConfig.id,
36
- name: customConfig.name,
37
- assignedMaps: customConfig.assignedMaps,
38
- mapSelectionMode: customConfig.mapSelectionMode,
39
- metrics: { areaMetric, heightMetric, colorMetric, edgeMetric },
40
- mapColors: { positive, neutral, negative, selected, positiveDelta, negativeDelta },
41
- isApplicable: isCustomConfigItemApplicable,
42
- ...(customConfig.note && { note: customConfig.note })
43
- })
44
-
45
- if (customConfigItemGroups.get(groupKey).hasApplicableItems) {
46
- customConfigGroups.applicableItems.set(groupKey, customConfigItemGroups.get(groupKey))
47
- } else {
48
- customConfigGroups.nonApplicableItems.set(groupKey, customConfigItemGroups.get(groupKey))
49
- }
50
- }
51
-
52
- return customConfigGroups
53
- }
@@ -1,12 +0,0 @@
1
- <div class="custom-config-note-dialog-container">
2
- <div mat-dialog-content class="note-input-container">
3
- <mat-form-field class="note-input" appearance="fill">
4
- <mat-label>Custom Note</mat-label>
5
- <textarea matInput cdkAutosizeMinRows="10" cdkTextareaAutosize [(ngModel)]="data"></textarea>
6
- </mat-form-field>
7
- </div>
8
- <div mat-dialog-actions class="note-dialog-action-buttons">
9
- <button [mat-dialog-close]>Cancel</button>
10
- <button [mat-dialog-close]="data">Ok</button>
11
- </div>
12
- </div>
@@ -1,31 +0,0 @@
1
- @use "app/material/theme";
2
-
3
- cc-custom-config-note-dialog {
4
- .custom-config-note-dialog-container {
5
- padding: 20px 24px;
6
-
7
- .note-input-container {
8
- padding: 0;
9
-
10
- .note-input {
11
- width: 100%;
12
- }
13
- }
14
- .note-dialog-action-buttons {
15
- justify-content: flex-end;
16
- padding: 0;
17
- }
18
-
19
- button {
20
- padding: 12px;
21
- margin: 0 0 0 10px;
22
- color: theme.$cc-primary-color;
23
- background-color: rgba(138, 132, 132, 0.08);
24
-
25
- &:hover {
26
- background-color: rgba(0, 0, 0, 0.05);
27
- color: theme.$cc-primary-color;
28
- }
29
- }
30
- }
31
- }
@@ -1,12 +0,0 @@
1
- import { Component, Inject, ViewEncapsulation } from "@angular/core"
2
- import { MAT_DIALOG_DATA } from "@angular/material/dialog"
3
-
4
- @Component({
5
- selector: "cc-custom-config-note-dialog",
6
- templateUrl: "./customConfigNoteDialog.component.html",
7
- styleUrls: ["./customConfigNoteDialog.component.scss"],
8
- encapsulation: ViewEncapsulation.None
9
- })
10
- export class CustomConfigNoteDialogComponent {
11
- constructor(@Inject(MAT_DIALOG_DATA) public data: string) {}
12
- }
@@ -1,3 +0,0 @@
1
- <button class="custom-config-note-dialog-button" title="Edit/View Note" (click)="openDialog()">
2
- <i class="fa fa-pencil"></i>
3
- </button>
@@ -1,90 +0,0 @@
1
- import { TestBed } from "@angular/core/testing"
2
-
3
- import { render, screen } from "@testing-library/angular"
4
- import { CustomConfigNoteDialogButtonComponent } from "./customConfigNoteDialogButton.component"
5
- import userEvent from "@testing-library/user-event"
6
- import { CustomConfigItem } from "../customConfigs.component"
7
- import { CustomConfigHelper } from "../../../util/customConfigHelper"
8
- import { CustomConfigNoteDialogButtonModule } from "./customConfigNoteDialogButton.module"
9
- import { TestbedHarnessEnvironment } from "@angular/cdk/testing/testbed"
10
- import { MatDialogHarness } from "@angular/material/dialog/testing"
11
-
12
- describe("customConfigNoteDialogComponent", () => {
13
- let editCustomConfigNoteSpy: jest.SpyInstance
14
-
15
- beforeEach(() => {
16
- editCustomConfigNoteSpy = jest.spyOn(CustomConfigHelper, "editCustomConfigNote").mockImplementation(() => {})
17
- TestBed.configureTestingModule({
18
- imports: [CustomConfigNoteDialogButtonModule]
19
- })
20
- })
21
-
22
- afterEach(() => {
23
- editCustomConfigNoteSpy.mockRestore()
24
- })
25
-
26
- it("should render a clickable button and open a dialog to add and submit a note", async () => {
27
- const newNote = "Some other note"
28
- const customConfigItem = {
29
- id: "configID",
30
- note: ""
31
- } as CustomConfigItem
32
- const { fixture } = await render(CustomConfigNoteDialogButtonComponent, {
33
- excludeComponentDeclaration: true,
34
- componentProperties: { customConfigItem }
35
- })
36
- const loader = TestbedHarnessEnvironment.documentRootLoader(fixture)
37
- let currentlyOpenedDialogs = await loader.getAllHarnesses(MatDialogHarness)
38
-
39
- expect(currentlyOpenedDialogs.length).toBe(0)
40
- await userEvent.click(screen.getByTitle("Edit/View Note"))
41
-
42
- currentlyOpenedDialogs = await loader.getAllHarnesses(MatDialogHarness)
43
- expect(currentlyOpenedDialogs.length).toBe(1)
44
-
45
- await userEvent.type(screen.getByRole("textbox"), newNote)
46
- await userEvent.click(screen.getByText("Ok"))
47
-
48
- currentlyOpenedDialogs = await loader.getAllHarnesses(MatDialogHarness)
49
- expect(currentlyOpenedDialogs.length).toBe(0)
50
-
51
- expect(editCustomConfigNoteSpy).toHaveBeenCalledWith("configID", newNote)
52
- })
53
-
54
- it("should render a clickable button and open a dialog and and not change the note when the same note is submitted", async () => {
55
- const customConfigItem = {
56
- id: "configID",
57
- note: "a note"
58
- } as CustomConfigItem
59
- await render(CustomConfigNoteDialogButtonComponent, {
60
- excludeComponentDeclaration: true,
61
- componentProperties: { customConfigItem }
62
- })
63
-
64
- const editNoteButton = screen.getByTitle("Edit/View Note")
65
- await userEvent.click(editNoteButton)
66
- await userEvent.click(screen.getByText("Ok"))
67
-
68
- expect(editCustomConfigNoteSpy).not.toHaveBeenCalled()
69
- })
70
-
71
- it("should render a clickable button and open a dialog and and not change the note when cancel button is clicked", async () => {
72
- const customConfigItem = {
73
- id: "configID",
74
- note: "a note"
75
- } as CustomConfigItem
76
- const { fixture } = await render(CustomConfigNoteDialogButtonComponent, {
77
- excludeComponentDeclaration: true,
78
- componentProperties: { customConfigItem }
79
- })
80
- const loader = TestbedHarnessEnvironment.documentRootLoader(fixture)
81
- const editNoteButton = screen.getByTitle("Edit/View Note")
82
-
83
- await userEvent.click(editNoteButton)
84
- await userEvent.click(screen.getByText("Cancel"))
85
- const currentlyOpenedDialogs = await loader.getAllHarnesses(MatDialogHarness)
86
-
87
- expect(currentlyOpenedDialogs.length).toBe(0)
88
- expect(editCustomConfigNoteSpy).not.toHaveBeenCalled()
89
- })
90
- })
@@ -1,33 +0,0 @@
1
- import { Component, Input } from "@angular/core"
2
- import { MatDialog } from "@angular/material/dialog"
3
- import { CustomConfigNoteDialogComponent } from "./customConfigNoteDialog/customConfigNoteDialog.component"
4
- import { CustomConfigItem } from "../customConfigs.component"
5
- import { CustomConfigHelper } from "../../../util/customConfigHelper"
6
-
7
- @Component({
8
- selector: "cc-custom-config-note-dialog-button",
9
- templateUrl: "./customConfigNoteDialogButton.component.html"
10
- })
11
- export class CustomConfigNoteDialogButtonComponent {
12
- @Input() customConfigItem: CustomConfigItem
13
-
14
- customConfigNote: string
15
-
16
- constructor(private dialog: MatDialog) {}
17
-
18
- openDialog(): void {
19
- this.customConfigNote = this.customConfigItem.note
20
-
21
- const dialogReference = this.dialog.open(CustomConfigNoteDialogComponent, {
22
- width: "600px",
23
- data: this.customConfigNote
24
- })
25
-
26
- dialogReference.afterClosed().subscribe(result => {
27
- if (result !== undefined && this.customConfigNote !== result) {
28
- this.customConfigNote = result
29
- CustomConfigHelper.editCustomConfigNote(this.customConfigItem.id, result)
30
- }
31
- })
32
- }
33
- }
@@ -1,14 +0,0 @@
1
- import { NgModule } from "@angular/core"
2
- import { MaterialModule } from "../../../../material/material.module"
3
- import { FormsModule, ReactiveFormsModule } from "@angular/forms"
4
- import { CommonModule } from "@angular/common"
5
- import { CustomConfigNoteDialogButtonComponent } from "./customConfigNoteDialogButton.component"
6
- import { CustomConfigNoteDialogComponent } from "./customConfigNoteDialog/customConfigNoteDialog.component"
7
- import { A11yModule } from "@angular/cdk/a11y"
8
-
9
- @NgModule({
10
- imports: [MaterialModule, ReactiveFormsModule, FormsModule, CommonModule, A11yModule],
11
- declarations: [CustomConfigNoteDialogButtonComponent, CustomConfigNoteDialogComponent],
12
- exports: [CustomConfigNoteDialogButtonComponent]
13
- })
14
- export class CustomConfigNoteDialogButtonModule {}
@@ -1,6 +0,0 @@
1
- <div class="custom-configs-panel-buttons">
2
- <button class="cc-ribbon-bar-menu-button" title="Open your saved Custom Views" (click)="openCustomConfigDialog()">
3
- <i class="fa fa-cogs"></i>
4
- </button>
5
- <cc-add-custom-config-button></cc-add-custom-config-button>
6
- </div>
@@ -1,7 +0,0 @@
1
- cc-custom-configs {
2
- .custom-configs-panel-buttons {
3
- display: flex;
4
- justify-content: center;
5
- gap: 4px;
6
- }
7
- }
@@ -1,41 +0,0 @@
1
- import { provideMockStore } from "@ngrx/store/testing"
2
- import { TestBed } from "@angular/core/testing"
3
- import { render, screen } from "@testing-library/angular"
4
- import { CustomConfigsComponent } from "./customConfigs.component"
5
- import { AddCustomConfigDialogComponent } from "./addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component"
6
- import { CustomConfigListComponent } from "./customConfigList/customConfigList.component"
7
- import { CustomConfigsModule } from "./customConfigs.module"
8
- import { MatDialog } from "@angular/material/dialog"
9
- import userEvent from "@testing-library/user-event"
10
-
11
- describe("CustomConfigsComponent", () => {
12
- let mockedDialog = { open: jest.fn() }
13
-
14
- beforeEach(() => {
15
- mockedDialog = { open: jest.fn() }
16
- TestBed.configureTestingModule({
17
- imports: [CustomConfigsModule],
18
- providers: [{ provide: MatDialog, useValue: mockedDialog }, provideMockStore()]
19
- })
20
- })
21
-
22
- it("should open dialog when clicking add custom config button", async () => {
23
- await render(CustomConfigsComponent, { excludeComponentDeclaration: true })
24
-
25
- const addButton = screen.getByTitle("Create new Custom View")
26
- await userEvent.click(addButton)
27
-
28
- expect(mockedDialog.open).toHaveBeenCalledTimes(1)
29
- expect(mockedDialog.open).toHaveBeenCalledWith(AddCustomConfigDialogComponent, { panelClass: "cc-add-custom-config-dialog" })
30
- })
31
-
32
- it("should open dialog when clicking add custom config button", async () => {
33
- await render(CustomConfigsComponent, { excludeComponentDeclaration: true })
34
-
35
- const openCustomConfigsButton = screen.getByTitle("Open your saved Custom Views")
36
- await userEvent.click(openCustomConfigsButton)
37
-
38
- expect(mockedDialog.open).toHaveBeenCalledTimes(1)
39
- expect(mockedDialog.open).toHaveBeenCalledWith(CustomConfigListComponent, { panelClass: "cc-custom-config-list" })
40
- })
41
- })
@@ -1,41 +0,0 @@
1
- import { Component, ViewEncapsulation } from "@angular/core"
2
- import { MatDialog } from "@angular/material/dialog"
3
- import { CustomConfigListComponent } from "./customConfigList/customConfigList.component"
4
- import { CustomConfigMapSelectionMode } from "../../model/customConfig/customConfig.api.model"
5
- import { MapColors, PrimaryMetrics } from "../../codeCharta.model"
6
-
7
- type CustomConfigColors = Pick<MapColors, "positive" | "neutral" | "negative" | "selected" | "positiveDelta" | "negativeDelta">
8
-
9
- export interface CustomConfigItem {
10
- id: string
11
- name: string
12
- assignedMaps: Map<string, string>
13
- mapSelectionMode: CustomConfigMapSelectionMode
14
- metrics: Pick<PrimaryMetrics, "areaMetric" | "heightMetric" | "colorMetric" | "edgeMetric">
15
- mapColors: CustomConfigColors
16
- isApplicable: boolean
17
- note?: string
18
- }
19
-
20
- export interface CustomConfigItemGroup {
21
- mapNames: string
22
- mapSelectionMode: CustomConfigMapSelectionMode
23
- hasApplicableItems: boolean
24
- customConfigItems: CustomConfigItem[]
25
- }
26
-
27
- @Component({
28
- selector: "cc-custom-configs",
29
- templateUrl: "./customConfigs.component.html",
30
- styleUrls: ["./customConfigs.component.scss"],
31
- encapsulation: ViewEncapsulation.None
32
- })
33
- export class CustomConfigsComponent {
34
- constructor(private dialog: MatDialog) {}
35
-
36
- openCustomConfigDialog() {
37
- this.dialog.open(CustomConfigListComponent, {
38
- panelClass: "cc-custom-config-list"
39
- })
40
- }
41
- }