Aw5739 Update to Angular v15.

This commit is contained in:
2024-01-08 12:33:38 +01:00
parent b0587bc4c3
commit 1988b3f74d
41 changed files with 7612 additions and 2826 deletions

View File

@@ -1,6 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.gps-location {
display:none;
}
@@ -14,7 +11,7 @@
}
.tolerance {
fill: $primary;
fill: var(--bs-primary);
fill-opacity:0.4;
}
@@ -23,20 +20,20 @@
}
.border {
fill: $white;
fill: var(--bs-white);
}
.center {
fill: $primary;
fill: var(--bs-primary);
}
.stop1 {
stop-color: $primary;
stop-color: var(--bs-primary);
stop-opacity:1;
}
.stop2 {
stop-color:$primary;
stop-color:var(--bs-primary);
stop-opacity: 0;
}

View File

@@ -1,11 +1,8 @@
@import "~bootstrap/scss/bootstrap.scss";
.gps-location {
display:block;
width:2.5em;
height:2.5em;
background-color: $body-bg;
background-color: var(--bs-body-bg);
background-size: contain;
margin-top:0.5em;
border-radius: 1.75em;
@@ -17,15 +14,15 @@
}
.pan-to {
fill: $secondary;
fill: var(--bs-secondary);
}
div.gps-location:hover .pan-to {
fill: $white;
fill: var(--bs-white);
}
.pan-to-centered {
fill: $primary;
fill: var(--bs-primary);
}
div.gps-location:hover .pan-to-centered {
@@ -33,5 +30,5 @@ div.gps-location:hover .pan-to-centered {
}
.pan-to.pan-to-disabled {
fill: $gray-300;
fill: var(--bs-gray-300);
}

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.compass {
width:2.5em;
height:2.5em;
@@ -13,7 +11,7 @@
#north {
display: none;
fill:$black;
fill:var(--bs-black);
}
#top-l {
@@ -33,23 +31,23 @@
}
div.compass:hover #top-l {
fill:$white;
fill:var(--bs-white);
}
div.compass:hover #top-r {
fill:$gray-300;
fill:var(--bs-gray-300);
}
div.compass:hover #bottom-l {
fill:$gray-300;
fill:var(--bs-gray-300);
}
div.compass:hover #bottom-r {
fill:$white;
fill:var(--bs-white);
}
div.compass:hover #north {
fill:$white;
fill:var(--bs-white);
}
.compass-n {

View File

@@ -1,14 +1,10 @@
@import "~bootstrap/scss/bootstrap.scss";
.row {
border-bottom: 1px solid $gray-500;
border-bottom: 1px solid var(--bs-gray-500);
user-select: none;
}
.row.selected {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}
@media screen and (min-width: 44rem) {

View File

@@ -1,22 +1,20 @@
@import "~bootstrap/scss/bootstrap.scss";
fm-map-feature-list-feature-container {
width:100%;
pointer-events:none;
}
.row {
border-bottom: 1px solid $gray-500;
border-bottom: 1px solid var(--bs-gray-500);
user-select: none;
padding-left:1.5rem;
}
.row.selected {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}
.cropfields {
border-top: 1px solid $gray-500;
border-top: 1px solid var(--bs-gray-500);
margin-left: -1.25rem;
margin-right: -1.25rem;
}

View File

@@ -1,22 +1,20 @@
@import "~bootstrap/scss/bootstrap.scss";
fm-map-feature-list-feature-container {
width:100%;
pointer-events:none;
}
.row {
border-bottom: 1px solid $gray-500;
border-bottom: 1px solid var(--bs-gray-500);
user-select: none;
padding-left:1.5rem;
}
.row.selected {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}
.farms {
border-top: 1px solid $gray-500;
border-top: 1px solid var(--bs-gray-500);
margin-left: -1.25rem;
margin-right: -1.25rem;
}

View File

@@ -1,7 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.card-title {
font-size: 1rem;
white-space: nowrap;

View File

@@ -1,7 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.card-title {
font-size: 1rem;
white-space: nowrap;

View File

@@ -1,7 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.card-title {
font-size: 1rem;
white-space: nowrap;

View File

@@ -1,15 +1,13 @@
@import "~bootstrap/scss/bootstrap.scss";
fm-map-feature-list-feature-container {
width: 100%;
pointer-events: none;
}
.row {
border-bottom: 1px solid $gray-500;
border-bottom: 1px solid var(--bs-gray-500);
user-select: none;
}
.row.selected {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.widget {
padding:0.8rem;
height:100%;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.widget-container {
overflow:auto;
margin-bottom:1rem;
@@ -7,7 +5,7 @@
.widget {
position:relative;
border: 1px solid $gray-500;
border: 1px solid var(--bs-gray-500);
user-select: none;
display:inline-block;
width:50%;
@@ -28,7 +26,7 @@
}
.widget:hover {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}
.widget-container {

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.widget-container {
overflow:auto;
margin-bottom:1rem;
@@ -7,7 +5,7 @@
.widget {
position:relative;
border: 1px solid $gray-500;
border: 1px solid var(--bs-gray-500);
user-select: none;
display:inline-block;
width:50%;
@@ -28,7 +26,7 @@
}
.widget:hover {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}
.widget-container {

View File

@@ -1,18 +1,15 @@
@import "~bootstrap/scss/bootstrap.scss";
.layer-switcher {
display:block;
width:2.5em;
height:2.5em;
background-color: $body-bg;
background-color: var(--bs-body-bg);
background-size: contain;
margin-top:0.5em;
text-align: center;
line-height: 2.5em;
border-radius: 1.75em;
padding: 0;
color: $secondary;
color: var(--bs-secondary);
}
.layer-switcher i {
@@ -24,7 +21,7 @@
}
.layers {
color:$secondary;
color:var(--bs-secondary);
position: absolute;
overflow: hidden;
bottom: -1em;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
div.map-search {
position: absolute;
top: 0.5rem;
@@ -106,7 +104,7 @@ div.map-search.searchcollapsed button[type="submit"] {
}
.form-control, .form-control:focus {
border-color: $secondary;
border-color: var(--bs-secondary);
}

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
aol-map { position:absolute;width:100%;height:calc( 100vh );}
.arrow {
@@ -195,7 +193,7 @@ timespan.menuVisible {
width: 4rem;
overflow: hidden;
text-overflow: ellipsis;
color: $primary;
color: var(--bs-primary);
}
.shortcut-icon > .farm-icon {

View File

@@ -1,13 +1,9 @@
@import "~bootstrap/scss/bootstrap.scss";
.row {
border-bottom: 1px solid $gray-500;
border-bottom: 1px solid var(--bs-gray-500);
user-select: none;
}
.row:hover {
background-color: $gray-100;
background-color: var(--bs-gray-100);
}

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.big-icon {
width: 100%;
color: white;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.big-icon {
width: 100%;
color: white;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.big-icon {
width: 100%;
color: white;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.big-icon {
width: 100%;
color: white;

View File

@@ -1,5 +1,3 @@
@import "~bootstrap/scss/bootstrap.scss";
.big-icon {
width: 100%;
color: white;

View File

@@ -9,8 +9,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@@ -18,7 +16,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

View File

@@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2020",
"module": "es2015",
"moduleResolution": "node",
"declaration": true,

View File

@@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2020",
"module": "es2015",
"moduleResolution": "node",
"declaration": true,