codecharta-visualization 1.119.1 → 1.120.1
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.
- package/Dockerfile +1 -1
- package/README.md +25 -13
- package/dist/webpack/index.html +3 -2
- package/dist/webpack/main.9873971f5aa4190e.js +1 -0
- package/dist/webpack/main.js +52 -0
- package/dist/webpack/package.json +132 -0
- package/package.json +10 -15
- package/app/app.e2e.ts +0 -15
- package/app/app.module.ts +0 -73
- package/app/app.scss +0 -40
- package/app/codeCharta/assets/codecharta_logo.svg +0 -1
- package/app/codeCharta/assets/empty.png +0 -0
- package/app/codeCharta/assets/favicon.ico +0 -0
- package/app/codeCharta/assets/flatten.png +0 -0
- package/app/codeCharta/assets/gameObjectsFile.json +0 -75
- package/app/codeCharta/assets/icon.icns +0 -0
- package/app/codeCharta/assets/icon.ico +0 -0
- package/app/codeCharta/assets/icon.png +0 -0
- package/app/codeCharta/assets/logo.png +0 -0
- package/app/codeCharta/assets/output.cc.json.gz +0 -0
- package/app/codeCharta/assets/sample1.cc.json +0 -97
- package/app/codeCharta/assets/sample2.cc.json +0 -46
- package/app/codeCharta/assets/sample3.cc.json +0 -40
- package/app/codeCharta/assets/sample4.cc.json +0 -45
- package/app/codeCharta/assets/scenarios.json +0 -50
- package/app/codeCharta/codeCharta.api.model.ts +0 -61
- package/app/codeCharta/codeCharta.component.html +0 -19
- package/app/codeCharta/codeCharta.component.scss +0 -101
- package/app/codeCharta/codeCharta.component.spec.ts +0 -37
- package/app/codeCharta/codeCharta.component.ts +0 -27
- package/app/codeCharta/codeCharta.model.spec.ts +0 -41
- package/app/codeCharta/codeCharta.model.ts +0 -396
- package/app/codeCharta/codeCharta.module.ts +0 -24
- package/app/codeCharta/e2e/__snapshots__/logo.e2e.ts.snap +0 -202722
- package/app/codeCharta/e2e/logo.e2e.ts +0 -27
- package/app/codeCharta/e2e/logo.po.ts +0 -17
- package/app/codeCharta/e2e/url.e2e.ts +0 -86
- package/app/codeCharta/index.d.ts +0 -4
- package/app/codeCharta/model/customConfig/customConfig.api.model.ts +0 -37
- package/app/codeCharta/model/files/files.helper.spec.ts +0 -191
- package/app/codeCharta/model/files/files.helper.ts +0 -39
- package/app/codeCharta/model/files/files.ts +0 -13
- package/app/codeCharta/resources/fileStorage/.gitkeep +0 -0
- package/app/codeCharta/resources/fileStorage/usageData/.gitkeep +0 -0
- package/app/codeCharta/resources/fixed-folders/example.json +0 -386
- package/app/codeCharta/resources/fixed-folders/fixed-folders-example.ts +0 -354
- package/app/codeCharta/resources/sample1_with_api_warning.cc.json +0 -97
- package/app/codeCharta/resources/sample1_with_different_edges.cc.json +0 -101
- package/app/codeCharta/resources/sample1_with_lower_minor_api.cc.json +0 -97
- package/app/codeCharta/services/idToBuilding/idToBuilding.service.ts +0 -19
- package/app/codeCharta/services/isAttributeSideBarVisible.service.ts +0 -16
- package/app/codeCharta/services/loadFile/fileParser.ts +0 -80
- package/app/codeCharta/services/loadFile/fileRoot.ts +0 -8
- package/app/codeCharta/services/loadFile/loadFile.service.spec.ts +0 -389
- package/app/codeCharta/services/loadFile/loadFile.service.ts +0 -62
- package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.spec.ts +0 -108
- package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.ts +0 -74
- package/app/codeCharta/services/loadInitialFile/urlExtractor.spec.ts +0 -166
- package/app/codeCharta/services/loadInitialFile/urlExtractor.ts +0 -82
- package/app/codeCharta/services/version/utils/compareVersion.spec.ts +0 -31
- package/app/codeCharta/services/version/utils/compareVersion.ts +0 -35
- package/app/codeCharta/services/version/version.service.spec.ts +0 -42
- package/app/codeCharta/services/version/version.service.ts +0 -28
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.spec.ts +0 -71
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.ts +0 -46
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/resultsInEmptyMap.ts +0 -30
- package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.spec.ts +0 -87
- package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.ts +0 -38
- package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.spec.ts +0 -51
- package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.ts +0 -21
- package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.html +0 -3
- package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.ts +0 -29
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.html +0 -13
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.spec.ts +0 -62
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.ts +0 -39
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.html +0 -24
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.spec.ts +0 -69
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.ts +0 -34
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.module.ts +0 -13
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.spec.ts +0 -31
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.ts +0 -26
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.html +0 -6
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.spec.ts +0 -55
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.ts +0 -44
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.html +0 -22
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.scss +0 -31
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.spec.ts +0 -55
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.ts +0 -27
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.spec.ts +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.ts +0 -32
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.e2e.ts +0 -59
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.po.ts +0 -26
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.spec.ts +0 -98
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.ts +0 -84
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.spec.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.ts +0 -8
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.html +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.scss +0 -33
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.spec.ts +0 -50
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.ts +0 -20
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.module.ts +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.spec.ts +0 -44
- package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.ts +0 -23
- package/app/codeCharta/state/effects/nodeContextMenu/rightClickedCodeMapNode.selector.ts +0 -9
- package/app/codeCharta/state/effects/renderCodeMapEffect/actionsRequiringRerender.ts +0 -71
- package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.spec.ts +0 -82
- package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.ts +0 -57
- package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.spec.ts +0 -79
- package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.ts +0 -41
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistribution.spec.ts +0 -11
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistributionMetric.ts +0 -4
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.spec.ts +0 -70
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.ts +0 -55
- package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.spec.ts +0 -46
- package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.ts +0 -23
- package/app/codeCharta/state/effects/setLoadingIndicator/setLoadingIndicator.effect.ts +0 -26
- package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.spec.ts +0 -24
- package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.ts +0 -14
- package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.spec.ts +0 -51
- package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.ts +0 -21
- package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.spec.ts +0 -49
- package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.ts +0 -46
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/blacklist.merger.spec.ts.snap +0 -39
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/edges.merger.spec.ts.snap +0 -77
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/markedPackages.merger.spec.ts.snap +0 -45
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.spec.ts +0 -70
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.ts +0 -15
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.spec.ts +0 -75
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.spec.ts +0 -37
- package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.spec.ts +0 -92
- package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.ts +0 -36
- package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.spec.ts +0 -74
- package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.spec.ts +0 -18
- package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.ts +0 -12
- package/app/codeCharta/state/effects/updateVisibleTopLabels/updateVisibleTopLabels.effect.ts +0 -24
- package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.spec.ts +0 -76
- package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.ts +0 -61
- package/app/codeCharta/state/selectors/accumulatedData/codeMapNodes.selector.ts +0 -11
- package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.spec.ts +0 -15
- package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.ts +0 -18
- package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.spec.ts +0 -46
- package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.ts +0 -95
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricData.selector.ts +0 -12
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.spec.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.ts +0 -4
- package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.spec.ts +0 -63
- package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.ts +0 -53
- package/app/codeCharta/state/selectors/accumulatedData/metricData/selectedColorMetricData.selector.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/metricData/sortByMetricName.ts +0 -7
- package/app/codeCharta/state/selectors/accumulatedData/rootUnary.selector.ts +0 -7
- package/app/codeCharta/state/selectors/accumulatedData/utils/addEdgeMetricsForLeaves.ts +0 -20
- package/app/codeCharta/state/selectors/accumulatedData/utils/getDeltaFile.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.spec.ts +0 -17
- package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.ts +0 -16
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/areAllNecessaryRenderDataAvailable.selector.ts +0 -39
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.spec.ts +0 -39
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.ts +0 -17
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.spec.ts +0 -13
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.ts +0 -8
- package/app/codeCharta/state/selectors/hoveredNode.selector.ts +0 -7
- package/app/codeCharta/state/selectors/isDeltaState.selector.ts +0 -5
- package/app/codeCharta/state/selectors/primaryMetrics/primaryMetricNames.selector.ts +0 -19
- package/app/codeCharta/state/selectors/primaryMetrics/primaryMetrics.selector.ts +0 -50
- package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.spec.ts +0 -20
- package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.ts +0 -11
- package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.spec.ts +0 -82
- package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.ts +0 -19
- package/app/codeCharta/state/selectors/searchedNodes/searchedNodePaths.selector.ts +0 -4
- package/app/codeCharta/state/selectors/searchedNodes/searchedNodes.selector.ts +0 -8
- package/app/codeCharta/state/selectors/selectedNode.selector.ts +0 -7
- package/app/codeCharta/state/selectors/visibleFileStates.selector.ts +0 -5
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/appSettings.reducer.ts +0 -97
- package/app/codeCharta/state/store/appSettings/appSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.spec.ts +0 -16
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.ts +0 -8
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.actions.ts +0 -7
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.spec.ts +0 -25
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.ts +0 -12
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.spec.ts +0 -12
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.actions.ts +0 -6
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.spec.ts +0 -35
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.ts +0 -26
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/scaling/scaling.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.spec.ts +0 -16
- package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/scaling/scaling.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.spec.ts +0 -21
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.ts +0 -10
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/appStatus.reducer.ts +0 -16
- package/app/codeCharta/state/store/appStatus/appStatus.selector.ts +0 -3
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.actions.ts +0 -3
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.spec.ts +0 -8
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.ts +0 -7
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.actions.ts +0 -7
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.reducer.ts +0 -9
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.actions.ts +0 -3
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.spec.ts +0 -9
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.ts +0 -7
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.spec.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.ts +0 -9
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.spec.ts +0 -60
- package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.ts +0 -31
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.reducer.ts +0 -40
- package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/currentFocused.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.actions.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.spec.ts +0 -48
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.ts +0 -12
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.spec.ts +0 -8
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.spec.ts +0 -15
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOrder.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.action.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.spec.ts +0 -21
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.ts +0 -10
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.actions.ts +0 -12
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.spec.ts +0 -39
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.ts +0 -14
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.actions.ts +0 -11
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.spec.ts +0 -43
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.ts +0 -14
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/edges/edges.actions.ts +0 -6
- package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.spec.ts +0 -29
- package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.ts +0 -13
- package/app/codeCharta/state/store/fileSettings/edges/edges.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/fileSettings.reducer.ts +0 -22
- package/app/codeCharta/state/store/fileSettings/fileSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.actions.ts +0 -6
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.spec.ts +0 -64
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.ts +0 -29
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.spec.ts +0 -47
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.ts +0 -27
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.spec.ts +0 -39
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.ts +0 -22
- package/app/codeCharta/state/store/files/files.actions.ts +0 -28
- package/app/codeCharta/state/store/files/files.reducer.spec.ts +0 -152
- package/app/codeCharta/state/store/files/files.reducer.ts +0 -111
- package/app/codeCharta/state/store/files/files.selector.ts +0 -3
- package/app/codeCharta/state/store/state.actions.ts +0 -8
- package/app/codeCharta/state/store/state.manager.ts +0 -70
- package/app/codeCharta/state/store/state.reducer.spec.ts +0 -59
- package/app/codeCharta/state/store/util/setState.reducer.factory.spec.ts +0 -24
- package/app/codeCharta/state/store/util/setState.reducer.factory.ts +0 -17
- package/app/codeCharta/streetLayoutTodo.md +0 -16
- package/app/codeCharta/ui/actionIcon/actionIcon.component.html +0 -1
- package/app/codeCharta/ui/actionIcon/actionIcon.component.scss +0 -23
- package/app/codeCharta/ui/actionIcon/actionIcon.component.ts +0 -11
- package/app/codeCharta/ui/actionIcon/actionIcon.module.ts +0 -10
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.html +0 -8
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.scss +0 -164
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.spec.ts +0 -161
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.ts +0 -21
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.module.ts +0 -35
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.html +0 -14
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.scss +0 -75
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.spec.ts +0 -28
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.ts +0 -21
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCount.selector.spec.ts +0 -18
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCountSelector.ts +0 -18
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.html +0 -14
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.spec.ts +0 -121
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.ts +0 -22
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.html +0 -20
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.ts +0 -23
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.html +0 -68
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.ts +0 -25
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.html +0 -45
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.ts +0 -29
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.spec.ts +0 -28
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.ts +0 -23
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.html +0 -4
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.scss +0 -24
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.spec.ts +0 -45
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.ts +0 -38
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.module.ts +0 -12
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.html +0 -5
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.spec.ts +0 -79
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.ts +0 -26
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.module.ts +0 -10
- package/app/codeCharta/ui/attributeSideBar/util/edge.ts +0 -5
- package/app/codeCharta/ui/attributeSideBar/util/metric.ts +0 -4
- package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.spec.ts +0 -11
- package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.ts +0 -7
- package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.spec.ts +0 -16
- package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.ts +0 -7
- package/app/codeCharta/ui/codeMap/__snapshots__/codeMap.render.service.spec.ts.snap +0 -231
- package/app/codeCharta/ui/codeMap/arrow/__snapshots__/codeMap.arrow.service.spec.ts.snap +0 -201
- package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.spec.ts +0 -300
- package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.ts +0 -267
- package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.spec.ts +0 -21
- package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.ts +0 -36
- package/app/codeCharta/ui/codeMap/arrow/utils/edgeVisibility.selector.ts +0 -17
- package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.spec.ts +0 -36
- package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.ts +0 -20
- package/app/codeCharta/ui/codeMap/codeMap.component.html +0 -4
- package/app/codeCharta/ui/codeMap/codeMap.component.scss +0 -22
- package/app/codeCharta/ui/codeMap/codeMap.component.spec.ts +0 -63
- package/app/codeCharta/ui/codeMap/codeMap.component.ts +0 -46
- package/app/codeCharta/ui/codeMap/codeMap.label.service.spec.ts +0 -575
- package/app/codeCharta/ui/codeMap/codeMap.label.service.ts +0 -312
- package/app/codeCharta/ui/codeMap/codeMap.module.ts +0 -12
- package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.spec.ts +0 -838
- package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.ts +0 -426
- package/app/codeCharta/ui/codeMap/codeMap.po.ts +0 -24
- package/app/codeCharta/ui/codeMap/codeMap.render.service.spec.ts +0 -329
- package/app/codeCharta/ui/codeMap/codeMap.render.service.ts +0 -163
- package/app/codeCharta/ui/codeMap/rendering/__snapshots__/rendering.spec.ts.snap +0 -5
- package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.spec.ts +0 -111
- package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.ts +0 -116
- package/app/codeCharta/ui/codeMap/rendering/codeMapGeometricDescription.ts +0 -76
- package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.spec.ts +0 -42
- package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.ts +0 -233
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerationHelper.ts +0 -291
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.spec.ts +0 -52
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.ts +0 -142
- package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.spec.ts +0 -170
- package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.ts +0 -85
- package/app/codeCharta/ui/codeMap/rendering/rendering.spec.ts +0 -11
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapFragmentShader.glsl +0 -22
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapVertexShader.glsl +0 -100
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaFragmentShader.glsl +0 -1067
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaVertexShader.glsl +0 -6
- package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/codeMapShaderStrings.ts +0 -9
- package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/fxaaShaderStrings.ts +0 -25
- package/app/codeCharta/ui/codeMap/threeViewer/__snapshots__/threeOrbitControls.service.spec.ts.snap +0 -9
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.spec.ts +0 -176
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.ts +0 -189
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.spec.ts +0 -88
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.ts +0 -22
- package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.spec.ts +0 -30
- package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.ts +0 -21
- package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.spec.ts +0 -114
- package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.ts +0 -131
- package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.spec.ts +0 -341
- package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.ts +0 -135
- package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.spec.ts +0 -468
- package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.ts +0 -434
- package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.spec.ts +0 -197
- package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.ts +0 -88
- package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.spec.ts +0 -305
- package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.ts +0 -115
- package/app/codeCharta/ui/colorPicker/colorPicker.component.html +0 -16
- package/app/codeCharta/ui/colorPicker/colorPicker.component.spec.ts +0 -77
- package/app/codeCharta/ui/colorPicker/colorPicker.component.ts +0 -47
- package/app/codeCharta/ui/colorPicker/colorPicker.module.ts +0 -13
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.html +0 -5
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.spec.ts +0 -37
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.ts +0 -31
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.module.ts +0 -13
- package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.spec.ts +0 -42
- package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.ts +0 -32
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.spec.ts +0 -34
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.ts +0 -23
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.html +0 -2
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.spec.ts +0 -32
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.ts +0 -15
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.module.ts +0 -13
- package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.spec.ts +0 -37
- package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.ts +0 -21
- package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetric.spec.ts +0 -142
- package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetrics.ts +0 -43
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.spec.ts +0 -48
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.ts +0 -16
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.module.ts +0 -15
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.html +0 -33
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.ts +0 -70
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.spec.ts +0 -77
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomDialog.component.scss +0 -77
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndCollectPurgeableConfigs.ts +0 -32
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.html +0 -11
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.ts +0 -49
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.spec.ts +0 -90
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/validateLocalStorageSize.ts +0 -16
- package/app/codeCharta/ui/customConfigs/customConfigHelper.service.ts +0 -23
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.ts +0 -15
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.spec.ts +0 -60
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.ts +0 -27
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.html +0 -24
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.scss +0 -52
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.ts +0 -26
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.spec.ts +0 -76
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.ts +0 -13
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.html +0 -42
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.scss +0 -38
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.spec.ts +0 -148
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.ts +0 -31
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.spec.ts +0 -50
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.ts +0 -24
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.html +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.scss +0 -122
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.spec.ts +0 -135
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.ts +0 -17
- package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.spec.ts +0 -151
- package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.ts +0 -53
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.html +0 -12
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.scss +0 -31
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.ts +0 -12
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.spec.ts +0 -90
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.ts +0 -33
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.module.ts +0 -14
- package/app/codeCharta/ui/customConfigs/customConfigs.component.html +0 -6
- package/app/codeCharta/ui/customConfigs/customConfigs.component.scss +0 -7
- package/app/codeCharta/ui/customConfigs/customConfigs.component.spec.ts +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigs.component.ts +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigs.module.ts +0 -41
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.component.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.module.ts +0 -11
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigHelper.ts +0 -24
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.html +0 -7
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.scss +0 -21
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.ts +0 -32
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.spec.ts +0 -70
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.ts +0 -26
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.spec.ts +0 -9
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.ts +0 -30
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.module.ts +0 -8
- package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.spec.ts +0 -43
- package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.ts +0 -20
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.html +0 -18
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.scss +0 -36
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.spec.ts +0 -63
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.ts +0 -63
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.e2e.ts +0 -26
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.module.ts +0 -10
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.html +0 -9
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.scss +0 -17
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.ts +0 -11
- package/app/codeCharta/ui/dialogs/dialogs.ts +0 -4
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.html +0 -7
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.po.ts +0 -13
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.ts +0 -10
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.html +0 -1
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.spec.ts +0 -66
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.ts +0 -30
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser..module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.html +0 -7
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.html +0 -40
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.scss +0 -88
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.spec.ts +0 -80
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.ts +0 -59
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.spec.ts +0 -212
- package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.ts +0 -123
- package/app/codeCharta/ui/fileExtensionBar/selectors/metricDistribution.selector.ts +0 -11
- package/app/codeCharta/ui/filePanel/filePanel.component.html +0 -3
- package/app/codeCharta/ui/filePanel/filePanel.component.scss +0 -73
- package/app/codeCharta/ui/filePanel/filePanel.component.spec.ts +0 -34
- package/app/codeCharta/ui/filePanel/filePanel.component.ts +0 -16
- package/app/codeCharta/ui/filePanel/filePanel.module.ts +0 -25
- package/app/codeCharta/ui/filePanel/filePanel.po.ts +0 -17
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.html +0 -27
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.scss +0 -6
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.ts +0 -37
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.spec.ts +0 -9
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.ts +0 -8
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.html +0 -19
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.scss +0 -42
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.spec.ts +0 -87
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.ts +0 -58
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.html +0 -3
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.ts +0 -21
- package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.html +0 -20
- package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.ts +0 -16
- package/app/codeCharta/ui/filePanel/fileSelectionMode.service.spec.ts +0 -56
- package/app/codeCharta/ui/filePanel/fileSelectionMode.service.ts +0 -55
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.html +0 -23
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.scss +0 -41
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.spec.ts +0 -55
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.ts +0 -18
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.module.ts +0 -13
- package/app/codeCharta/ui/labelledColorPicker/readableColorForBackground.pipe.ts +0 -9
- package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.html +0 -24
- package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.ts +0 -19
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.html +0 -11
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.scss +0 -5
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.spec.ts +0 -37
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.ts +0 -41
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.module.ts +0 -12
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.selector.ts +0 -18
- package/app/codeCharta/ui/legendPanel/legendPanel.component.html +0 -38
- package/app/codeCharta/ui/legendPanel/legendPanel.component.scss +0 -101
- package/app/codeCharta/ui/legendPanel/legendPanel.component.spec.ts +0 -122
- package/app/codeCharta/ui/legendPanel/legendPanel.component.ts +0 -30
- package/app/codeCharta/ui/legendPanel/legendPanel.e2e.ts +0 -60
- package/app/codeCharta/ui/legendPanel/legendPanel.module.ts +0 -16
- package/app/codeCharta/ui/legendPanel/legendPanel.po.ts +0 -23
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.html +0 -3
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.scss +0 -16
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.ts +0 -19
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.module.ts +0 -11
- package/app/codeCharta/ui/metricChooser/filterMetricDataBySearchTerm.pipe.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooser.component.html +0 -28
- package/app/codeCharta/ui/metricChooser/metricChooser.component.scss +0 -78
- package/app/codeCharta/ui/metricChooser/metricChooser.component.spec.ts +0 -133
- package/app/codeCharta/ui/metricChooser/metricChooser.component.ts +0 -42
- package/app/codeCharta/ui/metricChooser/metricChooser.module.ts +0 -14
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeType.selector.spec.ts +0 -27
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeTypeSelector.selector.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.spec.ts +0 -15
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.ts +0 -7
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.html +0 -3
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.spec.ts +0 -28
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.ts +0 -26
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.module.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.html +0 -20
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.spec.ts +0 -105
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.ts +0 -23
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.module.ts +0 -11
- package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.spec.ts +0 -17
- package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.ts +0 -43
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.html +0 -4
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.scss +0 -29
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.spec.ts +0 -49
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.ts +0 -29
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.spec.ts +0 -60
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.html +0 -18
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.scss +0 -19
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.spec.ts +0 -46
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.ts +0 -39
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.module.ts +0 -13
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.html +0 -4
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.scss +0 -93
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.ts +0 -16
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.module.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.html +0 -62
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.spec.ts +0 -87
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/riskProfileBar.directive.ts +0 -18
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.spec.ts +0 -65
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.ts +0 -98
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/artificialIntelligence.metricThresholds.ts +0 -136
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/getMetricThresholds.ts +0 -5
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.spec.ts +0 -17
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.spec.ts +0 -67
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.ts +0 -42
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.spec.ts +0 -197
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.ts +0 -118
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.html +0 -69
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.spec.ts +0 -137
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.ts +0 -53
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.html +0 -11
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.spec.ts +0 -80
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.ts +0 -24
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.html +0 -68
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.scss +0 -28
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.spec.ts +0 -120
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.ts +0 -57
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.module.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.spec.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.ts +0 -47
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.html +0 -58
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.scss +0 -53
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.spec.ts +0 -117
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.ts +0 -133
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.html +0 -30
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.scss +0 -9
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.spec.ts +0 -64
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.ts +0 -72
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.spec.ts +0 -160
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.ts +0 -142
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderColors.selector.ts +0 -9
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderValues.selector.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.e2e.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.po.ts +0 -34
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.html +0 -20
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.scss +0 -3
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.spec.ts +0 -75
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.ts +0 -25
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.spec.ts +0 -22
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.html +0 -3
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.spec.ts +0 -27
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.ts +0 -25
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.html +0 -39
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.spec.ts +0 -46
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.ts +0 -44
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.module.ts +0 -15
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/selectors/amountOfBuildingsWithSelectedEdgeMetric.selector.ts +0 -9
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.spec.ts +0 -62
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.html +0 -43
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.spec.ts +0 -60
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.ts +0 -56
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.module.ts +0 -13
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/selectors/isLabelsSliderDisabled.selector.ts +0 -7
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.html +0 -7
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.scss +0 -21
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.spec.ts +0 -39
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.module.ts +0 -10
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.html +0 -127
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.scss +0 -245
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.spec.ts +0 -112
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.ts +0 -65
- package/app/codeCharta/ui/ribbonBar/ribbonBar.e2e.ts +0 -71
- package/app/codeCharta/ui/ribbonBar/ribbonBar.module.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/ribbonBar.po.ts +0 -17
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.html +0 -33
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.scss +0 -23
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.spec.ts +0 -79
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.ts +0 -41
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/customScenarioName.validator.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.spec.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.ts +0 -55
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.spec.ts +0 -84
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.ts +0 -61
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.spec.ts +0 -320
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.ts +0 -261
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.html +0 -27
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.scss +0 -66
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.spec.ts +0 -67
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.html +0 -7
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.scss +0 -4
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.spec.ts +0 -22
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.ts +0 -19
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.module.ts +0 -15
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.html +0 -14
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.spec.ts +0 -46
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.ts +0 -84
- package/app/codeCharta/ui/screenshotButton/screenshotButton.module.ts +0 -11
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.html +0 -38
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.scss +0 -23
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.spec.ts +0 -60
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.ts +0 -22
- package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.spec.ts +0 -21
- package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.ts +0 -12
- package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.spec.ts +0 -14
- package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.ts +0 -11
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.html +0 -1
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.scss +0 -88
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.ts +0 -20
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.e2e.ts +0 -46
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.po.ts +0 -32
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.module.ts +0 -27
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.html +0 -6
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.ts +0 -12
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.ts +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.spec.ts +0 -44
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.ts +0 -27
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.html +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.spec.ts +0 -62
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.ts +0 -30
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.html +0 -9
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.ts +0 -11
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.html +0 -31
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.spec.ts +0 -156
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.ts +0 -77
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mocks.ts +0 -42
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/mapTreeViewNode.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.spec.ts +0 -33
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.ts +0 -48
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.html +0 -14
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.scss +0 -49
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.spec.ts +0 -40
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.ts +0 -19
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.module.ts +0 -14
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.spec.ts +0 -24
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.ts +0 -39
- package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.spec.ts +0 -66
- package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.ts +0 -71
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.html +0 -37
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.scss +0 -56
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.spec.ts +0 -89
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.ts +0 -39
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.module.ts +0 -11
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.po.ts +0 -21
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isExcludePatternDisabled.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isFlattenPatternDisabled.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.ts +0 -6
- package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.ts +0 -22
- package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.spec.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.ts +0 -27
- package/app/codeCharta/ui/searchPanel/searchBar/utils/unifyWildCard.ts +0 -13
- package/app/codeCharta/ui/searchPanel/searchPanel.component.html +0 -19
- package/app/codeCharta/ui/searchPanel/searchPanel.component.scss +0 -5
- package/app/codeCharta/ui/searchPanel/searchPanel.component.spec.ts +0 -101
- package/app/codeCharta/ui/searchPanel/searchPanel.component.ts +0 -49
- package/app/codeCharta/ui/searchPanel/searchPanel.module.ts +0 -16
- package/app/codeCharta/ui/searchPanel/searchPanel.po.ts +0 -23
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/hideBlacklistItemsIndicator.selector.ts +0 -4
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.html +0 -9
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.scss +0 -17
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.spec.ts +0 -22
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.ts +0 -23
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.po.ts +0 -29
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.html +0 -7
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.spec.ts +0 -29
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.ts +0 -26
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.html +0 -5
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.spec.ts +0 -41
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.ts +0 -25
- package/app/codeCharta/ui/slider/slider.component.html +0 -19
- package/app/codeCharta/ui/slider/slider.component.scss +0 -49
- package/app/codeCharta/ui/slider/slider.component.spec.ts +0 -56
- package/app/codeCharta/ui/slider/slider.component.ts +0 -30
- package/app/codeCharta/ui/slider/slider.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.html +0 -6
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.spec.ts +0 -91
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.module.ts +0 -13
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.html +0 -42
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.scss +0 -58
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.ts +0 -70
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.spec.ts +0 -61
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.ts +0 -37
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.html +0 -3
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.scss +0 -63
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.ts +0 -19
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.module.ts +0 -15
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.html +0 -8
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.spec.ts +0 -36
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.ts +0 -21
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.html +0 -54
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.spec.ts +0 -31
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.ts +0 -54
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.html +0 -18
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.spec.ts +0 -69
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.ts +0 -29
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.module.ts +0 -12
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.html +0 -12
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.scss +0 -18
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.spec.ts +0 -71
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.module.ts +0 -10
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.spec.ts +0 -26
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.ts +0 -11
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.html +0 -7
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.scss +0 -4
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.ts +0 -19
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.html +0 -9
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.scss +0 -7
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.spec.ts +0 -20
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.ts +0 -22
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/toolBar.component.html +0 -14
- package/app/codeCharta/ui/toolBar/toolBar.component.scss +0 -24
- package/app/codeCharta/ui/toolBar/toolBar.component.spec.ts +0 -44
- package/app/codeCharta/ui/toolBar/toolBar.component.ts +0 -18
- package/app/codeCharta/ui/toolBar/toolBar.module.ts +0 -32
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFiles.service.ts +0 -69
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.html +0 -1
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.scss +0 -3
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.spec.ts +0 -19
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.e2e.ts +0 -99
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.module.ts +0 -10
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.po.ts +0 -21
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.html +0 -3
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.scss +0 -23
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.spec.ts +0 -24
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.ts +0 -16
- package/app/codeCharta/ui/viewCube/viewCube.component.html +0 -1
- package/app/codeCharta/ui/viewCube/viewCube.component.spec.ts +0 -292
- package/app/codeCharta/ui/viewCube/viewCube.component.ts +0 -245
- package/app/codeCharta/ui/viewCube/viewCube.materials.ts +0 -5
- package/app/codeCharta/ui/viewCube/viewCube.meshGenerator.ts +0 -241
- package/app/codeCharta/ui/viewCube/viewCube.module.ts +0 -11
- package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.spec.ts +0 -306
- package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.ts +0 -166
- package/app/codeCharta/util/EventEmitter.ts +0 -22
- package/app/codeCharta/util/__snapshots__/aggregationGenerator.spec.ts.snap +0 -406
- package/app/codeCharta/util/__snapshots__/deltaGenerator.spec.ts.snap +0 -385
- package/app/codeCharta/util/__snapshots__/fileHelper.spec.ts.snap +0 -78
- package/app/codeCharta/util/aggregationGenerator.spec.ts +0 -120
- package/app/codeCharta/util/aggregationGenerator.ts +0 -116
- package/app/codeCharta/util/algorithm/streetLayout/boundingBox.ts +0 -25
- package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.spec.ts +0 -36
- package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.ts +0 -252
- package/app/codeCharta/util/algorithm/streetLayout/house.spec.ts +0 -26
- package/app/codeCharta/util/algorithm/streetLayout/house.ts +0 -26
- package/app/codeCharta/util/algorithm/streetLayout/rectangle.spec.ts +0 -43
- package/app/codeCharta/util/algorithm/streetLayout/rectangle.ts +0 -32
- package/app/codeCharta/util/algorithm/streetLayout/squarifiedTreeMap.ts +0 -112
- package/app/codeCharta/util/algorithm/streetLayout/street.ts +0 -25
- package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.spec.ts +0 -24
- package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.ts +0 -96
- package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.spec.ts +0 -46
- package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.ts +0 -97
- package/app/codeCharta/util/algorithm/streetLayout/strip/horizontalStrip.ts +0 -62
- package/app/codeCharta/util/algorithm/streetLayout/strip/strip.ts +0 -66
- package/app/codeCharta/util/algorithm/streetLayout/strip/verticalStrip.ts +0 -62
- package/app/codeCharta/util/algorithm/streetLayout/treeMap.ts +0 -22
- package/app/codeCharta/util/algorithm/streetLayout/verticalStreet.ts +0 -190
- package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapGenerator.spec.ts.snap +0 -2266
- package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapHelper.spec.ts.snap +0 -155
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.spec.ts +0 -196
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.ts +0 -271
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.spec.ts +0 -448
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.ts +0 -256
- package/app/codeCharta/util/arrayHelper.spec.ts +0 -43
- package/app/codeCharta/util/arrayHelper.ts +0 -31
- package/app/codeCharta/util/clone.spec.ts +0 -13
- package/app/codeCharta/util/clone.ts +0 -5
- package/app/codeCharta/util/codeMapHelper.spec.ts +0 -151
- package/app/codeCharta/util/codeMapHelper.ts +0 -131
- package/app/codeCharta/util/color/colorConverter.spec.ts +0 -174
- package/app/codeCharta/util/color/colorConverter.ts +0 -141
- package/app/codeCharta/util/color/getReadableColorForBackground.spec.ts +0 -11
- package/app/codeCharta/util/color/getReadableColorForBackground.ts +0 -8
- package/app/codeCharta/util/color/gradientCalculator.ts +0 -79
- package/app/codeCharta/util/color/hsl.spec.ts +0 -29
- package/app/codeCharta/util/color/hsl.ts +0 -25
- package/app/codeCharta/util/customConfigBuilder.spec.ts +0 -61
- package/app/codeCharta/util/customConfigBuilder.ts +0 -140
- package/app/codeCharta/util/customConfigHelper.spec.ts +0 -442
- package/app/codeCharta/util/customConfigHelper.ts +0 -210
- package/app/codeCharta/util/dataMocks.ts +0 -2341
- package/app/codeCharta/util/debounce.spec.ts +0 -16
- package/app/codeCharta/util/debounce.ts +0 -10
- package/app/codeCharta/util/deltaGenerator.spec.ts +0 -352
- package/app/codeCharta/util/deltaGenerator.ts +0 -161
- package/app/codeCharta/util/fileDownloader.spec.ts +0 -105
- package/app/codeCharta/util/fileDownloader.ts +0 -124
- package/app/codeCharta/util/fileHelper.spec.ts +0 -207
- package/app/codeCharta/util/fileHelper.ts +0 -95
- package/app/codeCharta/util/fileNameHelper.spec.ts +0 -103
- package/app/codeCharta/util/fileNameHelper.ts +0 -40
- package/app/codeCharta/util/fileValidator.spec.ts +0 -307
- package/app/codeCharta/util/fileValidator.ts +0 -222
- package/app/codeCharta/util/gameObjectsParser/__snapshots__/gameObjectsImporter.spec.ts.snap +0 -121
- package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.spec.ts +0 -11
- package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.ts +0 -201
- package/app/codeCharta/util/gameObjectsParser/gameObjectsMocks.ts +0 -75
- package/app/codeCharta/util/gameObjectsParser/gameObjectsSchema.json +0 -271
- package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.spec.ts +0 -18
- package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.ts +0 -7
- package/app/codeCharta/util/generatedSchema.json +0 -265
- package/app/codeCharta/util/globalSettingsHelper.spec.ts +0 -67
- package/app/codeCharta/util/globalSettingsHelper.ts +0 -68
- package/app/codeCharta/util/loadFilesValidationToErrorDialog.ts +0 -37
- package/app/codeCharta/util/metric/metricTitles.ts +0 -19
- package/app/codeCharta/util/mockHelper.ts +0 -8
- package/app/codeCharta/util/nodeDecorator.spec.ts +0 -466
- package/app/codeCharta/util/nodeDecorator.ts +0 -358
- package/app/codeCharta/util/nodePathHelper.ts +0 -30
- package/app/codeCharta/util/parseNumberInput.spec.ts +0 -18
- package/app/codeCharta/util/parseNumberInput.ts +0 -10
- package/app/codeCharta/util/pipes/AttributeDescriptorTooltipPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/RemoveExtensionPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/TruncateTextPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.spec.ts +0 -61
- package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.ts +0 -19
- package/app/codeCharta/util/pipes/removeExtension.pipe.spec.ts +0 -15
- package/app/codeCharta/util/pipes/removeExtension.pipe.ts +0 -10
- package/app/codeCharta/util/pipes/truncateText.pipe.ts +0 -8
- package/app/codeCharta/util/pipes/truncateText.spec.ts +0 -19
- package/app/codeCharta/util/settingsHelper.spec.ts +0 -47
- package/app/codeCharta/util/settingsHelper.ts +0 -17
- package/app/codeCharta/util/testUtils/markdown-transformer.js +0 -11
- package/app/codeCharta/util/testUtils/store.utils.ts +0 -6
- package/app/codeCharta/util/testUtils/wait.ts +0 -1
- package/app/codeCharta/util/uploadFiles/createCCFileInput.spec.ts +0 -13
- package/app/codeCharta/util/uploadFiles/createCCFileInput.ts +0 -8
- package/app/codeCharta/util/uploadFiles/loadFilesValidationToErrorDialog.spec.ts +0 -16
- package/app/codeCharta/util/uploadFiles/readFiles.spec.ts +0 -16
- package/app/codeCharta/util/uploadFiles/readFiles.ts +0 -37
- package/app/index.html +0 -12
- package/app/material/_theme.scss +0 -64
- package/app/material/matDialog.scss +0 -3
- package/app/material/matMenu.scss +0 -16
- package/app/material/material.module.ts +0 -49
- package/app/material/material.scss +0 -23
- package/app/mixins.scss +0 -8
- package/app/polyfills.ts +0 -28
- package/app/puppeteer.helper.ts +0 -19
- package/dist/webpack/main.72e50b3629f3da0d.js +0 -1
|
@@ -1,838 +0,0 @@
|
|
|
1
|
-
import { TestBed } from "@angular/core/testing"
|
|
2
|
-
import { ClickType, CodeMapMouseEventService, CursorType } from "./codeMap.mouseEvent.service"
|
|
3
|
-
import { ThreeCameraService } from "./threeViewer/threeCamera.service"
|
|
4
|
-
import { ThreeSceneService } from "./threeViewer/threeSceneService"
|
|
5
|
-
import { ThreeRendererService } from "./threeViewer/threeRenderer.service"
|
|
6
|
-
import { ViewCubeMouseEventsService } from "../viewCube/viewCube.mouseEvents.service"
|
|
7
|
-
import { CodeMapBuilding } from "./rendering/codeMapBuilding"
|
|
8
|
-
import { CODE_MAP_BUILDING, CONSTANT_HIGHLIGHT, TEST_FILE_WITH_PATHS, TEST_NODES } from "../../util/dataMocks"
|
|
9
|
-
import { BlacklistItem, CcState, CodeMapNode, Node } from "../../codeCharta.model"
|
|
10
|
-
import { NodeDecorator } from "../../util/nodeDecorator"
|
|
11
|
-
import { klona } from "klona"
|
|
12
|
-
import { CodeMapLabelService } from "./codeMap.label.service"
|
|
13
|
-
import { CodeMapMesh } from "./rendering/codeMapMesh"
|
|
14
|
-
import { BufferGeometry, Material, Object3D, Raycaster, Vector3 } from "three"
|
|
15
|
-
import { ThreeViewerService } from "./threeViewer/threeViewer.service"
|
|
16
|
-
import { idToNodeSelector } from "../../state/selectors/accumulatedData/idToNode.selector"
|
|
17
|
-
import { IdToBuildingService } from "../../services/idToBuilding/idToBuilding.service"
|
|
18
|
-
import { setRightClickedNodeData } from "../../state/store/appStatus/rightClickedNodeData/rightClickedNodeData.actions"
|
|
19
|
-
import { State, Store } from "@ngrx/store"
|
|
20
|
-
import { MockStore, provideMockStore } from "@ngrx/store/testing"
|
|
21
|
-
import { defaultState } from "../../state/store/state.manager"
|
|
22
|
-
|
|
23
|
-
jest.mock("../../state/selectors/accumulatedData/idToNode.selector", () => ({
|
|
24
|
-
idToNodeSelector: jest.fn()
|
|
25
|
-
}))
|
|
26
|
-
const mockedIdToNodeSelector = jest.mocked(idToNodeSelector)
|
|
27
|
-
|
|
28
|
-
describe("codeMapMouseEventService", () => {
|
|
29
|
-
let codeMapMouseEventService: CodeMapMouseEventService
|
|
30
|
-
let threeCameraService: ThreeCameraService
|
|
31
|
-
let threeRendererService: ThreeRendererService
|
|
32
|
-
let threeSceneService: ThreeSceneService
|
|
33
|
-
let store: Store<CcState>
|
|
34
|
-
let state: State<CcState>
|
|
35
|
-
let codeMapLabelService: CodeMapLabelService
|
|
36
|
-
let viewCubeMouseEventsService: ViewCubeMouseEventsService
|
|
37
|
-
let threeViewerService: ThreeViewerService
|
|
38
|
-
let idToBuildingService: IdToBuildingService
|
|
39
|
-
let constantHighlight: Map<number, CodeMapBuilding>
|
|
40
|
-
|
|
41
|
-
let codeMapBuilding: CodeMapBuilding
|
|
42
|
-
|
|
43
|
-
beforeEach(() => {
|
|
44
|
-
restartSystem()
|
|
45
|
-
rebuildService()
|
|
46
|
-
withMockedWindow()
|
|
47
|
-
withMockedThreeRendererService()
|
|
48
|
-
withMockedThreeCameraService()
|
|
49
|
-
withMockedThreeSceneService()
|
|
50
|
-
NodeDecorator.decorateMap(
|
|
51
|
-
TEST_FILE_WITH_PATHS.map,
|
|
52
|
-
{
|
|
53
|
-
nodeMetricData: [],
|
|
54
|
-
edgeMetricData: []
|
|
55
|
-
},
|
|
56
|
-
[]
|
|
57
|
-
)
|
|
58
|
-
constantHighlight = new Map(CONSTANT_HIGHLIGHT)
|
|
59
|
-
})
|
|
60
|
-
|
|
61
|
-
function restartSystem() {
|
|
62
|
-
TestBed.configureTestingModule({
|
|
63
|
-
providers: [provideMockStore(), { provide: State, useValue: { getValue: () => defaultState } }]
|
|
64
|
-
})
|
|
65
|
-
threeCameraService = TestBed.inject(ThreeCameraService)
|
|
66
|
-
threeRendererService = TestBed.inject(ThreeRendererService)
|
|
67
|
-
threeSceneService = TestBed.inject(ThreeSceneService)
|
|
68
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
69
|
-
clearHighlight: jest.fn(),
|
|
70
|
-
highlightSingleBuilding: jest.fn(),
|
|
71
|
-
clearSelection: jest.fn(),
|
|
72
|
-
selectBuilding: jest.fn(),
|
|
73
|
-
getMeshDescription: jest.fn().mockReturnValue({
|
|
74
|
-
buildings: [codeMapBuilding]
|
|
75
|
-
}),
|
|
76
|
-
checkMouseRayMeshIntersection: jest.fn()
|
|
77
|
-
})
|
|
78
|
-
threeSceneService.getSelectedBuilding = jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
79
|
-
threeSceneService.getHighlightedBuilding = jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
80
|
-
threeSceneService.getConstantHighlight = jest.fn().mockReturnValue(new Map())
|
|
81
|
-
|
|
82
|
-
store = TestBed.inject(MockStore)
|
|
83
|
-
state = TestBed.inject(State)
|
|
84
|
-
threeViewerService = TestBed.inject(ThreeViewerService)
|
|
85
|
-
viewCubeMouseEventsService = {
|
|
86
|
-
subscribe: jest.fn(),
|
|
87
|
-
propagateMovement: jest.fn(),
|
|
88
|
-
resetIsDragging: jest.fn(),
|
|
89
|
-
onDocumentDoubleClick: jest.fn()
|
|
90
|
-
} as unknown as ViewCubeMouseEventsService
|
|
91
|
-
idToBuildingService = TestBed.inject(IdToBuildingService)
|
|
92
|
-
codeMapLabelService = TestBed.inject(CodeMapLabelService)
|
|
93
|
-
codeMapLabelService["threeSceneService"] = threeSceneService
|
|
94
|
-
|
|
95
|
-
codeMapBuilding = klona(CODE_MAP_BUILDING)
|
|
96
|
-
document.body.style.cursor = CursorType.Default
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function rebuildService() {
|
|
100
|
-
codeMapMouseEventService = new CodeMapMouseEventService(
|
|
101
|
-
threeCameraService,
|
|
102
|
-
threeRendererService,
|
|
103
|
-
threeSceneService,
|
|
104
|
-
store,
|
|
105
|
-
state,
|
|
106
|
-
codeMapLabelService,
|
|
107
|
-
viewCubeMouseEventsService,
|
|
108
|
-
threeViewerService,
|
|
109
|
-
idToBuildingService
|
|
110
|
-
)
|
|
111
|
-
|
|
112
|
-
codeMapMouseEventService["oldMouse"] = { x: 1, y: 1 }
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
function withMockedWindow() {
|
|
116
|
-
window.open = jest.fn()
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
function withMockedThreeRendererService() {
|
|
120
|
-
threeRendererService = codeMapMouseEventService["threeRendererService"] = jest.fn().mockReturnValue({
|
|
121
|
-
renderer: {
|
|
122
|
-
domElement: {
|
|
123
|
-
addEventListener: jest.fn(),
|
|
124
|
-
getBoundingClientRect: jest.fn().mockReturnValue({
|
|
125
|
-
top: 0
|
|
126
|
-
}),
|
|
127
|
-
width: 1,
|
|
128
|
-
height: 1
|
|
129
|
-
},
|
|
130
|
-
getPixelRatio: jest.fn().mockReturnValue(2)
|
|
131
|
-
},
|
|
132
|
-
render: jest.fn()
|
|
133
|
-
})()
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function withMockedThreeCameraService() {
|
|
137
|
-
threeCameraService = codeMapMouseEventService["threeCameraService"] = jest.fn().mockReturnValue({
|
|
138
|
-
camera: {
|
|
139
|
-
updateMatrixWorld: jest.fn()
|
|
140
|
-
}
|
|
141
|
-
})()
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
function withMockedThreeSceneService() {
|
|
145
|
-
threeSceneService = codeMapMouseEventService["threeSceneService"] = jest.fn().mockReturnValue({
|
|
146
|
-
getMapMesh: jest.fn().mockReturnValue({
|
|
147
|
-
clearHighlight: jest.fn(),
|
|
148
|
-
highlightSingleBuilding: jest.fn(),
|
|
149
|
-
clearSelection: jest.fn(),
|
|
150
|
-
selectBuilding: jest.fn(),
|
|
151
|
-
getMeshDescription: jest.fn().mockReturnValue({
|
|
152
|
-
buildings: [codeMapBuilding]
|
|
153
|
-
}),
|
|
154
|
-
checkMouseRayMeshIntersection: jest.fn()
|
|
155
|
-
}),
|
|
156
|
-
clearHighlight: jest.fn(),
|
|
157
|
-
highlightSingleBuilding: jest.fn(),
|
|
158
|
-
clearSelection: jest.fn(),
|
|
159
|
-
clearConstantHighlight: jest.fn(),
|
|
160
|
-
clearHoverHighlight: jest.fn(),
|
|
161
|
-
selectBuilding: jest.fn(),
|
|
162
|
-
getSelectedBuilding: jest.fn().mockReturnValue(CODE_MAP_BUILDING),
|
|
163
|
-
getHighlightedBuilding: jest.fn().mockReturnValue(CODE_MAP_BUILDING),
|
|
164
|
-
getConstantHighlight: jest.fn().mockReturnValue(new Map()),
|
|
165
|
-
addBuildingToHighlightingList: jest.fn(),
|
|
166
|
-
highlightBuildings: jest.fn(),
|
|
167
|
-
resetLabel: jest.fn()
|
|
168
|
-
})()
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
describe("start", () => {
|
|
172
|
-
it("should register all event listeners", () => {
|
|
173
|
-
codeMapMouseEventService.start()
|
|
174
|
-
|
|
175
|
-
const addEventListenerMock = threeRendererService.renderer.domElement.addEventListener as jest.Mock
|
|
176
|
-
|
|
177
|
-
expect(addEventListenerMock.mock.calls[0][0]).toEqual("mousemove")
|
|
178
|
-
expect(addEventListenerMock.mock.calls[1][0]).toEqual("mouseup")
|
|
179
|
-
expect(addEventListenerMock.mock.calls[2][0]).toEqual("mousedown")
|
|
180
|
-
expect(addEventListenerMock.mock.calls[3][0]).toEqual("dblclick")
|
|
181
|
-
expect(addEventListenerMock.mock.calls[4][0]).toEqual("mouseleave")
|
|
182
|
-
expect(addEventListenerMock.mock.calls[5][0]).toEqual("mouseenter")
|
|
183
|
-
expect(addEventListenerMock.mock.calls[6][0]).toEqual("wheel")
|
|
184
|
-
expect(addEventListenerMock).toHaveBeenCalledTimes(7)
|
|
185
|
-
})
|
|
186
|
-
})
|
|
187
|
-
|
|
188
|
-
describe("onViewCubeEventPropagation", () => {
|
|
189
|
-
beforeEach(() => {
|
|
190
|
-
codeMapMouseEventService.onDocumentMouseMove = jest.fn()
|
|
191
|
-
codeMapMouseEventService.onDocumentMouseDown = jest.fn()
|
|
192
|
-
codeMapMouseEventService.onDocumentMouseUp = jest.fn()
|
|
193
|
-
codeMapMouseEventService.onDocumentDoubleClick = jest.fn()
|
|
194
|
-
})
|
|
195
|
-
|
|
196
|
-
it("should call onDocumentMouseMove", () => {
|
|
197
|
-
const data = { type: "mousemove", event: new MouseEvent("mousemove") }
|
|
198
|
-
codeMapMouseEventService.onViewCubeEventPropagation(data)
|
|
199
|
-
expect(codeMapMouseEventService.onDocumentMouseMove).toHaveBeenCalledWith(data.event)
|
|
200
|
-
})
|
|
201
|
-
|
|
202
|
-
it("should call onDocumentMouseDown", () => {
|
|
203
|
-
const data = { type: "mousedown", event: new MouseEvent("mousedown") }
|
|
204
|
-
codeMapMouseEventService.onViewCubeEventPropagation(data)
|
|
205
|
-
expect(codeMapMouseEventService.onDocumentMouseDown).toHaveBeenCalledWith(data.event)
|
|
206
|
-
expect(codeMapMouseEventService.onDocumentDoubleClick).not.toHaveBeenCalled()
|
|
207
|
-
})
|
|
208
|
-
|
|
209
|
-
it("should call onDocumentMouseUp", () => {
|
|
210
|
-
const data = { type: "mouseup", event: new MouseEvent("mouseup") }
|
|
211
|
-
codeMapMouseEventService.onViewCubeEventPropagation(data)
|
|
212
|
-
expect(codeMapMouseEventService.onDocumentMouseUp).toHaveBeenCalledWith(data.event)
|
|
213
|
-
})
|
|
214
|
-
|
|
215
|
-
it("should call onDocumentDoubleClick", () => {
|
|
216
|
-
const data = { type: "dblclick", event: new MouseEvent("dblclick") }
|
|
217
|
-
codeMapMouseEventService.onViewCubeEventPropagation(data)
|
|
218
|
-
expect(codeMapMouseEventService.onDocumentDoubleClick).toHaveBeenCalledWith()
|
|
219
|
-
})
|
|
220
|
-
})
|
|
221
|
-
|
|
222
|
-
describe("onFilesSelectionChanged", () => {
|
|
223
|
-
it("should deselect the building", () => {
|
|
224
|
-
codeMapMouseEventService.onFilesSelectionChanged()
|
|
225
|
-
|
|
226
|
-
expect(threeSceneService.clearSelection).toHaveBeenCalled()
|
|
227
|
-
})
|
|
228
|
-
})
|
|
229
|
-
|
|
230
|
-
describe("onBlacklistChanged", () => {
|
|
231
|
-
it("should deselect the building when the selected building is excluded", () => {
|
|
232
|
-
const blacklist: BlacklistItem[] = [{ path: CODE_MAP_BUILDING.node.path, type: "exclude" }]
|
|
233
|
-
|
|
234
|
-
codeMapMouseEventService.onBlacklistChanged(blacklist)
|
|
235
|
-
|
|
236
|
-
expect(threeSceneService.clearSelection).toHaveBeenCalled()
|
|
237
|
-
})
|
|
238
|
-
|
|
239
|
-
it("should deselect the building when the selected building is hidden", () => {
|
|
240
|
-
const blacklist: BlacklistItem[] = [{ path: CODE_MAP_BUILDING.node.path, type: "flatten" }]
|
|
241
|
-
|
|
242
|
-
codeMapMouseEventService.onBlacklistChanged(blacklist)
|
|
243
|
-
|
|
244
|
-
expect(threeSceneService.clearSelection).toHaveBeenCalled()
|
|
245
|
-
})
|
|
246
|
-
|
|
247
|
-
it("should not deselect the building when the selected building is not blacklisted", () => {
|
|
248
|
-
codeMapMouseEventService.onBlacklistChanged([])
|
|
249
|
-
|
|
250
|
-
expect(threeSceneService.clearSelection).not.toHaveBeenCalled()
|
|
251
|
-
})
|
|
252
|
-
|
|
253
|
-
it("should not deselect the building when no building is selected", () => {
|
|
254
|
-
threeSceneService.getSelectedBuilding = jest.fn()
|
|
255
|
-
|
|
256
|
-
codeMapMouseEventService.onBlacklistChanged([])
|
|
257
|
-
|
|
258
|
-
expect(threeSceneService.clearSelection).not.toHaveBeenCalled()
|
|
259
|
-
})
|
|
260
|
-
})
|
|
261
|
-
|
|
262
|
-
describe("changeCursorIndicator", () => {
|
|
263
|
-
it("should set the mouseIcon to grabbing", () => {
|
|
264
|
-
CodeMapMouseEventService.changeCursorIndicator(CursorType.Grabbing)
|
|
265
|
-
|
|
266
|
-
expect(document.body.style.cursor).toEqual(CursorType.Grabbing)
|
|
267
|
-
})
|
|
268
|
-
|
|
269
|
-
it("should set the mouseIcon to default", () => {
|
|
270
|
-
document.body.style.cursor = CursorType.Pointer
|
|
271
|
-
|
|
272
|
-
CodeMapMouseEventService.changeCursorIndicator(CursorType.Default)
|
|
273
|
-
|
|
274
|
-
expect(document.body.style.cursor).toEqual(CursorType.Default)
|
|
275
|
-
})
|
|
276
|
-
})
|
|
277
|
-
|
|
278
|
-
describe("updateHoveringIntegrationTest", () => {
|
|
279
|
-
it("should not animate any labels and reset animated label and temporary label if the map is turned", () => {
|
|
280
|
-
const label = new Object3D()
|
|
281
|
-
setAnimatedLabel(label)
|
|
282
|
-
const animatedLabelPosition = label.position.clone()
|
|
283
|
-
|
|
284
|
-
// Grabbing and turning the map (should reset the animated label)
|
|
285
|
-
codeMapMouseEventService.onDocumentMouseDown({ button: ClickType.LeftClick } as MouseEvent)
|
|
286
|
-
expect(codeMapMouseEventService["isGrabbing"]).toBe(true)
|
|
287
|
-
expect(codeMapMouseEventService["isMoving"]).toBe(false)
|
|
288
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 2, clientY: 3 } as MouseEvent)
|
|
289
|
-
|
|
290
|
-
codeMapMouseEventService["temporaryLabelForBuilding"] = label.clone()
|
|
291
|
-
codeMapMouseEventService.updateHovering()
|
|
292
|
-
|
|
293
|
-
expect(threeSceneService["highlightedLabel"]).toBeNull()
|
|
294
|
-
expect(codeMapMouseEventService["temporaryLabelForBuilding"]).toBeNull()
|
|
295
|
-
expect(label["material"].opacity).toEqual(0.7)
|
|
296
|
-
expect(label.position).not.toEqual(animatedLabelPosition)
|
|
297
|
-
})
|
|
298
|
-
|
|
299
|
-
it("should not animate any labels and reset animated label and temporary label if the map is moved", () => {
|
|
300
|
-
const label = new Object3D()
|
|
301
|
-
setAnimatedLabel(label)
|
|
302
|
-
const animatedLabelPosition = label.position.clone()
|
|
303
|
-
|
|
304
|
-
// Grabbing and moving the map (should reset the animated label)
|
|
305
|
-
codeMapMouseEventService.onDocumentMouseDown({ button: ClickType.RightClick } as MouseEvent)
|
|
306
|
-
expect(codeMapMouseEventService["isGrabbing"]).toBe(false)
|
|
307
|
-
expect(codeMapMouseEventService["isMoving"]).toBe(true)
|
|
308
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 3, clientY: 4 } as MouseEvent)
|
|
309
|
-
|
|
310
|
-
codeMapMouseEventService["temporaryLabelForBuilding"] = label.clone()
|
|
311
|
-
codeMapMouseEventService.updateHovering()
|
|
312
|
-
|
|
313
|
-
expect(threeSceneService["highlightedLabel"]).toBeNull()
|
|
314
|
-
expect(codeMapMouseEventService["temporaryLabelForBuilding"]).toBeNull()
|
|
315
|
-
expect(label["material"].opacity).toEqual(0.7)
|
|
316
|
-
expect(label.position).not.toEqual(animatedLabelPosition)
|
|
317
|
-
})
|
|
318
|
-
|
|
319
|
-
function setAnimatedLabel(label: Object3D) {
|
|
320
|
-
// At first, animate a label
|
|
321
|
-
threeSceneService = new ThreeSceneService(
|
|
322
|
-
TestBed.inject(Store),
|
|
323
|
-
TestBed.inject(State),
|
|
324
|
-
idToBuildingService,
|
|
325
|
-
threeRendererService
|
|
326
|
-
)
|
|
327
|
-
threeSceneService["mapMesh"] = new CodeMapMesh(TEST_NODES, state.getValue(), false)
|
|
328
|
-
threeSceneService["highlighted"] = [CODE_MAP_BUILDING]
|
|
329
|
-
threeSceneService["constantHighlight"] = constantHighlight
|
|
330
|
-
|
|
331
|
-
const resultPosition = new Vector3(0.5, 0.5, 0)
|
|
332
|
-
|
|
333
|
-
const labels = []
|
|
334
|
-
const placeholderLine = new Object3D()
|
|
335
|
-
const labelNode = new Object3D()
|
|
336
|
-
label["material"] = new Material()
|
|
337
|
-
const rayCaster = new Raycaster(new Vector3(10, 10, 0), new Vector3(1, 1, 1))
|
|
338
|
-
|
|
339
|
-
labelNode.translateX(-4)
|
|
340
|
-
labelNode.translateY(5)
|
|
341
|
-
|
|
342
|
-
const points = [new Vector3(2, 2, 2), new Vector3(1, 1, 1)]
|
|
343
|
-
|
|
344
|
-
const lineGeometry = new BufferGeometry().setFromPoints(points)
|
|
345
|
-
placeholderLine["geometry"] = lineGeometry
|
|
346
|
-
|
|
347
|
-
labels.push(label, placeholderLine, labelNode, placeholderLine)
|
|
348
|
-
|
|
349
|
-
threeSceneService.animateLabel(label, rayCaster, labels)
|
|
350
|
-
|
|
351
|
-
// Ensure that label is animated correctly
|
|
352
|
-
expect(label["material"].opacity).toEqual(1)
|
|
353
|
-
expect(label.position).toEqual(resultPosition)
|
|
354
|
-
expect(threeSceneService["highlightedLabel"]).toEqual(label)
|
|
355
|
-
|
|
356
|
-
// Rebuild service with modified threeSceneService
|
|
357
|
-
rebuildService()
|
|
358
|
-
}
|
|
359
|
-
})
|
|
360
|
-
|
|
361
|
-
describe("updateHovering", () => {
|
|
362
|
-
beforeEach(() => {
|
|
363
|
-
mockedIdToNodeSelector.mockImplementation(() => {
|
|
364
|
-
const idToNode = new Map<number, CodeMapNode>()
|
|
365
|
-
idToNode.set(codeMapBuilding.node.id, codeMapBuilding.node as unknown as CodeMapNode)
|
|
366
|
-
return idToNode
|
|
367
|
-
})
|
|
368
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
369
|
-
checkMouseRayMeshIntersection: jest.fn()
|
|
370
|
-
})
|
|
371
|
-
codeMapMouseEventService["transformHTMLToSceneCoordinates"] = jest.fn().mockReturnValue({ x: 0, y: 1 })
|
|
372
|
-
|
|
373
|
-
idToBuildingService.setIdToBuilding([CODE_MAP_BUILDING])
|
|
374
|
-
|
|
375
|
-
threeSceneService.resetLabel = jest.fn()
|
|
376
|
-
threeSceneService.getLabelForHoveredNode = jest.fn()
|
|
377
|
-
threeSceneService.animateLabel = jest.fn()
|
|
378
|
-
threeSceneService.getHighlightedBuilding = jest.fn()
|
|
379
|
-
})
|
|
380
|
-
|
|
381
|
-
it("should call updateMatrixWorld", () => {
|
|
382
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
383
|
-
|
|
384
|
-
codeMapMouseEventService.updateHovering()
|
|
385
|
-
|
|
386
|
-
expect(threeCameraService.camera.updateMatrixWorld).toHaveBeenCalledWith(false)
|
|
387
|
-
})
|
|
388
|
-
|
|
389
|
-
it("should un-highlight the building, when no intersection was found and a building is hovered", () => {
|
|
390
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
391
|
-
codeMapMouseEventService["highlightedInTreeView"] = null
|
|
392
|
-
codeMapMouseEventService["threeSceneService"].getHighlightedBuilding = () => ({ id: 1 } as CodeMapBuilding)
|
|
393
|
-
|
|
394
|
-
codeMapMouseEventService.updateHovering()
|
|
395
|
-
expect(threeSceneService.clearHighlight).toHaveBeenCalled()
|
|
396
|
-
})
|
|
397
|
-
|
|
398
|
-
it("should not call resetLabel if no change has happened ", () => {
|
|
399
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
400
|
-
codeMapMouseEventService["highlightedInTreeView"] = null
|
|
401
|
-
|
|
402
|
-
codeMapMouseEventService.updateHovering()
|
|
403
|
-
|
|
404
|
-
expect(threeSceneService.getLabelForHoveredNode).not.toHaveBeenCalled()
|
|
405
|
-
})
|
|
406
|
-
|
|
407
|
-
it("should call resetLabel when a new building is hovered", () => {
|
|
408
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
409
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
410
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
411
|
-
})
|
|
412
|
-
codeMapMouseEventService.updateHovering()
|
|
413
|
-
|
|
414
|
-
expect(threeSceneService.resetLabel).toHaveBeenCalled()
|
|
415
|
-
})
|
|
416
|
-
|
|
417
|
-
it("should call clearTemporaryLabel and remove temporary label when a new building is hovered", () => {
|
|
418
|
-
codeMapMouseEventService["temporaryLabelForBuilding"] = CODE_MAP_BUILDING.node
|
|
419
|
-
|
|
420
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
421
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
422
|
-
})
|
|
423
|
-
codeMapLabelService.clearTemporaryLabel = jest.fn()
|
|
424
|
-
codeMapMouseEventService.updateHovering()
|
|
425
|
-
|
|
426
|
-
expect(codeMapLabelService.clearTemporaryLabel).toHaveBeenCalled()
|
|
427
|
-
expect(codeMapLabelService["temporaryLabelForBuilding"]).not.toEqual(CODE_MAP_BUILDING.node)
|
|
428
|
-
})
|
|
429
|
-
|
|
430
|
-
it("should hover a node when an intersection was found and the cursor is set to pointing and call getLabelForHoveredNode", () => {
|
|
431
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
432
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
433
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
434
|
-
})
|
|
435
|
-
threeSceneService.animateLabel = jest.fn()
|
|
436
|
-
|
|
437
|
-
codeMapMouseEventService.updateHovering()
|
|
438
|
-
|
|
439
|
-
expect(threeSceneService.addBuildingToHighlightingList).toHaveBeenCalled()
|
|
440
|
-
expect(threeSceneService.highlightBuildings).toHaveBeenCalled()
|
|
441
|
-
expect(threeSceneService.getLabelForHoveredNode).toHaveBeenCalled()
|
|
442
|
-
expect(threeSceneService.animateLabel).toHaveBeenCalled()
|
|
443
|
-
expect(document.body.style.cursor).toEqual(CursorType.Pointer)
|
|
444
|
-
})
|
|
445
|
-
|
|
446
|
-
it("should not highlight node when an intersection was found and the cursor is set to grabbing", () => {
|
|
447
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
448
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
449
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
450
|
-
})
|
|
451
|
-
codeMapMouseEventService["isGrabbing"] = true
|
|
452
|
-
CodeMapMouseEventService.changeCursorIndicator(CursorType.Grabbing)
|
|
453
|
-
|
|
454
|
-
codeMapMouseEventService.updateHovering()
|
|
455
|
-
|
|
456
|
-
expect(threeSceneService.addBuildingToHighlightingList).not.toHaveBeenCalled()
|
|
457
|
-
expect(threeSceneService.highlightBuildings).not.toHaveBeenCalled()
|
|
458
|
-
expect(document.body.style.cursor).toEqual(CursorType.Grabbing)
|
|
459
|
-
})
|
|
460
|
-
|
|
461
|
-
it("should not highlight a node when an intersection was found and the cursor is set to moving", () => {
|
|
462
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
463
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
464
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
465
|
-
})
|
|
466
|
-
codeMapMouseEventService["isMoving"] = true
|
|
467
|
-
CodeMapMouseEventService.changeCursorIndicator(CursorType.Moving)
|
|
468
|
-
|
|
469
|
-
codeMapMouseEventService.updateHovering()
|
|
470
|
-
|
|
471
|
-
expect(threeSceneService.addBuildingToHighlightingList).not.toHaveBeenCalled()
|
|
472
|
-
expect(threeSceneService.highlightBuildings).not.toHaveBeenCalled()
|
|
473
|
-
expect(document.body.style.cursor).toEqual(CursorType.Moving)
|
|
474
|
-
})
|
|
475
|
-
|
|
476
|
-
it("should not highlight a node again when the intersection building is the same", () => {
|
|
477
|
-
codeMapMouseEventService["modifiedLabel"] = null
|
|
478
|
-
threeSceneService.getMapMesh = jest.fn().mockReturnValue({
|
|
479
|
-
checkMouseRayMeshIntersection: jest.fn().mockReturnValue(CODE_MAP_BUILDING)
|
|
480
|
-
})
|
|
481
|
-
|
|
482
|
-
codeMapMouseEventService.updateHovering()
|
|
483
|
-
|
|
484
|
-
expect(threeSceneService.highlightSingleBuilding).not.toHaveBeenCalled()
|
|
485
|
-
})
|
|
486
|
-
})
|
|
487
|
-
|
|
488
|
-
describe("onDocumentMouseUp", () => {
|
|
489
|
-
let event
|
|
490
|
-
|
|
491
|
-
it("should call resetIsDragging", () => {
|
|
492
|
-
event = { button: ClickType.LeftClick }
|
|
493
|
-
viewCubeMouseEventsService["resetIsDragging"] = jest.fn()
|
|
494
|
-
|
|
495
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
496
|
-
|
|
497
|
-
expect(viewCubeMouseEventsService.resetIsDragging).toHaveBeenCalled()
|
|
498
|
-
})
|
|
499
|
-
|
|
500
|
-
describe("on left click", () => {
|
|
501
|
-
beforeEach(() => {
|
|
502
|
-
event = { button: ClickType.LeftClick, clientX: 10, clientY: 20 }
|
|
503
|
-
codeMapMouseEventService["intersectedBuilding"] = undefined
|
|
504
|
-
})
|
|
505
|
-
it("should change the cursor to default when the left click is triggered", () => {
|
|
506
|
-
document.body.style.cursor = CursorType.Pointer
|
|
507
|
-
|
|
508
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
509
|
-
|
|
510
|
-
expect(document.body.style.cursor).toEqual(CursorType.Default)
|
|
511
|
-
})
|
|
512
|
-
|
|
513
|
-
it("should not do anything when no building is highlight and nothing is selected", () => {
|
|
514
|
-
threeSceneService.getHighlightedBuilding = jest.fn()
|
|
515
|
-
threeSceneService.getSelectedBuilding = jest.fn()
|
|
516
|
-
|
|
517
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
518
|
-
|
|
519
|
-
expect(threeSceneService.selectBuilding).not.toHaveBeenCalled()
|
|
520
|
-
})
|
|
521
|
-
|
|
522
|
-
it("should call selectBuilding when no building is selected", () => {
|
|
523
|
-
threeSceneService.getSelectedBuilding = jest.fn()
|
|
524
|
-
codeMapMouseEventService["intersectedBuilding"] = codeMapBuilding
|
|
525
|
-
|
|
526
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
527
|
-
|
|
528
|
-
expect(threeSceneService.selectBuilding).toHaveBeenCalledWith(codeMapBuilding)
|
|
529
|
-
})
|
|
530
|
-
|
|
531
|
-
it("should call selectBuilding when a new building is selected", () => {
|
|
532
|
-
threeSceneService.getSelectedBuilding = jest.fn().mockReturnValue(new CodeMapBuilding(200, null, null, null))
|
|
533
|
-
codeMapMouseEventService["intersectedBuilding"] = codeMapBuilding
|
|
534
|
-
|
|
535
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
536
|
-
|
|
537
|
-
expect(threeSceneService.selectBuilding).toHaveBeenCalledWith(codeMapBuilding)
|
|
538
|
-
})
|
|
539
|
-
|
|
540
|
-
it("should call clearSelection, when the mouse has moved less or exact 3 pixels while left button was pressed", () => {
|
|
541
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
542
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
543
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 10, clientY: 17 } as MouseEvent)
|
|
544
|
-
|
|
545
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
546
|
-
|
|
547
|
-
expect(threeSceneService.clearSelection).toHaveBeenCalled()
|
|
548
|
-
})
|
|
549
|
-
|
|
550
|
-
it("should not call clearSelection, when the mouse has moved less or exact 3 pixels but a building is currently being clicked upon", () => {
|
|
551
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
552
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
553
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 10, clientY: 17 } as MouseEvent)
|
|
554
|
-
codeMapMouseEventService["intersectedBuilding"] = CODE_MAP_BUILDING
|
|
555
|
-
|
|
556
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
557
|
-
|
|
558
|
-
expect(threeSceneService.clearSelection).toHaveBeenCalledTimes(0)
|
|
559
|
-
expect(threeSceneService.selectBuilding).toHaveBeenLastCalledWith(CODE_MAP_BUILDING)
|
|
560
|
-
})
|
|
561
|
-
|
|
562
|
-
it("should not call clear selection, when mouse has moved more than 3 pixels while left button was pressed", () => {
|
|
563
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
564
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
565
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 6, clientY: 20 } as MouseEvent)
|
|
566
|
-
|
|
567
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
568
|
-
|
|
569
|
-
expect(threeSceneService.clearSelection).not.toHaveBeenCalled()
|
|
570
|
-
})
|
|
571
|
-
})
|
|
572
|
-
|
|
573
|
-
describe("on right click", () => {
|
|
574
|
-
let dispatchSpy: jest.SpyInstance
|
|
575
|
-
|
|
576
|
-
beforeEach(() => {
|
|
577
|
-
event = { button: ClickType.RightClick, clientX: 0, clientY: 1 }
|
|
578
|
-
dispatchSpy = jest.spyOn(store, "dispatch")
|
|
579
|
-
})
|
|
580
|
-
|
|
581
|
-
afterEach(() => {
|
|
582
|
-
dispatchSpy.mockRestore()
|
|
583
|
-
})
|
|
584
|
-
|
|
585
|
-
it("should broadcast a building-right-clicked event", () => {
|
|
586
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
587
|
-
codeMapMouseEventService["intersectedBuilding"] = { node: { id: 1 } } as CodeMapBuilding
|
|
588
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
589
|
-
|
|
590
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
591
|
-
|
|
592
|
-
expect(dispatchSpy).toHaveBeenCalledWith(
|
|
593
|
-
setRightClickedNodeData({
|
|
594
|
-
value: {
|
|
595
|
-
nodeId: 1,
|
|
596
|
-
xPositionOfRightClickEvent: 0,
|
|
597
|
-
yPositionOfRightClickEvent: 1
|
|
598
|
-
}
|
|
599
|
-
})
|
|
600
|
-
)
|
|
601
|
-
})
|
|
602
|
-
|
|
603
|
-
it("should not broadcast a building-right-clicked event when no intersection was found", () => {
|
|
604
|
-
threeSceneService.getHighlightedBuilding = jest.fn()
|
|
605
|
-
|
|
606
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
607
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
608
|
-
|
|
609
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
610
|
-
|
|
611
|
-
expect(dispatchSpy).not.toHaveBeenCalledWith(
|
|
612
|
-
expect.objectContaining({
|
|
613
|
-
type: "SET_RIGHT_CLICKED_NODE_DATA"
|
|
614
|
-
})
|
|
615
|
-
)
|
|
616
|
-
})
|
|
617
|
-
|
|
618
|
-
it("should not broadcast a building-right-clicked event when the mouse has moved more than 3 Pixels since last click", () => {
|
|
619
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
620
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
621
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 10, clientY: 20 } as MouseEvent)
|
|
622
|
-
|
|
623
|
-
codeMapMouseEventService.onDocumentMouseUp(event)
|
|
624
|
-
|
|
625
|
-
expect(dispatchSpy).not.toHaveBeenCalledWith(
|
|
626
|
-
expect.objectContaining({
|
|
627
|
-
type: "SET_RIGHT_CLICKED_NODE_DATA"
|
|
628
|
-
})
|
|
629
|
-
)
|
|
630
|
-
})
|
|
631
|
-
})
|
|
632
|
-
})
|
|
633
|
-
|
|
634
|
-
describe("onDocumentMouseDown", () => {
|
|
635
|
-
it("should change the cursor to moving when pressing the right button", () => {
|
|
636
|
-
const event = { button: ClickType.RightClick } as MouseEvent
|
|
637
|
-
|
|
638
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
639
|
-
|
|
640
|
-
expect(document.body.style.cursor).toEqual(CursorType.Moving)
|
|
641
|
-
})
|
|
642
|
-
|
|
643
|
-
it("should change the cursor to grabbing when pressing the left button just once", () => {
|
|
644
|
-
const event = { button: ClickType.LeftClick } as MouseEvent
|
|
645
|
-
|
|
646
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
647
|
-
|
|
648
|
-
expect(document.body.style.cursor).toEqual(CursorType.Grabbing)
|
|
649
|
-
})
|
|
650
|
-
|
|
651
|
-
it("should save the mouse position", () => {
|
|
652
|
-
const event = { clientX: 10, clientY: 20 } as MouseEvent
|
|
653
|
-
|
|
654
|
-
codeMapMouseEventService.onDocumentMouseDown(event)
|
|
655
|
-
|
|
656
|
-
expect(codeMapMouseEventService["mouseOnLastClick"]).toEqual({ x: event.clientX, y: event.clientY })
|
|
657
|
-
})
|
|
658
|
-
})
|
|
659
|
-
|
|
660
|
-
describe("onDocumentDoubleClick", () => {
|
|
661
|
-
it("should return if highlighted and selected is null", () => {
|
|
662
|
-
threeSceneService.getHighlightedBuilding = jest.fn()
|
|
663
|
-
threeSceneService.getSelectedBuilding = jest.fn()
|
|
664
|
-
|
|
665
|
-
codeMapMouseEventService.onDocumentDoubleClick()
|
|
666
|
-
|
|
667
|
-
expect(window.open).not.toHaveBeenCalled()
|
|
668
|
-
})
|
|
669
|
-
|
|
670
|
-
it("should not call window.open if hovered.node.link and selected.node.link is null", () => {
|
|
671
|
-
threeSceneService.getHighlightedBuilding = jest.fn()
|
|
672
|
-
threeSceneService.getSelectedBuilding = jest.fn()
|
|
673
|
-
|
|
674
|
-
codeMapBuilding.setNode({ link: null } as Node)
|
|
675
|
-
|
|
676
|
-
codeMapMouseEventService["hoveredInCodeMap"] = codeMapBuilding
|
|
677
|
-
codeMapMouseEventService["selectedInCodeMap"] = codeMapBuilding
|
|
678
|
-
|
|
679
|
-
codeMapMouseEventService.onDocumentDoubleClick()
|
|
680
|
-
|
|
681
|
-
expect(window.open).not.toHaveBeenCalled()
|
|
682
|
-
})
|
|
683
|
-
|
|
684
|
-
it("should call open with link if hovered.node.link is defined", () => {
|
|
685
|
-
codeMapMouseEventService["hoveredInCodeMap"] = codeMapBuilding
|
|
686
|
-
|
|
687
|
-
codeMapMouseEventService.onDocumentDoubleClick()
|
|
688
|
-
|
|
689
|
-
expect(window.open).toHaveBeenCalledWith("NO_LINK", "_blank")
|
|
690
|
-
})
|
|
691
|
-
|
|
692
|
-
it("should call open with link if selected.node.link is defined", () => {
|
|
693
|
-
codeMapMouseEventService["selectedInCodeMap"] = codeMapBuilding
|
|
694
|
-
|
|
695
|
-
codeMapMouseEventService.onDocumentDoubleClick()
|
|
696
|
-
|
|
697
|
-
expect(window.open).toHaveBeenCalledWith("NO_LINK", "_blank")
|
|
698
|
-
})
|
|
699
|
-
|
|
700
|
-
it("should call open with link if selected.node.link is defined", () => {
|
|
701
|
-
codeMapMouseEventService["selectedInCodeMap"] = codeMapBuilding
|
|
702
|
-
|
|
703
|
-
codeMapMouseEventService.onDocumentDoubleClick()
|
|
704
|
-
|
|
705
|
-
expect(window.open).toHaveBeenCalledWith("NO_LINK", "_blank")
|
|
706
|
-
})
|
|
707
|
-
})
|
|
708
|
-
|
|
709
|
-
describe("onDocumentMouseEnter", () => {
|
|
710
|
-
it("should enable orbitals rotation", () => {
|
|
711
|
-
threeViewerService["enableRotation"] = jest.fn()
|
|
712
|
-
viewCubeMouseEventsService["enableRotation"] = jest.fn()
|
|
713
|
-
|
|
714
|
-
codeMapMouseEventService.onDocumentMouseEnter()
|
|
715
|
-
|
|
716
|
-
expect(threeViewerService.enableRotation).toHaveBeenCalledWith(true)
|
|
717
|
-
expect(viewCubeMouseEventsService.enableRotation).toHaveBeenCalledWith(true)
|
|
718
|
-
})
|
|
719
|
-
})
|
|
720
|
-
|
|
721
|
-
describe("onDocumentMouseLeave", () => {
|
|
722
|
-
it("should disable orbitals rotation", () => {
|
|
723
|
-
const event = { relatedTarget: {} } as MouseEvent
|
|
724
|
-
|
|
725
|
-
threeViewerService["enableRotation"] = jest.fn()
|
|
726
|
-
viewCubeMouseEventsService["enableRotation"] = jest.fn()
|
|
727
|
-
|
|
728
|
-
codeMapMouseEventService.onDocumentMouseLeave(event)
|
|
729
|
-
|
|
730
|
-
expect(threeViewerService.enableRotation).toHaveBeenCalledWith(false)
|
|
731
|
-
expect(viewCubeMouseEventsService.enableRotation).toHaveBeenCalledWith(false)
|
|
732
|
-
})
|
|
733
|
-
})
|
|
734
|
-
|
|
735
|
-
describe("onDocumentMouseMove", () => {
|
|
736
|
-
it("should call propagateMovement", () => {
|
|
737
|
-
const event = { clientX: 10, clientY: 10 } as MouseEvent
|
|
738
|
-
|
|
739
|
-
viewCubeMouseEventsService["propagateMovement"] = jest.fn()
|
|
740
|
-
|
|
741
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
742
|
-
|
|
743
|
-
expect(viewCubeMouseEventsService.propagateMovement).toHaveBeenCalled()
|
|
744
|
-
})
|
|
745
|
-
|
|
746
|
-
it("should call updateHovering when moving the mouse", () => {
|
|
747
|
-
const event = { clientX: 10, clientY: 10 } as MouseEvent
|
|
748
|
-
codeMapMouseEventService.updateHovering = jest.fn()
|
|
749
|
-
codeMapMouseEventService.onDocumentMouseMove(event)
|
|
750
|
-
expect(codeMapMouseEventService.updateHovering).toHaveBeenCalled()
|
|
751
|
-
})
|
|
752
|
-
})
|
|
753
|
-
|
|
754
|
-
describe("unhoverBuilding", () => {
|
|
755
|
-
it("should clear the highlight when to is null and constantHighlight is empty", () => {
|
|
756
|
-
codeMapMouseEventService["unhoverBuilding"]()
|
|
757
|
-
|
|
758
|
-
expect(threeSceneService.clearHighlight).toHaveBeenCalled()
|
|
759
|
-
})
|
|
760
|
-
|
|
761
|
-
it("should only clear the hovered highlight when to is null but constantHighlight is not empty", () => {
|
|
762
|
-
codeMapMouseEventService["threeSceneService"].getConstantHighlight = jest.fn().mockReturnValue(constantHighlight)
|
|
763
|
-
codeMapMouseEventService["unhoverBuilding"]()
|
|
764
|
-
|
|
765
|
-
expect(codeMapMouseEventService["threeSceneService"].clearHoverHighlight).toHaveBeenCalled()
|
|
766
|
-
})
|
|
767
|
-
})
|
|
768
|
-
|
|
769
|
-
describe("hoverBuilding", () => {
|
|
770
|
-
beforeEach(() => {
|
|
771
|
-
mockedIdToNodeSelector.mockImplementation(() => {
|
|
772
|
-
const idToNode = new Map<number, CodeMapNode>()
|
|
773
|
-
idToNode.set(codeMapBuilding.node.id, codeMapBuilding.node as unknown as CodeMapNode)
|
|
774
|
-
return idToNode
|
|
775
|
-
})
|
|
776
|
-
idToBuildingService.setIdToBuilding([codeMapBuilding])
|
|
777
|
-
})
|
|
778
|
-
|
|
779
|
-
it("should set the highlight when to is not null", () => {
|
|
780
|
-
codeMapMouseEventService["hoverBuilding"](codeMapBuilding)
|
|
781
|
-
|
|
782
|
-
expect(threeSceneService.addBuildingToHighlightingList).toHaveBeenCalledWith(codeMapBuilding)
|
|
783
|
-
expect(threeSceneService.highlightBuildings).toHaveBeenCalled()
|
|
784
|
-
})
|
|
785
|
-
})
|
|
786
|
-
|
|
787
|
-
describe("transformHTMLToSceneCoordinates", () => {
|
|
788
|
-
beforeEach(() => {
|
|
789
|
-
rebuildService()
|
|
790
|
-
codeMapMouseEventService.onDocumentMouseMove = jest.fn()
|
|
791
|
-
})
|
|
792
|
-
|
|
793
|
-
it("should call getPixelRatio", () => {
|
|
794
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 6, clientY: 20 } as MouseEvent)
|
|
795
|
-
codeMapMouseEventService["transformHTMLToSceneCoordinates"]()
|
|
796
|
-
|
|
797
|
-
expect(threeRendererService.renderer.getPixelRatio).toHaveBeenCalled()
|
|
798
|
-
})
|
|
799
|
-
|
|
800
|
-
it("should call getBoundingClientRect", () => {
|
|
801
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 6, clientY: 20 } as MouseEvent)
|
|
802
|
-
codeMapMouseEventService["transformHTMLToSceneCoordinates"]()
|
|
803
|
-
|
|
804
|
-
expect(threeRendererService.renderer.domElement.getBoundingClientRect).toHaveBeenCalled()
|
|
805
|
-
})
|
|
806
|
-
|
|
807
|
-
it("should return the screen cordiantes", () => {
|
|
808
|
-
codeMapMouseEventService.onDocumentMouseMove({ clientX: 6, clientY: 20 } as MouseEvent)
|
|
809
|
-
const result = codeMapMouseEventService["transformHTMLToSceneCoordinates"]()
|
|
810
|
-
|
|
811
|
-
expect(result).toStrictEqual({ x: -1, y: 1 })
|
|
812
|
-
})
|
|
813
|
-
})
|
|
814
|
-
|
|
815
|
-
describe("drawTemporaryLabelFor", () => {
|
|
816
|
-
it("should call addLeafLabel on codeMapLabelService with given node and the corresponding height that is different from 0", () => {
|
|
817
|
-
threeSceneService.getLabelForHoveredNode = jest.fn()
|
|
818
|
-
codeMapLabelService.addLeafLabel = jest.fn()
|
|
819
|
-
|
|
820
|
-
codeMapMouseEventService["drawTemporaryLabelFor"](codeMapBuilding, null)
|
|
821
|
-
const nodeHeight = codeMapBuilding.node.height + Math.abs(codeMapBuilding.node.heightDelta ?? 0)
|
|
822
|
-
|
|
823
|
-
expect(threeSceneService.getLabelForHoveredNode).toHaveBeenCalled()
|
|
824
|
-
expect(codeMapLabelService.addLeafLabel).toHaveBeenCalledWith(codeMapBuilding.node, 0, true)
|
|
825
|
-
expect(nodeHeight).toBeGreaterThan(0)
|
|
826
|
-
})
|
|
827
|
-
|
|
828
|
-
it("should call addLeafLabel on codeMapLabelService with temporary label name even when both label options are set to false", () => {
|
|
829
|
-
threeSceneService.getLabelForHoveredNode = jest.fn()
|
|
830
|
-
codeMapLabelService.addLeafLabel = jest.fn()
|
|
831
|
-
|
|
832
|
-
codeMapMouseEventService["drawTemporaryLabelFor"](codeMapBuilding, null)
|
|
833
|
-
|
|
834
|
-
expect(threeSceneService.getLabelForHoveredNode).toHaveBeenCalled()
|
|
835
|
-
expect(codeMapLabelService.addLeafLabel).toHaveBeenCalledWith(codeMapBuilding.node, 0, true)
|
|
836
|
-
})
|
|
837
|
-
})
|
|
838
|
-
})
|