generated from conterra/mapapps-devnet-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michel Bröker
committed
Jun 13, 2024
1 parent
e6b3a8b
commit 93e8503
Showing
22 changed files
with
94 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
✅ Tested for map.apps 4.14.1 / Linie 4 | ||
✅ Tested for map.apps 4.18.1 / Linie 4 | ||
|
||
#### Release Notes | ||
- SNAPSHOT-Release | ||
- autogenerated SNAPSHOT-Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Copyright (C) 2024 con terra GmbH ([email protected]) | ||
# Copyright (C) 2023 con terra GmbH ([email protected]) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -91,6 +91,10 @@ | |
<artifactId>ct-jsregistry-maven-plugin</artifactId> | ||
<version>${ct.jsregistry.version}</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>2.8.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
|
@@ -191,6 +195,29 @@ | |
</testResource> | ||
</testResources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.4.1</version> | ||
<executions> | ||
<execution> | ||
<id>enforce-versions</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<requireMavenVersion> | ||
<version>[3.8.0,)</version> | ||
</requireMavenVersion> | ||
<requireJavaVersion> | ||
<version>[17,)</version> | ||
</requireJavaVersion> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>de.conterra.maven</groupId> | ||
<artifactId>setproperties-maven-plugin</artifactId> | ||
|
@@ -314,7 +341,7 @@ | |
<properties> | ||
<owner>con terra GmbH</owner> | ||
<email>[email protected]</email> | ||
<project.inceptionYear>2024</project.inceptionYear> | ||
<project.inceptionYear>2023</project.inceptionYear> | ||
</properties> | ||
<includes> | ||
<include>src/main/js/**/*.js</include> | ||
|
@@ -402,6 +429,7 @@ | |
<configuration> | ||
<!-- only build zip files --> | ||
<skipDeploy>true</skipDeploy> | ||
<createApp>false</createApp> | ||
<sourceDirectory>${js.build.outputPath}/apps</sourceDirectory> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
</configuration> | ||
|
@@ -485,12 +513,12 @@ | |
<root.build.outputPath>${project.build.directory}/webapp</root.build.outputPath> | ||
<js.build.outputPath>${root.build.outputPath}/js</js.build.outputPath> | ||
|
||
<mapapps.version>4.17.0</mapapps.version> | ||
<vuetify.version>1.5.28</vuetify.version> | ||
<mapapps.version>4.18.1</mapapps.version> | ||
<vuetify.version>1.5.30</vuetify.version> | ||
<!-- JS lib versions --> | ||
<apprt.version>${mapapps.version}</apprt.version> | ||
<!-- java lib versions --> | ||
<ct.jsregistry.version>2.0.1</ct.jsregistry.version> | ||
<ct.jsregistry.version>2.1.1</ct.jsregistry.version> | ||
<ct.jsrt-test.version>2.0.2</ct.jsrt-test.version> | ||
|
||
<!-- the default app, replaced in the *.html files to switch app names--> | ||
|
@@ -520,7 +548,7 @@ | |
required --> | ||
<mapapps.useChunkedRequestEncoding>true</mapapps.useChunkedRequestEncoding> | ||
<!-- enable this if "upload" profile should only deploy bundles --> | ||
<skip.apps.upload>true</skip.apps.upload> | ||
<skip.apps.upload>false</skip.apps.upload> | ||
<!-- enable this if "upload" profile should pre-optimize apps --> | ||
<triggerPreOptimization>false</triggerPreOptimization> | ||
</properties> | ||
|
@@ -568,6 +596,11 @@ | |
<artifactId>apprt-polyfill</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>de.conterra.js</groupId> | ||
<artifactId>reactivity</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
|
@@ -660,6 +693,12 @@ | |
</properties> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<updateReleaseInfo>true</updateReleaseInfo> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>de.conterra.jsregistry</groupId> | ||
<artifactId>ct-jsregistry-maven-plugin</artifactId> | ||
|
@@ -702,6 +741,8 @@ | |
<configuration> | ||
<skipDeploy>${skip.apps.upload}</skipDeploy> | ||
<deployAsApp>true</deployAsApp> | ||
<appName>${project.artifactId}</appName> | ||
<appTitle>${project.artifactId}-${project.version}</appTitle> | ||
<appEditorState>PUBLISHED</appEditorState> | ||
<serverResourcesEndpoint>${mapapps.remote.base}/resources</serverResourcesEndpoint> | ||
<username>${mapapps.user}</username> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!-- | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/// | ||
/// Copyright (C) 2024 con terra GmbH ([email protected]) | ||
/// Copyright (C) 2023 con terra GmbH ([email protected]) | ||
/// | ||
/// Licensed under the Apache License, Version 2.0 (the "License"); | ||
/// you may not use this file except in compliance with the License. | ||
|
@@ -21,10 +21,10 @@ export default class PopupsDraggable { | |
|
||
private popupTargetSelectionString = ".esri-component.esri-popup"; | ||
|
||
async activate() { | ||
async activate(): Promise<void> { | ||
const view = await this.getView(); | ||
|
||
view.popup.watch("features", (features) => { | ||
view.popup.watch("features", (features: any) => { | ||
if (features.length === 0) { | ||
// popup closed - reset the transform css so that it doesn't move next time the popup opens | ||
async(() => { | ||
|
@@ -41,7 +41,7 @@ export default class PopupsDraggable { | |
}); | ||
} | ||
|
||
setupInteractJs() { | ||
setupInteractJs(): void { | ||
// popup opened - first delete the old listener if applicable: | ||
// https://github.com/taye/interact.js/blob/main/docs/faq.md#remove--destroy--release | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/// | ||
/// Copyright (C) 2024 con terra GmbH ([email protected]) | ||
/// Copyright (C) 2023 con terra GmbH ([email protected]) | ||
/// | ||
/// Licensed under the Apache License, Version 2.0 (the "License"); | ||
/// you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/// | ||
/// Copyright (C) 2024 con terra GmbH ([email protected]) | ||
/// Copyright (C) 2023 con terra GmbH ([email protected]) | ||
/// | ||
/// Licensed under the Apache License, Version 2.0 (the "License"); | ||
/// you may not use this file except in compliance with the License. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Copyright (C) 2024 con terra GmbH ([email protected]) | ||
# Copyright (C) 2023 con terra GmbH ([email protected]) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!-- | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -59,7 +59,7 @@ | |
proxyUrl: url | ||
}); | ||
}); | ||
var trustedServers = "@@cors.request.trustedServers@@".split("\s*,\s*") | ||
var trustedServers = "@@cors.request.trustedServers@@".split(/\s*,\s*/) | ||
.filter(function(item){ return item && item.match(/^[^@.].*$/)}); | ||
$apprt.changeConfig({ | ||
isDebug: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!-- | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters