Skip to content

Commit 367fe64

Browse files
committed
First commit
0 parents  commit 367fe64

File tree

107 files changed

+22933
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+22933
-0
lines changed

Diff for: .editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

Diff for: .gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

Diff for: .vscode/launch.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Usare IntelliSense per informazioni sui possibili attributi.
3+
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
4+
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:4200",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}

Diff for: LICENSE

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Fair Source License, version 0.9
2+
3+
Copyright (C) 2020 UAV4GEO
4+
5+
Licensor: UAV4GEO
6+
7+
Software: GCP Editor Pro
8+
9+
Use Limitation: 1 users
10+
11+
License Grant. Licensor hereby grants to each recipient of the
12+
Software ("you") a non-exclusive, non-transferable, royalty-free and
13+
fully-paid-up license, under all of the Licensor's copyright and
14+
patent rights, to use, copy, distribute, prepare derivative works of,
15+
publicly perform and display the Software, subject to the Use
16+
Limitation and the conditions set forth below.
17+
18+
Use Limitation. The license granted above allows use by up to the
19+
number of users per entity set forth above (the "Use Limitation"). For
20+
determining the number of users, "you" includes all affiliates,
21+
meaning legal entities controlling, controlled by, or under common
22+
control with you. If you exceed the Use Limitation, your use is
23+
subject to payment of Licensor's then-current list price for licenses.
24+
25+
Conditions. Redistribution in source code or other forms must include
26+
a copy of this license document to be provided in a reasonable
27+
manner. Any redistribution of the Software is only allowed subject to
28+
this license.
29+
30+
Trademarks. This license does not grant you any right in the
31+
trademarks, service marks, brand names or logos of Licensor.
32+
33+
DISCLAIMER. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OR
34+
CONDITION, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES
35+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36+
NONINFRINGEMENT. LICENSORS HEREBY DISCLAIM ALL LIABILITY, WHETHER IN
37+
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38+
CONNECTION WITH THE SOFTWARE.
39+
40+
Termination. If you violate the terms of this license, your rights
41+
will terminate automatically and will not be reinstated without the
42+
prior written consent of Licensor. Any such termination will not
43+
affect the right of others who may have received copies of the
44+
Software from you.

Diff for: README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# GCP Editor Pro
2+
3+
4+
5+
## Release in production
6+
7+
Run `ng build --prod` then copy the `dist\gcp-editor-pro` folder to the target destination.
8+
9+
Run `npm run stats` to analyze production bundle size
10+
11+
## Development server
12+
13+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
14+
15+
## Build
16+
17+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
18+

Diff for: angular.json

+162
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"gcp-editor-pro": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss",
11+
"skipTests": true
12+
},
13+
"@schematics/angular:class": {
14+
"skipTests": true
15+
},
16+
"@schematics/angular:directive": {
17+
"skipTests": true
18+
},
19+
"@schematics/angular:guard": {
20+
"skipTests": true
21+
},
22+
"@schematics/angular:interceptor": {
23+
"skipTests": true
24+
},
25+
"@schematics/angular:module": {
26+
"skipTests": true
27+
},
28+
"@schematics/angular:pipe": {
29+
"skipTests": true
30+
},
31+
"@schematics/angular:service": {
32+
"skipTests": true
33+
}
34+
},
35+
"root": "",
36+
"sourceRoot": "src",
37+
"prefix": "app",
38+
"architect": {
39+
"build": {
40+
"builder": "@angular-devkit/build-angular:browser",
41+
"options": {
42+
"outputPath": "dist/gcp-editor-pro",
43+
"index": "src/index.html",
44+
"main": "src/main.ts",
45+
"polyfills": "src/polyfills.ts",
46+
"tsConfig": "tsconfig.app.json",
47+
"aot": true,
48+
"assets": [
49+
"src/favicon.ico",
50+
"src/assets",
51+
{
52+
"glob": "**/*",
53+
"input": "./node_modules/leaflet/dist/images",
54+
"output": "leaflet/"
55+
}
56+
],
57+
"styles": [
58+
"src/styles.scss",
59+
"node_modules/leaflet/dist/leaflet.css"
60+
],
61+
"scripts": [
62+
"node_modules/proj4/dist/proj4.js"
63+
]
64+
},
65+
"configurations": {
66+
"production": {
67+
"fileReplacements": [
68+
{
69+
"replace": "src/environments/environment.ts",
70+
"with": "src/environments/environment.prod.ts"
71+
}
72+
],
73+
"optimization": true,
74+
"outputHashing": "all",
75+
"sourceMap": false,
76+
"extractCss": true,
77+
"namedChunks": false,
78+
"extractLicenses": true,
79+
"vendorChunk": false,
80+
"buildOptimizer": true,
81+
"budgets": [
82+
{
83+
"type": "initial",
84+
"maximumWarning": "2mb",
85+
"maximumError": "5mb"
86+
},
87+
{
88+
"type": "anyComponentStyle",
89+
"maximumWarning": "6kb",
90+
"maximumError": "10kb"
91+
}
92+
]
93+
}
94+
}
95+
},
96+
"serve": {
97+
"builder": "@angular-devkit/build-angular:dev-server",
98+
"options": {
99+
"browserTarget": "gcp-editor-pro:build"
100+
},
101+
"configurations": {
102+
"production": {
103+
"browserTarget": "gcp-editor-pro:build:production"
104+
}
105+
}
106+
},
107+
"extract-i18n": {
108+
"builder": "@angular-devkit/build-angular:extract-i18n",
109+
"options": {
110+
"browserTarget": "gcp-editor-pro:build"
111+
}
112+
},
113+
"test": {
114+
"builder": "@angular-devkit/build-angular:karma",
115+
"options": {
116+
"main": "src/test.ts",
117+
"polyfills": "src/polyfills.ts",
118+
"tsConfig": "tsconfig.spec.json",
119+
"karmaConfig": "karma.conf.js",
120+
"assets": [
121+
"src/favicon.ico",
122+
"src/assets"
123+
],
124+
"styles": [
125+
"src/styles.scss"
126+
],
127+
"scripts": []
128+
}
129+
},
130+
"lint": {
131+
"builder": "@angular-devkit/build-angular:tslint",
132+
"options": {
133+
"tsConfig": [
134+
"tsconfig.app.json",
135+
"tsconfig.spec.json",
136+
"e2e/tsconfig.json"
137+
],
138+
"exclude": [
139+
"**/node_modules/**"
140+
]
141+
}
142+
},
143+
"e2e": {
144+
"builder": "@angular-devkit/build-angular:protractor",
145+
"options": {
146+
"protractorConfig": "e2e/protractor.conf.js",
147+
"devServerTarget": "gcp-editor-pro:serve"
148+
},
149+
"configurations": {
150+
"production": {
151+
"devServerTarget": "gcp-editor-pro:serve:production"
152+
}
153+
}
154+
}
155+
}
156+
}
157+
},
158+
"defaultProject": "gcp-editor-pro",
159+
"cli": {
160+
"analytics": false
161+
}
162+
}

Diff for: browserslist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

Diff for: build/icon-512.png

35.7 KB
Loading

Diff for: build/icon.icns

121 KB
Binary file not shown.

0 commit comments

Comments
 (0)