@cima-foundation/schematics 0.4.9
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/.idea/cima-schematics.iml +12 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +28 -0
- package/docs/instructions.txt +26 -0
- package/package.json +27 -0
- package/src/collection.json +16 -0
- package/src/new-library/files/__name@dasherize__/.editorconfig +16 -0
- package/src/new-library/files/__name@dasherize__/angular.json +225 -0
- package/src/new-library/files/__name@dasherize__/icon.png +0 -0
- package/src/new-library/files/__name@dasherize__/ngx-cima-__name@dasherize__.code-workspace +23 -0
- package/src/new-library/files/__name@dasherize__/package.json +87 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/ngsw-config.json +30 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/app-routing.module.ts +68 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/app.component.ts +27 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/app.module.ts +70 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/core/core.module.ts +38 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/credits-page/credits-page.component.html +5 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/credits-page/credits-page.component.scss +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/credits-page/credits-page.component.ts +15 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/credits-routing.module.ts +12 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/credits.module.ts +17 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/privacy/privacy.component.html +1 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/privacy/privacy.component.scss +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/privacy/privacy.component.ts +15 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/tor/tor.component.html +437 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/tor/tor.component.scss +5 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/credits/tor/tor.component.ts +12 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/app/shared/shared.module.ts +20 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/.gitkeep +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/favicon.ico +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-128x128.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-144x144.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-152x152.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-192x192.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-384x384.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-512x512.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-72x72.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/icons/icon-96x96.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/logo-owner.svg +60 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/logo-partner.svg +62 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/logo-portal-full.svg +102 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/logo-portal-mini.svg +60 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/splash-logo.png +0 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/images/three-dots.svg +33 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/assets/test.json +316 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/environments/environment.prod.ts +12 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/environments/environment.ts +25 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/index.html +75 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/main.ts +12 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/manifest.webmanifest +59 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/polyfills.ts +69 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/silent-refresh.html +31 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/styles.scss +1 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/test.ts +27 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/tsconfig.app.json +15 -0
- package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/tsconfig.spec.json +18 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/assets/logo/favicon.ico +0 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/assets/logo/logo-app-full.svg +18 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/assets/logo/logo-app-mini.svg +9 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/ng-package.json +8 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/package.json +11 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/_styles.scss +74 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/index.ts +1 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/__name@dasherize__-routing.module.ts +31 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/__name@dasherize__.config.ts +7 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/__name@dasherize__.module.ts +32 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/components/__name@dasherize__-app-container/__name@dasherize__-app-container.component.html +13 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/components/__name@dasherize__-app-container/__name@dasherize__-app-container.component.scss +3 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/components/__name@dasherize__-app-container/__name@dasherize__-app-container.component.ts +22 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/pages/home/home.component.html +7 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/pages/home/home.component.scss +0 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/pages/home/home.component.ts +8 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/lib/services/__name@dasherize__.service.ts +16 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/public-api.ts +15 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/src/test.ts +28 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/tsconfig.lib.json +14 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/tsconfig.lib.prod.json +10 -0
- package/src/new-library/files/__name@dasherize__/projects/cima/__name@dasherize__/tsconfig.spec.json +17 -0
- package/src/new-library/files/__name@dasherize__/tsconfig.json +33 -0
- package/src/new-library/index.d.ts +2 -0
- package/src/new-library/index.js +32 -0
- package/src/new-library/index.js.map +1 -0
- package/src/new-library/index.ts +43 -0
- package/src/new-library/index_spec.d.ts +1 -0
- package/src/new-library/index_spec.js +25 -0
- package/src/new-library/index_spec.js.map +1 -0
- package/src/new-library/index_spec.ts +16 -0
- package/src/new-library/schema.json +18 -0
- package/src/new-portal/files/__name@dasherize__-portal/.editorconfig +16 -0
- package/src/new-portal/files/__name@dasherize__-portal/angular.json +186 -0
- package/src/new-portal/files/__name@dasherize__-portal/icon.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/ngx-cima-__name@dasherize__-portal.code-workspace +23 -0
- package/src/new-portal/files/__name@dasherize__-portal/package.json +88 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/ngsw-config.json +30 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/app-routing.module.ts +73 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/app.component.ts +24 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/app.module.ts +77 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/core/core.module.ts +38 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/credits-page/credits-page.component.html +5 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/credits-page/credits-page.component.scss +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/credits-page/credits-page.component.ts +20 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/credits-routing.module.ts +12 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/credits.module.ts +17 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/privacy/privacy.component.html +1 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/privacy/privacy.component.scss +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/privacy/privacy.component.ts +15 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/tor/tor.component.html +437 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/tor/tor.component.scss +5 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/credits/tor/tor.component.ts +12 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/app/shared/shared.module.ts +20 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/.gitkeep +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/favicon.ico +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-128x128.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-144x144.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-152x152.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-192x192.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-384x384.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-512x512.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-72x72.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/icons/icon-96x96.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-owner.svg +1 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-partner.svg +20 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-portal-full.svg +64 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-portal-mini.svg +33 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-regione.svg +66 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/logo-splash.svg +1 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/splash-logo.png +0 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/images/three-dots.svg +33 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/assets/test.json +316 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/environments/environment.prod.ts +12 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/environments/environment.ts +25 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/index.html +75 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/main.ts +12 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/manifest.webmanifest +59 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/polyfills.ts +69 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/silent-refresh.html +31 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/styles.scss +1 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/src/test.ts +27 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/tsconfig.app.json +15 -0
- package/src/new-portal/files/__name@dasherize__-portal/projects/__name@dasherize__-portal/tsconfig.spec.json +18 -0
- package/src/new-portal/files/__name@dasherize__-portal/tsconfig.json +33 -0
- package/src/new-portal/index.d.ts +2 -0
- package/src/new-portal/index.js +33 -0
- package/src/new-portal/index.js.map +1 -0
- package/src/new-portal/index.ts +44 -0
- package/src/new-portal/index_spec.d.ts +1 -0
- package/src/new-portal/index_spec.js +25 -0
- package/src/new-portal/index_spec.js.map +1 -0
- package/src/new-portal/index_spec.ts +16 -0
- package/src/new-portal/schema.json +18 -0
- package/tsconfig.json +24 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "text",
|
|
4
|
+
"datetime": "2021-11-09T08:01:06.394Z",
|
|
5
|
+
"cerchie": [
|
|
6
|
+
{
|
|
7
|
+
"descr": "ACRONET",
|
|
8
|
+
"hierarchical": true,
|
|
9
|
+
"id": 200
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"date": "2021-11-09T08:01:06.394",
|
|
13
|
+
"id": 334387,
|
|
14
|
+
"oComments": [],
|
|
15
|
+
"object": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin at porttitor odio, sodales vehicula tortor. Sed fermentum hendrerit condimentum. Mauris tincidunt blandit mollis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In laoreet pharetra felis et fermentum. Donec eleifend eros mi. Aliquam tristique imperdiet condimentum. Duis quis quam blandit, volutpat lacus in, mattis arcu. Vestibulum tempor luctus felis, vitae dictum leo blandit at. Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque velit risus, porta id tortor ac, porttitor accumsan felis. Curabitur leo magna, faucibus at vestibulum quis, egestas ac nisi. Mauris mattis elit nec tempus scelerisque. Nunc id gravida est. Sed at tempor augue.",
|
|
16
|
+
"app": "soglia_arancio;sentinel_1",
|
|
17
|
+
"variable": "./assets/img/99.svg",
|
|
18
|
+
"priority": 1,
|
|
19
|
+
"title": "Soglia Batteria - SV - Savona",
|
|
20
|
+
"uid": "PC-P-dm_acronet-T-2111-0142",
|
|
21
|
+
"userdatasuka": {
|
|
22
|
+
"avatar": "//api.cimafoundation.org/acroweb/avatar/Sentinel",
|
|
23
|
+
"circles": [],
|
|
24
|
+
"domain": {
|
|
25
|
+
"circleId": 45,
|
|
26
|
+
"code": "dom_cima",
|
|
27
|
+
"descr": "dominio CIMA",
|
|
28
|
+
"id": 6,
|
|
29
|
+
"latn": 47.68032,
|
|
30
|
+
"lats": 35.657463,
|
|
31
|
+
"lone": 18.981445,
|
|
32
|
+
"lonw": 5.6220703,
|
|
33
|
+
"masterhatId": 13,
|
|
34
|
+
"starHatId": 13
|
|
35
|
+
},
|
|
36
|
+
"email": "-",
|
|
37
|
+
"emailnotification": false,
|
|
38
|
+
"hats": [],
|
|
39
|
+
"id": "Sentinel",
|
|
40
|
+
"name": "Sentinel",
|
|
41
|
+
"organization": {
|
|
42
|
+
"descr": "CIMA Foundation",
|
|
43
|
+
"id": 2
|
|
44
|
+
},
|
|
45
|
+
"phone": "-",
|
|
46
|
+
"phonenotification": false
|
|
47
|
+
},
|
|
48
|
+
"userhat": "46"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "image",
|
|
52
|
+
"datetime": "2021-11-21T11:08:10.828Z",
|
|
53
|
+
"cerchie": [
|
|
54
|
+
{
|
|
55
|
+
"descr": "Regione Liguria",
|
|
56
|
+
"hierarchical": true,
|
|
57
|
+
"id": 68,
|
|
58
|
+
"parent": 10
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"date": "2021-11-21T11:08:10.828",
|
|
62
|
+
"id": 336725,
|
|
63
|
+
"oComments": [],
|
|
64
|
+
"object": "//loremflickr.com/320/240",
|
|
65
|
+
"app": "GIALLA;allerta",
|
|
66
|
+
"priority": 2,
|
|
67
|
+
"title": "ALLERTA IDROGEOLOGICA",
|
|
68
|
+
"uid": "pc-P-ITCAREG07-d-2111-0006",
|
|
69
|
+
"userdata": {
|
|
70
|
+
"avatar": "//api.cimafoundation.org/acroweb/avatar/userdefault",
|
|
71
|
+
"circles": [],
|
|
72
|
+
"domain": {
|
|
73
|
+
"circleId": 41,
|
|
74
|
+
"code": "ITCAREG07",
|
|
75
|
+
"descr": "dominio Regione Liguria",
|
|
76
|
+
"id": 3,
|
|
77
|
+
"latn": 44.709106,
|
|
78
|
+
"lats": 43.669296,
|
|
79
|
+
"lone": 10.291016,
|
|
80
|
+
"lonw": 7.324707,
|
|
81
|
+
"masterhatId": 7,
|
|
82
|
+
"starHatId": 803
|
|
83
|
+
},
|
|
84
|
+
"email": "protezionecivile@regione.liguria.it",
|
|
85
|
+
"emailnotification": false,
|
|
86
|
+
"hats": [],
|
|
87
|
+
"id": "regione.liguria",
|
|
88
|
+
"name": "Utente Regione Liguria",
|
|
89
|
+
"organization": {
|
|
90
|
+
"descr": "Regione Liguria",
|
|
91
|
+
"id": 7
|
|
92
|
+
},
|
|
93
|
+
"phone": "",
|
|
94
|
+
"phonenotification": false
|
|
95
|
+
},
|
|
96
|
+
"userhat": "-1"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "image",
|
|
100
|
+
"datetime": "2021-11-24T08:33:25.987Z",
|
|
101
|
+
"cerchie": [
|
|
102
|
+
{
|
|
103
|
+
"descr": "cerchia Comune di Mezzanego",
|
|
104
|
+
"hierarchical": true,
|
|
105
|
+
"id": 206,
|
|
106
|
+
"parent": 27
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"date": "2021-11-24T08:33:25.987",
|
|
110
|
+
"id": 337179,
|
|
111
|
+
"oComments": [],
|
|
112
|
+
"object": "https://loremflickr.com/320/240",
|
|
113
|
+
"app": "comune;defcon",
|
|
114
|
+
"priority": 3,
|
|
115
|
+
"title": "Fasi operative - Comune di Mezzanego",
|
|
116
|
+
"uid": "pc-P-com_mez-d-2111-0007",
|
|
117
|
+
"userdata": {
|
|
118
|
+
"avatar": "//api.cimafoundation.org/acroweb/avatar/claudio.monteverde",
|
|
119
|
+
"circles": [],
|
|
120
|
+
"domain": {
|
|
121
|
+
"circleId": 206,
|
|
122
|
+
"code": "com_mez",
|
|
123
|
+
"descr": "dominio Comune di Mezzanego",
|
|
124
|
+
"id": 107,
|
|
125
|
+
"latn": 44.487835,
|
|
126
|
+
"lats": 44.253216,
|
|
127
|
+
"lone": 9.490631,
|
|
128
|
+
"lonw": 9.181641,
|
|
129
|
+
"masterhatId": 317,
|
|
130
|
+
"starHatId": 317
|
|
131
|
+
},
|
|
132
|
+
"email": "lavori.pubblici@comunemezzanego.it",
|
|
133
|
+
"emailnotification": true,
|
|
134
|
+
"hats": [],
|
|
135
|
+
"id": "claudio.monteverde",
|
|
136
|
+
"name": "Claudio Monteverde",
|
|
137
|
+
"organization": {
|
|
138
|
+
"descr": "Comune di Mezzanego",
|
|
139
|
+
"id": 97
|
|
140
|
+
},
|
|
141
|
+
"phone": "3357435748",
|
|
142
|
+
"phonenotification": true
|
|
143
|
+
},
|
|
144
|
+
"userhat": "317"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "text",
|
|
148
|
+
"datetime": "2021-11-23T14:32:57.577Z",
|
|
149
|
+
"cerchie": [
|
|
150
|
+
{
|
|
151
|
+
"descr": "cerchia Comune di Stella",
|
|
152
|
+
"hierarchical": true,
|
|
153
|
+
"id": 738,
|
|
154
|
+
"parent": 26
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"date": "2021-11-23T14:32:57.577",
|
|
158
|
+
"id": 337044,
|
|
159
|
+
"oComments": [
|
|
160
|
+
{
|
|
161
|
+
"tsdata": "2021-11-23T14:35:30.873Z",
|
|
162
|
+
"date": "2021-11-23T14:35:30.873",
|
|
163
|
+
"id": 1681,
|
|
164
|
+
"text": "Evento Chiuso. Prova segnalazione ",
|
|
165
|
+
"uid": "",
|
|
166
|
+
"user": {
|
|
167
|
+
"avatar": "https://loremflickr.com/64/64",
|
|
168
|
+
"circles": [
|
|
169
|
+
{
|
|
170
|
+
"descr": "cerchia Comune di Stella",
|
|
171
|
+
"hierarchical": true,
|
|
172
|
+
"id": 738,
|
|
173
|
+
"parent": 26
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"domain": {
|
|
177
|
+
"circleId": 738,
|
|
178
|
+
"code": "dm_stella",
|
|
179
|
+
"descr": "Dominio Comune di Stella",
|
|
180
|
+
"id": 432,
|
|
181
|
+
"latn": 44.419827,
|
|
182
|
+
"lats": 44.358982,
|
|
183
|
+
"lone": 8.562801,
|
|
184
|
+
"lonw": 8.444012,
|
|
185
|
+
"masterhatId": 1206,
|
|
186
|
+
"starHatId": 1204
|
|
187
|
+
},
|
|
188
|
+
"email": "danilodelfino@comune.stella.sv.it",
|
|
189
|
+
"emailnotification": true,
|
|
190
|
+
"hats": [
|
|
191
|
+
{
|
|
192
|
+
"descr": "star Comune di Stella",
|
|
193
|
+
"domain": {
|
|
194
|
+
"circleId": 738,
|
|
195
|
+
"code": "dm_stella",
|
|
196
|
+
"descr": "Dominio Comune di Stella",
|
|
197
|
+
"id": 432,
|
|
198
|
+
"latn": 44.419827,
|
|
199
|
+
"lats": 44.358982,
|
|
200
|
+
"lone": 8.562801,
|
|
201
|
+
"lonw": 8.444012,
|
|
202
|
+
"masterhatId": 1206,
|
|
203
|
+
"starHatId": 1204
|
|
204
|
+
},
|
|
205
|
+
"domainId": 432,
|
|
206
|
+
"id": 1204
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"descr": "user Comune di Stella",
|
|
210
|
+
"domain": {
|
|
211
|
+
"circleId": 738,
|
|
212
|
+
"code": "dm_stella",
|
|
213
|
+
"descr": "Dominio Comune di Stella",
|
|
214
|
+
"id": 432,
|
|
215
|
+
"latn": 44.419827,
|
|
216
|
+
"lats": 44.358982,
|
|
217
|
+
"lone": 8.562801,
|
|
218
|
+
"lonw": 8.444012,
|
|
219
|
+
"masterhatId": 1206,
|
|
220
|
+
"starHatId": 1204
|
|
221
|
+
},
|
|
222
|
+
"domainId": 432,
|
|
223
|
+
"id": 1205
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"descr": "Coordinatore Comune di Stella",
|
|
227
|
+
"domain": {
|
|
228
|
+
"circleId": 738,
|
|
229
|
+
"code": "dm_stella",
|
|
230
|
+
"descr": "Dominio Comune di Stella",
|
|
231
|
+
"id": 432,
|
|
232
|
+
"latn": 44.419827,
|
|
233
|
+
"lats": 44.358982,
|
|
234
|
+
"lone": 8.562801,
|
|
235
|
+
"lonw": 8.444012,
|
|
236
|
+
"masterhatId": 1206,
|
|
237
|
+
"starHatId": 1204
|
|
238
|
+
},
|
|
239
|
+
"domainId": 432,
|
|
240
|
+
"id": 1206
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"id": "danilo.delfino",
|
|
244
|
+
"name": "Danilo Delfino",
|
|
245
|
+
"organization": {
|
|
246
|
+
"descr": "Comune di Stella",
|
|
247
|
+
"id": 281
|
|
248
|
+
},
|
|
249
|
+
"phone": "3479721446",
|
|
250
|
+
"phonenotification": true
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"object": "Fusce risus dui, tincidunt at ultricies at, pulvinar et sapien. Integer varius, est at tristique consectetur, lacus ipsum blandit lorem, eget iaculis urna neque a lacus. Etiam mauris arcu, auctor ultricies sodales vitae, accumsan quis risus. Donec quis tincidunt leo, eu varius nunc. Aliquam convallis, ipsum condimentum porttitor ullamcorper, ex lectus fermentum ipsum, et maximus mauris diam in leo. Vestibulum congue faucibus odio eu efficitur. Morbi sed nisl magna. Sed ornare eros ex, non ultricies nulla eleifend in. In mollis augue sit amet nibh tempus dignissim. Proin vitae quam sit amet ligula convallis viverra. Donec eget mi quis leo tempor imperdiet.",
|
|
255
|
+
"app": "eventi;creasy;allagamento",
|
|
256
|
+
"priority": 4,
|
|
257
|
+
"title": "CR-easy - Dominio Comune di Stella - Eventi",
|
|
258
|
+
"uid": "pc-P-dm_stella-e-2111-0004",
|
|
259
|
+
"userdata": {
|
|
260
|
+
"avatar": "//api.cimafoundation.org/acroweb/avatar/userdefault",
|
|
261
|
+
"circles": [],
|
|
262
|
+
"domain": {
|
|
263
|
+
"circleId": 738,
|
|
264
|
+
"code": "dm_stella",
|
|
265
|
+
"descr": "Dominio Comune di Stella",
|
|
266
|
+
"id": 432,
|
|
267
|
+
"latn": 44.419827,
|
|
268
|
+
"lats": 44.358982,
|
|
269
|
+
"lone": 8.562801,
|
|
270
|
+
"lonw": 8.444012,
|
|
271
|
+
"masterhatId": 1206,
|
|
272
|
+
"starHatId": 1204
|
|
273
|
+
},
|
|
274
|
+
"email": "danilodelfino@comune.stella.sv.it",
|
|
275
|
+
"emailnotification": true,
|
|
276
|
+
"hats": [],
|
|
277
|
+
"id": "danilo.delfino",
|
|
278
|
+
"name": "Danilo Delfino",
|
|
279
|
+
"organization": {
|
|
280
|
+
"descr": "Comune di Stella",
|
|
281
|
+
"id": 281
|
|
282
|
+
},
|
|
283
|
+
"phone": "3479721446",
|
|
284
|
+
"phonenotification": true
|
|
285
|
+
},
|
|
286
|
+
"userhat": "1206"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "text",
|
|
290
|
+
"cerchie": [],
|
|
291
|
+
"date": "2020-12-12",
|
|
292
|
+
"id": "12345",
|
|
293
|
+
"oComments": [],
|
|
294
|
+
"objects": "Fusce risus dui, tincidunt at ultricies at, pulvinar et sapien. Integer varius, est at tristique consectetur, lacus ipsum blandit lorem, eget iaculis urna neque a lacus. Etiam mauris arcu, auctor ultricies sodales vitae, accumsan quis risus. Donec quis tincidunt leo, eu varius nunc. Aliquam convallis, ipsum condimentum porttitor ullamcorper, ex lectus fermentum ipsum, et maximus mauris diam in leo. Vestibulum congue faucibus odio eu efficitur. Morbi sed nisl magna. Sed ornare eros ex, non ultricies nulla eleifend in. In mollis augue sit amet nibh tempus dignissim. Proin vitae quam sit amet ligula convallis viverra. Donec eget mi quis leo tempor imperdiet.",
|
|
295
|
+
"app": "soglia_arancio;sentinel_1",
|
|
296
|
+
"variable": "./assets/img/sentinel_1.svg",
|
|
297
|
+
"priority": 1,
|
|
298
|
+
"title": "Testo di prova",
|
|
299
|
+
"userdata": {
|
|
300
|
+
"avatar": "",
|
|
301
|
+
"circles": [],
|
|
302
|
+
"domain": []
|
|
303
|
+
},
|
|
304
|
+
"email": "direzione@comunevattelapesca.it,",
|
|
305
|
+
"name": "Ayeye Braz",
|
|
306
|
+
"organization": {
|
|
307
|
+
"descr": "Comune di Vattelapesca",
|
|
308
|
+
"id": 107
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const environment = {
|
|
2
|
+
title: '<%= classify(name) %> Test App',
|
|
3
|
+
production: true,
|
|
4
|
+
fakeData: false,
|
|
5
|
+
debug: true,
|
|
6
|
+
server: {
|
|
7
|
+
baseUrl: 'https://acroweb3-portal-backend-test.cimafoundation.org',
|
|
8
|
+
configEndpoint: '/acroweb',
|
|
9
|
+
wsEndpoint:
|
|
10
|
+
'ws://acroweb3-portal-backend-test.cimafoundation.org/ws/notifier/',
|
|
11
|
+
},
|
|
12
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// This file can be replaced during build by using the `fileReplacements` array.
|
|
2
|
+
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
|
|
3
|
+
// The list of file replacements can be found in `angular.json`.
|
|
4
|
+
|
|
5
|
+
export const environment = {
|
|
6
|
+
title: '<%= classify(name) %> Test App',
|
|
7
|
+
production: false,
|
|
8
|
+
fakeData: false,
|
|
9
|
+
debug: true,
|
|
10
|
+
server: {
|
|
11
|
+
baseUrl: 'https://acroweb3-portal-backend-test.cimafoundation.org',
|
|
12
|
+
configEndpoint: '/acroweb',
|
|
13
|
+
wsEndpoint:
|
|
14
|
+
'ws://acroweb3-portal-backend-test.cimafoundation.org/ws/notifier/',
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* For easier debugging in development mode, you can import the following file
|
|
20
|
+
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
|
|
21
|
+
*
|
|
22
|
+
* This import should be commented out in production mode because it will have a negative impact
|
|
23
|
+
* on performance if an error is thrown.
|
|
24
|
+
*/
|
|
25
|
+
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
|
package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/index.html
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title><%= classify(name) %> Test App</title>
|
|
6
|
+
<base href="/" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
<link
|
|
9
|
+
rel="icon"
|
|
10
|
+
id="favicon"
|
|
11
|
+
type="image/x-icon"
|
|
12
|
+
href="assets/icons/favicon.ico"
|
|
13
|
+
/>
|
|
14
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
15
|
+
<link
|
|
16
|
+
href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600&display=swap"
|
|
17
|
+
rel="stylesheet"
|
|
18
|
+
/>
|
|
19
|
+
<link
|
|
20
|
+
href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
/>
|
|
23
|
+
<link rel="manifest" href="manifest.webmanifest" />
|
|
24
|
+
<meta name="theme-color" content="#1976d2" />
|
|
25
|
+
<style>
|
|
26
|
+
.splash-screen {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
z-index: 9999;
|
|
33
|
+
background: var(--cima-splashscreen-background);
|
|
34
|
+
color: var(--cima-splashscreen-text);
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
}
|
|
40
|
+
.splash-screen .app-logo {
|
|
41
|
+
background-image: url(/assets/images/splash-logo.png);
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
background-position: center;
|
|
45
|
+
background-size: contain;
|
|
46
|
+
width: 70%;
|
|
47
|
+
height: 70%;
|
|
48
|
+
max-width: 300px;
|
|
49
|
+
max-height: 300px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.splash-screen .app-loader {
|
|
53
|
+
background-image: url(/assets/images/three-dots.svg);
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
background-position: center;
|
|
57
|
+
background-size: contain;
|
|
58
|
+
width: 80px;
|
|
59
|
+
height: 80px;
|
|
60
|
+
margin-top: 60px;
|
|
61
|
+
}
|
|
62
|
+
</style>
|
|
63
|
+
</head>
|
|
64
|
+
<body class="mat-typography">
|
|
65
|
+
<app-root>
|
|
66
|
+
<div class="splash-screen">
|
|
67
|
+
<div class="app-logo"></div>
|
|
68
|
+
<div class="app-loader"></div>
|
|
69
|
+
</div>
|
|
70
|
+
</app-root>
|
|
71
|
+
<noscript
|
|
72
|
+
>Please enable JavaScript to continue using this application.</noscript
|
|
73
|
+
>
|
|
74
|
+
</body>
|
|
75
|
+
</html>
|
package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/main.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { enableProdMode } from '@angular/core';
|
|
2
|
+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
3
|
+
|
|
4
|
+
import { AppModule } from './app/app.module';
|
|
5
|
+
import { environment } from './environments/environment';
|
|
6
|
+
|
|
7
|
+
if (environment.production) {
|
|
8
|
+
enableProdMode();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
12
|
+
.catch(err => console.error(err));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= dasherize(name) %>-test-app",
|
|
3
|
+
"short_name": "<%= dasherize(name) %>-test-app",
|
|
4
|
+
"theme_color": "#1976d2",
|
|
5
|
+
"background_color": "#fafafa",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"scope": "./",
|
|
8
|
+
"start_url": "./",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "assets/icons/icon-72x72.png",
|
|
12
|
+
"sizes": "72x72",
|
|
13
|
+
"type": "image/png",
|
|
14
|
+
"purpose": "maskable any"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"src": "assets/icons/icon-96x96.png",
|
|
18
|
+
"sizes": "96x96",
|
|
19
|
+
"type": "image/png",
|
|
20
|
+
"purpose": "maskable any"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"src": "assets/icons/icon-128x128.png",
|
|
24
|
+
"sizes": "128x128",
|
|
25
|
+
"type": "image/png",
|
|
26
|
+
"purpose": "maskable any"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"src": "assets/icons/icon-144x144.png",
|
|
30
|
+
"sizes": "144x144",
|
|
31
|
+
"type": "image/png",
|
|
32
|
+
"purpose": "maskable any"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"src": "assets/icons/icon-152x152.png",
|
|
36
|
+
"sizes": "152x152",
|
|
37
|
+
"type": "image/png",
|
|
38
|
+
"purpose": "maskable any"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"src": "assets/icons/icon-192x192.png",
|
|
42
|
+
"sizes": "192x192",
|
|
43
|
+
"type": "image/png",
|
|
44
|
+
"purpose": "maskable any"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"src": "assets/icons/icon-384x384.png",
|
|
48
|
+
"sizes": "384x384",
|
|
49
|
+
"type": "image/png",
|
|
50
|
+
"purpose": "maskable any"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"src": "assets/icons/icon-512x512.png",
|
|
54
|
+
"sizes": "512x512",
|
|
55
|
+
"type": "image/png",
|
|
56
|
+
"purpose": "maskable any"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/***************************************************************************************************
|
|
2
|
+
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
|
|
3
|
+
*/
|
|
4
|
+
import '@angular/localize/init';
|
|
5
|
+
/**
|
|
6
|
+
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
7
|
+
* You can add your own extra polyfills to this file.
|
|
8
|
+
*
|
|
9
|
+
* This file is divided into 2 sections:
|
|
10
|
+
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
11
|
+
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
12
|
+
* file.
|
|
13
|
+
*
|
|
14
|
+
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
15
|
+
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
16
|
+
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
17
|
+
*
|
|
18
|
+
* Learn more in https://angular.io/guide/browser-support
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/***************************************************************************************************
|
|
22
|
+
* BROWSER POLYFILLS
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* IE11 requires the following for NgClass support on SVG elements
|
|
27
|
+
*/
|
|
28
|
+
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Web Animations `@angular/platform-browser/animations`
|
|
32
|
+
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
|
|
33
|
+
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
|
|
34
|
+
*/
|
|
35
|
+
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* By default, zone.js will patch all possible macroTask and DomEvents
|
|
39
|
+
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
|
40
|
+
* because those flags need to be set before `zone.js` being loaded, and webpack
|
|
41
|
+
* will put import in the top of bundle, so user need to create a separate file
|
|
42
|
+
* in this directory (for example: zone-flags.ts), and put the following flags
|
|
43
|
+
* into that file, and then add the following code before importing zone.js.
|
|
44
|
+
* import './zone-flags';
|
|
45
|
+
*
|
|
46
|
+
* The flags allowed in zone-flags.ts are listed here.
|
|
47
|
+
*
|
|
48
|
+
* The following flags will work for all browsers.
|
|
49
|
+
*
|
|
50
|
+
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
|
|
51
|
+
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
|
|
52
|
+
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
|
|
53
|
+
*
|
|
54
|
+
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
|
|
55
|
+
* with the following flag, it will bypass `zone.js` patch for IE/Edge
|
|
56
|
+
*
|
|
57
|
+
* (window as any).__Zone_enable_cross_context_check = true;
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/***************************************************************************************************
|
|
62
|
+
* Zone JS is required by default for Angular itself.
|
|
63
|
+
*/
|
|
64
|
+
import 'zone.js'; // Included with Angular CLI.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/***************************************************************************************************
|
|
68
|
+
* APPLICATION IMPORTS
|
|
69
|
+
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
|
|
3
|
+
<body>
|
|
4
|
+
<script>
|
|
5
|
+
// Based on: https://manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/silent-refresh.html
|
|
6
|
+
|
|
7
|
+
const checks = [/[\?|&|#]code=/, /[\?|&|#]error=/, /[\?|&|#]token=/, /[\?|&|#]id_token=/];
|
|
8
|
+
|
|
9
|
+
function isResponse(str) {
|
|
10
|
+
let count = 0;
|
|
11
|
+
|
|
12
|
+
if (!str) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
for (let i = 0; i < checks.length; i++) {
|
|
17
|
+
if (str.match(checks[i])) return true;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
let message = isResponse(location.hash) ? location.hash : '#' + location.search;
|
|
24
|
+
|
|
25
|
+
console.log("Silent refresh iframe is posting to the parent application, message:", message);
|
|
26
|
+
|
|
27
|
+
(window.opener || window.parent).postMessage(message, location.origin);
|
|
28
|
+
</script>
|
|
29
|
+
</body>
|
|
30
|
+
|
|
31
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "app";
|
package/src/new-library/files/__name@dasherize__/projects/__name@dasherize__-test-app/src/test.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
2
|
+
|
|
3
|
+
import 'zone.js/testing';
|
|
4
|
+
import { getTestBed } from '@angular/core/testing';
|
|
5
|
+
import {
|
|
6
|
+
BrowserDynamicTestingModule,
|
|
7
|
+
platformBrowserDynamicTesting
|
|
8
|
+
} from '@angular/platform-browser-dynamic/testing';
|
|
9
|
+
|
|
10
|
+
declare const require: {
|
|
11
|
+
context(path: string, deep?: boolean, filter?: RegExp): {
|
|
12
|
+
keys(): string[];
|
|
13
|
+
<T>(id: string): T;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
// First, initialize the Angular testing environment.
|
|
18
|
+
getTestBed().initTestEnvironment(
|
|
19
|
+
BrowserDynamicTestingModule,
|
|
20
|
+
platformBrowserDynamicTesting(),
|
|
21
|
+
{ teardown: { destroyAfterEach: true }},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
// Then we find all the tests.
|
|
25
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
|
26
|
+
// And load the modules.
|
|
27
|
+
context.keys().map(context);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/app",
|
|
6
|
+
"types": []
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"src/main.ts",
|
|
10
|
+
"src/polyfills.ts"
|
|
11
|
+
],
|
|
12
|
+
"include": [
|
|
13
|
+
"src/**/*.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/test.ts",
|
|
12
|
+
"src/polyfills.ts"
|
|
13
|
+
],
|
|
14
|
+
"include": [
|
|
15
|
+
"src/**/*.spec.ts",
|
|
16
|
+
"src/**/*.d.ts"
|
|
17
|
+
]
|
|
18
|
+
}
|